@bondsports/types 0.3.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 +1442 -1444
- 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 AddressDto {
|
|
190
|
-
city: string;
|
|
191
|
-
state: string;
|
|
192
|
-
country: string;
|
|
193
|
-
geo: number[];
|
|
194
|
-
}
|
|
195
|
-
export declare class OpeningTimeDto {
|
|
196
|
-
open: string;
|
|
197
|
-
close: string;
|
|
198
|
-
dayOfWeek: number;
|
|
199
|
-
}
|
|
200
|
-
export declare class CreateFacilityDto {
|
|
201
|
-
name: string;
|
|
202
|
-
sports: number[];
|
|
203
|
-
description?: string;
|
|
204
|
-
longDescription?: string;
|
|
205
|
-
info?: string;
|
|
206
|
-
address: AddressDto;
|
|
207
|
-
timezone: string;
|
|
208
|
-
amenities: number[];
|
|
209
|
-
openingTimes: OpeningTimeDto[];
|
|
210
|
-
resourcesIds?: number[];
|
|
211
|
-
}
|
|
212
|
-
export declare class UpdateFacilityDetailsDto {
|
|
213
|
-
name?: string;
|
|
214
|
-
description?: string;
|
|
215
|
-
longDescription?: string;
|
|
216
|
-
info?: string;
|
|
217
|
-
address?: AddressDto;
|
|
218
|
-
timezone?: string;
|
|
219
|
-
}
|
|
220
|
-
export declare class UpdateFacilityOpeningTimesDto {
|
|
221
|
-
openingTimes: OpeningTimeDto[];
|
|
222
|
-
}
|
|
223
|
-
export declare class UpdateFacilitySportsDto {
|
|
224
|
-
sports: number[];
|
|
225
|
-
}
|
|
226
|
-
export declare class UpdateFacilityAmenitiesDto {
|
|
227
|
-
amenities: number[];
|
|
228
|
-
}
|
|
229
|
-
export declare class FindFacilitiesOptionsDto extends PaginationQuery {
|
|
230
|
-
nameSearch?: string;
|
|
231
|
-
}
|
|
232
|
-
export declare class FindFamilyAccountsDto {
|
|
233
|
-
userId: number;
|
|
234
|
-
}
|
|
235
|
-
export declare class FindFamilyAccountsCustomerDto {
|
|
236
|
-
customerId: number;
|
|
237
|
-
organizationId: number;
|
|
238
|
-
}
|
|
239
|
-
export declare class FindUsersInFamilyAccountDto {
|
|
240
|
-
familyAccountId: number;
|
|
241
|
-
}
|
|
242
|
-
export declare class CreateFamilyAccountDto {
|
|
243
|
-
familyName: string;
|
|
244
|
-
userId: number;
|
|
245
|
-
}
|
|
246
|
-
export declare class UpdateFamilyAccountNameDto {
|
|
247
|
-
familyName: string;
|
|
248
|
-
familyAccountId: number;
|
|
249
|
-
}
|
|
250
|
-
export declare class AddUserToFamilyAccountDto {
|
|
251
|
-
familyAccountId: number;
|
|
252
|
-
isUserAdmin: boolean;
|
|
253
|
-
firstName: string;
|
|
254
|
-
lastName: string;
|
|
255
|
-
gender: GenderEnum;
|
|
256
|
-
birthDate: string;
|
|
257
|
-
sports?: number[];
|
|
258
|
-
email?: string;
|
|
259
|
-
}
|
|
260
|
-
export declare class RemoveUserFromFamilyAccountDto {
|
|
261
|
-
userId: number;
|
|
262
|
-
familyAccountId: number;
|
|
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,47 +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 AddACHTokenToCustomerDto {
|
|
1065
|
-
publicToken: string;
|
|
1066
|
-
accountId: string;
|
|
1067
|
-
}
|
|
1068
|
-
export declare class FindByUserIdDto {
|
|
1069
|
-
userId: number;
|
|
1070
|
-
}
|
|
1071
|
-
export declare class FindByFamilyAccountIdDto {
|
|
1072
|
-
familyAccountId?: number;
|
|
1073
|
-
}
|
|
1074
|
-
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1043
|
+
export declare class CreateUpdateVariantsDto {
|
|
1075
1044
|
organizationId: number;
|
|
1045
|
+
parentProductId: number;
|
|
1046
|
+
variantTitles: VariantTitleDto[];
|
|
1047
|
+
variants: VariantDto[];
|
|
1076
1048
|
}
|
|
1077
|
-
export declare class
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
organizationId?: number;
|
|
1081
|
-
userId?: number;
|
|
1082
|
-
customerId?: number;
|
|
1083
|
-
performingUserId: number;
|
|
1084
|
-
description: string;
|
|
1085
|
-
actionType: ActionTypesEnum;
|
|
1086
|
-
sourcePlatform: ActionSourcePlatformEnum;
|
|
1087
|
-
oldValue?: any;
|
|
1088
|
-
newValue?: any;
|
|
1049
|
+
export declare class VariantTitleDto {
|
|
1050
|
+
titleName: string;
|
|
1051
|
+
titleId: number;
|
|
1089
1052
|
}
|
|
1090
|
-
export declare class
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
program: ProgramSeason;
|
|
1098
|
-
availabilityStartDate: string;
|
|
1099
|
-
availabilityEndDate: string;
|
|
1100
|
-
proudct: Product;
|
|
1101
|
-
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;
|
|
1102
1060
|
}
|
|
1103
1061
|
export declare class Address extends BondBaseEntity {
|
|
1104
1062
|
city?: string;
|
|
@@ -1111,6 +1069,30 @@ export declare class Address extends BondBaseEntity {
|
|
|
1111
1069
|
geo: any;
|
|
1112
1070
|
deletedAt?: Date;
|
|
1113
1071
|
}
|
|
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 {
|
|
1079
|
+
}
|
|
1080
|
+
export declare class Athlete extends BondBaseEntity {
|
|
1081
|
+
userId: number | null;
|
|
1082
|
+
metadata: object | null;
|
|
1083
|
+
athleteSports: AthleteSports[];
|
|
1084
|
+
}
|
|
1085
|
+
export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
|
|
1086
|
+
questionnaireId: number;
|
|
1087
|
+
userId?: number;
|
|
1088
|
+
answers: Answer[];
|
|
1089
|
+
questionnaire: Questionnaires;
|
|
1090
|
+
}
|
|
1091
|
+
export declare class AthleteSports extends BondBaseEntity {
|
|
1092
|
+
athleteId: number | null;
|
|
1093
|
+
sports: number | null;
|
|
1094
|
+
levelOfPlay: LevelOfPlayEnum | null;
|
|
1095
|
+
}
|
|
1114
1096
|
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1115
1097
|
questionId: number;
|
|
1116
1098
|
question?: Questions;
|
|
@@ -1124,21 +1106,10 @@ export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
|
1124
1106
|
metaData: any | null;
|
|
1125
1107
|
questionText: string | null;
|
|
1126
1108
|
}
|
|
1127
|
-
export declare class
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
questionnaire: Questionnaires;
|
|
1132
|
-
}
|
|
1133
|
-
export declare class Athlete extends BondBaseEntity {
|
|
1134
|
-
userId: number | null;
|
|
1135
|
-
metadata: object | null;
|
|
1136
|
-
athleteSports: AthleteSports[];
|
|
1137
|
-
}
|
|
1138
|
-
export declare class AthleteSports extends BondBaseEntity {
|
|
1139
|
-
athleteId: number | null;
|
|
1140
|
-
sports: number | null;
|
|
1141
|
-
levelOfPlay: LevelOfPlayEnum | null;
|
|
1109
|
+
export declare class BondBaseEntity extends BaseEntity {
|
|
1110
|
+
id: number;
|
|
1111
|
+
createdAt: Date;
|
|
1112
|
+
updatedAt: Date;
|
|
1142
1113
|
}
|
|
1143
1114
|
export declare class BlockedDate extends BondBaseEntity {
|
|
1144
1115
|
entityType: ResourceNameTypeEnum;
|
|
@@ -1148,18 +1119,26 @@ export declare class BlockedDate extends BondBaseEntity {
|
|
|
1148
1119
|
endDate: Date;
|
|
1149
1120
|
deletedAt?: Date;
|
|
1150
1121
|
}
|
|
1151
|
-
export declare class
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
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;
|
|
1134
|
+
}
|
|
1135
|
+
export declare class BookedSessions extends BondBaseEntity {
|
|
1136
|
+
reservationId?: number;
|
|
1137
|
+
color?: string;
|
|
1138
|
+
creatorId?: number;
|
|
1139
|
+
creatorType?: string;
|
|
1140
|
+
startDate?: Date | moment.Moment;
|
|
1141
|
+
endDate?: Date | moment.Moment;
|
|
1163
1142
|
timezone?: string;
|
|
1164
1143
|
spaceId?: number;
|
|
1165
1144
|
percentage?: number;
|
|
@@ -1171,21 +1150,27 @@ export declare class BookedSessions extends BondBaseEntity {
|
|
|
1171
1150
|
publicNotes?: string;
|
|
1172
1151
|
slotType?: SlotTypeEnum;
|
|
1173
1152
|
}
|
|
1174
|
-
export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity {
|
|
1175
|
-
parentId: number;
|
|
1176
|
-
parentType: ResourceNameTypeEnum;
|
|
1177
|
-
startDate: Date;
|
|
1178
|
-
endDate: Date;
|
|
1179
|
-
dayOfWeek: number;
|
|
1180
|
-
startTimeInDay: string;
|
|
1181
|
-
endTimeInDay: string;
|
|
1182
|
-
directBookingFor: DirectBookingTypesEnum;
|
|
1183
|
-
}
|
|
1184
1153
|
export declare class Configuration extends BondBaseEntity {
|
|
1185
1154
|
area: string;
|
|
1186
1155
|
key: string;
|
|
1187
1156
|
value: string;
|
|
1188
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
|
+
}
|
|
1189
1174
|
export declare class Connection extends BondBaseEntity {
|
|
1190
1175
|
connType: number | null;
|
|
1191
1176
|
from: number | null;
|
|
@@ -1198,13 +1183,11 @@ export declare class Connection extends BondBaseEntity {
|
|
|
1198
1183
|
userCreatorId: number | null;
|
|
1199
1184
|
ownerId: number | null;
|
|
1200
1185
|
}
|
|
1201
|
-
export declare class
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
orderId: number;
|
|
1207
|
-
creditPaymentInvoiceId: number;
|
|
1186
|
+
export declare class CustomerNote extends OrganizationConnectionBaseEntity {
|
|
1187
|
+
customerId?: number;
|
|
1188
|
+
description: string;
|
|
1189
|
+
pinToTop?: boolean;
|
|
1190
|
+
customer: Customer;
|
|
1208
1191
|
}
|
|
1209
1192
|
export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
1210
1193
|
name: string | null;
|
|
@@ -1234,31 +1217,28 @@ export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
|
1234
1217
|
mainMedia: Media;
|
|
1235
1218
|
reservations?: Reservation[];
|
|
1236
1219
|
}
|
|
1237
|
-
export declare class
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
orderId?: number;
|
|
1243
|
-
description?: string;
|
|
1244
|
-
deletedAt?: Date;
|
|
1245
|
-
customer: Customer;
|
|
1246
|
-
order: Order;
|
|
1247
|
-
invoice: Invoice;
|
|
1248
|
-
}
|
|
1249
|
-
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;
|
|
1250
1225
|
customerId?: number;
|
|
1226
|
+
performingUserId: number;
|
|
1251
1227
|
description: string;
|
|
1252
|
-
|
|
1253
|
-
|
|
1228
|
+
actionType: ActionTypesEnum;
|
|
1229
|
+
sourcePlatform: ActionSourcePlatformEnum;
|
|
1230
|
+
oldValue?: any;
|
|
1231
|
+
newValue?: any;
|
|
1254
1232
|
}
|
|
1255
|
-
export declare class
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
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;
|
|
1262
1242
|
}
|
|
1263
1243
|
export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
1264
1244
|
customerId: number;
|
|
@@ -1266,13 +1246,6 @@ export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
|
1266
1246
|
phoneNumber: string | null;
|
|
1267
1247
|
customer: Customer;
|
|
1268
1248
|
}
|
|
1269
|
-
export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
|
|
1270
|
-
name: string | null;
|
|
1271
|
-
}
|
|
1272
|
-
export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
|
|
1273
|
-
groupId: number;
|
|
1274
|
-
terms: IEntitlementTerms[];
|
|
1275
|
-
}
|
|
1276
1249
|
export declare class EventAttendee extends BondBaseEntity {
|
|
1277
1250
|
status: RequestStatusEnum | null;
|
|
1278
1251
|
hasPaid: boolean | null;
|
|
@@ -1343,6 +1316,50 @@ export declare class Event extends OrganizationConnectionBaseEntity {
|
|
|
1343
1316
|
slots: Slot[];
|
|
1344
1317
|
purchasedResources: PurchasedResource[];
|
|
1345
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
|
+
}
|
|
1346
1363
|
export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
1347
1364
|
name: string;
|
|
1348
1365
|
description?: string;
|
|
@@ -1367,107 +1384,29 @@ export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
|
1367
1384
|
programSeasons: ProgramSeason[];
|
|
1368
1385
|
linkSEO: string;
|
|
1369
1386
|
}
|
|
1370
|
-
export declare class
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
userId: number;
|
|
1380
|
-
orderId: number;
|
|
1381
|
-
paymentMethodId: string;
|
|
1382
|
-
paymentType: PaymentMethodTypeEnum;
|
|
1383
|
-
price: number;
|
|
1384
|
-
status: FutureInstallmentStatusEnum;
|
|
1385
|
-
plannedDate: Date;
|
|
1386
|
-
chargedAt?: Date;
|
|
1387
|
-
}
|
|
1388
|
-
export declare class GlCodes extends OrganizationConnectionBaseEntity {
|
|
1389
|
-
code: string;
|
|
1390
|
-
}
|
|
1391
|
-
export declare class Group extends BondBaseEntity {
|
|
1392
|
-
name: string;
|
|
1393
|
-
description?: string;
|
|
1394
|
-
status: GroupStatusEnum;
|
|
1395
|
-
maxCapacity?: number;
|
|
1396
|
-
mainMediaId?: number;
|
|
1397
|
-
minAgeYears?: number;
|
|
1398
|
-
maxAgeYears?: number;
|
|
1399
|
-
gender: GenderEnum;
|
|
1400
|
-
levelOfPlay?: LevelOfPlayEnum[];
|
|
1401
|
-
sports: SportsEnum[];
|
|
1402
|
-
questionnaires?: number[];
|
|
1403
|
-
captainUserId?: number;
|
|
1404
|
-
members: ISeasonAttendeeInfo[];
|
|
1405
|
-
users: User[];
|
|
1406
|
-
}
|
|
1407
|
-
export declare class GroupItemsPricing extends OrganizationConnectionBaseEntity {
|
|
1408
|
-
groupId: number;
|
|
1409
|
-
itemId: number;
|
|
1410
|
-
itemType: ResourceNameTypeEnum;
|
|
1411
|
-
startDate: Date;
|
|
1412
|
-
endDate: Date;
|
|
1413
|
-
price: number;
|
|
1414
|
-
overridesPrice: boolean;
|
|
1415
|
-
deletedAt?: Date;
|
|
1416
|
-
group?: EntitlementGroup;
|
|
1417
|
-
discountMethod?: DiscountMethodsEnum;
|
|
1418
|
-
discountValue?: number;
|
|
1419
|
-
}
|
|
1420
|
-
export declare class GroupsInDivisions extends BondBaseEntity {
|
|
1421
|
-
groupId: number;
|
|
1422
|
-
divisionId: number;
|
|
1423
|
-
deletedAt?: Date;
|
|
1424
|
-
}
|
|
1425
|
-
export declare class Invoice extends OrganizationConnectionBaseEntity {
|
|
1426
|
-
price: number;
|
|
1427
|
-
paymentProcessorId: string;
|
|
1428
|
-
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[];
|
|
1429
1396
|
paymentStatus: PaymentStatusEnum;
|
|
1430
|
-
bondFee?: number;
|
|
1431
|
-
stripeFee?: number;
|
|
1432
|
-
currency: CurrencyEnum;
|
|
1433
|
-
payingUserId?: number;
|
|
1434
1397
|
paymentMethodId?: string;
|
|
1435
1398
|
paymentType?: PaymentMethodTypeEnum;
|
|
1436
|
-
|
|
1437
|
-
|
|
1399
|
+
paidAmount: number;
|
|
1400
|
+
currency: CurrencyEnum;
|
|
1401
|
+
mainPaymentId: number;
|
|
1402
|
+
isScheduled: boolean;
|
|
1438
1403
|
isRefunded: boolean;
|
|
1439
|
-
|
|
1440
|
-
receiptUrl?: string;
|
|
1441
|
-
paymentProcessorTransactionId?: string;
|
|
1404
|
+
isVoided: boolean;
|
|
1442
1405
|
creatingUserId: number;
|
|
1443
1406
|
shiftId: number;
|
|
1444
1407
|
platform: PlatformsEnum;
|
|
1445
|
-
ccLast4: string;
|
|
1446
|
-
ccBrand: string;
|
|
1447
1408
|
invoiceNotes: InvoiceNote[];
|
|
1448
|
-
|
|
1449
|
-
refundReasonId?: number;
|
|
1450
|
-
refundNote?: string;
|
|
1451
|
-
}
|
|
1452
|
-
export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
1453
|
-
email: string;
|
|
1454
|
-
status: EEmailStatus;
|
|
1455
|
-
templateId: string;
|
|
1456
|
-
userId: number;
|
|
1457
|
-
invoiceId: number;
|
|
1458
|
-
paymentId: number;
|
|
1459
|
-
sendingUserId: number;
|
|
1460
|
-
mailParams?: any;
|
|
1461
|
-
memo?: string;
|
|
1462
|
-
}
|
|
1463
|
-
export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
1464
|
-
content: string;
|
|
1465
|
-
creatingUserId: number;
|
|
1466
|
-
user: User;
|
|
1467
|
-
isPublic: boolean;
|
|
1468
|
-
deletedAt: Date;
|
|
1469
|
-
invoiceId: number;
|
|
1470
|
-
invoice: Invoice;
|
|
1409
|
+
slots: Slot[];
|
|
1471
1410
|
}
|
|
1472
1411
|
export declare class League extends OrganizationConnectionBaseEntity {
|
|
1473
1412
|
name: string | null;
|
|
@@ -1495,66 +1434,70 @@ export declare class League extends OrganizationConnectionBaseEntity {
|
|
|
1495
1434
|
logo?: Media;
|
|
1496
1435
|
seasons: LeagueSeason[];
|
|
1497
1436
|
}
|
|
1498
|
-
export declare class
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
status:
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
priceEarlyGroup: number | null;
|
|
1514
|
-
priceRegularGroup: number | null;
|
|
1515
|
-
priceLateGroup: number | null;
|
|
1516
|
-
earlyRegistrationEnds: Date | null;
|
|
1517
|
-
regularRegistrationEnds: Date | null;
|
|
1518
|
-
lateRegistrationEnds: Date | null;
|
|
1519
|
-
registrationStatus: number | null;
|
|
1520
|
-
description: string | null;
|
|
1521
|
-
addressName: string | null;
|
|
1522
|
-
registrationOpen: Date | null;
|
|
1523
|
-
connectedSeasonId: number | null;
|
|
1524
|
-
tournamentType: boolean | null;
|
|
1525
|
-
playoffType: boolean | null;
|
|
1526
|
-
scheduleStatus: SeasonScheduleStatusEnum;
|
|
1527
|
-
rosterStatus: string | null;
|
|
1528
|
-
metaData: any | null;
|
|
1529
|
-
inviteSendDate: Date | null;
|
|
1530
|
-
maxNumParticipants: number | null;
|
|
1531
|
-
programId: number | null;
|
|
1532
|
-
minNumParticipants: number | null;
|
|
1533
|
-
league: League;
|
|
1534
|
-
facilities: Facility[];
|
|
1535
|
-
seasonAttendees: SeasonAttendee[];
|
|
1536
|
-
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[];
|
|
1537
1452
|
}
|
|
1538
|
-
export declare class
|
|
1539
|
-
|
|
1540
|
-
|
|
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;
|
|
1541
1484
|
}
|
|
1542
1485
|
export declare class LineItemHistory extends BondBaseEntity {
|
|
1543
|
-
orderId: number;
|
|
1544
1486
|
invoiceId: number;
|
|
1487
|
+
paymentId: number;
|
|
1545
1488
|
lineItemId: number;
|
|
1546
1489
|
paidAmount: number;
|
|
1547
1490
|
unitPaidAmount: number;
|
|
1548
1491
|
currency: CurrencyEnum;
|
|
1549
|
-
|
|
1492
|
+
payment: Payment;
|
|
1550
1493
|
lineItem: LineItems;
|
|
1551
1494
|
}
|
|
1552
1495
|
export declare class LineItems extends BondBaseEntity {
|
|
1553
1496
|
constructor();
|
|
1554
1497
|
defineIsReverted(): void;
|
|
1555
1498
|
isReverted: boolean;
|
|
1556
|
-
|
|
1557
|
-
|
|
1499
|
+
invoiceId: number;
|
|
1500
|
+
invoice: Invoice;
|
|
1558
1501
|
lineItemsHistory: LineItemHistory[];
|
|
1559
1502
|
type: LineItemsStatusEnum | null;
|
|
1560
1503
|
userId: number | null;
|
|
@@ -1604,22 +1547,6 @@ export declare class LineItems extends BondBaseEntity {
|
|
|
1604
1547
|
displayUnitPrice?: number;
|
|
1605
1548
|
displayQuantity?: number;
|
|
1606
1549
|
}
|
|
1607
|
-
export declare class LinkedAccounts extends BondBaseEntity {
|
|
1608
|
-
id: number;
|
|
1609
|
-
provider: string;
|
|
1610
|
-
providerId: string | null;
|
|
1611
|
-
parentId: number | null;
|
|
1612
|
-
parentType: string | null;
|
|
1613
|
-
status: number | null;
|
|
1614
|
-
token: string | null;
|
|
1615
|
-
refreshToken: string | null;
|
|
1616
|
-
tokenCreatedAt: Date | null;
|
|
1617
|
-
tokenValidUpTo: Date | null;
|
|
1618
|
-
createdAt: Date;
|
|
1619
|
-
updatedAt: Date;
|
|
1620
|
-
user: User;
|
|
1621
|
-
userId: number | null;
|
|
1622
|
-
}
|
|
1623
1550
|
export declare class Media extends BondBaseEntity {
|
|
1624
1551
|
url: string;
|
|
1625
1552
|
name: string | null;
|
|
@@ -1639,34 +1566,64 @@ export declare class Media extends BondBaseEntity {
|
|
|
1639
1566
|
programs: Program[];
|
|
1640
1567
|
memberships: Membership[];
|
|
1641
1568
|
}
|
|
1642
|
-
export declare class
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
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[];
|
|
1668
1615
|
purchasedResources: PurchasedResource[];
|
|
1669
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
|
+
}
|
|
1670
1627
|
export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
1671
1628
|
membership: Membership;
|
|
1672
1629
|
membershipId: number;
|
|
@@ -1687,67 +1644,15 @@ export declare class MembershipMember extends OrganizationConnectionBaseEntity {
|
|
|
1687
1644
|
cancellationStatus?: CancellationStatusEnum;
|
|
1688
1645
|
isImported?: boolean;
|
|
1689
1646
|
}
|
|
1690
|
-
export declare class NotificationSubscriptions extends OrganizationConnectionBaseEntity {
|
|
1691
|
-
email: string | null;
|
|
1692
|
-
notificationType: NotificationTypeEnum | null;
|
|
1693
|
-
resourceId: number | null;
|
|
1694
|
-
resourceType: string | null;
|
|
1695
|
-
}
|
|
1696
|
-
export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
1697
|
-
id: number;
|
|
1698
|
-
dayOfWeek: number;
|
|
1699
|
-
open: string;
|
|
1700
|
-
close: string;
|
|
1701
|
-
facilityId: number;
|
|
1702
|
-
createdAt: Date;
|
|
1703
|
-
updatedAt: Date;
|
|
1704
|
-
deletedAt?: Date;
|
|
1705
|
-
facility: Facility;
|
|
1706
|
-
}
|
|
1707
|
-
export declare class Order extends BondBaseEntity {
|
|
1708
|
-
orderId: string | null;
|
|
1709
|
-
price: number | null;
|
|
1710
|
-
status: OrderStatusEnum | null;
|
|
1711
|
-
sentForClientDate: Date | null;
|
|
1712
|
-
payingUserId?: number | null;
|
|
1713
|
-
orderToInvoices: OrderToInvoice[];
|
|
1714
|
-
lineItems: LineItems[];
|
|
1715
|
-
lineItemHistory: LineItemHistory[];
|
|
1716
|
-
paymentStatus: PaymentStatusEnum;
|
|
1717
|
-
paymentMethodId?: string;
|
|
1718
|
-
paymentType?: PaymentMethodTypeEnum;
|
|
1719
|
-
paidAmount: number;
|
|
1720
|
-
currency: CurrencyEnum;
|
|
1721
|
-
mainInvoiceId: number;
|
|
1722
|
-
isScheduled: boolean;
|
|
1723
|
-
isRefunded: boolean;
|
|
1724
|
-
isVoided: boolean;
|
|
1725
|
-
creatingUserId: number;
|
|
1726
|
-
shiftId: number;
|
|
1727
|
-
platform: PlatformsEnum;
|
|
1728
|
-
orderNotes: OrderNote[];
|
|
1729
|
-
slots: Slot[];
|
|
1730
|
-
}
|
|
1731
|
-
export declare class OrderNote extends OrganizationConnectionBaseEntity {
|
|
1732
|
-
content: string;
|
|
1733
|
-
creatingUserId: number;
|
|
1734
|
-
user: User;
|
|
1735
|
-
isPublic: boolean;
|
|
1736
|
-
deletedAt: Date;
|
|
1737
|
-
orderId: number;
|
|
1738
|
-
order: Order;
|
|
1739
|
-
}
|
|
1740
|
-
export declare class OrderToInvoice extends BondBaseEntity {
|
|
1741
|
-
orderId: number;
|
|
1742
|
-
invoiceId: number;
|
|
1743
|
-
order: Order;
|
|
1744
|
-
invoice: Invoice;
|
|
1745
|
-
paidAmount?: number;
|
|
1746
|
-
currency: CurrencyEnum;
|
|
1747
|
-
}
|
|
1748
1647
|
export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
|
|
1749
1648
|
organizationId: number;
|
|
1750
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
|
+
}
|
|
1751
1656
|
export declare class PackageV1 extends BondBaseEntity {
|
|
1752
1657
|
name?: string;
|
|
1753
1658
|
description?: string;
|
|
@@ -1765,11 +1670,16 @@ export declare class PackageV1 extends BondBaseEntity {
|
|
|
1765
1670
|
isMandatory: boolean;
|
|
1766
1671
|
productId: number;
|
|
1767
1672
|
}
|
|
1768
|
-
export declare class
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
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;
|
|
1773
1683
|
}
|
|
1774
1684
|
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1775
1685
|
paymentPlanId: number;
|
|
@@ -1777,40 +1687,85 @@ export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntit
|
|
|
1777
1687
|
deletedAt?: Date;
|
|
1778
1688
|
paymentPlan: ProductPaymentPlan;
|
|
1779
1689
|
}
|
|
1780
|
-
export declare class
|
|
1781
|
-
userId: number | null;
|
|
1782
|
-
ownerId: number | null;
|
|
1783
|
-
parentId: number | null;
|
|
1784
|
-
parentType: string | null;
|
|
1785
|
-
idAtProvider: string | null;
|
|
1786
|
-
providerType: number | null;
|
|
1787
|
-
providerExtraData: string | null;
|
|
1788
|
-
requestData: string | null;
|
|
1789
|
-
responseData: string | null;
|
|
1790
|
-
status: number | null;
|
|
1791
|
-
price: number | null;
|
|
1792
|
-
currency: string | null;
|
|
1793
|
-
locked: boolean | null;
|
|
1794
|
-
numberOfTries: number | null;
|
|
1795
|
-
installmentId: number | null;
|
|
1796
|
-
orderId: string | null;
|
|
1797
|
-
}
|
|
1798
|
-
export declare class Price extends OrganizationConnectionBaseEntity {
|
|
1799
|
-
productId: number;
|
|
1800
|
-
product: Product;
|
|
1801
|
-
name: string | null;
|
|
1690
|
+
export declare class Payment extends OrganizationConnectionBaseEntity {
|
|
1802
1691
|
price: number;
|
|
1692
|
+
paymentProcessorId: string;
|
|
1693
|
+
invoiceToPayments: InvoiceToPayment[];
|
|
1694
|
+
paymentStatus: PaymentStatusEnum;
|
|
1695
|
+
bondFee?: number;
|
|
1696
|
+
stripeFee?: number;
|
|
1803
1697
|
currency: CurrencyEnum;
|
|
1804
|
-
|
|
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;
|
|
1805
1761
|
startDate: Date;
|
|
1806
1762
|
endDate: Date;
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
originalPrice?: number;
|
|
1763
|
+
price: number;
|
|
1764
|
+
overridesPrice: boolean;
|
|
1810
1765
|
deletedAt?: Date;
|
|
1766
|
+
group?: EntitlementGroup;
|
|
1811
1767
|
discountMethod?: DiscountMethodsEnum;
|
|
1812
1768
|
discountValue?: number;
|
|
1813
|
-
taxIncludedPrice?: number;
|
|
1814
1769
|
}
|
|
1815
1770
|
export declare class Product extends OrganizationConnectionBaseEntity {
|
|
1816
1771
|
name: string;
|
|
@@ -1862,29 +1817,23 @@ export declare class Product extends OrganizationConnectionBaseEntity {
|
|
|
1862
1817
|
activityTimes: ActivityTimes[];
|
|
1863
1818
|
purchasedResources: PurchasedResource[];
|
|
1864
1819
|
}
|
|
1865
|
-
export declare class
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
maxMonths?: number;
|
|
1883
|
-
dayOfMonth?: number;
|
|
1884
|
-
name: string;
|
|
1885
|
-
deletedAt?: Date;
|
|
1886
|
-
schedule: PaymentPlanSchedule[];
|
|
1887
|
-
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;
|
|
1888
1837
|
}
|
|
1889
1838
|
export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
1890
1839
|
productId: number;
|
|
@@ -1897,6 +1846,32 @@ export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
|
1897
1846
|
productPackages: ProductPackage[];
|
|
1898
1847
|
resourceName?: string;
|
|
1899
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
|
+
}
|
|
1900
1875
|
export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
|
|
1901
1876
|
productId: number;
|
|
1902
1877
|
variantTitleId: number;
|
|
@@ -1905,13 +1880,6 @@ export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
|
|
|
1905
1880
|
productId: number;
|
|
1906
1881
|
variantId: number;
|
|
1907
1882
|
}
|
|
1908
|
-
export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
|
|
1909
|
-
productId: number;
|
|
1910
|
-
customerId: number;
|
|
1911
|
-
customer: Customer;
|
|
1912
|
-
deletedAt?: Date;
|
|
1913
|
-
product: Product;
|
|
1914
|
-
}
|
|
1915
1883
|
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1916
1884
|
productId: number;
|
|
1917
1885
|
userId: number;
|
|
@@ -1929,28 +1897,6 @@ export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
|
1929
1897
|
slots?: Slot[];
|
|
1930
1898
|
addons?: Addon[];
|
|
1931
1899
|
}
|
|
1932
|
-
export declare class Program extends BondBaseEntity {
|
|
1933
|
-
type: ProgramTypesEnum;
|
|
1934
|
-
name: string;
|
|
1935
|
-
sport: SportsEnum;
|
|
1936
|
-
minAge: string;
|
|
1937
|
-
maxAge: string;
|
|
1938
|
-
gender: GenderEnum;
|
|
1939
|
-
level: LevelOfPlayEnum[] | null;
|
|
1940
|
-
description: string | null;
|
|
1941
|
-
GL?: string | null;
|
|
1942
|
-
status: PublishingStatusEnum;
|
|
1943
|
-
mainMedia: Media;
|
|
1944
|
-
organizationId: number;
|
|
1945
|
-
userCreatorId: number;
|
|
1946
|
-
programHighlights: ProgramHighlights[];
|
|
1947
|
-
linkSEO: string;
|
|
1948
|
-
longDescription?: string;
|
|
1949
|
-
requiredProductIds: number[] | null;
|
|
1950
|
-
deletedAt?: Date;
|
|
1951
|
-
programSeason: ProgramSeason[];
|
|
1952
|
-
purchasedResources: PurchasedResource[];
|
|
1953
|
-
}
|
|
1954
1900
|
export declare class ProgramHighlights extends BondBaseEntity {
|
|
1955
1901
|
type: ProgramHighlightTypeEnum;
|
|
1956
1902
|
ordinal: number | null;
|
|
@@ -2035,39 +1981,19 @@ export declare class PurchasedResource extends OrganizationConnectionBaseEntity
|
|
|
2035
1981
|
product?: Product;
|
|
2036
1982
|
event?: Event;
|
|
2037
1983
|
}
|
|
2038
|
-
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
2039
|
-
title: string | null;
|
|
2040
|
-
answerTitle: AnswerTitle;
|
|
2041
|
-
}
|
|
2042
|
-
export declare class Questions extends BondBaseEntity {
|
|
2043
|
-
questionType: string | null;
|
|
2044
|
-
ordinal: number | null;
|
|
2045
|
-
pageOrdinal: number | null;
|
|
2046
|
-
isActive: boolean | null;
|
|
2047
|
-
isMandatory: boolean | null;
|
|
2048
|
-
metaData: any | null;
|
|
2049
|
-
question: string | null;
|
|
2050
|
-
creatorId: number | null;
|
|
2051
|
-
creatorType: string | null;
|
|
2052
|
-
userCreatorId: number | null;
|
|
2053
|
-
ownerId: number | null;
|
|
2054
|
-
questionnaireId: number | null;
|
|
2055
|
-
}
|
|
2056
1984
|
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2057
1985
|
reason: string;
|
|
2058
1986
|
ordinal: number;
|
|
2059
1987
|
deletedAt: Date;
|
|
2060
1988
|
}
|
|
2061
|
-
export declare class
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
closeTime?: string;
|
|
2070
|
-
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;
|
|
2071
1997
|
}
|
|
2072
1998
|
export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
2073
1999
|
name?: string;
|
|
@@ -2076,7 +2002,7 @@ export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
|
2076
2002
|
status?: string;
|
|
2077
2003
|
privacySetting?: string;
|
|
2078
2004
|
reservationType?: string;
|
|
2079
|
-
|
|
2005
|
+
invoiceId?: string;
|
|
2080
2006
|
customerId?: number;
|
|
2081
2007
|
length?: number;
|
|
2082
2008
|
price?: number;
|
|
@@ -2101,40 +2027,56 @@ export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
|
2101
2027
|
publicNotes?: string;
|
|
2102
2028
|
slots?: Slot[];
|
|
2103
2029
|
}
|
|
2104
|
-
export declare class
|
|
2030
|
+
export declare class Program extends BondBaseEntity {
|
|
2031
|
+
type: ProgramTypesEnum;
|
|
2105
2032
|
name: string;
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
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;
|
|
2113
2041
|
mainMedia: Media;
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
isAddOn: boolean;
|
|
2121
|
-
ages?: ResourceAgesEnum;
|
|
2042
|
+
organizationId: number;
|
|
2043
|
+
userCreatorId: number;
|
|
2044
|
+
programHighlights: ProgramHighlights[];
|
|
2045
|
+
linkSEO: string;
|
|
2046
|
+
longDescription?: string;
|
|
2047
|
+
requiredProductIds: number[] | null;
|
|
2122
2048
|
deletedAt?: Date;
|
|
2123
|
-
|
|
2124
|
-
facilities: Facility[];
|
|
2125
|
-
slots?: Slot[];
|
|
2126
|
-
addons?: Addon[];
|
|
2127
|
-
facilityId: number;
|
|
2128
|
-
facility: Facility;
|
|
2049
|
+
programSeason: ProgramSeason[];
|
|
2129
2050
|
purchasedResources: PurchasedResource[];
|
|
2130
|
-
linkSEO: string;
|
|
2131
2051
|
}
|
|
2132
|
-
export declare class
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
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;
|
|
2138
2080
|
}
|
|
2139
2081
|
export declare class School extends BondBaseEntity {
|
|
2140
2082
|
name: string | null;
|
|
@@ -2158,11 +2100,20 @@ export declare class SeasonAttendee extends BondBaseEntity {
|
|
|
2158
2100
|
deletedAt?: Date;
|
|
2159
2101
|
purchasedResource: PurchasedResource;
|
|
2160
2102
|
}
|
|
2161
|
-
export declare class
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
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;
|
|
2166
2117
|
}
|
|
2167
2118
|
export declare class SeasonPool extends BondBaseEntity {
|
|
2168
2119
|
seasonId?: number;
|
|
@@ -2179,19 +2130,59 @@ export declare class SeasonPool extends BondBaseEntity {
|
|
|
2179
2130
|
purchasedResource: PurchasedResource;
|
|
2180
2131
|
season: LeagueSeason;
|
|
2181
2132
|
}
|
|
2182
|
-
export declare class
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
divisionId: number | null;
|
|
2189
|
-
metaData: any | null;
|
|
2190
|
-
team: Team;
|
|
2133
|
+
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2134
|
+
name: string;
|
|
2135
|
+
facilityId: number;
|
|
2136
|
+
parentSlotId: number;
|
|
2137
|
+
childrenSlotIds: number[];
|
|
2138
|
+
deletedAt?: Date;
|
|
2191
2139
|
}
|
|
2192
|
-
export declare class
|
|
2193
|
-
|
|
2194
|
-
|
|
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[];
|
|
2195
2186
|
}
|
|
2196
2187
|
export declare class Station extends OrganizationConnectionBaseEntity {
|
|
2197
2188
|
name: string;
|
|
@@ -2204,21 +2195,20 @@ export declare class Station extends OrganizationConnectionBaseEntity {
|
|
|
2204
2195
|
subcategories: Subcategory[];
|
|
2205
2196
|
shifts?: Shift[];
|
|
2206
2197
|
}
|
|
2207
|
-
export declare class
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
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;
|
|
2214
2206
|
}
|
|
2215
|
-
export declare class
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
stationToSubcategories: StationToSubcategory[];
|
|
2221
|
-
stations: Station[];
|
|
2207
|
+
export declare class SeasonDivisions extends BondBaseEntity {
|
|
2208
|
+
name: string | null;
|
|
2209
|
+
ordinal: number | null;
|
|
2210
|
+
seasonId: number | null;
|
|
2211
|
+
color: string | null;
|
|
2222
2212
|
}
|
|
2223
2213
|
export declare class Team extends BondBaseEntity {
|
|
2224
2214
|
name: string | null;
|
|
@@ -2254,14 +2244,12 @@ export declare class Team extends BondBaseEntity {
|
|
|
2254
2244
|
gender: number | null;
|
|
2255
2245
|
questionnaireId: number | null;
|
|
2256
2246
|
}
|
|
2257
|
-
export declare class
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
tokenExpirationDate: Date;
|
|
2264
|
-
isUsed: boolean;
|
|
2247
|
+
export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
|
|
2248
|
+
productId: number;
|
|
2249
|
+
customerId: number;
|
|
2250
|
+
customer: Customer;
|
|
2251
|
+
deletedAt?: Date;
|
|
2252
|
+
product: Product;
|
|
2265
2253
|
}
|
|
2266
2254
|
export declare class TeamMember extends BondBaseEntity {
|
|
2267
2255
|
teamId: number | null;
|
|
@@ -2272,50 +2260,37 @@ export declare class TeamMember extends BondBaseEntity {
|
|
|
2272
2260
|
role: TeamMemberRoleEnum;
|
|
2273
2261
|
user: User;
|
|
2274
2262
|
}
|
|
2275
|
-
export declare class
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
allowMultiSignHack: boolean | null;
|
|
2303
|
-
deletedAt: Date | null;
|
|
2304
|
-
userInFamilyAccounts: UserInFamilyAccount[];
|
|
2305
|
-
athlete: Athlete;
|
|
2306
|
-
eventAttendees: EventAttendee[];
|
|
2307
|
-
seasonAttendees: SeasonAttendee[];
|
|
2308
|
-
linkedAccounts: LinkedAccounts[];
|
|
2309
|
-
profilePicture: Media;
|
|
2310
|
-
usersRoles: UserRole[];
|
|
2311
|
-
orderNotes: OrderNote[];
|
|
2312
|
-
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;
|
|
2313
2290
|
}
|
|
2314
|
-
export declare class
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
entityType: UserAuthorizationsTypeEnum;
|
|
2318
|
-
user: User;
|
|
2291
|
+
export declare class VariantTitle extends OrganizationConnectionBaseEntity {
|
|
2292
|
+
name: string;
|
|
2293
|
+
variants: Variant[];
|
|
2319
2294
|
}
|
|
2320
2295
|
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
2321
2296
|
familyAccountId: number;
|
|
@@ -2325,20 +2300,25 @@ export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
|
2325
2300
|
familyAccount: FamilyAccount;
|
|
2326
2301
|
deletedAt?: Date;
|
|
2327
2302
|
}
|
|
2328
|
-
export declare class
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
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;
|
|
2332
2312
|
}
|
|
2333
|
-
export declare class
|
|
2334
|
-
|
|
2335
|
-
|
|
2313
|
+
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2314
|
+
entityId: number | null;
|
|
2315
|
+
userId: number | null;
|
|
2316
|
+
entityType: UserAuthorizationsTypeEnum;
|
|
2317
|
+
user: User;
|
|
2336
2318
|
}
|
|
2337
|
-
export declare class
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
variantTitle: VariantTitle;
|
|
2341
|
-
deletedAt?: Date;
|
|
2319
|
+
export declare class SpacesDependency extends BondBaseEntity {
|
|
2320
|
+
blockingSpaceId: number;
|
|
2321
|
+
blockedSpaceId: number;
|
|
2342
2322
|
}
|
|
2343
2323
|
export declare class WebflowOrganizationConfiguration extends OrganizationConnectionBaseEntity {
|
|
2344
2324
|
projectToken: string;
|
|
@@ -2348,10 +2328,29 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
|
|
|
2348
2328
|
membershipCollectionId?: string;
|
|
2349
2329
|
programsCollectionId?: string;
|
|
2350
2330
|
}
|
|
2351
|
-
export declare
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
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;
|
|
2349
|
+
}
|
|
2350
|
+
export declare enum EntitlementTermsTypesEnum {
|
|
2351
|
+
QUESTION = "question",
|
|
2352
|
+
CITY = "city",
|
|
2353
|
+
MEMBERSHIP = "membership"
|
|
2355
2354
|
}
|
|
2356
2355
|
export declare enum ResourceNameTypeEnum {
|
|
2357
2356
|
EVENT = "event",
|
|
@@ -2372,7 +2371,7 @@ export declare enum ResourceNameTypeEnum {
|
|
|
2372
2371
|
GAMESLOT = "gameslot",
|
|
2373
2372
|
SPACE = "space",
|
|
2374
2373
|
RESERVATION = "reservation",
|
|
2375
|
-
|
|
2374
|
+
INVOICE = "invoice",
|
|
2376
2375
|
CUSTOMER = "customer",
|
|
2377
2376
|
PACKAGE = "package",
|
|
2378
2377
|
FACILITY = "facility",
|
|
@@ -2511,7 +2510,8 @@ export declare enum PaymentStatusEnum {
|
|
|
2511
2510
|
VOID = "void"
|
|
2512
2511
|
}
|
|
2513
2512
|
export declare enum ReservationExtendedEnum {
|
|
2514
|
-
|
|
2513
|
+
PURCHASE_INVOICE = "purchase_invoice",
|
|
2514
|
+
PURCHASE_ORDER_DEPRECATED = "purchase_order"
|
|
2515
2515
|
}
|
|
2516
2516
|
export declare type ReservationPaymentStatusEnum = PaymentStatusEnum | ReservationExtendedEnum;
|
|
2517
2517
|
export declare enum ReservationStatusEnum {
|
|
@@ -2565,7 +2565,7 @@ export declare enum ProductTypesEnum {
|
|
|
2565
2565
|
LEAGUE_REGISTRATION = "league_registration",
|
|
2566
2566
|
TAX = "tax"
|
|
2567
2567
|
}
|
|
2568
|
-
export declare enum
|
|
2568
|
+
export declare enum InvoiceStatusEnum {
|
|
2569
2569
|
ACTIVE = "active",
|
|
2570
2570
|
WAITING_ADMIN = "waitingAdmin",
|
|
2571
2571
|
WAITING_CLIENT = "waitingClient",
|
|
@@ -2913,8 +2913,8 @@ export interface IChildProduct {
|
|
|
2913
2913
|
export interface ISeasonAttendeeInfo {
|
|
2914
2914
|
applicationAnswers: Answer[];
|
|
2915
2915
|
segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
2916
|
-
invoices:
|
|
2917
|
-
payments:
|
|
2916
|
+
invoices: Invoice[];
|
|
2917
|
+
payments: Payment[];
|
|
2918
2918
|
products: Product[];
|
|
2919
2919
|
redeemNext: ProductsUsers;
|
|
2920
2920
|
}
|
|
@@ -2942,10 +2942,10 @@ export declare class EventAsSeasonSegment extends Event {
|
|
|
2942
2942
|
export interface ITokenResonse {
|
|
2943
2943
|
token: string;
|
|
2944
2944
|
}
|
|
2945
|
-
export interface
|
|
2945
|
+
export interface IStripeBondPayments {
|
|
2946
2946
|
paidStripePaymentIntent: Stripe.PaymentIntent;
|
|
2947
|
-
|
|
2948
|
-
|
|
2947
|
+
bondPaidPayment: Payment;
|
|
2948
|
+
invoice?: Invoice;
|
|
2949
2949
|
customer?: Customer;
|
|
2950
2950
|
}
|
|
2951
2951
|
export interface IPartialPaymentData {
|
|
@@ -3017,9 +3017,9 @@ export interface ISingleMemberForRenewal {
|
|
|
3017
3017
|
member_organizationId: number;
|
|
3018
3018
|
line_paidAmount: number;
|
|
3019
3019
|
line_productId: number;
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3020
|
+
invoice_payingUserId: number;
|
|
3021
|
+
invoice_paymentMethodId: string;
|
|
3022
|
+
invoice_paymentType: PaymentMethodTypeEnum;
|
|
3023
3023
|
endDate: Date;
|
|
3024
3024
|
membership_name: string;
|
|
3025
3025
|
user_firstName: string;
|
|
@@ -3030,7 +3030,7 @@ export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
|
|
|
3030
3030
|
package_parentProductId: number;
|
|
3031
3031
|
line2_paidAmount: number;
|
|
3032
3032
|
familyid: number;
|
|
3033
|
-
|
|
3033
|
+
invoice_id: number;
|
|
3034
3034
|
}
|
|
3035
3035
|
export interface IResourceRegistrationData {
|
|
3036
3036
|
id: number;
|
|
@@ -3182,7 +3182,7 @@ export interface ISessionsLandingPage {
|
|
|
3182
3182
|
lateRegistrationStartDate?: Date;
|
|
3183
3183
|
lateRegistrationEndDate?: Date;
|
|
3184
3184
|
attendeeCount?: number;
|
|
3185
|
-
segmentsOrEvents:
|
|
3185
|
+
segmentsOrEvents: "segment" | "event";
|
|
3186
3186
|
}
|
|
3187
3187
|
export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
|
|
3188
3188
|
hasRequiredMembership: boolean;
|
|
@@ -3240,20 +3240,6 @@ export declare class ColumnNumericTransformer {
|
|
|
3240
3240
|
from(data: string): number;
|
|
3241
3241
|
}
|
|
3242
3242
|
export declare function convertToNumber(data: string): number;
|
|
3243
|
-
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3244
|
-
name?: string;
|
|
3245
|
-
genderStr?: string;
|
|
3246
|
-
parentID?: string;
|
|
3247
|
-
partnerID?: string;
|
|
3248
|
-
membershipName?: string;
|
|
3249
|
-
membershipExpDate?: string;
|
|
3250
|
-
membershipCreationDate?: string;
|
|
3251
|
-
bondMembershipID?: number;
|
|
3252
|
-
}
|
|
3253
|
-
export declare class AddFamilyDto {
|
|
3254
|
-
parents: AddImportedCustomerDto[];
|
|
3255
|
-
children: AddImportedCustomerDto[];
|
|
3256
|
-
}
|
|
3257
3243
|
export declare enum ImportPaymentTypeEnum {
|
|
3258
3244
|
CREDIT_CARD = "card",
|
|
3259
3245
|
ACH = "ach",
|
|
@@ -3289,14 +3275,9 @@ export declare class ImportedPaymentDto {
|
|
|
3289
3275
|
date: string;
|
|
3290
3276
|
time: string;
|
|
3291
3277
|
}
|
|
3292
|
-
export declare class
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
export declare class ProductImportDto {
|
|
3296
|
-
product: Product;
|
|
3297
|
-
prices: Price[];
|
|
3298
|
-
resourceIds: number[];
|
|
3299
|
-
oldId: number;
|
|
3278
|
+
export declare class GameSlots extends BondBaseEntity {
|
|
3279
|
+
entityType: string;
|
|
3280
|
+
entityId: number;
|
|
3300
3281
|
}
|
|
3301
3282
|
export declare class PunchPassDto {
|
|
3302
3283
|
CustomerID: string;
|
|
@@ -3305,92 +3286,41 @@ export declare class PunchPassDto {
|
|
|
3305
3286
|
BondSessionID: number;
|
|
3306
3287
|
ProductID: number;
|
|
3307
3288
|
}
|
|
3308
|
-
export declare class
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
startDate?: string;
|
|
3317
|
-
startTime?: string;
|
|
3318
|
-
endDate?: string;
|
|
3319
|
-
endTime?: string;
|
|
3320
|
-
bondProductId?: number;
|
|
3321
|
-
}
|
|
3322
|
-
export declare class ImportResourceMappingDto {
|
|
3323
|
-
bondResourceID?: string;
|
|
3324
|
-
resourceName?: string;
|
|
3325
|
-
}
|
|
3326
|
-
export declare class ImportProductMappingDto {
|
|
3327
|
-
productID?: string;
|
|
3328
|
-
productName?: string;
|
|
3289
|
+
export declare class MatchParticipants extends BondBaseEntity {
|
|
3290
|
+
matchId: number | null;
|
|
3291
|
+
ordinal: number | null;
|
|
3292
|
+
outcomeOrdinal: number | null;
|
|
3293
|
+
resultMetaData: any | null;
|
|
3294
|
+
points: number | null;
|
|
3295
|
+
score: number | null;
|
|
3296
|
+
gameSlotId: number | null;
|
|
3329
3297
|
}
|
|
3330
|
-
export declare class
|
|
3331
|
-
|
|
3332
|
-
bondResourceID: string;
|
|
3333
|
-
resourceName: string;
|
|
3334
|
-
subResourceName: string;
|
|
3335
|
-
startDate: string;
|
|
3336
|
-
startTime: string;
|
|
3337
|
-
endDate: string;
|
|
3338
|
-
endTime: string;
|
|
3339
|
-
sportId?: string;
|
|
3340
|
-
setupDuration: string;
|
|
3341
|
-
setupIncludeInCosts: string;
|
|
3342
|
-
takedownDuration: string;
|
|
3343
|
-
takedownIncludeInCosts: string;
|
|
3344
|
-
slotProduct: ImportedSlotProductDto;
|
|
3345
|
-
addonProducts: ImportedSlotProductDto[];
|
|
3346
|
-
totalPrice: string;
|
|
3298
|
+
export declare class ProductIdsDto {
|
|
3299
|
+
productIds?: number[];
|
|
3347
3300
|
}
|
|
3348
|
-
export declare class
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
|
|
3353
|
-
downPayment: string;
|
|
3354
|
-
paid: string;
|
|
3355
|
-
invoiceId: string;
|
|
3356
|
-
slots?: ImportedSlotDto[];
|
|
3357
|
-
addons?: ImportedSlotProductDto[];
|
|
3301
|
+
export declare class ProductImportDto {
|
|
3302
|
+
product: Product;
|
|
3303
|
+
prices: Price[];
|
|
3304
|
+
resourceIds: number[];
|
|
3305
|
+
oldId: number;
|
|
3358
3306
|
}
|
|
3359
3307
|
export declare class Matches extends BondBaseEntity {
|
|
3360
3308
|
eventId: number | null;
|
|
3361
3309
|
status: number | null;
|
|
3362
3310
|
excludeStandings: boolean | null;
|
|
3363
3311
|
}
|
|
3364
|
-
export declare class RoundEvents extends BaseEntity {
|
|
3365
|
-
roundId: number;
|
|
3366
|
-
eventId: number;
|
|
3367
|
-
seriesId: number | null;
|
|
3368
|
-
createdAt: Date;
|
|
3369
|
-
updatedAt: Date;
|
|
3370
|
-
}
|
|
3371
3312
|
export declare class SeasonRounds extends BondBaseEntity {
|
|
3372
3313
|
seasonId: number;
|
|
3373
3314
|
ordinal?: number;
|
|
3374
3315
|
divisionId?: number;
|
|
3375
3316
|
name: string;
|
|
3376
3317
|
}
|
|
3377
|
-
export declare class
|
|
3378
|
-
|
|
3379
|
-
eventId: number
|
|
3380
|
-
|
|
3381
|
-
|
|
3382
|
-
|
|
3383
|
-
name: string;
|
|
3384
|
-
locked?: Date;
|
|
3385
|
-
}
|
|
3386
|
-
export interface ValidatedMonthAndDay {
|
|
3387
|
-
valid: boolean;
|
|
3388
|
-
month?: number;
|
|
3389
|
-
day?: number;
|
|
3390
|
-
}
|
|
3391
|
-
export interface ValidationReason {
|
|
3392
|
-
valid: boolean;
|
|
3393
|
-
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;
|
|
3394
3324
|
}
|
|
3395
3325
|
export interface PaymentStatus {
|
|
3396
3326
|
parentId: number;
|
|
@@ -3404,23 +3334,21 @@ export interface PaymentStatusesDict {
|
|
|
3404
3334
|
export interface PaymentStatusDict {
|
|
3405
3335
|
[id: number]: ReservationPaymentStatusEnum;
|
|
3406
3336
|
}
|
|
3407
|
-
export declare class CreateMonitorConfigDto {
|
|
3408
|
-
facilityId: number;
|
|
3409
|
-
name: string;
|
|
3410
|
-
code: string;
|
|
3411
|
-
config: any;
|
|
3412
|
-
}
|
|
3413
|
-
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3414
|
-
facilityId: number;
|
|
3415
|
-
code: string;
|
|
3416
|
-
config?: any;
|
|
3417
|
-
}
|
|
3418
3337
|
export declare class ByOrganizationIdDto {
|
|
3419
3338
|
organizationId: number;
|
|
3420
3339
|
}
|
|
3421
3340
|
export declare class OptionalFindByOrganizationIdDto {
|
|
3422
3341
|
organizationId?: number;
|
|
3423
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
|
+
}
|
|
3424
3352
|
export declare class Organization extends BondBaseEntity {
|
|
3425
3353
|
name: string | null;
|
|
3426
3354
|
email: string | null;
|
|
@@ -3470,49 +3398,134 @@ export declare class Organization extends BondBaseEntity {
|
|
|
3470
3398
|
brandings: OrganizationBranding[];
|
|
3471
3399
|
brandingsV2?: OrganizationBranding[];
|
|
3472
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
|
+
}
|
|
3473
3423
|
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3474
3424
|
key?: string;
|
|
3475
3425
|
vaule?: string;
|
|
3476
3426
|
version: number;
|
|
3477
3427
|
organization: Organization;
|
|
3478
3428
|
}
|
|
3479
|
-
export declare class
|
|
3480
|
-
|
|
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;
|
|
3481
3439
|
}
|
|
3482
3440
|
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3483
3441
|
organisationId: number | null;
|
|
3484
3442
|
userId: number | null;
|
|
3485
3443
|
}
|
|
3486
|
-
export declare class
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
export declare class PaymentIdDto {
|
|
3490
|
-
paymentId: number;
|
|
3491
|
-
}
|
|
3492
|
-
export declare class InvoiceIdDto {
|
|
3493
|
-
invoiceId: number;
|
|
3444
|
+
export declare class VoidDto {
|
|
3445
|
+
lineItems: VoidLineItemDto[];
|
|
3446
|
+
meta?: RevertMetaDto;
|
|
3494
3447
|
}
|
|
3495
|
-
export declare class
|
|
3496
|
-
|
|
3448
|
+
export declare class VoidLineItemDto {
|
|
3449
|
+
id: number;
|
|
3450
|
+
quantity?: number;
|
|
3451
|
+
isEdit?: boolean;
|
|
3452
|
+
amount?: number;
|
|
3497
3453
|
}
|
|
3498
|
-
export declare class
|
|
3499
|
-
|
|
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;
|
|
3500
3467
|
}
|
|
3501
|
-
export declare class
|
|
3502
|
-
|
|
3468
|
+
export declare class ImportResourceMappingDto {
|
|
3469
|
+
bondResourceID?: string;
|
|
3470
|
+
resourceName?: string;
|
|
3503
3471
|
}
|
|
3504
|
-
export declare class
|
|
3505
|
-
|
|
3506
|
-
|
|
3472
|
+
export declare class ImportProductMappingDto {
|
|
3473
|
+
productID?: string;
|
|
3474
|
+
productName?: string;
|
|
3507
3475
|
}
|
|
3508
|
-
export declare class
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
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;
|
|
3513
3493
|
}
|
|
3514
|
-
export declare class
|
|
3515
|
-
|
|
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[];
|
|
3516
3529
|
}
|
|
3517
3530
|
export declare class ByPaymentFilter extends PaginationQuery {
|
|
3518
3531
|
paymentType?: string;
|
|
@@ -3520,6 +3533,103 @@ export declare class ByPaymentFilter extends PaginationQuery {
|
|
|
3520
3533
|
}
|
|
3521
3534
|
export declare class FindPayments extends ByPaymentFilter {
|
|
3522
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
|
+
}
|
|
3523
3633
|
export declare class BasicInstallmentDataDto extends ByOrganizationIdAndInvoiceIdDto {
|
|
3524
3634
|
userId: number;
|
|
3525
3635
|
}
|
|
@@ -3555,7 +3665,7 @@ export declare class PaymentDataDto {
|
|
|
3555
3665
|
}
|
|
3556
3666
|
export declare class SendReceiptDataDto {
|
|
3557
3667
|
invoiceId: number;
|
|
3558
|
-
deliveryMethod:
|
|
3668
|
+
deliveryMethod: "email" | "sms";
|
|
3559
3669
|
sendToAddress?: string;
|
|
3560
3670
|
}
|
|
3561
3671
|
export declare class PaymentPlanSchduleDto {
|
|
@@ -3570,8 +3680,8 @@ export declare class PaymentPlanDto {
|
|
|
3570
3680
|
export declare class CalcPaymentPlanDto extends PaymentPlanDto {
|
|
3571
3681
|
amountToSplit: number;
|
|
3572
3682
|
}
|
|
3573
|
-
export declare class
|
|
3574
|
-
|
|
3683
|
+
export declare class AddToInvoiceDto {
|
|
3684
|
+
invoiceId: number;
|
|
3575
3685
|
userId: number;
|
|
3576
3686
|
productsToAdd: PurchaseProductDto[];
|
|
3577
3687
|
resourcesToRemove: PurchaseProductDto[];
|
|
@@ -3595,163 +3705,117 @@ export declare class RemoveResourceDto {
|
|
|
3595
3705
|
lineItemId: number;
|
|
3596
3706
|
}
|
|
3597
3707
|
export declare class SendRequestDto {
|
|
3598
|
-
|
|
3708
|
+
invoiceId: number;
|
|
3599
3709
|
userId: number;
|
|
3600
3710
|
sendToEmail: string;
|
|
3601
3711
|
memo?: string;
|
|
3602
3712
|
}
|
|
3603
|
-
export declare class
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
export declare class PaymentMethodDto {
|
|
3617
|
-
paymentMethodType: PaymentMethodTypeEnum;
|
|
3618
|
-
amount: number;
|
|
3619
|
-
paymentMethodId?: string;
|
|
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[];
|
|
3620
3726
|
}
|
|
3621
|
-
export declare class
|
|
3622
|
-
|
|
3623
|
-
|
|
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;
|
|
3624
3793
|
}
|
|
3625
|
-
export declare class
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
|
|
3630
|
-
|
|
3631
|
-
|
|
3632
|
-
|
|
3633
|
-
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
paidSum: number;
|
|
3651
|
-
}
|
|
3652
|
-
export interface ExtendedLineItems {
|
|
3653
|
-
memberships: LineItems[];
|
|
3654
|
-
programs: LineItems[];
|
|
3655
|
-
leagues: LineItems[];
|
|
3656
|
-
rentals: LineItems[];
|
|
3657
|
-
products: LineItems[];
|
|
3658
|
-
events: LineItems[];
|
|
3659
|
-
}
|
|
3660
|
-
export declare class FindInvoices extends ByPaymentFilter {
|
|
3661
|
-
id?: number;
|
|
3662
|
-
months?: string;
|
|
3663
|
-
}
|
|
3664
|
-
export interface RefundResult extends PaymentsResults {
|
|
3665
|
-
successfulLineItems: RefundLineItemAmountDto[];
|
|
3666
|
-
failedLineItems: RefundLineItemAmountDto[];
|
|
3667
|
-
order?: Order;
|
|
3668
|
-
}
|
|
3669
|
-
export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
3670
|
-
successfulLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3671
|
-
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3672
|
-
totalAmountProcessed: number;
|
|
3673
|
-
}
|
|
3674
|
-
export declare class LineItemDto {
|
|
3675
|
-
id?: number;
|
|
3676
|
-
orderId?: number;
|
|
3677
|
-
type: LineItemsStatusEnum;
|
|
3678
|
-
organizationId: number;
|
|
3679
|
-
userId?: number;
|
|
3680
|
-
productId: number;
|
|
3681
|
-
product?: Product;
|
|
3682
|
-
productType: ProductTypesEnum;
|
|
3683
|
-
ordinal?: number;
|
|
3684
|
-
price: number;
|
|
3685
|
-
originalPrice?: number;
|
|
3686
|
-
paidAmount?: number;
|
|
3687
|
-
currency: CurrencyEnum;
|
|
3688
|
-
paymentStatus?: PaymentStatusEnum;
|
|
3689
|
-
isRefunded?: boolean;
|
|
3690
|
-
isTaxInclusive?: boolean;
|
|
3691
|
-
taxPrecent?: number;
|
|
3692
|
-
unitPrice?: number;
|
|
3693
|
-
quantity: number;
|
|
3694
|
-
resources?: PurchasedResourceDto[];
|
|
3695
|
-
relationType?: 'reservation-addon' | 'slots' | 'slot_addons';
|
|
3696
|
-
unitPriceWithTax?: number;
|
|
3697
|
-
unitTaxPrice?: number;
|
|
3698
|
-
parentOrdinal?: number;
|
|
3699
|
-
}
|
|
3700
|
-
export declare class MaintenanceDto {
|
|
3701
|
-
id?: number;
|
|
3702
|
-
title: string;
|
|
3703
|
-
durationValue: number;
|
|
3704
|
-
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3705
|
-
maintenanceTiming: MaintenanceTimingEnum;
|
|
3706
|
-
}
|
|
3707
|
-
export declare class OrderDto {
|
|
3708
|
-
orderId?: string | null;
|
|
3709
|
-
organizationId: number;
|
|
3710
|
-
price: number | null;
|
|
3711
|
-
totalTax?: number;
|
|
3712
|
-
totalWithoutTax?: number;
|
|
3713
|
-
status?: OrderStatusEnum;
|
|
3714
|
-
lineItems: LineItemDto[];
|
|
3715
|
-
paymentStatus?: PaymentStatusEnum;
|
|
3716
|
-
currency: CurrencyEnum;
|
|
3717
|
-
creatingUserId?: number;
|
|
3718
|
-
platform?: PlatformsEnum;
|
|
3719
|
-
}
|
|
3720
|
-
export declare class BaseInvoiceDto {
|
|
3721
|
-
platform: PlatformsEnum;
|
|
3722
|
-
shiftId?: number;
|
|
3723
|
-
}
|
|
3724
|
-
export declare class InvoiceSlotsDto extends BaseInvoiceDto {
|
|
3725
|
-
purchasingUserId: number;
|
|
3726
|
-
slots: number[];
|
|
3727
|
-
}
|
|
3728
|
-
export declare class SaveSlotToSegmenResultDto extends AddSlotToSegmenResultDto {
|
|
3729
|
-
reservationTotalPrice: number;
|
|
3730
|
-
}
|
|
3731
|
-
export declare class UpdateInvoiceOptionsDto {
|
|
3732
|
-
basicInfoData?: BaseInvoiceDto;
|
|
3733
|
-
addToOrderId?: number;
|
|
3734
|
-
}
|
|
3735
|
-
export declare class UpdateInvoiceDto extends UpdateInvoiceOptionsDto {
|
|
3736
|
-
isInvoiced: boolean;
|
|
3737
|
-
}
|
|
3738
|
-
export declare class InvoiceReservationItemsDto extends UpdateInvoiceOptionsDto {
|
|
3739
|
-
slotsIds?: number[];
|
|
3740
|
-
addonsIds?: number[];
|
|
3741
|
-
}
|
|
3742
|
-
export declare class AddSlotsDto extends UpdateInvoiceDto {
|
|
3743
|
-
slots: SlotDto[];
|
|
3744
|
-
}
|
|
3745
|
-
export declare class AddSegmentsDto extends UpdateInvoiceDto {
|
|
3746
|
-
segments: SegmentDto[];
|
|
3747
|
-
}
|
|
3748
|
-
export declare class PurchasedResourceDto {
|
|
3749
|
-
resourceId?: number;
|
|
3750
|
-
resourceType: ResourceNameTypeEnum;
|
|
3751
|
-
startDate?: string;
|
|
3752
|
-
startTime?: string;
|
|
3753
|
-
endDate?: string;
|
|
3754
|
-
endTime?: string;
|
|
3794
|
+
export declare class LineItemDto {
|
|
3795
|
+
id?: number;
|
|
3796
|
+
invoiceId?: number;
|
|
3797
|
+
type: LineItemsStatusEnum;
|
|
3798
|
+
organizationId: number;
|
|
3799
|
+
userId?: number;
|
|
3800
|
+
productId: number;
|
|
3801
|
+
product?: Product;
|
|
3802
|
+
productType: ProductTypesEnum;
|
|
3803
|
+
ordinal?: number;
|
|
3804
|
+
price: number;
|
|
3805
|
+
originalPrice?: number;
|
|
3806
|
+
paidAmount?: number;
|
|
3807
|
+
currency: CurrencyEnum;
|
|
3808
|
+
paymentStatus?: PaymentStatusEnum;
|
|
3809
|
+
isRefunded?: boolean;
|
|
3810
|
+
isTaxInclusive?: boolean;
|
|
3811
|
+
taxPrecent?: number;
|
|
3812
|
+
unitPrice?: number;
|
|
3813
|
+
quantity: number;
|
|
3814
|
+
resources?: PurchasedResourceDto[];
|
|
3815
|
+
relationType?: "reservation-addon" | "slots" | "slot_addons";
|
|
3816
|
+
unitPriceWithTax?: number;
|
|
3817
|
+
unitTaxPrice?: number;
|
|
3818
|
+
parentOrdinal?: number;
|
|
3755
3819
|
}
|
|
3756
3820
|
export declare class ReservationDto {
|
|
3757
3821
|
id?: number;
|
|
@@ -3763,7 +3827,7 @@ export declare class ReservationDto {
|
|
|
3763
3827
|
description?: string;
|
|
3764
3828
|
status?: ReservationStatusEnum;
|
|
3765
3829
|
privacySetting?: string;
|
|
3766
|
-
|
|
3830
|
+
invoiceId?: string;
|
|
3767
3831
|
price?: number;
|
|
3768
3832
|
paymentStatus?: ReservationPaymentStatusEnum;
|
|
3769
3833
|
creatorId?: number;
|
|
@@ -3822,7 +3886,7 @@ export declare class BookingData {
|
|
|
3822
3886
|
}
|
|
3823
3887
|
export declare class BookingDto extends BookingData {
|
|
3824
3888
|
reservation: ReservationDto;
|
|
3825
|
-
|
|
3889
|
+
invoiceId?: number;
|
|
3826
3890
|
}
|
|
3827
3891
|
export declare class FindReservationsByOrganizationIdFiltersDto extends PaginationQuery {
|
|
3828
3892
|
resourcesIds?: string;
|
|
@@ -3892,309 +3956,82 @@ export declare class ValidateEditSlotsDto extends UpdateSlotsDto {
|
|
|
3892
3956
|
export declare class AddAddonsDto {
|
|
3893
3957
|
addons: ProductPricesDto[];
|
|
3894
3958
|
}
|
|
3895
|
-
export declare class
|
|
3896
|
-
|
|
3897
|
-
|
|
3898
|
-
|
|
3899
|
-
|
|
3900
|
-
|
|
3901
|
-
|
|
3902
|
-
|
|
3903
|
-
|
|
3904
|
-
|
|
3905
|
-
|
|
3906
|
-
|
|
3907
|
-
id?: number;
|
|
3908
|
-
startDate: string;
|
|
3909
|
-
startTime?: string;
|
|
3910
|
-
endDate?: string;
|
|
3911
|
-
endTime?: string;
|
|
3912
|
-
slotDurationType: SlotDurationTypeEnum;
|
|
3913
|
-
durationEndsAfter?: number;
|
|
3914
|
-
durationUnit?: DurationUnitTypesEnum;
|
|
3915
|
-
frequency: FrequencyEnum;
|
|
3916
|
-
repeatEvery?: number;
|
|
3917
|
-
repeatOn?: number[];
|
|
3918
|
-
repeatEndDate?: string;
|
|
3919
|
-
numberOccurrences?: number;
|
|
3920
|
-
maintenance?: MaintenanceDto[];
|
|
3921
|
-
slots?: SlotDto[];
|
|
3922
|
-
}
|
|
3923
|
-
export declare class SlotDateTimeAndSpace {
|
|
3924
|
-
startDate: string;
|
|
3925
|
-
startTime?: string;
|
|
3926
|
-
endDate?: string;
|
|
3927
|
-
endTime?: string;
|
|
3928
|
-
spaceId: number;
|
|
3929
|
-
}
|
|
3930
|
-
export declare class SlotDto extends SlotDateTimeAndSpace {
|
|
3931
|
-
id?: number;
|
|
3932
|
-
reservationId?: number;
|
|
3933
|
-
occurrence?: number;
|
|
3934
|
-
title: string;
|
|
3935
|
-
creatorId?: number;
|
|
3936
|
-
creatorType?: string;
|
|
3937
|
-
userCreatorId?: number;
|
|
3938
|
-
timezone?: string;
|
|
3939
|
-
publicNotes?: string;
|
|
3940
|
-
privateNotes?: string;
|
|
3941
|
-
slotType: SlotTypeEnum;
|
|
3942
|
-
product?: Product;
|
|
3943
|
-
priceOverrideMeta?: {
|
|
3944
|
-
unitPrice: number;
|
|
3945
|
-
quantity: number;
|
|
3946
|
-
totalPrice: number;
|
|
3947
|
-
};
|
|
3948
|
-
addonPriceOverrideMeta?: {
|
|
3949
|
-
[addonProductId: number]: {
|
|
3950
|
-
unitPrice: number;
|
|
3951
|
-
quantity: number;
|
|
3952
|
-
totalPrice: number;
|
|
3953
|
-
};
|
|
3954
|
-
};
|
|
3955
|
-
addonProducts?: Product[];
|
|
3956
|
-
addonCalculatedPrice?: {
|
|
3957
|
-
productId: number;
|
|
3958
|
-
quantity: number;
|
|
3959
|
-
unitPrice: number;
|
|
3960
|
-
totalPrice: number;
|
|
3961
|
-
displayTotalWithTax?: number;
|
|
3962
|
-
displayUnitTax?: number;
|
|
3963
|
-
}[];
|
|
3964
|
-
addonsProductUserIds?: number[];
|
|
3965
|
-
segmentId?: number;
|
|
3966
|
-
seriesId?: number;
|
|
3967
|
-
eventId?: number;
|
|
3968
|
-
sportIds: number[];
|
|
3969
|
-
parentSlotId?: number;
|
|
3970
|
-
maintenanceDurationdurationType?: DurationUnitTypesEnum;
|
|
3971
|
-
maintenanceTiming?: MaintenanceTimingEnum;
|
|
3972
|
-
durationValue?: number;
|
|
3973
|
-
orderId?: number;
|
|
3974
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
3975
|
-
approvalStatus: ReservationStatusEnum;
|
|
3976
|
-
displayName?: string;
|
|
3977
|
-
internalName?: string;
|
|
3978
|
-
totalPrice?: number;
|
|
3979
|
-
relevantProducts?: Product[];
|
|
3980
|
-
maintenance?: MaintenanceDto[];
|
|
3981
|
-
maintenanceSlots?: SlotDto[];
|
|
3982
|
-
isPrivate: boolean;
|
|
3983
|
-
slotDurationType: SlotDurationTypeEnum;
|
|
3984
|
-
addonsIds?: number[];
|
|
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;
|
|
3985
3971
|
}
|
|
3986
|
-
declare class
|
|
3987
|
-
|
|
3988
|
-
|
|
3972
|
+
export declare class BaseInvoiceDto {
|
|
3973
|
+
platform: PlatformsEnum;
|
|
3974
|
+
shiftId?: number;
|
|
3989
3975
|
}
|
|
3990
|
-
export declare class
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
timezone: string;
|
|
3994
|
-
spaceId: number;
|
|
3976
|
+
export declare class InvoiceSlotsDto extends BaseInvoiceDto {
|
|
3977
|
+
purchasingUserId: number;
|
|
3978
|
+
slots: number[];
|
|
3995
3979
|
}
|
|
3996
|
-
declare class
|
|
3997
|
-
|
|
3998
|
-
resourcePackageAmount: number;
|
|
3999
|
-
resourcePackagePrice: number;
|
|
3980
|
+
export declare class SaveSlotToSegmenResultDto extends AddSlotToSegmenResultDto {
|
|
3981
|
+
reservationTotalPrice: number;
|
|
4000
3982
|
}
|
|
4001
|
-
export declare class
|
|
4002
|
-
|
|
4003
|
-
|
|
4004
|
-
dayOfWeek: number;
|
|
4005
|
-
startTime: string;
|
|
4006
|
-
description: string;
|
|
4007
|
-
sport: number;
|
|
4008
|
-
price: number;
|
|
4009
|
-
resourcePackageId: number;
|
|
4010
|
-
resourcePackageAmount: number;
|
|
4011
|
-
bookedSessions: BookedSessionDto[];
|
|
4012
|
-
addons: AddonDto[];
|
|
3983
|
+
export declare class UpdateInvoiceOptionsDto {
|
|
3984
|
+
basicInfoData?: BaseInvoiceDto;
|
|
3985
|
+
addToInvoiceId?: number;
|
|
4013
3986
|
}
|
|
4014
|
-
export declare class
|
|
4015
|
-
|
|
4016
|
-
reservations: ReservationV1Dto[];
|
|
4017
|
-
answers: AnswerDto[];
|
|
4018
|
-
paymentData: PurchasePaymentDto;
|
|
4019
|
-
skipPayment: boolean;
|
|
4020
|
-
cashPayment: boolean;
|
|
4021
|
-
requestOnly: boolean;
|
|
3987
|
+
export declare class UpdateInvoiceDto extends UpdateInvoiceOptionsDto {
|
|
3988
|
+
isInvoiced: boolean;
|
|
4022
3989
|
}
|
|
4023
|
-
export declare class
|
|
4024
|
-
|
|
4025
|
-
|
|
4026
|
-
productId: number;
|
|
4027
|
-
product?: Product;
|
|
4028
|
-
quantity: number;
|
|
4029
|
-
unitPrice: number;
|
|
4030
|
-
totalPrice: number;
|
|
4031
|
-
approvalStatus: ReservationStatusEnum;
|
|
4032
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
4033
|
-
level?: ProductPackageLevelEnum;
|
|
4034
|
-
resourceId?: number;
|
|
4035
|
-
resource?: Resource;
|
|
4036
|
-
orderId?: number;
|
|
4037
|
-
order?: Order;
|
|
4038
|
-
productUserId?: number;
|
|
4039
|
-
productUser?: ProductsUsers;
|
|
3990
|
+
export declare class InvoiceReservationItemsDto extends UpdateInvoiceOptionsDto {
|
|
3991
|
+
slotsIds?: number[];
|
|
3992
|
+
addonsIds?: number[];
|
|
4040
3993
|
}
|
|
4041
|
-
export declare class
|
|
4042
|
-
|
|
4043
|
-
reservationId: number;
|
|
4044
|
-
invoiceId: number;
|
|
4045
|
-
slotId: number;
|
|
3994
|
+
export declare class AddSlotsDto extends UpdateInvoiceDto {
|
|
3995
|
+
slots: SlotDto[];
|
|
4046
3996
|
}
|
|
4047
|
-
export declare class
|
|
4048
|
-
|
|
4049
|
-
description?: string;
|
|
4050
|
-
approvalStatus?: ReservationStatusEnum;
|
|
4051
|
-
privacySetting?: string;
|
|
4052
|
-
reservationType?: ReservationTypeEnum;
|
|
4053
|
-
orderId?: string;
|
|
4054
|
-
customerId?: number;
|
|
4055
|
-
customer?: Customer;
|
|
4056
|
-
price?: number;
|
|
4057
|
-
paymentStatus?: ReservationPaymentStatusEnum;
|
|
4058
|
-
startTime?: string;
|
|
4059
|
-
startDate?: Date;
|
|
4060
|
-
endDate?: Date;
|
|
4061
|
-
creatorId?: number;
|
|
4062
|
-
creatorType?: ResourceNameTypeEnum;
|
|
4063
|
-
userCreatorId?: number;
|
|
4064
|
-
sportType?: number;
|
|
4065
|
-
deletedAt?: Date;
|
|
4066
|
-
publicNotes?: string;
|
|
4067
|
-
privateNotes?: string;
|
|
4068
|
-
forms?: number[] | null;
|
|
4069
|
-
answerTitleIds?: number[] | null;
|
|
4070
|
-
segments?: Segment[];
|
|
4071
|
-
addonsProductUserIds?: number[] | null;
|
|
4072
|
-
migrationStatus?: string;
|
|
4073
|
-
addonsMetadata: {
|
|
4074
|
-
productId: number;
|
|
4075
|
-
price?: number;
|
|
4076
|
-
quantity: number;
|
|
4077
|
-
}[];
|
|
4078
|
-
addons: Addon[];
|
|
4079
|
-
overrideProductsPrice: {
|
|
4080
|
-
productId: number;
|
|
4081
|
-
price: number;
|
|
4082
|
-
}[];
|
|
4083
|
-
targetGlobalPrice?: number;
|
|
4084
|
-
slots: Slot[];
|
|
3997
|
+
export declare class AddSegmentsDto extends UpdateInvoiceDto {
|
|
3998
|
+
segments: SegmentDto[];
|
|
4085
3999
|
}
|
|
4086
|
-
export declare class
|
|
4087
|
-
|
|
4088
|
-
reservationId: number;
|
|
4000
|
+
export declare class MaintenanceDto {
|
|
4001
|
+
id?: number;
|
|
4089
4002
|
title: string;
|
|
4090
|
-
isPrivate: boolean;
|
|
4091
|
-
resourceIds?: number[];
|
|
4092
|
-
sportId: number;
|
|
4093
|
-
reservation?: Reservation;
|
|
4094
|
-
series?: Series[];
|
|
4095
|
-
addonIds?: number[] | null;
|
|
4096
|
-
publicNotesForSlots?: string;
|
|
4097
|
-
privateNotesForSlots?: string;
|
|
4098
|
-
slots?: Slot[];
|
|
4099
|
-
}
|
|
4100
|
-
export declare class Series extends OrganizationConnectionBaseEntity {
|
|
4101
|
-
deletedAt?: Date;
|
|
4102
|
-
segmentId: number;
|
|
4103
|
-
segment?: Segment;
|
|
4104
|
-
slots?: Slot[];
|
|
4105
|
-
slotDurationType: string;
|
|
4106
|
-
durationEndsAfter: number;
|
|
4107
|
-
durationUnit: string;
|
|
4108
|
-
startDate?: Date;
|
|
4109
|
-
endDate?: Date;
|
|
4110
|
-
startTime: string;
|
|
4111
|
-
endTime: string;
|
|
4112
|
-
frequency: string;
|
|
4113
|
-
repeatEvery: number;
|
|
4114
|
-
repeatOn?: number[];
|
|
4115
|
-
repeatEndDate?: Date;
|
|
4116
|
-
numberOccurrences?: number;
|
|
4117
|
-
resources?: Resource[];
|
|
4118
|
-
}
|
|
4119
|
-
export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
4120
|
-
constructor();
|
|
4121
|
-
defineIsReverted(): void;
|
|
4122
|
-
isReverted: boolean;
|
|
4123
|
-
reservationId: number;
|
|
4124
|
-
reservation: Reservation;
|
|
4125
|
-
title?: string;
|
|
4126
|
-
creatorId?: number;
|
|
4127
|
-
creatorType?: string;
|
|
4128
|
-
userCreatorId?: number;
|
|
4129
|
-
startDate: Date;
|
|
4130
|
-
endDate: Date;
|
|
4131
|
-
startTime: string;
|
|
4132
|
-
endTime: string;
|
|
4133
|
-
timezone?: string;
|
|
4134
|
-
spaceId?: number;
|
|
4135
|
-
resource?: Resource;
|
|
4136
|
-
deletedAt?: Date;
|
|
4137
|
-
publicNotes?: string;
|
|
4138
|
-
privateNotes?: string;
|
|
4139
|
-
slotType: SlotTypeEnum;
|
|
4140
|
-
productsUserId?: number;
|
|
4141
|
-
productUser?: ProductsUsers;
|
|
4142
|
-
product?: Product;
|
|
4143
|
-
addonsProductUserIds?: number[] | null;
|
|
4144
|
-
addonsProductUsers?: ProductsUsers[];
|
|
4145
|
-
addonProducts?: Product[];
|
|
4146
|
-
addonsMetadata: {
|
|
4147
|
-
productId: number;
|
|
4148
|
-
quantity: number;
|
|
4149
|
-
unitPrice: number;
|
|
4150
|
-
totalPrice: number;
|
|
4151
|
-
}[];
|
|
4152
|
-
segmentId: number;
|
|
4153
|
-
segment: Segment;
|
|
4154
|
-
eventId: number;
|
|
4155
|
-
event: Event;
|
|
4156
|
-
sportIds: number[];
|
|
4157
|
-
parentSlotId?: number;
|
|
4158
|
-
maintenanceDurationdurationType: string;
|
|
4159
|
-
maintenanceTiming: number;
|
|
4160
4003
|
durationValue: number;
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
-
orderId?: number;
|
|
4164
|
-
order?: Order;
|
|
4165
|
-
paymentStatus: ReservationPaymentStatusEnum;
|
|
4166
|
-
approvalStatus?: ReservationStatusEnum;
|
|
4167
|
-
displayName?: string;
|
|
4168
|
-
internalName?: string;
|
|
4169
|
-
activityTypes?: number[] | null;
|
|
4170
|
-
hourlyRate: number;
|
|
4171
|
-
totalPrice: number;
|
|
4172
|
-
isConsumerVisible: boolean;
|
|
4173
|
-
isMonitorVisible: boolean;
|
|
4174
|
-
isPrivate: boolean;
|
|
4175
|
-
occurrence?: number;
|
|
4176
|
-
maintenance?: Slot[];
|
|
4177
|
-
productMetadata: {
|
|
4178
|
-
productId: number;
|
|
4179
|
-
price: number;
|
|
4180
|
-
};
|
|
4181
|
-
slotDurationType: string;
|
|
4182
|
-
changeLineItemIds?: number[];
|
|
4183
|
-
changeLineItems?: LineItems[];
|
|
4184
|
-
updatedLineItem?: LineItems;
|
|
4004
|
+
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
4005
|
+
maintenanceTiming: MaintenanceTimingEnum;
|
|
4185
4006
|
}
|
|
4186
|
-
export
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4196
|
-
|
|
4197
|
-
|
|
4007
|
+
export interface RefundResult extends PaymentsResults {
|
|
4008
|
+
successfulLineItems: RefundLineItemAmountDto[];
|
|
4009
|
+
failedLineItems: RefundLineItemAmountDto[];
|
|
4010
|
+
invoice?: Invoice;
|
|
4011
|
+
}
|
|
4012
|
+
export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
4013
|
+
successfulLineItems: Map<number, RefundLineItemAmountDto>;
|
|
4014
|
+
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
4015
|
+
totalAmountProcessed: number;
|
|
4016
|
+
}
|
|
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;
|
|
4198
4035
|
}
|
|
4199
4036
|
export declare type TDtoResource = ReservationDto | SegmentDto | SeriesDto | SlotDto | ProductPricesDto;
|
|
4200
4037
|
export declare type TResource = Reservation | Segment | Series | Slot | Addon;
|
|
@@ -4320,13 +4157,13 @@ export interface CalendarSlotCard extends Slot {
|
|
|
4320
4157
|
}[];
|
|
4321
4158
|
};
|
|
4322
4159
|
addons: CalendarCardAddon[];
|
|
4323
|
-
invoice:
|
|
4160
|
+
invoice: Invoice;
|
|
4324
4161
|
price: LineItemPrice;
|
|
4325
4162
|
totalSlotsInSeries?: number;
|
|
4326
4163
|
slotIndexInSeries?: number;
|
|
4327
4164
|
}
|
|
4328
|
-
declare type IPartialInvoice = Pick<
|
|
4329
|
-
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">;
|
|
4330
4167
|
export interface IInvoice extends IPartialInvoice {
|
|
4331
4168
|
lineItemsCount: number;
|
|
4332
4169
|
}
|
|
@@ -4355,18 +4192,18 @@ export interface SingleReservation {
|
|
|
4355
4192
|
}
|
|
4356
4193
|
export interface UpdateReservationResult {
|
|
4357
4194
|
reservation: Reservation;
|
|
4358
|
-
|
|
4195
|
+
invoice?: Invoice;
|
|
4359
4196
|
debug?: any;
|
|
4360
4197
|
}
|
|
4361
4198
|
export interface UpdateSlotPricesResult {
|
|
4362
4199
|
reservation: ReservationDto;
|
|
4363
4200
|
slots: SlotDto[];
|
|
4364
|
-
|
|
4201
|
+
invoice: InvoiceDto;
|
|
4365
4202
|
debug?: any;
|
|
4366
4203
|
}
|
|
4367
4204
|
export interface UpdateSlotsAddonsResult {
|
|
4368
4205
|
slots: SlotDto[];
|
|
4369
|
-
|
|
4206
|
+
invoice: InvoiceDto;
|
|
4370
4207
|
debug?: any;
|
|
4371
4208
|
}
|
|
4372
4209
|
export interface ValidateEditSlotsResult {
|
|
@@ -4384,29 +4221,125 @@ export interface EditSlotsRefundMetadata {
|
|
|
4384
4221
|
refundAmount: number;
|
|
4385
4222
|
}
|
|
4386
4223
|
export interface EditSlotsData {
|
|
4387
|
-
|
|
4224
|
+
invoice?: Invoice;
|
|
4388
4225
|
editSlotsLineItems?: SlotsLineItemData[];
|
|
4389
4226
|
newLineItems?: LineItemDto[];
|
|
4390
4227
|
}
|
|
4391
4228
|
export interface EditSlotsResult extends UpdateReservationResult {
|
|
4392
4229
|
refundResult?: RefundResult;
|
|
4393
4230
|
}
|
|
4394
|
-
export declare class ChangeRolePermissionsDto {
|
|
4395
|
-
permissionIds: number[];
|
|
4396
|
-
}
|
|
4397
|
-
export declare class CreateRoleDto {
|
|
4398
|
-
name: string;
|
|
4399
|
-
}
|
|
4400
4231
|
export declare class Permission extends BondBaseEntity {
|
|
4401
4232
|
name: string;
|
|
4402
4233
|
deletedAt?: Date;
|
|
4403
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
|
+
}
|
|
4404
4334
|
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
4405
4335
|
name: string;
|
|
4406
4336
|
deletedAt?: Date;
|
|
4407
4337
|
permissions: Permission[];
|
|
4408
4338
|
usersRoles: UserRole[];
|
|
4409
4339
|
}
|
|
4340
|
+
export declare class CreateRoleDto {
|
|
4341
|
+
name: string;
|
|
4342
|
+
}
|
|
4410
4343
|
export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
4411
4344
|
deletedAt?: Date;
|
|
4412
4345
|
userId: number;
|
|
@@ -4414,12 +4347,19 @@ export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
|
4414
4347
|
role: Role;
|
|
4415
4348
|
user: User;
|
|
4416
4349
|
}
|
|
4417
|
-
export declare class CloseShiftDto {
|
|
4418
|
-
closingCashAmount: number;
|
|
4419
|
-
}
|
|
4420
4350
|
export declare class FindShiftsByIdsDto {
|
|
4421
4351
|
shiftIds: number[];
|
|
4422
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
|
+
}
|
|
4423
4363
|
export declare class FindShiftsFiltersDto {
|
|
4424
4364
|
statuses?: string;
|
|
4425
4365
|
stationIds?: string;
|
|
@@ -4440,17 +4380,6 @@ export declare class FindShiftsFormattedFilters {
|
|
|
4440
4380
|
startDate?: Date;
|
|
4441
4381
|
endDate?: Date;
|
|
4442
4382
|
}
|
|
4443
|
-
export declare class ShiftManagementClosingAmount {
|
|
4444
|
-
shiftId: number;
|
|
4445
|
-
managementClosingCashAmount: number;
|
|
4446
|
-
}
|
|
4447
|
-
export declare class ManagementClosingOfShiftsDto {
|
|
4448
|
-
managementClosingData: ShiftManagementClosingAmount[];
|
|
4449
|
-
}
|
|
4450
|
-
export declare class OpenShiftDto {
|
|
4451
|
-
openingCashAmount: number;
|
|
4452
|
-
stationId: number;
|
|
4453
|
-
}
|
|
4454
4383
|
export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
4455
4384
|
stationId: number;
|
|
4456
4385
|
station?: Station;
|
|
@@ -4471,7 +4400,7 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4471
4400
|
reconciliationAmount?: number;
|
|
4472
4401
|
reconcilingDate?: string;
|
|
4473
4402
|
reconcilingTime?: string;
|
|
4474
|
-
|
|
4403
|
+
reconciliationInvoiceId?: number;
|
|
4475
4404
|
deletedAt?: Date;
|
|
4476
4405
|
sumsOnShift?: Map<PaymentMethodTypeEnum, number>;
|
|
4477
4406
|
currentCashDifference?: number;
|
|
@@ -4480,16 +4409,85 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4480
4409
|
closingManager?: User;
|
|
4481
4410
|
reconcilingUser?: User;
|
|
4482
4411
|
}
|
|
4483
|
-
export declare class
|
|
4484
|
-
|
|
4485
|
-
|
|
4412
|
+
export declare class OpenShiftDto {
|
|
4413
|
+
openingCashAmount: number;
|
|
4414
|
+
stationId: number;
|
|
4486
4415
|
}
|
|
4487
|
-
export declare class
|
|
4488
|
-
|
|
4489
|
-
|
|
4490
|
-
|
|
4491
|
-
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
|
|
4416
|
+
export declare class ChangeRolePermissionsDto {
|
|
4417
|
+
permissionIds: number[];
|
|
4418
|
+
}
|
|
4419
|
+
declare class AnswerDto {
|
|
4420
|
+
questionId: number;
|
|
4421
|
+
value: any;
|
|
4422
|
+
}
|
|
4423
|
+
export declare class BookedSessionDto {
|
|
4424
|
+
startDate: string;
|
|
4425
|
+
endDate: string;
|
|
4426
|
+
timezone: string;
|
|
4427
|
+
spaceId: number;
|
|
4428
|
+
}
|
|
4429
|
+
declare class AddonDto {
|
|
4430
|
+
resourcePackageId: number;
|
|
4431
|
+
resourcePackageAmount: number;
|
|
4432
|
+
resourcePackagePrice: number;
|
|
4433
|
+
}
|
|
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[];
|
|
4446
|
+
}
|
|
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;
|
|
4455
|
+
}
|
|
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;
|
|
4473
|
+
}
|
|
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;
|
|
4495
4492
|
}
|
|
4493
|
+
export {};
|