@bondsports/types 0.1.0 → 0.4.0
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 +1419 -1441
- package/build/index.es.js +1 -1
- package/build/index.es.js.map +1 -1
- package/build/index.js +1 -1
- package/build/index.js.map +1 -1
- package/build/provider.js +6 -0
- package/build/provider.js.map +1 -0
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { BaseEntity } from
|
|
2
|
-
import { Stripe } from
|
|
3
|
-
import moment from
|
|
4
|
-
export { TypesProvider } from './provider';
|
|
1
|
+
import { BaseEntity } from "typeorm";
|
|
2
|
+
import { Stripe } from "stripe";
|
|
3
|
+
import moment from "moment";
|
|
5
4
|
export declare class BasicActivityTimesDto {
|
|
6
5
|
dayOfWeek: number;
|
|
7
6
|
close: string;
|
|
@@ -9,17 +8,6 @@ export declare class BasicActivityTimesDto {
|
|
|
9
8
|
availabilityStartDate?: string;
|
|
10
9
|
availabilityEndDate?: string;
|
|
11
10
|
}
|
|
12
|
-
export declare class QuestionAnswersDto {
|
|
13
|
-
questionId: number;
|
|
14
|
-
value: any;
|
|
15
|
-
}
|
|
16
|
-
export declare class UserAnswersDto {
|
|
17
|
-
userId: number;
|
|
18
|
-
answers: QuestionAnswersDto[];
|
|
19
|
-
}
|
|
20
|
-
export declare class GetByQuestionnaireIdsDto {
|
|
21
|
-
questionnaireIds: string;
|
|
22
|
-
}
|
|
23
11
|
export declare class FindBookingTypeSettingDto {
|
|
24
12
|
organizationId: number;
|
|
25
13
|
facilityId: number;
|
|
@@ -27,63 +15,49 @@ export declare class FindBookingTypeSettingDto {
|
|
|
27
15
|
bookingDate: string;
|
|
28
16
|
bookingTime: string;
|
|
29
17
|
}
|
|
30
|
-
export declare class
|
|
31
|
-
|
|
32
|
-
}
|
|
33
|
-
export declare class ImportProductsFromDB {
|
|
34
|
-
buDate: string;
|
|
35
|
-
}
|
|
36
|
-
export declare class ImportCustomerFromCSV {
|
|
37
|
-
fileName: string;
|
|
38
|
-
startIndex?: number;
|
|
18
|
+
export declare class FindOneParams {
|
|
19
|
+
id: number;
|
|
39
20
|
}
|
|
40
|
-
export declare class
|
|
41
|
-
|
|
21
|
+
export declare class PaginationQuery {
|
|
22
|
+
page: number;
|
|
23
|
+
itemsPerPage: number;
|
|
42
24
|
}
|
|
43
|
-
export declare class
|
|
44
|
-
|
|
45
|
-
|
|
25
|
+
export declare class PaginationRangeQuery {
|
|
26
|
+
startPage: number;
|
|
27
|
+
endPage: number;
|
|
28
|
+
itemsPerPage: number;
|
|
46
29
|
}
|
|
47
|
-
export declare class
|
|
48
|
-
|
|
30
|
+
export declare class FindFamilyAccountsDto {
|
|
31
|
+
userId: number;
|
|
49
32
|
}
|
|
50
|
-
export declare class
|
|
33
|
+
export declare class FindFamilyAccountsCustomerDto {
|
|
51
34
|
customerId: number;
|
|
35
|
+
organizationId: number;
|
|
52
36
|
}
|
|
53
|
-
export declare class
|
|
54
|
-
|
|
55
|
-
fuzzy?: string;
|
|
56
|
-
customerType?: CustomerTypeEnum;
|
|
57
|
-
customersIds?: string;
|
|
37
|
+
export declare class FindUsersInFamilyAccountDto {
|
|
38
|
+
familyAccountId: number;
|
|
58
39
|
}
|
|
59
|
-
export declare class
|
|
60
|
-
|
|
40
|
+
export declare class CreateFamilyAccountDto {
|
|
41
|
+
familyName: string;
|
|
42
|
+
userId: number;
|
|
61
43
|
}
|
|
62
|
-
export declare class
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
pinToTop?: boolean;
|
|
44
|
+
export declare class UpdateFamilyAccountNameDto {
|
|
45
|
+
familyName: string;
|
|
46
|
+
familyAccountId: number;
|
|
66
47
|
}
|
|
67
|
-
export declare class
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
48
|
+
export declare class AddUserToFamilyAccountDto {
|
|
49
|
+
familyAccountId: number;
|
|
50
|
+
isUserAdmin: boolean;
|
|
51
|
+
firstName: string;
|
|
52
|
+
lastName: string;
|
|
53
|
+
gender: GenderEnum;
|
|
54
|
+
birthDate: string;
|
|
55
|
+
sports?: number[];
|
|
72
56
|
email?: string;
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
zip?: string;
|
|
78
|
-
phoneNumber?: string;
|
|
79
|
-
mainMediaId?: number;
|
|
80
|
-
creatorId?: number;
|
|
81
|
-
creatorType?: ResourceNameTypeEnum;
|
|
82
|
-
userCreatorId?: number;
|
|
83
|
-
gender?: GenderEnum;
|
|
84
|
-
birthDate?: string;
|
|
85
|
-
emergencyContactName?: string;
|
|
86
|
-
emergencyContactPhone?: string;
|
|
57
|
+
}
|
|
58
|
+
export declare class RemoveUserFromFamilyAccountDto {
|
|
59
|
+
userId: number;
|
|
60
|
+
familyAccountId: number;
|
|
87
61
|
}
|
|
88
62
|
export declare class FindEventByIdDto {
|
|
89
63
|
eventId: number;
|
|
@@ -186,103 +160,6 @@ export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
|
|
|
186
160
|
isWaiverSigned?: string;
|
|
187
161
|
statuses?: string;
|
|
188
162
|
}
|
|
189
|
-
export declare class FindFamilyAccountsDto {
|
|
190
|
-
userId: number;
|
|
191
|
-
}
|
|
192
|
-
export declare class FindFamilyAccountsCustomerDto {
|
|
193
|
-
customerId: number;
|
|
194
|
-
organizationId: number;
|
|
195
|
-
}
|
|
196
|
-
export declare class FindUsersInFamilyAccountDto {
|
|
197
|
-
familyAccountId: number;
|
|
198
|
-
}
|
|
199
|
-
export declare class CreateFamilyAccountDto {
|
|
200
|
-
familyName: string;
|
|
201
|
-
userId: number;
|
|
202
|
-
}
|
|
203
|
-
export declare class UpdateFamilyAccountNameDto {
|
|
204
|
-
familyName: string;
|
|
205
|
-
familyAccountId: number;
|
|
206
|
-
}
|
|
207
|
-
export declare class AddUserToFamilyAccountDto {
|
|
208
|
-
familyAccountId: number;
|
|
209
|
-
isUserAdmin: boolean;
|
|
210
|
-
firstName: string;
|
|
211
|
-
lastName: string;
|
|
212
|
-
gender: GenderEnum;
|
|
213
|
-
birthDate: string;
|
|
214
|
-
sports?: number[];
|
|
215
|
-
email?: string;
|
|
216
|
-
}
|
|
217
|
-
export declare class RemoveUserFromFamilyAccountDto {
|
|
218
|
-
userId: number;
|
|
219
|
-
familyAccountId: number;
|
|
220
|
-
}
|
|
221
|
-
export declare class AddressDto {
|
|
222
|
-
city: string;
|
|
223
|
-
state: string;
|
|
224
|
-
country: string;
|
|
225
|
-
geo: number[];
|
|
226
|
-
}
|
|
227
|
-
export declare class OpeningTimeDto {
|
|
228
|
-
open: string;
|
|
229
|
-
close: string;
|
|
230
|
-
dayOfWeek: number;
|
|
231
|
-
}
|
|
232
|
-
export declare class CreateFacilityDto {
|
|
233
|
-
name: string;
|
|
234
|
-
sports: number[];
|
|
235
|
-
description?: string;
|
|
236
|
-
longDescription?: string;
|
|
237
|
-
info?: string;
|
|
238
|
-
address: AddressDto;
|
|
239
|
-
timezone: string;
|
|
240
|
-
amenities: number[];
|
|
241
|
-
openingTimes: OpeningTimeDto[];
|
|
242
|
-
resourcesIds?: number[];
|
|
243
|
-
}
|
|
244
|
-
export declare class UpdateFacilityDetailsDto {
|
|
245
|
-
name?: string;
|
|
246
|
-
description?: string;
|
|
247
|
-
longDescription?: string;
|
|
248
|
-
info?: string;
|
|
249
|
-
address?: AddressDto;
|
|
250
|
-
timezone?: string;
|
|
251
|
-
}
|
|
252
|
-
export declare class UpdateFacilityOpeningTimesDto {
|
|
253
|
-
openingTimes: OpeningTimeDto[];
|
|
254
|
-
}
|
|
255
|
-
export declare class UpdateFacilitySportsDto {
|
|
256
|
-
sports: number[];
|
|
257
|
-
}
|
|
258
|
-
export declare class UpdateFacilityAmenitiesDto {
|
|
259
|
-
amenities: number[];
|
|
260
|
-
}
|
|
261
|
-
export declare class FindFacilitiesOptionsDto extends PaginationQuery {
|
|
262
|
-
nameSearch?: string;
|
|
263
|
-
}
|
|
264
|
-
export declare class FindOneParams {
|
|
265
|
-
id: number;
|
|
266
|
-
}
|
|
267
|
-
export declare class PaginationQuery {
|
|
268
|
-
page: number;
|
|
269
|
-
itemsPerPage: number;
|
|
270
|
-
}
|
|
271
|
-
export declare class PaginationRangeQuery {
|
|
272
|
-
startPage: number;
|
|
273
|
-
endPage: number;
|
|
274
|
-
itemsPerPage: number;
|
|
275
|
-
}
|
|
276
|
-
export declare class FindGlCodeByOrganizationIdDto {
|
|
277
|
-
organizationId: number;
|
|
278
|
-
}
|
|
279
|
-
export declare class GetGlCodeDto {
|
|
280
|
-
id: number;
|
|
281
|
-
organizationId: number;
|
|
282
|
-
code: string;
|
|
283
|
-
createdAt: Date;
|
|
284
|
-
updatedAt: Date;
|
|
285
|
-
}
|
|
286
163
|
export declare class FindByProgramSeasonIdDto {
|
|
287
164
|
seasonId: number;
|
|
288
165
|
}
|
|
@@ -412,47 +289,48 @@ export declare class CancelMembershipDto {
|
|
|
412
289
|
isImmediatelyCancel: boolean;
|
|
413
290
|
cancellationReason?: string;
|
|
414
291
|
}
|
|
415
|
-
export declare class
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
292
|
+
export declare class AddressDto {
|
|
293
|
+
city: string;
|
|
294
|
+
state: string;
|
|
295
|
+
country: string;
|
|
296
|
+
geo: number[];
|
|
419
297
|
}
|
|
420
|
-
export declare class
|
|
421
|
-
|
|
298
|
+
export declare class OpeningTimeDto {
|
|
299
|
+
open: string;
|
|
300
|
+
close: string;
|
|
301
|
+
dayOfWeek: number;
|
|
422
302
|
}
|
|
423
|
-
export declare class
|
|
424
|
-
|
|
425
|
-
|
|
303
|
+
export declare class CreateFacilityDto {
|
|
304
|
+
name: string;
|
|
305
|
+
sports: number[];
|
|
306
|
+
description?: string;
|
|
307
|
+
longDescription?: string;
|
|
308
|
+
info?: string;
|
|
309
|
+
address: AddressDto;
|
|
310
|
+
timezone: string;
|
|
311
|
+
amenities: number[];
|
|
312
|
+
openingTimes: OpeningTimeDto[];
|
|
313
|
+
resourcesIds?: number[];
|
|
426
314
|
}
|
|
427
|
-
export declare class
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
315
|
+
export declare class UpdateFacilityDetailsDto {
|
|
316
|
+
name?: string;
|
|
317
|
+
description?: string;
|
|
318
|
+
longDescription?: string;
|
|
319
|
+
info?: string;
|
|
320
|
+
address?: AddressDto;
|
|
321
|
+
timezone?: string;
|
|
434
322
|
}
|
|
435
|
-
export declare class
|
|
436
|
-
|
|
437
|
-
itemsIds: number[];
|
|
323
|
+
export declare class UpdateFacilityOpeningTimesDto {
|
|
324
|
+
openingTimes: OpeningTimeDto[];
|
|
438
325
|
}
|
|
439
|
-
export declare class
|
|
440
|
-
|
|
326
|
+
export declare class UpdateFacilitySportsDto {
|
|
327
|
+
sports: number[];
|
|
441
328
|
}
|
|
442
|
-
export declare class
|
|
443
|
-
|
|
444
|
-
itemType: string;
|
|
329
|
+
export declare class UpdateFacilityAmenitiesDto {
|
|
330
|
+
amenities: number[];
|
|
445
331
|
}
|
|
446
|
-
export declare class
|
|
447
|
-
|
|
448
|
-
}
|
|
449
|
-
export declare class CreateGroupPricingWithProduct {
|
|
450
|
-
groupId: number;
|
|
451
|
-
price: number;
|
|
452
|
-
startDate?: Date;
|
|
453
|
-
endDate?: Date;
|
|
454
|
-
discountValue?: number;
|
|
455
|
-
discountMethod?: DiscountMethodsEnum;
|
|
332
|
+
export declare class FindFacilitiesOptionsDto extends PaginationQuery {
|
|
333
|
+
nameSearch?: string;
|
|
456
334
|
}
|
|
457
335
|
export declare class FindByProductIdDto {
|
|
458
336
|
productId: number;
|
|
@@ -583,8 +461,8 @@ export declare class ProductsIdsDto extends PaginationQuery {
|
|
|
583
461
|
export declare class GetByOrganizationIdDto {
|
|
584
462
|
organizationId?: number;
|
|
585
463
|
}
|
|
586
|
-
export declare class
|
|
587
|
-
|
|
464
|
+
export declare class GetByOrgIdInvoiceIdDto extends GetByOrganizationIdDto {
|
|
465
|
+
invoiceId?: number;
|
|
588
466
|
}
|
|
589
467
|
export declare class GetProductsDto extends PaginationQuery {
|
|
590
468
|
productIds?: string;
|
|
@@ -627,7 +505,7 @@ export declare class GetExtraProductDataDto {
|
|
|
627
505
|
includeArchived?: boolean;
|
|
628
506
|
}
|
|
629
507
|
export declare class GetBySessionType {
|
|
630
|
-
sessionType:
|
|
508
|
+
sessionType: "event" | "segment";
|
|
631
509
|
}
|
|
632
510
|
export declare class CreateSubcategoryDto {
|
|
633
511
|
productType: ProductTypesEnum;
|
|
@@ -674,23 +552,26 @@ export declare class createResourceDto {
|
|
|
674
552
|
export declare class archiveDto {
|
|
675
553
|
isArchive: boolean;
|
|
676
554
|
}
|
|
677
|
-
export declare class
|
|
555
|
+
export declare class FindGlCodeByOrganizationIdDto {
|
|
678
556
|
organizationId: number;
|
|
679
|
-
parentProductId: number;
|
|
680
|
-
variantTitles: VariantTitleDto[];
|
|
681
|
-
variants: VariantDto[];
|
|
682
557
|
}
|
|
683
|
-
export declare class
|
|
684
|
-
|
|
685
|
-
|
|
558
|
+
export declare class GetGlCodeDto {
|
|
559
|
+
id: number;
|
|
560
|
+
organizationId: number;
|
|
561
|
+
code: string;
|
|
562
|
+
createdAt: Date;
|
|
563
|
+
updatedAt: Date;
|
|
686
564
|
}
|
|
687
|
-
export declare class
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
565
|
+
export declare class QuestionAnswersDto {
|
|
566
|
+
questionId: number;
|
|
567
|
+
value: any;
|
|
568
|
+
}
|
|
569
|
+
export declare class UserAnswersDto {
|
|
570
|
+
userId: number;
|
|
571
|
+
answers: QuestionAnswersDto[];
|
|
572
|
+
}
|
|
573
|
+
export declare class GetByQuestionnaireIdsDto {
|
|
574
|
+
questionnaireIds: string;
|
|
694
575
|
}
|
|
695
576
|
export declare class FindProgramSeasonsByProgramIdDto {
|
|
696
577
|
programId: number;
|
|
@@ -872,9 +753,9 @@ export declare class MoveParticipantDto {
|
|
|
872
753
|
userId: number;
|
|
873
754
|
oldProductId: number;
|
|
874
755
|
newProductId: number;
|
|
875
|
-
moveType:
|
|
756
|
+
moveType: "session" | "segment";
|
|
876
757
|
resourceId: number;
|
|
877
|
-
|
|
758
|
+
invoiceId: number;
|
|
878
759
|
}
|
|
879
760
|
export declare class FindProgramsByOrganizationIdDto {
|
|
880
761
|
organizationId: number;
|
|
@@ -928,7 +809,7 @@ export declare class ChargeRentalsReuqestDto {
|
|
|
928
809
|
organizationId: number;
|
|
929
810
|
userId?: number;
|
|
930
811
|
customerId?: number;
|
|
931
|
-
|
|
812
|
+
invoiceId: number;
|
|
932
813
|
paymentData: PurchasePaymentDto;
|
|
933
814
|
amountToPay: number;
|
|
934
815
|
total: number;
|
|
@@ -945,10 +826,10 @@ export declare class PurchaseRequestDto {
|
|
|
945
826
|
parentPurchasedType?: ResourceNameTypeEnum;
|
|
946
827
|
parentPurchasedId?: number;
|
|
947
828
|
isPartialPayment: boolean;
|
|
948
|
-
|
|
829
|
+
existingInvoiceToken?: string;
|
|
949
830
|
installments?: ScheduledPaymentDto[];
|
|
950
831
|
shiftId?: number;
|
|
951
|
-
|
|
832
|
+
invoiceId?: number;
|
|
952
833
|
}
|
|
953
834
|
export declare class PurchaseResourceDto extends ResourceDto {
|
|
954
835
|
}
|
|
@@ -963,7 +844,7 @@ export declare class PurchaseProductDto {
|
|
|
963
844
|
quantity?: number;
|
|
964
845
|
}
|
|
965
846
|
export declare class PartialPaymentRequestDto {
|
|
966
|
-
|
|
847
|
+
invoiceId: number;
|
|
967
848
|
amountToPay: number;
|
|
968
849
|
organizationId: number;
|
|
969
850
|
payingUserId: number;
|
|
@@ -976,8 +857,8 @@ export declare class RedeemPunchCardRequestDto {
|
|
|
976
857
|
organizationId: number;
|
|
977
858
|
purchasingUserId: number;
|
|
978
859
|
}
|
|
979
|
-
export declare class
|
|
980
|
-
|
|
860
|
+
export declare class InvoiceIdDto extends ByOrganizationIdDto {
|
|
861
|
+
invoiceId: number;
|
|
981
862
|
}
|
|
982
863
|
export declare class AddItemsDto {
|
|
983
864
|
products: PurchaseProductDto[];
|
|
@@ -985,23 +866,124 @@ export declare class AddItemsDto {
|
|
|
985
866
|
skipMail: boolean;
|
|
986
867
|
}
|
|
987
868
|
export declare class PartialPaymentAsUserDto {
|
|
988
|
-
|
|
869
|
+
invoiceId: any;
|
|
989
870
|
organizationId: any;
|
|
990
871
|
amountToPay: any;
|
|
991
872
|
paymentMethodData: any;
|
|
992
873
|
}
|
|
993
|
-
export declare class
|
|
994
|
-
|
|
995
|
-
|
|
874
|
+
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
875
|
+
membershipId: number;
|
|
876
|
+
}
|
|
877
|
+
export declare class ImportProductsFromDB {
|
|
878
|
+
buDate: string;
|
|
879
|
+
}
|
|
880
|
+
export declare class ImportCustomerFromCSV {
|
|
881
|
+
fileName: string;
|
|
882
|
+
startIndex?: number;
|
|
883
|
+
}
|
|
884
|
+
export declare class ImportProgramsFileDto extends ImportCustomerFromCSV {
|
|
885
|
+
resolveInvoices: string;
|
|
886
|
+
}
|
|
887
|
+
export declare class ImportDashCustomerDto extends ImportCustomerFromCSV {
|
|
888
|
+
membershipId: number;
|
|
889
|
+
onlyDashIds: string;
|
|
890
|
+
}
|
|
891
|
+
export declare class ImportRentalsFromCSV extends ImportCustomerFromCSV {
|
|
996
892
|
facilityId: number;
|
|
997
|
-
childrenSlotIds: number[];
|
|
998
893
|
}
|
|
999
|
-
export declare class
|
|
894
|
+
export declare class ByOrganizationIdCustomerIdDto extends ByOrganizationIdDto {
|
|
895
|
+
customerId: number;
|
|
896
|
+
}
|
|
897
|
+
export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQuery {
|
|
898
|
+
nameSearch?: string;
|
|
899
|
+
fuzzy?: string;
|
|
900
|
+
customerType?: CustomerTypeEnum;
|
|
901
|
+
customersIds?: string;
|
|
902
|
+
}
|
|
903
|
+
export declare class AddCustomerNotesDto {
|
|
904
|
+
customerNotes: CustomerNoteDto[];
|
|
905
|
+
}
|
|
906
|
+
export declare class CustomerNoteDto {
|
|
907
|
+
id?: number;
|
|
908
|
+
description: string;
|
|
909
|
+
pinToTop?: boolean;
|
|
910
|
+
}
|
|
911
|
+
export declare class AddEditCustomerDto {
|
|
912
|
+
firstName?: string;
|
|
913
|
+
lastName?: string;
|
|
914
|
+
entityId?: number;
|
|
915
|
+
entityType?: CustomerTypeEnum;
|
|
916
|
+
email?: string;
|
|
917
|
+
color?: string;
|
|
918
|
+
street?: string;
|
|
919
|
+
city?: string;
|
|
920
|
+
state?: string;
|
|
921
|
+
zip?: string;
|
|
922
|
+
phoneNumber?: string;
|
|
923
|
+
mainMediaId?: number;
|
|
924
|
+
creatorId?: number;
|
|
925
|
+
creatorType?: ResourceNameTypeEnum;
|
|
926
|
+
userCreatorId?: number;
|
|
927
|
+
gender?: GenderEnum;
|
|
928
|
+
birthDate?: string;
|
|
929
|
+
emergencyContactName?: string;
|
|
930
|
+
emergencyContactPhone?: string;
|
|
1000
931
|
}
|
|
1001
932
|
export declare class ResourceDto {
|
|
1002
933
|
type: ResourceNameTypeEnum;
|
|
1003
934
|
id: number;
|
|
1004
935
|
}
|
|
936
|
+
export declare class FindByUserIdDto {
|
|
937
|
+
userId: number;
|
|
938
|
+
}
|
|
939
|
+
export declare class FindByFamilyAccountIdDto {
|
|
940
|
+
familyAccountId?: number;
|
|
941
|
+
}
|
|
942
|
+
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
943
|
+
organizationId: number;
|
|
944
|
+
}
|
|
945
|
+
export declare class CreateEntitlementTermsDto {
|
|
946
|
+
organizationId: number;
|
|
947
|
+
entitlementGroupId: number;
|
|
948
|
+
terms: IEntitlementTerms[];
|
|
949
|
+
}
|
|
950
|
+
export declare class FindEntitlementTermsByGroupIdDto {
|
|
951
|
+
entitlementGroupId: number;
|
|
952
|
+
}
|
|
953
|
+
export declare class FindEntitlementTermsByVariablesDto {
|
|
954
|
+
user: any;
|
|
955
|
+
userVariables: IQuestionAnswerObject[];
|
|
956
|
+
}
|
|
957
|
+
export declare class FindLowestPriceDto {
|
|
958
|
+
organizationId: number;
|
|
959
|
+
user?: any;
|
|
960
|
+
answers?: IQuestionAnswerObject[];
|
|
961
|
+
itemIds: number[];
|
|
962
|
+
itemType?: ResourceNameTypeEnum;
|
|
963
|
+
startDate?: Date;
|
|
964
|
+
}
|
|
965
|
+
export declare class FindGroupItemsPricingsDto {
|
|
966
|
+
groupsIds: number[];
|
|
967
|
+
itemsIds: number[];
|
|
968
|
+
}
|
|
969
|
+
export declare class CreateEntitlementGroupDto {
|
|
970
|
+
name: string;
|
|
971
|
+
}
|
|
972
|
+
export declare class GetEntitlementGroupPricingDto {
|
|
973
|
+
itemIds: number[];
|
|
974
|
+
itemType: string;
|
|
975
|
+
}
|
|
976
|
+
export declare class FindEntitlementGroupByIdDto {
|
|
977
|
+
groupid: number;
|
|
978
|
+
}
|
|
979
|
+
export declare class CreateGroupPricingWithProduct {
|
|
980
|
+
groupId: number;
|
|
981
|
+
price: number;
|
|
982
|
+
startDate?: Date;
|
|
983
|
+
endDate?: Date;
|
|
984
|
+
discountValue?: number;
|
|
985
|
+
discountMethod?: DiscountMethodsEnum;
|
|
986
|
+
}
|
|
1005
987
|
export declare class SpaceByIdDto {
|
|
1006
988
|
spaceId: number;
|
|
1007
989
|
}
|
|
@@ -1058,50 +1040,23 @@ export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
|
1058
1040
|
types?: string;
|
|
1059
1041
|
resourcesIds?: string;
|
|
1060
1042
|
}
|
|
1061
|
-
export declare class
|
|
1062
|
-
userId: number;
|
|
1063
|
-
}
|
|
1064
|
-
export declare class StripeCustomerPaymentMathodDto extends StripeCustomerIdDto {
|
|
1065
|
-
paymentMethodId: string;
|
|
1066
|
-
}
|
|
1067
|
-
export declare class AddACHTokenToCustomerDto {
|
|
1068
|
-
publicToken: string;
|
|
1069
|
-
accountId: string;
|
|
1070
|
-
}
|
|
1071
|
-
export declare class FindByUserIdDto {
|
|
1072
|
-
userId: number;
|
|
1073
|
-
}
|
|
1074
|
-
export declare class FindByFamilyAccountIdDto {
|
|
1075
|
-
familyAccountId?: number;
|
|
1076
|
-
}
|
|
1077
|
-
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1043
|
+
export declare class CreateUpdateVariantsDto {
|
|
1078
1044
|
organizationId: number;
|
|
1045
|
+
parentProductId: number;
|
|
1046
|
+
variantTitles: VariantTitleDto[];
|
|
1047
|
+
variants: VariantDto[];
|
|
1079
1048
|
}
|
|
1080
|
-
export declare class
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
organizationId?: number;
|
|
1084
|
-
userId?: number;
|
|
1085
|
-
customerId?: number;
|
|
1086
|
-
performingUserId: number;
|
|
1087
|
-
description: string;
|
|
1088
|
-
actionType: ActionTypesEnum;
|
|
1089
|
-
sourcePlatform: ActionSourcePlatformEnum;
|
|
1090
|
-
oldValue?: any;
|
|
1091
|
-
newValue?: any;
|
|
1049
|
+
export declare class VariantTitleDto {
|
|
1050
|
+
titleName: string;
|
|
1051
|
+
titleId: number;
|
|
1092
1052
|
}
|
|
1093
|
-
export declare class
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
program: ProgramSeason;
|
|
1101
|
-
availabilityStartDate: string;
|
|
1102
|
-
availabilityEndDate: string;
|
|
1103
|
-
proudct: Product;
|
|
1104
|
-
event: Event;
|
|
1053
|
+
export declare class VariantDto {
|
|
1054
|
+
name: string;
|
|
1055
|
+
price: number;
|
|
1056
|
+
variantId: number;
|
|
1057
|
+
currency: CurrencyEnum;
|
|
1058
|
+
startDate: Date;
|
|
1059
|
+
endDate: Date;
|
|
1105
1060
|
}
|
|
1106
1061
|
export declare class Address extends BondBaseEntity {
|
|
1107
1062
|
city?: string;
|
|
@@ -1114,22 +1069,48 @@ export declare class Address extends BondBaseEntity {
|
|
|
1114
1069
|
geo: any;
|
|
1115
1070
|
deletedAt?: Date;
|
|
1116
1071
|
}
|
|
1117
|
-
export declare class
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1072
|
+
export declare class CreateResourceGroupDto {
|
|
1073
|
+
name: string;
|
|
1074
|
+
parentSlotId: number;
|
|
1075
|
+
facilityId: number;
|
|
1076
|
+
childrenSlotIds: number[];
|
|
1077
|
+
}
|
|
1078
|
+
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
1122
1079
|
}
|
|
1123
1080
|
export declare class Athlete extends BondBaseEntity {
|
|
1124
1081
|
userId: number | null;
|
|
1125
1082
|
metadata: object | null;
|
|
1126
1083
|
athleteSports: AthleteSports[];
|
|
1127
1084
|
}
|
|
1085
|
+
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1086
|
+
questionnaireId: number;
|
|
1087
|
+
userId?: number;
|
|
1088
|
+
answers: Answer[];
|
|
1089
|
+
questionnaire: Questionnaires;
|
|
1090
|
+
}
|
|
1128
1091
|
export declare class AthleteSports extends BondBaseEntity {
|
|
1129
1092
|
athleteId: number | null;
|
|
1130
1093
|
sports: number | null;
|
|
1131
1094
|
levelOfPlay: LevelOfPlayEnum | null;
|
|
1132
1095
|
}
|
|
1096
|
+
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1097
|
+
questionId: number;
|
|
1098
|
+
question?: Questions;
|
|
1099
|
+
parentId: number;
|
|
1100
|
+
parentType: ResourceNameTypeEnum;
|
|
1101
|
+
answerValue: any;
|
|
1102
|
+
creatorId: number;
|
|
1103
|
+
creatorType: ResourceNameTypeEnum;
|
|
1104
|
+
answerTitleId: number;
|
|
1105
|
+
answerTitle: AnswerTitle;
|
|
1106
|
+
metaData: any | null;
|
|
1107
|
+
questionText: string | null;
|
|
1108
|
+
}
|
|
1109
|
+
export declare class BondBaseEntity extends BaseEntity {
|
|
1110
|
+
id: number;
|
|
1111
|
+
createdAt: Date;
|
|
1112
|
+
updatedAt: Date;
|
|
1113
|
+
}
|
|
1133
1114
|
export declare class BlockedDate extends BondBaseEntity {
|
|
1134
1115
|
entityType: ResourceNameTypeEnum;
|
|
1135
1116
|
entityId: number;
|
|
@@ -1138,10 +1119,18 @@ export declare class BlockedDate extends BondBaseEntity {
|
|
|
1138
1119
|
endDate: Date;
|
|
1139
1120
|
deletedAt?: Date;
|
|
1140
1121
|
}
|
|
1141
|
-
export declare class
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1122
|
+
export declare class ActivityTimes extends BondBaseEntity {
|
|
1123
|
+
parentType: ResourceNameTypeEnum | ProductTypesEnum;
|
|
1124
|
+
parentId: number;
|
|
1125
|
+
dayOfWeek: number;
|
|
1126
|
+
open: string;
|
|
1127
|
+
close: string;
|
|
1128
|
+
deletedAt?: Date;
|
|
1129
|
+
program: ProgramSeason;
|
|
1130
|
+
availabilityStartDate: string;
|
|
1131
|
+
availabilityEndDate: string;
|
|
1132
|
+
proudct: Product;
|
|
1133
|
+
event: Event;
|
|
1145
1134
|
}
|
|
1146
1135
|
export declare class BookedSessions extends BondBaseEntity {
|
|
1147
1136
|
reservationId?: number;
|
|
@@ -1161,34 +1150,27 @@ export declare class BookedSessions extends BondBaseEntity {
|
|
|
1161
1150
|
publicNotes?: string;
|
|
1162
1151
|
slotType?: SlotTypeEnum;
|
|
1163
1152
|
}
|
|
1164
|
-
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1165
|
-
questionId: number;
|
|
1166
|
-
question?: Questions;
|
|
1167
|
-
parentId: number;
|
|
1168
|
-
parentType: ResourceNameTypeEnum;
|
|
1169
|
-
answerValue: any;
|
|
1170
|
-
creatorId: number;
|
|
1171
|
-
creatorType: ResourceNameTypeEnum;
|
|
1172
|
-
answerTitleId: number;
|
|
1173
|
-
answerTitle: AnswerTitle;
|
|
1174
|
-
metaData: any | null;
|
|
1175
|
-
questionText: string | null;
|
|
1176
|
-
}
|
|
1177
|
-
export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
|
|
1178
|
-
parentId: number;
|
|
1179
|
-
parentType: ResourceNameTypeEnum;
|
|
1180
|
-
startDate: Date;
|
|
1181
|
-
endDate: Date;
|
|
1182
|
-
dayOfWeek: number;
|
|
1183
|
-
startTimeInDay: string;
|
|
1184
|
-
endTimeInDay: string;
|
|
1185
|
-
directBookingFor: DirectBookingTypesEnum;
|
|
1186
|
-
}
|
|
1187
1153
|
export declare class Configuration extends BondBaseEntity {
|
|
1188
1154
|
area: string;
|
|
1189
1155
|
key: string;
|
|
1190
1156
|
value: string;
|
|
1191
1157
|
}
|
|
1158
|
+
export declare class Division extends BondBaseEntity {
|
|
1159
|
+
name: string;
|
|
1160
|
+
ordinal?: number;
|
|
1161
|
+
programSeasonId: number;
|
|
1162
|
+
color: string;
|
|
1163
|
+
isDefault: boolean;
|
|
1164
|
+
groups: Group[];
|
|
1165
|
+
}
|
|
1166
|
+
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1167
|
+
creditAmount: number;
|
|
1168
|
+
paymentProcessorId: string;
|
|
1169
|
+
userId: number;
|
|
1170
|
+
paymentId: number;
|
|
1171
|
+
invoiceId: number;
|
|
1172
|
+
creditPaymentId: number;
|
|
1173
|
+
}
|
|
1192
1174
|
export declare class Connection extends BondBaseEntity {
|
|
1193
1175
|
connType: number | null;
|
|
1194
1176
|
from: number | null;
|
|
@@ -1201,13 +1183,11 @@ export declare class Connection extends BondBaseEntity {
|
|
|
1201
1183
|
userCreatorId: number | null;
|
|
1202
1184
|
ownerId: number | null;
|
|
1203
1185
|
}
|
|
1204
|
-
export declare class
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
orderId: number;
|
|
1210
|
-
creditPaymentInvoiceId: number;
|
|
1186
|
+
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
1187
|
+
customerId?: number;
|
|
1188
|
+
description: string;
|
|
1189
|
+
pinToTop?: boolean;
|
|
1190
|
+
customer: Customer;
|
|
1211
1191
|
}
|
|
1212
1192
|
export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
1213
1193
|
name: string | null;
|
|
@@ -1237,31 +1217,28 @@ export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
|
1237
1217
|
mainMedia: Media;
|
|
1238
1218
|
reservations?: Reservation[];
|
|
1239
1219
|
}
|
|
1240
|
-
export declare class
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
orderId?: number;
|
|
1246
|
-
description?: string;
|
|
1247
|
-
deletedAt?: Date;
|
|
1248
|
-
customer: Customer;
|
|
1249
|
-
order: Order;
|
|
1250
|
-
invoice: Invoice;
|
|
1251
|
-
}
|
|
1252
|
-
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
1220
|
+
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
1221
|
+
entityType: ResourceNameTypeEnum;
|
|
1222
|
+
entityId: number;
|
|
1223
|
+
organizationId?: number;
|
|
1224
|
+
userId?: number;
|
|
1253
1225
|
customerId?: number;
|
|
1226
|
+
performingUserId: number;
|
|
1254
1227
|
description: string;
|
|
1255
|
-
|
|
1256
|
-
|
|
1228
|
+
actionType: ActionTypesEnum;
|
|
1229
|
+
sourcePlatform: ActionSourcePlatformEnum;
|
|
1230
|
+
oldValue?: any;
|
|
1231
|
+
newValue?: any;
|
|
1257
1232
|
}
|
|
1258
|
-
export declare class
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1233
|
+
export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
|
|
1234
|
+
parentId: number;
|
|
1235
|
+
parentType: ResourceNameTypeEnum;
|
|
1236
|
+
startDate: Date;
|
|
1237
|
+
endDate: Date;
|
|
1238
|
+
dayOfWeek: number;
|
|
1239
|
+
startTimeInDay: string;
|
|
1240
|
+
endTimeInDay: string;
|
|
1241
|
+
directBookingFor: DirectBookingTypesEnum;
|
|
1265
1242
|
}
|
|
1266
1243
|
export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
1267
1244
|
customerId: number;
|
|
@@ -1269,13 +1246,6 @@ export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
|
1269
1246
|
phoneNumber: string | null;
|
|
1270
1247
|
customer: Customer;
|
|
1271
1248
|
}
|
|
1272
|
-
export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
|
|
1273
|
-
name: string | null;
|
|
1274
|
-
}
|
|
1275
|
-
export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
|
|
1276
|
-
groupId: number;
|
|
1277
|
-
terms: IEntitlementTerms[];
|
|
1278
|
-
}
|
|
1279
1249
|
export declare class EventAttendee extends BondBaseEntity {
|
|
1280
1250
|
status: RequestStatusEnum | null;
|
|
1281
1251
|
hasPaid: boolean | null;
|
|
@@ -1346,6 +1316,50 @@ export declare class Event extends OrganizationConnectionBaseEntity {
|
|
|
1346
1316
|
slots: Slot[];
|
|
1347
1317
|
purchasedResources: PurchasedResource[];
|
|
1348
1318
|
}
|
|
1319
|
+
export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
|
|
1320
|
+
groupId: number;
|
|
1321
|
+
terms: IEntitlementTerms[];
|
|
1322
|
+
}
|
|
1323
|
+
export declare class FutureInstallment extends OrganizationConnectionBaseEntity {
|
|
1324
|
+
userId: number;
|
|
1325
|
+
invoiceId: number;
|
|
1326
|
+
paymentMethodId: string;
|
|
1327
|
+
paymentType: PaymentMethodTypeEnum;
|
|
1328
|
+
price: number;
|
|
1329
|
+
status: FutureInstallmentStatusEnum;
|
|
1330
|
+
plannedDate: Date;
|
|
1331
|
+
chargedAt?: Date;
|
|
1332
|
+
}
|
|
1333
|
+
export declare class CustomerCreditTransaction extends OrganizationConnectionBaseEntity {
|
|
1334
|
+
customerId: number;
|
|
1335
|
+
userId: number;
|
|
1336
|
+
amount: number;
|
|
1337
|
+
paymentId?: number;
|
|
1338
|
+
invoiceId?: number;
|
|
1339
|
+
description?: string;
|
|
1340
|
+
deletedAt?: Date;
|
|
1341
|
+
customer: Customer;
|
|
1342
|
+
invoice: Invoice;
|
|
1343
|
+
payment: Payment;
|
|
1344
|
+
}
|
|
1345
|
+
export declare class StripeCustomerIdDto {
|
|
1346
|
+
userId: number;
|
|
1347
|
+
}
|
|
1348
|
+
export declare class AddACHTokenToCustomerDto {
|
|
1349
|
+
publicToken: string;
|
|
1350
|
+
accountId: string;
|
|
1351
|
+
}
|
|
1352
|
+
export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
|
|
1353
|
+
name: string | null;
|
|
1354
|
+
}
|
|
1355
|
+
export declare class FacilityToResource extends BondBaseEntity {
|
|
1356
|
+
facilityId: number;
|
|
1357
|
+
resourceId: number;
|
|
1358
|
+
}
|
|
1359
|
+
export declare class FamilyAccount extends BondBaseEntity {
|
|
1360
|
+
name: string | null;
|
|
1361
|
+
userInFamilyAccounts: UserInFamilyAccount[];
|
|
1362
|
+
}
|
|
1349
1363
|
export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
1350
1364
|
name: string;
|
|
1351
1365
|
description?: string;
|
|
@@ -1370,88 +1384,29 @@ export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
|
1370
1384
|
programSeasons: ProgramSeason[];
|
|
1371
1385
|
linkSEO: string;
|
|
1372
1386
|
}
|
|
1373
|
-
export declare class
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
userId: number;
|
|
1383
|
-
orderId: number;
|
|
1384
|
-
paymentMethodId: string;
|
|
1385
|
-
paymentType: PaymentMethodTypeEnum;
|
|
1386
|
-
price: number;
|
|
1387
|
-
status: FutureInstallmentStatusEnum;
|
|
1388
|
-
plannedDate: Date;
|
|
1389
|
-
chargedAt?: Date;
|
|
1390
|
-
}
|
|
1391
|
-
export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
|
|
1392
|
-
groupId: number;
|
|
1393
|
-
itemId: number;
|
|
1394
|
-
itemType: ResourceNameTypeEnum;
|
|
1395
|
-
startDate: Date;
|
|
1396
|
-
endDate: Date;
|
|
1397
|
-
price: number;
|
|
1398
|
-
overridesPrice: boolean;
|
|
1399
|
-
deletedAt?: Date;
|
|
1400
|
-
group?: EntitlementGroup;
|
|
1401
|
-
discountMethod?: DiscountMethodsEnum;
|
|
1402
|
-
discountValue?: number;
|
|
1403
|
-
}
|
|
1404
|
-
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1405
|
-
groupId: number;
|
|
1406
|
-
divisionId: number;
|
|
1407
|
-
deletedAt?: Date;
|
|
1408
|
-
}
|
|
1409
|
-
export declare class Invoice extends OrganizationConnectionBaseEntity {
|
|
1410
|
-
price: number;
|
|
1411
|
-
paymentProcessorId: string;
|
|
1412
|
-
orderToInvoices: OrderToInvoice[];
|
|
1387
|
+
export declare class Invoice extends BondBaseEntity {
|
|
1388
|
+
invoiceId: string | null;
|
|
1389
|
+
price: number | null;
|
|
1390
|
+
status: InvoiceStatusEnum | null;
|
|
1391
|
+
sentForClientDate: Date | null;
|
|
1392
|
+
payingUserId?: number | null;
|
|
1393
|
+
invoiceToPayments: InvoiceToPayment[];
|
|
1394
|
+
lineItems: LineItems[];
|
|
1395
|
+
lineItemHistory: LineItemHistory[];
|
|
1413
1396
|
paymentStatus: PaymentStatusEnum;
|
|
1414
|
-
bondFee?: number;
|
|
1415
|
-
stripeFee?: number;
|
|
1416
|
-
currency: CurrencyEnum;
|
|
1417
|
-
payingUserId?: number;
|
|
1418
1397
|
paymentMethodId?: string;
|
|
1419
1398
|
paymentType?: PaymentMethodTypeEnum;
|
|
1420
|
-
|
|
1421
|
-
|
|
1399
|
+
paidAmount: number;
|
|
1400
|
+
currency: CurrencyEnum;
|
|
1401
|
+
mainPaymentId: number;
|
|
1402
|
+
isScheduled: boolean;
|
|
1422
1403
|
isRefunded: boolean;
|
|
1423
|
-
|
|
1424
|
-
receiptUrl?: string;
|
|
1425
|
-
paymentProcessorTransactionId?: string;
|
|
1404
|
+
isVoided: boolean;
|
|
1426
1405
|
creatingUserId: number;
|
|
1427
1406
|
shiftId: number;
|
|
1428
1407
|
platform: PlatformsEnum;
|
|
1429
|
-
ccLast4: string;
|
|
1430
|
-
ccBrand: string;
|
|
1431
1408
|
invoiceNotes: InvoiceNote[];
|
|
1432
|
-
|
|
1433
|
-
refundReasonId?: number;
|
|
1434
|
-
refundNote?: string;
|
|
1435
|
-
}
|
|
1436
|
-
export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
1437
|
-
email: string;
|
|
1438
|
-
status: EEmailStatus;
|
|
1439
|
-
templateId: string;
|
|
1440
|
-
userId: number;
|
|
1441
|
-
invoiceId: number;
|
|
1442
|
-
paymentId: number;
|
|
1443
|
-
sendingUserId: number;
|
|
1444
|
-
mailParams?: any;
|
|
1445
|
-
memo?: string;
|
|
1446
|
-
}
|
|
1447
|
-
export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
1448
|
-
content: string;
|
|
1449
|
-
creatingUserId: number;
|
|
1450
|
-
user: User;
|
|
1451
|
-
isPublic: boolean;
|
|
1452
|
-
deletedAt: Date;
|
|
1453
|
-
invoiceId: number;
|
|
1454
|
-
invoice: Invoice;
|
|
1409
|
+
slots: Slot[];
|
|
1455
1410
|
}
|
|
1456
1411
|
export declare class League extends OrganizationConnectionBaseEntity {
|
|
1457
1412
|
name: string | null;
|
|
@@ -1479,66 +1434,70 @@ export declare class League extends OrganizationConnectionBaseEntity {
|
|
|
1479
1434
|
logo?: Media;
|
|
1480
1435
|
seasons: LeagueSeason[];
|
|
1481
1436
|
}
|
|
1482
|
-
export declare class
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
status:
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
priceEarlyGroup: number | null;
|
|
1498
|
-
priceRegularGroup: number | null;
|
|
1499
|
-
priceLateGroup: number | null;
|
|
1500
|
-
earlyRegistrationEnds: Date | null;
|
|
1501
|
-
regularRegistrationEnds: Date | null;
|
|
1502
|
-
lateRegistrationEnds: Date | null;
|
|
1503
|
-
registrationStatus: number | null;
|
|
1504
|
-
description: string | null;
|
|
1505
|
-
addressName: string | null;
|
|
1506
|
-
registrationOpen: Date | null;
|
|
1507
|
-
connectedSeasonId: number | null;
|
|
1508
|
-
tournamentType: boolean | null;
|
|
1509
|
-
playoffType: boolean | null;
|
|
1510
|
-
scheduleStatus: SeasonScheduleStatusEnum;
|
|
1511
|
-
rosterStatus: string | null;
|
|
1512
|
-
metaData: any | null;
|
|
1513
|
-
inviteSendDate: Date | null;
|
|
1514
|
-
maxNumParticipants: number | null;
|
|
1515
|
-
programId: number | null;
|
|
1516
|
-
minNumParticipants: number | null;
|
|
1517
|
-
league: League;
|
|
1518
|
-
facilities: Facility[];
|
|
1519
|
-
seasonAttendees: SeasonAttendee[];
|
|
1520
|
-
purchasedResources: PurchasedResource[];
|
|
1437
|
+
export declare class Group extends BondBaseEntity {
|
|
1438
|
+
name: string;
|
|
1439
|
+
description?: string;
|
|
1440
|
+
status: GroupStatusEnum;
|
|
1441
|
+
maxCapacity?: number;
|
|
1442
|
+
mainMediaId?: number;
|
|
1443
|
+
minAgeYears?: number;
|
|
1444
|
+
maxAgeYears?: number;
|
|
1445
|
+
gender: GenderEnum;
|
|
1446
|
+
levelOfPlay?: LevelOfPlayEnum[];
|
|
1447
|
+
sports: SportsEnum[];
|
|
1448
|
+
questionnaires?: number[];
|
|
1449
|
+
captainUserId?: number;
|
|
1450
|
+
members: ISeasonAttendeeInfo[];
|
|
1451
|
+
users: User[];
|
|
1521
1452
|
}
|
|
1522
|
-
export declare class
|
|
1523
|
-
|
|
1524
|
-
|
|
1453
|
+
export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
1454
|
+
email: string;
|
|
1455
|
+
status: EEmailStatus;
|
|
1456
|
+
templateId: string;
|
|
1457
|
+
userId: number;
|
|
1458
|
+
invoiceId: number;
|
|
1459
|
+
paymentId: number;
|
|
1460
|
+
sendingUserId: number;
|
|
1461
|
+
mailParams?: any;
|
|
1462
|
+
memo?: string;
|
|
1463
|
+
}
|
|
1464
|
+
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1465
|
+
groupId: number;
|
|
1466
|
+
divisionId: number;
|
|
1467
|
+
deletedAt?: Date;
|
|
1468
|
+
}
|
|
1469
|
+
export declare class LinkedAccounts extends BondBaseEntity {
|
|
1470
|
+
id: number;
|
|
1471
|
+
provider: string;
|
|
1472
|
+
providerId: string | null;
|
|
1473
|
+
parentId: number | null;
|
|
1474
|
+
parentType: string | null;
|
|
1475
|
+
status: number | null;
|
|
1476
|
+
token: string | null;
|
|
1477
|
+
refreshToken: string | null;
|
|
1478
|
+
tokenCreatedAt: Date | null;
|
|
1479
|
+
tokenValidUpTo: Date | null;
|
|
1480
|
+
createdAt: Date;
|
|
1481
|
+
updatedAt: Date;
|
|
1482
|
+
user: User;
|
|
1483
|
+
userId: number | null;
|
|
1525
1484
|
}
|
|
1526
1485
|
export declare class LineItemHistory extends BondBaseEntity {
|
|
1527
|
-
orderId: number;
|
|
1528
1486
|
invoiceId: number;
|
|
1487
|
+
paymentId: number;
|
|
1529
1488
|
lineItemId: number;
|
|
1530
1489
|
paidAmount: number;
|
|
1531
1490
|
unitPaidAmount: number;
|
|
1532
1491
|
currency: CurrencyEnum;
|
|
1533
|
-
|
|
1492
|
+
payment: Payment;
|
|
1534
1493
|
lineItem: LineItems;
|
|
1535
1494
|
}
|
|
1536
1495
|
export declare class LineItems extends BondBaseEntity {
|
|
1537
1496
|
constructor();
|
|
1538
1497
|
defineIsReverted(): void;
|
|
1539
1498
|
isReverted: boolean;
|
|
1540
|
-
|
|
1541
|
-
|
|
1499
|
+
invoiceId: number;
|
|
1500
|
+
invoice: Invoice;
|
|
1542
1501
|
lineItemsHistory: LineItemHistory[];
|
|
1543
1502
|
type: LineItemsStatusEnum | null;
|
|
1544
1503
|
userId: number | null;
|
|
@@ -1588,22 +1547,6 @@ export declare class LineItems extends BondBaseEntity {
|
|
|
1588
1547
|
displayUnitPrice?: number;
|
|
1589
1548
|
displayQuantity?: number;
|
|
1590
1549
|
}
|
|
1591
|
-
export declare class LinkedAccounts extends BondBaseEntity {
|
|
1592
|
-
id: number;
|
|
1593
|
-
provider: string;
|
|
1594
|
-
providerId: string | null;
|
|
1595
|
-
parentId: number | null;
|
|
1596
|
-
parentType: string | null;
|
|
1597
|
-
status: number | null;
|
|
1598
|
-
token: string | null;
|
|
1599
|
-
refreshToken: string | null;
|
|
1600
|
-
tokenCreatedAt: Date | null;
|
|
1601
|
-
tokenValidUpTo: Date | null;
|
|
1602
|
-
createdAt: Date;
|
|
1603
|
-
updatedAt: Date;
|
|
1604
|
-
user: User;
|
|
1605
|
-
userId: number | null;
|
|
1606
|
-
}
|
|
1607
1550
|
export declare class Media extends BondBaseEntity {
|
|
1608
1551
|
url: string;
|
|
1609
1552
|
name: string | null;
|
|
@@ -1623,34 +1566,64 @@ export declare class Media extends BondBaseEntity {
|
|
|
1623
1566
|
programs: Program[];
|
|
1624
1567
|
memberships: Membership[];
|
|
1625
1568
|
}
|
|
1626
|
-
export declare class
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1569
|
+
export declare class InvoiceToPayment extends BondBaseEntity {
|
|
1570
|
+
invoiceId: number;
|
|
1571
|
+
paymentId: number;
|
|
1572
|
+
invoice: Invoice;
|
|
1573
|
+
payment: Payment;
|
|
1574
|
+
paidAmount?: number;
|
|
1575
|
+
currency: CurrencyEnum;
|
|
1576
|
+
}
|
|
1577
|
+
export declare class LeagueSeason extends BondBaseEntity {
|
|
1578
|
+
leagueId: number | null;
|
|
1579
|
+
name: string | null;
|
|
1580
|
+
status: number | null;
|
|
1581
|
+
startDate: Date | null;
|
|
1582
|
+
endDate: Date | null;
|
|
1583
|
+
priceEarlySingle: number | null;
|
|
1584
|
+
priceRegularSingle: number | null;
|
|
1585
|
+
priceLateSingle: number | null;
|
|
1586
|
+
priceEarlyTeam: number | null;
|
|
1587
|
+
priceRegularTeam: number | null;
|
|
1588
|
+
priceLateTeam: number | null;
|
|
1589
|
+
priceEarlyTeamMember: number | null;
|
|
1590
|
+
priceRegularTeamMember: number | null;
|
|
1591
|
+
priceLateTeamMember: number | null;
|
|
1592
|
+
priceEarlyGroup: number | null;
|
|
1593
|
+
priceRegularGroup: number | null;
|
|
1594
|
+
priceLateGroup: number | null;
|
|
1595
|
+
earlyRegistrationEnds: Date | null;
|
|
1596
|
+
regularRegistrationEnds: Date | null;
|
|
1597
|
+
lateRegistrationEnds: Date | null;
|
|
1598
|
+
registrationStatus: number | null;
|
|
1599
|
+
description: string | null;
|
|
1600
|
+
addressName: string | null;
|
|
1601
|
+
registrationOpen: Date | null;
|
|
1602
|
+
connectedSeasonId: number | null;
|
|
1603
|
+
tournamentType: boolean | null;
|
|
1604
|
+
playoffType: boolean | null;
|
|
1605
|
+
scheduleStatus: SeasonScheduleStatusEnum;
|
|
1606
|
+
rosterStatus: string | null;
|
|
1607
|
+
metaData: any | null;
|
|
1608
|
+
inviteSendDate: Date | null;
|
|
1609
|
+
maxNumParticipants: number | null;
|
|
1610
|
+
programId: number | null;
|
|
1611
|
+
minNumParticipants: number | null;
|
|
1612
|
+
league: League;
|
|
1613
|
+
facilities: Facility[];
|
|
1614
|
+
seasonAttendees: SeasonAttendee[];
|
|
1652
1615
|
purchasedResources: PurchasedResource[];
|
|
1653
1616
|
}
|
|
1617
|
+
export declare class LeagueSeasonRelations {
|
|
1618
|
+
league?: boolean;
|
|
1619
|
+
facilities?: boolean;
|
|
1620
|
+
}
|
|
1621
|
+
export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
|
|
1622
|
+
email: string | null;
|
|
1623
|
+
notificationType: NotificationTypeEnum | null;
|
|
1624
|
+
resourceId: number | null;
|
|
1625
|
+
resourceType: string | null;
|
|
1626
|
+
}
|
|
1654
1627
|
export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
1655
1628
|
membership: Membership;
|
|
1656
1629
|
membershipId: number;
|
|
@@ -1671,67 +1644,15 @@ export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
|
1671
1644
|
cancellationStatus?: CancellationStatusEnum;
|
|
1672
1645
|
isImported?: boolean;
|
|
1673
1646
|
}
|
|
1674
|
-
export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
|
|
1675
|
-
email: string | null;
|
|
1676
|
-
notificationType: NotificationTypeEnum | null;
|
|
1677
|
-
resourceId: number | null;
|
|
1678
|
-
resourceType: string | null;
|
|
1679
|
-
}
|
|
1680
|
-
export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
1681
|
-
id: number;
|
|
1682
|
-
dayOfWeek: number;
|
|
1683
|
-
open: string;
|
|
1684
|
-
close: string;
|
|
1685
|
-
facilityId: number;
|
|
1686
|
-
createdAt: Date;
|
|
1687
|
-
updatedAt: Date;
|
|
1688
|
-
deletedAt?: Date;
|
|
1689
|
-
facility: Facility;
|
|
1690
|
-
}
|
|
1691
|
-
export declare class Order extends BondBaseEntity {
|
|
1692
|
-
orderId: string | null;
|
|
1693
|
-
price: number | null;
|
|
1694
|
-
status: OrderStatusEnum | null;
|
|
1695
|
-
sentForClientDate: Date | null;
|
|
1696
|
-
payingUserId?: number | null;
|
|
1697
|
-
orderToInvoices: OrderToInvoice[];
|
|
1698
|
-
lineItems: LineItems[];
|
|
1699
|
-
lineItemHistory: LineItemHistory[];
|
|
1700
|
-
paymentStatus: PaymentStatusEnum;
|
|
1701
|
-
paymentMethodId?: string;
|
|
1702
|
-
paymentType?: PaymentMethodTypeEnum;
|
|
1703
|
-
paidAmount: number;
|
|
1704
|
-
currency: CurrencyEnum;
|
|
1705
|
-
mainInvoiceId: number;
|
|
1706
|
-
isScheduled: boolean;
|
|
1707
|
-
isRefunded: boolean;
|
|
1708
|
-
isVoided: boolean;
|
|
1709
|
-
creatingUserId: number;
|
|
1710
|
-
shiftId: number;
|
|
1711
|
-
platform: PlatformsEnum;
|
|
1712
|
-
orderNotes: OrderNote[];
|
|
1713
|
-
slots: Slot[];
|
|
1714
|
-
}
|
|
1715
|
-
export declare class OrderNote extends OrganizationConnectionBaseEntity {
|
|
1716
|
-
content: string;
|
|
1717
|
-
creatingUserId: number;
|
|
1718
|
-
user: User;
|
|
1719
|
-
isPublic: boolean;
|
|
1720
|
-
deletedAt: Date;
|
|
1721
|
-
orderId: number;
|
|
1722
|
-
order: Order;
|
|
1723
|
-
}
|
|
1724
|
-
export declare class OrderToInvoice extends BondBaseEntity {
|
|
1725
|
-
orderId: number;
|
|
1726
|
-
invoiceId: number;
|
|
1727
|
-
order: Order;
|
|
1728
|
-
invoice: Invoice;
|
|
1729
|
-
paidAmount?: number;
|
|
1730
|
-
currency: CurrencyEnum;
|
|
1731
|
-
}
|
|
1732
1647
|
export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
|
|
1733
1648
|
organizationId: number;
|
|
1734
1649
|
}
|
|
1650
|
+
export declare class PasswordReset extends BondBaseEntity {
|
|
1651
|
+
token: string | null;
|
|
1652
|
+
userId: number | null;
|
|
1653
|
+
validUntil: Date | null;
|
|
1654
|
+
active: boolean | null;
|
|
1655
|
+
}
|
|
1735
1656
|
export declare class PackageV1 extends BondBaseEntity {
|
|
1736
1657
|
name?: string;
|
|
1737
1658
|
description?: string;
|
|
@@ -1749,11 +1670,16 @@ export declare class PackageV1 extends BondBaseEntity {
|
|
|
1749
1670
|
isMandatory: boolean;
|
|
1750
1671
|
productId: number;
|
|
1751
1672
|
}
|
|
1752
|
-
export declare class
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1673
|
+
export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
1674
|
+
id: number;
|
|
1675
|
+
dayOfWeek: number;
|
|
1676
|
+
open: string;
|
|
1677
|
+
close: string;
|
|
1678
|
+
facilityId: number;
|
|
1679
|
+
createdAt: Date;
|
|
1680
|
+
updatedAt: Date;
|
|
1681
|
+
deletedAt?: Date;
|
|
1682
|
+
facility: Facility;
|
|
1757
1683
|
}
|
|
1758
1684
|
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1759
1685
|
paymentPlanId: number;
|
|
@@ -1761,45 +1687,90 @@ export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntit
|
|
|
1761
1687
|
deletedAt?: Date;
|
|
1762
1688
|
paymentPlan: ProductPaymentPlan;
|
|
1763
1689
|
}
|
|
1764
|
-
export declare class
|
|
1765
|
-
userId: number | null;
|
|
1766
|
-
ownerId: number | null;
|
|
1767
|
-
parentId: number | null;
|
|
1768
|
-
parentType: string | null;
|
|
1769
|
-
idAtProvider: string | null;
|
|
1770
|
-
providerType: number | null;
|
|
1771
|
-
providerExtraData: string | null;
|
|
1772
|
-
requestData: string | null;
|
|
1773
|
-
responseData: string | null;
|
|
1774
|
-
status: number | null;
|
|
1775
|
-
price: number | null;
|
|
1776
|
-
currency: string | null;
|
|
1777
|
-
locked: boolean | null;
|
|
1778
|
-
numberOfTries: number | null;
|
|
1779
|
-
installmentId: number | null;
|
|
1780
|
-
orderId: string | null;
|
|
1781
|
-
}
|
|
1782
|
-
export declare class Price extends OrganizationConnectionBaseEntity {
|
|
1783
|
-
productId: number;
|
|
1784
|
-
product: Product;
|
|
1785
|
-
name: string | null;
|
|
1690
|
+
export declare class Payment extends OrganizationConnectionBaseEntity {
|
|
1786
1691
|
price: number;
|
|
1692
|
+
paymentProcessorId: string;
|
|
1693
|
+
invoiceToPayments: InvoiceToPayment[];
|
|
1694
|
+
paymentStatus: PaymentStatusEnum;
|
|
1695
|
+
bondFee?: number;
|
|
1696
|
+
stripeFee?: number;
|
|
1787
1697
|
currency: CurrencyEnum;
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1698
|
+
payingUserId?: number;
|
|
1699
|
+
paymentMethodId?: string;
|
|
1700
|
+
paymentType?: PaymentMethodTypeEnum;
|
|
1701
|
+
fundLeft: number;
|
|
1702
|
+
notes?: string;
|
|
1703
|
+
isRefunded: boolean;
|
|
1704
|
+
lineItemHistory: LineItemHistory[];
|
|
1705
|
+
receiptUrl?: string;
|
|
1706
|
+
paymentProcessorTransactionId?: string;
|
|
1707
|
+
creatingUserId: number;
|
|
1708
|
+
shiftId: number;
|
|
1709
|
+
platform: PlatformsEnum;
|
|
1710
|
+
ccLast4: string;
|
|
1711
|
+
ccBrand: string;
|
|
1712
|
+
invoiceNotes: PaymentNote[];
|
|
1713
|
+
parentInvoiceId?: number;
|
|
1714
|
+
refundReasonId?: number;
|
|
1715
|
+
refundNote?: string;
|
|
1716
|
+
}
|
|
1717
|
+
export declare class PaymentNote extends OrganizationConnectionBaseEntity {
|
|
1718
|
+
content: string;
|
|
1719
|
+
creatingUserId: number;
|
|
1720
|
+
user: User;
|
|
1721
|
+
isPublic: boolean;
|
|
1722
|
+
deletedAt: Date;
|
|
1723
|
+
paymentId: number;
|
|
1724
|
+
payment: Payment;
|
|
1725
|
+
}
|
|
1726
|
+
export declare class Membership extends OrganizationConnectionBaseEntity {
|
|
1727
|
+
name: string;
|
|
1728
|
+
description?: string;
|
|
1729
|
+
mainMedia?: Media;
|
|
1730
|
+
customerTypes: CustomerInMembershipTypeEnum[];
|
|
1731
|
+
activity?: SportsEnum;
|
|
1732
|
+
facilityId?: number;
|
|
1733
|
+
facilityName?: string;
|
|
1734
|
+
questionnaires?: number[];
|
|
1735
|
+
minAgeYears?: number;
|
|
1736
|
+
maxAgeYears?: number;
|
|
1737
|
+
gender: GenderEnum;
|
|
1738
|
+
maxMembers?: number;
|
|
1739
|
+
maxMaleMembers?: number;
|
|
1740
|
+
maxFemaleMembers?: number;
|
|
1741
|
+
membershipType: MembershipTypeEnum;
|
|
1742
|
+
durationMonths?: number;
|
|
1743
|
+
startDate?: string;
|
|
1744
|
+
endDate?: string;
|
|
1745
|
+
registrationStartDate?: Date;
|
|
1746
|
+
registrationEndDate?: Date;
|
|
1747
|
+
package?: IPackageResponse;
|
|
1748
|
+
tags: any[];
|
|
1749
|
+
members: MembershipMember[];
|
|
1750
|
+
longDescription?: string;
|
|
1751
|
+
isAutoRenew?: boolean;
|
|
1752
|
+
purchasedResources: PurchasedResource[];
|
|
1753
|
+
}
|
|
1754
|
+
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
1755
|
+
code: string;
|
|
1756
|
+
}
|
|
1757
|
+
export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
|
|
1758
|
+
groupId: number;
|
|
1759
|
+
itemId: number;
|
|
1760
|
+
itemType: ResourceNameTypeEnum;
|
|
1761
|
+
startDate: Date;
|
|
1762
|
+
endDate: Date;
|
|
1763
|
+
price: number;
|
|
1764
|
+
overridesPrice: boolean;
|
|
1765
|
+
deletedAt?: Date;
|
|
1766
|
+
group?: EntitlementGroup;
|
|
1767
|
+
discountMethod?: DiscountMethodsEnum;
|
|
1768
|
+
discountValue?: number;
|
|
1769
|
+
}
|
|
1770
|
+
export declare class Product extends OrganizationConnectionBaseEntity {
|
|
1771
|
+
name: string;
|
|
1772
|
+
quantity: number;
|
|
1773
|
+
paymentProcessorId?: string;
|
|
1803
1774
|
startDate?: Date;
|
|
1804
1775
|
endDate?: Date;
|
|
1805
1776
|
isPublic: boolean;
|
|
@@ -1846,29 +1817,23 @@ export declare class Product extends OrganizationConnectionBaseEntity {
|
|
|
1846
1817
|
activityTimes: ActivityTimes[];
|
|
1847
1818
|
purchasedResources: PurchasedResource[];
|
|
1848
1819
|
}
|
|
1849
|
-
export declare class
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
|
-
maxMonths?: number;
|
|
1867
|
-
dayOfMonth?: number;
|
|
1868
|
-
name: string;
|
|
1869
|
-
deletedAt?: Date;
|
|
1870
|
-
schedule: PaymentPlanSchedule[];
|
|
1871
|
-
product?: Product;
|
|
1820
|
+
export declare class PaymentV1 extends BondBaseEntity {
|
|
1821
|
+
userId: number | null;
|
|
1822
|
+
ownerId: number | null;
|
|
1823
|
+
parentId: number | null;
|
|
1824
|
+
parentType: string | null;
|
|
1825
|
+
idAtProvider: string | null;
|
|
1826
|
+
providerType: number | null;
|
|
1827
|
+
providerExtraData: string | null;
|
|
1828
|
+
requestData: string | null;
|
|
1829
|
+
responseData: string | null;
|
|
1830
|
+
status: number | null;
|
|
1831
|
+
price: number | null;
|
|
1832
|
+
currency: string | null;
|
|
1833
|
+
locked: boolean | null;
|
|
1834
|
+
numberOfTries: number | null;
|
|
1835
|
+
installmentId: number | null;
|
|
1836
|
+
invoiceId: string | null;
|
|
1872
1837
|
}
|
|
1873
1838
|
export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
1874
1839
|
productId: number;
|
|
@@ -1881,6 +1846,32 @@ export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
|
1881
1846
|
productPackages: ProductPackage[];
|
|
1882
1847
|
resourceName?: string;
|
|
1883
1848
|
}
|
|
1849
|
+
export declare class Price extends OrganizationConnectionBaseEntity {
|
|
1850
|
+
productId: number;
|
|
1851
|
+
product: Product;
|
|
1852
|
+
name: string | null;
|
|
1853
|
+
price: number;
|
|
1854
|
+
currency: CurrencyEnum;
|
|
1855
|
+
paymentProcessorId: number | null;
|
|
1856
|
+
startDate: Date;
|
|
1857
|
+
endDate: Date;
|
|
1858
|
+
groupId?: number;
|
|
1859
|
+
groupName?: string;
|
|
1860
|
+
originalPrice?: number;
|
|
1861
|
+
deletedAt?: Date;
|
|
1862
|
+
discountMethod?: DiscountMethodsEnum;
|
|
1863
|
+
discountValue?: number;
|
|
1864
|
+
taxIncludedPrice?: number;
|
|
1865
|
+
}
|
|
1866
|
+
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
1867
|
+
productId: number;
|
|
1868
|
+
maxMonths?: number;
|
|
1869
|
+
dayOfMonth?: number;
|
|
1870
|
+
name: string;
|
|
1871
|
+
deletedAt?: Date;
|
|
1872
|
+
schedule: PaymentPlanSchedule[];
|
|
1873
|
+
product?: Product;
|
|
1874
|
+
}
|
|
1884
1875
|
export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
|
|
1885
1876
|
productId: number;
|
|
1886
1877
|
variantTitleId: number;
|
|
@@ -1889,13 +1880,6 @@ export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
|
|
|
1889
1880
|
productId: number;
|
|
1890
1881
|
variantId: number;
|
|
1891
1882
|
}
|
|
1892
|
-
export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
|
|
1893
|
-
productId: number;
|
|
1894
|
-
customerId: number;
|
|
1895
|
-
customer: Customer;
|
|
1896
|
-
deletedAt?: Date;
|
|
1897
|
-
product: Product;
|
|
1898
|
-
}
|
|
1899
1883
|
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1900
1884
|
productId: number;
|
|
1901
1885
|
userId: number;
|
|
@@ -1913,28 +1897,6 @@ export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
|
1913
1897
|
slots?: Slot[];
|
|
1914
1898
|
addons?: Addon[];
|
|
1915
1899
|
}
|
|
1916
|
-
export declare class Program extends BondBaseEntity {
|
|
1917
|
-
type: ProgramTypesEnum;
|
|
1918
|
-
name: string;
|
|
1919
|
-
sport: SportsEnum;
|
|
1920
|
-
minAge: string;
|
|
1921
|
-
maxAge: string;
|
|
1922
|
-
gender: GenderEnum;
|
|
1923
|
-
level: LevelOfPlayEnum[] | null;
|
|
1924
|
-
description: string | null;
|
|
1925
|
-
GL?: string | null;
|
|
1926
|
-
status: PublishingStatusEnum;
|
|
1927
|
-
mainMedia: Media;
|
|
1928
|
-
organizationId: number;
|
|
1929
|
-
userCreatorId: number;
|
|
1930
|
-
programHighlights: ProgramHighlights[];
|
|
1931
|
-
linkSEO: string;
|
|
1932
|
-
longDescription?: string;
|
|
1933
|
-
requiredProductIds: number[] | null;
|
|
1934
|
-
deletedAt?: Date;
|
|
1935
|
-
programSeason: ProgramSeason[];
|
|
1936
|
-
purchasedResources: PurchasedResource[];
|
|
1937
|
-
}
|
|
1938
1900
|
export declare class ProgramHighlights extends BondBaseEntity {
|
|
1939
1901
|
type: ProgramHighlightTypeEnum;
|
|
1940
1902
|
ordinal: number | null;
|
|
@@ -2019,39 +1981,19 @@ export declare class PurchasedResource extends OrganizationConnectionBaseEntity
|
|
|
2019
1981
|
product?: Product;
|
|
2020
1982
|
event?: Event;
|
|
2021
1983
|
}
|
|
2022
|
-
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
2023
|
-
title: string | null;
|
|
2024
|
-
answerTitle: AnswerTitle;
|
|
2025
|
-
}
|
|
2026
|
-
export declare class Questions extends BondBaseEntity {
|
|
2027
|
-
questionType: string | null;
|
|
2028
|
-
ordinal: number | null;
|
|
2029
|
-
pageOrdinal: number | null;
|
|
2030
|
-
isActive: boolean | null;
|
|
2031
|
-
isMandatory: boolean | null;
|
|
2032
|
-
metaData: any | null;
|
|
2033
|
-
question: string | null;
|
|
2034
|
-
creatorId: number | null;
|
|
2035
|
-
creatorType: string | null;
|
|
2036
|
-
userCreatorId: number | null;
|
|
2037
|
-
ownerId: number | null;
|
|
2038
|
-
questionnaireId: number | null;
|
|
2039
|
-
}
|
|
2040
1984
|
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2041
1985
|
reason: string;
|
|
2042
1986
|
ordinal: number;
|
|
2043
1987
|
deletedAt: Date;
|
|
2044
1988
|
}
|
|
2045
|
-
export declare class
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
closeTime?: string;
|
|
2054
|
-
deletedAt?: Date;
|
|
1989
|
+
export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
1990
|
+
content: string;
|
|
1991
|
+
creatingUserId: number;
|
|
1992
|
+
user: User;
|
|
1993
|
+
isPublic: boolean;
|
|
1994
|
+
deletedAt: Date;
|
|
1995
|
+
invoiceId: number;
|
|
1996
|
+
invoice: Invoice;
|
|
2055
1997
|
}
|
|
2056
1998
|
export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
2057
1999
|
name?: string;
|
|
@@ -2060,7 +2002,7 @@ export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
|
2060
2002
|
status?: string;
|
|
2061
2003
|
privacySetting?: string;
|
|
2062
2004
|
reservationType?: string;
|
|
2063
|
-
|
|
2005
|
+
invoiceId?: string;
|
|
2064
2006
|
customerId?: number;
|
|
2065
2007
|
length?: number;
|
|
2066
2008
|
price?: number;
|
|
@@ -2085,47 +2027,63 @@ export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
|
2085
2027
|
publicNotes?: string;
|
|
2086
2028
|
slots?: Slot[];
|
|
2087
2029
|
}
|
|
2088
|
-
export declare class
|
|
2030
|
+
export declare class Program extends BondBaseEntity {
|
|
2031
|
+
type: ProgramTypesEnum;
|
|
2089
2032
|
name: string;
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2033
|
+
sport: SportsEnum;
|
|
2034
|
+
minAge: string;
|
|
2035
|
+
maxAge: string;
|
|
2036
|
+
gender: GenderEnum;
|
|
2037
|
+
level: LevelOfPlayEnum[] | null;
|
|
2038
|
+
description: string | null;
|
|
2039
|
+
GL?: string | null;
|
|
2040
|
+
status: PublishingStatusEnum;
|
|
2097
2041
|
mainMedia: Media;
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
amenities?: AmenitiesEnum[];
|
|
2102
|
-
parentSpaceId?: number;
|
|
2103
|
-
ordinal?: number;
|
|
2104
|
-
isAddOn: boolean;
|
|
2105
|
-
ages?: ResourceAgesEnum;
|
|
2106
|
-
deletedAt?: Date;
|
|
2107
|
-
activityTimes: ActivityTimes[];
|
|
2108
|
-
facilities: Facility[];
|
|
2109
|
-
slots?: Slot[];
|
|
2110
|
-
addons?: Addon[];
|
|
2111
|
-
facilityId: number;
|
|
2112
|
-
facility: Facility;
|
|
2113
|
-
purchasedResources: PurchasedResource[];
|
|
2042
|
+
organizationId: number;
|
|
2043
|
+
userCreatorId: number;
|
|
2044
|
+
programHighlights: ProgramHighlights[];
|
|
2114
2045
|
linkSEO: string;
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
name: string;
|
|
2118
|
-
facilityId: number;
|
|
2119
|
-
parentSlotId: number;
|
|
2120
|
-
childrenSlotIds: number[];
|
|
2046
|
+
longDescription?: string;
|
|
2047
|
+
requiredProductIds: number[] | null;
|
|
2121
2048
|
deletedAt?: Date;
|
|
2049
|
+
programSeason: ProgramSeason[];
|
|
2050
|
+
purchasedResources: PurchasedResource[];
|
|
2122
2051
|
}
|
|
2123
|
-
export declare class
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2052
|
+
export declare class Questions extends BondBaseEntity {
|
|
2053
|
+
questionType: string | null;
|
|
2054
|
+
ordinal: number | null;
|
|
2055
|
+
pageOrdinal: number | null;
|
|
2056
|
+
isActive: boolean | null;
|
|
2057
|
+
isMandatory: boolean | null;
|
|
2058
|
+
metaData: any | null;
|
|
2059
|
+
question: string | null;
|
|
2060
|
+
creatorId: number | null;
|
|
2061
|
+
creatorType: string | null;
|
|
2062
|
+
userCreatorId: number | null;
|
|
2063
|
+
ownerId: number | null;
|
|
2064
|
+
questionnaireId: number | null;
|
|
2065
|
+
}
|
|
2066
|
+
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
2067
|
+
title: string | null;
|
|
2068
|
+
answerTitle: AnswerTitle;
|
|
2069
|
+
}
|
|
2070
|
+
export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
|
|
2071
|
+
resourceType: ResourceNameTypeEnum;
|
|
2072
|
+
resourceId: number;
|
|
2073
|
+
openNumDays?: number;
|
|
2074
|
+
openNumMinutes?: number;
|
|
2075
|
+
openTime?: string;
|
|
2076
|
+
closeNumDays?: number;
|
|
2077
|
+
closeNumMinutes?: number;
|
|
2078
|
+
closeTime?: string;
|
|
2079
|
+
deletedAt?: Date;
|
|
2080
|
+
}
|
|
2081
|
+
export declare class School extends BondBaseEntity {
|
|
2082
|
+
name: string | null;
|
|
2083
|
+
alias: string[] | null;
|
|
2084
|
+
addressId: number | null;
|
|
2085
|
+
website: string | null;
|
|
2086
|
+
phone: string | null;
|
|
2129
2087
|
dataId: number | null;
|
|
2130
2088
|
}
|
|
2131
2089
|
export declare class SeasonAttendee extends BondBaseEntity {
|
|
@@ -2142,11 +2100,20 @@ export declare class SeasonAttendee extends BondBaseEntity {
|
|
|
2142
2100
|
deletedAt?: Date;
|
|
2143
2101
|
purchasedResource: PurchasedResource;
|
|
2144
2102
|
}
|
|
2145
|
-
export declare class
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2103
|
+
export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
2104
|
+
parentProductId: number;
|
|
2105
|
+
childProductId: number;
|
|
2106
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
2107
|
+
timePeriod: AddonTimePeriodEnum;
|
|
2108
|
+
deletedAt?: Date;
|
|
2109
|
+
productResource: ProductResource;
|
|
2110
|
+
childProduct: Product;
|
|
2111
|
+
parentProduct: Product;
|
|
2112
|
+
price: number;
|
|
2113
|
+
isFlatPrice: boolean;
|
|
2114
|
+
durationMinutes?: number;
|
|
2115
|
+
durationDays?: number;
|
|
2116
|
+
level?: ProductPackageLevelEnum;
|
|
2150
2117
|
}
|
|
2151
2118
|
export declare class SeasonPool extends BondBaseEntity {
|
|
2152
2119
|
seasonId?: number;
|
|
@@ -2163,19 +2130,59 @@ export declare class SeasonPool extends BondBaseEntity {
|
|
|
2163
2130
|
purchasedResource: PurchasedResource;
|
|
2164
2131
|
season: LeagueSeason;
|
|
2165
2132
|
}
|
|
2166
|
-
export declare class
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
divisionId: number | null;
|
|
2173
|
-
metaData: any | null;
|
|
2174
|
-
team: Team;
|
|
2133
|
+
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2134
|
+
name: string;
|
|
2135
|
+
facilityId: number;
|
|
2136
|
+
parentSlotId: number;
|
|
2137
|
+
childrenSlotIds: number[];
|
|
2138
|
+
deletedAt?: Date;
|
|
2175
2139
|
}
|
|
2176
|
-
export declare class
|
|
2177
|
-
|
|
2178
|
-
|
|
2140
|
+
export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
|
|
2141
|
+
stationId: number;
|
|
2142
|
+
subcategoryId: number;
|
|
2143
|
+
productType: ProductTypesEnum;
|
|
2144
|
+
deletedAt?: Date;
|
|
2145
|
+
station: Station;
|
|
2146
|
+
subcategory: Subcategory;
|
|
2147
|
+
}
|
|
2148
|
+
export declare class User extends BondBaseEntity {
|
|
2149
|
+
firstName: string | null;
|
|
2150
|
+
lastName: string | null;
|
|
2151
|
+
email: string | null;
|
|
2152
|
+
phoneNumber: string | null;
|
|
2153
|
+
about: string | null;
|
|
2154
|
+
password: string | null;
|
|
2155
|
+
passwordResetToken: string | null;
|
|
2156
|
+
passwordResetExpires: Date | null;
|
|
2157
|
+
status: string | null;
|
|
2158
|
+
pushNotifications: boolean | null;
|
|
2159
|
+
notificationSettings: any | null;
|
|
2160
|
+
addressId: number | null;
|
|
2161
|
+
address: Address;
|
|
2162
|
+
currentAddressId: number | null;
|
|
2163
|
+
merchantId: number | null;
|
|
2164
|
+
loginToken: string | null;
|
|
2165
|
+
gender: GenderEnum | null;
|
|
2166
|
+
height: number | null;
|
|
2167
|
+
weight: number | null;
|
|
2168
|
+
birthDate: Date | null;
|
|
2169
|
+
lastLogin: Date | null;
|
|
2170
|
+
lastInteractionDay: Date | null;
|
|
2171
|
+
createAsId: number | null;
|
|
2172
|
+
createAsType: ResourceNameTypeEnum | null;
|
|
2173
|
+
motto: string | null;
|
|
2174
|
+
privateProfile: boolean | null;
|
|
2175
|
+
allowMultiSignHack: boolean | null;
|
|
2176
|
+
deletedAt: Date | null;
|
|
2177
|
+
userInFamilyAccounts: UserInFamilyAccount[];
|
|
2178
|
+
athlete: Athlete;
|
|
2179
|
+
eventAttendees: EventAttendee[];
|
|
2180
|
+
seasonAttendees: SeasonAttendee[];
|
|
2181
|
+
linkedAccounts: LinkedAccounts[];
|
|
2182
|
+
profilePicture: Media;
|
|
2183
|
+
usersRoles: UserRole[];
|
|
2184
|
+
invoiceNotes: InvoiceNote[];
|
|
2185
|
+
paymentNotes: PaymentNote[];
|
|
2179
2186
|
}
|
|
2180
2187
|
export declare class Station extends OrganizationConnectionBaseEntity {
|
|
2181
2188
|
name: string;
|
|
@@ -2188,16 +2195,20 @@ export declare class Station extends OrganizationConnectionBaseEntity {
|
|
|
2188
2195
|
subcategories: Subcategory[];
|
|
2189
2196
|
shifts?: Shift[];
|
|
2190
2197
|
}
|
|
2191
|
-
export declare class
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
+
export declare class TeamInvite extends BondBaseEntity {
|
|
2199
|
+
email: string;
|
|
2200
|
+
teamId: number;
|
|
2201
|
+
invitedUserId?: number;
|
|
2202
|
+
userCreatorId: number;
|
|
2203
|
+
token: string;
|
|
2204
|
+
tokenExpirationDate: Date;
|
|
2205
|
+
isUsed: boolean;
|
|
2198
2206
|
}
|
|
2199
|
-
export declare class
|
|
2200
|
-
|
|
2207
|
+
export declare class SeasonDivisions extends BondBaseEntity {
|
|
2208
|
+
name: string | null;
|
|
2209
|
+
ordinal: number | null;
|
|
2210
|
+
seasonId: number | null;
|
|
2211
|
+
color: string | null;
|
|
2201
2212
|
}
|
|
2202
2213
|
export declare class Team extends BondBaseEntity {
|
|
2203
2214
|
name: string | null;
|
|
@@ -2233,14 +2244,12 @@ export declare class Team extends BondBaseEntity {
|
|
|
2233
2244
|
gender: number | null;
|
|
2234
2245
|
questionnaireId: number | null;
|
|
2235
2246
|
}
|
|
2236
|
-
export declare class
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
tokenExpirationDate: Date;
|
|
2243
|
-
isUsed: boolean;
|
|
2247
|
+
export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
|
|
2248
|
+
productId: number;
|
|
2249
|
+
customerId: number;
|
|
2250
|
+
customer: Customer;
|
|
2251
|
+
deletedAt?: Date;
|
|
2252
|
+
product: Product;
|
|
2244
2253
|
}
|
|
2245
2254
|
export declare class TeamMember extends BondBaseEntity {
|
|
2246
2255
|
teamId: number | null;
|
|
@@ -2251,50 +2260,37 @@ export declare class TeamMember extends BondBaseEntity {
|
|
|
2251
2260
|
role: TeamMemberRoleEnum;
|
|
2252
2261
|
user: User;
|
|
2253
2262
|
}
|
|
2254
|
-
export declare class
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
allowMultiSignHack: boolean | null;
|
|
2282
|
-
deletedAt: Date | null;
|
|
2283
|
-
userInFamilyAccounts: UserInFamilyAccount[];
|
|
2284
|
-
athlete: Athlete;
|
|
2285
|
-
eventAttendees: EventAttendee[];
|
|
2286
|
-
seasonAttendees: SeasonAttendee[];
|
|
2287
|
-
linkedAccounts: LinkedAccounts[];
|
|
2288
|
-
profilePicture: Media;
|
|
2289
|
-
usersRoles: UserRole[];
|
|
2290
|
-
orderNotes: OrderNote[];
|
|
2291
|
-
invoiceNotes: InvoiceNote[];
|
|
2263
|
+
export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
2264
|
+
name: string;
|
|
2265
|
+
resourceType: ResourceTypeEnum;
|
|
2266
|
+
resourceSubType: ResourceSubTypeEnum;
|
|
2267
|
+
description?: string;
|
|
2268
|
+
longDescription?: string;
|
|
2269
|
+
surface?: SurfacesEnum;
|
|
2270
|
+
properties?: SpacePropertiesEnum[];
|
|
2271
|
+
mainMediaId?: number;
|
|
2272
|
+
mainMedia: Media;
|
|
2273
|
+
sports: SportsEnum[];
|
|
2274
|
+
width?: number;
|
|
2275
|
+
length?: number;
|
|
2276
|
+
amenities?: AmenitiesEnum[];
|
|
2277
|
+
parentSpaceId?: number;
|
|
2278
|
+
ordinal?: number;
|
|
2279
|
+
isAddOn: boolean;
|
|
2280
|
+
ages?: ResourceAgesEnum;
|
|
2281
|
+
deletedAt?: Date;
|
|
2282
|
+
activityTimes: ActivityTimes[];
|
|
2283
|
+
facilities: Facility[];
|
|
2284
|
+
slots?: Slot[];
|
|
2285
|
+
addons?: Addon[];
|
|
2286
|
+
facilityId: number;
|
|
2287
|
+
facility: Facility;
|
|
2288
|
+
purchasedResources: PurchasedResource[];
|
|
2289
|
+
linkSEO: string;
|
|
2292
2290
|
}
|
|
2293
|
-
export declare class
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
entityType: UserAuthorizationsTypeEnum;
|
|
2297
|
-
user: User;
|
|
2291
|
+
export declare class VariantTitle extends OrganizationConnectionBaseEntity {
|
|
2292
|
+
name: string;
|
|
2293
|
+
variants: Variant[];
|
|
2298
2294
|
}
|
|
2299
2295
|
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
2300
2296
|
familyAccountId: number;
|
|
@@ -2304,20 +2300,25 @@ export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
|
2304
2300
|
familyAccount: FamilyAccount;
|
|
2305
2301
|
deletedAt?: Date;
|
|
2306
2302
|
}
|
|
2307
|
-
export declare class
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2303
|
+
export declare class SeasonTeam extends BondBaseEntity {
|
|
2304
|
+
seasonId: number | null;
|
|
2305
|
+
teamId: number | null;
|
|
2306
|
+
standingPosition: number | null;
|
|
2307
|
+
statistics: any | null;
|
|
2308
|
+
points: number | null;
|
|
2309
|
+
divisionId: number | null;
|
|
2310
|
+
metaData: any | null;
|
|
2311
|
+
team: Team;
|
|
2311
2312
|
}
|
|
2312
|
-
export declare class
|
|
2313
|
-
|
|
2314
|
-
|
|
2313
|
+
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2314
|
+
entityId: number | null;
|
|
2315
|
+
userId: number | null;
|
|
2316
|
+
entityType: UserAuthorizationsTypeEnum;
|
|
2317
|
+
user: User;
|
|
2315
2318
|
}
|
|
2316
|
-
export declare class
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
variantTitle: VariantTitle;
|
|
2320
|
-
deletedAt?: Date;
|
|
2319
|
+
export declare class SpacesDependency extends BondBaseEntity {
|
|
2320
|
+
blockingSpaceId: number;
|
|
2321
|
+
blockedSpaceId: number;
|
|
2321
2322
|
}
|
|
2322
2323
|
export declare class WebflowOrganizationConfiguration extends OrganizationConnectionBaseEntity {
|
|
2323
2324
|
projectToken: string;
|
|
@@ -2327,21 +2328,24 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
|
|
|
2327
2328
|
membershipCollectionId?: string;
|
|
2328
2329
|
programsCollectionId?: string;
|
|
2329
2330
|
}
|
|
2330
|
-
export declare class
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2331
|
+
export declare class UsersInGroup extends BondBaseEntity {
|
|
2332
|
+
groupId: number;
|
|
2333
|
+
userId: number;
|
|
2334
|
+
deletedAt?: Date;
|
|
2335
|
+
}
|
|
2336
|
+
export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
2337
|
+
productType: ProductTypesEnum;
|
|
2338
|
+
name: string;
|
|
2339
|
+
ordinal?: number;
|
|
2340
|
+
deletedAt?: Date;
|
|
2341
|
+
stationToSubcategories: StationToSubcategory[];
|
|
2342
|
+
stations: Station[];
|
|
2343
|
+
}
|
|
2344
|
+
export declare class Variant extends OrganizationConnectionBaseEntity {
|
|
2345
|
+
name: string;
|
|
2346
|
+
variantTitleId: number;
|
|
2347
|
+
variantTitle: VariantTitle;
|
|
2348
|
+
deletedAt?: Date;
|
|
2345
2349
|
}
|
|
2346
2350
|
export declare enum EntitlementTermsTypesEnum {
|
|
2347
2351
|
QUESTION = "question",
|
|
@@ -2367,7 +2371,7 @@ export declare enum ResourceNameTypeEnum {
|
|
|
2367
2371
|
GAMESLOT = "gameslot",
|
|
2368
2372
|
SPACE = "space",
|
|
2369
2373
|
RESERVATION = "reservation",
|
|
2370
|
-
|
|
2374
|
+
INVOICE = "invoice",
|
|
2371
2375
|
CUSTOMER = "customer",
|
|
2372
2376
|
PACKAGE = "package",
|
|
2373
2377
|
FACILITY = "facility",
|
|
@@ -2506,7 +2510,8 @@ export declare enum PaymentStatusEnum {
|
|
|
2506
2510
|
VOID = "void"
|
|
2507
2511
|
}
|
|
2508
2512
|
export declare enum ReservationExtendedEnum {
|
|
2509
|
-
|
|
2513
|
+
PURCHASE_INVOICE = "purchase_invoice",
|
|
2514
|
+
PURCHASE_ORDER_DEPRECATED = "purchase_order"
|
|
2510
2515
|
}
|
|
2511
2516
|
export declare type ReservationPaymentStatusEnum = PaymentStatusEnum | ReservationExtendedEnum;
|
|
2512
2517
|
export declare enum ReservationStatusEnum {
|
|
@@ -2560,7 +2565,7 @@ export declare enum ProductTypesEnum {
|
|
|
2560
2565
|
LEAGUE_REGISTRATION = "league_registration",
|
|
2561
2566
|
TAX = "tax"
|
|
2562
2567
|
}
|
|
2563
|
-
export declare enum
|
|
2568
|
+
export declare enum InvoiceStatusEnum {
|
|
2564
2569
|
ACTIVE = "active",
|
|
2565
2570
|
WAITING_ADMIN = "waitingAdmin",
|
|
2566
2571
|
WAITING_CLIENT = "waitingClient",
|
|
@@ -2908,8 +2913,8 @@ export interface IChildProduct {
|
|
|
2908
2913
|
export interface ISeasonAttendeeInfo {
|
|
2909
2914
|
applicationAnswers: Answer[];
|
|
2910
2915
|
segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
2911
|
-
invoices:
|
|
2912
|
-
payments:
|
|
2916
|
+
invoices: Invoice[];
|
|
2917
|
+
payments: Payment[];
|
|
2913
2918
|
products: Product[];
|
|
2914
2919
|
redeemNext: ProductsUsers;
|
|
2915
2920
|
}
|
|
@@ -2937,10 +2942,10 @@ export declare class EventAsSeasonSegment extends Event {
|
|
|
2937
2942
|
export interface ITokenResonse {
|
|
2938
2943
|
token: string;
|
|
2939
2944
|
}
|
|
2940
|
-
export interface
|
|
2945
|
+
export interface IStripeBondPayments {
|
|
2941
2946
|
paidStripePaymentIntent: Stripe.PaymentIntent;
|
|
2942
|
-
|
|
2943
|
-
|
|
2947
|
+
bondPaidPayment: Payment;
|
|
2948
|
+
invoice?: Invoice;
|
|
2944
2949
|
customer?: Customer;
|
|
2945
2950
|
}
|
|
2946
2951
|
export interface IPartialPaymentData {
|
|
@@ -3012,9 +3017,9 @@ export interface ISingleMemberForRenewal {
|
|
|
3012
3017
|
member_organizationId: number;
|
|
3013
3018
|
line_paidAmount: number;
|
|
3014
3019
|
line_productId: number;
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3020
|
+
invoice_payingUserId: number;
|
|
3021
|
+
invoice_paymentMethodId: string;
|
|
3022
|
+
invoice_paymentType: PaymentMethodTypeEnum;
|
|
3018
3023
|
endDate: Date;
|
|
3019
3024
|
membership_name: string;
|
|
3020
3025
|
user_firstName: string;
|
|
@@ -3025,7 +3030,7 @@ export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
|
|
|
3025
3030
|
package_parentProductId: number;
|
|
3026
3031
|
line2_paidAmount: number;
|
|
3027
3032
|
familyid: number;
|
|
3028
|
-
|
|
3033
|
+
invoice_id: number;
|
|
3029
3034
|
}
|
|
3030
3035
|
export interface IResourceRegistrationData {
|
|
3031
3036
|
id: number;
|
|
@@ -3177,7 +3182,7 @@ export interface ISessionsLandingPage {
|
|
|
3177
3182
|
lateRegistrationStartDate?: Date;
|
|
3178
3183
|
lateRegistrationEndDate?: Date;
|
|
3179
3184
|
attendeeCount?: number;
|
|
3180
|
-
segmentsOrEvents:
|
|
3185
|
+
segmentsOrEvents: "segment" | "event";
|
|
3181
3186
|
}
|
|
3182
3187
|
export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
|
|
3183
3188
|
hasRequiredMembership: boolean;
|
|
@@ -3230,33 +3235,11 @@ export interface IReservationCreatorData {
|
|
|
3230
3235
|
endDate: string;
|
|
3231
3236
|
sportId: number;
|
|
3232
3237
|
}
|
|
3233
|
-
export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
3234
|
-
productType: ProductTypesEnum;
|
|
3235
|
-
name: string;
|
|
3236
|
-
ordinal?: number;
|
|
3237
|
-
deletedAt?: Date;
|
|
3238
|
-
stationToSubcategories: StationToSubcategory[];
|
|
3239
|
-
stations: Station[];
|
|
3240
|
-
}
|
|
3241
3238
|
export declare class ColumnNumericTransformer {
|
|
3242
3239
|
to(data: number): number;
|
|
3243
3240
|
from(data: string): number;
|
|
3244
3241
|
}
|
|
3245
3242
|
export declare function convertToNumber(data: string): number;
|
|
3246
|
-
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3247
|
-
name?: string;
|
|
3248
|
-
genderStr?: string;
|
|
3249
|
-
parentID?: string;
|
|
3250
|
-
partnerID?: string;
|
|
3251
|
-
membershipName?: string;
|
|
3252
|
-
membershipExpDate?: string;
|
|
3253
|
-
membershipCreationDate?: string;
|
|
3254
|
-
bondMembershipID?: number;
|
|
3255
|
-
}
|
|
3256
|
-
export declare class AddFamilyDto {
|
|
3257
|
-
parents: AddImportedCustomerDto[];
|
|
3258
|
-
children: AddImportedCustomerDto[];
|
|
3259
|
-
}
|
|
3260
3243
|
export declare enum ImportPaymentTypeEnum {
|
|
3261
3244
|
CREDIT_CARD = "card",
|
|
3262
3245
|
ACH = "ach",
|
|
@@ -3292,14 +3275,9 @@ export declare class ImportedPaymentDto {
|
|
|
3292
3275
|
date: string;
|
|
3293
3276
|
time: string;
|
|
3294
3277
|
}
|
|
3295
|
-
export declare class
|
|
3296
|
-
|
|
3297
|
-
|
|
3298
|
-
export declare class ProductImportDto {
|
|
3299
|
-
product: Product;
|
|
3300
|
-
prices: Price[];
|
|
3301
|
-
resourceIds: number[];
|
|
3302
|
-
oldId: number;
|
|
3278
|
+
export declare class GameSlots extends BondBaseEntity {
|
|
3279
|
+
entityType: string;
|
|
3280
|
+
entityId: number;
|
|
3303
3281
|
}
|
|
3304
3282
|
export declare class PunchPassDto {
|
|
3305
3283
|
CustomerID: string;
|
|
@@ -3308,61 +3286,6 @@ export declare class PunchPassDto {
|
|
|
3308
3286
|
BondSessionID: number;
|
|
3309
3287
|
ProductID: number;
|
|
3310
3288
|
}
|
|
3311
|
-
export declare class ImportedSlotProductDto {
|
|
3312
|
-
slotID?: string;
|
|
3313
|
-
name?: string;
|
|
3314
|
-
pricingType?: 'Hourly' | 'Flat';
|
|
3315
|
-
appliesTo?: 'slot' | 'addon' | 'reservation';
|
|
3316
|
-
price?: string;
|
|
3317
|
-
minutes?: string;
|
|
3318
|
-
quantity: string;
|
|
3319
|
-
startDate?: string;
|
|
3320
|
-
startTime?: string;
|
|
3321
|
-
endDate?: string;
|
|
3322
|
-
endTime?: string;
|
|
3323
|
-
bondProductId?: number;
|
|
3324
|
-
}
|
|
3325
|
-
export declare class ImportResourceMappingDto {
|
|
3326
|
-
bondResourceID?: string;
|
|
3327
|
-
resourceName?: string;
|
|
3328
|
-
}
|
|
3329
|
-
export declare class ImportProductMappingDto {
|
|
3330
|
-
productID?: string;
|
|
3331
|
-
productName?: string;
|
|
3332
|
-
}
|
|
3333
|
-
export declare class ImportedSlotDto {
|
|
3334
|
-
reservationID: string;
|
|
3335
|
-
bondResourceID: string;
|
|
3336
|
-
resourceName: string;
|
|
3337
|
-
subResourceName: string;
|
|
3338
|
-
startDate: string;
|
|
3339
|
-
startTime: string;
|
|
3340
|
-
endDate: string;
|
|
3341
|
-
endTime: string;
|
|
3342
|
-
sportId?: string;
|
|
3343
|
-
setupDuration: string;
|
|
3344
|
-
setupIncludeInCosts: string;
|
|
3345
|
-
takedownDuration: string;
|
|
3346
|
-
takedownIncludeInCosts: string;
|
|
3347
|
-
slotProduct: ImportedSlotProductDto;
|
|
3348
|
-
addonProducts: ImportedSlotProductDto[];
|
|
3349
|
-
totalPrice: string;
|
|
3350
|
-
}
|
|
3351
|
-
export declare class ImportedReservationDto {
|
|
3352
|
-
name: string;
|
|
3353
|
-
customerId: string;
|
|
3354
|
-
description: string;
|
|
3355
|
-
totalPrice: string;
|
|
3356
|
-
downPayment: string;
|
|
3357
|
-
paid: string;
|
|
3358
|
-
invoiceId: string;
|
|
3359
|
-
slots?: ImportedSlotDto[];
|
|
3360
|
-
addons?: ImportedSlotProductDto[];
|
|
3361
|
-
}
|
|
3362
|
-
export declare class Lock extends BondBaseEntity {
|
|
3363
|
-
name: string;
|
|
3364
|
-
locked?: Date;
|
|
3365
|
-
}
|
|
3366
3289
|
export declare class MatchParticipants extends BondBaseEntity {
|
|
3367
3290
|
matchId: number | null;
|
|
3368
3291
|
ordinal: number | null;
|
|
@@ -3372,37 +3295,32 @@ export declare class MatchParticipants extends BondBaseEntity {
|
|
|
3372
3295
|
score: number | null;
|
|
3373
3296
|
gameSlotId: number | null;
|
|
3374
3297
|
}
|
|
3298
|
+
export declare class ProductIdsDto {
|
|
3299
|
+
productIds?: number[];
|
|
3300
|
+
}
|
|
3301
|
+
export declare class ProductImportDto {
|
|
3302
|
+
product: Product;
|
|
3303
|
+
prices: Price[];
|
|
3304
|
+
resourceIds: number[];
|
|
3305
|
+
oldId: number;
|
|
3306
|
+
}
|
|
3375
3307
|
export declare class Matches extends BondBaseEntity {
|
|
3376
3308
|
eventId: number | null;
|
|
3377
3309
|
status: number | null;
|
|
3378
3310
|
excludeStandings: boolean | null;
|
|
3379
3311
|
}
|
|
3380
|
-
export declare class RoundEvents extends BaseEntity {
|
|
3381
|
-
roundId: number;
|
|
3382
|
-
eventId: number;
|
|
3383
|
-
seriesId: number | null;
|
|
3384
|
-
createdAt: Date;
|
|
3385
|
-
updatedAt: Date;
|
|
3386
|
-
}
|
|
3387
3312
|
export declare class SeasonRounds extends BondBaseEntity {
|
|
3388
3313
|
seasonId: number;
|
|
3389
3314
|
ordinal?: number;
|
|
3390
3315
|
divisionId?: number;
|
|
3391
3316
|
name: string;
|
|
3392
3317
|
}
|
|
3393
|
-
export declare class
|
|
3394
|
-
|
|
3395
|
-
eventId: number
|
|
3396
|
-
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
valid: boolean;
|
|
3400
|
-
month?: number;
|
|
3401
|
-
day?: number;
|
|
3402
|
-
}
|
|
3403
|
-
export interface ValidationReason {
|
|
3404
|
-
valid: boolean;
|
|
3405
|
-
reason?: string;
|
|
3318
|
+
export declare class RoundEvents extends BaseEntity {
|
|
3319
|
+
roundId: number;
|
|
3320
|
+
eventId: number;
|
|
3321
|
+
seriesId: number | null;
|
|
3322
|
+
createdAt: Date;
|
|
3323
|
+
updatedAt: Date;
|
|
3406
3324
|
}
|
|
3407
3325
|
export interface PaymentStatus {
|
|
3408
3326
|
parentId: number;
|
|
@@ -3416,27 +3334,21 @@ export interface PaymentStatusesDict {
|
|
|
3416
3334
|
export interface PaymentStatusDict {
|
|
3417
3335
|
[id: number]: ReservationPaymentStatusEnum;
|
|
3418
3336
|
}
|
|
3419
|
-
export declare class GameSlots extends BondBaseEntity {
|
|
3420
|
-
entityType: string;
|
|
3421
|
-
entityId: number;
|
|
3422
|
-
}
|
|
3423
|
-
export declare class CreateMonitorConfigDto {
|
|
3424
|
-
facilityId: number;
|
|
3425
|
-
name: string;
|
|
3426
|
-
code: string;
|
|
3427
|
-
config: any;
|
|
3428
|
-
}
|
|
3429
|
-
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3430
|
-
facilityId: number;
|
|
3431
|
-
code: string;
|
|
3432
|
-
config?: any;
|
|
3433
|
-
}
|
|
3434
3337
|
export declare class ByOrganizationIdDto {
|
|
3435
3338
|
organizationId: number;
|
|
3436
3339
|
}
|
|
3437
3340
|
export declare class OptionalFindByOrganizationIdDto {
|
|
3438
3341
|
organizationId?: number;
|
|
3439
3342
|
}
|
|
3343
|
+
export interface ValidatedMonthAndDay {
|
|
3344
|
+
valid: boolean;
|
|
3345
|
+
month?: number;
|
|
3346
|
+
day?: number;
|
|
3347
|
+
}
|
|
3348
|
+
export interface ValidationReason {
|
|
3349
|
+
valid: boolean;
|
|
3350
|
+
reason?: string;
|
|
3351
|
+
}
|
|
3440
3352
|
export declare class Organization extends BondBaseEntity {
|
|
3441
3353
|
name: string | null;
|
|
3442
3354
|
email: string | null;
|
|
@@ -3486,49 +3398,134 @@ export declare class Organization extends BondBaseEntity {
|
|
|
3486
3398
|
brandings: OrganizationBranding[];
|
|
3487
3399
|
brandingsV2?: OrganizationBranding[];
|
|
3488
3400
|
}
|
|
3401
|
+
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3402
|
+
name?: string;
|
|
3403
|
+
genderStr?: string;
|
|
3404
|
+
parentID?: string;
|
|
3405
|
+
partnerID?: string;
|
|
3406
|
+
membershipName?: string;
|
|
3407
|
+
membershipExpDate?: string;
|
|
3408
|
+
membershipCreationDate?: string;
|
|
3409
|
+
bondMembershipID?: number;
|
|
3410
|
+
}
|
|
3411
|
+
export declare class AddFamilyDto {
|
|
3412
|
+
parents: AddImportedCustomerDto[];
|
|
3413
|
+
children: AddImportedCustomerDto[];
|
|
3414
|
+
}
|
|
3415
|
+
export declare class TeamEvents extends BondBaseEntity {
|
|
3416
|
+
teamId: number | null;
|
|
3417
|
+
eventId: number | null;
|
|
3418
|
+
status: number | null;
|
|
3419
|
+
}
|
|
3420
|
+
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3421
|
+
mainAdminUserId?: number;
|
|
3422
|
+
}
|
|
3489
3423
|
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3490
3424
|
key?: string;
|
|
3491
3425
|
vaule?: string;
|
|
3492
3426
|
version: number;
|
|
3493
3427
|
organization: Organization;
|
|
3494
3428
|
}
|
|
3495
|
-
export declare class
|
|
3496
|
-
|
|
3429
|
+
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3430
|
+
facilityId: number;
|
|
3431
|
+
code: string;
|
|
3432
|
+
config?: any;
|
|
3433
|
+
}
|
|
3434
|
+
export declare class CreateMonitorConfigDto {
|
|
3435
|
+
facilityId: number;
|
|
3436
|
+
name: string;
|
|
3437
|
+
code: string;
|
|
3438
|
+
config: any;
|
|
3497
3439
|
}
|
|
3498
3440
|
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3499
3441
|
organisationId: number | null;
|
|
3500
3442
|
userId: number | null;
|
|
3501
3443
|
}
|
|
3502
|
-
export declare class
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
export declare class PaymentIdDto {
|
|
3506
|
-
paymentId: number;
|
|
3507
|
-
}
|
|
3508
|
-
export declare class InvoiceIdDto {
|
|
3509
|
-
invoiceId: number;
|
|
3510
|
-
}
|
|
3511
|
-
export declare class ByOrganizationIdAndInvoiceIdDto extends ByOrganizationIdDto {
|
|
3512
|
-
invoiceId: number;
|
|
3444
|
+
export declare class VoidDto {
|
|
3445
|
+
lineItems: VoidLineItemDto[];
|
|
3446
|
+
meta?: RevertMetaDto;
|
|
3513
3447
|
}
|
|
3514
|
-
export declare class
|
|
3515
|
-
|
|
3448
|
+
export declare class VoidLineItemDto {
|
|
3449
|
+
id: number;
|
|
3450
|
+
quantity?: number;
|
|
3451
|
+
isEdit?: boolean;
|
|
3452
|
+
amount?: number;
|
|
3516
3453
|
}
|
|
3517
|
-
export declare class
|
|
3518
|
-
|
|
3454
|
+
export declare class ImportedSlotProductDto {
|
|
3455
|
+
slotID?: string;
|
|
3456
|
+
name?: string;
|
|
3457
|
+
pricingType?: "Hourly" | "Flat";
|
|
3458
|
+
appliesTo?: "slot" | "addon" | "reservation";
|
|
3459
|
+
price?: string;
|
|
3460
|
+
minutes?: string;
|
|
3461
|
+
quantity: string;
|
|
3462
|
+
startDate?: string;
|
|
3463
|
+
startTime?: string;
|
|
3464
|
+
endDate?: string;
|
|
3465
|
+
endTime?: string;
|
|
3466
|
+
bondProductId?: number;
|
|
3519
3467
|
}
|
|
3520
|
-
export declare class
|
|
3521
|
-
|
|
3522
|
-
|
|
3468
|
+
export declare class ImportResourceMappingDto {
|
|
3469
|
+
bondResourceID?: string;
|
|
3470
|
+
resourceName?: string;
|
|
3523
3471
|
}
|
|
3524
|
-
export declare class
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
entitlementGroupId: number;
|
|
3528
|
-
description?: string;
|
|
3472
|
+
export declare class ImportProductMappingDto {
|
|
3473
|
+
productID?: string;
|
|
3474
|
+
productName?: string;
|
|
3529
3475
|
}
|
|
3530
|
-
export declare class
|
|
3531
|
-
|
|
3476
|
+
export declare class ImportedSlotDto {
|
|
3477
|
+
reservationID: string;
|
|
3478
|
+
bondResourceID: string;
|
|
3479
|
+
resourceName: string;
|
|
3480
|
+
subResourceName: string;
|
|
3481
|
+
startDate: string;
|
|
3482
|
+
startTime: string;
|
|
3483
|
+
endDate: string;
|
|
3484
|
+
endTime: string;
|
|
3485
|
+
sportId?: string;
|
|
3486
|
+
setupDuration: string;
|
|
3487
|
+
setupIncludeInCosts: string;
|
|
3488
|
+
takedownDuration: string;
|
|
3489
|
+
takedownIncludeInCosts: string;
|
|
3490
|
+
slotProduct: ImportedSlotProductDto;
|
|
3491
|
+
addonProducts: ImportedSlotProductDto[];
|
|
3492
|
+
totalPrice: string;
|
|
3493
|
+
}
|
|
3494
|
+
export declare class ImportedReservationDto {
|
|
3495
|
+
name: string;
|
|
3496
|
+
customerId: string;
|
|
3497
|
+
description: string;
|
|
3498
|
+
totalPrice: string;
|
|
3499
|
+
downPayment: string;
|
|
3500
|
+
paid: string;
|
|
3501
|
+
invoiceId: string;
|
|
3502
|
+
slots?: ImportedSlotDto[];
|
|
3503
|
+
addons?: ImportedSlotProductDto[];
|
|
3504
|
+
}
|
|
3505
|
+
export interface PaymentResult {
|
|
3506
|
+
paymentMethodId: string;
|
|
3507
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
3508
|
+
amount: number;
|
|
3509
|
+
receiptId?: number;
|
|
3510
|
+
paymentMethod4Digits?: string;
|
|
3511
|
+
errorMessage?: string;
|
|
3512
|
+
wasSuccessful: boolean;
|
|
3513
|
+
}
|
|
3514
|
+
export interface PaymentsResults {
|
|
3515
|
+
success: PaymentResult[];
|
|
3516
|
+
failed: PaymentResult[];
|
|
3517
|
+
}
|
|
3518
|
+
export interface InvoicePaymentSum {
|
|
3519
|
+
priceSum: number;
|
|
3520
|
+
paidSum: number;
|
|
3521
|
+
}
|
|
3522
|
+
export interface ExtendedLineItems {
|
|
3523
|
+
memberships: LineItems[];
|
|
3524
|
+
programs: LineItems[];
|
|
3525
|
+
leagues: LineItems[];
|
|
3526
|
+
rentals: LineItems[];
|
|
3527
|
+
products: LineItems[];
|
|
3528
|
+
events: LineItems[];
|
|
3532
3529
|
}
|
|
3533
3530
|
export declare class ByPaymentFilter extends PaginationQuery {
|
|
3534
3531
|
paymentType?: string;
|
|
@@ -3536,6 +3533,103 @@ export declare class ByPaymentFilter extends PaginationQuery {
|
|
|
3536
3533
|
}
|
|
3537
3534
|
export declare class FindPayments extends ByPaymentFilter {
|
|
3538
3535
|
}
|
|
3536
|
+
export declare class FindInvoices extends ByPaymentFilter {
|
|
3537
|
+
id?: number;
|
|
3538
|
+
months?: string;
|
|
3539
|
+
}
|
|
3540
|
+
export declare class Lock extends BondBaseEntity {
|
|
3541
|
+
name: string;
|
|
3542
|
+
locked?: Date;
|
|
3543
|
+
}
|
|
3544
|
+
export declare class RefundDto {
|
|
3545
|
+
invoiceId: number;
|
|
3546
|
+
lineItems: RefundLineItemAmountDto[];
|
|
3547
|
+
refundLineItemAmountDict?: {
|
|
3548
|
+
[id: number]: number;
|
|
3549
|
+
};
|
|
3550
|
+
refunds: PaymentMethodDto[];
|
|
3551
|
+
refundType: RefundTypeEnum;
|
|
3552
|
+
reasonId: number;
|
|
3553
|
+
note?: string;
|
|
3554
|
+
shiftId?: number;
|
|
3555
|
+
meta?: RevertMetaDto;
|
|
3556
|
+
}
|
|
3557
|
+
export declare class PaymentMethodDto {
|
|
3558
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
3559
|
+
amount: number;
|
|
3560
|
+
paymentMethodId?: string;
|
|
3561
|
+
}
|
|
3562
|
+
export declare class RefundLineItemAmountDto {
|
|
3563
|
+
id: number;
|
|
3564
|
+
refundAmount: number;
|
|
3565
|
+
}
|
|
3566
|
+
export declare class Reservation extends OrganizationConnectionBaseEntity {
|
|
3567
|
+
name?: string;
|
|
3568
|
+
description?: string;
|
|
3569
|
+
approvalStatus?: ReservationStatusEnum;
|
|
3570
|
+
privacySetting?: string;
|
|
3571
|
+
reservationType?: ReservationTypeEnum;
|
|
3572
|
+
invoiceId?: string;
|
|
3573
|
+
customerId?: number;
|
|
3574
|
+
customer?: Customer;
|
|
3575
|
+
price?: number;
|
|
3576
|
+
paymentStatus?: ReservationPaymentStatusEnum;
|
|
3577
|
+
startTime?: string;
|
|
3578
|
+
startDate?: Date;
|
|
3579
|
+
endDate?: Date;
|
|
3580
|
+
creatorId?: number;
|
|
3581
|
+
creatorType?: ResourceNameTypeEnum;
|
|
3582
|
+
userCreatorId?: number;
|
|
3583
|
+
sportType?: number;
|
|
3584
|
+
deletedAt?: Date;
|
|
3585
|
+
publicNotes?: string;
|
|
3586
|
+
privateNotes?: string;
|
|
3587
|
+
forms?: number[] | null;
|
|
3588
|
+
answerTitleIds?: number[] | null;
|
|
3589
|
+
segments?: Segment[];
|
|
3590
|
+
addonsProductUserIds?: number[] | null;
|
|
3591
|
+
migrationStatus?: string;
|
|
3592
|
+
addonsMetadata: {
|
|
3593
|
+
productId: number;
|
|
3594
|
+
price?: number;
|
|
3595
|
+
quantity: number;
|
|
3596
|
+
}[];
|
|
3597
|
+
addons: Addon[];
|
|
3598
|
+
overrideProductsPrice: {
|
|
3599
|
+
productId: number;
|
|
3600
|
+
price: number;
|
|
3601
|
+
}[];
|
|
3602
|
+
targetGlobalPrice?: number;
|
|
3603
|
+
slots: Slot[];
|
|
3604
|
+
}
|
|
3605
|
+
export declare class CustomerIdDto {
|
|
3606
|
+
customerId: number;
|
|
3607
|
+
}
|
|
3608
|
+
export declare class PaymentIdDto {
|
|
3609
|
+
paymentId: number;
|
|
3610
|
+
}
|
|
3611
|
+
export declare class ByOrganizationIdAndInvoiceIdDto extends ByOrganizationIdDto {
|
|
3612
|
+
invoiceId: number;
|
|
3613
|
+
}
|
|
3614
|
+
export declare class GetInvoicesQueryDto {
|
|
3615
|
+
extended?: boolean;
|
|
3616
|
+
}
|
|
3617
|
+
export declare class GetPaymentsQueryDto {
|
|
3618
|
+
extended?: boolean;
|
|
3619
|
+
}
|
|
3620
|
+
export declare class PaymentViaInvoiceHashDto {
|
|
3621
|
+
customerId: number;
|
|
3622
|
+
invoiceHash: string;
|
|
3623
|
+
}
|
|
3624
|
+
export declare class DiscountDto {
|
|
3625
|
+
lineItemId: number;
|
|
3626
|
+
price: number;
|
|
3627
|
+
entitlementGroupId: number;
|
|
3628
|
+
description?: string;
|
|
3629
|
+
}
|
|
3630
|
+
export declare class LineItemIdDto {
|
|
3631
|
+
lineItemId: number;
|
|
3632
|
+
}
|
|
3539
3633
|
export declare class BasicInstallmentDataDto extends ByOrganizationIdAndInvoiceIdDto {
|
|
3540
3634
|
userId: number;
|
|
3541
3635
|
}
|
|
@@ -3571,7 +3665,7 @@ export declare class PaymentDataDto {
|
|
|
3571
3665
|
}
|
|
3572
3666
|
export declare class SendReceiptDataDto {
|
|
3573
3667
|
invoiceId: number;
|
|
3574
|
-
deliveryMethod:
|
|
3668
|
+
deliveryMethod: "email" | "sms";
|
|
3575
3669
|
sendToAddress?: string;
|
|
3576
3670
|
}
|
|
3577
3671
|
export declare class PaymentPlanSchduleDto {
|
|
@@ -3586,8 +3680,8 @@ export declare class PaymentPlanDto {
|
|
|
3586
3680
|
export declare class CalcPaymentPlanDto extends PaymentPlanDto {
|
|
3587
3681
|
amountToSplit: number;
|
|
3588
3682
|
}
|
|
3589
|
-
export declare class
|
|
3590
|
-
|
|
3683
|
+
export declare class AddToInvoiceDto {
|
|
3684
|
+
invoiceId: number;
|
|
3591
3685
|
userId: number;
|
|
3592
3686
|
productsToAdd: PurchaseProductDto[];
|
|
3593
3687
|
resourcesToRemove: PurchaseProductDto[];
|
|
@@ -3611,85 +3705,95 @@ export declare class RemoveResourceDto {
|
|
|
3611
3705
|
lineItemId: number;
|
|
3612
3706
|
}
|
|
3613
3707
|
export declare class SendRequestDto {
|
|
3614
|
-
|
|
3708
|
+
invoiceId: number;
|
|
3615
3709
|
userId: number;
|
|
3616
3710
|
sendToEmail: string;
|
|
3617
3711
|
memo?: string;
|
|
3618
3712
|
}
|
|
3619
|
-
export declare class
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
|
|
3630
|
-
|
|
3631
|
-
|
|
3632
|
-
export declare class PaymentMethodDto {
|
|
3633
|
-
paymentMethodType: PaymentMethodTypeEnum;
|
|
3634
|
-
amount: number;
|
|
3635
|
-
paymentMethodId?: string;
|
|
3636
|
-
}
|
|
3637
|
-
export declare class RefundLineItemAmountDto {
|
|
3638
|
-
id: number;
|
|
3639
|
-
refundAmount: number;
|
|
3640
|
-
}
|
|
3641
|
-
export declare class VoidDto {
|
|
3642
|
-
lineItems: VoidLineItemDto[];
|
|
3643
|
-
meta?: RevertMetaDto;
|
|
3713
|
+
export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
3714
|
+
deletedAt?: Date;
|
|
3715
|
+
reservationId: number;
|
|
3716
|
+
title: string;
|
|
3717
|
+
isPrivate: boolean;
|
|
3718
|
+
resourceIds?: number[];
|
|
3719
|
+
sportId: number;
|
|
3720
|
+
reservation?: Reservation;
|
|
3721
|
+
series?: Series[];
|
|
3722
|
+
addonIds?: number[] | null;
|
|
3723
|
+
publicNotesForSlots?: string;
|
|
3724
|
+
privateNotesForSlots?: string;
|
|
3725
|
+
slots?: Slot[];
|
|
3644
3726
|
}
|
|
3645
|
-
export declare class
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
|
|
3651
|
-
|
|
3652
|
-
|
|
3653
|
-
|
|
3654
|
-
|
|
3655
|
-
|
|
3656
|
-
|
|
3657
|
-
|
|
3658
|
-
|
|
3659
|
-
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
3663
|
-
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3727
|
+
export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
3728
|
+
constructor();
|
|
3729
|
+
defineIsReverted(): void;
|
|
3730
|
+
isReverted: boolean;
|
|
3731
|
+
reservationId: number;
|
|
3732
|
+
reservation: Reservation;
|
|
3733
|
+
title?: string;
|
|
3734
|
+
creatorId?: number;
|
|
3735
|
+
creatorType?: string;
|
|
3736
|
+
userCreatorId?: number;
|
|
3737
|
+
startDate: Date;
|
|
3738
|
+
endDate: Date;
|
|
3739
|
+
startTime: string;
|
|
3740
|
+
endTime: string;
|
|
3741
|
+
timezone?: string;
|
|
3742
|
+
spaceId?: number;
|
|
3743
|
+
resource?: Resource;
|
|
3744
|
+
deletedAt?: Date;
|
|
3745
|
+
publicNotes?: string;
|
|
3746
|
+
privateNotes?: string;
|
|
3747
|
+
slotType: SlotTypeEnum;
|
|
3748
|
+
productsUserId?: number;
|
|
3749
|
+
productUser?: ProductsUsers;
|
|
3750
|
+
product?: Product;
|
|
3751
|
+
addonsProductUserIds?: number[] | null;
|
|
3752
|
+
addonsProductUsers?: ProductsUsers[];
|
|
3753
|
+
addonProducts?: Product[];
|
|
3754
|
+
addonsMetadata: {
|
|
3755
|
+
productId: number;
|
|
3756
|
+
quantity: number;
|
|
3757
|
+
unitPrice: number;
|
|
3758
|
+
totalPrice: number;
|
|
3759
|
+
}[];
|
|
3760
|
+
segmentId: number;
|
|
3761
|
+
segment: Segment;
|
|
3762
|
+
eventId: number;
|
|
3763
|
+
event: Event;
|
|
3764
|
+
sportIds: number[];
|
|
3765
|
+
parentSlotId?: number;
|
|
3766
|
+
maintenanceDurationdurationType: string;
|
|
3767
|
+
maintenanceTiming: number;
|
|
3768
|
+
durationValue: number;
|
|
3769
|
+
seriesId?: number;
|
|
3770
|
+
series?: Series;
|
|
3771
|
+
invoiceId?: number;
|
|
3772
|
+
invoice?: Invoice;
|
|
3773
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
3774
|
+
approvalStatus?: ReservationStatusEnum;
|
|
3775
|
+
displayName?: string;
|
|
3776
|
+
internalName?: string;
|
|
3777
|
+
activityTypes?: number[] | null;
|
|
3778
|
+
hourlyRate: number;
|
|
3779
|
+
totalPrice: number;
|
|
3780
|
+
isConsumerVisible: boolean;
|
|
3781
|
+
isMonitorVisible: boolean;
|
|
3782
|
+
isPrivate: boolean;
|
|
3783
|
+
occurrence?: number;
|
|
3784
|
+
maintenance?: Slot[];
|
|
3785
|
+
productMetadata: {
|
|
3786
|
+
productId: number;
|
|
3787
|
+
price: number;
|
|
3788
|
+
};
|
|
3789
|
+
slotDurationType: string;
|
|
3790
|
+
changeLineItemIds?: number[];
|
|
3791
|
+
changeLineItems?: LineItems[];
|
|
3792
|
+
updatedLineItem?: LineItems;
|
|
3689
3793
|
}
|
|
3690
3794
|
export declare class LineItemDto {
|
|
3691
3795
|
id?: number;
|
|
3692
|
-
|
|
3796
|
+
invoiceId?: number;
|
|
3693
3797
|
type: LineItemsStatusEnum;
|
|
3694
3798
|
organizationId: number;
|
|
3695
3799
|
userId?: number;
|
|
@@ -3708,26 +3812,11 @@ export declare class LineItemDto {
|
|
|
3708
3812
|
unitPrice?: number;
|
|
3709
3813
|
quantity: number;
|
|
3710
3814
|
resources?: PurchasedResourceDto[];
|
|
3711
|
-
relationType?:
|
|
3815
|
+
relationType?: "reservation-addon" | "slots" | "slot_addons";
|
|
3712
3816
|
unitPriceWithTax?: number;
|
|
3713
3817
|
unitTaxPrice?: number;
|
|
3714
3818
|
parentOrdinal?: number;
|
|
3715
3819
|
}
|
|
3716
|
-
export declare class MaintenanceDto {
|
|
3717
|
-
id?: number;
|
|
3718
|
-
title: string;
|
|
3719
|
-
durationValue: number;
|
|
3720
|
-
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3721
|
-
maintenanceTiming: MaintenanceTimingEnum;
|
|
3722
|
-
}
|
|
3723
|
-
export declare class PurchasedResourceDto {
|
|
3724
|
-
resourceId?: number;
|
|
3725
|
-
resourceType: ResourceNameTypeEnum;
|
|
3726
|
-
startDate?: string;
|
|
3727
|
-
startTime?: string;
|
|
3728
|
-
endDate?: string;
|
|
3729
|
-
endTime?: string;
|
|
3730
|
-
}
|
|
3731
3820
|
export declare class ReservationDto {
|
|
3732
3821
|
id?: number;
|
|
3733
3822
|
organizationId?: number;
|
|
@@ -3738,7 +3827,7 @@ export declare class ReservationDto {
|
|
|
3738
3827
|
description?: string;
|
|
3739
3828
|
status?: ReservationStatusEnum;
|
|
3740
3829
|
privacySetting?: string;
|
|
3741
|
-
|
|
3830
|
+
invoiceId?: string;
|
|
3742
3831
|
price?: number;
|
|
3743
3832
|
paymentStatus?: ReservationPaymentStatusEnum;
|
|
3744
3833
|
creatorId?: number;
|
|
@@ -3797,7 +3886,7 @@ export declare class BookingData {
|
|
|
3797
3886
|
}
|
|
3798
3887
|
export declare class BookingDto extends BookingData {
|
|
3799
3888
|
reservation: ReservationDto;
|
|
3800
|
-
|
|
3889
|
+
invoiceId?: number;
|
|
3801
3890
|
}
|
|
3802
3891
|
export declare class FindReservationsByOrganizationIdFiltersDto extends PaginationQuery {
|
|
3803
3892
|
resourcesIds?: string;
|
|
@@ -3848,13 +3937,13 @@ export declare class AddSlotToSegmenResultDto {
|
|
|
3848
3937
|
export declare class UpdateSlotsDto {
|
|
3849
3938
|
slots: SlotDto[];
|
|
3850
3939
|
}
|
|
3851
|
-
export declare class
|
|
3940
|
+
export declare class EditSlotsRefundMetaDto {
|
|
3852
3941
|
lineItems: RefundLineItemAmountDto[];
|
|
3853
3942
|
paymentMethods: PaymentMethodDto[];
|
|
3854
3943
|
reasonId: number;
|
|
3855
3944
|
}
|
|
3856
3945
|
export declare class EditSlotsDto extends UpdateSlotsDto {
|
|
3857
|
-
refundMeta?:
|
|
3946
|
+
refundMeta?: EditSlotsRefundMetaDto;
|
|
3858
3947
|
}
|
|
3859
3948
|
export declare class EditReservationDetailsDto {
|
|
3860
3949
|
name: string;
|
|
@@ -3867,314 +3956,82 @@ export declare class ValidateEditSlotsDto extends UpdateSlotsDto {
|
|
|
3867
3956
|
export declare class AddAddonsDto {
|
|
3868
3957
|
addons: ProductPricesDto[];
|
|
3869
3958
|
}
|
|
3870
|
-
export declare class
|
|
3871
|
-
|
|
3872
|
-
|
|
3873
|
-
|
|
3874
|
-
|
|
3875
|
-
|
|
3876
|
-
|
|
3877
|
-
|
|
3878
|
-
|
|
3879
|
-
|
|
3880
|
-
|
|
3881
|
-
|
|
3882
|
-
id?: number;
|
|
3883
|
-
title: string;
|
|
3884
|
-
isPrivate: boolean;
|
|
3885
|
-
resourceIds: number[];
|
|
3886
|
-
sportId?: number;
|
|
3887
|
-
series: SeriesDto[];
|
|
3888
|
-
addonIds?: number[];
|
|
3889
|
-
publicNotesForSlots?: string;
|
|
3890
|
-
privateNotesForSlots?: string;
|
|
3891
|
-
}
|
|
3892
|
-
export declare class SeriesDto {
|
|
3893
|
-
id?: number;
|
|
3894
|
-
startDate: string;
|
|
3895
|
-
startTime?: string;
|
|
3896
|
-
endDate?: string;
|
|
3897
|
-
endTime?: string;
|
|
3898
|
-
slotDurationType: SlotDurationTypeEnum;
|
|
3899
|
-
durationEndsAfter?: number;
|
|
3900
|
-
durationUnit?: DurationUnitTypesEnum;
|
|
3901
|
-
frequency: FrequencyEnum;
|
|
3902
|
-
repeatEvery?: number;
|
|
3903
|
-
repeatOn?: number[];
|
|
3904
|
-
repeatEndDate?: string;
|
|
3905
|
-
numberOccurrences?: number;
|
|
3906
|
-
maintenance?: MaintenanceDto[];
|
|
3907
|
-
slots?: SlotDto[];
|
|
3959
|
+
export declare class InvoiceDto {
|
|
3960
|
+
invoiceId?: string | null;
|
|
3961
|
+
organizationId: number;
|
|
3962
|
+
price: number | null;
|
|
3963
|
+
totalTax?: number;
|
|
3964
|
+
totalWithoutTax?: number;
|
|
3965
|
+
status?: InvoiceStatusEnum;
|
|
3966
|
+
lineItems: LineItemDto[];
|
|
3967
|
+
paymentStatus?: PaymentStatusEnum;
|
|
3968
|
+
currency: CurrencyEnum;
|
|
3969
|
+
creatingUserId?: number;
|
|
3970
|
+
platform?: PlatformsEnum;
|
|
3908
3971
|
}
|
|
3909
|
-
declare class
|
|
3910
|
-
|
|
3911
|
-
|
|
3972
|
+
export declare class BaseInvoiceDto {
|
|
3973
|
+
platform: PlatformsEnum;
|
|
3974
|
+
shiftId?: number;
|
|
3912
3975
|
}
|
|
3913
|
-
export declare class
|
|
3914
|
-
|
|
3915
|
-
|
|
3916
|
-
timezone: string;
|
|
3917
|
-
spaceId: number;
|
|
3976
|
+
export declare class InvoiceSlotsDto extends BaseInvoiceDto {
|
|
3977
|
+
purchasingUserId: number;
|
|
3978
|
+
slots: number[];
|
|
3918
3979
|
}
|
|
3919
|
-
declare class
|
|
3920
|
-
|
|
3921
|
-
resourcePackageAmount: number;
|
|
3922
|
-
resourcePackagePrice: number;
|
|
3980
|
+
export declare class SaveSlotToSegmenResultDto extends AddSlotToSegmenResultDto {
|
|
3981
|
+
reservationTotalPrice: number;
|
|
3923
3982
|
}
|
|
3924
|
-
export declare class
|
|
3925
|
-
|
|
3926
|
-
|
|
3927
|
-
dayOfWeek: number;
|
|
3928
|
-
startTime: string;
|
|
3929
|
-
description: string;
|
|
3930
|
-
sport: number;
|
|
3931
|
-
price: number;
|
|
3932
|
-
resourcePackageId: number;
|
|
3933
|
-
resourcePackageAmount: number;
|
|
3934
|
-
bookedSessions: BookedSessionDto[];
|
|
3935
|
-
addons: AddonDto[];
|
|
3983
|
+
export declare class UpdateInvoiceOptionsDto {
|
|
3984
|
+
basicInfoData?: BaseInvoiceDto;
|
|
3985
|
+
addToInvoiceId?: number;
|
|
3936
3986
|
}
|
|
3937
|
-
export declare class
|
|
3938
|
-
|
|
3939
|
-
reservations: ReservationV1Dto[];
|
|
3940
|
-
answers: AnswerDto[];
|
|
3941
|
-
paymentData: PurchasePaymentDto;
|
|
3942
|
-
skipPayment: boolean;
|
|
3943
|
-
cashPayment: boolean;
|
|
3944
|
-
requestOnly: boolean;
|
|
3987
|
+
export declare class UpdateInvoiceDto extends UpdateInvoiceOptionsDto {
|
|
3988
|
+
isInvoiced: boolean;
|
|
3945
3989
|
}
|
|
3946
|
-
export declare class
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
productId: number;
|
|
3950
|
-
product?: Product;
|
|
3951
|
-
quantity: number;
|
|
3952
|
-
unitPrice: number;
|
|
3953
|
-
totalPrice: number;
|
|
3954
|
-
approvalStatus: ReservationStatusEnum;
|
|
3955
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
3956
|
-
level?: ProductPackageLevelEnum;
|
|
3957
|
-
resourceId?: number;
|
|
3958
|
-
resource?: Resource;
|
|
3959
|
-
orderId?: number;
|
|
3960
|
-
order?: Order;
|
|
3961
|
-
productUserId?: number;
|
|
3962
|
-
productUser?: ProductsUsers;
|
|
3990
|
+
export declare class InvoiceReservationItemsDto extends UpdateInvoiceOptionsDto {
|
|
3991
|
+
slotsIds?: number[];
|
|
3992
|
+
addonsIds?: number[];
|
|
3963
3993
|
}
|
|
3964
|
-
export declare class
|
|
3965
|
-
|
|
3966
|
-
reservationId: number;
|
|
3967
|
-
invoiceId: number;
|
|
3968
|
-
slotId: number;
|
|
3994
|
+
export declare class AddSlotsDto extends UpdateInvoiceDto {
|
|
3995
|
+
slots: SlotDto[];
|
|
3969
3996
|
}
|
|
3970
|
-
export declare class
|
|
3971
|
-
|
|
3972
|
-
startTime?: string;
|
|
3973
|
-
endDate?: string;
|
|
3974
|
-
endTime?: string;
|
|
3975
|
-
spaceId: number;
|
|
3997
|
+
export declare class AddSegmentsDto extends UpdateInvoiceDto {
|
|
3998
|
+
segments: SegmentDto[];
|
|
3976
3999
|
}
|
|
3977
|
-
export declare class
|
|
4000
|
+
export declare class MaintenanceDto {
|
|
3978
4001
|
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
|
-
orderId?: 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 Reservation extends OrganizationConnectionBaseEntity {
|
|
4034
|
-
name?: string;
|
|
4035
|
-
description?: string;
|
|
4036
|
-
approvalStatus?: ReservationStatusEnum;
|
|
4037
|
-
privacySetting?: string;
|
|
4038
|
-
reservationType?: ReservationTypeEnum;
|
|
4039
|
-
orderId?: string;
|
|
4040
|
-
customerId?: number;
|
|
4041
|
-
customer?: Customer;
|
|
4042
|
-
price?: number;
|
|
4043
|
-
paymentStatus?: ReservationPaymentStatusEnum;
|
|
4044
|
-
startTime?: string;
|
|
4045
|
-
startDate?: Date;
|
|
4046
|
-
endDate?: Date;
|
|
4047
|
-
creatorId?: number;
|
|
4048
|
-
creatorType?: ResourceNameTypeEnum;
|
|
4049
|
-
userCreatorId?: number;
|
|
4050
|
-
sportType?: number;
|
|
4051
|
-
deletedAt?: Date;
|
|
4052
|
-
publicNotes?: string;
|
|
4053
|
-
privateNotes?: string;
|
|
4054
|
-
forms?: number[] | null;
|
|
4055
|
-
answerTitleIds?: number[] | null;
|
|
4056
|
-
segments?: Segment[];
|
|
4057
|
-
migrationStatus?: string;
|
|
4058
|
-
addons: Addon[];
|
|
4059
|
-
overrideProductsPrice: {
|
|
4060
|
-
productId: number;
|
|
4061
|
-
price: number;
|
|
4062
|
-
}[];
|
|
4063
|
-
targetGlobalPrice?: number;
|
|
4064
|
-
slots: Slot[];
|
|
4065
|
-
}
|
|
4066
|
-
export declare class Segment extends OrganizationConnectionBaseEntity {
|
|
4067
|
-
deletedAt?: Date;
|
|
4068
|
-
reservationId: number;
|
|
4069
4002
|
title: string;
|
|
4070
|
-
|
|
4071
|
-
|
|
4072
|
-
|
|
4073
|
-
reservation?: Reservation;
|
|
4074
|
-
series?: Series[];
|
|
4075
|
-
addonIds?: number[] | null;
|
|
4076
|
-
publicNotesForSlots?: string;
|
|
4077
|
-
privateNotesForSlots?: string;
|
|
4078
|
-
slots?: Slot[];
|
|
4003
|
+
durationValue: number;
|
|
4004
|
+
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
4005
|
+
maintenanceTiming: MaintenanceTimingEnum;
|
|
4079
4006
|
}
|
|
4080
|
-
export
|
|
4081
|
-
|
|
4082
|
-
|
|
4083
|
-
|
|
4084
|
-
slots?: Slot[];
|
|
4085
|
-
slotDurationType: string;
|
|
4086
|
-
durationEndsAfter: number;
|
|
4087
|
-
durationUnit: string;
|
|
4088
|
-
startDate?: Date;
|
|
4089
|
-
endDate?: Date;
|
|
4090
|
-
startTime: string;
|
|
4091
|
-
endTime: string;
|
|
4092
|
-
frequency: string;
|
|
4093
|
-
repeatEvery: number;
|
|
4094
|
-
repeatOn?: number[];
|
|
4095
|
-
repeatEndDate?: Date;
|
|
4096
|
-
numberOccurrences?: number;
|
|
4097
|
-
resources?: Resource[];
|
|
4007
|
+
export interface RefundResult extends PaymentsResults {
|
|
4008
|
+
successfulLineItems: RefundLineItemAmountDto[];
|
|
4009
|
+
failedLineItems: RefundLineItemAmountDto[];
|
|
4010
|
+
invoice?: Invoice;
|
|
4098
4011
|
}
|
|
4099
|
-
export
|
|
4100
|
-
|
|
4101
|
-
|
|
4102
|
-
|
|
4103
|
-
reservationId: number;
|
|
4104
|
-
reservation: Reservation;
|
|
4105
|
-
title?: string;
|
|
4106
|
-
creatorId?: number;
|
|
4107
|
-
creatorType?: string;
|
|
4108
|
-
userCreatorId?: number;
|
|
4109
|
-
startDate: Date;
|
|
4110
|
-
endDate: Date;
|
|
4111
|
-
startTime: string;
|
|
4112
|
-
endTime: string;
|
|
4113
|
-
timezone?: string;
|
|
4114
|
-
spaceId?: number;
|
|
4115
|
-
resource?: Resource;
|
|
4116
|
-
deletedAt?: Date;
|
|
4117
|
-
publicNotes?: string;
|
|
4118
|
-
privateNotes?: string;
|
|
4119
|
-
slotType: SlotTypeEnum;
|
|
4120
|
-
productsUserId?: number;
|
|
4121
|
-
productUser?: ProductsUsers;
|
|
4122
|
-
product?: Product;
|
|
4123
|
-
addonsProductUserIds?: number[] | null;
|
|
4124
|
-
addonsProductUsers?: ProductsUsers[];
|
|
4125
|
-
addonProducts?: Product[];
|
|
4126
|
-
addonsMetadata: {
|
|
4127
|
-
productId: number;
|
|
4128
|
-
quantity: number;
|
|
4129
|
-
unitPrice: number;
|
|
4130
|
-
totalPrice: number;
|
|
4131
|
-
}[];
|
|
4132
|
-
segmentId: number;
|
|
4133
|
-
segment: Segment;
|
|
4134
|
-
eventId: number;
|
|
4135
|
-
event: Event;
|
|
4136
|
-
sportIds: number[];
|
|
4137
|
-
parentSlotId?: number;
|
|
4138
|
-
maintenanceDurationdurationType: string;
|
|
4139
|
-
maintenanceTiming: number;
|
|
4140
|
-
durationValue: number;
|
|
4141
|
-
seriesId?: number;
|
|
4142
|
-
series?: Series;
|
|
4143
|
-
orderId?: number;
|
|
4144
|
-
order?: Order;
|
|
4145
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
4146
|
-
approvalStatus?: ReservationStatusEnum;
|
|
4147
|
-
displayName?: string;
|
|
4148
|
-
internalName?: string;
|
|
4149
|
-
activityTypes?: number[] | null;
|
|
4150
|
-
hourlyRate: number;
|
|
4151
|
-
totalPrice: number;
|
|
4152
|
-
isConsumerVisible: boolean;
|
|
4153
|
-
isMonitorVisible: boolean;
|
|
4154
|
-
isPrivate: boolean;
|
|
4155
|
-
occurrence?: number;
|
|
4156
|
-
maintenance?: Slot[];
|
|
4157
|
-
productMetadata: {
|
|
4158
|
-
productId: number;
|
|
4159
|
-
price: number;
|
|
4160
|
-
};
|
|
4161
|
-
slotDurationType: string;
|
|
4162
|
-
changeLineItemIds?: number[];
|
|
4163
|
-
changeLineItems?: LineItems[];
|
|
4164
|
-
updatedLineItem?: LineItems;
|
|
4012
|
+
export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
4013
|
+
successfulLineItems: Map<number, RefundLineItemAmountDto>;
|
|
4014
|
+
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
4015
|
+
totalAmountProcessed: number;
|
|
4165
4016
|
}
|
|
4166
|
-
export declare
|
|
4167
|
-
|
|
4168
|
-
|
|
4169
|
-
|
|
4170
|
-
|
|
4171
|
-
|
|
4172
|
-
|
|
4173
|
-
|
|
4174
|
-
|
|
4175
|
-
|
|
4176
|
-
|
|
4177
|
-
|
|
4017
|
+
export declare class PurchasedResourceDto {
|
|
4018
|
+
resourceId?: number;
|
|
4019
|
+
resourceType: ResourceNameTypeEnum;
|
|
4020
|
+
startDate?: string;
|
|
4021
|
+
startTime?: string;
|
|
4022
|
+
endDate?: string;
|
|
4023
|
+
endTime?: string;
|
|
4024
|
+
}
|
|
4025
|
+
export declare class SegmentDto {
|
|
4026
|
+
id?: number;
|
|
4027
|
+
title: string;
|
|
4028
|
+
isPrivate: boolean;
|
|
4029
|
+
resourceIds: number[];
|
|
4030
|
+
sportId?: number;
|
|
4031
|
+
series: SeriesDto[];
|
|
4032
|
+
addonIds?: number[];
|
|
4033
|
+
publicNotesForSlots?: string;
|
|
4034
|
+
privateNotesForSlots?: string;
|
|
4178
4035
|
}
|
|
4179
4036
|
export declare type TDtoResource = ReservationDto | SegmentDto | SeriesDto | SlotDto | ProductPricesDto;
|
|
4180
4037
|
export declare type TResource = Reservation | Segment | Series | Slot | Addon;
|
|
@@ -4300,13 +4157,13 @@ export interface CalendarSlotCard extends Slot {
|
|
|
4300
4157
|
}[];
|
|
4301
4158
|
};
|
|
4302
4159
|
addons: CalendarCardAddon[];
|
|
4303
|
-
invoice:
|
|
4160
|
+
invoice: Invoice;
|
|
4304
4161
|
price: LineItemPrice;
|
|
4305
4162
|
totalSlotsInSeries?: number;
|
|
4306
4163
|
slotIndexInSeries?: number;
|
|
4307
4164
|
}
|
|
4308
|
-
declare type IPartialInvoice = Pick<
|
|
4309
|
-
export declare type IPartialPayment = Pick<
|
|
4165
|
+
declare type IPartialInvoice = Pick<Invoice, "id" | "createdAt" | "price" | "paymentStatus" | "paidAmount">;
|
|
4166
|
+
export declare type IPartialPayment = Pick<Payment, "id" | "createdAt" | "price" | "paymentStatus" | "paymentType" | "ccBrand" | "ccLast4">;
|
|
4310
4167
|
export interface IInvoice extends IPartialInvoice {
|
|
4311
4168
|
lineItemsCount: number;
|
|
4312
4169
|
}
|
|
@@ -4322,6 +4179,7 @@ export interface SingleReservation {
|
|
|
4322
4179
|
paymentStatus: PaymentStatusEnum;
|
|
4323
4180
|
reservationType: ReservationTypeEnum;
|
|
4324
4181
|
sports: number[];
|
|
4182
|
+
addonsProductUserIds: number[];
|
|
4325
4183
|
facilityId?: number;
|
|
4326
4184
|
customerId: number;
|
|
4327
4185
|
customer?: Customer;
|
|
@@ -4334,71 +4192,154 @@ export interface SingleReservation {
|
|
|
4334
4192
|
}
|
|
4335
4193
|
export interface UpdateReservationResult {
|
|
4336
4194
|
reservation: Reservation;
|
|
4337
|
-
|
|
4195
|
+
invoice?: Invoice;
|
|
4338
4196
|
debug?: any;
|
|
4339
4197
|
}
|
|
4340
4198
|
export interface UpdateSlotPricesResult {
|
|
4341
4199
|
reservation: ReservationDto;
|
|
4342
4200
|
slots: SlotDto[];
|
|
4343
|
-
|
|
4201
|
+
invoice: InvoiceDto;
|
|
4344
4202
|
debug?: any;
|
|
4345
4203
|
}
|
|
4346
4204
|
export interface UpdateSlotsAddonsResult {
|
|
4347
4205
|
slots: SlotDto[];
|
|
4348
|
-
|
|
4206
|
+
invoice: InvoiceDto;
|
|
4349
4207
|
debug?: any;
|
|
4350
4208
|
}
|
|
4351
|
-
interface
|
|
4209
|
+
export interface ValidateEditSlotsResult {
|
|
4352
4210
|
nextFinancialStep: FinancialStepEnum;
|
|
4211
|
+
slots: SlotDto[];
|
|
4353
4212
|
paymentMethods?: IPaymentMethodToFundLeft[];
|
|
4213
|
+
refundMetadata?: EditSlotsRefundMetadata;
|
|
4354
4214
|
originalInvoicePrice?: number;
|
|
4355
4215
|
updatedInvoicePrice?: number;
|
|
4356
4216
|
priceChange?: number;
|
|
4357
|
-
}
|
|
4358
|
-
export interface ValidateEditSlotsResult extends ValidateEditItemsResult {
|
|
4359
|
-
slots: SlotDto[];
|
|
4360
|
-
refundMetadata?: EditSlotsRefundMetadata;
|
|
4361
4217
|
editData?: EditSlotsData;
|
|
4362
4218
|
}
|
|
4363
|
-
export interface ValidateEditReservationAddonsResult extends ValidateEditItemsResult {
|
|
4364
|
-
refundMetadata?: EditAddonsRefundMetadata;
|
|
4365
|
-
editData?: EditAddonsData;
|
|
4366
|
-
}
|
|
4367
4219
|
export interface EditSlotsRefundMetadata {
|
|
4368
4220
|
lineItems: SlotsLineItemData[];
|
|
4369
4221
|
refundAmount: number;
|
|
4370
4222
|
}
|
|
4371
|
-
export interface EditAddonsRefundMetadata {
|
|
4372
|
-
lineItems: AddonsLineItemData[];
|
|
4373
|
-
refundAmount: number;
|
|
4374
|
-
}
|
|
4375
4223
|
export interface EditSlotsData {
|
|
4376
|
-
|
|
4224
|
+
invoice?: Invoice;
|
|
4377
4225
|
editSlotsLineItems?: SlotsLineItemData[];
|
|
4378
4226
|
newLineItems?: LineItemDto[];
|
|
4379
4227
|
}
|
|
4380
|
-
export interface
|
|
4381
|
-
order?: Order;
|
|
4382
|
-
}
|
|
4383
|
-
export interface EditReservationItemsResult extends UpdateReservationResult {
|
|
4228
|
+
export interface EditSlotsResult extends UpdateReservationResult {
|
|
4384
4229
|
refundResult?: RefundResult;
|
|
4385
4230
|
}
|
|
4386
|
-
export declare class ChangeRolePermissionsDto {
|
|
4387
|
-
permissionIds: number[];
|
|
4388
|
-
}
|
|
4389
|
-
export declare class CreateRoleDto {
|
|
4390
|
-
name: string;
|
|
4391
|
-
}
|
|
4392
4231
|
export declare class Permission extends BondBaseEntity {
|
|
4393
4232
|
name: string;
|
|
4394
4233
|
deletedAt?: Date;
|
|
4395
4234
|
}
|
|
4235
|
+
export declare class SlotDateTimeAndSpace {
|
|
4236
|
+
startDate: string;
|
|
4237
|
+
startTime?: string;
|
|
4238
|
+
endDate?: string;
|
|
4239
|
+
endTime?: string;
|
|
4240
|
+
spaceId: number;
|
|
4241
|
+
}
|
|
4242
|
+
export declare class SlotDto extends SlotDateTimeAndSpace {
|
|
4243
|
+
id?: number;
|
|
4244
|
+
reservationId?: number;
|
|
4245
|
+
occurrence?: number;
|
|
4246
|
+
title: string;
|
|
4247
|
+
creatorId?: number;
|
|
4248
|
+
creatorType?: string;
|
|
4249
|
+
userCreatorId?: number;
|
|
4250
|
+
timezone?: string;
|
|
4251
|
+
publicNotes?: string;
|
|
4252
|
+
privateNotes?: string;
|
|
4253
|
+
slotType: SlotTypeEnum;
|
|
4254
|
+
product?: Product;
|
|
4255
|
+
priceOverrideMeta?: {
|
|
4256
|
+
unitPrice: number;
|
|
4257
|
+
quantity: number;
|
|
4258
|
+
totalPrice: number;
|
|
4259
|
+
};
|
|
4260
|
+
addonPriceOverrideMeta?: {
|
|
4261
|
+
[addonProductId: number]: {
|
|
4262
|
+
unitPrice: number;
|
|
4263
|
+
quantity: number;
|
|
4264
|
+
totalPrice: number;
|
|
4265
|
+
};
|
|
4266
|
+
};
|
|
4267
|
+
addonProducts?: Product[];
|
|
4268
|
+
addonCalculatedPrice?: {
|
|
4269
|
+
productId: number;
|
|
4270
|
+
quantity: number;
|
|
4271
|
+
unitPrice: number;
|
|
4272
|
+
totalPrice: number;
|
|
4273
|
+
displayTotalWithTax?: number;
|
|
4274
|
+
displayUnitTax?: number;
|
|
4275
|
+
}[];
|
|
4276
|
+
addonsProductUserIds?: number[];
|
|
4277
|
+
segmentId?: number;
|
|
4278
|
+
seriesId?: number;
|
|
4279
|
+
eventId?: number;
|
|
4280
|
+
sportIds: number[];
|
|
4281
|
+
parentSlotId?: number;
|
|
4282
|
+
maintenanceDurationdurationType?: DurationUnitTypesEnum;
|
|
4283
|
+
maintenanceTiming?: MaintenanceTimingEnum;
|
|
4284
|
+
durationValue?: number;
|
|
4285
|
+
invoicId?: number;
|
|
4286
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
4287
|
+
approvalStatus: ReservationStatusEnum;
|
|
4288
|
+
displayName?: string;
|
|
4289
|
+
internalName?: string;
|
|
4290
|
+
totalPrice?: number;
|
|
4291
|
+
relevantProducts?: Product[];
|
|
4292
|
+
maintenance?: MaintenanceDto[];
|
|
4293
|
+
maintenanceSlots?: SlotDto[];
|
|
4294
|
+
isPrivate: boolean;
|
|
4295
|
+
slotDurationType: SlotDurationTypeEnum;
|
|
4296
|
+
addonsIds?: number[];
|
|
4297
|
+
}
|
|
4298
|
+
export declare class SeriesDto {
|
|
4299
|
+
id?: number;
|
|
4300
|
+
startDate: string;
|
|
4301
|
+
startTime?: string;
|
|
4302
|
+
endDate?: string;
|
|
4303
|
+
endTime?: string;
|
|
4304
|
+
slotDurationType: SlotDurationTypeEnum;
|
|
4305
|
+
durationEndsAfter?: number;
|
|
4306
|
+
durationUnit?: DurationUnitTypesEnum;
|
|
4307
|
+
frequency: FrequencyEnum;
|
|
4308
|
+
repeatEvery?: number;
|
|
4309
|
+
repeatOn?: number[];
|
|
4310
|
+
repeatEndDate?: string;
|
|
4311
|
+
numberOccurrences?: number;
|
|
4312
|
+
maintenance?: MaintenanceDto[];
|
|
4313
|
+
slots?: SlotDto[];
|
|
4314
|
+
}
|
|
4315
|
+
export declare class Series extends OrganizationConnectionBaseEntity {
|
|
4316
|
+
deletedAt?: Date;
|
|
4317
|
+
segmentId: number;
|
|
4318
|
+
segment?: Segment;
|
|
4319
|
+
slots?: Slot[];
|
|
4320
|
+
slotDurationType: string;
|
|
4321
|
+
durationEndsAfter: number;
|
|
4322
|
+
durationUnit: string;
|
|
4323
|
+
startDate?: Date;
|
|
4324
|
+
endDate?: Date;
|
|
4325
|
+
startTime: string;
|
|
4326
|
+
endTime: string;
|
|
4327
|
+
frequency: string;
|
|
4328
|
+
repeatEvery: number;
|
|
4329
|
+
repeatOn?: number[];
|
|
4330
|
+
repeatEndDate?: Date;
|
|
4331
|
+
numberOccurrences?: number;
|
|
4332
|
+
resources?: Resource[];
|
|
4333
|
+
}
|
|
4396
4334
|
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
4397
4335
|
name: string;
|
|
4398
4336
|
deletedAt?: Date;
|
|
4399
4337
|
permissions: Permission[];
|
|
4400
4338
|
usersRoles: UserRole[];
|
|
4401
4339
|
}
|
|
4340
|
+
export declare class CreateRoleDto {
|
|
4341
|
+
name: string;
|
|
4342
|
+
}
|
|
4402
4343
|
export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
4403
4344
|
deletedAt?: Date;
|
|
4404
4345
|
userId: number;
|
|
@@ -4406,12 +4347,19 @@ export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
|
4406
4347
|
role: Role;
|
|
4407
4348
|
user: User;
|
|
4408
4349
|
}
|
|
4409
|
-
export declare class CloseShiftDto {
|
|
4410
|
-
closingCashAmount: number;
|
|
4411
|
-
}
|
|
4412
4350
|
export declare class FindShiftsByIdsDto {
|
|
4413
4351
|
shiftIds: number[];
|
|
4414
4352
|
}
|
|
4353
|
+
export declare class ShiftManagementClosingAmount {
|
|
4354
|
+
shiftId: number;
|
|
4355
|
+
managementClosingCashAmount: number;
|
|
4356
|
+
}
|
|
4357
|
+
export declare class ManagementClosingOfShiftsDto {
|
|
4358
|
+
managementClosingData: ShiftManagementClosingAmount[];
|
|
4359
|
+
}
|
|
4360
|
+
export declare class CloseShiftDto {
|
|
4361
|
+
closingCashAmount: number;
|
|
4362
|
+
}
|
|
4415
4363
|
export declare class FindShiftsFiltersDto {
|
|
4416
4364
|
statuses?: string;
|
|
4417
4365
|
stationIds?: string;
|
|
@@ -4432,17 +4380,6 @@ export declare class FindShiftsFormattedFilters {
|
|
|
4432
4380
|
startDate?: Date;
|
|
4433
4381
|
endDate?: Date;
|
|
4434
4382
|
}
|
|
4435
|
-
export declare class ShiftManagementClosingAmount {
|
|
4436
|
-
shiftId: number;
|
|
4437
|
-
managementClosingCashAmount: number;
|
|
4438
|
-
}
|
|
4439
|
-
export declare class ManagementClosingOfShiftsDto {
|
|
4440
|
-
managementClosingData: ShiftManagementClosingAmount[];
|
|
4441
|
-
}
|
|
4442
|
-
export declare class OpenShiftDto {
|
|
4443
|
-
openingCashAmount: number;
|
|
4444
|
-
stationId: number;
|
|
4445
|
-
}
|
|
4446
4383
|
export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
4447
4384
|
stationId: number;
|
|
4448
4385
|
station?: Station;
|
|
@@ -4463,7 +4400,7 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4463
4400
|
reconciliationAmount?: number;
|
|
4464
4401
|
reconcilingDate?: string;
|
|
4465
4402
|
reconcilingTime?: string;
|
|
4466
|
-
|
|
4403
|
+
reconciliationInvoiceId?: number;
|
|
4467
4404
|
deletedAt?: Date;
|
|
4468
4405
|
sumsOnShift?: Map<PaymentMethodTypeEnum, number>;
|
|
4469
4406
|
currentCashDifference?: number;
|
|
@@ -4472,44 +4409,85 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4472
4409
|
closingManager?: User;
|
|
4473
4410
|
reconcilingUser?: User;
|
|
4474
4411
|
}
|
|
4475
|
-
export declare class
|
|
4476
|
-
|
|
4477
|
-
|
|
4478
|
-
price: number | null;
|
|
4479
|
-
totalTax?: number;
|
|
4480
|
-
totalWithoutTax?: number;
|
|
4481
|
-
status?: OrderStatusEnum;
|
|
4482
|
-
lineItems: LineItemDto[];
|
|
4483
|
-
paymentStatus?: PaymentStatusEnum;
|
|
4484
|
-
currency: CurrencyEnum;
|
|
4485
|
-
creatingUserId?: number;
|
|
4486
|
-
platform?: PlatformsEnum;
|
|
4412
|
+
export declare class OpenShiftDto {
|
|
4413
|
+
openingCashAmount: number;
|
|
4414
|
+
stationId: number;
|
|
4487
4415
|
}
|
|
4488
|
-
export declare class
|
|
4489
|
-
|
|
4490
|
-
shiftId?: number;
|
|
4416
|
+
export declare class ChangeRolePermissionsDto {
|
|
4417
|
+
permissionIds: number[];
|
|
4491
4418
|
}
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
|
|
4419
|
+
declare class AnswerDto {
|
|
4420
|
+
questionId: number;
|
|
4421
|
+
value: any;
|
|
4495
4422
|
}
|
|
4496
|
-
export declare class
|
|
4497
|
-
|
|
4423
|
+
export declare class BookedSessionDto {
|
|
4424
|
+
startDate: string;
|
|
4425
|
+
endDate: string;
|
|
4426
|
+
timezone: string;
|
|
4427
|
+
spaceId: number;
|
|
4498
4428
|
}
|
|
4499
|
-
|
|
4500
|
-
|
|
4501
|
-
|
|
4429
|
+
declare class AddonDto {
|
|
4430
|
+
resourcePackageId: number;
|
|
4431
|
+
resourcePackageAmount: number;
|
|
4432
|
+
resourcePackagePrice: number;
|
|
4502
4433
|
}
|
|
4503
|
-
export declare class
|
|
4504
|
-
|
|
4434
|
+
export declare class ReservationV1Dto {
|
|
4435
|
+
organizationId: number;
|
|
4436
|
+
name: string;
|
|
4437
|
+
dayOfWeek: number;
|
|
4438
|
+
startTime: string;
|
|
4439
|
+
description: string;
|
|
4440
|
+
sport: number;
|
|
4441
|
+
price: number;
|
|
4442
|
+
resourcePackageId: number;
|
|
4443
|
+
resourcePackageAmount: number;
|
|
4444
|
+
bookedSessions: BookedSessionDto[];
|
|
4445
|
+
addons: AddonDto[];
|
|
4505
4446
|
}
|
|
4506
|
-
export declare class
|
|
4507
|
-
|
|
4508
|
-
|
|
4447
|
+
export declare class BookingV1Dto {
|
|
4448
|
+
organizationId: number;
|
|
4449
|
+
reservations: ReservationV1Dto[];
|
|
4450
|
+
answers: AnswerDto[];
|
|
4451
|
+
paymentData: PurchasePaymentDto;
|
|
4452
|
+
skipPayment: boolean;
|
|
4453
|
+
cashPayment: boolean;
|
|
4454
|
+
requestOnly: boolean;
|
|
4509
4455
|
}
|
|
4510
|
-
export declare class
|
|
4511
|
-
|
|
4456
|
+
export declare class Addon extends OrganizationConnectionBaseEntity {
|
|
4457
|
+
parentId: number;
|
|
4458
|
+
parentType: AddonParentTypeEnum;
|
|
4459
|
+
productId: number;
|
|
4460
|
+
product?: Product;
|
|
4461
|
+
quantity: number;
|
|
4462
|
+
unitPrice: number;
|
|
4463
|
+
totalPrice: number;
|
|
4464
|
+
approvalStatus: ReservationStatusEnum;
|
|
4465
|
+
paymentStatus: ReservationPaymentStatusEnum;
|
|
4466
|
+
level?: ProductPackageLevelEnum;
|
|
4467
|
+
resourceId?: number;
|
|
4468
|
+
resource?: Resource;
|
|
4469
|
+
invoiceId?: number;
|
|
4470
|
+
invoice?: Invoice;
|
|
4471
|
+
productUserId?: number;
|
|
4472
|
+
productUser?: ProductsUsers;
|
|
4512
4473
|
}
|
|
4513
|
-
export declare
|
|
4514
|
-
|
|
4474
|
+
export declare type TSlotAndType = {
|
|
4475
|
+
type: "slots" | "slot_addons";
|
|
4476
|
+
slotsForProduct: {
|
|
4477
|
+
[productId: number]: {
|
|
4478
|
+
product: Product;
|
|
4479
|
+
slots: SlotDto[];
|
|
4480
|
+
};
|
|
4481
|
+
};
|
|
4482
|
+
};
|
|
4483
|
+
export interface ILineItemResource {
|
|
4484
|
+
type: "addons" | "segments" | "series" | "slots" | "slot_addons";
|
|
4485
|
+
values: TResource[];
|
|
4486
|
+
}
|
|
4487
|
+
export declare class InvoicedSlots extends OrganizationConnectionBaseEntity {
|
|
4488
|
+
deletedAt?: Date;
|
|
4489
|
+
reservationId: number;
|
|
4490
|
+
invoiceId: number;
|
|
4491
|
+
slotId: number;
|
|
4515
4492
|
}
|
|
4493
|
+
export {};
|