@bondsports/types 0.0.40 → 0.0.41
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 +213 -212
- 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
|
@@ -20,6 +20,13 @@ export declare class UserAnswersDto {
|
|
|
20
20
|
export declare class GetByQuestionnaireIdsDto {
|
|
21
21
|
questionnaireIds: string;
|
|
22
22
|
}
|
|
23
|
+
export declare class FindBookingTypeSettingDto {
|
|
24
|
+
organizationId: number;
|
|
25
|
+
facilityId: number;
|
|
26
|
+
spaceId: number;
|
|
27
|
+
bookingDate: string;
|
|
28
|
+
bookingTime: string;
|
|
29
|
+
}
|
|
23
30
|
export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
|
|
24
31
|
membershipId: number;
|
|
25
32
|
}
|
|
@@ -78,13 +85,6 @@ export declare class AddEditCustomerDto {
|
|
|
78
85
|
emergencyContactName?: string;
|
|
79
86
|
emergencyContactPhone?: string;
|
|
80
87
|
}
|
|
81
|
-
export declare class FindBookingTypeSettingDto {
|
|
82
|
-
organizationId: number;
|
|
83
|
-
facilityId: number;
|
|
84
|
-
spaceId: number;
|
|
85
|
-
bookingDate: string;
|
|
86
|
-
bookingTime: string;
|
|
87
|
-
}
|
|
88
88
|
export declare class FindEventByIdDto {
|
|
89
89
|
eventId: number;
|
|
90
90
|
organizationId: number;
|
|
@@ -261,16 +261,6 @@ export declare class RemoveUserFromFamilyAccountDto {
|
|
|
261
261
|
userId: number;
|
|
262
262
|
familyAccountId: number;
|
|
263
263
|
}
|
|
264
|
-
export declare class FindGlCodeByOrganizationIdDto {
|
|
265
|
-
organizationId: number;
|
|
266
|
-
}
|
|
267
|
-
export declare class GetGlCodeDto {
|
|
268
|
-
id: number;
|
|
269
|
-
organizationId: number;
|
|
270
|
-
code: string;
|
|
271
|
-
createdAt: Date;
|
|
272
|
-
updatedAt: Date;
|
|
273
|
-
}
|
|
274
264
|
export declare class FindOneParams {
|
|
275
265
|
id: number;
|
|
276
266
|
}
|
|
@@ -283,6 +273,16 @@ export declare class PaginationRangeQuery {
|
|
|
283
273
|
endPage: number;
|
|
284
274
|
itemsPerPage: number;
|
|
285
275
|
}
|
|
276
|
+
export declare class FindGlCodeByOrganizationIdDto {
|
|
277
|
+
organizationId: number;
|
|
278
|
+
}
|
|
279
|
+
export declare class GetGlCodeDto {
|
|
280
|
+
id: number;
|
|
281
|
+
organizationId: number;
|
|
282
|
+
code: string;
|
|
283
|
+
createdAt: Date;
|
|
284
|
+
updatedAt: Date;
|
|
285
|
+
}
|
|
286
286
|
export declare class FindByProgramSeasonIdDto {
|
|
287
287
|
seasonId: number;
|
|
288
288
|
}
|
|
@@ -876,6 +876,50 @@ export declare class MoveParticipantDto {
|
|
|
876
876
|
resourceId: number;
|
|
877
877
|
orderId: number;
|
|
878
878
|
}
|
|
879
|
+
export declare class FindProgramsByOrganizationIdDto {
|
|
880
|
+
organizationId: number;
|
|
881
|
+
programType?: ProgramTypesEnum;
|
|
882
|
+
}
|
|
883
|
+
export declare class FindProgramByIdDto {
|
|
884
|
+
programId: number;
|
|
885
|
+
}
|
|
886
|
+
export declare class FindProgramByOrgIdAndIdDto {
|
|
887
|
+
programId: number;
|
|
888
|
+
organizationId: number;
|
|
889
|
+
}
|
|
890
|
+
export declare class BaseProgramDto {
|
|
891
|
+
type: ProgramTypesEnum;
|
|
892
|
+
name: string;
|
|
893
|
+
sport: SportsEnum;
|
|
894
|
+
minAge: string;
|
|
895
|
+
maxAge: string;
|
|
896
|
+
gender: GenderEnum;
|
|
897
|
+
level?: LevelOfPlayEnum[];
|
|
898
|
+
description?: string;
|
|
899
|
+
GL?: string;
|
|
900
|
+
status: PublishingStatusEnum;
|
|
901
|
+
organizationId: number;
|
|
902
|
+
userCreatorId: number;
|
|
903
|
+
highlights: ProgramHighlights[];
|
|
904
|
+
longDescription?: string;
|
|
905
|
+
requiredProductIds: number[];
|
|
906
|
+
}
|
|
907
|
+
export declare class CreateProgramDto extends BaseProgramDto {
|
|
908
|
+
}
|
|
909
|
+
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
910
|
+
programId: number;
|
|
911
|
+
mainMediaId: number;
|
|
912
|
+
}
|
|
913
|
+
export declare class UpdateProgramStatusDto {
|
|
914
|
+
programId: number;
|
|
915
|
+
status: PublishingStatusEnum;
|
|
916
|
+
}
|
|
917
|
+
export declare class ProgramHighlightDto {
|
|
918
|
+
data: string;
|
|
919
|
+
ordinal: number;
|
|
920
|
+
type: ProgramHighlightTypeEnum;
|
|
921
|
+
title: string;
|
|
922
|
+
}
|
|
879
923
|
export declare class PurchasePaymentDto {
|
|
880
924
|
token: string;
|
|
881
925
|
type: PaymentMethodTypeEnum;
|
|
@@ -946,54 +990,6 @@ export declare class PartialPaymentAsUserDto {
|
|
|
946
990
|
amountToPay: any;
|
|
947
991
|
paymentMethodData: any;
|
|
948
992
|
}
|
|
949
|
-
export declare class ResourceDto {
|
|
950
|
-
type: ResourceNameTypeEnum;
|
|
951
|
-
id: number;
|
|
952
|
-
}
|
|
953
|
-
export declare class FindProgramsByOrganizationIdDto {
|
|
954
|
-
organizationId: number;
|
|
955
|
-
programType?: ProgramTypesEnum;
|
|
956
|
-
}
|
|
957
|
-
export declare class FindProgramByIdDto {
|
|
958
|
-
programId: number;
|
|
959
|
-
}
|
|
960
|
-
export declare class FindProgramByOrgIdAndIdDto {
|
|
961
|
-
programId: number;
|
|
962
|
-
organizationId: number;
|
|
963
|
-
}
|
|
964
|
-
export declare class BaseProgramDto {
|
|
965
|
-
type: ProgramTypesEnum;
|
|
966
|
-
name: string;
|
|
967
|
-
sport: SportsEnum;
|
|
968
|
-
minAge: string;
|
|
969
|
-
maxAge: string;
|
|
970
|
-
gender: GenderEnum;
|
|
971
|
-
level?: LevelOfPlayEnum[];
|
|
972
|
-
description?: string;
|
|
973
|
-
GL?: string;
|
|
974
|
-
status: PublishingStatusEnum;
|
|
975
|
-
organizationId: number;
|
|
976
|
-
userCreatorId: number;
|
|
977
|
-
highlights: ProgramHighlights[];
|
|
978
|
-
longDescription?: string;
|
|
979
|
-
requiredProductIds: number[];
|
|
980
|
-
}
|
|
981
|
-
export declare class CreateProgramDto extends BaseProgramDto {
|
|
982
|
-
}
|
|
983
|
-
export declare class UpdateProgramDto extends BaseProgramDto {
|
|
984
|
-
programId: number;
|
|
985
|
-
mainMediaId: number;
|
|
986
|
-
}
|
|
987
|
-
export declare class UpdateProgramStatusDto {
|
|
988
|
-
programId: number;
|
|
989
|
-
status: PublishingStatusEnum;
|
|
990
|
-
}
|
|
991
|
-
export declare class ProgramHighlightDto {
|
|
992
|
-
data: string;
|
|
993
|
-
ordinal: number;
|
|
994
|
-
type: ProgramHighlightTypeEnum;
|
|
995
|
-
title: string;
|
|
996
|
-
}
|
|
997
993
|
export declare class CreateResourceGroupDto {
|
|
998
994
|
name: string;
|
|
999
995
|
parentSlotId: number;
|
|
@@ -1002,6 +998,10 @@ export declare class CreateResourceGroupDto {
|
|
|
1002
998
|
}
|
|
1003
999
|
export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
|
|
1004
1000
|
}
|
|
1001
|
+
export declare class ResourceDto {
|
|
1002
|
+
type: ResourceNameTypeEnum;
|
|
1003
|
+
id: number;
|
|
1004
|
+
}
|
|
1005
1005
|
export declare class SpaceByIdDto {
|
|
1006
1006
|
spaceId: number;
|
|
1007
1007
|
}
|
|
@@ -1260,12 +1260,6 @@ export declare class Division extends BondBaseEntity {
|
|
|
1260
1260
|
isDefault: boolean;
|
|
1261
1261
|
groups: Group[];
|
|
1262
1262
|
}
|
|
1263
|
-
export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
1264
|
-
customerId: number;
|
|
1265
|
-
name: string | null;
|
|
1266
|
-
phoneNumber: string | null;
|
|
1267
|
-
customer: Customer;
|
|
1268
|
-
}
|
|
1269
1263
|
export declare class EntitlementGroup extends OrganizationConnectionBaseEntity {
|
|
1270
1264
|
name: string | null;
|
|
1271
1265
|
}
|
|
@@ -1288,6 +1282,12 @@ export declare class EventAttendee extends BondBaseEntity {
|
|
|
1288
1282
|
event: Event;
|
|
1289
1283
|
purchasedResource: PurchasedResource;
|
|
1290
1284
|
}
|
|
1285
|
+
export declare class EmergencyContact extends OrganizationConnectionBaseEntity {
|
|
1286
|
+
customerId: number;
|
|
1287
|
+
name: string | null;
|
|
1288
|
+
phoneNumber: string | null;
|
|
1289
|
+
customer: Customer;
|
|
1290
|
+
}
|
|
1291
1291
|
export declare class Event extends OrganizationConnectionBaseEntity {
|
|
1292
1292
|
constructor();
|
|
1293
1293
|
defineCalculatedDateTimeProps(): void;
|
|
@@ -1449,25 +1449,26 @@ export declare class Invoice extends OrganizationConnectionBaseEntity {
|
|
|
1449
1449
|
refundReasonId?: number;
|
|
1450
1450
|
refundNote?: string;
|
|
1451
1451
|
}
|
|
1452
|
-
export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
1453
|
-
content: string;
|
|
1454
|
-
creatingUserId: number;
|
|
1455
|
-
user: User;
|
|
1456
|
-
isPublic: boolean;
|
|
1457
|
-
deletedAt: Date;
|
|
1458
|
-
invoiceId: number;
|
|
1459
|
-
invoice: Invoice;
|
|
1460
|
-
}
|
|
1461
1452
|
export declare class InvoiceMails extends OrganizationConnectionBaseEntity {
|
|
1462
1453
|
email: string;
|
|
1463
1454
|
status: EEmailStatus;
|
|
1464
1455
|
templateId: string;
|
|
1465
1456
|
userId: number;
|
|
1466
1457
|
invoiceId: number;
|
|
1458
|
+
paymentId: number;
|
|
1467
1459
|
sendingUserId: number;
|
|
1468
1460
|
mailParams?: any;
|
|
1469
1461
|
memo?: string;
|
|
1470
1462
|
}
|
|
1463
|
+
export declare class InvoiceNote extends OrganizationConnectionBaseEntity {
|
|
1464
|
+
content: string;
|
|
1465
|
+
creatingUserId: number;
|
|
1466
|
+
user: User;
|
|
1467
|
+
isPublic: boolean;
|
|
1468
|
+
deletedAt: Date;
|
|
1469
|
+
invoiceId: number;
|
|
1470
|
+
invoice: Invoice;
|
|
1471
|
+
}
|
|
1471
1472
|
export declare class League extends OrganizationConnectionBaseEntity {
|
|
1472
1473
|
name: string | null;
|
|
1473
1474
|
description: string | null;
|
|
@@ -1703,15 +1704,6 @@ export declare class OpeningTime extends OrganizationConnectionBaseEntity {
|
|
|
1703
1704
|
deletedAt?: Date;
|
|
1704
1705
|
facility: Facility;
|
|
1705
1706
|
}
|
|
1706
|
-
export declare class OrderNote extends OrganizationConnectionBaseEntity {
|
|
1707
|
-
content: string;
|
|
1708
|
-
creatingUserId: number;
|
|
1709
|
-
user: User;
|
|
1710
|
-
isPublic: boolean;
|
|
1711
|
-
deletedAt: Date;
|
|
1712
|
-
orderId: number;
|
|
1713
|
-
order: Order;
|
|
1714
|
-
}
|
|
1715
1707
|
export declare class Order extends BondBaseEntity {
|
|
1716
1708
|
orderId: string | null;
|
|
1717
1709
|
price: number | null;
|
|
@@ -1736,6 +1728,15 @@ export declare class Order extends BondBaseEntity {
|
|
|
1736
1728
|
orderNotes: OrderNote[];
|
|
1737
1729
|
slots: Slot[];
|
|
1738
1730
|
}
|
|
1731
|
+
export declare class OrderNote extends OrganizationConnectionBaseEntity {
|
|
1732
|
+
content: string;
|
|
1733
|
+
creatingUserId: number;
|
|
1734
|
+
user: User;
|
|
1735
|
+
isPublic: boolean;
|
|
1736
|
+
deletedAt: Date;
|
|
1737
|
+
orderId: number;
|
|
1738
|
+
order: Order;
|
|
1739
|
+
}
|
|
1739
1740
|
export declare class OrderToInvoice extends BondBaseEntity {
|
|
1740
1741
|
orderId: number;
|
|
1741
1742
|
invoiceId: number;
|
|
@@ -1903,6 +1904,13 @@ export declare class ProductToVariant extends OrganizationConnectionBaseEntity {
|
|
|
1903
1904
|
productId: number;
|
|
1904
1905
|
variantId: number;
|
|
1905
1906
|
}
|
|
1907
|
+
export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
|
|
1908
|
+
productId: number;
|
|
1909
|
+
customerId: number;
|
|
1910
|
+
customer: Customer;
|
|
1911
|
+
deletedAt?: Date;
|
|
1912
|
+
product: Product;
|
|
1913
|
+
}
|
|
1906
1914
|
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
1907
1915
|
productId: number;
|
|
1908
1916
|
userId: number;
|
|
@@ -1920,13 +1928,6 @@ export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
|
1920
1928
|
slots?: Slot[];
|
|
1921
1929
|
addons?: Addon[];
|
|
1922
1930
|
}
|
|
1923
|
-
export declare class ProductsReservedForCustomers extends OrganizationConnectionBaseEntity {
|
|
1924
|
-
productId: number;
|
|
1925
|
-
customerId: number;
|
|
1926
|
-
customer: Customer;
|
|
1927
|
-
deletedAt?: Date;
|
|
1928
|
-
product: Product;
|
|
1929
|
-
}
|
|
1930
1931
|
export declare class Program extends BondBaseEntity {
|
|
1931
1932
|
type: ProgramTypesEnum;
|
|
1932
1933
|
name: string;
|
|
@@ -2315,6 +2316,19 @@ export declare class UserAuthorizations extends BondBaseEntity {
|
|
|
2315
2316
|
entityType: UserAuthorizationsTypeEnum;
|
|
2316
2317
|
user: User;
|
|
2317
2318
|
}
|
|
2319
|
+
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
2320
|
+
familyAccountId: number;
|
|
2321
|
+
userId: number;
|
|
2322
|
+
isAdmin: boolean;
|
|
2323
|
+
user: User;
|
|
2324
|
+
familyAccount: FamilyAccount;
|
|
2325
|
+
deletedAt?: Date;
|
|
2326
|
+
}
|
|
2327
|
+
export declare class UsersInGroup extends BondBaseEntity {
|
|
2328
|
+
groupId: number;
|
|
2329
|
+
userId: number;
|
|
2330
|
+
deletedAt?: Date;
|
|
2331
|
+
}
|
|
2318
2332
|
export declare class VariantTitle extends OrganizationConnectionBaseEntity {
|
|
2319
2333
|
name: string;
|
|
2320
2334
|
variants: Variant[];
|
|
@@ -2333,11 +2347,6 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
|
|
|
2333
2347
|
membershipCollectionId?: string;
|
|
2334
2348
|
programsCollectionId?: string;
|
|
2335
2349
|
}
|
|
2336
|
-
export declare class UsersInGroup extends BondBaseEntity {
|
|
2337
|
-
groupId: number;
|
|
2338
|
-
userId: number;
|
|
2339
|
-
deletedAt?: Date;
|
|
2340
|
-
}
|
|
2341
2350
|
export declare enum EntitlementTermsTypesEnum {
|
|
2342
2351
|
QUESTION = "question",
|
|
2343
2352
|
CITY = "city",
|
|
@@ -3222,14 +3231,6 @@ export interface IReservationCreatorData {
|
|
|
3222
3231
|
endDate: string;
|
|
3223
3232
|
sportId: number;
|
|
3224
3233
|
}
|
|
3225
|
-
export declare class UserInFamilyAccount extends BondBaseEntity {
|
|
3226
|
-
familyAccountId: number;
|
|
3227
|
-
userId: number;
|
|
3228
|
-
isAdmin: boolean;
|
|
3229
|
-
user: User;
|
|
3230
|
-
familyAccount: FamilyAccount;
|
|
3231
|
-
deletedAt?: Date;
|
|
3232
|
-
}
|
|
3233
3234
|
export declare class ColumnNumericTransformer {
|
|
3234
3235
|
to(data: number): number;
|
|
3235
3236
|
from(data: string): number;
|
|
@@ -3402,106 +3403,6 @@ export declare class MonitorConfig extends OrganizationConnectionBaseEntity {
|
|
|
3402
3403
|
code: string;
|
|
3403
3404
|
config?: any;
|
|
3404
3405
|
}
|
|
3405
|
-
export declare class ByOrganizationIdDto {
|
|
3406
|
-
organizationId: number;
|
|
3407
|
-
}
|
|
3408
|
-
export declare class OptionalFindByOrganizationIdDto {
|
|
3409
|
-
organizationId?: number;
|
|
3410
|
-
}
|
|
3411
|
-
export declare class Organization extends BondBaseEntity {
|
|
3412
|
-
name: string | null;
|
|
3413
|
-
email: string | null;
|
|
3414
|
-
twitter: string | null;
|
|
3415
|
-
facebook: string | null;
|
|
3416
|
-
instagram: string | null;
|
|
3417
|
-
website: string | null;
|
|
3418
|
-
blog: string | null;
|
|
3419
|
-
phoneNumber: string | null;
|
|
3420
|
-
waiverDoc: string | null;
|
|
3421
|
-
about: string | null;
|
|
3422
|
-
tagline: string | null;
|
|
3423
|
-
status: number | null;
|
|
3424
|
-
addressId: number | null;
|
|
3425
|
-
merchantId: number | null;
|
|
3426
|
-
userCreatorId: number | null;
|
|
3427
|
-
parentId: number | null;
|
|
3428
|
-
paymentSettings: object | null;
|
|
3429
|
-
settings: object | null;
|
|
3430
|
-
isClaimed: boolean | null;
|
|
3431
|
-
sports: number[] | null;
|
|
3432
|
-
mainMediaId: number | null;
|
|
3433
|
-
deletedAt: Date | null;
|
|
3434
|
-
organizationActivityTypes: number[] | null;
|
|
3435
|
-
organizationTypes: number[] | null;
|
|
3436
|
-
organizationAudienceTypes: number[] | null;
|
|
3437
|
-
organizationGenders: number[] | null;
|
|
3438
|
-
questionnaireId: number | null;
|
|
3439
|
-
membershipQuestionnaireId: number | null;
|
|
3440
|
-
feeRate: number;
|
|
3441
|
-
feeAddDollarRate: number;
|
|
3442
|
-
achFeeRate: number;
|
|
3443
|
-
achFeeAddDollarRate: number;
|
|
3444
|
-
maxAchFee: number;
|
|
3445
|
-
cashFeeRate: number;
|
|
3446
|
-
cashFeeAddDollarRate: number;
|
|
3447
|
-
terminalFeeRate: number;
|
|
3448
|
-
terminalFeeAddDollarRate: number;
|
|
3449
|
-
checkFeeRate: number;
|
|
3450
|
-
checkFeeAddDollarRate: number;
|
|
3451
|
-
otherFeeRate: number;
|
|
3452
|
-
otherFeeAddDollarRate: number;
|
|
3453
|
-
balanceFeeRate: number;
|
|
3454
|
-
balanceFeeAddDollarRate: number;
|
|
3455
|
-
address: Address;
|
|
3456
|
-
mainMedia: Media;
|
|
3457
|
-
brandings: OrganizationBranding[];
|
|
3458
|
-
brandingsV2?: OrganizationBranding[];
|
|
3459
|
-
}
|
|
3460
|
-
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3461
|
-
key?: string;
|
|
3462
|
-
vaule?: string;
|
|
3463
|
-
version: number;
|
|
3464
|
-
organization: Organization;
|
|
3465
|
-
}
|
|
3466
|
-
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3467
|
-
mainAdminUserId?: number;
|
|
3468
|
-
}
|
|
3469
|
-
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3470
|
-
organisationId: number | null;
|
|
3471
|
-
userId: number | null;
|
|
3472
|
-
}
|
|
3473
|
-
export declare class RefundDto {
|
|
3474
|
-
orderId: number;
|
|
3475
|
-
lineItems: RefundLineItemAmountDto[];
|
|
3476
|
-
refundLineItemAmountDict?: {
|
|
3477
|
-
[id: number]: number;
|
|
3478
|
-
};
|
|
3479
|
-
refunds: PaymentMethodDto[];
|
|
3480
|
-
refundType: RefundTypeEnum;
|
|
3481
|
-
reasonId: number;
|
|
3482
|
-
note?: string;
|
|
3483
|
-
shiftId?: number;
|
|
3484
|
-
meta?: RevertMetaDto;
|
|
3485
|
-
}
|
|
3486
|
-
export declare class PaymentMethodDto {
|
|
3487
|
-
paymentMethodType: PaymentMethodTypeEnum;
|
|
3488
|
-
amount: number;
|
|
3489
|
-
paymentMethodId?: string;
|
|
3490
|
-
}
|
|
3491
|
-
export declare class RefundLineItemAmountDto {
|
|
3492
|
-
id: number;
|
|
3493
|
-
refundAmount: number;
|
|
3494
|
-
}
|
|
3495
|
-
export declare class VoidDto {
|
|
3496
|
-
lineItems: VoidLineItemDto[];
|
|
3497
|
-
meta?: RevertMetaDto;
|
|
3498
|
-
}
|
|
3499
|
-
export declare class VoidLineItemDto {
|
|
3500
|
-
id: number;
|
|
3501
|
-
quantity?: number;
|
|
3502
|
-
isEdit?: boolean;
|
|
3503
|
-
amount?: number;
|
|
3504
|
-
}
|
|
3505
3406
|
export declare class CustomerIdDto {
|
|
3506
3407
|
customerId: number;
|
|
3507
3408
|
}
|
|
@@ -3619,6 +3520,106 @@ export declare class SendRequestDto {
|
|
|
3619
3520
|
sendToEmail: string;
|
|
3620
3521
|
memo?: string;
|
|
3621
3522
|
}
|
|
3523
|
+
export declare class RefundDto {
|
|
3524
|
+
orderId: number;
|
|
3525
|
+
lineItems: RefundLineItemAmountDto[];
|
|
3526
|
+
refundLineItemAmountDict?: {
|
|
3527
|
+
[id: number]: number;
|
|
3528
|
+
};
|
|
3529
|
+
refunds: PaymentMethodDto[];
|
|
3530
|
+
refundType: RefundTypeEnum;
|
|
3531
|
+
reasonId: number;
|
|
3532
|
+
note?: string;
|
|
3533
|
+
shiftId?: number;
|
|
3534
|
+
meta?: RevertMetaDto;
|
|
3535
|
+
}
|
|
3536
|
+
export declare class PaymentMethodDto {
|
|
3537
|
+
paymentMethodType: PaymentMethodTypeEnum;
|
|
3538
|
+
amount: number;
|
|
3539
|
+
paymentMethodId?: string;
|
|
3540
|
+
}
|
|
3541
|
+
export declare class RefundLineItemAmountDto {
|
|
3542
|
+
id: number;
|
|
3543
|
+
refundAmount: number;
|
|
3544
|
+
}
|
|
3545
|
+
export declare class VoidDto {
|
|
3546
|
+
lineItems: VoidLineItemDto[];
|
|
3547
|
+
meta?: RevertMetaDto;
|
|
3548
|
+
}
|
|
3549
|
+
export declare class VoidLineItemDto {
|
|
3550
|
+
id: number;
|
|
3551
|
+
quantity?: number;
|
|
3552
|
+
isEdit?: boolean;
|
|
3553
|
+
amount?: number;
|
|
3554
|
+
}
|
|
3555
|
+
export declare class ByOrganizationIdDto {
|
|
3556
|
+
organizationId: number;
|
|
3557
|
+
}
|
|
3558
|
+
export declare class OptionalFindByOrganizationIdDto {
|
|
3559
|
+
organizationId?: number;
|
|
3560
|
+
}
|
|
3561
|
+
export declare class Organization extends BondBaseEntity {
|
|
3562
|
+
name: string | null;
|
|
3563
|
+
email: string | null;
|
|
3564
|
+
twitter: string | null;
|
|
3565
|
+
facebook: string | null;
|
|
3566
|
+
instagram: string | null;
|
|
3567
|
+
website: string | null;
|
|
3568
|
+
blog: string | null;
|
|
3569
|
+
phoneNumber: string | null;
|
|
3570
|
+
waiverDoc: string | null;
|
|
3571
|
+
about: string | null;
|
|
3572
|
+
tagline: string | null;
|
|
3573
|
+
status: number | null;
|
|
3574
|
+
addressId: number | null;
|
|
3575
|
+
merchantId: number | null;
|
|
3576
|
+
userCreatorId: number | null;
|
|
3577
|
+
parentId: number | null;
|
|
3578
|
+
paymentSettings: object | null;
|
|
3579
|
+
settings: object | null;
|
|
3580
|
+
isClaimed: boolean | null;
|
|
3581
|
+
sports: number[] | null;
|
|
3582
|
+
mainMediaId: number | null;
|
|
3583
|
+
deletedAt: Date | null;
|
|
3584
|
+
organizationActivityTypes: number[] | null;
|
|
3585
|
+
organizationTypes: number[] | null;
|
|
3586
|
+
organizationAudienceTypes: number[] | null;
|
|
3587
|
+
organizationGenders: number[] | null;
|
|
3588
|
+
questionnaireId: number | null;
|
|
3589
|
+
membershipQuestionnaireId: number | null;
|
|
3590
|
+
feeRate: number;
|
|
3591
|
+
feeAddDollarRate: number;
|
|
3592
|
+
achFeeRate: number;
|
|
3593
|
+
achFeeAddDollarRate: number;
|
|
3594
|
+
maxAchFee: number;
|
|
3595
|
+
cashFeeRate: number;
|
|
3596
|
+
cashFeeAddDollarRate: number;
|
|
3597
|
+
terminalFeeRate: number;
|
|
3598
|
+
terminalFeeAddDollarRate: number;
|
|
3599
|
+
checkFeeRate: number;
|
|
3600
|
+
checkFeeAddDollarRate: number;
|
|
3601
|
+
otherFeeRate: number;
|
|
3602
|
+
otherFeeAddDollarRate: number;
|
|
3603
|
+
balanceFeeRate: number;
|
|
3604
|
+
balanceFeeAddDollarRate: number;
|
|
3605
|
+
address: Address;
|
|
3606
|
+
mainMedia: Media;
|
|
3607
|
+
brandings: OrganizationBranding[];
|
|
3608
|
+
brandingsV2?: OrganizationBranding[];
|
|
3609
|
+
}
|
|
3610
|
+
export declare class OrganizationBranding extends OrganizationConnectionBaseEntity {
|
|
3611
|
+
key?: string;
|
|
3612
|
+
vaule?: string;
|
|
3613
|
+
version: number;
|
|
3614
|
+
organization: Organization;
|
|
3615
|
+
}
|
|
3616
|
+
export declare class OrganizationSettings extends OrganizationConnectionBaseEntity {
|
|
3617
|
+
mainAdminUserId?: number;
|
|
3618
|
+
}
|
|
3619
|
+
export declare class OrganizationUsers extends BondBaseEntity {
|
|
3620
|
+
organisationId: number | null;
|
|
3621
|
+
userId: number | null;
|
|
3622
|
+
}
|
|
3622
3623
|
export declare class LineItemDto {
|
|
3623
3624
|
id?: number;
|
|
3624
3625
|
orderId?: number;
|
|
@@ -4155,6 +4156,9 @@ export declare class UserRole extends OrganizationConnectionBaseEntity {
|
|
|
4155
4156
|
role: Role;
|
|
4156
4157
|
user: User;
|
|
4157
4158
|
}
|
|
4159
|
+
export declare class CloseShiftDto {
|
|
4160
|
+
closingCashAmount: number;
|
|
4161
|
+
}
|
|
4158
4162
|
export declare class FindShiftsByIdsDto {
|
|
4159
4163
|
shiftIds: number[];
|
|
4160
4164
|
}
|
|
@@ -4189,9 +4193,6 @@ export declare class OpenShiftDto {
|
|
|
4189
4193
|
openingCashAmount: number;
|
|
4190
4194
|
stationId: number;
|
|
4191
4195
|
}
|
|
4192
|
-
export declare class CloseShiftDto {
|
|
4193
|
-
closingCashAmount: number;
|
|
4194
|
-
}
|
|
4195
4196
|
export declare class Shift extends OrganizationConnectionBaseEntity {
|
|
4196
4197
|
stationId: number;
|
|
4197
4198
|
station?: Station;
|