@bondsports/types 0.0.54 → 0.0.57
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 +192 -190
- 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
|
@@ -876,6 +876,50 @@ export declare class MoveParticipantDto {
|
|
|
876
876
|
resourceId: number;
|
|
877
877
|
orderId: number;
|
|
878
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
|
+
}
|
|
879
923
|
export declare class PurchasePaymentDto {
|
|
880
924
|
token: string;
|
|
881
925
|
type: PaymentMethodTypeEnum;
|
|
@@ -946,50 +990,6 @@ export declare class PartialPaymentAsUserDto {
|
|
|
946
990
|
amountToPay: any;
|
|
947
991
|
paymentMethodData: any;
|
|
948
992
|
}
|
|
949
|
-
export declare class FindProgramsByOrganizationIdDto {
|
|
950
|
-
organizationId: number;
|
|
951
|
-
programType?: ProgramTypesEnum;
|
|
952
|
-
}
|
|
953
|
-
export declare class FindProgramByIdDto {
|
|
954
|
-
programId: number;
|
|
955
|
-
}
|
|
956
|
-
export declare class FindProgramByOrgIdAndIdDto {
|
|
957
|
-
programId: number;
|
|
958
|
-
organizationId: number;
|
|
959
|
-
}
|
|
960
|
-
export declare class BaseProgramDto {
|
|
961
|
-
type: ProgramTypesEnum;
|
|
962
|
-
name: string;
|
|
963
|
-
sport: SportsEnum;
|
|
964
|
-
minAge: string;
|
|
965
|
-
maxAge: string;
|
|
966
|
-
gender: GenderEnum;
|
|
967
|
-
level?: LevelOfPlayEnum[];
|
|
968
|
-
description?: string;
|
|
969
|
-
GL?: string;
|
|
970
|
-
status: PublishingStatusEnum;
|
|
971
|
-
organizationId: number;
|
|
972
|
-
userCreatorId: number;
|
|
973
|
-
highlights: ProgramHighlights[];
|
|
974
|
-
longDescription?: string;
|
|
975
|
-
requiredProductIds: number[];
|
|
976
|
-
}
|
|
977
|
-
export declare class CreateProgramDto extends BaseProgramDto {
|
|
978
|
-
}
|
|
979
|
-
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
980
|
-
programId: number;
|
|
981
|
-
mainMediaId: number;
|
|
982
|
-
}
|
|
983
|
-
export declare class UpdateProgramStatusDto {
|
|
984
|
-
programId: number;
|
|
985
|
-
status: PublishingStatusEnum;
|
|
986
|
-
}
|
|
987
|
-
export declare class ProgramHighlightDto {
|
|
988
|
-
data: string;
|
|
989
|
-
ordinal: number;
|
|
990
|
-
type: ProgramHighlightTypeEnum;
|
|
991
|
-
title: string;
|
|
992
|
-
}
|
|
993
993
|
export declare class CreateResourceGroupDto {
|
|
994
994
|
name: string;
|
|
995
995
|
parentSlotId: number;
|
|
@@ -1186,18 +1186,6 @@ export declare class Configuration extends BondBaseEntity {
|
|
|
1186
1186
|
key: string;
|
|
1187
1187
|
value: string;
|
|
1188
1188
|
}
|
|
1189
|
-
export declare class Connection extends BondBaseEntity {
|
|
1190
|
-
connType: number | null;
|
|
1191
|
-
from: number | null;
|
|
1192
|
-
fromType: string | null;
|
|
1193
|
-
to: number | null;
|
|
1194
|
-
toType: string | null;
|
|
1195
|
-
status: number | null;
|
|
1196
|
-
creatorId: number | null;
|
|
1197
|
-
creatorType: string | null;
|
|
1198
|
-
userCreatorId: number | null;
|
|
1199
|
-
ownerId: number | null;
|
|
1200
|
-
}
|
|
1201
1189
|
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1202
1190
|
creditAmount: number;
|
|
1203
1191
|
paymentProcessorId: string;
|
|
@@ -1234,6 +1222,18 @@ export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
|
1234
1222
|
mainMedia: Media;
|
|
1235
1223
|
reservations?: Reservation[];
|
|
1236
1224
|
}
|
|
1225
|
+
export declare class Connection extends BondBaseEntity {
|
|
1226
|
+
connType: number | null;
|
|
1227
|
+
from: number | null;
|
|
1228
|
+
fromType: string | null;
|
|
1229
|
+
to: number | null;
|
|
1230
|
+
toType: string | null;
|
|
1231
|
+
status: number | null;
|
|
1232
|
+
creatorId: number | null;
|
|
1233
|
+
creatorType: string | null;
|
|
1234
|
+
userCreatorId: number | null;
|
|
1235
|
+
ownerId: number | null;
|
|
1236
|
+
}
|
|
1237
1237
|
export declare class CustomerCreditTransaction extends OrganizationConnectionBaseEntity {
|
|
1238
1238
|
customerId: number;
|
|
1239
1239
|
userId: number;
|
|
@@ -1549,6 +1549,22 @@ export declare class LineItemHistory extends BondBaseEntity {
|
|
|
1549
1549
|
invoice: Invoice;
|
|
1550
1550
|
lineItem: LineItems;
|
|
1551
1551
|
}
|
|
1552
|
+
export declare class LinkedAccounts extends BondBaseEntity {
|
|
1553
|
+
id: number;
|
|
1554
|
+
provider: string;
|
|
1555
|
+
providerId: string | null;
|
|
1556
|
+
parentId: number | null;
|
|
1557
|
+
parentType: string | null;
|
|
1558
|
+
status: number | null;
|
|
1559
|
+
token: string | null;
|
|
1560
|
+
refreshToken: string | null;
|
|
1561
|
+
tokenCreatedAt: Date | null;
|
|
1562
|
+
tokenValidUpTo: Date | null;
|
|
1563
|
+
createdAt: Date;
|
|
1564
|
+
updatedAt: Date;
|
|
1565
|
+
user: User;
|
|
1566
|
+
userId: number | null;
|
|
1567
|
+
}
|
|
1552
1568
|
export declare class LineItems extends BondBaseEntity {
|
|
1553
1569
|
constructor();
|
|
1554
1570
|
defineIsReverted(): void;
|
|
@@ -1604,22 +1620,6 @@ export declare class LineItems extends BondBaseEntity {
|
|
|
1604
1620
|
displayUnitPrice?: number;
|
|
1605
1621
|
displayQuantity?: number;
|
|
1606
1622
|
}
|
|
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
1623
|
export declare class Media extends BondBaseEntity {
|
|
1624
1624
|
url: string;
|
|
1625
1625
|
name: string | null;
|
|
@@ -1748,6 +1748,12 @@ export declare class OrderToInvoice extends BondBaseEntity {
|
|
|
1748
1748
|
export declare class OrganizationConnectionBaseEntity extends BondBaseEntity {
|
|
1749
1749
|
organizationId: number;
|
|
1750
1750
|
}
|
|
1751
|
+
export declare class PasswordReset extends BondBaseEntity {
|
|
1752
|
+
token: string | null;
|
|
1753
|
+
userId: number | null;
|
|
1754
|
+
validUntil: Date | null;
|
|
1755
|
+
active: boolean | null;
|
|
1756
|
+
}
|
|
1751
1757
|
export declare class PackageV1 extends BondBaseEntity {
|
|
1752
1758
|
name?: string;
|
|
1753
1759
|
description?: string;
|
|
@@ -1765,12 +1771,6 @@ export declare class PackageV1 extends BondBaseEntity {
|
|
|
1765
1771
|
isMandatory: boolean;
|
|
1766
1772
|
productId: number;
|
|
1767
1773
|
}
|
|
1768
|
-
export declare class PasswordReset extends BondBaseEntity {
|
|
1769
|
-
token: string | null;
|
|
1770
|
-
userId: number | null;
|
|
1771
|
-
validUntil: Date | null;
|
|
1772
|
-
active: boolean | null;
|
|
1773
|
-
}
|
|
1774
1774
|
export declare class PaymentPlanSchedule extends OrganizationConnectionBaseEntity {
|
|
1775
1775
|
paymentPlanId: number;
|
|
1776
1776
|
paymentDate: Date;
|
|
@@ -1811,6 +1811,30 @@ export declare class Price extends OrganizationConnectionBaseEntity {
|
|
|
1811
1811
|
discountMethod?: DiscountMethodsEnum;
|
|
1812
1812
|
discountValue?: number;
|
|
1813
1813
|
}
|
|
1814
|
+
export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
1815
|
+
parentProductId: number;
|
|
1816
|
+
childProductId: number;
|
|
1817
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
1818
|
+
timePeriod: AddonTimePeriodEnum;
|
|
1819
|
+
deletedAt?: Date;
|
|
1820
|
+
productResource: ProductResource;
|
|
1821
|
+
childProduct: Product;
|
|
1822
|
+
parentProduct: Product;
|
|
1823
|
+
price: number;
|
|
1824
|
+
isFlatPrice: boolean;
|
|
1825
|
+
durationMinutes?: number;
|
|
1826
|
+
durationDays?: number;
|
|
1827
|
+
level?: ProductPackageLevelEnum;
|
|
1828
|
+
}
|
|
1829
|
+
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
1830
|
+
productId: number;
|
|
1831
|
+
maxMonths?: number;
|
|
1832
|
+
dayOfMonth?: number;
|
|
1833
|
+
name: string;
|
|
1834
|
+
deletedAt?: Date;
|
|
1835
|
+
schedule: PaymentPlanSchedule[];
|
|
1836
|
+
product?: Product;
|
|
1837
|
+
}
|
|
1814
1838
|
export declare class Product extends OrganizationConnectionBaseEntity {
|
|
1815
1839
|
name: string;
|
|
1816
1840
|
quantity: number;
|
|
@@ -1861,30 +1885,6 @@ export declare class Product extends OrganizationConnectionBaseEntity {
|
|
|
1861
1885
|
activityTimes: ActivityTimes[];
|
|
1862
1886
|
purchasedResources: PurchasedResource[];
|
|
1863
1887
|
}
|
|
1864
|
-
export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
1865
|
-
parentProductId: number;
|
|
1866
|
-
childProductId: number;
|
|
1867
|
-
relationType: PackageProductsRelationTypeEnum;
|
|
1868
|
-
timePeriod: AddonTimePeriodEnum;
|
|
1869
|
-
deletedAt?: Date;
|
|
1870
|
-
productResource: ProductResource;
|
|
1871
|
-
childProduct: Product;
|
|
1872
|
-
parentProduct: Product;
|
|
1873
|
-
price: number;
|
|
1874
|
-
isFlatPrice: boolean;
|
|
1875
|
-
durationMinutes?: number;
|
|
1876
|
-
durationDays?: number;
|
|
1877
|
-
level?: ProductPackageLevelEnum;
|
|
1878
|
-
}
|
|
1879
|
-
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
1880
|
-
productId: number;
|
|
1881
|
-
maxMonths?: number;
|
|
1882
|
-
dayOfMonth?: number;
|
|
1883
|
-
name: string;
|
|
1884
|
-
deletedAt?: Date;
|
|
1885
|
-
schedule: PaymentPlanSchedule[];
|
|
1886
|
-
product?: Product;
|
|
1887
|
-
}
|
|
1888
1888
|
export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
1889
1889
|
productId: number;
|
|
1890
1890
|
resourceId: number;
|
|
@@ -1896,10 +1896,6 @@ export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
|
1896
1896
|
productPackages: ProductPackage[];
|
|
1897
1897
|
resourceName?: string;
|
|
1898
1898
|
}
|
|
1899
|
-
export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
|
|
1900
|
-
productId: number;
|
|
1901
|
-
variantTitleId: number;
|
|
1902
|
-
}
|
|
1903
1899
|
export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
|
|
1904
1900
|
productId: number;
|
|
1905
1901
|
variantId: number;
|
|
@@ -1911,6 +1907,27 @@ export declare class ProductsReservedForCustomers extends OrganizationConnection
|
|
|
1911
1907
|
deletedAt?: Date;
|
|
1912
1908
|
product: Product;
|
|
1913
1909
|
}
|
|
1910
|
+
export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
|
|
1911
|
+
productId: number;
|
|
1912
|
+
variantTitleId: number;
|
|
1913
|
+
}
|
|
1914
|
+
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1915
|
+
productId: number;
|
|
1916
|
+
userId: number;
|
|
1917
|
+
user?: User;
|
|
1918
|
+
paymentStatus: PaymentStatusEnum;
|
|
1919
|
+
productName: string;
|
|
1920
|
+
productPrice: number;
|
|
1921
|
+
productQuantity: number;
|
|
1922
|
+
productQuantityLeft: number;
|
|
1923
|
+
productPriceCurrency: CurrencyEnum;
|
|
1924
|
+
ordinal?: number;
|
|
1925
|
+
purchasedResources: PurchasedResource[];
|
|
1926
|
+
product: Product;
|
|
1927
|
+
lineItem: LineItems;
|
|
1928
|
+
slots?: Slot[];
|
|
1929
|
+
addons?: Addon[];
|
|
1930
|
+
}
|
|
1914
1931
|
export declare class Program extends BondBaseEntity {
|
|
1915
1932
|
type: ProgramTypesEnum;
|
|
1916
1933
|
name: string;
|
|
@@ -1933,23 +1950,6 @@ export declare class Program extends BondBaseEntity {
|
|
|
1933
1950
|
programSeason: ProgramSeason[];
|
|
1934
1951
|
purchasedResources: PurchasedResource[];
|
|
1935
1952
|
}
|
|
1936
|
-
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1937
|
-
productId: number;
|
|
1938
|
-
userId: number;
|
|
1939
|
-
user?: User;
|
|
1940
|
-
paymentStatus: PaymentStatusEnum;
|
|
1941
|
-
productName: string;
|
|
1942
|
-
productPrice: number;
|
|
1943
|
-
productQuantity: number;
|
|
1944
|
-
productQuantityLeft: number;
|
|
1945
|
-
productPriceCurrency: CurrencyEnum;
|
|
1946
|
-
ordinal?: number;
|
|
1947
|
-
purchasedResources: PurchasedResource[];
|
|
1948
|
-
product: Product;
|
|
1949
|
-
lineItem: LineItems;
|
|
1950
|
-
slots?: Slot[];
|
|
1951
|
-
addons?: Addon[];
|
|
1952
|
-
}
|
|
1953
1953
|
export declare class ProgramHighlights extends BondBaseEntity {
|
|
1954
1954
|
type: ProgramHighlightTypeEnum;
|
|
1955
1955
|
ordinal: number | null;
|
|
@@ -2012,6 +2012,10 @@ export declare class ProgramSeason extends BondBaseEntity {
|
|
|
2012
2012
|
facility: Facility;
|
|
2013
2013
|
purchasedResources: PurchasedResource[];
|
|
2014
2014
|
}
|
|
2015
|
+
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
2016
|
+
title: string | null;
|
|
2017
|
+
answerTitle: AnswerTitle;
|
|
2018
|
+
}
|
|
2015
2019
|
export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
|
|
2016
2020
|
productUserId: number;
|
|
2017
2021
|
resourceId: number;
|
|
@@ -2034,10 +2038,6 @@ export declare class PurchasedResource extends OrganizationConnectionBaseEntity
|
|
|
2034
2038
|
product?: Product;
|
|
2035
2039
|
event?: Event;
|
|
2036
2040
|
}
|
|
2037
|
-
export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
2038
|
-
title: string | null;
|
|
2039
|
-
answerTitle: AnswerTitle;
|
|
2040
|
-
}
|
|
2041
2041
|
export declare class Questions extends BondBaseEntity {
|
|
2042
2042
|
questionType: string | null;
|
|
2043
2043
|
ordinal: number | null;
|
|
@@ -2128,6 +2128,13 @@ export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
|
2128
2128
|
purchasedResources: PurchasedResource[];
|
|
2129
2129
|
linkSEO: string;
|
|
2130
2130
|
}
|
|
2131
|
+
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2132
|
+
name: string;
|
|
2133
|
+
facilityId: number;
|
|
2134
|
+
parentSlotId: number;
|
|
2135
|
+
childrenSlotIds: number[];
|
|
2136
|
+
deletedAt?: Date;
|
|
2137
|
+
}
|
|
2131
2138
|
export declare class School extends BondBaseEntity {
|
|
2132
2139
|
name: string | null;
|
|
2133
2140
|
alias: string[] | null;
|
|
@@ -2150,13 +2157,6 @@ export declare class SeasonAttendee extends BondBaseEntity {
|
|
|
2150
2157
|
deletedAt?: Date;
|
|
2151
2158
|
purchasedResource: PurchasedResource;
|
|
2152
2159
|
}
|
|
2153
|
-
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2154
|
-
name: string;
|
|
2155
|
-
facilityId: number;
|
|
2156
|
-
parentSlotId: number;
|
|
2157
|
-
childrenSlotIds: number[];
|
|
2158
|
-
deletedAt?: Date;
|
|
2159
|
-
}
|
|
2160
2160
|
export declare class SeasonDivisions extends BondBaseEntity {
|
|
2161
2161
|
name: string | null;
|
|
2162
2162
|
ordinal: number | null;
|
|
@@ -2203,14 +2203,6 @@ export declare class Station extends OrganizationConnectionBaseEntity {
|
|
|
2203
2203
|
subcategories: Subcategory[];
|
|
2204
2204
|
shifts?: Shift[];
|
|
2205
2205
|
}
|
|
2206
|
-
export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
|
|
2207
|
-
stationId: number;
|
|
2208
|
-
subcategoryId: number;
|
|
2209
|
-
productType: ProductTypesEnum;
|
|
2210
|
-
deletedAt?: Date;
|
|
2211
|
-
station: Station;
|
|
2212
|
-
subcategory: Subcategory;
|
|
2213
|
-
}
|
|
2214
2206
|
export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
2215
2207
|
productType: ProductTypesEnum;
|
|
2216
2208
|
name: string;
|
|
@@ -2219,6 +2211,14 @@ export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
|
2219
2211
|
stationToSubcategories: StationToSubcategory[];
|
|
2220
2212
|
stations: Station[];
|
|
2221
2213
|
}
|
|
2214
|
+
export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
|
|
2215
|
+
stationId: number;
|
|
2216
|
+
subcategoryId: number;
|
|
2217
|
+
productType: ProductTypesEnum;
|
|
2218
|
+
deletedAt?: Date;
|
|
2219
|
+
station: Station;
|
|
2220
|
+
subcategory: Subcategory;
|
|
2221
|
+
}
|
|
2222
2222
|
export declare class Team extends BondBaseEntity {
|
|
2223
2223
|
name: string | null;
|
|
2224
2224
|
description: string | null;
|
|
@@ -2574,6 +2574,7 @@ export interface ISlotReservationData {
|
|
|
2574
2574
|
slotType: SlotTypeEnum;
|
|
2575
2575
|
slotId: number;
|
|
2576
2576
|
eventId: number;
|
|
2577
|
+
isPrivate: boolean;
|
|
2577
2578
|
}
|
|
2578
2579
|
export interface IRawEventInSchedule extends IEventInSchedule {
|
|
2579
2580
|
parentSessionId: number;
|
|
@@ -2602,6 +2603,7 @@ export interface IRawSlotInSchedule {
|
|
|
2602
2603
|
slotType: SlotTypeEnum;
|
|
2603
2604
|
slotId: number;
|
|
2604
2605
|
eventId: number;
|
|
2606
|
+
isPrivate: boolean;
|
|
2605
2607
|
}
|
|
2606
2608
|
export interface IPurchasedResourcesRaw {
|
|
2607
2609
|
purchasedId: number;
|
|
@@ -3232,11 +3234,6 @@ export declare enum EEmailStatus {
|
|
|
3232
3234
|
PAID = "paid",
|
|
3233
3235
|
CANCELED = "canceled"
|
|
3234
3236
|
}
|
|
3235
|
-
export declare class ColumnNumericTransformer {
|
|
3236
|
-
to(data: number): number;
|
|
3237
|
-
from(data: string): number;
|
|
3238
|
-
}
|
|
3239
|
-
export declare function convertToNumber(data: string): number;
|
|
3240
3237
|
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3241
3238
|
name?: string;
|
|
3242
3239
|
genderStr?: string;
|
|
@@ -3353,6 +3350,10 @@ export declare class ImportedReservationDto {
|
|
|
3353
3350
|
slots?: ImportedSlotDto[];
|
|
3354
3351
|
addons?: ImportedSlotProductDto[];
|
|
3355
3352
|
}
|
|
3353
|
+
export declare class Lock extends BondBaseEntity {
|
|
3354
|
+
name: string;
|
|
3355
|
+
locked?: Date;
|
|
3356
|
+
}
|
|
3356
3357
|
export declare class GameSlots extends BondBaseEntity {
|
|
3357
3358
|
entityType: string;
|
|
3358
3359
|
entityId: number;
|
|
@@ -3366,11 +3367,6 @@ export declare class MatchParticipants extends BondBaseEntity {
|
|
|
3366
3367
|
score: number | null;
|
|
3367
3368
|
gameSlotId: number | null;
|
|
3368
3369
|
}
|
|
3369
|
-
export declare class Matches extends BondBaseEntity {
|
|
3370
|
-
eventId: number | null;
|
|
3371
|
-
status: number | null;
|
|
3372
|
-
excludeStandings: boolean | null;
|
|
3373
|
-
}
|
|
3374
3370
|
export declare class RoundEvents extends BaseEntity {
|
|
3375
3371
|
roundId: number;
|
|
3376
3372
|
eventId: number;
|
|
@@ -3378,6 +3374,11 @@ export declare class RoundEvents extends BaseEntity {
|
|
|
3378
3374
|
createdAt: Date;
|
|
3379
3375
|
updatedAt: Date;
|
|
3380
3376
|
}
|
|
3377
|
+
export declare class Matches extends BondBaseEntity {
|
|
3378
|
+
eventId: number | null;
|
|
3379
|
+
status: number | null;
|
|
3380
|
+
excludeStandings: boolean | null;
|
|
3381
|
+
}
|
|
3381
3382
|
export declare class SeasonRounds extends BondBaseEntity {
|
|
3382
3383
|
seasonId: number;
|
|
3383
3384
|
ordinal?: number;
|
|
@@ -3389,9 +3390,16 @@ export declare class TeamEvents extends BondBaseEntity {
|
|
|
3389
3390
|
eventId: number | null;
|
|
3390
3391
|
status: number | null;
|
|
3391
3392
|
}
|
|
3392
|
-
export declare class
|
|
3393
|
+
export declare class CreateMonitorConfigDto {
|
|
3394
|
+
facilityId: number;
|
|
3393
3395
|
name: string;
|
|
3394
|
-
|
|
3396
|
+
code: string;
|
|
3397
|
+
config: any;
|
|
3398
|
+
}
|
|
3399
|
+
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3400
|
+
facilityId: number;
|
|
3401
|
+
code: string;
|
|
3402
|
+
config?: any;
|
|
3395
3403
|
}
|
|
3396
3404
|
export declare class ByOrganizationIdDto {
|
|
3397
3405
|
organizationId: number;
|
|
@@ -3448,30 +3456,19 @@ export declare class Organization extends BondBaseEntity {
|
|
|
3448
3456
|
brandings: OrganizationBranding[];
|
|
3449
3457
|
brandingsV2?: OrganizationBranding[];
|
|
3450
3458
|
}
|
|
3459
|
+
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3460
|
+
mainAdminUserId?: number;
|
|
3461
|
+
}
|
|
3451
3462
|
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3452
3463
|
key?: string;
|
|
3453
3464
|
vaule?: string;
|
|
3454
3465
|
version: number;
|
|
3455
3466
|
organization: Organization;
|
|
3456
3467
|
}
|
|
3457
|
-
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3458
|
-
mainAdminUserId?: number;
|
|
3459
|
-
}
|
|
3460
3468
|
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3461
3469
|
organisationId: number | null;
|
|
3462
3470
|
userId: number | null;
|
|
3463
3471
|
}
|
|
3464
|
-
export declare class CreateMonitorConfigDto {
|
|
3465
|
-
facilityId: number;
|
|
3466
|
-
name: string;
|
|
3467
|
-
code: string;
|
|
3468
|
-
config: any;
|
|
3469
|
-
}
|
|
3470
|
-
export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
3471
|
-
facilityId: number;
|
|
3472
|
-
code: string;
|
|
3473
|
-
config?: any;
|
|
3474
|
-
}
|
|
3475
3472
|
export declare class CustomerIdDto {
|
|
3476
3473
|
customerId: number;
|
|
3477
3474
|
}
|
|
@@ -3621,29 +3618,11 @@ export declare class VoidLineItemDto {
|
|
|
3621
3618
|
isEdit?: boolean;
|
|
3622
3619
|
amount?: number;
|
|
3623
3620
|
}
|
|
3624
|
-
export declare class
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
export declare class CreateRoleDto {
|
|
3628
|
-
name: string;
|
|
3629
|
-
}
|
|
3630
|
-
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
3631
|
-
name: string;
|
|
3632
|
-
deletedAt?: Date;
|
|
3633
|
-
permissions: Permission[];
|
|
3634
|
-
usersRoles: UserRole[];
|
|
3635
|
-
}
|
|
3636
|
-
export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
3637
|
-
deletedAt?: Date;
|
|
3638
|
-
userId: number;
|
|
3639
|
-
roleId: number;
|
|
3640
|
-
role: Role;
|
|
3641
|
-
user: User;
|
|
3642
|
-
}
|
|
3643
|
-
export declare class Permission extends BondBaseEntity {
|
|
3644
|
-
name: string;
|
|
3645
|
-
deletedAt?: Date;
|
|
3621
|
+
export declare class ColumnNumericTransformer {
|
|
3622
|
+
to(data: number): number;
|
|
3623
|
+
from(data: string): number;
|
|
3646
3624
|
}
|
|
3625
|
+
export declare function convertToNumber(data: string): number;
|
|
3647
3626
|
export declare class LineItemDto {
|
|
3648
3627
|
id?: number;
|
|
3649
3628
|
orderId?: number;
|
|
@@ -4156,6 +4135,29 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
|
4156
4135
|
changeLineItems?: LineItems[];
|
|
4157
4136
|
updatedLineItem?: LineItems;
|
|
4158
4137
|
}
|
|
4138
|
+
export declare class Permission extends BondBaseEntity {
|
|
4139
|
+
name: string;
|
|
4140
|
+
deletedAt?: Date;
|
|
4141
|
+
}
|
|
4142
|
+
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
4143
|
+
name: string;
|
|
4144
|
+
deletedAt?: Date;
|
|
4145
|
+
permissions: Permission[];
|
|
4146
|
+
usersRoles: UserRole[];
|
|
4147
|
+
}
|
|
4148
|
+
export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
4149
|
+
deletedAt?: Date;
|
|
4150
|
+
userId: number;
|
|
4151
|
+
roleId: number;
|
|
4152
|
+
role: Role;
|
|
4153
|
+
user: User;
|
|
4154
|
+
}
|
|
4155
|
+
export declare class ChangeRolePermissionsDto {
|
|
4156
|
+
permissionIds: number[];
|
|
4157
|
+
}
|
|
4158
|
+
export declare class CreateRoleDto {
|
|
4159
|
+
name: string;
|
|
4160
|
+
}
|
|
4159
4161
|
export declare class CloseShiftDto {
|
|
4160
4162
|
closingCashAmount: number;
|
|
4161
4163
|
}
|