@bondsports/types 0.0.171 → 0.0.173
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 +274 -274
- 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
|
@@ -702,6 +702,50 @@ export declare class VariantDto {
|
|
|
702
702
|
startDate: Date;
|
|
703
703
|
endDate: Date;
|
|
704
704
|
}
|
|
705
|
+
export declare class FindProgramsByOrganizationIdDto {
|
|
706
|
+
organizationId: number;
|
|
707
|
+
programType?: ProgramTypesEnum;
|
|
708
|
+
}
|
|
709
|
+
export declare class FindProgramByIdDto {
|
|
710
|
+
programId: number;
|
|
711
|
+
}
|
|
712
|
+
export declare class FindProgramByOrgIdAndIdDto {
|
|
713
|
+
programId: number;
|
|
714
|
+
organizationId: number;
|
|
715
|
+
}
|
|
716
|
+
export declare class BaseProgramDto {
|
|
717
|
+
type: ProgramTypesEnum;
|
|
718
|
+
name: string;
|
|
719
|
+
sport: SportsEnum;
|
|
720
|
+
minAge: string;
|
|
721
|
+
maxAge: string;
|
|
722
|
+
gender: GenderEnum;
|
|
723
|
+
level?: LevelOfPlayEnum[];
|
|
724
|
+
description?: string;
|
|
725
|
+
GL?: string;
|
|
726
|
+
status: PublishingStatusEnum;
|
|
727
|
+
organizationId: number;
|
|
728
|
+
userCreatorId: number;
|
|
729
|
+
highlights: ProgramHighlights[];
|
|
730
|
+
longDescription?: string;
|
|
731
|
+
requiredProductIds: number[];
|
|
732
|
+
}
|
|
733
|
+
export declare class CreateProgramDto extends BaseProgramDto {
|
|
734
|
+
}
|
|
735
|
+
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
736
|
+
programId: number;
|
|
737
|
+
mainMediaId: number;
|
|
738
|
+
}
|
|
739
|
+
export declare class UpdateProgramStatusDto {
|
|
740
|
+
programId: number;
|
|
741
|
+
status: PublishingStatusEnum;
|
|
742
|
+
}
|
|
743
|
+
export declare class ProgramHighlightDto {
|
|
744
|
+
data: string;
|
|
745
|
+
ordinal: number;
|
|
746
|
+
type: ProgramHighlightTypeEnum;
|
|
747
|
+
title: string;
|
|
748
|
+
}
|
|
705
749
|
export declare class FindProgramSeasonsByProgramIdDto {
|
|
706
750
|
programId: number;
|
|
707
751
|
}
|
|
@@ -892,58 +936,6 @@ export declare class MoveParticipantDto {
|
|
|
892
936
|
resourceId: number;
|
|
893
937
|
invoiceId: number;
|
|
894
938
|
}
|
|
895
|
-
export declare class FindProgramsByOrganizationIdDto {
|
|
896
|
-
organizationId: number;
|
|
897
|
-
programType?: ProgramTypesEnum;
|
|
898
|
-
}
|
|
899
|
-
export declare class FindProgramByIdDto {
|
|
900
|
-
programId: number;
|
|
901
|
-
}
|
|
902
|
-
export declare class FindProgramByOrgIdAndIdDto {
|
|
903
|
-
programId: number;
|
|
904
|
-
organizationId: number;
|
|
905
|
-
}
|
|
906
|
-
export declare class BaseProgramDto {
|
|
907
|
-
type: ProgramTypesEnum;
|
|
908
|
-
name: string;
|
|
909
|
-
sport: SportsEnum;
|
|
910
|
-
minAge: string;
|
|
911
|
-
maxAge: string;
|
|
912
|
-
gender: GenderEnum;
|
|
913
|
-
level?: LevelOfPlayEnum[];
|
|
914
|
-
description?: string;
|
|
915
|
-
GL?: string;
|
|
916
|
-
status: PublishingStatusEnum;
|
|
917
|
-
organizationId: number;
|
|
918
|
-
userCreatorId: number;
|
|
919
|
-
highlights: ProgramHighlights[];
|
|
920
|
-
longDescription?: string;
|
|
921
|
-
requiredProductIds: number[];
|
|
922
|
-
}
|
|
923
|
-
export declare class CreateProgramDto extends BaseProgramDto {
|
|
924
|
-
}
|
|
925
|
-
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
926
|
-
programId: number;
|
|
927
|
-
mainMediaId: number;
|
|
928
|
-
}
|
|
929
|
-
export declare class UpdateProgramStatusDto {
|
|
930
|
-
programId: number;
|
|
931
|
-
status: PublishingStatusEnum;
|
|
932
|
-
}
|
|
933
|
-
export declare class ProgramHighlightDto {
|
|
934
|
-
data: string;
|
|
935
|
-
ordinal: number;
|
|
936
|
-
type: ProgramHighlightTypeEnum;
|
|
937
|
-
title: string;
|
|
938
|
-
}
|
|
939
|
-
export declare class CreateResourceGroupDto {
|
|
940
|
-
name: string;
|
|
941
|
-
parentSlotId: number;
|
|
942
|
-
facilityId: number;
|
|
943
|
-
childrenSlotIds: number[];
|
|
944
|
-
}
|
|
945
|
-
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
946
|
-
}
|
|
947
939
|
export declare class PurchasePaymentDto {
|
|
948
940
|
token: string;
|
|
949
941
|
type: PaymentMethodTypeEnum;
|
|
@@ -1017,6 +1009,14 @@ export declare class PartialPaymentAsUserDto {
|
|
|
1017
1009
|
paymentMethodData: any;
|
|
1018
1010
|
platform?: PlatformsEnum;
|
|
1019
1011
|
}
|
|
1012
|
+
export declare class CreateResourceGroupDto {
|
|
1013
|
+
name: string;
|
|
1014
|
+
parentSlotId: number;
|
|
1015
|
+
facilityId: number;
|
|
1016
|
+
childrenSlotIds: number[];
|
|
1017
|
+
}
|
|
1018
|
+
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
1019
|
+
}
|
|
1020
1020
|
export declare class ResourceDto {
|
|
1021
1021
|
type: ResourceNameTypeEnum;
|
|
1022
1022
|
id: number;
|
|
@@ -1096,19 +1096,6 @@ export declare class FindByFamilyAccountIdDto {
|
|
|
1096
1096
|
export declare class FindByUserAndOrganizationDto extends FindByUserIdDto {
|
|
1097
1097
|
organizationId: number;
|
|
1098
1098
|
}
|
|
1099
|
-
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
1100
|
-
entityType: ResourceNameTypeEnum;
|
|
1101
|
-
entityId: number;
|
|
1102
|
-
organizationId?: number;
|
|
1103
|
-
userId?: number;
|
|
1104
|
-
customerId?: number;
|
|
1105
|
-
performingUserId: number;
|
|
1106
|
-
description: string;
|
|
1107
|
-
actionType: ActionTypesEnum;
|
|
1108
|
-
sourcePlatform: ActionSourcePlatformEnum;
|
|
1109
|
-
oldValue?: any;
|
|
1110
|
-
newValue?: any;
|
|
1111
|
-
}
|
|
1112
1099
|
export declare class ActivityTimes extends BondBaseEntity {
|
|
1113
1100
|
parentType: ResourceNameTypeEnum | ProductTypesEnum;
|
|
1114
1101
|
parentId: number;
|
|
@@ -1122,6 +1109,19 @@ export declare class ActivityTimes extends BondBaseEntity {
|
|
|
1122
1109
|
proudct: Product;
|
|
1123
1110
|
event: Event;
|
|
1124
1111
|
}
|
|
1112
|
+
export declare class ActivityLogRecord extends BondBaseEntity {
|
|
1113
|
+
entityType: ResourceNameTypeEnum;
|
|
1114
|
+
entityId: number;
|
|
1115
|
+
organizationId?: number;
|
|
1116
|
+
userId?: number;
|
|
1117
|
+
customerId?: number;
|
|
1118
|
+
performingUserId: number;
|
|
1119
|
+
description: string;
|
|
1120
|
+
actionType: ActionTypesEnum;
|
|
1121
|
+
sourcePlatform: ActionSourcePlatformEnum;
|
|
1122
|
+
oldValue?: any;
|
|
1123
|
+
newValue?: any;
|
|
1124
|
+
}
|
|
1125
1125
|
export declare class Address extends BondBaseEntity {
|
|
1126
1126
|
city?: string;
|
|
1127
1127
|
street?: string;
|
|
@@ -1157,6 +1157,11 @@ export declare class Athlete extends BondBaseEntity {
|
|
|
1157
1157
|
metadata: object | null;
|
|
1158
1158
|
athleteSports: AthleteSports[];
|
|
1159
1159
|
}
|
|
1160
|
+
export declare class AthleteSports extends BondBaseEntity {
|
|
1161
|
+
athleteId: number | null;
|
|
1162
|
+
sports: number | null;
|
|
1163
|
+
levelOfPlay: LevelOfPlayEnum | null;
|
|
1164
|
+
}
|
|
1160
1165
|
export declare class BlockedDate extends BondBaseEntity {
|
|
1161
1166
|
entityType: ResourceNameTypeEnum;
|
|
1162
1167
|
entityId: number;
|
|
@@ -1198,11 +1203,6 @@ export declare class BookingTypeSetting extends OrganizationConnectionBaseEntity
|
|
|
1198
1203
|
endTimeInDay: string;
|
|
1199
1204
|
directBookingFor: DirectBookingTypesEnum;
|
|
1200
1205
|
}
|
|
1201
|
-
export declare class AthleteSports extends BondBaseEntity {
|
|
1202
|
-
athleteId: number | null;
|
|
1203
|
-
sports: number | null;
|
|
1204
|
-
levelOfPlay: LevelOfPlayEnum | null;
|
|
1205
|
-
}
|
|
1206
1206
|
export declare class Configuration extends BondBaseEntity {
|
|
1207
1207
|
area: string;
|
|
1208
1208
|
key: string;
|
|
@@ -1570,6 +1570,16 @@ export declare class LeagueSeasonRelations {
|
|
|
1570
1570
|
league?: boolean;
|
|
1571
1571
|
facilities?: boolean;
|
|
1572
1572
|
}
|
|
1573
|
+
export declare class LineItemHistory extends BondBaseEntity {
|
|
1574
|
+
invoiceId: number;
|
|
1575
|
+
paymentId: number;
|
|
1576
|
+
lineItemId: number;
|
|
1577
|
+
paidAmount: number;
|
|
1578
|
+
unitPaidAmount: number;
|
|
1579
|
+
currency: CurrencyEnum;
|
|
1580
|
+
payment: Payment;
|
|
1581
|
+
lineItem: LineItems;
|
|
1582
|
+
}
|
|
1573
1583
|
export declare class LineItems extends BondBaseEntity {
|
|
1574
1584
|
constructor();
|
|
1575
1585
|
defineIsReverted(): void;
|
|
@@ -1625,16 +1635,6 @@ export declare class LineItems extends BondBaseEntity {
|
|
|
1625
1635
|
displayUnitPrice?: number;
|
|
1626
1636
|
displayQuantity?: number;
|
|
1627
1637
|
}
|
|
1628
|
-
export declare class LineItemHistory extends BondBaseEntity {
|
|
1629
|
-
invoiceId: number;
|
|
1630
|
-
paymentId: number;
|
|
1631
|
-
lineItemId: number;
|
|
1632
|
-
paidAmount: number;
|
|
1633
|
-
unitPaidAmount: number;
|
|
1634
|
-
currency: CurrencyEnum;
|
|
1635
|
-
payment: Payment;
|
|
1636
|
-
lineItem: LineItems;
|
|
1637
|
-
}
|
|
1638
1638
|
export declare class LinkedAccounts extends BondBaseEntity {
|
|
1639
1639
|
id: number;
|
|
1640
1640
|
provider: string;
|
|
@@ -1735,6 +1735,9 @@ export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
|
1735
1735
|
deletedAt?: Date;
|
|
1736
1736
|
facility: Facility;
|
|
1737
1737
|
}
|
|
1738
|
+
export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
|
|
1739
|
+
organizationId: number;
|
|
1740
|
+
}
|
|
1738
1741
|
export declare class PackageV1 extends BondBaseEntity {
|
|
1739
1742
|
name?: string;
|
|
1740
1743
|
description?: string;
|
|
@@ -1752,9 +1755,6 @@ export declare class PackageV1 extends BondBaseEntity {
|
|
|
1752
1755
|
isMandatory: boolean;
|
|
1753
1756
|
productId: number;
|
|
1754
1757
|
}
|
|
1755
|
-
export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
|
|
1756
|
-
organizationId: number;
|
|
1757
|
-
}
|
|
1758
1758
|
export declare class PasswordReset extends BondBaseEntity {
|
|
1759
1759
|
token: string | null;
|
|
1760
1760
|
userId: number | null;
|
|
@@ -1948,23 +1948,6 @@ export declare class ProductsReservedForCustomers extends OrganizationConnection
|
|
|
1948
1948
|
deletedAt?: Date;
|
|
1949
1949
|
product: Product;
|
|
1950
1950
|
}
|
|
1951
|
-
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1952
|
-
productId: number;
|
|
1953
|
-
userId: number;
|
|
1954
|
-
user?: User;
|
|
1955
|
-
paymentStatus: PaymentStatusEnum;
|
|
1956
|
-
productName: string;
|
|
1957
|
-
productPrice: number;
|
|
1958
|
-
productQuantity: number;
|
|
1959
|
-
productQuantityLeft: number;
|
|
1960
|
-
productPriceCurrency: CurrencyEnum;
|
|
1961
|
-
ordinal?: number;
|
|
1962
|
-
purchasedResources: PurchasedResource[];
|
|
1963
|
-
product: Product;
|
|
1964
|
-
lineItem: LineItems;
|
|
1965
|
-
slots?: Slot[];
|
|
1966
|
-
addons?: Addon[];
|
|
1967
|
-
}
|
|
1968
1951
|
export declare class Program extends BondBaseEntity {
|
|
1969
1952
|
type: ProgramTypesEnum;
|
|
1970
1953
|
name: string;
|
|
@@ -1987,6 +1970,23 @@ export declare class Program extends BondBaseEntity {
|
|
|
1987
1970
|
programSeason: ProgramSeason[];
|
|
1988
1971
|
purchasedResources: PurchasedResource[];
|
|
1989
1972
|
}
|
|
1973
|
+
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1974
|
+
productId: number;
|
|
1975
|
+
userId: number;
|
|
1976
|
+
user?: User;
|
|
1977
|
+
paymentStatus: PaymentStatusEnum;
|
|
1978
|
+
productName: string;
|
|
1979
|
+
productPrice: number;
|
|
1980
|
+
productQuantity: number;
|
|
1981
|
+
productQuantityLeft: number;
|
|
1982
|
+
productPriceCurrency: CurrencyEnum;
|
|
1983
|
+
ordinal?: number;
|
|
1984
|
+
purchasedResources: PurchasedResource[];
|
|
1985
|
+
product: Product;
|
|
1986
|
+
lineItem: LineItems;
|
|
1987
|
+
slots?: Slot[];
|
|
1988
|
+
addons?: Addon[];
|
|
1989
|
+
}
|
|
1990
1990
|
export declare class ProgramHighlights extends BondBaseEntity {
|
|
1991
1991
|
type: ProgramHighlightTypeEnum;
|
|
1992
1992
|
ordinal: number | null;
|
|
@@ -2090,6 +2090,11 @@ export declare class Questions extends BondBaseEntity {
|
|
|
2090
2090
|
ownerId: number | null;
|
|
2091
2091
|
questionnaireId: number | null;
|
|
2092
2092
|
}
|
|
2093
|
+
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2094
|
+
reason: string;
|
|
2095
|
+
ordinal: number;
|
|
2096
|
+
deletedAt: Date;
|
|
2097
|
+
}
|
|
2093
2098
|
export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
|
|
2094
2099
|
resourceType: ResourceNameTypeEnum;
|
|
2095
2100
|
resourceId: number;
|
|
@@ -2133,11 +2138,6 @@ export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
|
2133
2138
|
publicNotes?: string;
|
|
2134
2139
|
slots?: Slot[];
|
|
2135
2140
|
}
|
|
2136
|
-
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2137
|
-
reason: string;
|
|
2138
|
-
ordinal: number;
|
|
2139
|
-
deletedAt: Date;
|
|
2140
|
-
}
|
|
2141
2141
|
export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
2142
2142
|
name: string;
|
|
2143
2143
|
resourceType: ResourceTypeEnum;
|
|
@@ -2166,13 +2166,6 @@ export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
|
2166
2166
|
purchasedResources: PurchasedResource[];
|
|
2167
2167
|
linkSEO: string;
|
|
2168
2168
|
}
|
|
2169
|
-
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2170
|
-
name: string;
|
|
2171
|
-
facilityId: number;
|
|
2172
|
-
parentSlotId: number;
|
|
2173
|
-
childrenSlotIds: number[];
|
|
2174
|
-
deletedAt?: Date;
|
|
2175
|
-
}
|
|
2176
2169
|
export declare class School extends BondBaseEntity {
|
|
2177
2170
|
name: string | null;
|
|
2178
2171
|
alias: string[] | null;
|
|
@@ -2216,6 +2209,13 @@ export declare class SeasonPool extends BondBaseEntity {
|
|
|
2216
2209
|
purchasedResource: PurchasedResource;
|
|
2217
2210
|
season: LeagueSeason;
|
|
2218
2211
|
}
|
|
2212
|
+
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2213
|
+
name: string;
|
|
2214
|
+
facilityId: number;
|
|
2215
|
+
parentSlotId: number;
|
|
2216
|
+
childrenSlotIds: number[];
|
|
2217
|
+
deletedAt?: Date;
|
|
2218
|
+
}
|
|
2219
2219
|
export declare class SeasonTeam extends BondBaseEntity {
|
|
2220
2220
|
seasonId: number | null;
|
|
2221
2221
|
teamId: number | null;
|
|
@@ -3453,11 +3453,6 @@ export declare class Lock extends BondBaseEntity {
|
|
|
3453
3453
|
name: string;
|
|
3454
3454
|
locked?: Date;
|
|
3455
3455
|
}
|
|
3456
|
-
export declare class TeamEvents extends BondBaseEntity {
|
|
3457
|
-
teamId: number | null;
|
|
3458
|
-
eventId: number | null;
|
|
3459
|
-
status: number | null;
|
|
3460
|
-
}
|
|
3461
3456
|
export interface ValidatedMonthAndDay {
|
|
3462
3457
|
valid: boolean;
|
|
3463
3458
|
month?: number;
|
|
@@ -3467,6 +3462,11 @@ export interface ValidationReason {
|
|
|
3467
3462
|
valid: boolean;
|
|
3468
3463
|
reason?: string;
|
|
3469
3464
|
}
|
|
3465
|
+
export declare class TeamEvents extends BondBaseEntity {
|
|
3466
|
+
teamId: number | null;
|
|
3467
|
+
eventId: number | null;
|
|
3468
|
+
status: number | null;
|
|
3469
|
+
}
|
|
3470
3470
|
export interface PaymentStatus {
|
|
3471
3471
|
parentId: number;
|
|
3472
3472
|
paymentStatus: ReservationPaymentStatusEnum;
|
|
@@ -3485,11 +3485,6 @@ export declare class CreateMonitorConfigDto {
|
|
|
3485
3485
|
code: string;
|
|
3486
3486
|
config: any;
|
|
3487
3487
|
}
|
|
3488
|
-
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3489
|
-
facilityId: number;
|
|
3490
|
-
code: string;
|
|
3491
|
-
config?: any;
|
|
3492
|
-
}
|
|
3493
3488
|
export declare class NotifyTracker extends BondBaseEntity {
|
|
3494
3489
|
userId: number;
|
|
3495
3490
|
organizationId: number;
|
|
@@ -3497,27 +3492,10 @@ export declare class NotifyTracker extends BondBaseEntity {
|
|
|
3497
3492
|
notfiyMethodtype: NotifyMethodEnum;
|
|
3498
3493
|
destination: string;
|
|
3499
3494
|
}
|
|
3500
|
-
export declare class
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
[id: number]: number;
|
|
3505
|
-
};
|
|
3506
|
-
refunds: PaymentMethodDto[];
|
|
3507
|
-
refundType: RefundTypeEnum;
|
|
3508
|
-
reasonId: number;
|
|
3509
|
-
note?: string;
|
|
3510
|
-
shiftId?: number;
|
|
3511
|
-
meta?: RevertMetaDto;
|
|
3512
|
-
}
|
|
3513
|
-
export declare class PaymentMethodDto {
|
|
3514
|
-
paymentMethodType: PaymentMethodTypeEnum;
|
|
3515
|
-
amount: number;
|
|
3516
|
-
paymentMethodId?: string;
|
|
3517
|
-
}
|
|
3518
|
-
export declare class RefundLineItemAmountDto {
|
|
3519
|
-
id: number;
|
|
3520
|
-
refundAmount: number;
|
|
3495
|
+
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3496
|
+
facilityId: number;
|
|
3497
|
+
code: string;
|
|
3498
|
+
config?: any;
|
|
3521
3499
|
}
|
|
3522
3500
|
export declare class CustomerIdDto {
|
|
3523
3501
|
customerId: number;
|
|
@@ -3641,6 +3619,28 @@ export declare class SendRequestDto {
|
|
|
3641
3619
|
sendToEmail: string;
|
|
3642
3620
|
memo?: string;
|
|
3643
3621
|
}
|
|
3622
|
+
export declare class RefundDto {
|
|
3623
|
+
invoiceId: number;
|
|
3624
|
+
lineItems: RefundLineItemAmountDto[];
|
|
3625
|
+
refundLineItemAmountDict?: {
|
|
3626
|
+
[id: number]: number;
|
|
3627
|
+
};
|
|
3628
|
+
refunds: PaymentMethodDto[];
|
|
3629
|
+
refundType: RefundTypeEnum;
|
|
3630
|
+
reasonId: number;
|
|
3631
|
+
note?: string;
|
|
3632
|
+
shiftId?: number;
|
|
3633
|
+
meta?: RevertMetaDto;
|
|
3634
|
+
}
|
|
3635
|
+
export declare class PaymentMethodDto {
|
|
3636
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
3637
|
+
amount: number;
|
|
3638
|
+
paymentMethodId?: string;
|
|
3639
|
+
}
|
|
3640
|
+
export declare class RefundLineItemAmountDto {
|
|
3641
|
+
id: number;
|
|
3642
|
+
refundAmount: number;
|
|
3643
|
+
}
|
|
3644
3644
|
export declare class VoidDto {
|
|
3645
3645
|
lineItems: VoidLineItemDto[];
|
|
3646
3646
|
meta?: RevertMetaDto;
|
|
@@ -3686,6 +3686,103 @@ export interface RefundResultWithLineItemsDict extends PaymentsResults {
|
|
|
3686
3686
|
failedLineItems: Map<number, RefundLineItemAmountDto>;
|
|
3687
3687
|
totalAmountProcessed: number;
|
|
3688
3688
|
}
|
|
3689
|
+
export declare class ByOrganizationIdDto {
|
|
3690
|
+
organizationId: number;
|
|
3691
|
+
}
|
|
3692
|
+
export declare class OptionalFindByOrganizationIdDto {
|
|
3693
|
+
organizationId?: number;
|
|
3694
|
+
}
|
|
3695
|
+
export declare class FindUnallocatedEventsIdsFiltersDto {
|
|
3696
|
+
programsIds?: string;
|
|
3697
|
+
sessionsIds?: string;
|
|
3698
|
+
segmentsIds?: string;
|
|
3699
|
+
startDate?: string;
|
|
3700
|
+
endDate?: string;
|
|
3701
|
+
months?: string;
|
|
3702
|
+
dow?: string;
|
|
3703
|
+
}
|
|
3704
|
+
export declare class FindUnallocatedEventsFiltersDto extends PaginationQuery {
|
|
3705
|
+
programsIds?: string;
|
|
3706
|
+
sessionsIds?: string;
|
|
3707
|
+
segmentsIds?: string;
|
|
3708
|
+
startDate?: string;
|
|
3709
|
+
endDate?: string;
|
|
3710
|
+
months?: string;
|
|
3711
|
+
dow?: string;
|
|
3712
|
+
}
|
|
3713
|
+
export declare class Organization extends BondBaseEntity {
|
|
3714
|
+
name: string | null;
|
|
3715
|
+
email: string | null;
|
|
3716
|
+
twitter: string | null;
|
|
3717
|
+
facebook: string | null;
|
|
3718
|
+
instagram: string | null;
|
|
3719
|
+
website: string | null;
|
|
3720
|
+
blog: string | null;
|
|
3721
|
+
phoneNumber: string | null;
|
|
3722
|
+
waiverDoc: string | null;
|
|
3723
|
+
about: string | null;
|
|
3724
|
+
tagline: string | null;
|
|
3725
|
+
status: number | null;
|
|
3726
|
+
addressId: number | null;
|
|
3727
|
+
merchantId: number | null;
|
|
3728
|
+
userCreatorId: number | null;
|
|
3729
|
+
parentId: number | null;
|
|
3730
|
+
paymentSettings: object | null;
|
|
3731
|
+
settings: object | null;
|
|
3732
|
+
isClaimed: boolean | null;
|
|
3733
|
+
sports: number[] | null;
|
|
3734
|
+
mainMediaId: number | null;
|
|
3735
|
+
deletedAt: Date | null;
|
|
3736
|
+
organizationActivityTypes: number[] | null;
|
|
3737
|
+
organizationTypes: number[] | null;
|
|
3738
|
+
organizationAudienceTypes: number[] | null;
|
|
3739
|
+
organizationGenders: number[] | null;
|
|
3740
|
+
questionnaireId: number | null;
|
|
3741
|
+
membershipQuestionnaireId: number | null;
|
|
3742
|
+
feeRate: number;
|
|
3743
|
+
feeAddDollarRate: number;
|
|
3744
|
+
achFeeRate: number;
|
|
3745
|
+
achFeeAddDollarRate: number;
|
|
3746
|
+
maxAchFee: number;
|
|
3747
|
+
cashFeeRate: number;
|
|
3748
|
+
cashFeeAddDollarRate: number;
|
|
3749
|
+
terminalFeeRate: number;
|
|
3750
|
+
terminalFeeAddDollarRate: number;
|
|
3751
|
+
checkFeeRate: number;
|
|
3752
|
+
checkFeeAddDollarRate: number;
|
|
3753
|
+
otherFeeRate: number;
|
|
3754
|
+
otherFeeAddDollarRate: number;
|
|
3755
|
+
balanceFeeRate: number;
|
|
3756
|
+
balanceFeeAddDollarRate: number;
|
|
3757
|
+
address: Address;
|
|
3758
|
+
mainMedia: Media;
|
|
3759
|
+
brandings: OrganizationBranding[];
|
|
3760
|
+
brandingsV2?: OrganizationBranding[];
|
|
3761
|
+
}
|
|
3762
|
+
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3763
|
+
key?: string;
|
|
3764
|
+
vaule?: string;
|
|
3765
|
+
version: number;
|
|
3766
|
+
organization: Organization;
|
|
3767
|
+
}
|
|
3768
|
+
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3769
|
+
mainAdminUserId?: number;
|
|
3770
|
+
}
|
|
3771
|
+
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3772
|
+
organisationId: number | null;
|
|
3773
|
+
userId: number | null;
|
|
3774
|
+
}
|
|
3775
|
+
export interface UnallocatedEventsFilters {
|
|
3776
|
+
programsIds?: number[];
|
|
3777
|
+
sessionsIds?: number[];
|
|
3778
|
+
segmentsIds?: number[];
|
|
3779
|
+
durations?: Duration[];
|
|
3780
|
+
daysOfWeek?: number[];
|
|
3781
|
+
}
|
|
3782
|
+
export interface Duration {
|
|
3783
|
+
startDate: string;
|
|
3784
|
+
endDate: string;
|
|
3785
|
+
}
|
|
3689
3786
|
export declare class AddonDto {
|
|
3690
3787
|
productId: number;
|
|
3691
3788
|
id?: number;
|
|
@@ -3754,6 +3851,39 @@ export declare class AddSlotsDto extends UpdateInvoiceDto {
|
|
|
3754
3851
|
export declare class AddSegmentsDto extends UpdateInvoiceDto {
|
|
3755
3852
|
segments: SegmentDto[];
|
|
3756
3853
|
}
|
|
3854
|
+
export declare class LineItemDto {
|
|
3855
|
+
id?: number;
|
|
3856
|
+
invoiceId?: number;
|
|
3857
|
+
type: LineItemsStatusEnum;
|
|
3858
|
+
organizationId: number;
|
|
3859
|
+
userId?: number;
|
|
3860
|
+
productId: number;
|
|
3861
|
+
product?: Product;
|
|
3862
|
+
productType: ProductTypesEnum;
|
|
3863
|
+
ordinal?: number;
|
|
3864
|
+
price: number;
|
|
3865
|
+
originalPrice?: number;
|
|
3866
|
+
paidAmount?: number;
|
|
3867
|
+
currency: CurrencyEnum;
|
|
3868
|
+
paymentStatus?: PaymentStatusEnum;
|
|
3869
|
+
isRefunded?: boolean;
|
|
3870
|
+
isTaxInclusive?: boolean;
|
|
3871
|
+
taxPrecent?: number;
|
|
3872
|
+
unitPrice?: number;
|
|
3873
|
+
quantity: number;
|
|
3874
|
+
resources?: PurchasedResourceDto[];
|
|
3875
|
+
relationType?: 'reservation-addon' | 'slots' | 'slot_addons';
|
|
3876
|
+
unitPriceWithTax?: number;
|
|
3877
|
+
unitTaxPrice?: number;
|
|
3878
|
+
parentOrdinal?: number;
|
|
3879
|
+
}
|
|
3880
|
+
export declare class MaintenanceDto {
|
|
3881
|
+
id?: number;
|
|
3882
|
+
title: string;
|
|
3883
|
+
durationValue: number;
|
|
3884
|
+
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
3885
|
+
maintenanceTiming: MaintenanceTimingEnum;
|
|
3886
|
+
}
|
|
3757
3887
|
export declare class PurchasedResourceDto {
|
|
3758
3888
|
resourceId?: number;
|
|
3759
3889
|
resourceType: ResourceNameTypeEnum;
|
|
@@ -3911,7 +4041,7 @@ export declare class ReservationNotifyDto {
|
|
|
3911
4041
|
notifyMethods?: NotifyMethodEnum[];
|
|
3912
4042
|
}
|
|
3913
4043
|
export declare class UpdateReservationInvoiceDto {
|
|
3914
|
-
updateAddons?:
|
|
4044
|
+
updateAddons?: string;
|
|
3915
4045
|
}
|
|
3916
4046
|
export declare class SegmentDto {
|
|
3917
4047
|
id?: number;
|
|
@@ -3941,32 +4071,6 @@ export declare class SeriesDto {
|
|
|
3941
4071
|
maintenance?: MaintenanceDto[];
|
|
3942
4072
|
slots?: SlotDto[];
|
|
3943
4073
|
}
|
|
3944
|
-
export declare class LineItemDto {
|
|
3945
|
-
id?: number;
|
|
3946
|
-
invoiceId?: number;
|
|
3947
|
-
type: LineItemsStatusEnum;
|
|
3948
|
-
organizationId: number;
|
|
3949
|
-
userId?: number;
|
|
3950
|
-
productId: number;
|
|
3951
|
-
product?: Product;
|
|
3952
|
-
productType: ProductTypesEnum;
|
|
3953
|
-
ordinal?: number;
|
|
3954
|
-
price: number;
|
|
3955
|
-
originalPrice?: number;
|
|
3956
|
-
paidAmount?: number;
|
|
3957
|
-
currency: CurrencyEnum;
|
|
3958
|
-
paymentStatus?: PaymentStatusEnum;
|
|
3959
|
-
isRefunded?: boolean;
|
|
3960
|
-
isTaxInclusive?: boolean;
|
|
3961
|
-
taxPrecent?: number;
|
|
3962
|
-
unitPrice?: number;
|
|
3963
|
-
quantity: number;
|
|
3964
|
-
resources?: PurchasedResourceDto[];
|
|
3965
|
-
relationType?: 'reservation-addon' | 'slots' | 'slot_addons';
|
|
3966
|
-
unitPriceWithTax?: number;
|
|
3967
|
-
unitTaxPrice?: number;
|
|
3968
|
-
parentOrdinal?: number;
|
|
3969
|
-
}
|
|
3970
4074
|
export declare class SlotDateTimeAndSpace {
|
|
3971
4075
|
startDate: string;
|
|
3972
4076
|
startTime?: string;
|
|
@@ -4037,13 +4141,6 @@ export declare class TimeSlotsDto {
|
|
|
4037
4141
|
export declare class SlotsIdsDto {
|
|
4038
4142
|
slotsIds: number[];
|
|
4039
4143
|
}
|
|
4040
|
-
export declare class MaintenanceDto {
|
|
4041
|
-
id?: number;
|
|
4042
|
-
title: string;
|
|
4043
|
-
durationValue: number;
|
|
4044
|
-
maintenanceDurationdurationType: DurationUnitTypesEnum;
|
|
4045
|
-
maintenanceTiming: MaintenanceTimingEnum;
|
|
4046
|
-
}
|
|
4047
4144
|
declare class AnswerDto {
|
|
4048
4145
|
questionId: number;
|
|
4049
4146
|
value: any;
|
|
@@ -4561,100 +4658,3 @@ export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
|
4561
4658
|
closingManager?: User;
|
|
4562
4659
|
reconcilingUser?: User;
|
|
4563
4660
|
}
|
|
4564
|
-
export declare class ByOrganizationIdDto {
|
|
4565
|
-
organizationId: number;
|
|
4566
|
-
}
|
|
4567
|
-
export declare class OptionalFindByOrganizationIdDto {
|
|
4568
|
-
organizationId?: number;
|
|
4569
|
-
}
|
|
4570
|
-
export declare class FindUnallocatedEventsIdsFiltersDto {
|
|
4571
|
-
programsIds?: string;
|
|
4572
|
-
sessionsIds?: string;
|
|
4573
|
-
segmentsIds?: string;
|
|
4574
|
-
startDate?: string;
|
|
4575
|
-
endDate?: string;
|
|
4576
|
-
months?: string;
|
|
4577
|
-
dow?: string;
|
|
4578
|
-
}
|
|
4579
|
-
export declare class FindUnallocatedEventsFiltersDto extends PaginationQuery {
|
|
4580
|
-
programsIds?: string;
|
|
4581
|
-
sessionsIds?: string;
|
|
4582
|
-
segmentsIds?: string;
|
|
4583
|
-
startDate?: string;
|
|
4584
|
-
endDate?: string;
|
|
4585
|
-
months?: string;
|
|
4586
|
-
dow?: string;
|
|
4587
|
-
}
|
|
4588
|
-
export declare class Organization extends BondBaseEntity {
|
|
4589
|
-
name: string | null;
|
|
4590
|
-
email: string | null;
|
|
4591
|
-
twitter: string | null;
|
|
4592
|
-
facebook: string | null;
|
|
4593
|
-
instagram: string | null;
|
|
4594
|
-
website: string | null;
|
|
4595
|
-
blog: string | null;
|
|
4596
|
-
phoneNumber: string | null;
|
|
4597
|
-
waiverDoc: string | null;
|
|
4598
|
-
about: string | null;
|
|
4599
|
-
tagline: string | null;
|
|
4600
|
-
status: number | null;
|
|
4601
|
-
addressId: number | null;
|
|
4602
|
-
merchantId: number | null;
|
|
4603
|
-
userCreatorId: number | null;
|
|
4604
|
-
parentId: number | null;
|
|
4605
|
-
paymentSettings: object | null;
|
|
4606
|
-
settings: object | null;
|
|
4607
|
-
isClaimed: boolean | null;
|
|
4608
|
-
sports: number[] | null;
|
|
4609
|
-
mainMediaId: number | null;
|
|
4610
|
-
deletedAt: Date | null;
|
|
4611
|
-
organizationActivityTypes: number[] | null;
|
|
4612
|
-
organizationTypes: number[] | null;
|
|
4613
|
-
organizationAudienceTypes: number[] | null;
|
|
4614
|
-
organizationGenders: number[] | null;
|
|
4615
|
-
questionnaireId: number | null;
|
|
4616
|
-
membershipQuestionnaireId: number | null;
|
|
4617
|
-
feeRate: number;
|
|
4618
|
-
feeAddDollarRate: number;
|
|
4619
|
-
achFeeRate: number;
|
|
4620
|
-
achFeeAddDollarRate: number;
|
|
4621
|
-
maxAchFee: number;
|
|
4622
|
-
cashFeeRate: number;
|
|
4623
|
-
cashFeeAddDollarRate: number;
|
|
4624
|
-
terminalFeeRate: number;
|
|
4625
|
-
terminalFeeAddDollarRate: number;
|
|
4626
|
-
checkFeeRate: number;
|
|
4627
|
-
checkFeeAddDollarRate: number;
|
|
4628
|
-
otherFeeRate: number;
|
|
4629
|
-
otherFeeAddDollarRate: number;
|
|
4630
|
-
balanceFeeRate: number;
|
|
4631
|
-
balanceFeeAddDollarRate: number;
|
|
4632
|
-
address: Address;
|
|
4633
|
-
mainMedia: Media;
|
|
4634
|
-
brandings: OrganizationBranding[];
|
|
4635
|
-
brandingsV2?: OrganizationBranding[];
|
|
4636
|
-
}
|
|
4637
|
-
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
4638
|
-
key?: string;
|
|
4639
|
-
vaule?: string;
|
|
4640
|
-
version: number;
|
|
4641
|
-
organization: Organization;
|
|
4642
|
-
}
|
|
4643
|
-
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
4644
|
-
mainAdminUserId?: number;
|
|
4645
|
-
}
|
|
4646
|
-
export declare class OrganizationUsers extends BondBaseEntity {
|
|
4647
|
-
organisationId: number | null;
|
|
4648
|
-
userId: number | null;
|
|
4649
|
-
}
|
|
4650
|
-
export interface UnallocatedEventsFilters {
|
|
4651
|
-
programsIds?: number[];
|
|
4652
|
-
sessionsIds?: number[];
|
|
4653
|
-
segmentsIds?: number[];
|
|
4654
|
-
durations?: Duration[];
|
|
4655
|
-
daysOfWeek?: number[];
|
|
4656
|
-
}
|
|
4657
|
-
export interface Duration {
|
|
4658
|
-
startDate: string;
|
|
4659
|
-
endDate: string;
|
|
4660
|
-
}
|