@bondsports/types 0.0.60 → 0.0.61

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 CHANGED
@@ -20,13 +20,6 @@ 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
- }
30
23
  export declare class FindByMembershipIdDto extends ByOrganizationIdDto {
31
24
  membershipId: number;
32
25
  }
@@ -85,106 +78,12 @@ export declare class AddEditCustomerDto {
85
78
  emergencyContactName?: string;
86
79
  emergencyContactPhone?: string;
87
80
  }
88
- export declare class FindEventByIdDto {
89
- eventId: number;
81
+ export declare class FindBookingTypeSettingDto {
90
82
  organizationId: number;
91
- }
92
- export declare class UpdateEventDto {
93
- name: string;
94
- startDate: string;
95
- endDate: string;
96
- startTime: string;
97
- endTime: string;
98
- spacesIds?: number[];
99
- publicNotes?: string;
100
- privateNotes?: string;
101
- isInformAttendees?: boolean;
102
- minutesBeforeSlot?: number;
103
- minutesAfterSlot?: number;
104
- }
105
- export declare class AddEventToSessionDto {
106
- eventsData: UpdateEventDto[];
107
- }
108
- export declare class EventsIdsQueryDto {
109
- eventsIds: string;
110
- }
111
- export declare class UpdateMultipleEventsDto {
112
- eventsIds: number[];
113
- name?: string;
114
- startTime?: string;
115
- endTime?: string;
116
- spacesIds?: number[];
117
- publicNotes?: string;
118
- privateNotes?: string;
119
- isInformAttendees?: boolean;
120
- minutesBeforeSlot?: number;
121
- minutesAfterSlot?: number;
122
- }
123
- export declare class FindByFacilityIdDto {
124
83
  facilityId: number;
125
- }
126
- export declare class FindByFacilityIdAndOrganizationIdDto extends FindByFacilityIdDto {
127
- organizationId: number;
128
- }
129
- export declare class FacilityEventsScheduleQueryParams {
130
- programsIds?: string;
131
- startDate?: string;
132
- endDate?: string;
133
- }
134
- export declare class ProgramLandingPageDto {
135
- programId: number;
136
- }
137
- export declare class ProgramLandingPageQueryDto {
138
- futureLimit?: number;
139
- }
140
- export declare class ProgramSessionLandingPageDto {
141
- programId: number;
142
- sessionId: number;
143
- }
144
- export interface IEventOfSessionDetails {
145
- id: number;
146
- name: string;
147
- programId: number;
148
- programType: ProgramTypesEnum;
149
- sessionId: number;
150
- sessionName: string;
151
- isPublic: boolean;
152
- startDate: Date;
153
- endDate: Date;
154
- startTime: string;
155
- endTime: string;
156
- resources: IBasicSpaceAndSlotCreator[];
157
- attenedanceCount: number;
158
- checkedInCount: number;
159
- missingPaymentCount: number;
160
- publicNotes: string;
161
- privateNotes: string;
162
- }
163
- export interface IAttendeeOfEvent {
164
- eventId: number;
165
- userId: number;
166
- lastName: string;
167
- firstName: string;
168
- birthDate: string;
169
- mediaURL: string;
170
- signedWaiver: string;
171
- entryStatus: EntryStatusEnum;
172
- paymentStatus: PaymentStatusEnum;
173
- addOns: {
174
- productId: number;
175
- productName: string;
176
- }[];
177
- totalPasses?: number;
178
- leftPasses?: number;
179
- addonProductUserIds: number[];
180
- }
181
- export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
182
- nameSearch?: string;
183
- isCheckedIn?: string;
184
- isNotCheckedIn?: string;
185
- hasAddons?: string;
186
- isWaiverSigned?: string;
187
- statuses?: string;
84
+ spaceId: number;
85
+ bookingDate: string;
86
+ bookingTime: string;
188
87
  }
