@bondsports/types 0.0.58 → 0.0.59
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 +450 -450
- 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
|
@@ -2,13 +2,6 @@ import { BaseEntity } from 'typeorm';
|
|
|
2
2
|
import { Stripe } from 'stripe';
|
|
3
3
|
import moment from 'moment';
|
|
4
4
|
export { TypesProvider } from './provider';
|
|
5
|
-
export declare class BasicActivityTimesDto {
|
|
6
|
-
dayOfWeek: number;
|
|
7
|
-
close: string;
|
|
8
|
-
open: string;
|
|
9
|
-
availabilityStartDate?: string;
|
|
10
|
-
availabilityEndDate?: string;
|
|
11
|
-
}
|
|
12
5
|
export declare class QuestionAnswersDto {
|
|
13
6
|
questionId: number;
|
|
14
7
|
value: any;
|
|
@@ -20,6 +13,13 @@ export declare class UserAnswersDto {
|
|
|
20
13
|
export declare class GetByQuestionnaireIdsDto {
|
|
21
14
|
questionnaireIds: string;
|
|
22
15
|
}
|
|
16
|
+
export declare class BasicActivityTimesDto {
|
|
17
|
+
dayOfWeek: number;
|
|
18
|
+
close: string;
|
|
19
|
+
open: string;
|
|
20
|
+
availabilityStartDate?: string;
|
|
21
|
+
availabilityEndDate?: string;
|
|
22
|
+
}
|
|
23
23
|
export declare class FindBookingTypeSettingDto {
|
|
24
24
|
organizationId: number;
|
|
25
25
|
facilityId: number;
|
|
@@ -27,107 +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
|
-
export declare class AddressDto {
|
|
89
|
-
city: string;
|
|
90
|
-
state: string;
|
|
91
|
-
country: string;
|
|
92
|
-
geo: number[];
|
|
93
|
-
}
|
|
94
|
-
export declare class OpeningTimeDto {
|
|
95
|
-
open: string;
|
|
96
|
-
close: string;
|
|
97
|
-
dayOfWeek: number;
|
|
98
|
-
}
|
|
99
|
-
export declare class CreateFacilityDto {
|
|
100
|
-
name: string;
|
|
101
|
-
sports: number[];
|
|
102
|
-
description?: string;
|
|
103
|
-
longDescription?: string;
|
|
104
|
-
info?: string;
|
|
105
|
-
address: AddressDto;
|
|
106
|
-
timezone: string;
|
|
107
|
-
amenities: number[];
|
|
108
|
-
openingTimes: OpeningTimeDto[];
|
|
109
|
-
resourcesIds?: number[];
|
|
110
|
-
}
|
|
111
|
-
export declare class UpdateFacilityDetailsDto {
|
|
112
|
-
name?: string;
|
|
113
|
-
description?: string;
|
|
114
|
-
longDescription?: string;
|
|
115
|
-
info?: string;
|
|
116
|
-
address?: AddressDto;
|
|
117
|
-
timezone?: string;
|
|
118
|
-
}
|
|
119
|
-
export declare class UpdateFacilityOpeningTimesDto {
|
|
120
|
-
openingTimes: OpeningTimeDto[];
|
|
121
|
-
}
|
|
122
|
-
export declare class UpdateFacilitySportsDto {
|
|
123
|
-
sports: number[];
|
|
124
|
-
}
|
|
125
|
-
export declare class UpdateFacilityAmenitiesDto {
|
|
126
|
-
amenities: number[];
|
|
127
|
-
}
|
|
128
|
-
export declare class FindFacilitiesOptionsDto extends PaginationQuery {
|
|
129
|
-
nameSearch?: string;
|
|
130
|
-
}
|
|
131
30
|
export declare class FindEventByIdDto {
|
|
132
31
|
eventId: number;
|
|
133
32
|
organizationId: number;
|
|
@@ -229,6 +128,107 @@ export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
|
|
|
229
128
|
isWaiverSigned?: string;
|
|
230
129
|
statuses?: string;
|
|
231
130
|
}
|
|
131
|
+
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
132
|
+
membershipId: number;
|
|
133
|
+
}
|
|
134
|
+
export declare class ImportProductsFromDB {
|
|
135
|
+
buDate: string;
|
|
136
|
+
}
|
|
137
|
+
export declare class ImportCustomerFromCSV {
|
|
138
|
+
fileName: string;
|
|
139
|
+
startIndex?: number;
|
|
140
|
+
}
|
|
141
|
+
export declare class ImportProgramsFileDto extends ImportCustomerFromCSV {
|
|
142
|
+
resolveInvoices: string;
|
|
143
|
+
}
|
|
144
|
+
export declare class ImportDashCustomerDto extends ImportCustomerFromCSV {
|
|
145
|
+
membershipId: number;
|
|
146
|
+
onlyDashIds: string;
|
|
147
|
+
}
|
|
148
|
+
export declare class ImportRentalsFromCSV extends ImportCustomerFromCSV {
|
|
149
|
+
facilityId: number;
|
|
150
|
+
}
|
|
151
|
+
export declare class ByOrganizationIdCustomerIdDto extends ByOrganizationIdDto {
|
|
152
|
+
customerId: number;
|
|
153
|
+
}
|
|
154
|
+
export declare class FindCustomersByOrganizationIdFiltersDto extends PaginationQuery {
|
|
155
|
+
nameSearch?: string;
|
|
156
|
+
fuzzy?: string;
|
|
157
|
+
customerType?: CustomerTypeEnum;
|
|
158
|
+
customersIds?: string;
|
|
159
|
+
}
|
|
160
|
+
export declare class AddCustomerNotesDto {
|
|
161
|
+
customerNotes: CustomerNoteDto[];
|
|
162
|
+
}
|
|
163
|
+
export declare class CustomerNoteDto {
|
|
164
|
+
id?: number;
|
|
165
|
+
description: string;
|
|
166
|
+
pinToTop?: boolean;
|
|
167
|
+
}
|
|
168
|
+
export declare class AddEditCustomerDto {
|
|
169
|
+
firstName?: string;
|
|
170
|
+
lastName?: string;
|
|
171
|
+
entityId?: number;
|
|
172
|
+
entityType?: CustomerTypeEnum;
|
|
173
|
+
email?: string;
|
|
174
|
+
color?: string;
|
|
175
|
+
street?: string;
|
|
176
|
+
city?: string;
|
|
177
|
+
state?: string;
|
|
178
|
+
zip?: string;
|
|
179
|
+
phoneNumber?: string;
|
|
180
|
+
mainMediaId?: number;
|
|
181
|
+
creatorId?: number;
|
|
182
|
+
creatorType?: ResourceNameTypeEnum;
|
|
183
|
+
userCreatorId?: number;
|
|
184
|
+
gender?: GenderEnum;
|
|
185
|
+
birthDate?: string;
|
|
186
|
+
emergencyContactName?: string;
|
|
187
|
+
emergencyContactPhone?: string;
|
|
188
|
+
}
|
|
189
|
+
export declare class AddressDto {
|
|
190
|
+
city: string;
|
|
191
|
+
state: string;
|
|
192
|
+
country: string;
|
|
193
|
+
geo: number[];
|
|
194
|
+
}
|
|
195
|
+
export declare class OpeningTimeDto {
|
|
196
|
+
open: string;
|
|
197
|
+
close: string;
|
|
198
|
+
dayOfWeek: number;
|
|
199
|
+
}
|
|
200
|
+
export declare class CreateFacilityDto {
|
|
201
|
+
name: string;
|
|
202
|
+
sports: number[];
|
|
203
|
+
description?: string;
|
|
204
|
+
longDescription?: string;
|
|
205
|
+
info?: string;
|
|
206
|
+
address: AddressDto;
|
|
207
|
+
timezone: string;
|
|
208
|
+
amenities: number[];
|
|
209
|
+
openingTimes: OpeningTimeDto[];
|
|
210
|
+
resourcesIds?: number[];
|
|
211
|
+
}
|
|
212
|
+
export declare class UpdateFacilityDetailsDto {
|
|
213
|
+
name?: string;
|
|
214
|
+
description?: string;
|
|
215
|
+
longDescription?: string;
|
|
216
|
+
info?: string;
|
|
217
|
+
address?: AddressDto;
|
|
218
|
+
timezone?: string;
|
|
219
|
+
}
|
|
220
|
+
export declare class UpdateFacilityOpeningTimesDto {
|
|
221
|
+
openingTimes: OpeningTimeDto[];
|
|
222
|
+
}
|
|
223
|
+
export declare class UpdateFacilitySportsDto {
|
|
224
|
+
sports: number[];
|
|
225
|
+
}
|
|
226
|
+
export declare class UpdateFacilityAmenitiesDto {
|
|
227
|
+
amenities: number[];
|
|
228
|
+
}
|
|
229
|
+
export declare class FindFacilitiesOptionsDto extends PaginationQuery {
|
|
230
|
+
nameSearch?: string;
|
|
231
|
+
}
|
|
232
232
|
export declare class FindFamilyAccountsDto {
|
|
233
233
|
userId: number;
|
|
234
234
|
}
|
|
@@ -412,35 +412,77 @@ export declare class CancelMembershipDto {
|
|
|
412
412
|
isImmediatelyCancel: boolean;
|
|
413
413
|
cancellationReason?: string;
|
|
414
414
|
}
|
|
415
|
-
export declare class
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
id: number;
|
|
420
|
-
userId: number;
|
|
421
|
-
resources: ResourceDto[];
|
|
415
|
+
export declare class CreateEntitlementTermsDto {
|
|
416
|
+
organizationId: number;
|
|
417
|
+
entitlementGroupId: number;
|
|
418
|
+
terms: IEntitlementTerms[];
|
|
422
419
|
}
|
|
423
|
-
export declare class
|
|
424
|
-
|
|
425
|
-
answers: UserAnswersDto[];
|
|
420
|
+
export declare class FindEntitlementTermsByGroupIdDto {
|
|
421
|
+
entitlementGroupId: number;
|
|
426
422
|
}
|
|
427
|
-
export declare class
|
|
428
|
-
|
|
429
|
-
|
|
423
|
+
export declare class FindEntitlementTermsByVariablesDto {
|
|
424
|
+
user: any;
|
|
425
|
+
userVariables: IQuestionAnswerObject[];
|
|
430
426
|
}
|
|
431
|
-
export declare class
|
|
427
|
+
export declare class FindLowestPriceDto {
|
|
432
428
|
organizationId: number;
|
|
429
|
+
user?: any;
|
|
430
|
+
answers?: IQuestionAnswerObject[];
|
|
431
|
+
itemIds: number[];
|
|
432
|
+
itemType?: ResourceNameTypeEnum;
|
|
433
|
+
startDate?: Date;
|
|
433
434
|
}
|
|
434
|
-
export declare class
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
addOnIds?: ExistingProductToPackageDto[];
|
|
435
|
+
export declare class FindGroupItemsPricingsDto {
|
|
436
|
+
groupsIds: number[];
|
|
437
|
+
itemsIds: number[];
|
|
438
438
|
}
|
|
439
|
-
export declare class
|
|
439
|
+
export declare class CreateEntitlementGroupDto {
|
|
440
440
|
name: string;
|
|
441
441
|
}
|
|
442
|
-
export declare class
|
|
443
|
-
|
|
442
|
+
export declare class GetEntitlementGroupPricingDto {
|
|
443
|
+
itemIds: number[];
|
|
444
|
+
itemType: string;
|
|
445
|
+
}
|
|
446
|
+
export declare class FindEntitlementGroupByIdDto {
|
|
447
|
+
groupid: number;
|
|
448
|
+
}
|
|
449
|
+
export declare class CreateGroupPricingWithProduct {
|
|
450
|
+
groupId: number;
|
|
451
|
+
price: number;
|
|
452
|
+
startDate?: Date;
|
|
453
|
+
endDate?: Date;
|
|
454
|
+
discountValue?: number;
|
|
455
|
+
discountMethod?: DiscountMethodsEnum;
|
|
456
|
+
}
|
|
457
|
+
export declare class FindByProductIdDto {
|
|
458
|
+
productId: number;
|
|
459
|
+
}
|
|
460
|
+
export declare class FindPriceOfProductDto {
|
|
461
|
+
id: number;
|
|
462
|
+
userId: number;
|
|
463
|
+
resources: ResourceDto[];
|
|
464
|
+
}
|
|
465
|
+
export declare class FindPricesOfProductsDto {
|
|
466
|
+
products: FindPriceOfProductDto[];
|
|
467
|
+
answers: UserAnswersDto[];
|
|
468
|
+
}
|
|
469
|
+
export declare class FindPackageByResourceDto {
|
|
470
|
+
resourceType: ResourceNameTypeEnum;
|
|
471
|
+
resourceId: number;
|
|
472
|
+
}
|
|
473
|
+
export declare class FindProductsByResourceAsOrganizationDto extends FindPackageByResourceDto {
|
|
474
|
+
organizationId: number;
|
|
475
|
+
}
|
|
476
|
+
export declare class CreateProductsDto {
|
|
477
|
+
products: CreateProductDto[];
|
|
478
|
+
addOnsData?: ProductInPackage[];
|
|
479
|
+
addOnIds?: ExistingProductToPackageDto[];
|
|
480
|
+
}
|
|
481
|
+
export declare class CreatePaymentPlanDto extends PaymentPlanDto {
|
|
482
|
+
name: string;
|
|
483
|
+
}
|
|
484
|
+
export declare class CreateProductDto {
|
|
485
|
+
id?: number;
|
|
444
486
|
organizationId: number;
|
|
445
487
|
name: string;
|
|
446
488
|
quantity?: number;
|
|
@@ -632,48 +674,6 @@ export declare class createResourceDto {
|
|
|
632
674
|
export declare class archiveDto {
|
|
633
675
|
isArchive: boolean;
|
|
634
676
|
}
|
|
635
|
-
export declare class CreateEntitlementTermsDto {
|
|
636
|
-
organizationId: number;
|
|
637
|
-
entitlementGroupId: number;
|
|
638
|
-
terms: IEntitlementTerms[];
|
|
639
|
-
}
|
|
640
|
-
export declare class FindEntitlementTermsByGroupIdDto {
|
|
641
|
-
entitlementGroupId: number;
|
|
642
|
-
}
|
|
643
|
-
export declare class FindEntitlementTermsByVariablesDto {
|
|
644
|
-
user: any;
|
|
645
|
-
userVariables: IQuestionAnswerObject[];
|
|
646
|
-
}
|
|
647
|
-
export declare class FindLowestPriceDto {
|
|
648
|
-
organizationId: number;
|
|
649
|
-
user?: any;
|
|
650
|
-
answers?: IQuestionAnswerObject[];
|
|
651
|
-
itemIds: number[];
|
|
652
|
-
itemType?: ResourceNameTypeEnum;
|
|
653
|
-
startDate?: Date;
|
|
654
|
-
}
|
|
655
|
-
export declare class FindGroupItemsPricingsDto {
|
|
656
|
-
groupsIds: number[];
|
|
657
|
-
itemsIds: number[];
|
|
658
|
-
}
|
|
659
|
-
export declare class CreateEntitlementGroupDto {
|
|
660
|
-
name: string;
|
|
661
|
-
}
|
|
662
|
-
export declare class GetEntitlementGroupPricingDto {
|
|
663
|
-
itemIds: number[];
|
|
664
|
-
itemType: string;
|
|
665
|
-
}
|
|
666
|
-
export declare class FindEntitlementGroupByIdDto {
|
|
667
|
-
groupid: number;
|
|
668
|
-
}
|
|
669
|
-
export declare class CreateGroupPricingWithProduct {
|
|
670
|
-
groupId: number;
|
|
671
|
-
price: number;
|
|
672
|
-
startDate?: Date;
|
|
673
|
-
endDate?: Date;
|
|
674
|
-
discountValue?: number;
|
|
675
|
-
discountMethod?: DiscountMethodsEnum;
|
|
676
|
-
}
|
|
677
677
|
export declare class CreateUpdateVariantsDto {
|
|
678
678
|
organizationId: number;
|
|
679
679
|
parentProductId: number;
|
|
@@ -1876,6 +1876,15 @@ export declare class ProductPackage extends OrganizationConnectionBaseEntity {
|
|
|
1876
1876
|
durationDays?: number;
|
|
1877
1877
|
level?: ProductPackageLevelEnum;
|
|
1878
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
|
+
}
|
|
1879
1888
|
export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
1880
1889
|
productId: number;
|
|
1881
1890
|
resourceId: number;
|
|
@@ -1887,15 +1896,6 @@ export declare class ProductResource extends OrganizationConnectionBaseEntity {
|
|
|
1887
1896
|
productPackages: ProductPackage[];
|
|
1888
1897
|
resourceName?: string;
|
|
1889
1898
|
}
|
|
1890
|
-
export declare class ProductPaymentPlan extends OrganizationConnectionBaseEntity {
|
|
1891
|
-
productId: number;
|
|
1892
|
-
maxMonths?: number;
|
|
1893
|
-
dayOfMonth?: number;
|
|
1894
|
-
name: string;
|
|
1895
|
-
deletedAt?: Date;
|
|
1896
|
-
schedule: PaymentPlanSchedule[];
|
|
1897
|
-
product?: Product;
|
|
1898
|
-
}
|
|
1899
1899
|
export declare class ProductToVariantTitle extends OrganizationConnectionBaseEntity {
|
|
1900
1900
|
productId: number;
|
|
1901
1901
|
variantTitleId: number;
|
|
@@ -2262,6 +2262,15 @@ export declare class TeamInvite extends BondBaseEntity {
|
|
|
2262
2262
|
tokenExpirationDate: Date;
|
|
2263
2263
|
isUsed: boolean;
|
|
2264
2264
|
}
|
|
2265
|
+
export declare class TeamMember extends BondBaseEntity {
|
|
2266
|
+
teamId: number | null;
|
|
2267
|
+
userId: number | null;
|
|
2268
|
+
paymentId: number | null;
|
|
2269
|
+
hasPaid: boolean | null;
|
|
2270
|
+
status: TeamMemberStatusEnum | null;
|
|
2271
|
+
role: TeamMemberRoleEnum;
|
|
2272
|
+
user: User;
|
|
2273
|
+
}
|
|
2265
2274
|
export declare class User extends BondBaseEntity {
|
|
2266
2275
|
firstName: string | null;
|
|
2267
2276
|
lastName: string | null;
|
|
@@ -2301,15 +2310,6 @@ export declare class User extends BondBaseEntity {
|
|
|
2301
2310
|
orderNotes: OrderNote[];
|
|
2302
2311
|
invoiceNotes: InvoiceNote[];
|
|
2303
2312
|
}
|
|
2304
|
-
export declare class TeamMember extends BondBaseEntity {
|
|
2305
|
-
teamId: number | null;
|
|
2306
|
-
userId: number | null;
|
|
2307
|
-
paymentId: number | null;
|
|
2308
|
-
hasPaid: boolean | null;
|
|
2309
|
-
status: TeamMemberStatusEnum | null;
|
|
2310
|
-
role: TeamMemberRoleEnum;
|
|
2311
|
-
user: User;
|
|
2312
|
-
}
|
|
2313
2313
|
export declare class UserAuthorizations extends BondBaseEntity {
|
|
2314
2314
|
entityId: number | null;
|
|
2315
2315
|
userId: number | null;
|
|
@@ -3253,6 +3253,41 @@ export declare class AddFamilyDto {
|
|
|
3253
3253
|
parents: AddImportedCustomerDto[];
|
|
3254
3254
|
children: AddImportedCustomerDto[];
|
|
3255
3255
|
}
|
|
3256
|
+
export declare enum ImportPaymentTypeEnum {
|
|
3257
|
+
CREDIT_CARD = "card",
|
|
3258
|
+
ACH = "ach",
|
|
3259
|
+
CASH = "cash",
|
|
3260
|
+
CHECK = "check",
|
|
3261
|
+
CARD_ON_TERMINAL = "card-on-terminal",
|
|
3262
|
+
OTHER = "other"
|
|
3263
|
+
}
|
|
3264
|
+
export declare class ImportedInvoiceLineDto {
|
|
3265
|
+
invoiceID?: string;
|
|
3266
|
+
description: string;
|
|
3267
|
+
createdDate: string;
|
|
3268
|
+
createdTime: string;
|
|
3269
|
+
quantity: string;
|
|
3270
|
+
price: string;
|
|
3271
|
+
total: string;
|
|
3272
|
+
customerID: string;
|
|
3273
|
+
resourceType: string;
|
|
3274
|
+
resourceID: string;
|
|
3275
|
+
}
|
|
3276
|
+
export declare class ImportedInvoiceDto {
|
|
3277
|
+
customerId?: string;
|
|
3278
|
+
total?: string;
|
|
3279
|
+
amountDue?: string;
|
|
3280
|
+
payments?: ImportedPaymentDto[];
|
|
3281
|
+
lines: any;
|
|
3282
|
+
}
|
|
3283
|
+
export declare class ImportedPaymentDto {
|
|
3284
|
+
invoiceID: string;
|
|
3285
|
+
type: ImportPaymentTypeEnum;
|
|
3286
|
+
description: string;
|
|
3287
|
+
paid: string;
|
|
3288
|
+
date: string;
|
|
3289
|
+
time: string;
|
|
3290
|
+
}
|
|
3256
3291
|
export declare class ProductIdsDto {
|
|
3257
3292
|
productIds?: number[];
|
|
3258
3293
|
}
|
|
@@ -3320,41 +3355,6 @@ export declare class ImportedReservationDto {
|
|
|
3320
3355
|
slots?: ImportedSlotDto[];
|
|
3321
3356
|
addons?: ImportedSlotProductDto[];
|
|
3322
3357
|
}
|
|
3323
|
-
export declare enum ImportPaymentTypeEnum {
|
|
3324
|
-
CREDIT_CARD = "card",
|
|
3325
|
-
ACH = "ach",
|
|
3326
|
-
CASH = "cash",
|
|
3327
|
-
CHECK = "check",
|
|
3328
|
-
CARD_ON_TERMINAL = "card-on-terminal",
|
|
3329
|
-
OTHER = "other"
|
|
3330
|
-
}
|
|
3331
|
-
export declare class ImportedInvoiceLineDto {
|
|
3332
|
-
invoiceID?: string;
|
|
3333
|
-
description: string;
|
|
3334
|
-
createdDate: string;
|
|
3335
|
-
createdTime: string;
|
|
3336
|
-
quantity: string;
|
|
3337
|
-
price: string;
|
|
3338
|
-
total: string;
|
|
3339
|
-
customerID: string;
|
|
3340
|
-
resourceType: string;
|
|
3341
|
-
resourceID: string;
|
|
3342
|
-
}
|
|
3343
|
-
export declare class ImportedInvoiceDto {
|
|
3344
|
-
customerId?: string;
|
|
3345
|
-
total?: string;
|
|
3346
|
-
amountDue?: string;
|
|
3347
|
-
payments?: ImportedPaymentDto[];
|
|
3348
|
-
lines: any;
|
|
3349
|
-
}
|
|
3350
|
-
export declare class ImportedPaymentDto {
|
|
3351
|
-
invoiceID: string;
|
|
3352
|
-
type: ImportPaymentTypeEnum;
|
|
3353
|
-
description: string;
|
|
3354
|
-
paid: string;
|
|
3355
|
-
date: string;
|
|
3356
|
-
time: string;
|
|
3357
|
-
}
|
|
3358
3358
|
export declare class GameSlots extends BondBaseEntity {
|
|
3359
3359
|
entityType: string;
|
|
3360
3360
|
entityId: number;
|
|
@@ -3412,216 +3412,67 @@ export declare class ByOrganizationIdDto {
|
|
|
3412
3412
|
export declare class OptionalFindByOrganizationIdDto {
|
|
3413
3413
|
organizationId?: number;
|
|
3414
3414
|
}
|
|
3415
|
-
export declare class Organization extends BondBaseEntity {
|
|
3416
|
-
name: string | null;
|
|
3417
|
-
email: string | null;
|
|
3418
|
-
twitter: string | null;
|
|
3419
|
-
facebook: string | null;
|
|
3420
|
-
instagram: string | null;
|
|
3421
|
-
website: string | null;
|
|
3422
|
-
blog: string | null;
|
|
3423
|
-
phoneNumber: string | null;
|
|
3424
|
-
waiverDoc: string | null;
|
|
3425
|
-
about: string | null;
|
|
3426
|
-
tagline: string | null;
|
|
3427
|
-
status: number | null;
|
|
3428
|
-
addressId: number | null;
|
|
3429
|
-
merchantId: number | null;
|
|
3430
|
-
userCreatorId: number | null;
|
|
3431
|
-
parentId: number | null;
|
|
3432
|
-
paymentSettings: object | null;
|
|
3433
|
-
settings: object | null;
|
|
3434
|
-
isClaimed: boolean | null;
|
|
3435
|
-
sports: number[] | null;
|
|
3436
|
-
mainMediaId: number | null;
|
|
3437
|
-
deletedAt: Date | null;
|
|
3438
|
-
organizationActivityTypes: number[] | null;
|
|
3439
|
-
organizationTypes: number[] | null;
|
|
3440
|
-
organizationAudienceTypes: number[] | null;
|
|
3441
|
-
organizationGenders: number[] | null;
|
|
3442
|
-
questionnaireId: number | null;
|
|
3443
|
-
membershipQuestionnaireId: number | null;
|
|
3444
|
-
feeRate: number;
|
|
3445
|
-
feeAddDollarRate: number;
|
|
3446
|
-
achFeeRate: number;
|
|
3447
|
-
achFeeAddDollarRate: number;
|
|
3448
|
-
maxAchFee: number;
|
|
3449
|
-
cashFeeRate: number;
|
|
3450
|
-
cashFeeAddDollarRate: number;
|
|
3451
|
-
terminalFeeRate: number;
|
|
3452
|
-
terminalFeeAddDollarRate: number;
|
|
3453
|
-
checkFeeRate: number;
|
|
3454
|
-
checkFeeAddDollarRate: number;
|
|
3455
|
-
otherFeeRate: number;
|
|
3456
|
-
otherFeeAddDollarRate: number;
|
|
3457
|
-
balanceFeeRate: number;
|
|
3458
|
-
balanceFeeAddDollarRate: number;
|
|
3459
|
-
address: Address;
|
|
3460
|
-
mainMedia: Media;
|
|
3461
|
-
brandings: OrganizationBranding[];
|
|
3462
|
-
brandingsV2?: OrganizationBranding[];
|
|
3463
|
-
}
|
|
3464
|
-
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3465
|
-
key?: string;
|
|
3466
|
-
vaule?: string;
|
|
3467
|
-
version: number;
|
|
3468
|
-
organization: Organization;
|
|
3469
|
-
}
|
|
3470
|
-
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3471
|
-
mainAdminUserId?: number;
|
|
3472
|
-
}
|
|
3473
|
-
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3474
|
-
organisationId: number | null;
|
|
3475
|
-
userId: number | null;
|
|
3476
|
-
}
|
|
3477
|
-
export declare class CustomerIdDto {
|
|
3478
|
-
customerId: number;
|
|
3479
|
-
}
|
|
3480
|
-
export declare class PaymentIdDto {
|
|
3481
|
-
paymentId: number;
|
|
3482
|
-
}
|
|
3483
|
-
export declare class InvoiceIdDto {
|
|
3484
|
-
invoiceId: number;
|
|
3485
|
-
}
|
|
3486
|
-
export declare class ByOrganizationIdAndInvoiceIdDto extends ByOrganizationIdDto {
|
|
3487
|
-
invoiceId: number;
|
|
3488
|
-
}
|
|
3489
|
-
export declare class GetInvoicesQueryDto {
|
|
3490
|
-
extended?: boolean;
|
|
3491
|
-
}
|
|
3492
|
-
export declare class GetPaymentsQueryDto {
|
|
3493
|
-
extended?: boolean;
|
|
3494
|
-
}
|
|
3495
|
-
export declare class InvoiceViaOrderHashDto {
|
|
3496
|
-
customerId: number;
|
|
3497
|
-
orderHash: string;
|
|
3498
|
-
}
|
|
3499
|
-
export declare class DiscountDto {
|
|
3500
|
-
lineItemId: number;
|
|
3501
|
-
price: number;
|
|
3502
|
-
entitlementGroupId: number;
|
|
3503
|
-
description?: string;
|
|
3504
|
-
}
|
|
3505
|
-
export declare class LineItemIdDto {
|
|
3506
|
-
lineItemId: number;
|
|
3507
|
-
}
|
|
3508
|
-
export declare class ByPaymentFilter extends PaginationQuery {
|
|
3509
|
-
paymentType?: string;
|
|
3510
|
-
paymentStatus?: string;
|
|
3511
|
-
}
|
|
3512
|
-
export declare class FindPayments extends ByPaymentFilter {
|
|
3513
|
-
}
|
|
3514
|
-
export declare class BasicInstallmentDataDto extends ByOrganizationIdAndInvoiceIdDto {
|
|
3515
|
-
userId: number;
|
|
3516
|
-
}
|
|
3517
|
-
export declare class CreateScheduledPaymentsDto extends BasicInstallmentDataDto {
|
|
3518
|
-
payments: ScheduledPaymentDto[];
|
|
3519
|
-
paymentMethodType: PaymentMethodTypeEnum;
|
|
3520
|
-
payemntMethodId: string;
|
|
3521
|
-
}
|
|
3522
|
-
export declare class ScheduledPaymentDto {
|
|
3523
|
-
plannedDate: Date;
|
|
3524
|
-
price: number;
|
|
3525
|
-
}
|
|
3526
|
-
export declare class FutureInstallmentsIdsDto {
|
|
3527
|
-
paymentsIds: number[];
|
|
3528
|
-
}
|
|
3529
|
-
export declare class StationsDto {
|
|
3530
|
-
organizationId: number;
|
|
3531
|
-
facilityId: number;
|
|
3532
|
-
stationId: number;
|
|
3533
|
-
}
|
|
3534
|
-
export declare class PaymentIntentDto {
|
|
3535
|
-
amount: number;
|
|
3536
|
-
customer: string;
|
|
3537
|
-
currency: string;
|
|
3538
|
-
capture_method: string;
|
|
3539
|
-
payment_method_types: string[];
|
|
3540
|
-
organizationId: number;
|
|
3541
|
-
creatorId: number;
|
|
3542
|
-
}
|
|
3543
|
-
export declare class PaymentDataDto {
|
|
3544
|
-
paymentMethodType: PaymentMethodTypeEnum;
|
|
3545
|
-
payemntMethodId: string;
|
|
3546
|
-
}
|
|
3547
|
-
export declare class SendReceiptDataDto {
|
|
3548
|
-
invoiceId: number;
|
|
3549
|
-
deliveryMethod: 'email' | 'sms';
|
|
3550
|
-
sendToAddress?: string;
|
|
3551
|
-
}
|
|
3552
|
-
export declare class PaymentPlanSchduleDto {
|
|
3553
|
-
date: Date;
|
|
3554
|
-
percent?: number;
|
|
3555
|
-
}
|
|
3556
|
-
export declare class PaymentPlanDto {
|
|
3557
|
-
months?: number;
|
|
3558
|
-
dayOfMonth?: number;
|
|
3559
|
-
schedule?: PaymentPlanSchduleDto[];
|
|
3560
|
-
}
|
|
3561
|
-
export declare class CalcPaymentPlanDto extends PaymentPlanDto {
|
|
3562
|
-
amountToSplit: number;
|
|
3563
|
-
}
|
|
3564
|
-
export declare class AddToOrderDto {
|
|
3565
|
-
orderId: number;
|
|
3566
|
-
userId: number;
|
|
3567
|
-
productsToAdd: PurchaseProductDto[];
|
|
3568
|
-
resourcesToRemove: PurchaseProductDto[];
|
|
3569
|
-
}
|
|
3570
|
-
export declare class CreateNoteDto {
|
|
3571
|
-
content: string;
|
|
3572
|
-
isPublic: boolean;
|
|
3573
|
-
}
|
|
3574
|
-
export declare class UpdateNoteContentDto extends CreateNoteDto {
|
|
3575
|
-
id: number;
|
|
3576
|
-
}
|
|
3577
|
-
export declare class NotePrivacyDto {
|
|
3578
|
-
filter: string;
|
|
3579
|
-
}
|
|
3580
|
-
export declare class RevertMetaDto {
|
|
3581
|
-
removedResources: RemoveResourceDto[];
|
|
3582
|
-
}
|
|
3583
|
-
export declare class RemoveResourceDto {
|
|
3584
|
-
resourceType: ResourceNameTypeEnum;
|
|
3585
|
-
resourceId: number;
|
|
3586
|
-
lineItemId: number;
|
|
3587
|
-
}
|
|
3588
|
-
export declare class SendRequestDto {
|
|
3589
|
-
orderId: number;
|
|
3590
|
-
userId: number;
|
|
3591
|
-
sendToEmail: string;
|
|
3592
|
-
memo?: string;
|
|
3593
|
-
}
|
|
3594
|
-
export declare class RefundDto {
|
|
3595
|
-
orderId: number;
|
|
3596
|
-
lineItems: RefundLineItemAmountDto[];
|
|
3597
|
-
refundLineItemAmountDict?: {
|
|
3598
|
-
[id: number]: number;
|
|
3599
|
-
};
|
|
3600
|
-
refunds: PaymentMethodDto[];
|
|
3601
|
-
refundType: RefundTypeEnum;
|
|
3602
|
-
reasonId: number;
|
|
3603
|
-
note?: string;
|
|
3604
|
-
shiftId?: number;
|
|
3605
|
-
meta?: RevertMetaDto;
|
|
3606
|
-
}
|
|
3607
|
-
export declare class PaymentMethodDto {
|
|
3608
|
-
paymentMethodType: PaymentMethodTypeEnum;
|
|
3609
|
-
amount: number;
|
|
3610
|
-
paymentMethodId?: string;
|
|
3415
|
+
export declare class Organization extends BondBaseEntity {
|
|
3416
|
+
name: string | null;
|
|
3417
|
+
email: string | null;
|
|
3418
|
+
twitter: string | null;
|
|
3419
|
+
facebook: string | null;
|
|
3420
|
+
instagram: string | null;
|
|
3421
|
+
website: string | null;
|
|
3422
|
+
blog: string | null;
|
|
3423
|
+
phoneNumber: string | null;
|
|
3424
|
+
waiverDoc: string | null;
|
|
3425
|
+
about: string | null;
|
|
3426
|
+
tagline: string | null;
|
|
3427
|
+
status: number | null;
|
|
3428
|
+
addressId: number | null;
|
|
3429
|
+
merchantId: number | null;
|
|
3430
|
+
userCreatorId: number | null;
|
|
3431
|
+
parentId: number | null;
|
|
3432
|
+
paymentSettings: object | null;
|
|
3433
|
+
settings: object | null;
|
|
3434
|
+
isClaimed: boolean | null;
|
|
3435
|
+
sports: number[] | null;
|
|
3436
|
+
mainMediaId: number | null;
|
|
3437
|
+
deletedAt: Date | null;
|
|
3438
|
+
organizationActivityTypes: number[] | null;
|
|
3439
|
+
organizationTypes: number[] | null;
|
|
3440
|
+
organizationAudienceTypes: number[] | null;
|
|
3441
|
+
organizationGenders: number[] | null;
|
|
3442
|
+
questionnaireId: number | null;
|
|
3443
|
+
membershipQuestionnaireId: number | null;
|
|
3444
|
+
feeRate: number;
|
|
3445
|
+
feeAddDollarRate: number;
|
|
3446
|
+
achFeeRate: number;
|
|
3447
|
+
achFeeAddDollarRate: number;
|
|
3448
|
+
maxAchFee: number;
|
|
3449
|
+
cashFeeRate: number;
|
|
3450
|
+
cashFeeAddDollarRate: number;
|
|
3451
|
+
terminalFeeRate: number;
|
|
3452
|
+
terminalFeeAddDollarRate: number;
|
|
3453
|
+
checkFeeRate: number;
|
|
3454
|
+
checkFeeAddDollarRate: number;
|
|
3455
|
+
otherFeeRate: number;
|
|
3456
|
+
otherFeeAddDollarRate: number;
|
|
3457
|
+
balanceFeeRate: number;
|
|
3458
|
+
balanceFeeAddDollarRate: number;
|
|
3459
|
+
address: Address;
|
|
3460
|
+
mainMedia: Media;
|
|
3461
|
+
brandings: OrganizationBranding[];
|
|
3462
|
+
brandingsV2?: OrganizationBranding[];
|
|
3611
3463
|
}
|
|
3612
|
-
export declare class
|
|
3613
|
-
|
|
3614
|
-
|
|
3464
|
+
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3465
|
+
key?: string;
|
|
3466
|
+
vaule?: string;
|
|
3467
|
+
version: number;
|
|
3468
|
+
organization: Organization;
|
|
3615
3469
|
}
|
|
3616
|
-
export declare class
|
|
3617
|
-
|
|
3618
|
-
meta?: RevertMetaDto;
|
|
3470
|
+
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3471
|
+
mainAdminUserId?: number;
|
|
3619
3472
|
}
|
|
3620
|
-
export declare class
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
isEdit?: boolean;
|
|
3624
|
-
amount?: number;
|
|
3473
|
+
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3474
|
+
organisationId: number | null;
|
|
3475
|
+
userId: number | null;
|
|
3625
3476
|
}
|
|
3626
3477
|
export declare class LineItemDto {
|
|
3627
3478
|
id?: number;
|
|
@@ -3705,6 +3556,17 @@ export declare class PurchasedResourceDto {
|
|
|
3705
3556
|
endDate?: string;
|
|
3706
3557
|
endTime?: string;
|
|
3707
3558
|
}
|
|
3559
|
+
export declare class SegmentDto {
|
|
3560
|
+
id?: number;
|
|
3561
|
+
title: string;
|
|
3562
|
+
isPrivate: boolean;
|
|
3563
|
+
resourceIds: number[];
|
|
3564
|
+
sportId?: number;
|
|
3565
|
+
series: SeriesDto[];
|
|
3566
|
+
addonIds?: number[];
|
|
3567
|
+
publicNotesForSlots?: string;
|
|
3568
|
+
privateNotesForSlots?: string;
|
|
3569
|
+
}
|
|
3708
3570
|
export declare class ReservationDto {
|
|
3709
3571
|
id?: number;
|
|
3710
3572
|
organizationId?: number;
|
|
@@ -3844,17 +3706,6 @@ export declare class ValidateEditSlotsDto extends UpdateSlotsDto {
|
|
|
3844
3706
|
export declare class AddAddonsDto {
|
|
3845
3707
|
addons: ProductPricesDto[];
|
|
3846
3708
|
}
|
|
3847
|
-
export declare class SegmentDto {
|
|
3848
|
-
id?: number;
|
|
3849
|
-
title: string;
|
|
3850
|
-
isPrivate: boolean;
|
|
3851
|
-
resourceIds: number[];
|
|
3852
|
-
sportId?: number;
|
|
3853
|
-
series: SeriesDto[];
|
|
3854
|
-
addonIds?: number[];
|
|
3855
|
-
publicNotesForSlots?: string;
|
|
3856
|
-
privateNotesForSlots?: string;
|
|
3857
|
-
}
|
|
3858
3709
|
export declare class SeriesDto {
|
|
3859
3710
|
id?: number;
|
|
3860
3711
|
startDate: string;
|
|
@@ -4145,6 +3996,12 @@ export declare class Permission extends BondBaseEntity {
|
|
|
4145
3996
|
name: string;
|
|
4146
3997
|
deletedAt?: Date;
|
|
4147
3998
|
}
|
|
3999
|
+
export declare class Role extends OrganizationConnectionBaseEntity {
|
|
4000
|
+
name: string;
|
|
4001
|
+
deletedAt?: Date;
|
|
4002
|
+
permissions: Permission[];
|
|
4003
|
+
usersRoles: UserRole[];
|
|
4004
|
+
}
|
|
4148
4005
|
export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
4149
4006
|
deletedAt?: Date;
|
|
4150
4007
|
userId: number;
|
|
@@ -4152,11 +4009,157 @@ export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
|
4152
4009
|
role: Role;
|
|
4153
4010
|
user: User;
|
|
4154
4011
|
}
|
|
4155
|
-
export declare class
|
|
4156
|
-
|
|
4157
|
-
|
|
4158
|
-
|
|
4159
|
-
|
|
4012
|
+
export declare class CustomerIdDto {
|
|
4013
|
+
customerId: number;
|
|
4014
|
+
}
|
|
4015
|
+
export declare class PaymentIdDto {
|
|
4016
|
+
paymentId: number;
|
|
4017
|
+
}
|
|
4018
|
+
export declare class InvoiceIdDto {
|
|
4019
|
+
invoiceId: number;
|
|
4020
|
+
}
|
|
4021
|
+
export declare class ByOrganizationIdAndInvoiceIdDto extends ByOrganizationIdDto {
|
|
4022
|
+
invoiceId: number;
|
|
4023
|
+
}
|
|
4024
|
+
export declare class GetInvoicesQueryDto {
|
|
4025
|
+
extended?: boolean;
|
|
4026
|
+
}
|
|
4027
|
+
export declare class GetPaymentsQueryDto {
|
|
4028
|
+
extended?: boolean;
|
|
4029
|
+
}
|
|
4030
|
+
export declare class InvoiceViaOrderHashDto {
|
|
4031
|
+
customerId: number;
|
|
4032
|
+
orderHash: string;
|
|
4033
|
+
}
|
|
4034
|
+
export declare class DiscountDto {
|
|
4035
|
+
lineItemId: number;
|
|
4036
|
+
price: number;
|
|
4037
|
+
entitlementGroupId: number;
|
|
4038
|
+
description?: string;
|
|
4039
|
+
}
|
|
4040
|
+
export declare class LineItemIdDto {
|
|
4041
|
+
lineItemId: number;
|
|
4042
|
+
}
|
|
4043
|
+
export declare class ByPaymentFilter extends PaginationQuery {
|
|
4044
|
+
paymentType?: string;
|
|
4045
|
+
paymentStatus?: string;
|
|
4046
|
+
}
|
|
4047
|
+
export declare class FindPayments extends ByPaymentFilter {
|
|
4048
|
+
}
|
|
4049
|
+
export declare class BasicInstallmentDataDto extends ByOrganizationIdAndInvoiceIdDto {
|
|
4050
|
+
userId: number;
|
|
4051
|
+
}
|
|
4052
|
+
export declare class CreateScheduledPaymentsDto extends BasicInstallmentDataDto {
|
|
4053
|
+
payments: ScheduledPaymentDto[];
|
|
4054
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
4055
|
+
payemntMethodId: string;
|
|
4056
|
+
}
|
|
4057
|
+
export declare class ScheduledPaymentDto {
|
|
4058
|
+
plannedDate: Date;
|
|
4059
|
+
price: number;
|
|
4060
|
+
}
|
|
4061
|
+
export declare class FutureInstallmentsIdsDto {
|
|
4062
|
+
paymentsIds: number[];
|
|
4063
|
+
}
|
|
4064
|
+
export declare class StationsDto {
|
|
4065
|
+
organizationId: number;
|
|
4066
|
+
facilityId: number;
|
|
4067
|
+
stationId: number;
|
|
4068
|
+
}
|
|
4069
|
+
export declare class PaymentIntentDto {
|
|
4070
|
+
amount: number;
|
|
4071
|
+
customer: string;
|
|
4072
|
+
currency: string;
|
|
4073
|
+
capture_method: string;
|
|
4074
|
+
payment_method_types: string[];
|
|
4075
|
+
organizationId: number;
|
|
4076
|
+
creatorId: number;
|
|
4077
|
+
}
|
|
4078
|
+
export declare class PaymentDataDto {
|
|
4079
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
4080
|
+
payemntMethodId: string;
|
|
4081
|
+
}
|
|
4082
|
+
export declare class SendReceiptDataDto {
|
|
4083
|
+
invoiceId: number;
|
|
4084
|
+
deliveryMethod: 'email' | 'sms';
|
|
4085
|
+
sendToAddress?: string;
|
|
4086
|
+
}
|
|
4087
|
+
export declare class PaymentPlanSchduleDto {
|
|
4088
|
+
date: Date;
|
|
4089
|
+
percent?: number;
|
|
4090
|
+
}
|
|
4091
|
+
export declare class PaymentPlanDto {
|
|
4092
|
+
months?: number;
|
|
4093
|
+
dayOfMonth?: number;
|
|
4094
|
+
schedule?: PaymentPlanSchduleDto[];
|
|
4095
|
+
}
|
|
4096
|
+
export declare class CalcPaymentPlanDto extends PaymentPlanDto {
|
|
4097
|
+
amountToSplit: number;
|
|
4098
|
+
}
|
|
4099
|
+
export declare class AddToOrderDto {
|
|
4100
|
+
orderId: number;
|
|
4101
|
+
userId: number;
|
|
4102
|
+
productsToAdd: PurchaseProductDto[];
|
|
4103
|
+
resourcesToRemove: PurchaseProductDto[];
|
|
4104
|
+
}
|
|
4105
|
+
export declare class CreateNoteDto {
|
|
4106
|
+
content: string;
|
|
4107
|
+
isPublic: boolean;
|
|
4108
|
+
}
|
|
4109
|
+
export declare class UpdateNoteContentDto extends CreateNoteDto {
|
|
4110
|
+
id: number;
|
|
4111
|
+
}
|
|
4112
|
+
export declare class NotePrivacyDto {
|
|
4113
|
+
filter: string;
|
|
4114
|
+
}
|
|
4115
|
+
export declare class RevertMetaDto {
|
|
4116
|
+
removedResources: RemoveResourceDto[];
|
|
4117
|
+
}
|
|
4118
|
+
export declare class RemoveResourceDto {
|
|
4119
|
+
resourceType: ResourceNameTypeEnum;
|
|
4120
|
+
resourceId: number;
|
|
4121
|
+
lineItemId: number;
|
|
4122
|
+
}
|
|
4123
|
+
export declare class SendRequestDto {
|
|
4124
|
+
orderId: number;
|
|
4125
|
+
userId: number;
|
|
4126
|
+
sendToEmail: string;
|
|
4127
|
+
memo?: string;
|
|
4128
|
+
}
|
|
4129
|
+
export declare class RefundDto {
|
|
4130
|
+
orderId: number;
|
|
4131
|
+
lineItems: RefundLineItemAmountDto[];
|
|
4132
|
+
refundLineItemAmountDict?: {
|
|
4133
|
+
[id: number]: number;
|
|
4134
|
+
};
|
|
4135
|
+
refunds: PaymentMethodDto[];
|
|
4136
|
+
refundType: RefundTypeEnum;
|
|
4137
|
+
reasonId: number;
|
|
4138
|
+
note?: string;
|
|
4139
|
+
shiftId?: number;
|
|
4140
|
+
meta?: RevertMetaDto;
|
|
4141
|
+
}
|
|
4142
|
+
export declare class PaymentMethodDto {
|
|
4143
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
4144
|
+
amount: number;
|
|
4145
|
+
paymentMethodId?: string;
|
|
4146
|
+
}
|
|
4147
|
+
export declare class RefundLineItemAmountDto {
|
|
4148
|
+
id: number;
|
|
4149
|
+
refundAmount: number;
|
|
4150
|
+
}
|
|
4151
|
+
export declare class VoidDto {
|
|
4152
|
+
lineItems: VoidLineItemDto[];
|
|
4153
|
+
meta?: RevertMetaDto;
|
|
4154
|
+
}
|
|
4155
|
+
export declare class VoidLineItemDto {
|
|
4156
|
+
id: number;
|
|
4157
|
+
quantity?: number;
|
|
4158
|
+
isEdit?: boolean;
|
|
4159
|
+
amount?: number;
|
|
4160
|
+
}
|
|
4161
|
+
export declare class CloseShiftDto {
|
|
4162
|
+
closingCashAmount: number;
|
|
4160
4163
|
}
|
|
4161
4164
|
export declare class FindShiftsByIdsDto {
|
|
4162
4165
|
shiftIds: number[];
|
|
@@ -4181,9 +4184,6 @@ export declare class FindShiftsFormattedFilters {
|
|
|
4181
4184
|
startDate?: Date;
|
|
4182
4185
|
endDate?: Date;
|
|
4183
4186
|
}
|
|
4184
|
-
export declare class CloseShiftDto {
|
|
4185
|
-
closingCashAmount: number;
|
|
4186
|
-
}
|
|
4187
4187
|
export declare class ShiftManagementClosingAmount {
|
|
4188
4188
|
shiftId: number;
|
|
4189
4189
|
managementClosingCashAmount: number;
|