@bondsports/types 0.0.57 → 0.0.60
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 +667 -667
- 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,50 +876,6 @@ 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
|
-
}
|
|
923
879
|
export declare class PurchasePaymentDto {
|
|
924
880
|
token: string;
|
|
925
881
|
type: PaymentMethodTypeEnum;
|
|
@@ -998,6 +954,50 @@ export declare class CreateResourceGroupDto {
|
|
|
998
954
|
}
|
|
999
955
|
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
1000
956
|
}
|
|
957
|
+
export declare class FindProgramsByOrganizationIdDto {
|
|
958
|
+
organizationId: number;
|
|
959
|
+
programType?: ProgramTypesEnum;
|
|
960
|
+
}
|
|
961
|
+
export declare class FindProgramByIdDto {
|
|
962
|
+
programId: number;
|
|
963
|
+
}
|
|
964
|
+
export declare class FindProgramByOrgIdAndIdDto {
|
|
965
|
+
programId: number;
|
|
966
|
+
organizationId: number;
|
|
967
|
+
}
|
|
968
|
+
export declare class BaseProgramDto {
|
|
969
|
+
type: ProgramTypesEnum;
|
|
970
|
+
name: string;
|
|
971
|
+
sport: SportsEnum;
|
|
972
|
+
minAge: string;
|
|
973
|
+
maxAge: string;
|
|
974
|
+
gender: GenderEnum;
|
|
975
|
+
level?: LevelOfPlayEnum[];
|
|
976
|
+
description?: string;
|
|
977
|
+
GL?: string;
|
|
978
|
+
status: PublishingStatusEnum;
|
|
979
|
+
organizationId: number;
|
|
980
|
+
userCreatorId: number;
|
|
981
|
+
highlights: ProgramHighlights[];
|
|
982
|
+
longDescription?: string;
|
|
983
|
+
requiredProductIds: number[];
|
|
984
|
+
}
|
|
985
|
+
export declare class CreateProgramDto extends BaseProgramDto {
|
|
986
|
+
}
|
|
987
|
+
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
988
|
+
programId: number;
|
|
989
|
+
mainMediaId: number;
|
|
990
|
+
}
|
|
991
|
+
export declare class UpdateProgramStatusDto {
|
|
992
|
+
programId: number;
|
|
993
|
+
status: PublishingStatusEnum;
|
|
994
|
+
}
|
|
995
|
+
export declare class ProgramHighlightDto {
|
|
996
|
+
data: string;
|
|
997
|
+
ordinal: number;
|
|
998
|
+
type: ProgramHighlightTypeEnum;
|
|
999
|
+
title: string;
|
|
1000
|
+
}
|
|
1001
1001
|
export declare class ResourceDto {
|
|
1002
1002
|
type: ResourceNameTypeEnum;
|
|
1003
1003
|
id: number;
|
|
@@ -1186,6 +1186,18 @@ 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
|
+
}
|
|
1189
1201
|
export declare class CreditNote extends OrganizationConnectionBaseEntity {
|
|
1190
1202
|
creditAmount: number;
|
|
1191
1203
|
paymentProcessorId: string;
|
|
@@ -1222,18 +1234,6 @@ export declare class Customer extends OrganizationConnectionBaseEntity {
|
|
|
1222
1234
|
mainMedia: Media;
|
|
1223
1235
|
reservations?: Reservation[];
|
|
1224
1236
|
}
|
|
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,22 +1549,6 @@ 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
|
-
}
|
|
1568
1552
|
export declare class LineItems extends BondBaseEntity {
|
|
1569
1553
|
constructor();
|
|
1570
1554
|
defineIsReverted(): void;
|
|
@@ -1620,6 +1604,22 @@ export declare class LineItems extends BondBaseEntity {
|
|
|
1620
1604
|
displayUnitPrice?: number;
|
|
1621
1605
|
displayQuantity?: number;
|
|
1622
1606
|
}
|
|
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,12 +1748,6 @@ 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
|
-
}
|
|
1757
1751
|
export declare class PackageV1 extends BondBaseEntity {
|
|
1758
1752
|
name?: string;
|
|
1759
1753
|
description?: string;
|
|
@@ -1771,6 +1765,12 @@ export declare class PackageV1 extends BondBaseEntity {
|
|
|
1771
1765
|
isMandatory: boolean;
|
|
1772
1766
|
productId: number;
|
|
1773
1767
|
}
|
|
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,30 +1811,6 @@ 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
|
-
}
|
|
1838
1814
|
export declare class Product extends OrganizationConnectionBaseEntity {
|
|
1839
1815
|
name: string;
|
|
1840
1816
|
quantity: number;
|
|
@@ -1885,6 +1861,30 @@ export declare class Product extends OrganizationConnectionBaseEntity {
|
|
|
1885
1861
|
activityTimes: ActivityTimes[];
|
|
1886
1862
|
purchasedResources: PurchasedResource[];
|
|
1887
1863
|
}
|
|
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,6 +1896,10 @@ 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
|
+
}
|
|
1899
1903
|
export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
|
|
1900
1904
|
productId: number;
|
|
1901
1905
|
variantId: number;
|
|
@@ -1907,10 +1911,6 @@ export declare class ProductsReservedForCustomers extends OrganizationConnection
|
|
|
1907
1911
|
deletedAt?: Date;
|
|
1908
1912
|
product: Product;
|
|
1909
1913
|
}
|
|
1910
|
-
export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
|
|
1911
|
-
productId: number;
|
|
1912
|
-
variantTitleId: number;
|
|
1913
|
-
}
|
|
1914
1914
|
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1915
1915
|
productId: number;
|
|
1916
1916
|
userId: number;
|
|
@@ -2012,10 +2012,6 @@ 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
|
-
}
|
|
2019
2015
|
export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
|
|
2020
2016
|
productUserId: number;
|
|
2021
2017
|
resourceId: number;
|
|
@@ -2038,6 +2034,10 @@ export declare class PurchasedResource extends OrganizationConnectionBaseEntity
|
|
|
2038
2034
|
product?: Product;
|
|
2039
2035
|
event?: Event;
|
|
2040
2036
|
}
|
|
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,13 +2128,6 @@ 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
|
-
}
|
|
2138
2131
|
export declare class School extends BondBaseEntity {
|
|
2139
2132
|
name: string | null;
|
|
2140
2133
|
alias: string[] | null;
|
|
@@ -2203,14 +2196,6 @@ export declare class Station extends OrganizationConnectionBaseEntity {
|
|
|
2203
2196
|
subcategories: Subcategory[];
|
|
2204
2197
|
shifts?: Shift[];
|
|
2205
2198
|
}
|
|
2206
|
-
export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
2207
|
-
productType: ProductTypesEnum;
|
|
2208
|
-
name: string;
|
|
2209
|
-
ordinal?: number;
|
|
2210
|
-
deletedAt?: Date;
|
|
2211
|
-
stationToSubcategories: StationToSubcategory[];
|
|
2212
|
-
stations: Station[];
|
|
2213
|
-
}
|
|
2214
2199
|
export declare class StationToSubcategory extends OrganizationConnectionBaseEntity {
|
|
2215
2200
|
stationId: number;
|
|
2216
2201
|
subcategoryId: number;
|
|
@@ -2219,6 +2204,14 @@ export declare class StationToSubcategory extends OrganizationConnectionBaseEnti
|
|
|
2219
2204
|
station: Station;
|
|
2220
2205
|
subcategory: Subcategory;
|
|
2221
2206
|
}
|
|
2207
|
+
export declare class Subcategory extends OrganizationConnectionBaseEntity {
|
|
2208
|
+
productType: ProductTypesEnum;
|
|
2209
|
+
name: string;
|
|
2210
|
+
ordinal?: number;
|
|
2211
|
+
deletedAt?: Date;
|
|
2212
|
+
stationToSubcategories: StationToSubcategory[];
|
|
2213
|
+
stations: Station[];
|
|
2214
|
+
}
|
|
2222
2215
|
export declare class Team extends BondBaseEntity {
|
|
2223
2216
|
name: string | null;
|
|
2224
2217
|
description: string | null;
|
|
@@ -2347,365 +2340,12 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
|
|
|
2347
2340
|
membershipCollectionId?: string;
|
|
2348
2341
|
programsCollectionId?: string;
|
|
2349
2342
|
}
|
|
2350
|
-
export
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
}
|
|
2357
|
-
export interface IQuestionAnswerObject {
|
|
2358
|
-
questionId: number;
|
|
2359
|
-
value: string;
|
|
2360
|
-
}
|
|
2361
|
-
export interface ILowestPriceForItem {
|
|
2362
|
-
itemId: number;
|
|
2363
|
-
itemType: ResourceNameTypeEnum;
|
|
2364
|
-
groupId: number;
|
|
2365
|
-
groupName?: string;
|
|
2366
|
-
price: number;
|
|
2367
|
-
overridesPrice: boolean;
|
|
2368
|
-
}
|
|
2369
|
-
export interface IResourcesAvailability {
|
|
2370
|
-
resourceType: ResourceNameTypeEnum;
|
|
2371
|
-
quantity: number;
|
|
2372
|
-
resourcesIds: number[];
|
|
2373
|
-
isPunchCard: boolean;
|
|
2374
|
-
resources?: any[];
|
|
2375
|
-
}
|
|
2376
|
-
export interface IPackageResponse {
|
|
2377
|
-
parentProduct: Product;
|
|
2378
|
-
children: IChildProduct[];
|
|
2379
|
-
}
|
|
2380
|
-
export interface IChildProduct {
|
|
2381
|
-
product: Product;
|
|
2382
|
-
relationType: PackageProductsRelationTypeEnum;
|
|
2383
|
-
timePeriod?: AddonTimePeriodEnum;
|
|
2384
|
-
}
|
|
2385
|
-
export interface ISeasonAttendeeInfo {
|
|
2386
|
-
applicationAnswers: Answer[];
|
|
2387
|
-
segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
2388
|
-
invoices: Order[];
|
|
2389
|
-
payments: Invoice[];
|
|
2390
|
-
products: Product[];
|
|
2391
|
-
redeemNext: ProductsUsers;
|
|
2392
|
-
}
|
|
2393
|
-
export interface ISeasonAttendeeListInfo {
|
|
2394
|
-
userId: number;
|
|
2395
|
-
userFirstName: string;
|
|
2396
|
-
userLastName: string;
|
|
2397
|
-
userGender: number;
|
|
2398
|
-
userBirthDate: Date;
|
|
2399
|
-
userProfilePicUrl: string;
|
|
2400
|
-
customerId: number;
|
|
2401
|
-
customerEmail: string;
|
|
2402
|
-
paymentStatus: string;
|
|
2403
|
-
productName: string;
|
|
2404
|
-
punchCard: boolean;
|
|
2405
|
-
}
|
|
2406
|
-
export declare class SeasonAsSeasonSegment extends ProgramSeason {
|
|
2407
|
-
segmentType: ResourceNameTypeEnum;
|
|
2408
|
-
participantRegisteredDate?: string;
|
|
2409
|
-
}
|
|
2410
|
-
export declare class EventAsSeasonSegment extends Event {
|
|
2411
|
-
segmentType: ResourceNameTypeEnum;
|
|
2412
|
-
participantRegisteredDate?: string;
|
|
2413
|
-
}
|
|
2414
|
-
export interface ITokenResonse {
|
|
2415
|
-
token: string;
|
|
2416
|
-
}
|
|
2417
|
-
export interface IStripeBondInvoices {
|
|
2418
|
-
paidStripePaymentIntent: Stripe.PaymentIntent;
|
|
2419
|
-
bondPaidInvoice: Invoice;
|
|
2420
|
-
order?: Order;
|
|
2421
|
-
customer?: Customer;
|
|
2422
|
-
}
|
|
2423
|
-
export interface IPartialPaymentData {
|
|
2424
|
-
purchasingUserId: number;
|
|
2425
|
-
paymentData: PurchasePaymentDto;
|
|
2426
|
-
amountToPay: number;
|
|
2427
|
-
}
|
|
2428
|
-
export interface IPayment {
|
|
2429
|
-
id: number;
|
|
2430
|
-
total: number;
|
|
2431
|
-
paymentMethod: PaymentMethodTypeEnum;
|
|
2432
|
-
status: PaymentStatusEnum;
|
|
2433
|
-
createdAt: Date;
|
|
2434
|
-
invoices: number[];
|
|
2435
|
-
}
|
|
2436
|
-
export interface IPaginationData<T> {
|
|
2437
|
-
meta: {
|
|
2438
|
-
totalItems: number;
|
|
2439
|
-
itemsPerPage: number;
|
|
2440
|
-
totalPages: number;
|
|
2441
|
-
currentPage: number;
|
|
2442
|
-
};
|
|
2443
|
-
data: T[];
|
|
2444
|
-
}
|
|
2445
|
-
export interface IPricesOfProductsResults {
|
|
2446
|
-
productId: number;
|
|
2447
|
-
userId: number;
|
|
2448
|
-
price: number;
|
|
2449
|
-
groupId?: number;
|
|
2450
|
-
groupName?: string;
|
|
2451
|
-
originalPrice?: number;
|
|
2452
|
-
priceWithoutTax: number;
|
|
2453
|
-
tax: number;
|
|
2454
|
-
isTaxInclusive: boolean;
|
|
2455
|
-
}
|
|
2456
|
-
export interface IPaymentMethodToFundLeft {
|
|
2457
|
-
paymentType: PaymentMethodTypeEnum;
|
|
2458
|
-
paymentMethodId: string;
|
|
2459
|
-
fundLeft: number;
|
|
2460
|
-
ccLast4?: string;
|
|
2461
|
-
ccBrand?: string;
|
|
2462
|
-
}
|
|
2463
|
-
export interface IVariantsAndTitle {
|
|
2464
|
-
title: VariantTitle;
|
|
2465
|
-
variants: Variant[];
|
|
2466
|
-
}
|
|
2467
|
-
export interface IProgramSeasonActivityTimes {
|
|
2468
|
-
dayOfWeek: number;
|
|
2469
|
-
open: string;
|
|
2470
|
-
close: string;
|
|
2471
|
-
}
|
|
2472
|
-
export interface IProgramSeasonActivityTimesAsDates {
|
|
2473
|
-
date: string;
|
|
2474
|
-
startTime: string;
|
|
2475
|
-
endTime: string;
|
|
2476
|
-
}
|
|
2477
|
-
export interface IBlockedDates {
|
|
2478
|
-
name: string;
|
|
2479
|
-
startDate: Date;
|
|
2480
|
-
endDate: Date;
|
|
2481
|
-
}
|
|
2482
|
-
export interface ISingleMemberForRenewal {
|
|
2483
|
-
member_id: number;
|
|
2484
|
-
member_membershipId: number;
|
|
2485
|
-
member_userId: number;
|
|
2486
|
-
member_nextPaymentMethodId?: string;
|
|
2487
|
-
member_nextPaymentType?: PaymentMethodTypeEnum;
|
|
2488
|
-
member_answerTitleIds?: number[];
|
|
2489
|
-
member_organizationId: number;
|
|
2490
|
-
line_paidAmount: number;
|
|
2491
|
-
line_productId: number;
|
|
2492
|
-
order_payingUserId: number;
|
|
2493
|
-
order_paymentMethodId: string;
|
|
2494
|
-
order_paymentType: PaymentMethodTypeEnum;
|
|
2495
|
-
endDate: Date;
|
|
2496
|
-
membership_name: string;
|
|
2497
|
-
user_firstName: string;
|
|
2498
|
-
user_lastName: string;
|
|
2499
|
-
user_email: string;
|
|
2500
|
-
}
|
|
2501
|
-
export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
|
|
2502
|
-
package_parentProductId: number;
|
|
2503
|
-
line2_paidAmount: number;
|
|
2504
|
-
familyid: number;
|
|
2505
|
-
order_id: number;
|
|
2506
|
-
}
|
|
2507
|
-
export interface IResourceRegistrationData {
|
|
2508
|
-
id: number;
|
|
2509
|
-
resourceType: ResourceNameTypeEnum;
|
|
2510
|
-
openNumDays?: number;
|
|
2511
|
-
openNumMinutes?: number;
|
|
2512
|
-
openTime?: string;
|
|
2513
|
-
closeNumDays?: number;
|
|
2514
|
-
closeNumMinutes?: number;
|
|
2515
|
-
closeTime?: string;
|
|
2516
|
-
registrationWindowStatus?: RegistrationWindowStatusEnum;
|
|
2517
|
-
}
|
|
2518
|
-
export interface IResourceDataForConstraintsCalc {
|
|
2519
|
-
id: number;
|
|
2520
|
-
startDate: string;
|
|
2521
|
-
startTime: string;
|
|
2522
|
-
}
|
|
2523
|
-
export interface IRegistrationConstraintsSetting {
|
|
2524
|
-
numDays?: number;
|
|
2525
|
-
numMinutes?: number;
|
|
2526
|
-
}
|
|
2527
|
-
export interface IAttendeeDataToNotify {
|
|
2528
|
-
firstName: string;
|
|
2529
|
-
lastName: string;
|
|
2530
|
-
email: string;
|
|
2531
|
-
sessionName: string;
|
|
2532
|
-
parentSessionName?: string;
|
|
2533
|
-
organizationName: string;
|
|
2534
|
-
programName: string;
|
|
2535
|
-
}
|
|
2536
|
-
export interface IEventInSchedule {
|
|
2537
|
-
eventId: number;
|
|
2538
|
-
eventName: string;
|
|
2539
|
-
eventStartDate: string;
|
|
2540
|
-
eventEndDate: string;
|
|
2541
|
-
eventStartTime: string;
|
|
2542
|
-
eventEndTime: string;
|
|
2543
|
-
programId: number;
|
|
2544
|
-
programName: string;
|
|
2545
|
-
programType: ProgramTypesEnum;
|
|
2546
|
-
sessionId: number;
|
|
2547
|
-
sessionName: string;
|
|
2548
|
-
sports: number;
|
|
2549
|
-
spaces: {
|
|
2550
|
-
spaceId: number;
|
|
2551
|
-
spaceName: string;
|
|
2552
|
-
}[];
|
|
2553
|
-
status?: RegistrationValidationStatusEnum;
|
|
2554
|
-
}
|
|
2555
|
-
export interface ISlotInSchedule {
|
|
2556
|
-
facilityId: number;
|
|
2557
|
-
facilityName: string;
|
|
2558
|
-
spaces: ISpaceWithSlots[];
|
|
2559
|
-
}
|
|
2560
|
-
export interface ISpaceWithSlots {
|
|
2561
|
-
id: number;
|
|
2562
|
-
name: string;
|
|
2563
|
-
slots: ISlotReservationData[];
|
|
2564
|
-
}
|
|
2565
|
-
export interface ISlotReservationData {
|
|
2566
|
-
reservationId: number;
|
|
2567
|
-
reservationName: string;
|
|
2568
|
-
date: string;
|
|
2569
|
-
startTime: string;
|
|
2570
|
-
endTime: string;
|
|
2571
|
-
notes: string;
|
|
2572
|
-
spaceId: number;
|
|
2573
|
-
isRental: boolean;
|
|
2574
|
-
slotType: SlotTypeEnum;
|
|
2575
|
-
slotId: number;
|
|
2576
|
-
eventId: number;
|
|
2577
|
-
isPrivate: boolean;
|
|
2578
|
-
}
|
|
2579
|
-
export interface IRawEventInSchedule extends IEventInSchedule {
|
|
2580
|
-
parentSessionId: number;
|
|
2581
|
-
parentSessionName: string;
|
|
2582
|
-
eventTimezone: string;
|
|
2583
|
-
maxParticipants: number;
|
|
2584
|
-
maxMaleParticipants: number;
|
|
2585
|
-
maxFemaleParticipants: number;
|
|
2586
|
-
isPunchCard: boolean;
|
|
2587
|
-
}
|
|
2588
|
-
export interface IBasicSpaceAndSlotCreator {
|
|
2589
|
-
id: number;
|
|
2590
|
-
name: string;
|
|
2591
|
-
bookingCreatorId: number;
|
|
2592
|
-
}
|
|
2593
|
-
export interface IRawSlotInSchedule {
|
|
2594
|
-
startDate: string;
|
|
2595
|
-
endDate: string;
|
|
2596
|
-
startTime: string;
|
|
2597
|
-
endTime: string;
|
|
2598
|
-
reservationId: number;
|
|
2599
|
-
eventTitle: string;
|
|
2600
|
-
publicNotes: string;
|
|
2601
|
-
spaceId: number;
|
|
2602
|
-
creatorType: ResourceNameTypeEnum;
|
|
2603
|
-
slotType: SlotTypeEnum;
|
|
2604
|
-
slotId: number;
|
|
2605
|
-
eventId: number;
|
|
2606
|
-
isPrivate: boolean;
|
|
2607
|
-
}
|
|
2608
|
-
export interface IPurchasedResourcesRaw {
|
|
2609
|
-
purchasedId: number;
|
|
2610
|
-
purchasedProductUserId: number;
|
|
2611
|
-
purchasedResourceId: number;
|
|
2612
|
-
purchasedResourceType: ResourceNameTypeEnum;
|
|
2613
|
-
purchasedStatus: PurchasedResourceStatusEnum;
|
|
2614
|
-
pUserId: number;
|
|
2615
|
-
pUserPaymentStatus: PaymentStatusEnum;
|
|
2616
|
-
pUserProductId: number;
|
|
2617
|
-
pUserProductName: string;
|
|
2618
|
-
pUserProductPrice: number;
|
|
2619
|
-
pUserProductPriceCurrency: string;
|
|
2620
|
-
pUserProductQuantity: number;
|
|
2621
|
-
pUserProductQuantityLeft: number;
|
|
2622
|
-
pUserUserId: number;
|
|
2623
|
-
}
|
|
2624
|
-
export interface IUsersPasses {
|
|
2625
|
-
userId: number;
|
|
2626
|
-
userFirstName: string;
|
|
2627
|
-
userLastName: string;
|
|
2628
|
-
organizationId: number;
|
|
2629
|
-
programId: number;
|
|
2630
|
-
programName: string;
|
|
2631
|
-
sessionId: number;
|
|
2632
|
-
sessionName: string;
|
|
2633
|
-
productId: number;
|
|
2634
|
-
productName: string;
|
|
2635
|
-
productUserId: number;
|
|
2636
|
-
purchaseDate: Date;
|
|
2637
|
-
passesLeft: number;
|
|
2638
|
-
}
|
|
2639
|
-
export interface ISessionsLandingPage {
|
|
2640
|
-
sessionId: number;
|
|
2641
|
-
name: string;
|
|
2642
|
-
startDate: Date;
|
|
2643
|
-
endDate: Date;
|
|
2644
|
-
registrationStartDate: Date;
|
|
2645
|
-
registrationEndDate: Date;
|
|
2646
|
-
sport: SportsEnum;
|
|
2647
|
-
minAge: string;
|
|
2648
|
-
maxAge: string;
|
|
2649
|
-
maxParticipants?: number;
|
|
2650
|
-
gender: GenderEnum;
|
|
2651
|
-
activityTimes: ActivityTimes[];
|
|
2652
|
-
earlyRegistrationStartDate?: Date;
|
|
2653
|
-
earlyRegistrationEndDate?: Date;
|
|
2654
|
-
lateRegistrationStartDate?: Date;
|
|
2655
|
-
lateRegistrationEndDate?: Date;
|
|
2656
|
-
attendeeCount?: number;
|
|
2657
|
-
segmentsOrEvents: 'segment' | 'event';
|
|
2658
|
-
}
|
|
2659
|
-
export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
|
|
2660
|
-
hasRequiredMembership: boolean;
|
|
2661
|
-
hasEntitledPricing: boolean;
|
|
2662
|
-
lowestPrice?: number;
|
|
2663
|
-
products?: ISessionLandingPageProduct[];
|
|
2664
|
-
}
|
|
2665
|
-
export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
|
|
2666
|
-
hasRequiredMembership: boolean;
|
|
2667
|
-
hasEntitledPricing: boolean;
|
|
2668
|
-
products?: ISessionLandingPageProduct[];
|
|
2669
|
-
segments?: Event[] | ProgramSeason[];
|
|
2670
|
-
programName: string;
|
|
2671
|
-
programId: number;
|
|
2672
|
-
levelOfPlay: LevelOfPlayEnum[];
|
|
2673
|
-
registrationConstraints: IResourceRegistrationData[];
|
|
2674
|
-
}
|
|
2675
|
-
export interface ISlimAddons {
|
|
2676
|
-
addons?: {
|
|
2677
|
-
id: number;
|
|
2678
|
-
timePeriod: AddonTimePeriodEnum;
|
|
2679
|
-
name: string;
|
|
2680
|
-
productType?: ProductTypesEnum;
|
|
2681
|
-
productSubType?: string;
|
|
2682
|
-
}[];
|
|
2683
|
-
}
|
|
2684
|
-
export interface ISessionLandingPageProduct extends ISlimAddons {
|
|
2685
|
-
id: number;
|
|
2686
|
-
name: string;
|
|
2687
|
-
startDate?: Date;
|
|
2688
|
-
endDate?: Date;
|
|
2689
|
-
downpayment?: number;
|
|
2690
|
-
description?: string;
|
|
2691
|
-
prices: Price[];
|
|
2692
|
-
productSubType?: ProductSubTypesEnum;
|
|
2693
|
-
punchCard: boolean;
|
|
2694
|
-
isAddon: boolean;
|
|
2695
|
-
defaultPriceId?: number;
|
|
2696
|
-
}
|
|
2697
|
-
export interface CreatePaymentIntentDto extends PurchaseRequestDto {
|
|
2698
|
-
destinationId?: string;
|
|
2699
|
-
stripeCustomerId?: string;
|
|
2700
|
-
fee?: number;
|
|
2701
|
-
}
|
|
2702
|
-
export interface IReservationCreatorData {
|
|
2703
|
-
type: ResourceNameTypeEnum;
|
|
2704
|
-
id: number;
|
|
2705
|
-
organizationId: number;
|
|
2706
|
-
startDate: string;
|
|
2707
|
-
endDate: string;
|
|
2708
|
-
sportId: number;
|
|
2343
|
+
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2344
|
+
name: string;
|
|
2345
|
+
facilityId: number;
|
|
2346
|
+
parentSlotId: number;
|
|
2347
|
+
childrenSlotIds: number[];
|
|
2348
|
+
deletedAt?: Date;
|
|
2709
2349
|
}
|
|
2710
2350
|
export declare enum EntitlementTermsTypesEnum {
|
|
2711
2351
|
QUESTION = "question",
|
|
@@ -3117,171 +2757,482 @@ export declare enum DateTimeFormatsEnum {
|
|
|
3117
2757
|
API_DATE = "YYYY/MM/DD",
|
|
3118
2758
|
API_TIME = "HH:mm:ss"
|
|
3119
2759
|
}
|
|
3120
|
-
export declare enum SlotTypeEnum {
|
|
3121
|
-
EXTERNAL = "external",
|
|
3122
|
-
INTERNAL = "internal",
|
|
3123
|
-
MAINTENANCE = "maintenance",
|
|
3124
|
-
CUSTOM = "custom"
|
|
2760
|
+
export declare enum SlotTypeEnum {
|
|
2761
|
+
EXTERNAL = "external",
|
|
2762
|
+
INTERNAL = "internal",
|
|
2763
|
+
MAINTENANCE = "maintenance",
|
|
2764
|
+
CUSTOM = "custom"
|
|
2765
|
+
}
|
|
2766
|
+
export declare enum PlatformsEnum {
|
|
2767
|
+
CONSUMER = "consumer",
|
|
2768
|
+
BO = "backoffice",
|
|
2769
|
+
MOBILE = "mobile",
|
|
2770
|
+
CRON = "cron"
|
|
2771
|
+
}
|
|
2772
|
+
export declare enum ShiftStatusEnum {
|
|
2773
|
+
OPEN = "open",
|
|
2774
|
+
CLOSED = "closed",
|
|
2775
|
+
MANAGMENT_CLOSED = "closed_by_manager",
|
|
2776
|
+
RECONCILED = "reconciled"
|
|
2777
|
+
}
|
|
2778
|
+
export declare enum EventStatusEnum {
|
|
2779
|
+
OPEN = 1,
|
|
2780
|
+
DRAFT = 2,
|
|
2781
|
+
FULL = 3,
|
|
2782
|
+
CANCELLED = 4,
|
|
2783
|
+
CLOSED = 5,
|
|
2784
|
+
DELETED = 6
|
|
2785
|
+
}
|
|
2786
|
+
export declare enum ReservationTypeEnum {
|
|
2787
|
+
RENTAL = "rental",
|
|
2788
|
+
PROGRAM = "program",
|
|
2789
|
+
MAINTENANCE = "maintenance",
|
|
2790
|
+
CUSTOM = "custom"
|
|
2791
|
+
}
|
|
2792
|
+
export declare enum SlotDurationTypeEnum {
|
|
2793
|
+
DATES = "dates",
|
|
2794
|
+
ALL_DAY = "all day",
|
|
2795
|
+
DURATION = "duration"
|
|
2796
|
+
}
|
|
2797
|
+
export declare enum DurationUnitTypesEnum {
|
|
2798
|
+
MINUTES = "minutes",
|
|
2799
|
+
HOURS = "hours"
|
|
2800
|
+
}
|
|
2801
|
+
export declare enum FrequencyEnum {
|
|
2802
|
+
NONE = "none",
|
|
2803
|
+
WEEKLY = "weekly",
|
|
2804
|
+
DAILY = "daily",
|
|
2805
|
+
MONTHLY = "monthly",
|
|
2806
|
+
YEARLY = "yearly"
|
|
2807
|
+
}
|
|
2808
|
+
export declare enum MaintenanceTimingEnum {
|
|
2809
|
+
BEFORE = 1,
|
|
2810
|
+
AFTER = 2,
|
|
2811
|
+
AT_THE_BEGINING = 3,
|
|
2812
|
+
AT_THE_END = 4
|
|
2813
|
+
}
|
|
2814
|
+
export declare enum CreatorTypeEnum {
|
|
2815
|
+
SPACE = "space",
|
|
2816
|
+
PROGRAM_SEASON = "program_season"
|
|
2817
|
+
}
|
|
2818
|
+
export declare enum UpdatePricesTypeEnum {
|
|
2819
|
+
INDIVIDUAL = "indvidual",
|
|
2820
|
+
CATEGORY = "category",
|
|
2821
|
+
GLOBAL = "global"
|
|
2822
|
+
}
|
|
2823
|
+
export declare enum BondDayOfWeekEnum {
|
|
2824
|
+
MONDAY = 2,
|
|
2825
|
+
TUESDAY = 3,
|
|
2826
|
+
WEDNESDAY = 4,
|
|
2827
|
+
THURSDAY = 5,
|
|
2828
|
+
FRIDAY = 6,
|
|
2829
|
+
SATURDAY = 7,
|
|
2830
|
+
SUNDAY = 8
|
|
2831
|
+
}
|
|
2832
|
+
export declare enum ReservationMigrationStatusEnum {
|
|
2833
|
+
NEW = "new",
|
|
2834
|
+
NO = "no",
|
|
2835
|
+
YES = "yes"
|
|
2836
|
+
}
|
|
2837
|
+
export declare enum ProductPackageLevelEnum {
|
|
2838
|
+
HOUR = "hour",
|
|
2839
|
+
SLOT = "slot",
|
|
2840
|
+
RESERVATION = "reservation"
|
|
2841
|
+
}
|
|
2842
|
+
export declare enum CancellationStatusEnum {
|
|
2843
|
+
IMMEDIATE = "immediate",
|
|
2844
|
+
AUTO_RENEWAL = "auto_renewal"
|
|
2845
|
+
}
|
|
2846
|
+
export declare enum SeasonScheduleStatusEnum {
|
|
2847
|
+
DRAFT = 0,
|
|
2848
|
+
PUBLISHED = 1
|
|
2849
|
+
}
|
|
2850
|
+
export declare enum FinancialStepEnum {
|
|
2851
|
+
VOID = "void",
|
|
2852
|
+
REFUND = "refund",
|
|
2853
|
+
NONE = "none",
|
|
2854
|
+
REFUND_AND_VOID = "refund-and-void",
|
|
2855
|
+
APPEND = "append"
|
|
2856
|
+
}
|
|
2857
|
+
export declare enum StripeAccountTypesEnum {
|
|
2858
|
+
STRIPE = "stripe",
|
|
2859
|
+
STRIPE_CUSTOM = "stripe:account:custom",
|
|
2860
|
+
STRIPE_CUSTOMER = "stripe:customer"
|
|
2861
|
+
}
|
|
2862
|
+
export declare enum LinkedAccountStatus {
|
|
2863
|
+
PENDING = 1,
|
|
2864
|
+
ACTIVE = 2,
|
|
2865
|
+
PRE_PENDING = 3
|
|
2866
|
+
}
|
|
2867
|
+
export declare enum AddonParentTypeEnum {
|
|
2868
|
+
RESERVATION = "reservation",
|
|
2869
|
+
SLOT = "slot"
|
|
2870
|
+
}
|
|
2871
|
+
export declare enum EEmailStatus {
|
|
2872
|
+
SENT = "sent",
|
|
2873
|
+
OPENED = "opened",
|
|
2874
|
+
PAID = "paid",
|
|
2875
|
+
CANCELED = "canceled"
|
|
2876
|
+
}
|
|
2877
|
+
export interface IEntitlementTerms {
|
|
2878
|
+
type: EntitlementTermsTypesEnum;
|
|
2879
|
+
id?: number;
|
|
2880
|
+
value?: string;
|
|
2881
|
+
minValue?: string;
|
|
2882
|
+
maxValue?: string;
|
|
2883
|
+
}
|
|
2884
|
+
export interface IQuestionAnswerObject {
|
|
2885
|
+
questionId: number;
|
|
2886
|
+
value: string;
|
|
2887
|
+
}
|
|
2888
|
+
export interface ILowestPriceForItem {
|
|
2889
|
+
itemId: number;
|
|
2890
|
+
itemType: ResourceNameTypeEnum;
|
|
2891
|
+
groupId: number;
|
|
2892
|
+
groupName?: string;
|
|
2893
|
+
price: number;
|
|
2894
|
+
overridesPrice: boolean;
|
|
2895
|
+
}
|
|
2896
|
+
export interface IResourcesAvailability {
|
|
2897
|
+
resourceType: ResourceNameTypeEnum;
|
|
2898
|
+
quantity: number;
|
|
2899
|
+
resourcesIds: number[];
|
|
2900
|
+
isPunchCard: boolean;
|
|
2901
|
+
resources?: any[];
|
|
2902
|
+
}
|
|
2903
|
+
export interface IPackageResponse {
|
|
2904
|
+
parentProduct: Product;
|
|
2905
|
+
children: IChildProduct[];
|
|
2906
|
+
}
|
|
2907
|
+
export interface IChildProduct {
|
|
2908
|
+
product: Product;
|
|
2909
|
+
relationType: PackageProductsRelationTypeEnum;
|
|
2910
|
+
timePeriod?: AddonTimePeriodEnum;
|
|
2911
|
+
}
|
|
2912
|
+
export interface ISeasonAttendeeInfo {
|
|
2913
|
+
applicationAnswers: Answer[];
|
|
2914
|
+
segments: (SeasonAsSeasonSegment | EventAsSeasonSegment)[];
|
|
2915
|
+
invoices: Order[];
|
|
2916
|
+
payments: Invoice[];
|
|
2917
|
+
products: Product[];
|
|
2918
|
+
redeemNext: ProductsUsers;
|
|
2919
|
+
}
|
|
2920
|
+
export interface ISeasonAttendeeListInfo {
|
|
2921
|
+
userId: number;
|
|
2922
|
+
userFirstName: string;
|
|
2923
|
+
userLastName: string;
|
|
2924
|
+
userGender: number;
|
|
2925
|
+
userBirthDate: Date;
|
|
2926
|
+
userProfilePicUrl: string;
|
|
2927
|
+
customerId: number;
|
|
2928
|
+
customerEmail: string;
|
|
2929
|
+
paymentStatus: string;
|
|
2930
|
+
productName: string;
|
|
2931
|
+
punchCard: boolean;
|
|
2932
|
+
}
|
|
2933
|
+
export declare class SeasonAsSeasonSegment extends ProgramSeason {
|
|
2934
|
+
segmentType: ResourceNameTypeEnum;
|
|
2935
|
+
participantRegisteredDate?: string;
|
|
2936
|
+
}
|
|
2937
|
+
export declare class EventAsSeasonSegment extends Event {
|
|
2938
|
+
segmentType: ResourceNameTypeEnum;
|
|
2939
|
+
participantRegisteredDate?: string;
|
|
2940
|
+
}
|
|
2941
|
+
export interface ITokenResonse {
|
|
2942
|
+
token: string;
|
|
2943
|
+
}
|
|
2944
|
+
export interface IStripeBondInvoices {
|
|
2945
|
+
paidStripePaymentIntent: Stripe.PaymentIntent;
|
|
2946
|
+
bondPaidInvoice: Invoice;
|
|
2947
|
+
order?: Order;
|
|
2948
|
+
customer?: Customer;
|
|
2949
|
+
}
|
|
2950
|
+
export interface IPartialPaymentData {
|
|
2951
|
+
purchasingUserId: number;
|
|
2952
|
+
paymentData: PurchasePaymentDto;
|
|
2953
|
+
amountToPay: number;
|
|
2954
|
+
}
|
|
2955
|
+
export interface IPayment {
|
|
2956
|
+
id: number;
|
|
2957
|
+
total: number;
|
|
2958
|
+
paymentMethod: PaymentMethodTypeEnum;
|
|
2959
|
+
status: PaymentStatusEnum;
|
|
2960
|
+
createdAt: Date;
|
|
2961
|
+
invoices: number[];
|
|
2962
|
+
}
|
|
2963
|
+
export interface IPaginationData<T> {
|
|
2964
|
+
meta: {
|
|
2965
|
+
totalItems: number;
|
|
2966
|
+
itemsPerPage: number;
|
|
2967
|
+
totalPages: number;
|
|
2968
|
+
currentPage: number;
|
|
2969
|
+
};
|
|
2970
|
+
data: T[];
|
|
2971
|
+
}
|
|
2972
|
+
export interface IPricesOfProductsResults {
|
|
2973
|
+
productId: number;
|
|
2974
|
+
userId: number;
|
|
2975
|
+
price: number;
|
|
2976
|
+
groupId?: number;
|
|
2977
|
+
groupName?: string;
|
|
2978
|
+
originalPrice?: number;
|
|
2979
|
+
priceWithoutTax: number;
|
|
2980
|
+
tax: number;
|
|
2981
|
+
isTaxInclusive: boolean;
|
|
2982
|
+
}
|
|
2983
|
+
export interface IPaymentMethodToFundLeft {
|
|
2984
|
+
paymentType: PaymentMethodTypeEnum;
|
|
2985
|
+
paymentMethodId: string;
|
|
2986
|
+
fundLeft: number;
|
|
2987
|
+
ccLast4?: string;
|
|
2988
|
+
ccBrand?: string;
|
|
3125
2989
|
}
|
|
3126
|
-
export
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
MOBILE = "mobile",
|
|
3130
|
-
CRON = "cron"
|
|
2990
|
+
export interface IVariantsAndTitle {
|
|
2991
|
+
title: VariantTitle;
|
|
2992
|
+
variants: Variant[];
|
|
3131
2993
|
}
|
|
3132
|
-
export
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
RECONCILED = "reconciled"
|
|
2994
|
+
export interface IProgramSeasonActivityTimes {
|
|
2995
|
+
dayOfWeek: number;
|
|
2996
|
+
open: string;
|
|
2997
|
+
close: string;
|
|
3137
2998
|
}
|
|
3138
|
-
export
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
CANCELLED = 4,
|
|
3143
|
-
CLOSED = 5,
|
|
3144
|
-
DELETED = 6
|
|
2999
|
+
export interface IProgramSeasonActivityTimesAsDates {
|
|
3000
|
+
date: string;
|
|
3001
|
+
startTime: string;
|
|
3002
|
+
endTime: string;
|
|
3145
3003
|
}
|
|
3146
|
-
export
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
CUSTOM = "custom"
|
|
3004
|
+
export interface IBlockedDates {
|
|
3005
|
+
name: string;
|
|
3006
|
+
startDate: Date;
|
|
3007
|
+
endDate: Date;
|
|
3151
3008
|
}
|
|
3152
|
-
export
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3009
|
+
export interface ISingleMemberForRenewal {
|
|
3010
|
+
member_id: number;
|
|
3011
|
+
member_membershipId: number;
|
|
3012
|
+
member_userId: number;
|
|
3013
|
+
member_nextPaymentMethodId?: string;
|
|
3014
|
+
member_nextPaymentType?: PaymentMethodTypeEnum;
|
|
3015
|
+
member_answerTitleIds?: number[];
|
|
3016
|
+
member_organizationId: number;
|
|
3017
|
+
line_paidAmount: number;
|
|
3018
|
+
line_productId: number;
|
|
3019
|
+
order_payingUserId: number;
|
|
3020
|
+
order_paymentMethodId: string;
|
|
3021
|
+
order_paymentType: PaymentMethodTypeEnum;
|
|
3022
|
+
endDate: Date;
|
|
3023
|
+
membership_name: string;
|
|
3024
|
+
user_firstName: string;
|
|
3025
|
+
user_lastName: string;
|
|
3026
|
+
user_email: string;
|
|
3156
3027
|
}
|
|
3157
|
-
export
|
|
3158
|
-
|
|
3159
|
-
|
|
3028
|
+
export interface IFamilyMemberForRenewal extends ISingleMemberForRenewal {
|
|
3029
|
+
package_parentProductId: number;
|
|
3030
|
+
line2_paidAmount: number;
|
|
3031
|
+
familyid: number;
|
|
3032
|
+
order_id: number;
|
|
3160
3033
|
}
|
|
3161
|
-
export
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
|
|
3034
|
+
export interface IResourceRegistrationData {
|
|
3035
|
+
id: number;
|
|
3036
|
+
resourceType: ResourceNameTypeEnum;
|
|
3037
|
+
openNumDays?: number;
|
|
3038
|
+
openNumMinutes?: number;
|
|
3039
|
+
openTime?: string;
|
|
3040
|
+
closeNumDays?: number;
|
|
3041
|
+
closeNumMinutes?: number;
|
|
3042
|
+
closeTime?: string;
|
|
3043
|
+
registrationWindowStatus?: RegistrationWindowStatusEnum;
|
|
3167
3044
|
}
|
|
3168
|
-
export
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
AT_THE_END = 4
|
|
3045
|
+
export interface IResourceDataForConstraintsCalc {
|
|
3046
|
+
id: number;
|
|
3047
|
+
startDate: string;
|
|
3048
|
+
startTime: string;
|
|
3173
3049
|
}
|
|
3174
|
-
export
|
|
3175
|
-
|
|
3176
|
-
|
|
3050
|
+
export interface IRegistrationConstraintsSetting {
|
|
3051
|
+
numDays?: number;
|
|
3052
|
+
numMinutes?: number;
|
|
3177
3053
|
}
|
|
3178
|
-
export
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3054
|
+
export interface IAttendeeDataToNotify {
|
|
3055
|
+
firstName: string;
|
|
3056
|
+
lastName: string;
|
|
3057
|
+
email: string;
|
|
3058
|
+
sessionName: string;
|
|
3059
|
+
parentSessionName?: string;
|
|
3060
|
+
organizationName: string;
|
|
3061
|
+
programName: string;
|
|
3182
3062
|
}
|
|
3183
|
-
export
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
|
|
3063
|
+
export interface IEventInSchedule {
|
|
3064
|
+
eventId: number;
|
|
3065
|
+
eventName: string;
|
|
3066
|
+
eventStartDate: string;
|
|
3067
|
+
eventEndDate: string;
|
|
3068
|
+
eventStartTime: string;
|
|
3069
|
+
eventEndTime: string;
|
|
3070
|
+
programId: number;
|
|
3071
|
+
programName: string;
|
|
3072
|
+
programType: ProgramTypesEnum;
|
|
3073
|
+
sessionId: number;
|
|
3074
|
+
sessionName: string;
|
|
3075
|
+
sports: number;
|
|
3076
|
+
spaces: {
|
|
3077
|
+
spaceId: number;
|
|
3078
|
+
spaceName: string;
|
|
3079
|
+
}[];
|
|
3080
|
+
status?: RegistrationValidationStatusEnum;
|
|
3191
3081
|
}
|
|
3192
|
-
export
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3082
|
+
export interface ISlotInSchedule {
|
|
3083
|
+
facilityId: number;
|
|
3084
|
+
facilityName: string;
|
|
3085
|
+
spaces: ISpaceWithSlots[];
|
|
3196
3086
|
}
|
|
3197
|
-
export
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3087
|
+
export interface ISpaceWithSlots {
|
|
3088
|
+
id: number;
|
|
3089
|
+
name: string;
|
|
3090
|
+
slots: ISlotReservationData[];
|
|
3201
3091
|
}
|
|
3202
|
-
export
|
|
3203
|
-
|
|
3204
|
-
|
|
3092
|
+
export interface ISlotReservationData {
|
|
3093
|
+
reservationId: number;
|
|
3094
|
+
reservationName: string;
|
|
3095
|
+
date: string;
|
|
3096
|
+
startTime: string;
|
|
3097
|
+
endTime: string;
|
|
3098
|
+
notes: string;
|
|
3099
|
+
spaceId: number;
|
|
3100
|
+
isRental: boolean;
|
|
3101
|
+
slotType: SlotTypeEnum;
|
|
3102
|
+
slotId: number;
|
|
3103
|
+
eventId: number;
|
|
3104
|
+
isPrivate: boolean;
|
|
3205
3105
|
}
|
|
3206
|
-
export
|
|
3207
|
-
|
|
3208
|
-
|
|
3106
|
+
export interface IRawEventInSchedule extends IEventInSchedule {
|
|
3107
|
+
parentSessionId: number;
|
|
3108
|
+
parentSessionName: string;
|
|
3109
|
+
eventTimezone: string;
|
|
3110
|
+
maxParticipants: number;
|
|
3111
|
+
maxMaleParticipants: number;
|
|
3112
|
+
maxFemaleParticipants: number;
|
|
3113
|
+
isPunchCard: boolean;
|
|
3209
3114
|
}
|
|
3210
|
-
export
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
REFUND_AND_VOID = "refund-and-void",
|
|
3215
|
-
APPEND = "append"
|
|
3115
|
+
export interface IBasicSpaceAndSlotCreator {
|
|
3116
|
+
id: number;
|
|
3117
|
+
name: string;
|
|
3118
|
+
bookingCreatorId: number;
|
|
3216
3119
|
}
|
|
3217
|
-
export
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3120
|
+
export interface IRawSlotInSchedule {
|
|
3121
|
+
startDate: string;
|
|
3122
|
+
endDate: string;
|
|
3123
|
+
startTime: string;
|
|
3124
|
+
endTime: string;
|
|
3125
|
+
reservationId: number;
|
|
3126
|
+
eventTitle: string;
|
|
3127
|
+
publicNotes: string;
|
|
3128
|
+
spaceId: number;
|
|
3129
|
+
creatorType: ResourceNameTypeEnum;
|
|
3130
|
+
slotType: SlotTypeEnum;
|
|
3131
|
+
slotId: number;
|
|
3132
|
+
eventId: number;
|
|
3133
|
+
isPrivate: boolean;
|
|
3221
3134
|
}
|
|
3222
|
-
export
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
|
|
3135
|
+
export interface IPurchasedResourcesRaw {
|
|
3136
|
+
purchasedId: number;
|
|
3137
|
+
purchasedProductUserId: number;
|
|
3138
|
+
purchasedResourceId: number;
|
|
3139
|
+
purchasedResourceType: ResourceNameTypeEnum;
|
|
3140
|
+
purchasedStatus: PurchasedResourceStatusEnum;
|
|
3141
|
+
pUserId: number;
|
|
3142
|
+
pUserPaymentStatus: PaymentStatusEnum;
|
|
3143
|
+
pUserProductId: number;
|
|
3144
|
+
pUserProductName: string;
|
|
3145
|
+
pUserProductPrice: number;
|
|
3146
|
+
pUserProductPriceCurrency: string;
|
|
3147
|
+
pUserProductQuantity: number;
|
|
3148
|
+
pUserProductQuantityLeft: number;
|
|
3149
|
+
pUserUserId: number;
|
|
3226
3150
|
}
|
|
3227
|
-
export
|
|
3228
|
-
|
|
3229
|
-
|
|
3151
|
+
export interface IUsersPasses {
|
|
3152
|
+
userId: number;
|
|
3153
|
+
userFirstName: string;
|
|
3154
|
+
userLastName: string;
|
|
3155
|
+
organizationId: number;
|
|
3156
|
+
programId: number;
|
|
3157
|
+
programName: string;
|
|
3158
|
+
sessionId: number;
|
|
3159
|
+
sessionName: string;
|
|
3160
|
+
productId: number;
|
|
3161
|
+
productName: string;
|
|
3162
|
+
productUserId: number;
|
|
3163
|
+
purchaseDate: Date;
|
|
3164
|
+
passesLeft: number;
|
|
3230
3165
|
}
|
|
3231
|
-
export
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3166
|
+
export interface ISessionsLandingPage {
|
|
3167
|
+
sessionId: number;
|
|
3168
|
+
name: string;
|
|
3169
|
+
startDate: Date;
|
|
3170
|
+
endDate: Date;
|
|
3171
|
+
registrationStartDate: Date;
|
|
3172
|
+
registrationEndDate: Date;
|
|
3173
|
+
sport: SportsEnum;
|
|
3174
|
+
minAge: string;
|
|
3175
|
+
maxAge: string;
|
|
3176
|
+
maxParticipants?: number;
|
|
3177
|
+
gender: GenderEnum;
|
|
3178
|
+
activityTimes: ActivityTimes[];
|
|
3179
|
+
earlyRegistrationStartDate?: Date;
|
|
3180
|
+
earlyRegistrationEndDate?: Date;
|
|
3181
|
+
lateRegistrationStartDate?: Date;
|
|
3182
|
+
lateRegistrationEndDate?: Date;
|
|
3183
|
+
attendeeCount?: number;
|
|
3184
|
+
segmentsOrEvents: 'segment' | 'event';
|
|
3236
3185
|
}
|
|
3237
|
-
export
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
|
|
3242
|
-
membershipName?: string;
|
|
3243
|
-
membershipExpDate?: string;
|
|
3244
|
-
membershipCreationDate?: string;
|
|
3245
|
-
bondMembershipID?: number;
|
|
3186
|
+
export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
|
|
3187
|
+
hasRequiredMembership: boolean;
|
|
3188
|
+
hasEntitledPricing: boolean;
|
|
3189
|
+
lowestPrice?: number;
|
|
3190
|
+
products?: ISessionLandingPageProduct[];
|
|
3246
3191
|
}
|
|
3247
|
-
export
|
|
3248
|
-
|
|
3249
|
-
|
|
3192
|
+
export interface ISessionLandingPageExpanded extends ISessionsLandingPage {
|
|
3193
|
+
hasRequiredMembership: boolean;
|
|
3194
|
+
hasEntitledPricing: boolean;
|
|
3195
|
+
products?: ISessionLandingPageProduct[];
|
|
3196
|
+
segments?: Event[] | ProgramSeason[];
|
|
3197
|
+
programName: string;
|
|
3198
|
+
programId: number;
|
|
3199
|
+
levelOfPlay: LevelOfPlayEnum[];
|
|
3200
|
+
registrationConstraints: IResourceRegistrationData[];
|
|
3250
3201
|
}
|
|
3251
|
-
export
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
|
|
3257
|
-
|
|
3202
|
+
export interface ISlimAddons {
|
|
3203
|
+
addons?: {
|
|
3204
|
+
id: number;
|
|
3205
|
+
timePeriod: AddonTimePeriodEnum;
|
|
3206
|
+
name: string;
|
|
3207
|
+
productType?: ProductTypesEnum;
|
|
3208
|
+
productSubType?: string;
|
|
3209
|
+
}[];
|
|
3258
3210
|
}
|
|
3259
|
-
export
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
|
|
3211
|
+
export interface ISessionLandingPageProduct extends ISlimAddons {
|
|
3212
|
+
id: number;
|
|
3213
|
+
name: string;
|
|
3214
|
+
startDate?: Date;
|
|
3215
|
+
endDate?: Date;
|
|
3216
|
+
downpayment?: number;
|
|
3217
|
+
description?: string;
|
|
3218
|
+
prices: Price[];
|
|
3219
|
+
productSubType?: ProductSubTypesEnum;
|
|
3220
|
+
punchCard: boolean;
|
|
3221
|
+
isAddon: boolean;
|
|
3222
|
+
defaultPriceId?: number;
|
|
3270
3223
|
}
|
|
3271
|
-
export
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
payments?: ImportedPaymentDto[];
|
|
3276
|
-
lines: any;
|
|
3224
|
+
export interface CreatePaymentIntentDto extends PurchaseRequestDto {
|
|
3225
|
+
destinationId?: string;
|
|
3226
|
+
stripeCustomerId?: string;
|
|
3227
|
+
fee?: number;
|
|
3277
3228
|
}
|
|
3278
|
-
export
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
3229
|
+
export interface IReservationCreatorData {
|
|
3230
|
+
type: ResourceNameTypeEnum;
|
|
3231
|
+
id: number;
|
|
3232
|
+
organizationId: number;
|
|
3233
|
+
startDate: string;
|
|
3234
|
+
endDate: string;
|
|
3235
|
+
sportId: number;
|
|
3285
3236
|
}
|
|
3286
3237
|
export declare class ProductIdsDto {
|
|
3287
3238
|
productIds?: number[];
|
|
@@ -3299,6 +3250,20 @@ export declare class PunchPassDto {
|
|
|
3299
3250
|
BondSessionID: number;
|
|
3300
3251
|
ProductID: number;
|
|
3301
3252
|
}
|
|
3253
|
+
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3254
|
+
name?: string;
|
|
3255
|
+
genderStr?: string;
|
|
3256
|
+
parentID?: string;
|
|
3257
|
+
partnerID?: string;
|
|
3258
|
+
membershipName?: string;
|
|
3259
|
+
membershipExpDate?: string;
|
|
3260
|
+
membershipCreationDate?: string;
|
|
3261
|
+
bondMembershipID?: number;
|
|
3262
|
+
}
|
|
3263
|
+
export declare class AddFamilyDto {
|
|
3264
|
+
parents: AddImportedCustomerDto[];
|
|
3265
|
+
children: AddImportedCustomerDto[];
|
|
3266
|
+
}
|
|
3302
3267
|
export declare class ImportedSlotProductDto {
|
|
3303
3268
|
slotID?: string;
|
|
3304
3269
|
name?: string;
|
|
@@ -3350,10 +3315,46 @@ export declare class ImportedReservationDto {
|
|
|
3350
3315
|
slots?: ImportedSlotDto[];
|
|
3351
3316
|
addons?: ImportedSlotProductDto[];
|
|
3352
3317
|
}
|
|
3353
|
-
export declare
|
|
3354
|
-
|
|
3355
|
-
|
|
3318
|
+
export declare enum ImportPaymentTypeEnum {
|
|
3319
|
+
CREDIT_CARD = "card",
|
|
3320
|
+
ACH = "ach",
|
|
3321
|
+
CASH = "cash",
|
|
3322
|
+
CHECK = "check",
|
|
3323
|
+
CARD_ON_TERMINAL = "card-on-terminal",
|
|
3324
|
+
OTHER = "other"
|
|
3325
|
+
}
|
|
3326
|
+
export declare class ImportedInvoiceLineDto {
|
|
3327
|
+
invoiceID?: string;
|
|
3328
|
+
description: string;
|
|
3329
|
+
createdDate: string;
|
|
3330
|
+
createdTime: string;
|
|
3331
|
+
quantity: string;
|
|
3332
|
+
price: string;
|
|
3333
|
+
total: string;
|
|
3334
|
+
customerID: string;
|
|
3335
|
+
resourceType: string;
|
|
3336
|
+
resourceID: string;
|
|
3337
|
+
}
|
|
3338
|
+
export declare class ImportedInvoiceDto {
|
|
3339
|
+
customerId?: string;
|
|
3340
|
+
total?: string;
|
|
3341
|
+
amountDue?: string;
|
|
3342
|
+
payments?: ImportedPaymentDto[];
|
|
3343
|
+
lines: any;
|
|
3344
|
+
}
|
|
3345
|
+
export declare class ImportedPaymentDto {
|
|
3346
|
+
invoiceID: string;
|
|
3347
|
+
type: ImportPaymentTypeEnum;
|
|
3348
|
+
description: string;
|
|
3349
|
+
paid: string;
|
|
3350
|
+
date: string;
|
|
3351
|
+
time: string;
|
|
3352
|
+
}
|
|
3353
|
+
export declare class ColumnNumericTransformer {
|
|
3354
|
+
to(data: number): number;
|
|
3355
|
+
from(data: string): number;
|
|
3356
3356
|
}
|
|
3357
|
+
export declare function convertToNumber(data: string): number;
|
|
3357
3358
|
export declare class GameSlots extends BondBaseEntity {
|
|
3358
3359
|
entityType: string;
|
|
3359
3360
|
entityId: number;
|
|
@@ -3367,6 +3368,11 @@ export declare class MatchParticipants extends BondBaseEntity {
|
|
|
3367
3368
|
score: number | null;
|
|
3368
3369
|
gameSlotId: number | null;
|
|
3369
3370
|
}
|
|
3371
|
+
export declare class Matches extends BondBaseEntity {
|
|
3372
|
+
eventId: number | null;
|
|
3373
|
+
status: number | null;
|
|
3374
|
+
excludeStandings: boolean | null;
|
|
3375
|
+
}
|
|
3370
3376
|
export declare class RoundEvents extends BaseEntity {
|
|
3371
3377
|
roundId: number;
|
|
3372
3378
|
eventId: number;
|
|
@@ -3374,11 +3380,6 @@ export declare class RoundEvents extends BaseEntity {
|
|
|
3374
3380
|
createdAt: Date;
|
|
3375
3381
|
updatedAt: Date;
|
|
3376
3382
|
}
|
|
3377
|
-
export declare class Matches extends BondBaseEntity {
|
|
3378
|
-
eventId: number | null;
|
|
3379
|
-
status: number | null;
|
|
3380
|
-
excludeStandings: boolean | null;
|
|
3381
|
-
}
|
|
3382
3383
|
export declare class SeasonRounds extends BondBaseEntity {
|
|
3383
3384
|
seasonId: number;
|
|
3384
3385
|
ordinal?: number;
|
|
@@ -3390,6 +3391,10 @@ export declare class TeamEvents extends BondBaseEntity {
|
|
|
3390
3391
|
eventId: number | null;
|
|
3391
3392
|
status: number | null;
|
|
3392
3393
|
}
|
|
3394
|
+
export declare class Lock extends BondBaseEntity {
|
|
3395
|
+
name: string;
|
|
3396
|
+
locked?: Date;
|
|
3397
|
+
}
|
|
3393
3398
|
export declare class CreateMonitorConfigDto {
|
|
3394
3399
|
facilityId: number;
|
|
3395
3400
|
name: string;
|
|
@@ -3456,19 +3461,41 @@ export declare class Organization extends BondBaseEntity {
|
|
|
3456
3461
|
brandings: OrganizationBranding[];
|
|
3457
3462
|
brandingsV2?: OrganizationBranding[];
|
|
3458
3463
|
}
|
|
3459
|
-
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3460
|
-
mainAdminUserId?: number;
|
|
3461
|
-
}
|
|
3462
3464
|
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3463
3465
|
key?: string;
|
|
3464
3466
|
vaule?: string;
|
|
3465
3467
|
version: number;
|
|
3466
3468
|
organization: Organization;
|
|
3467
3469
|
}
|
|
3470
|
+
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3471
|
+
mainAdminUserId?: number;
|
|
3472
|
+
}
|
|
3468
3473
|
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3469
3474
|
organisationId: number | null;
|
|
3470
3475
|
userId: number | null;
|
|
3471
3476
|
}
|
|
3477
|
+
export declare class RefundDto {
|
|
3478
|
+
orderId: number;
|
|
3479
|
+
lineItems: RefundLineItemAmountDto[];
|
|
3480
|
+
refundLineItemAmountDict?: {
|
|
3481
|
+
[id: number]: number;
|
|
3482
|
+
};
|
|
3483
|
+
refunds: PaymentMethodDto[];
|
|
3484
|
+
refundType: RefundTypeEnum;
|
|
3485
|
+
reasonId: number;
|
|
3486
|
+
note?: string;
|
|
3487
|
+
shiftId?: number;
|
|
3488
|
+
meta?: RevertMetaDto;
|
|
3489
|
+
}
|
|
3490
|
+
export declare class PaymentMethodDto {
|
|
3491
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
3492
|
+
amount: number;
|
|
3493
|
+
paymentMethodId?: string;
|
|
3494
|
+
}
|
|
3495
|
+
export declare class RefundLineItemAmountDto {
|
|
3496
|
+
id: number;
|
|
3497
|
+
refundAmount: number;
|
|
3498
|
+
}
|
|
3472
3499
|
export declare class CustomerIdDto {
|
|
3473
3500
|
customerId: number;
|
|
3474
3501
|
}
|
|
@@ -3586,28 +3613,6 @@ export declare class SendRequestDto {
|
|
|
3586
3613
|
sendToEmail: string;
|
|
3587
3614
|
memo?: string;
|
|
3588
3615
|
}
|
|
3589
|
-
export declare class RefundDto {
|
|
3590
|
-
orderId: number;
|
|
3591
|
-
lineItems: RefundLineItemAmountDto[];
|
|
3592
|
-
refundLineItemAmountDict?: {
|
|
3593
|
-
[id: number]: number;
|
|
3594
|
-
};
|
|
3595
|
-
refunds: PaymentMethodDto[];
|
|
3596
|
-
refundType: RefundTypeEnum;
|
|
3597
|
-
reasonId: number;
|
|
3598
|
-
note?: string;
|
|
3599
|
-
shiftId?: number;
|
|
3600
|
-
meta?: RevertMetaDto;
|
|
3601
|
-
}
|
|
3602
|
-
export declare class PaymentMethodDto {
|
|
3603
|
-
paymentMethodType: PaymentMethodTypeEnum;
|
|
3604
|
-
amount: number;
|
|
3605
|
-
paymentMethodId?: string;
|
|
3606
|
-
}
|
|
3607
|
-
export declare class RefundLineItemAmountDto {
|
|
3608
|
-
id: number;
|
|
3609
|
-
refundAmount: number;
|
|
3610
|
-
}
|
|
3611
3616
|
export declare class VoidDto {
|
|
3612
3617
|
lineItems: VoidLineItemDto[];
|
|
3613
3618
|
meta?: RevertMetaDto;
|
|
@@ -3618,11 +3623,6 @@ export declare class VoidLineItemDto {
|
|
|
3618
3623
|
isEdit?: boolean;
|
|
3619
3624
|
amount?: number;
|
|
3620
3625
|
}
|
|
3621
|
-
export declare class ColumnNumericTransformer {
|
|
3622
|
-
to(data: number): number;
|
|
3623
|
-
from(data: string): number;
|
|
3624
|
-
}
|
|
3625
|
-
export declare function convertToNumber(data: string): number;
|
|
3626
3626
|
export declare class LineItemDto {
|
|
3627
3627
|
id?: number;
|
|
3628
3628
|
orderId?: number;
|
|
@@ -4135,6 +4135,12 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
|
4135
4135
|
changeLineItems?: LineItems[];
|
|
4136
4136
|
updatedLineItem?: LineItems;
|
|
4137
4137
|
}
|
|
4138
|
+
export declare class ChangeRolePermissionsDto {
|
|
4139
|
+
permissionIds: number[];
|
|
4140
|
+
}
|
|
4141
|
+
export declare class CreateRoleDto {
|
|
4142
|
+
name: string;
|
|
4143
|
+
}
|
|
4138
4144
|
export declare class Permission extends BondBaseEntity {
|
|
4139
4145
|
name: string;
|
|
4140
4146
|
deletedAt?: Date;
|
|
@@ -4152,12 +4158,6 @@ export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
|
4152
4158
|
role: Role;
|
|
4153
4159
|
user: User;
|
|
4154
4160
|
}
|
|
4155
|
-
export declare class ChangeRolePermissionsDto {
|
|
4156
|
-
permissionIds: number[];
|
|
4157
|
-
}
|
|
4158
|
-
export declare class CreateRoleDto {
|
|
4159
|
-
name: string;
|
|
4160
|
-
}
|
|
4161
4161
|
export declare class CloseShiftDto {
|
|
4162
4162
|
closingCashAmount: number;
|
|
4163
4163
|
}
|