189
88
  export declare class AddressDto {
190
89
  city: string;
@@ -454,6 +353,107 @@ export declare class CreateGroupPricingWithProduct {
454
353
  discountValue?: number;
455
354
  discountMethod?: DiscountMethodsEnum;
456
355
  }
356
+ export declare class FindEventByIdDto {
357
+ eventId: number;
358
+ organizationId: number;
359
+ }
360
+ export declare class UpdateEventDto {
361
+ name: string;
362
+ startDate: string;
363
+ endDate: string;
364
+ startTime: string;
365
+ endTime: string;
366
+ spacesIds?: number[];
367
+ publicNotes?: string;
368
+ privateNotes?: string;
369
+ isInformAttendees?: boolean;
370
+ minutesBeforeSlot?: number;
371
+ minutesAfterSlot?: number;
372
+ }
373
+ export declare class AddEventToSessionDto {
374
+ eventsData: UpdateEventDto[];
375
+ }
376
+ export declare class EventsIdsQueryDto {
377
+ eventsIds: string;
378
+ }
379
+ export declare class UpdateMultipleEventsDto {
380
+ eventsIds: number[];
381
+ name?: string;
382
+ startTime?: string;
383
+ endTime?: string;
384
+ spacesIds?: number[];
385
+ publicNotes?: string;
386
+ privateNotes?: string;
387
+ isInformAttendees?: boolean;
388
+ minutesBeforeSlot?: number;
389
+ minutesAfterSlot?: number;
390
+ }
391
+ export declare class FindByFacilityIdDto {
392
+ facilityId: number;
393
+ }
394
+ export declare class FindByFacilityIdAndOrganizationIdDto extends FindByFacilityIdDto {
395
+ organizationId: number;
396
+ }
397
+ export declare class FacilityEventsScheduleQueryParams {
398
+ programsIds?: string;
399
+ startDate?: string;
400
+ endDate?: string;
401
+ }
402
+ export declare class ProgramLandingPageDto {
403
+ programId: number;
404
+ }
405
+ export declare class ProgramLandingPageQueryDto {
406
+ futureLimit?: number;
407
+ }
408
+ export declare class ProgramSessionLandingPageDto {
409
+ programId: number;
410
+ sessionId: number;
411
+ }
412
+ export interface IEventOfSessionDetails {
413
+ id: number;
414
+ name: string;
415
+ programId: number;
416
+ programType: ProgramTypesEnum;
417
+ sessionId: number;
418
+ sessionName: string;
419
+ isPublic: boolean;
420
+ startDate: Date;
421
+ endDate: Date;
422
+ startTime: string;
423
+ endTime: string;
424
+ resources: IBasicSpaceAndSlotCreator[];
425
+ attenedanceCount: number;
426
+ checkedInCount: number;
427
+ missingPaymentCount: number;
428
+ publicNotes: string;
429
+ privateNotes: string;
430
+ }
431
+ export interface IAttendeeOfEvent {
432
+ eventId: number;
433
+ userId: number;
434
+ lastName: string;
435
+ firstName: string;
436
+ birthDate: string;
437
+ mediaURL: string;
438
+ signedWaiver: string;
439
+ entryStatus: EntryStatusEnum;
440
+ paymentStatus: PaymentStatusEnum;
441
+ addOns: {
442
+ productId: number;
443
+ productName: string;
444
+ }[];
445
+ totalPasses?: number;
446
+ leftPasses?: number;
447
+ addonProductUserIds: number[];
448
+ }
449
+ export declare class FindEventAttendeeOptionsDto extends PaginationRangeQuery {
450
+ nameSearch?: string;
451
+ isCheckedIn?: string;
452
+ isNotCheckedIn?: string;
453
+ hasAddons?: string;
454
+ isWaiverSigned?: string;
455
+ statuses?: string;
456
+ }
457
457
  export declare class FindByProductIdDto {
458
458
  productId: number;
459
459
  }
@@ -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;
@@ -954,50 +998,6 @@ export declare class CreateResourceGroupDto {
954
998
  }
955
999
  export declare class UpdateResourceGroupDto extends CreateResourceGroupDto {
956
1000
  }
957
- export declare class FindProgramsByOrganizationIdDto {
958
- organizationId: number;
959
- programType?: ProgramTypesEnum;
960
- }
961
- export declare class FindProgramByIdDto {
962
- programId: number;
963
- }
964
- export declare class FindProgramByOrgIdAndIdDto {
965
- programId: number;
966
- organizationId: number;
967
- }
968
- export declare class BaseProgramDto {
969
- type: ProgramTypesEnum;
970
- name: string;
971
- sport: SportsEnum;
972
- minAge: string;
973
- maxAge: string;
974
- gender: GenderEnum;
975
- level?: LevelOfPlayEnum[];
976
- description?: string;
977
- GL?: string;
978
- status: PublishingStatusEnum;
979
- organizationId: number;
980
- userCreatorId: number;
981
- highlights: ProgramHighlights[];
982
- longDescription?: string;
983
- requiredProductIds: number[];
984
- }
985
- export declare class CreateProgramDto extends BaseProgramDto {
986
- }
987
- export declare class UpdateProgramDto extends BaseProgramDto {
988
- programId: number;
989
- mainMediaId: number;
990
- }
991
- export declare class UpdateProgramStatusDto {
992
- programId: number;
993
- status: PublishingStatusEnum;
994
- }
995
- export declare class ProgramHighlightDto {
996
- data: string;
997
- ordinal: number;
998
- type: ProgramHighlightTypeEnum;
999
- title: string;
1000
- }
1001
1001
  export declare class ResourceDto {
1002
1002
  type: ResourceNameTypeEnum;
1003
1003
  id: number;
@@ -1111,19 +1111,6 @@ export declare class Address extends BondBaseEntity {
1111
1111
  geo: any;
1112
1112
  deletedAt?: Date;
1113
1113
  }
1114
- export declare class Answer extends OrganizationConnectionBaseEntity {
1115
- questionId: number;
1116
- question?: Questions;
1117
- parentId: number;
1118
- parentType: ResourceNameTypeEnum;
1119
- answerValue: any;
1120
- creatorId: number;
1121
- creatorType: ResourceNameTypeEnum;
1122
- answerTitleId: number;
1123
- answerTitle: AnswerTitle;
1124
- metaData: any | null;
1125
- questionText: string | null;
1126
- }
1127
1114
  export declare class AnswerTitle extends OrganizationConnectionBaseEntity {
1128
1115
  questionnaireId: number;
1129
1116
  userId?: number;
@@ -1140,6 +1127,19 @@ export declare class AthleteSports extends BondBaseEntity {
1140
1127
  sports: number | null;
1141
1128
  levelOfPlay: LevelOfPlayEnum | null;
1142
1129
  }
1130
+ export declare class Answer extends OrganizationConnectionBaseEntity {
1131
+ questionId: number;
1132
+ question?: Questions;
1133
+ parentId: number;
1134
+ parentType: ResourceNameTypeEnum;
1135
+ answerValue: any;
1136
+ creatorId: number;
1137
+ creatorType: ResourceNameTypeEnum;
1138
+ answerTitleId: number;
1139
+ answerTitle: AnswerTitle;
1140
+ metaData: any | null;
1141
+ questionText: string | null;
1142
+ }
1143
1143
  export declare class BlockedDate extends BondBaseEntity {
1144
1144
  entityType: ResourceNameTypeEnum;
1145
1145
  entityId: number;
@@ -2012,6 +2012,24 @@ export declare class ProgramSeason extends BondBaseEntity {
2012
2012
  facility: Facility;
2013
2013
  purchasedResources: PurchasedResource[];
2014
2014
  }
2015
+ export declare class Questionnaires extends OrganizationConnectionBaseEntity {
2016
+ title: string | null;
2017
+ answerTitle: AnswerTitle;
2018
+ }
2019
+ export declare class Questions extends BondBaseEntity {
2020
+ questionType: string | null;
2021
+ ordinal: number | null;
2022
+ pageOrdinal: number | null;
2023
+ isActive: boolean | null;
2024
+ isMandatory: boolean | null;
2025
+ metaData: any | null;
2026
+ question: string | null;
2027
+ creatorId: number | null;
2028
+ creatorType: string | null;
2029
+ userCreatorId: number | null;
2030
+ ownerId: number | null;
2031
+ questionnaireId: number | null;
2032
+ }
2015
2033
  export declare class PurchasedResource extends OrganizationConnectionBaseEntity {
2016
2034
  productUserId: number;
2017
2035
  resourceId: number;
@@ -2034,24 +2052,6 @@ export declare class PurchasedResource extends OrganizationConnectionBaseEntity
2034
2052
  product?: Product;
2035
2053
  event?: Event;
2036
2054
  }
2037
- export declare class Questionnaires extends OrganizationConnectionBaseEntity {
2038
- title: string | null;
2039
- answerTitle: AnswerTitle;
2040
- }
2041
- export declare class Questions extends BondBaseEntity {
2042
- questionType: string | null;
2043
- ordinal: number | null;
2044
- pageOrdinal: number | null;
2045
- isActive: boolean | null;
2046
- isMandatory: boolean | null;
2047
- metaData: any | null;
2048
- question: string | null;
2049
- creatorId: number | null;
2050
- creatorType: string | null;
2051
- userCreatorId: number | null;
2052
- ownerId: number | null;
2053
- questionnaireId: number | null;
2054
- }
2055
2055
  export declare class RefundReason extends OrganizationConnectionBaseEntity {
2056
2056
  reason: string;
2057
2057
  ordinal: number;
@@ -2100,6 +2100,13 @@ export declare class Reservations extends OrganizationConnectionBaseEntity {
2100
2100
  publicNotes?: string;
2101
2101
  slots?: Slot[];
2102
2102
  }
2103
+ export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
2104
+ name: string;
2105
+ facilityId: number;
2106
+ parentSlotId: number;
2107
+ childrenSlotIds: number[];
2108
+ deletedAt?: Date;
2109
+ }
2103
2110
  export declare class Resource extends OrganizationConnectionBaseEntity {
2104
2111
  name: string;
2105
2112
  resourceType: ResourceTypeEnum;
@@ -2340,13 +2347,6 @@ export declare class WebflowOrganizationConfiguration extends OrganizationConnec
2340
2347
  membershipCollectionId?: string;
2341
2348
  programsCollectionId?: string;
2342
2349
  }
2343
- export declare class ResourceGroup extends OrganizationConnectionBaseEntity {
2344
- name: string;
2345
- facilityId: number;
2346
- parentSlotId: number;
2347
- childrenSlotIds: number[];
2348
- deletedAt?: Date;
2349
- }
2350
2350
  export declare enum EntitlementTermsTypesEnum {
2351
2351
  QUESTION = "question",
2352
2352
  CITY = "city",
@@ -3234,6 +3234,55 @@ export interface IReservationCreatorData {
3234
3234
  endDate: string;
3235
3235
  sportId: number;
3236
3236
  }
3237
+ export declare class AddImportedCustomerDto extends AddEditCustomerDto {
3238
+ name?: string;
3239
+ genderStr?: string;
3240
+ parentID?: string;
3241
+ partnerID?: string;
3242
+ membershipName?: string;
3243
+ membershipExpDate?: string;
3244
+ membershipCreationDate?: string;
3245
+ bondMembershipID?: number;
3246
+ }
3247
+ export declare class AddFamilyDto {
3248
+ parents: AddImportedCustomerDto[];
3249
+ children: AddImportedCustomerDto[];
3250
+ }
3251
+ export declare enum ImportPaymentTypeEnum {
3252
+ CREDIT_CARD = "card",
3253
+ ACH = "ach",
3254
+ CASH = "cash",
3255
+ CHECK = "check",
3256
+ CARD_ON_TERMINAL = "card-on-terminal",
3257
+ OTHER = "other"
3258
+ }
3259
+ export declare class ImportedInvoiceLineDto {
3260
+ invoiceID?: string;
3261
+ description: string;
3262
+ createdDate: string;
3263
+ createdTime: string;
3264
+ quantity: string;
3265
+ price: string;
3266
+ total: string;
3267
+ customerID: string;
3268
+ resourceType: string;
3269
+ resourceID: string;
3270
+ }
3271
+ export declare class ImportedInvoiceDto {
3272
+ customerId?: string;
3273
+ total?: string;
3274
+ amountDue?: string;
3275
+ payments?: ImportedPaymentDto[];
3276
+ lines: any;
3277
+ }
3278
+ export declare class ImportedPaymentDto {
3279
+ invoiceID: string;
3280
+ type: ImportPaymentTypeEnum;
3281
+ description: string;
3282
+ paid: string;
3283
+ date: string;
3284
+ time: string;
3285
+ }
3237
3286
  export declare class ProductIdsDto {
3238
3287
  productIds?: number[];
3239
3288
  }
@@ -3250,20 +3299,6 @@ export declare class PunchPassDto {
3250
3299
  BondSessionID: number;
3251
3300
  ProductID: number;
3252
3301
  }
3253
- export declare class AddImportedCustomerDto extends AddEditCustomerDto {
3254
- name?: string;
3255
- genderStr?: string;
3256
- parentID?: string;
3257
- partnerID?: string;
3258
- membershipName?: string;
3259
- membershipExpDate?: string;
3260
- membershipCreationDate?: string;
3261
- bondMembershipID?: number;
3262
- }
3263
- export declare class AddFamilyDto {
3264
- parents: AddImportedCustomerDto[];
3265
- children: AddImportedCustomerDto[];
3266
- }
3267
3302
  export declare class ImportedSlotProductDto {
3268
3303
  slotID?: string;
3269
3304
  name?: string;
@@ -3315,41 +3350,6 @@ export declare class ImportedReservationDto {
3315
3350
  slots?: ImportedSlotDto[];
3316
3351
  addons?: ImportedSlotProductDto[];
3317
3352
  }
3318
- export declare enum ImportPaymentTypeEnum {
3319
- CREDIT_CARD = "card",
3320
- ACH = "ach",
3321
- CASH = "cash",
3322
- CHECK = "check",
3323
- CARD_ON_TERMINAL = "card-on-terminal",
3324
- OTHER = "other"
3325
- }
3326
- export declare class ImportedInvoiceLineDto {
3327
- invoiceID?: string;
3328
- description: string;
3329
- createdDate: string;
3330
- createdTime: string;
3331
- quantity: string;
3332
- price: string;
3333
- total: string;
3334
- customerID: string;
3335
- resourceType: string;
3336
- resourceID: string;
3337
- }
3338
- export declare class ImportedInvoiceDto {
3339
- customerId?: string;
3340
- total?: string;
3341
- amountDue?: string;
3342
- payments?: ImportedPaymentDto[];
3343
- lines: any;
3344
- }
3345
- export declare class ImportedPaymentDto {
3346
- invoiceID: string;
3347
- type: ImportPaymentTypeEnum;
3348
- description: string;
3349
- paid: string;
3350
- date: string;
3351
- time: string;
3352
- }
3353
3353
  export declare class ColumnNumericTransformer {
3354
3354
  to(data: number): number;
3355
3355
  from(data: string): number;
@@ -3496,6 +3496,16 @@ export declare class RefundLineItemAmountDto {
3496
3496
  id: number;
3497
3497
  refundAmount: number;
3498
3498
  }
3499
+ export declare class VoidDto {
3500
+ lineItems: VoidLineItemDto[];
3501
+ meta?: RevertMetaDto;
3502
+ }
3503
+ export declare class VoidLineItemDto {
3504
+ id: number;
3505
+ quantity?: number;
3506
+ isEdit?: boolean;
3507
+ amount?: number;
3508
+ }
3499
3509
  export declare class CustomerIdDto {
3500
3510
  customerId: number;
3501
3511
  }
@@ -3613,16 +3623,6 @@ export declare class SendRequestDto {
3613
3623
  sendToEmail: string;
3614
3624
  memo?: string;
3615
3625
  }
3616
- export declare class VoidDto {
3617
- lineItems: VoidLineItemDto[];
3618
- meta?: RevertMetaDto;
3619
- }
3620
- export declare class VoidLineItemDto {
3621
- id: number;
3622
- quantity?: number;
3623
- isEdit?: boolean;
3624
- amount?: number;
3625
- }
3626
3626
  export declare class LineItemDto {
3627
3627
  id?: number;
3628
3628
  orderId?: number;
@@ -4141,16 +4141,16 @@ export declare class ChangeRolePermissionsDto {
4141
4141
  export declare class CreateRoleDto {
4142
4142
  name: string;
4143
4143
  }
4144
- export declare class Permission extends BondBaseEntity {
4145
- name: string;
4146
- deletedAt?: Date;
4147
- }
4148
4144
  export declare class Role extends OrganizationConnectionBaseEntity {
4149
4145
  name: string;
4150
4146
  deletedAt?: Date;
4151
4147
  permissions: Permission[];
4152
4148
  usersRoles: UserRole[];
4153
4149
  }
4150
+ export declare class Permission extends BondBaseEntity {
4151
+ name: string;
4152
+ deletedAt?: Date;
4153
+ }
4154
4154
  export declare class UserRole extends OrganizationConnectionBaseEntity {
4155
4155
  deletedAt?: Date;
4156
4156
  userId: number;