@bondsports/types 0.0.39 → 0.0.40
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 +302 -302
- package/build/index.es.js.map +1 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -20,6 +20,64 @@ export declare class UserAnswersDto {
|
|
|
20
20
|
export declare class GetByQuestionnaireIdsDto {
|
|
21
21
|
questionnaireIds: string;
|
|
22
22
|
}
|
|
23
|
+
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
24
|
+
membershipId: number;
|
|
25
|
+
}
|
|
26
|
+
export declare class ImportProductsFromDB {
|
|
27
|
+
buDate: string;
|
|
28
|
+
}
|
|
29
|
+
export declare class ImportCustomerFromCSV {
|
|
30
|
+
fileName: string;
|
|
31
|
+
startIndex?: number;
|
|
32
|
+
}
|
|
33
|
+
export declare class ImportProgramsFileDto extends ImportCustomerFromCSV {
|
|
34
|
+
resolveInvoices: string;
|
|
35
|
+
}
|
|
36
|
+
export declare class ImportDashCustomerDto extends ImportCustomerFromCSV {
|
|
37
|
+
membershipId: number;
|
|
38
|
+
onlyDashIds: string;
|
|
39
|
+
}
|
|
40
|
+
export declare class ImportRentalsFromCSV extends ImportCustomerFromCSV {
|
|
41
|
+
facilityId: number;
|
|
42
|
+
}
|
|
43
|
+
export declare class ByOrganizationIdCustomerIdDto extends ByOrganizationIdDto {
|
|
44
|
+
customerId: number;
|
|
45
|
+
}
|
|
46
|
+
export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQuery {
|
|
47
|
+
nameSearch?: string;
|
|
48
|
+
fuzzy?: string;
|
|
49
|
+
customerType?: CustomerTypeEnum;
|
|
50
|
+
customersIds?: string;
|
|
51
|
+
}
|
|
52
|
+
export declare class AddCustomerNotesDto {
|
|
53
|
+
customerNotes: CustomerNoteDto[];
|
|
54
|
+
}
|
|
55
|
+
export declare class CustomerNoteDto {
|
|
56
|
+
id?: number;
|
|
57
|
+
description: string;
|
|
58
|
+
pinToTop?: boolean;
|
|
59
|
+
}
|
|
60
|
+
export declare class AddEditCustomerDto {
|
|
61
|
+
firstName?: string;
|
|
62
|
+
lastName?: string;
|
|
63
|
+
entityId?: number;
|
|
64
|
+
entityType?: CustomerTypeEnum;
|
|
65
|
+
email?: string;
|
|
66
|
+
color?: string;
|
|
67
|
+
street?: string;
|
|
68
|
+
city?: string;
|
|
69
|
+
state?: string;
|
|
70
|
+
zip?: string;
|
|
71
|
+
phoneNumber?: string;
|
|
72
|
+
mainMediaId?: number;
|
|
73
|
+
creatorId?: number;
|
|
74
|
+
creatorType?: ResourceNameTypeEnum;
|
|
75
|
+
userCreatorId?: number;
|
|
76
|
+
gender?: GenderEnum;
|
|
77
|
+
birthDate?: string;
|
|
78
|
+
emergencyContactName?: string;
|
|
79
|
+
emergencyContactPhone?: string;
|
|
80
|
+
}
|
|
23
81
|
export declare class FindBookingTypeSettingDto {
|
|
24
82
|
organizationId: number;
|
|
25
83
|
facilityId: number;
|
|
@@ -203,6 +261,16 @@ export declare class RemoveUserFromFamilyAccountDto {
|
|
|
203
261
|
userId: number;
|
|
204
262
|
familyAccountId: number;
|
|
205
263
|
}
|
|
264
|
+
export declare class FindGlCodeByOrganizationIdDto {
|
|
265
|
+
organizationId: number;
|
|
266
|
+
}
|
|
267
|
+
export declare class GetGlCodeDto {
|
|
268
|
+
id: number;
|
|
269
|
+
organizationId: number;
|
|
270
|
+
code: string;
|
|
271
|
+
createdAt: Date;
|
|
272
|
+
updatedAt: Date;
|
|
273
|
+
}
|
|
206
274
|
export declare class FindOneParams {
|
|
207
275
|
id: number;
|
|
208
276
|
}
|
|
@@ -215,16 +283,6 @@ export declare class PaginationRangeQuery {
|
|
|
215
283
|
endPage: number;
|
|
216
284
|
itemsPerPage: number;
|
|
217
285
|
}
|
|
218
|
-
export declare class FindGlCodeByOrganizationIdDto {
|
|
219
|
-
organizationId: number;
|
|
220
|
-
}
|
|
221
|
-
export declare class GetGlCodeDto {
|
|
222
|
-
id: number;
|
|
223
|
-
organizationId: number;
|
|
224
|
-
code: string;
|
|
225
|
-
createdAt: Date;
|
|
226
|
-
updatedAt: Date;
|
|
227
|
-
}
|
|
228
286
|
export declare class FindByProgramSeasonIdDto {
|
|
229
287
|
seasonId: number;
|
|
230
288
|
}
|
|
@@ -354,63 +412,47 @@ export declare class CancelMembershipDto {
|
|
|
354
412
|
isImmediatelyCancel: boolean;
|
|
355
413
|
cancellationReason?: string;
|
|
356
414
|
}
|
|
357
|
-
export declare class
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
buDate: string;
|
|
362
|
-
}
|
|
363
|
-
export declare class ImportCustomerFromCSV {
|
|
364
|
-
fileName: string;
|
|
365
|
-
startIndex?: number;
|
|
415
|
+
export declare class CreateEntitlementTermsDto {
|
|
416
|
+
organizationId: number;
|
|
417
|
+
entitlementGroupId: number;
|
|
418
|
+
terms: IEntitlementTerms[];
|
|
366
419
|
}
|
|
367
|
-
export declare class
|
|
368
|
-
|
|
420
|
+
export declare class FindEntitlementTermsByGroupIdDto {
|
|
421
|
+
entitlementGroupId: number;
|
|
369
422
|
}
|
|
370
|
-
export declare class
|
|
371
|
-
|
|
372
|
-
|
|
423
|
+
export declare class FindEntitlementTermsByVariablesDto {
|
|
424
|
+
user: any;
|
|
425
|
+
userVariables: IQuestionAnswerObject[];
|
|
373
426
|
}
|
|
374
|
-
export declare class
|
|
375
|
-
|
|
427
|
+
export declare class FindLowestPriceDto {
|
|
428
|
+
organizationId: number;
|
|
429
|
+
user?: any;
|
|
430
|
+
answers?: IQuestionAnswerObject[];
|
|
431
|
+
itemIds: number[];
|
|
432
|
+
itemType?: ResourceNameTypeEnum;
|
|
433
|
+
startDate?: Date;
|
|
376
434
|
}
|
|
377
|
-
export declare class
|
|
378
|
-
|
|
435
|
+
export declare class FindGroupItemsPricingsDto {
|
|
436
|
+
groupsIds: number[];
|
|
437
|
+
itemsIds: number[];
|
|
379
438
|
}
|
|
380
|
-
export declare class
|
|
381
|
-
|
|
382
|
-
fuzzy?: string;
|
|
383
|
-
customerType?: CustomerTypeEnum;
|
|
384
|
-
customersIds?: string;
|
|
439
|
+
export declare class CreateEntitlementGroupDto {
|
|
440
|
+
name: string;
|
|
385
441
|
}
|
|
386
|
-
export declare class
|
|
387
|
-
|
|
442
|
+
export declare class GetEntitlementGroupPricingDto {
|
|
443
|
+
itemIds: number[];
|
|
444
|
+
itemType: string;
|
|
388
445
|
}
|
|
389
|
-
export declare class
|
|
390
|
-
|
|
391
|
-
description: string;
|
|
392
|
-
pinToTop?: boolean;
|
|
446
|
+
export declare class FindEntitlementGroupByIdDto {
|
|
447
|
+
groupid: number;
|
|
393
448
|
}
|
|
394
|
-
export declare class
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
street?: string;
|
|
402
|
-
city?: string;
|
|
403
|
-
state?: string;
|
|
404
|
-
zip?: string;
|
|
405
|
-
phoneNumber?: string;
|
|
406
|
-
mainMediaId?: number;
|
|
407
|
-
creatorId?: number;
|
|
408
|
-
creatorType?: ResourceNameTypeEnum;
|
|
409
|
-
userCreatorId?: number;
|
|
410
|
-
gender?: GenderEnum;
|
|
411
|
-
birthDate?: string;
|
|
412
|
-
emergencyContactName?: string;
|
|
413
|
-
emergencyContactPhone?: string;
|
|
449
|
+
export declare class CreateGroupPricingWithProduct {
|
|
450
|
+
groupId: number;
|
|
451
|
+
price: number;
|
|
452
|
+
startDate?: Date;
|
|
453
|
+
endDate?: Date;
|
|
454
|
+
discountValue?: number;
|
|
455
|
+
discountMethod?: DiscountMethodsEnum;
|
|
414
456
|
}
|
|
415
457
|
export declare class FindByProductIdDto {
|
|
416
458
|
productId: number;
|
|
@@ -632,47 +674,23 @@ export declare class createResourceDto {
|
|
|
632
674
|
export declare class archiveDto {
|
|
633
675
|
isArchive: boolean;
|
|
634
676
|
}
|
|
635
|
-
export declare class
|
|
636
|
-
organizationId: number;
|
|
637
|
-
entitlementGroupId: number;
|
|
638
|
-
terms: IEntitlementTerms[];
|
|
639
|
-
}
|
|
640
|
-
export declare class FindEntitlementTermsByGroupIdDto {
|
|
641
|
-
entitlementGroupId: number;
|
|
642
|
-
}
|
|
643
|
-
export declare class FindEntitlementTermsByVariablesDto {
|
|
644
|
-
user: any;
|
|
645
|
-
userVariables: IQuestionAnswerObject[];
|
|
646
|
-
}
|
|
647
|
-
export declare class FindLowestPriceDto {
|
|
677
|
+
export declare class CreateUpdateVariantsDto {
|
|
648
678
|
organizationId: number;
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
itemType?: ResourceNameTypeEnum;
|
|
653
|
-
startDate?: Date;
|
|
679
|
+
parentProductId: number;
|
|
680
|
+
variantTitles: VariantTitleDto[];
|
|
681
|
+
variants: VariantDto[];
|
|
654
682
|
}
|
|
655
|
-
export declare class
|
|
656
|
-
|
|
657
|
-
|
|
683
|
+
export declare class VariantTitleDto {
|
|
684
|
+
titleName: string;
|
|
685
|
+
titleId: number;
|
|
658
686
|
}
|
|
659
|
-
export declare class
|
|
687
|
+
export declare class VariantDto {
|
|
660
688
|
name: string;
|
|
661
|
-
}
|
|
662
|
-
export declare class GetEntitlementGroupPricingDto {
|
|
663
|
-
itemIds: number[];
|
|
664
|
-
itemType: string;
|
|
665
|
-
}
|
|
666
|
-
export declare class FindEntitlementGroupByIdDto {
|
|
667
|
-
groupid: number;
|
|
668
|
-
}
|
|
669
|
-
export declare class CreateGroupPricingWithProduct {
|
|
670
|
-
groupId: number;
|
|
671
689
|
price: number;
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
690
|
+
variantId: number;
|
|
691
|
+
currency: CurrencyEnum;
|
|
692
|
+
startDate: Date;
|
|
693
|
+
endDate: Date;
|
|
676
694
|
}
|
|
677
695
|
export declare class FindProgramSeasonsByProgramIdDto {
|
|
678
696
|
programId: number;
|
|
@@ -858,68 +876,6 @@ export declare class MoveParticipantDto {
|
|
|
858
876
|
resourceId: number;
|
|
859
877
|
orderId: number;
|
|
860
878
|
}
|
|
861
|
-
export declare class CreateUpdateVariantsDto {
|
|
862
|
-
organizationId: number;
|
|
863
|
-
parentProductId: number;
|
|
864
|
-
variantTitles: VariantTitleDto[];
|
|
865
|
-
variants: VariantDto[];
|
|
866
|
-
}
|
|
867
|
-
export declare class VariantTitleDto {
|
|
868
|
-
titleName: string;
|
|
869
|
-
titleId: number;
|
|
870
|
-
}
|
|
871
|
-
export declare class VariantDto {
|
|
872
|
-
name: string;
|
|
873
|
-
price: number;
|
|
874
|
-
variantId: number;
|
|
875
|
-
currency: CurrencyEnum;
|
|
876
|
-
startDate: Date;
|
|
877
|
-
endDate: Date;
|
|
878
|
-
}
|
|
879
|
-
export declare class FindProgramsByOrganizationIdDto {
|
|
880
|
-
organizationId: number;
|
|
881
|
-
programType?: ProgramTypesEnum;
|
|
882
|
-
}
|
|
883
|
-
export declare class FindProgramByIdDto {
|
|
884
|
-
programId: number;
|
|
885
|
-
}
|
|
886
|
-
export declare class FindProgramByOrgIdAndIdDto {
|
|
887
|
-
programId: number;
|
|
888
|
-
organizationId: number;
|
|
889
|
-
}
|
|
890
|
-
export declare class BaseProgramDto {
|
|
891
|
-
type: ProgramTypesEnum;
|
|
892
|
-
name: string;
|
|
893
|
-
sport: SportsEnum;
|
|
894
|
-
minAge: string;
|
|
895
|
-
maxAge: string;
|
|
896
|
-
gender: GenderEnum;
|
|
897
|
-
level?: LevelOfPlayEnum[];
|
|
898
|
-
description?: string;
|
|
899
|
-
GL?: string;
|
|
900
|
-
status: PublishingStatusEnum;
|
|
901
|
-
organizationId: number;
|
|
902
|
-
userCreatorId: number;
|
|
903
|
-
highlights: ProgramHighlights[];
|
|
904
|
-
longDescription?: string;
|
|
905
|
-
requiredProductIds: number[];
|
|
906
|
-
}
|
|
907
|
-
export declare class CreateProgramDto extends BaseProgramDto {
|
|
908
|
-
}
|
|
909
|
-
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
910
|
-
programId: number;
|
|
911
|
-
mainMediaId: number;
|
|
912
|
-
}
|
|
913
|
-
export declare class UpdateProgramStatusDto {
|
|
914
|
-
programId: number;
|
|
915
|
-
status: PublishingStatusEnum;
|
|
916
|
-
}
|
|
917
|
-
export declare class ProgramHighlightDto {
|
|
918
|
-
data: string;
|
|
919
|
-
ordinal: number;
|
|
920
|
-
type: ProgramHighlightTypeEnum;
|
|
921
|
-
title: string;
|
|
922
|
-
}
|
|
923
879
|
export declare class PurchasePaymentDto {
|
|
924
880
|
token: string;
|
|
925
881
|
type: PaymentMethodTypeEnum;
|
|
@@ -990,6 +946,54 @@ export declare class PartialPaymentAsUserDto {
|
|
|
990
946
|
amountToPay: any;
|
|
991
947
|
paymentMethodData: any;
|
|
992
948
|
}
|
|
949
|
+
export declare class ResourceDto {
|
|
950
|
+
type: ResourceNameTypeEnum;
|
|
951
|
+
id: number;
|
|
952
|
+
}
|
|
953
|
+
export declare class FindProgramsByOrganizationIdDto {
|
|
954
|
+
organizationId: number;
|
|
955
|
+
programType?: ProgramTypesEnum;
|
|
956
|
+
}
|
|
957
|
+
export declare class FindProgramByIdDto {
|
|
958
|
+
programId: number;
|
|
959
|
+
}
|
|
960
|
+
export declare class FindProgramByOrgIdAndIdDto {
|
|
961
|
+
programId: number;
|
|
962
|
+
organizationId: number;
|
|
963
|
+
}
|
|
964
|
+
export declare class BaseProgramDto {
|
|
965
|
+
type: ProgramTypesEnum;
|
|
966
|
+
name: string;
|
|
967
|
+
sport: SportsEnum;
|
|
968
|
+
minAge: string;
|
|
969
|
+
maxAge: string;
|
|
970
|
+
gender: GenderEnum;
|
|
971
|
+
level?: LevelOfPlayEnum[];
|
|
972
|
+
description?: string;
|
|
973
|
+
GL?: string;
|
|
974
|
+
status: PublishingStatusEnum;
|
|
975
|
+
organizationId: number;
|
|
976
|
+
userCreatorId: number;
|
|
977
|
+
highlights: ProgramHighlights[];
|
|
978
|
+
longDescription?: string;
|
|
979
|
+
requiredProductIds: number[];
|
|
980
|
+
}
|
|
981
|
+
export declare class CreateProgramDto extends BaseProgramDto {
|
|
982
|
+
}
|
|
983
|
+
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
984
|
+
programId: number;
|
|
985
|
+
mainMediaId: number;
|
|
986
|
+
}
|
|
987
|
+
export declare class UpdateProgramStatusDto {
|
|
988
|
+
programId: number;
|
|
989
|
+
status: PublishingStatusEnum;
|
|
990
|
+
}
|
|
991
|
+
export declare class ProgramHighlightDto {
|
|
992
|
+
data: string;
|
|
993
|
+
ordinal: number;
|
|
994
|
+
type: ProgramHighlightTypeEnum;
|
|
995
|
+
title: string;
|
|
996
|
+
}
|
|
993
997
|
export declare class CreateResourceGroupDto {
|
|
994
998
|
name: string;
|
|
995
999
|
parentSlotId: number;
|
|
@@ -1054,10 +1058,6 @@ export declare class FindResourcesOptionsDto extends PaginationQuery {
|
|
|
1054
1058
|
types?: string;
|
|
1055
1059
|
resourcesIds?: string;
|
|
1056
1060
|
}
|
|
1057
|
-
export declare class ResourceDto {
|
|
1058
|
-
type: ResourceNameTypeEnum;
|
|
1059
|
-
id: number;
|
|
1060
|
-
}
|
|
1061
1061
|
export declare class StripeCustomerIdDto {
|
|
1062
1062
|
userId: number;
|
|
1063
1063
|
}
|
|
@@ -1065,6 +1065,15 @@ export declare class AddACHTokenToCustomerDto {
|
|
|
1065
1065
|
publicToken: string;
|
|
1066
1066
|
accountId: string;
|
|
1067
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 {
|
|
1075
|
+
organizationId: number;
|
|
1076
|
+
}
|
|
1068
1077
|
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
1069
1078
|
entityType: ResourceNameTypeEnum;
|
|
1070
1079
|
entityId: number;
|
|
@@ -1074,18 +1083,9 @@ export declare class ActivityLogRecord extends BondBaseEntity {
|
|
|
1074
1083
|
performingUserId: number;
|
|
1075
1084
|
description: string;
|
|
1076
1085
|
actionType: ActionTypesEnum;
|
|
1077
|
-
sourcePlatform: ActionSourcePlatformEnum;
|
|
1078
|
-
oldValue?: any;
|
|
1079
|
-
newValue?: any;
|
|
1080
|
-
}
|
|
1081
|
-
export declare class FindByUserIdDto {
|
|
1082
|
-
userId: number;
|
|
1083
|
-
}
|
|
1084
|
-
export declare class FindByFamilyAccountIdDto {
|
|
1085
|
-
familyAccountId?: number;
|
|
1086
|
-
}
|
|
1087
|
-
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1088
|
-
organizationId: number;
|
|
1086
|
+
sourcePlatform: ActionSourcePlatformEnum;
|
|
1087
|
+
oldValue?: any;
|
|
1088
|
+
newValue?: any;
|
|
1089
1089
|
}
|
|
1090
1090
|
export declare class ActivityTimes extends BondBaseEntity {
|
|
1091
1091
|
parentType: ResourceNameTypeEnum | ProductTypesEnum;
|
|
@@ -1260,15 +1260,15 @@ export declare class Division extends BondBaseEntity {
|
|
|
1260
1260
|
isDefault: boolean;
|
|
1261
1261
|
groups: Group[];
|
|
1262
1262
|
}
|
|
1263
|
-
export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
|
|
1264
|
-
name: string | null;
|
|
1265
|
-
}
|
|
1266
1263
|
export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
1267
1264
|
customerId: number;
|
|
1268
1265
|
name: string | null;
|
|
1269
1266
|
phoneNumber: string | null;
|
|
1270
1267
|
customer: Customer;
|
|
1271
1268
|
}
|
|
1269
|
+
export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
|
|
1270
|
+
name: string | null;
|
|
1271
|
+
}
|
|
1272
1272
|
export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
|
|
1273
1273
|
groupId: number;
|
|
1274
1274
|
terms: IEntitlementTerms[];
|
|
@@ -1449,6 +1449,15 @@ export declare class Invoice extends OrganizationConnectionBaseEntity {
|
|
|
1449
1449
|
refundReasonId?: number;
|
|
1450
1450
|
refundNote?: string;
|
|
1451
1451
|
}
|
|
1452
|
+
export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
1453
|
+
content: string;
|
|
1454
|
+
creatingUserId: number;
|
|
1455
|
+
user: User;
|
|
1456
|
+
isPublic: boolean;
|
|
1457
|
+
deletedAt: Date;
|
|
1458
|
+
invoiceId: number;
|
|
1459
|
+
invoice: Invoice;
|
|
1460
|
+
}
|
|
1452
1461
|
export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
1453
1462
|
email: string;
|
|
1454
1463
|
status: EEmailStatus;
|
|
@@ -1459,15 +1468,6 @@ export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
|
1459
1468
|
mailParams?: any;
|
|
1460
1469
|
memo?: string;
|
|
1461
1470
|
}
|
|
1462
|
-
export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
1463
|
-
content: string;
|
|
1464
|
-
creatingUserId: number;
|
|
1465
|
-
user: User;
|
|
1466
|
-
isPublic: boolean;
|
|
1467
|
-
deletedAt: Date;
|
|
1468
|
-
invoiceId: number;
|
|
1469
|
-
invoice: Invoice;
|
|
1470
|
-
}
|
|
1471
1471
|
export declare class League extends OrganizationConnectionBaseEntity {
|
|
1472
1472
|
name: string | null;
|
|
1473
1473
|
description: string | null;
|
|
@@ -1703,6 +1703,15 @@ export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
|
1703
1703
|
deletedAt?: Date;
|
|
1704
1704
|
facility: Facility;
|
|
1705
1705
|
}
|
|
1706
|
+
export declare class OrderNote extends OrganizationConnectionBaseEntity {
|
|
1707
|
+
content: string;
|
|
1708
|
+
creatingUserId: number;
|
|
1709
|
+
user: User;
|
|
1710
|
+
isPublic: boolean;
|
|
1711
|
+
deletedAt: Date;
|
|
1712
|
+
orderId: number;
|
|
1713
|
+
order: Order;
|
|
1714
|
+
}
|
|
1706
1715
|
export declare class Order extends BondBaseEntity {
|
|
1707
1716
|
orderId: string | null;
|
|
1708
1717
|
price: number | null;
|
|
@@ -1727,15 +1736,6 @@ export declare class Order extends BondBaseEntity {
|
|
|
1727
1736
|
orderNotes: OrderNote[];
|
|
1728
1737
|
slots: Slot[];
|
|
1729
1738
|
}
|
|
1730
|
-
export declare class OrderNote extends OrganizationConnectionBaseEntity {
|
|
1731
|
-
content: string;
|
|
1732
|
-
creatingUserId: number;
|
|
1733
|
-
user: User;
|
|
1734
|
-
isPublic: boolean;
|
|
1735
|
-
deletedAt: Date;
|
|
1736
|
-
orderId: number;
|
|
1737
|
-
order: Order;
|
|
1738
|
-
}
|
|
1739
1739
|
export declare class OrderToInvoice extends BondBaseEntity {
|
|
1740
1740
|
orderId: number;
|
|
1741
1741
|
invoiceId: number;
|
|
@@ -1776,22 +1776,6 @@ export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntit
|
|
|
1776
1776
|
deletedAt?: Date;
|
|
1777
1777
|
paymentPlan: ProductPaymentPlan;
|
|
1778
1778
|
}
|
|
1779
|
-
export declare class Price extends OrganizationConnectionBaseEntity {
|
|
1780
|
-
productId: number;
|
|
1781
|
-
product: Product;
|
|
1782
|
-
name: string | null;
|
|
1783
|
-
price: number;
|
|
1784
|
-
currency: CurrencyEnum;
|
|
1785
|
-
paymentProcessorId: number | null;
|
|
1786
|
-
startDate: Date;
|
|
1787
|
-
endDate: Date;
|
|
1788
|
-
groupId?: number;
|
|
1789
|
-
groupName?: string;
|
|
1790
|
-
originalPrice?: number;
|
|
1791
|
-
deletedAt?: Date;
|
|
1792
|
-
discountMethod?: DiscountMethodsEnum;
|
|
1793
|
-
discountValue?: number;
|
|
1794
|
-
}
|
|
1795
1779
|
export declare class PaymentV1 extends BondBaseEntity {
|
|
1796
1780
|
userId: number | null;
|
|
1797
1781
|
ownerId: number | null;
|
|
@@ -1810,20 +1794,21 @@ export declare class PaymentV1 extends BondBaseEntity {
|
|
|
1810
1794
|
installmentId: number | null;
|
|
1811
1795
|
orderId: string | null;
|
|
1812
1796
|
}
|
|
1813
|
-
export declare class
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
timePeriod: AddonTimePeriodEnum;
|
|
1818
|
-
deletedAt?: Date;
|
|
1819
|
-
productResource: ProductResource;
|
|
1820
|
-
childProduct: Product;
|
|
1821
|
-
parentProduct: Product;
|
|
1797
|
+
export declare class Price extends OrganizationConnectionBaseEntity {
|
|
1798
|
+
productId: number;
|
|
1799
|
+
product: Product;
|
|
1800
|
+
name: string | null;
|
|
1822
1801
|
price: number;
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1802
|
+
currency: CurrencyEnum;
|
|
1803
|
+
paymentProcessorId: number | null;
|
|
1804
|
+
startDate: Date;
|
|
1805
|
+
endDate: Date;
|
|
1806
|
+
groupId?: number;
|
|
1807
|
+
groupName?: string;
|
|
1808
|
+
originalPrice?: number;
|
|
1809
|
+
deletedAt?: Date;
|
|
1810
|
+
discountMethod?: DiscountMethodsEnum;
|
|
1811
|
+
discountValue?: number;
|
|
1827
1812
|
}
|
|
1828
1813
|
export declare class Product extends OrganizationConnectionBaseEntity {
|
|
1829
1814
|
name: string;
|
|
@@ -1875,6 +1860,21 @@ export declare class Product extends OrganizationConnectionBaseEntity {
|
|
|
1875
1860
|
activityTimes: ActivityTimes[];
|
|
1876
1861
|
purchasedResources: PurchasedResource[];
|
|
1877
1862
|
}
|
|
1863
|
+
export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
1864
|
+
parentProductId: number;
|
|
1865
|
+
childProductId: number;
|
|
1866
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
1867
|
+
timePeriod: AddonTimePeriodEnum;
|
|
1868
|
+
deletedAt?: Date;
|
|
1869
|
+
productResource: ProductResource;
|
|
1870
|
+
childProduct: Product;
|
|
1871
|
+
parentProduct: Product;
|
|
1872
|
+
price: number;
|
|
1873
|
+
isFlatPrice: boolean;
|
|
1874
|
+
durationMinutes?: number;
|
|
1875
|
+
durationDays?: number;
|
|
1876
|
+
level?: ProductPackageLevelEnum;
|
|
1877
|
+
}
|
|
1878
1878
|
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
1879
1879
|
productId: number;
|
|
1880
1880
|
maxMonths?: number;
|
|
@@ -1903,13 +1903,6 @@ export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
|
|
|
1903
1903
|
productId: number;
|
|
1904
1904
|
variantId: number;
|
|
1905
1905
|
}
|
|
1906
|
-
export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
|
|
1907
|
-
productId: number;
|
|
1908
|
-
customerId: number;
|
|
1909
|
-
customer: Customer;
|
|
1910
|
-
deletedAt?: Date;
|
|
1911
|
-
product: Product;
|
|
1912
|
-
}
|
|
1913
1906
|
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1914
1907
|
productId: number;
|
|
1915
1908
|
userId: number;
|
|
@@ -1927,6 +1920,13 @@ export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
|
1927
1920
|
slots?: Slot[];
|
|
1928
1921
|
addons?: Addon[];
|
|
1929
1922
|
}
|
|
1923
|
+
export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
|
|
1924
|
+
productId: number;
|
|
1925
|
+
customerId: number;
|
|
1926
|
+
customer: Customer;
|
|
1927
|
+
deletedAt?: Date;
|
|
1928
|
+
product: Product;
|
|
1929
|
+
}
|
|
1930
1930
|
export declare class Program extends BondBaseEntity {
|
|
1931
1931
|
type: ProgramTypesEnum;
|
|
1932
1932
|
name: string;
|
|
@@ -2037,11 +2037,6 @@ export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
|
2037
2037
|
title: string | null;
|
|
2038
2038
|
answerTitle: AnswerTitle;
|
|
2039
2039
|
}
|
|
2040
|
-
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2041
|
-
reason: string;
|
|
2042
|
-
ordinal: number;
|
|
2043
|
-
deletedAt: Date;
|
|
2044
|
-
}
|
|
2045
2040
|
export declare class Questions extends BondBaseEntity {
|
|
2046
2041
|
questionType: string | null;
|
|
2047
2042
|
ordinal: number | null;
|
|
@@ -2056,6 +2051,11 @@ export declare class Questions extends BondBaseEntity {
|
|
|
2056
2051
|
ownerId: number | null;
|
|
2057
2052
|
questionnaireId: number | null;
|
|
2058
2053
|
}
|
|
2054
|
+
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2055
|
+
reason: string;
|
|
2056
|
+
ordinal: number;
|
|
2057
|
+
deletedAt: Date;
|
|
2058
|
+
}
|
|
2059
2059
|
export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
|
|
2060
2060
|
resourceType: ResourceNameTypeEnum;
|
|
2061
2061
|
resourceId: number;
|
|
@@ -2315,19 +2315,6 @@ export declare class UserAuthorizations extends BondBaseEntity {
|
|
|
2315
2315
|
entityType: UserAuthorizationsTypeEnum;
|
|
2316
2316
|
user: User;
|
|
2317
2317
|
}
|
|
2318
|
-
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
2319
|
-
familyAccountId: number;
|
|
2320
|
-
userId: number;
|
|
2321
|
-
isAdmin: boolean;
|
|
2322
|
-
user: User;
|
|
2323
|
-
familyAccount: FamilyAccount;
|
|
2324
|
-
deletedAt?: Date;
|
|
2325
|
-
}
|
|
2326
|
-
export declare class UsersInGroup extends BondBaseEntity {
|
|
2327
|
-
groupId: number;
|
|
2328
|
-
userId: number;
|
|
2329
|
-
deletedAt?: Date;
|
|
2330
|
-
}
|
|
2331
2318
|
export declare class VariantTitle extends OrganizationConnectionBaseEntity {
|
|
2332
2319
|
name: string;
|
|
2333
2320
|
variants: Variant[];
|
|
@@ -2346,6 +2333,11 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
|
|
|
2346
2333
|
membershipCollectionId?: string;
|
|
2347
2334
|
programsCollectionId?: string;
|
|
2348
2335
|
}
|
|
2336
|
+
export declare class UsersInGroup extends BondBaseEntity {
|
|
2337
|
+
groupId: number;
|
|
2338
|
+
userId: number;
|
|
2339
|
+
deletedAt?: Date;
|
|
2340
|
+
}
|
|
2349
2341
|
export declare enum EntitlementTermsTypesEnum {
|
|
2350
2342
|
QUESTION = "question",
|
|
2351
2343
|
CITY = "city",
|
|
@@ -3230,6 +3222,14 @@ export interface IReservationCreatorData {
|
|
|
3230
3222
|
endDate: string;
|
|
3231
3223
|
sportId: number;
|
|
3232
3224
|
}
|
|
3225
|
+
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
3226
|
+
familyAccountId: number;
|
|
3227
|
+
userId: number;
|
|
3228
|
+
isAdmin: boolean;
|
|
3229
|
+
user: User;
|
|
3230
|
+
familyAccount: FamilyAccount;
|
|
3231
|
+
deletedAt?: Date;
|
|
3232
|
+
}
|
|
3233
3233
|
export declare class ColumnNumericTransformer {
|
|
3234
3234
|
to(data: number): number;
|
|
3235
3235
|
from(data: string): number;
|
|
@@ -3470,6 +3470,38 @@ export declare class OrganizationUsers extends BondBaseEntity {
|
|
|
3470
3470
|
organisationId: number | null;
|
|
3471
3471
|
userId: number | null;
|
|
3472
3472
|
}
|
|
3473
|
+
export declare class RefundDto {
|
|
3474
|
+
orderId: number;
|
|
3475
|
+
lineItems: RefundLineItemAmountDto[];
|
|
3476
|
+
refundLineItemAmountDict?: {
|
|
3477
|
+
[id: number]: number;
|
|
3478
|
+
};
|
|
3479
|
+
refunds: PaymentMethodDto[];
|
|
3480
|
+
refundType: RefundTypeEnum;
|
|
3481
|
+
reasonId: number;
|
|
3482
|
+
note?: string;
|
|
3483
|
+
shiftId?: number;
|
|
3484
|
+
meta?: RevertMetaDto;
|
|
3485
|
+
}
|
|
3486
|
+
export declare class PaymentMethodDto {
|
|
3487
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
3488
|
+
amount: number;
|
|
3489
|
+
paymentMethodId?: string;
|
|
3490
|
+
}
|
|
3491
|
+
export declare class RefundLineItemAmountDto {
|
|
3492
|
+
id: number;
|
|
3493
|
+
refundAmount: number;
|
|
3494
|
+
}
|
|
3495
|
+
export declare class VoidDto {
|
|
3496
|
+
lineItems: VoidLineItemDto[];
|
|
3497
|
+
meta?: RevertMetaDto;
|
|
3498
|
+
}
|
|
3499
|
+
export declare class VoidLineItemDto {
|
|
3500
|
+
id: number;
|
|
3501
|
+
quantity?: number;
|
|
3502
|
+
isEdit?: boolean;
|
|
3503
|
+
amount?: number;
|
|
3504
|
+
}
|
|
3473
3505
|
export declare class CustomerIdDto {
|
|
3474
3506
|
customerId: number;
|
|
3475
3507
|
}
|
|
@@ -3587,38 +3619,6 @@ export declare class SendRequestDto {
|
|
|
3587
3619
|
sendToEmail: string;
|
|
3588
3620
|
memo?: string;
|
|
3589
3621
|
}
|
|
3590
|
-
export declare class RefundDto {
|
|
3591
|
-
orderId: number;
|
|
3592
|
-
lineItems: RefundLineItemAmountDto[];
|
|
3593
|
-
refundLineItemAmountDict?: {
|
|
3594
|
-
[id: number]: number;
|
|
3595
|
-
};
|
|
3596
|
-
refunds: PaymentMethodDto[];
|
|
3597
|
-
refundType: RefundTypeEnum;
|
|
3598
|
-
reasonId: number;
|
|
3599
|
-
note?: string;
|
|
3600
|
-
shiftId?: number;
|
|
3601
|
-
meta?: RevertMetaDto;
|
|
3602
|
-
}
|
|
3603
|
-
export declare class PaymentMethodDto {
|
|
3604
|
-
paymentMethodType: PaymentMethodTypeEnum;
|
|
3605
|
-
amount: number;
|
|
3606
|
-
paymentMethodId?: string;
|
|
3607
|
-
}
|
|
3608
|
-
export declare class RefundLineItemAmountDto {
|
|
3609
|
-
id: number;
|
|
3610
|
-
refundAmount: number;
|
|
3611
|
-
}
|
|
3612
|
-
export declare class VoidDto {
|
|
3613
|
-
lineItems: VoidLineItemDto[];
|
|
3614
|
-
meta?: RevertMetaDto;
|
|
3615
|
-
}
|
|
3616
|
-
export declare class VoidLineItemDto {
|
|
3617
|
-
id: number;
|
|
3618
|
-
quantity?: number;
|
|
3619
|
-
isEdit?: boolean;
|
|
3620
|
-
amount?: number;
|
|
3621
|
-
}
|
|
3622
3622
|
export declare class LineItemDto {
|
|
3623
3623
|
id?: number;
|
|
3624
3624
|
orderId?: number;
|
|
@@ -3673,20 +3673,20 @@ export declare class InvoiceSlotsDto extends BaseInvoiceDto {
|
|
|
3673
3673
|
purchasingUserId: number;
|
|
3674
3674
|
slots: number[];
|
|
3675
3675
|
}
|
|
3676
|
-
export declare class InvoiceReservationItemsDto {
|
|
3677
|
-
slotsIds?: number[];
|
|
3678
|
-
addonsIds?: number[];
|
|
3679
|
-
addToOrderId?: number;
|
|
3680
|
-
basicInfoData?: BaseInvoiceDto;
|
|
3681
|
-
}
|
|
3682
3676
|
export declare class SaveSlotToSegmenResultDto extends AddSlotToSegmenResultDto {
|
|
3683
3677
|
reservationTotalPrice: number;
|
|
3684
3678
|
}
|
|
3685
|
-
export declare class
|
|
3686
|
-
isInvoiced: boolean;
|
|
3679
|
+
export declare class UpdateInvoiceOptionsDto {
|
|
3687
3680
|
basicInfoData?: BaseInvoiceDto;
|
|
3688
3681
|
addToOrderId?: number;
|
|
3689
3682
|
}
|
|
3683
|
+
export declare class UpdateInvoiceDto extends UpdateInvoiceOptionsDto {
|
|
3684
|
+
isInvoiced: boolean;
|
|
3685
|
+
}
|
|
3686
|
+
export declare class InvoiceReservationItemsDto extends UpdateInvoiceOptionsDto {
|
|
3687
|
+
slotsIds?: number[];
|
|
3688
|
+
addonsIds?: number[];
|
|
3689
|
+
}
|
|
3690
3690
|
export declare class AddSlotsDto extends UpdateInvoiceDto {
|
|
3691
3691
|
slots: SlotDto[];
|
|
3692
3692
|
}
|
|
@@ -3841,6 +3841,17 @@ export declare class ValidateEditSlotsDto extends UpdateSlotsDto {
|
|
|
3841
3841
|
export declare class AddAddonsDto {
|
|
3842
3842
|
addons: ProductPricesDto[];
|
|
3843
3843
|
}
|
|
3844
|
+
export declare class SegmentDto {
|
|
3845
|
+
id?: number;
|
|
3846
|
+
title: string;
|
|
3847
|
+
isPrivate: boolean;
|
|
3848
|
+
resourceIds: number[];
|
|
3849
|
+
sportId?: number;
|
|
3850
|
+
series: SeriesDto[];
|
|
3851
|
+
addonIds?: number[];
|
|
3852
|
+
publicNotesForSlots?: string;
|
|
3853
|
+
privateNotesForSlots?: string;
|
|
3854
|
+
}
|
|
3844
3855
|
export declare class SeriesDto {
|
|
3845
3856
|
id?: number;
|
|
3846
3857
|
startDate: string;
|
|
@@ -3921,17 +3932,6 @@ export declare class SlotDto extends SlotDateTimeAndSpace {
|
|
|
3921
3932
|
slotDurationType: SlotDurationTypeEnum;
|
|
3922
3933
|
addonsIds?: number[];
|
|
3923
3934
|
}
|
|
3924
|
-
export declare class SegmentDto {
|
|
3925
|
-
id?: number;
|
|
3926
|
-
title: string;
|
|
3927
|
-
isPrivate: boolean;
|
|
3928
|
-
resourceIds: number[];
|
|
3929
|
-
sportId?: number;
|
|
3930
|
-
series: SeriesDto[];
|
|
3931
|
-
addonIds?: number[];
|
|
3932
|
-
publicNotesForSlots?: string;
|
|
3933
|
-
privateNotesForSlots?: string;
|
|
3934
|
-
}
|
|
3935
3935
|
declare class AnswerDto {
|
|
3936
3936
|
questionId: number;
|
|
3937
3937
|
value: any;
|
|
@@ -4155,9 +4155,6 @@ export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
|
4155
4155
|
role: Role;
|
|
4156
4156
|
user: User;
|
|
4157
4157
|
}
|
|
4158
|
-
export declare class CloseShiftDto {
|
|
4159
|
-
closingCashAmount: number;
|
|
4160
|
-
}
|
|
4161
4158
|
export declare class FindShiftsByIdsDto {
|
|
4162
4159
|
shiftIds: number[];
|
|
4163
4160
|
}
|
|
@@ -4192,6 +4189,9 @@ export declare class OpenShiftDto {
|
|
|
4192
4189
|
openingCashAmount: number;
|
|
4193
4190
|
stationId: number;
|
|
4194
4191
|
}
|
|
4192
|
+
export declare class CloseShiftDto {
|
|
4193
|
+
closingCashAmount: number;
|
|
4194
|
+
}
|
|
4195
4195
|
export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
4196
4196
|
stationId: number;
|
|
4197
4197
|
station?: Station;
|