@bondsports/types 0.0.49 → 0.0.52
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 +293 -292
- package/build/index.es.js +1 -1
- package/build/index.es.js.map +1 -1
- package/build/index.js +1 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -27,64 +27,6 @@ export declare class FindBookingTypeSettingDto {
|
|
|
27
27
|
bookingDate: string;
|
|
28
28
|
bookingTime: string;
|
|
29
29
|
}
|
|
30
|
-
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
31
|
-
membershipId: number;
|
|
32
|
-
}
|
|
33
|
-
export declare class ImportProductsFromDB {
|
|
34
|
-
buDate: string;
|
|
35
|
-
}
|
|
36
|
-
export declare class ImportCustomerFromCSV {
|
|
37
|
-
fileName: string;
|
|
38
|
-
startIndex?: number;
|
|
39
|
-
}
|
|
40
|
-
export declare class ImportProgramsFileDto extends ImportCustomerFromCSV {
|
|
41
|
-
resolveInvoices: string;
|
|
42
|
-
}
|
|
43
|
-
export declare class ImportDashCustomerDto extends ImportCustomerFromCSV {
|
|
44
|
-
membershipId: number;
|
|
45
|
-
onlyDashIds: string;
|
|
46
|
-
}
|
|
47
|
-
export declare class ImportRentalsFromCSV extends ImportCustomerFromCSV {
|
|
48
|
-
facilityId: number;
|
|
49
|
-
}
|
|
50
|
-
export declare class ByOrganizationIdCustomerIdDto extends ByOrganizationIdDto {
|
|
51
|
-
customerId: number;
|
|
52
|
-
}
|
|
53
|
-
export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQuery {
|
|
54
|
-
nameSearch?: string;
|
|
55
|
-
fuzzy?: string;
|
|
56
|
-
customerType?: CustomerTypeEnum;
|
|
57
|
-
customersIds?: string;
|
|
58
|
-
}
|
|
59
|
-
export declare class AddCustomerNotesDto {
|
|
60
|
-
customerNotes: CustomerNoteDto[];
|
|
61
|
-
}
|
|
62
|
-
export declare class CustomerNoteDto {
|
|
63
|
-
id?: number;
|
|
64
|
-
description: string;
|
|
65
|
-
pinToTop?: boolean;
|
|
66
|
-
}
|
|
67
|
-
export declare class AddEditCustomerDto {
|
|
68
|
-
firstName?: string;
|
|
69
|
-
lastName?: string;
|
|
70
|
-
entityId?: number;
|
|
71
|
-
entityType?: CustomerTypeEnum;
|
|
72
|
-
email?: string;
|
|
73
|
-
color?: string;
|
|
74
|
-
street?: string;
|
|
75
|
-
city?: string;
|
|
76
|
-
state?: string;
|
|
77
|
-
zip?: string;
|
|
78
|
-
phoneNumber?: string;
|
|
79
|
-
mainMediaId?: number;
|
|
80
|
-
creatorId?: number;
|
|
81
|
-
creatorType?: ResourceNameTypeEnum;
|
|
82
|
-
userCreatorId?: number;
|
|
83
|
-
gender?: GenderEnum;
|
|
84
|
-
birthDate?: string;
|
|
85
|
-
emergencyContactName?: string;
|
|
86
|
-
emergencyContactPhone?: string;
|
|
87
|
-
}
|
|
88
30
|
export declare class FindEventByIdDto {
|
|
89
31
|
eventId: number;
|
|
90
32
|
organizationId: number;
|
|
@@ -229,6 +171,64 @@ export declare class UpdateFacilityAmenitiesDto {
|
|
|
229
171
|
export declare class FindFacilitiesOptionsDto extends PaginationQuery {
|
|
230
172
|
nameSearch?: string;
|
|
231
173
|
}
|
|
174
|
+
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
175
|
+
membershipId: number;
|
|
176
|
+
}
|
|
177
|
+
export declare class ImportProductsFromDB {
|
|
178
|
+
buDate: string;
|
|
179
|
+
}
|
|
180
|
+
export declare class ImportCustomerFromCSV {
|
|
181
|
+
fileName: string;
|
|
182
|
+
startIndex?: number;
|
|
183
|
+
}
|
|
184
|
+
export declare class ImportProgramsFileDto extends ImportCustomerFromCSV {
|
|
185
|
+
resolveInvoices: string;
|
|
186
|
+
}
|
|
187
|
+
export declare class ImportDashCustomerDto extends ImportCustomerFromCSV {
|
|
188
|
+
membershipId: number;
|
|
189
|
+
onlyDashIds: string;
|
|
190
|
+
}
|
|
191
|
+
export declare class ImportRentalsFromCSV extends ImportCustomerFromCSV {
|
|
192
|
+
facilityId: number;
|
|
193
|
+
}
|
|
194
|
+
export declare class ByOrganizationIdCustomerIdDto extends ByOrganizationIdDto {
|
|
195
|
+
customerId: number;
|
|
196
|
+
}
|
|
197
|
+
export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQuery {
|
|
198
|
+
nameSearch?: string;
|
|
199
|
+
fuzzy?: string;
|
|
200
|
+
customerType?: CustomerTypeEnum;
|
|
201
|
+
customersIds?: string;
|
|
202
|
+
}
|
|
203
|
+
export declare class AddCustomerNotesDto {
|
|
204
|
+
customerNotes: CustomerNoteDto[];
|
|
205
|
+
}
|
|
206
|
+
export declare class CustomerNoteDto {
|
|
207
|
+
id?: number;
|
|
208
|
+
description: string;
|
|
209
|
+
pinToTop?: boolean;
|
|
210
|
+
}
|
|
211
|
+
export declare class AddEditCustomerDto {
|
|
212
|
+
firstName?: string;
|
|
213
|
+
lastName?: string;
|
|
214
|
+
entityId?: number;
|
|
215
|
+
entityType?: CustomerTypeEnum;
|
|
216
|
+
email?: string;
|
|
217
|
+
color?: string;
|
|
218
|
+
street?: string;
|
|
219
|
+
city?: string;
|
|
220
|
+
state?: string;
|
|
221
|
+
zip?: string;
|
|
222
|
+
phoneNumber?: string;
|
|
223
|
+
mainMediaId?: number;
|
|
224
|
+
creatorId?: number;
|
|
225
|
+
creatorType?: ResourceNameTypeEnum;
|
|
226
|
+
userCreatorId?: number;
|
|
227
|
+
gender?: GenderEnum;
|
|
228
|
+
birthDate?: string;
|
|
229
|
+
emergencyContactName?: string;
|
|
230
|
+
emergencyContactPhone?: string;
|
|
231
|
+
}
|
|
232
232
|
export declare class FindFamilyAccountsDto {
|
|
233
233
|
userId: number;
|
|
234
234
|
}
|
|
@@ -1100,6 +1100,17 @@ export declare class ActivityTimes extends BondBaseEntity {
|
|
|
1100
1100
|
proudct: Product;
|
|
1101
1101
|
event: Event;
|
|
1102
1102
|
}
|
|
1103
|
+
export declare class Address extends BondBaseEntity {
|
|
1104
|
+
city?: string;
|
|
1105
|
+
street?: string;
|
|
1106
|
+
streetNum?: string;
|
|
1107
|
+
aptNum?: string;
|
|
1108
|
+
zip?: string;
|
|
1109
|
+
country?: string;
|
|
1110
|
+
state?: string;
|
|
1111
|
+
geo: any;
|
|
1112
|
+
deletedAt?: Date;
|
|
1113
|
+
}
|
|
1103
1114
|
export declare class Answer extends OrganizationConnectionBaseEntity {
|
|
1104
1115
|
questionId: number;
|
|
1105
1116
|
question?: Questions;
|
|
@@ -1124,17 +1135,6 @@ export declare class Athlete extends BondBaseEntity {
|
|
|
1124
1135
|
metadata: object | null;
|
|
1125
1136
|
athleteSports: AthleteSports[];
|
|
1126
1137
|
}
|
|
1127
|
-
export declare class Address extends BondBaseEntity {
|
|
1128
|
-
city?: string;
|
|
1129
|
-
street?: string;
|
|
1130
|
-
streetNum?: string;
|
|
1131
|
-
aptNum?: string;
|
|
1132
|
-
zip?: string;
|
|
1133
|
-
country?: string;
|
|
1134
|
-
state?: string;
|
|
1135
|
-
geo: any;
|
|
1136
|
-
deletedAt?: Date;
|
|
1137
|
-
}
|
|
1138
1138
|
export declare class AthleteSports extends BondBaseEntity {
|
|
1139
1139
|
athleteId: number | null;
|
|
1140
1140
|
sports: number | null;
|
|
@@ -1288,6 +1288,30 @@ export declare class EventAttendee extends BondBaseEntity {
|
|
|
1288
1288
|
event: Event;
|
|
1289
1289
|
purchasedResource: PurchasedResource;
|
|
1290
1290
|
}
|
|
1291
|
+
export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
1292
|
+
name: string;
|
|
1293
|
+
description?: string;
|
|
1294
|
+
addressId: number;
|
|
1295
|
+
address: Address;
|
|
1296
|
+
amenities?: number[];
|
|
1297
|
+
timezone: string;
|
|
1298
|
+
creatorId: number;
|
|
1299
|
+
creatorType: string;
|
|
1300
|
+
userCreatorId: number;
|
|
1301
|
+
mainMediaId: number;
|
|
1302
|
+
mainMedia: Media;
|
|
1303
|
+
publishedDate?: Date;
|
|
1304
|
+
isPublished: boolean;
|
|
1305
|
+
sports?: number[];
|
|
1306
|
+
info?: string;
|
|
1307
|
+
longDescription?: string;
|
|
1308
|
+
deletedAt?: Date;
|
|
1309
|
+
openingTimes: OpeningTime[];
|
|
1310
|
+
resources: Resource[];
|
|
1311
|
+
spaces: Resource[];
|
|
1312
|
+
programSeasons: ProgramSeason[];
|
|
1313
|
+
linkSEO: string;
|
|
1314
|
+
}
|
|
1291
1315
|
export declare class Event extends OrganizationConnectionBaseEntity {
|
|
1292
1316
|
constructor();
|
|
1293
1317
|
defineCalculatedDateTimeProps(): void;
|
|
@@ -1343,30 +1367,6 @@ export declare class Event extends OrganizationConnectionBaseEntity {
|
|
|
1343
1367
|
slots: Slot[];
|
|
1344
1368
|
purchasedResources: PurchasedResource[];
|
|
1345
1369
|
}
|
|
1346
|
-
export declare class Facility extends OrganizationConnectionBaseEntity {
|
|
1347
|
-
name: string;
|
|
1348
|
-
description?: string;
|
|
1349
|
-
addressId: number;
|
|
1350
|
-
address: Address;
|
|
1351
|
-
amenities?: number[];
|
|
1352
|
-
timezone: string;
|
|
1353
|
-
creatorId: number;
|
|
1354
|
-
creatorType: string;
|
|
1355
|
-
userCreatorId: number;
|
|
1356
|
-
mainMediaId: number;
|
|
1357
|
-
mainMedia: Media;
|
|
1358
|
-
publishedDate?: Date;
|
|
1359
|
-
isPublished: boolean;
|
|
1360
|
-
sports?: number[];
|
|
1361
|
-
info?: string;
|
|
1362
|
-
longDescription?: string;
|
|
1363
|
-
deletedAt?: Date;
|
|
1364
|
-
openingTimes: OpeningTime[];
|
|
1365
|
-
resources: Resource[];
|
|
1366
|
-
spaces: Resource[];
|
|
1367
|
-
programSeasons: ProgramSeason[];
|
|
1368
|
-
linkSEO: string;
|
|
1369
|
-
}
|
|
1370
1370
|
export declare class FacilityToResource extends BondBaseEntity {
|
|
1371
1371
|
facilityId: number;
|
|
1372
1372
|
resourceId: number;
|
|
@@ -1539,6 +1539,16 @@ export declare class LeagueSeasonRelations {
|
|
|
1539
1539
|
league?: boolean;
|
|
1540
1540
|
facilities?: boolean;
|
|
1541
1541
|
}
|
|
1542
|
+
export declare class LineItemHistory extends BondBaseEntity {
|
|
1543
|
+
orderId: number;
|
|
1544
|
+
invoiceId: number;
|
|
1545
|
+
lineItemId: number;
|
|
1546
|
+
paidAmount: number;
|
|
1547
|
+
unitPaidAmount: number;
|
|
1548
|
+
currency: CurrencyEnum;
|
|
1549
|
+
invoice: Invoice;
|
|
1550
|
+
lineItem: LineItems;
|
|
1551
|
+
}
|
|
1542
1552
|
export declare class LineItems extends BondBaseEntity {
|
|
1543
1553
|
constructor();
|
|
1544
1554
|
defineIsReverted(): void;
|
|
@@ -1594,16 +1604,6 @@ export declare class LineItems extends BondBaseEntity {
|
|
|
1594
1604
|
displayUnitPrice?: number;
|
|
1595
1605
|
displayQuantity?: number;
|
|
1596
1606
|
}
|
|
1597
|
-
export declare class LineItemHistory extends BondBaseEntity {
|
|
1598
|
-
orderId: number;
|
|
1599
|
-
invoiceId: number;
|
|
1600
|
-
lineItemId: number;
|
|
1601
|
-
paidAmount: number;
|
|
1602
|
-
unitPaidAmount: number;
|
|
1603
|
-
currency: CurrencyEnum;
|
|
1604
|
-
invoice: Invoice;
|
|
1605
|
-
lineItem: LineItems;
|
|
1606
|
-
}
|
|
1607
1607
|
export declare class LinkedAccounts extends BondBaseEntity {
|
|
1608
1608
|
id: number;
|
|
1609
1609
|
provider: string;
|
|
@@ -1911,6 +1911,23 @@ export declare class ProductsReservedForCustomers extends OrganizationConnection
|
|
|
1911
1911
|
deletedAt?: Date;
|
|
1912
1912
|
product: Product;
|
|
1913
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;
|
|
@@ -2038,11 +2038,6 @@ export declare class Questionnaires extends OrganizationConnectionBaseEntity {
|
|
|
2038
2038
|
title: string | null;
|
|
2039
2039
|
answerTitle: AnswerTitle;
|
|
2040
2040
|
}
|
|
2041
|
-
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2042
|
-
reason: string;
|
|
2043
|
-
ordinal: number;
|
|
2044
|
-
deletedAt: Date;
|
|
2045
|
-
}
|
|
2046
2041
|
export declare class Questions extends BondBaseEntity {
|
|
2047
2042
|
questionType: string | null;
|
|
2048
2043
|
ordinal: number | null;
|
|
@@ -2057,6 +2052,11 @@ export declare class Questions extends BondBaseEntity {
|
|
|
2057
2052
|
ownerId: number | null;
|
|
2058
2053
|
questionnaireId: number | null;
|
|
2059
2054
|
}
|
|
2055
|
+
export declare class RefundReason extends OrganizationConnectionBaseEntity {
|
|
2056
|
+
reason: string;
|
|
2057
|
+
ordinal: number;
|
|
2058
|
+
deletedAt: Date;
|
|
2059
|
+
}
|
|
2060
2060
|
export declare class RegistrationConstraint extends OrganizationConnectionBaseEntity {
|
|
2061
2061
|
resourceType: ResourceNameTypeEnum;
|
|
2062
2062
|
resourceId: number;
|
|
@@ -2068,8 +2068,36 @@ export declare class RegistrationConstraint extends OrganizationConnectionBaseEn
|
|
|
2068
2068
|
closeTime?: string;
|
|
2069
2069
|
deletedAt?: Date;
|
|
2070
2070
|
}
|
|
2071
|
-
export declare class
|
|
2072
|
-
name
|
|
2071
|
+
export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
2072
|
+
name: string;
|
|
2073
|
+
resourceType: ResourceTypeEnum;
|
|
2074
|
+
resourceSubType: ResourceSubTypeEnum;
|
|
2075
|
+
description?: string;
|
|
2076
|
+
longDescription?: string;
|
|
2077
|
+
surface?: SurfacesEnum;
|
|
2078
|
+
properties?: SpacePropertiesEnum[];
|
|
2079
|
+
mainMediaId?: number;
|
|
2080
|
+
mainMedia: Media;
|
|
2081
|
+
sports: SportsEnum[];
|
|
2082
|
+
width?: number;
|
|
2083
|
+
length?: number;
|
|
2084
|
+
amenities?: AmenitiesEnum[];
|
|
2085
|
+
parentSpaceId?: number;
|
|
2086
|
+
ordinal?: number;
|
|
2087
|
+
isAddOn: boolean;
|
|
2088
|
+
ages?: ResourceAgesEnum;
|
|
2089
|
+
deletedAt?: Date;
|
|
2090
|
+
activityTimes: ActivityTimes[];
|
|
2091
|
+
facilities: Facility[];
|
|
2092
|
+
slots?: Slot[];
|
|
2093
|
+
addons?: Addon[];
|
|
2094
|
+
facilityId: number;
|
|
2095
|
+
facility: Facility;
|
|
2096
|
+
purchasedResources: PurchasedResource[];
|
|
2097
|
+
linkSEO: string;
|
|
2098
|
+
}
|
|
2099
|
+
export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
2100
|
+
name?: string;
|
|
2073
2101
|
description?: string;
|
|
2074
2102
|
color?: string;
|
|
2075
2103
|
status?: string;
|
|
@@ -2100,34 +2128,6 @@ export declare class Reservations extends OrganizationConnectionBaseEntity {
|
|
|
2100
2128
|
publicNotes?: string;
|
|
2101
2129
|
slots?: Slot[];
|
|
2102
2130
|
}
|
|
2103
|
-
export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
2104
|
-
name: string;
|
|
2105
|
-
resourceType: ResourceTypeEnum;
|
|
2106
|
-
resourceSubType: ResourceSubTypeEnum;
|
|
2107
|
-
description?: string;
|
|
2108
|
-
longDescription?: string;
|
|
2109
|
-
surface?: SurfacesEnum;
|
|
2110
|
-
properties?: SpacePropertiesEnum[];
|
|
2111
|
-
mainMediaId?: number;
|
|
2112
|
-
mainMedia: Media;
|
|
2113
|
-
sports: SportsEnum[];
|
|
2114
|
-
width?: number;
|
|
2115
|
-
length?: number;
|
|
2116
|
-
amenities?: AmenitiesEnum[];
|
|
2117
|
-
parentSpaceId?: number;
|
|
2118
|
-
ordinal?: number;
|
|
2119
|
-
isAddOn: boolean;
|
|
2120
|
-
ages?: ResourceAgesEnum;
|
|
2121
|
-
deletedAt?: Date;
|
|
2122
|
-
activityTimes: ActivityTimes[];
|
|
2123
|
-
facilities: Facility[];
|
|
2124
|
-
slots?: Slot[];
|
|
2125
|
-
addons?: Addon[];
|
|
2126
|
-
facilityId: number;
|
|
2127
|
-
facility: Facility;
|
|
2128
|
-
purchasedResources: PurchasedResource[];
|
|
2129
|
-
linkSEO: string;
|
|
2130
|
-
}
|
|
2131
2131
|
export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
|
|
2132
2132
|
name: string;
|
|
2133
2133
|
facilityId: number;
|
|
@@ -2380,7 +2380,8 @@ export declare enum ResourceNameTypeEnum {
|
|
|
2380
2380
|
PRODUCT = "product",
|
|
2381
2381
|
GROUP = "group",
|
|
2382
2382
|
VARIANT = "variant",
|
|
2383
|
-
SLOT = "slot"
|
|
2383
|
+
SLOT = "slot",
|
|
2384
|
+
ADDON = "addon"
|
|
2384
2385
|
}
|
|
2385
2386
|
export declare enum DirectBookingTypesEnum {
|
|
2386
2387
|
DIRECT_FOR_ALL = "all",
|
|
@@ -3231,6 +3232,11 @@ export interface IReservationCreatorData {
|
|
|
3231
3232
|
endDate: string;
|
|
3232
3233
|
sportId: number;
|
|
3233
3234
|
}
|
|
3235
|
+
export declare class ColumnNumericTransformer {
|
|
3236
|
+
to(data: number): number;
|
|
3237
|
+
from(data: string): number;
|
|
3238
|
+
}
|
|
3239
|
+
export declare function convertToNumber(data: string): number;
|
|
3234
3240
|
export declare class AddImportedCustomerDto extends AddEditCustomerDto {
|
|
3235
3241
|
name?: string;
|
|
3236
3242
|
genderStr?: string;
|
|
@@ -3245,6 +3251,15 @@ export declare class AddFamilyDto {
|
|
|
3245
3251
|
parents: AddImportedCustomerDto[];
|
|
3246
3252
|
children: AddImportedCustomerDto[];
|
|
3247
3253
|
}
|
|
3254
|
+
export declare class ProductIdsDto {
|
|
3255
|
+
productIds?: number[];
|
|
3256
|
+
}
|
|
3257
|
+
export declare class ProductImportDto {
|
|
3258
|
+
product: Product;
|
|
3259
|
+
prices: Price[];
|
|
3260
|
+
resourceIds: number[];
|
|
3261
|
+
oldId: number;
|
|
3262
|
+
}
|
|
3248
3263
|
export declare enum ImportPaymentTypeEnum {
|
|
3249
3264
|
CREDIT_CARD = "card",
|
|
3250
3265
|
ACH = "ach",
|
|
@@ -3280,15 +3295,6 @@ export declare class ImportedPaymentDto {
|
|
|
3280
3295
|
date: string;
|
|
3281
3296
|
time: string;
|
|
3282
3297
|
}
|
|
3283
|
-
export declare class ProductIdsDto {
|
|
3284
|
-
productIds?: number[];
|
|
3285
|
-
}
|
|
3286
|
-
export declare class ProductImportDto {
|
|
3287
|
-
product: Product;
|
|
3288
|
-
prices: Price[];
|
|
3289
|
-
resourceIds: number[];
|
|
3290
|
-
oldId: number;
|
|
3291
|
-
}
|
|
3292
3298
|
export declare class PunchPassDto {
|
|
3293
3299
|
CustomerID: string;
|
|
3294
3300
|
QuantityLeft: number;
|
|
@@ -3347,10 +3353,6 @@ export declare class ImportedReservationDto {
|
|
|
3347
3353
|
slots?: ImportedSlotDto[];
|
|
3348
3354
|
addons?: ImportedSlotProductDto[];
|
|
3349
3355
|
}
|
|
3350
|
-
export declare class Lock extends BondBaseEntity {
|
|
3351
|
-
name: string;
|
|
3352
|
-
locked?: Date;
|
|
3353
|
-
}
|
|
3354
3356
|
export declare class GameSlots extends BondBaseEntity {
|
|
3355
3357
|
entityType: string;
|
|
3356
3358
|
entityId: number;
|
|
@@ -3387,6 +3389,10 @@ export declare class TeamEvents extends BondBaseEntity {
|
|
|
3387
3389
|
eventId: number | null;
|
|
3388
3390
|
status: number | null;
|
|
3389
3391
|
}
|
|
3392
|
+
export declare class Lock extends BondBaseEntity {
|
|
3393
|
+
name: string;
|
|
3394
|
+
locked?: Date;
|
|
3395
|
+
}
|
|
3390
3396
|
export declare class CreateMonitorConfigDto {
|
|
3391
3397
|
facilityId: number;
|
|
3392
3398
|
name: string;
|
|
@@ -3398,6 +3404,74 @@ export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
|
3398
3404
|
code: string;
|
|
3399
3405
|
config?: any;
|
|
3400
3406
|
}
|
|
3407
|
+
export declare class ByOrganizationIdDto {
|
|
3408
|
+
organizationId: number;
|
|
3409
|
+
}
|
|
3410
|
+
export declare class OptionalFindByOrganizationIdDto {
|
|
3411
|
+
organizationId?: number;
|
|
3412
|
+
}
|
|
3413
|
+
export declare class Organization extends BondBaseEntity {
|
|
3414
|
+
name: string | null;
|
|
3415
|
+
email: string | null;
|
|
3416
|
+
twitter: string | null;
|
|
3417
|
+
facebook: string | null;
|
|
3418
|
+
instagram: string | null;
|
|
3419
|
+
website: string | null;
|
|
3420
|
+
blog: string | null;
|
|
3421
|
+
phoneNumber: string | null;
|
|
3422
|
+
waiverDoc: string | null;
|
|
3423
|
+
about: string | null;
|
|
3424
|
+
tagline: string | null;
|
|
3425
|
+
status: number | null;
|
|
3426
|
+
addressId: number | null;
|
|
3427
|
+
merchantId: number | null;
|
|
3428
|
+
userCreatorId: number | null;
|
|
3429
|
+
parentId: number | null;
|
|
3430
|
+
paymentSettings: object | null;
|
|
3431
|
+
settings: object | null;
|
|
3432
|
+
isClaimed: boolean | null;
|
|
3433
|
+
sports: number[] | null;
|
|
3434
|
+
mainMediaId: number | null;
|
|
3435
|
+
deletedAt: Date | null;
|
|
3436
|
+
organizationActivityTypes: number[] | null;
|
|
3437
|
+
organizationTypes: number[] | null;
|
|
3438
|
+
organizationAudienceTypes: number[] | null;
|
|
3439
|
+
organizationGenders: number[] | null;
|
|
3440
|
+
questionnaireId: number | null;
|
|
3441
|
+
membershipQuestionnaireId: number | null;
|
|
3442
|
+
feeRate: number;
|
|
3443
|
+
feeAddDollarRate: number;
|
|
3444
|
+
achFeeRate: number;
|
|
3445
|
+
achFeeAddDollarRate: number;
|
|
3446
|
+
maxAchFee: number;
|
|
3447
|
+
cashFeeRate: number;
|
|
3448
|
+
cashFeeAddDollarRate: number;
|
|
3449
|
+
terminalFeeRate: number;
|
|
3450
|
+
terminalFeeAddDollarRate: number;
|
|
3451
|
+
checkFeeRate: number;
|
|
3452
|
+
checkFeeAddDollarRate: number;
|
|
3453
|
+
otherFeeRate: number;
|
|
3454
|
+
otherFeeAddDollarRate: number;
|
|
3455
|
+
balanceFeeRate: number;
|
|
3456
|
+
balanceFeeAddDollarRate: number;
|
|
3457
|
+
address: Address;
|
|
3458
|
+
mainMedia: Media;
|
|
3459
|
+
brandings: OrganizationBranding[];
|
|
3460
|
+
brandingsV2?: OrganizationBranding[];
|
|
3461
|
+
}
|
|
3462
|
+
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3463
|
+
key?: string;
|
|
3464
|
+
vaule?: string;
|
|
3465
|
+
version: number;
|
|
3466
|
+
organization: Organization;
|
|
3467
|
+
}
|
|
3468
|
+
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3469
|
+
mainAdminUserId?: number;
|
|
3470
|
+
}
|
|
3471
|
+
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3472
|
+
organisationId: number | null;
|
|
3473
|
+
userId: number | null;
|
|
3474
|
+
}
|
|
3401
3475
|
export declare class CustomerIdDto {
|
|
3402
3476
|
customerId: number;
|
|
3403
3477
|
}
|
|
@@ -3537,12 +3611,6 @@ export declare class RefundLineItemAmountDto {
|
|
|
3537
3611
|
id: number;
|
|
3538
3612
|
refundAmount: number;
|
|
3539
3613
|
}
|
|
3540
|
-
export declare class ByOrganizationIdDto {
|
|
3541
|
-
organizationId: number;
|
|
3542
|
-
}
|
|
3543
|
-
export declare class OptionalFindByOrganizationIdDto {
|
|
3544
|
-
organizationId?: number;
|
|
3545
|
-
}
|
|
3546
3614
|
export declare class VoidDto {
|
|
3547
3615
|
lineItems: VoidLineItemDto[];
|
|
3548
3616
|
meta?: RevertMetaDto;
|
|
@@ -3553,117 +3621,6 @@ export declare class VoidLineItemDto {
|
|
|
3553
3621
|
isEdit?: boolean;
|
|
3554
3622
|
amount?: number;
|
|
3555
3623
|
}
|
|
3556
|
-
export declare class Organization extends BondBaseEntity {
|
|
3557
|
-
name: string | null;
|
|
3558
|
-
email: string | null;
|
|
3559
|
-
twitter: string | null;
|
|
3560
|
-
facebook: string | null;
|
|
3561
|
-
instagram: string | null;
|
|
3562
|
-
website: string | null;
|
|
3563
|
-
blog: string | null;
|
|
3564
|
-
phoneNumber: string | null;
|
|
3565
|
-
waiverDoc: string | null;
|
|
3566
|
-
about: string | null;
|
|
3567
|
-
tagline: string | null;
|
|
3568
|
-
status: number | null;
|
|
3569
|
-
addressId: number | null;
|
|
3570
|
-
merchantId: number | null;
|
|
3571
|
-
userCreatorId: number | null;
|
|
3572
|
-
parentId: number | null;
|
|
3573
|
-
paymentSettings: object | null;
|
|
3574
|
-
settings: object | null;
|
|
3575
|
-
isClaimed: boolean | null;
|
|
3576
|
-
sports: number[] | null;
|
|
3577
|
-
mainMediaId: number | null;
|
|
3578
|
-
deletedAt: Date | null;
|
|
3579
|
-
organizationActivityTypes: number[] | null;
|
|
3580
|
-
organizationTypes: number[] | null;
|
|
3581
|
-
organizationAudienceTypes: number[] | null;
|
|
3582
|
-
organizationGenders: number[] | null;
|
|
3583
|
-
questionnaireId: number | null;
|
|
3584
|
-
membershipQuestionnaireId: number | null;
|
|
3585
|
-
feeRate: number;
|
|
3586
|
-
feeAddDollarRate: number;
|
|
3587
|
-
achFeeRate: number;
|
|
3588
|
-
achFeeAddDollarRate: number;
|
|
3589
|
-
maxAchFee: number;
|
|
3590
|
-
cashFeeRate: number;
|
|
3591
|
-
cashFeeAddDollarRate: number;
|
|
3592
|
-
terminalFeeRate: number;
|
|
3593
|
-
terminalFeeAddDollarRate: number;
|
|
3594
|
-
checkFeeRate: number;
|
|
3595
|
-
checkFeeAddDollarRate: number;
|
|
3596
|
-
otherFeeRate: number;
|
|
3597
|
-
otherFeeAddDollarRate: number;
|
|
3598
|
-
balanceFeeRate: number;
|
|
3599
|
-
balanceFeeAddDollarRate: number;
|
|
3600
|
-
address: Address;
|
|
3601
|
-
mainMedia: Media;
|
|
3602
|
-
brandings: OrganizationBranding[];
|
|
3603
|
-
brandingsV2?: OrganizationBranding[];
|
|
3604
|
-
}
|
|
3605
|
-
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3606
|
-
key?: string;
|
|
3607
|
-
vaule?: string;
|
|
3608
|
-
version: number;
|
|
3609
|
-
organization: Organization;
|
|
3610
|
-
}
|
|
3611
|
-
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3612
|
-
mainAdminUserId?: number;
|
|
3613
|
-
}
|
|
3614
|
-
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3615
|
-
organisationId: number | null;
|
|
3616
|
-
userId: number | null;
|
|
3617
|
-
}
|
|
3618
|
-
export declare class ChangeRolePermissionsDto {
|
|
3619
|
-
permissionIds: number[];
|
|
3620
|
-
}
|
|
3621
|
-
export declare class CreateRoleDto {
|
|
3622
|
-
name: string;
|
|
3623
|
-
}
|
|
3624
|
-
export declare class Permission extends BondBaseEntity {
|
|
3625
|
-
name: string;
|
|
3626
|
-
deletedAt?: Date;
|
|
3627
|
-
}
|
|
3628
|
-
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
3629
|
-
name: string;
|
|
3630
|
-
deletedAt?: Date;
|
|
3631
|
-
permissions: Permission[];
|
|
3632
|
-
usersRoles: UserRole[];
|
|
3633
|
-
}
|
|
3634
|
-
export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
3635
|
-
deletedAt?: Date;
|
|
3636
|
-
userId: number;
|
|
3637
|
-
roleId: number;
|
|
3638
|
-
role: Role;
|
|
3639
|
-
user: User;
|
|
3640
|
-
}
|
|
3641
|
-
export declare class LineItemDto {
|
|
3642
|
-
id?: number;
|
|
3643
|
-
orderId?: number;
|
|
3644
|
-
type: LineItemsStatusEnum;
|
|
3645
|
-
organizationId: number;
|
|
3646
|
-
userId?: number;
|
|
3647
|
-
productId: number;
|
|
3648
|
-
product?: Product;
|
|
3649
|
-
productType: ProductTypesEnum;
|
|
3650
|
-
ordinal?: number;
|
|
3651
|
-
price: number;
|
|
3652
|
-
originalPrice?: number;
|
|
3653
|
-
paidAmount?: number;
|
|
3654
|
-
currency: CurrencyEnum;
|
|
3655
|
-
paymentStatus?: PaymentStatusEnum;
|
|
3656
|
-
isRefunded?: boolean;
|
|
3657
|
-
isTaxInclusive?: boolean;
|
|
3658
|
-
taxPrecent?: number;
|
|
3659
|
-
unitPrice?: number;
|
|
3660
|
-
quantity: number;
|
|
3661
|
-
resources?: PurchasedResourceDto[];
|
|
3662
|
-
relationType?: 'reservation-addon' | 'slots' | 'slot_addons';
|
|
3663
|
-
unitPriceWithTax?: number;
|
|
3664
|
-
unitTaxPrice?: number;
|
|
3665
|
-
parentOrdinal?: number;
|
|
3666
|
-
}
|
|
3667
3624
|
export declare class MaintenanceDto {
|
|
3668
3625
|
id?: number;
|
|
3669
3626
|
title: string;
|
|
@@ -3720,6 +3677,32 @@ export declare class PurchasedResourceDto {
|
|
|
3720
3677
|
endDate?: string;
|
|
3721
3678
|
endTime?: string;
|
|
3722
3679
|
}
|
|
3680
|
+
export declare class LineItemDto {
|
|
3681
|
+
id?: number;
|
|
3682
|
+
orderId?: number;
|
|
3683
|
+
type: LineItemsStatusEnum;
|
|
3684
|
+
organizationId: number;
|
|
3685
|
+
userId?: number;
|
|
3686
|
+
productId: number;
|
|
3687
|
+
product?: Product;
|
|
3688
|
+
productType: ProductTypesEnum;
|
|
3689
|
+
ordinal?: number;
|
|
3690
|
+
price: number;
|
|
3691
|
+
originalPrice?: number;
|
|
3692
|
+
paidAmount?: number;
|
|
3693
|
+
currency: CurrencyEnum;
|
|
3694
|
+
paymentStatus?: PaymentStatusEnum;
|
|
3695
|
+
isRefunded?: boolean;
|
|
3696
|
+
isTaxInclusive?: boolean;
|
|
3697
|
+
taxPrecent?: number;
|
|
3698
|
+
unitPrice?: number;
|
|
3699
|
+
quantity: number;
|
|
3700
|
+
resources?: PurchasedResourceDto[];
|
|
3701
|
+
relationType?: 'reservation-addon' | 'slots' | 'slot_addons';
|
|
3702
|
+
unitPriceWithTax?: number;
|
|
3703
|
+
unitTaxPrice?: number;
|
|
3704
|
+
parentOrdinal?: number;
|
|
3705
|
+
}
|
|
3723
3706
|
export declare class ReservationDto {
|
|
3724
3707
|
id?: number;
|
|
3725
3708
|
organizationId?: number;
|
|
@@ -4151,13 +4134,28 @@ export declare class Slot extends OrganizationConnectionBaseEntity {
|
|
|
4151
4134
|
changeLineItems?: LineItems[];
|
|
4152
4135
|
updatedLineItem?: LineItems;
|
|
4153
4136
|
}
|
|
4154
|
-
export declare class
|
|
4155
|
-
|
|
4156
|
-
from(data: string): number;
|
|
4137
|
+
export declare class ChangeRolePermissionsDto {
|
|
4138
|
+
permissionIds: number[];
|
|
4157
4139
|
}
|
|
4158
|
-
export declare
|
|
4159
|
-
|
|
4160
|
-
|
|
4140
|
+
export declare class CreateRoleDto {
|
|
4141
|
+
name: string;
|
|
4142
|
+
}
|
|
4143
|
+
export declare class Permission extends BondBaseEntity {
|
|
4144
|
+
name: string;
|
|
4145
|
+
deletedAt?: Date;
|
|
4146
|
+
}
|
|
4147
|
+
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
4148
|
+
name: string;
|
|
4149
|
+
deletedAt?: Date;
|
|
4150
|
+
permissions: Permission[];
|
|
4151
|
+
usersRoles: UserRole[];
|
|
4152
|
+
}
|
|
4153
|
+
export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
4154
|
+
deletedAt?: Date;
|
|
4155
|
+
userId: number;
|
|
4156
|
+
roleId: number;
|
|
4157
|
+
role: Role;
|
|
4158
|
+
user: User;
|
|
4161
4159
|
}
|
|
4162
4160
|
export declare class FindShiftsByIdsDto {
|
|
4163
4161
|
shiftIds: number[];
|
|
@@ -4193,6 +4191,9 @@ export declare class OpenShiftDto {
|
|
|
4193
4191
|
openingCashAmount: number;
|
|
4194
4192
|
stationId: number;
|
|
4195
4193
|
}
|
|
4194
|
+
export declare class CloseShiftDto {
|
|
4195
|
+
closingCashAmount: number;
|
|
4196
|
+
}
|
|
4196
4197
|
export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
4197
4198
|
stationId: number;
|
|
4198
4199
|
station?: Station;
|