@bondsports/types 0.0.108 → 0.0.109
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 +15 -15
- 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
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { BaseEntity } from
|
|
2
|
-
import { Stripe } from
|
|
3
|
-
import moment from
|
|
4
|
-
export { TypesProvider } from
|
|
1
|
+
import { BaseEntity } from "typeorm";
|
|
2
|
+
import { Stripe } from "stripe";
|
|
3
|
+
import moment from "moment";
|
|
4
|
+
export { TypesProvider } from "./provider";
|
|
5
5
|
export declare class QuestionAnswersDto {
|
|
6
6
|
questionId: number;
|
|
7
7
|
value: any;
|
|
@@ -636,7 +636,7 @@ export declare class MoveParticipantDto {
|
|
|
636
636
|
userId: number;
|
|
637
637
|
oldProductId: number;
|
|
638
638
|
newProductId: number;
|
|
639
|
-
moveType:
|
|
639
|
+
moveType: "session" | "segment";
|
|
640
640
|
resourceId: number;
|
|
641
641
|
invoiceId: number;
|
|
642
642
|
}
|
|
@@ -1587,7 +1587,7 @@ export declare class GetExtraProductDataDto {
|
|
|
1587
1587
|
includeArchived?: boolean;
|
|
1588
1588
|
}
|
|
1589
1589
|
export declare class GetBySessionType {
|
|
1590
|
-
sessionType:
|
|
1590
|
+
sessionType: "event" | "segment";
|
|
1591
1591
|
}
|
|
1592
1592
|
export declare class CreateSubcategoryDto {
|
|
1593
1593
|
productType: ProductTypesEnum;
|
|
@@ -2655,7 +2655,7 @@ export interface ISessionsLandingPage {
|
|
|
2655
2655
|
lateRegistrationStartDate?: Date;
|
|
2656
2656
|
lateRegistrationEndDate?: Date;
|
|
2657
2657
|
attendeeCount?: number;
|
|
2658
|
-
segmentsOrEvents:
|
|
2658
|
+
segmentsOrEvents: "segment" | "event";
|
|
2659
2659
|
}
|
|
2660
2660
|
export interface ISessionsLandingPageExpanded extends ISessionsLandingPage, ISlimAddons {
|
|
2661
2661
|
hasRequiredMembership: boolean;
|
|
@@ -3274,8 +3274,8 @@ export declare class GameSlots extends BondBaseEntity {
|
|
|
3274
3274
|
export declare class ImportedSlotProductDto {
|
|
3275
3275
|
slotID?: string;
|
|
3276
3276
|
name?: string;
|
|
3277
|
-
pricingType?:
|
|
3278
|
-
appliesTo?:
|
|
3277
|
+
pricingType?: "Hourly" | "Flat";
|
|
3278
|
+
appliesTo?: "slot" | "addon" | "reservation";
|
|
3279
3279
|
price?: string;
|
|
3280
3280
|
minutes?: string;
|
|
3281
3281
|
quantity: string;
|
|
@@ -3619,7 +3619,7 @@ export declare class PaymentDataDto {
|
|
|
3619
3619
|
}
|
|
3620
3620
|
export declare class SendReceiptDataDto {
|
|
3621
3621
|
invoiceId: number;
|
|
3622
|
-
deliveryMethod:
|
|
3622
|
+
deliveryMethod: "email" | "sms";
|
|
3623
3623
|
sendToAddress?: string;
|
|
3624
3624
|
}
|
|
3625
3625
|
export declare class PaymentPlanSchduleDto {
|
|
@@ -4174,8 +4174,8 @@ export interface CalendarSlotCard extends Slot {
|
|
|
4174
4174
|
totalSlotsInSeries?: number;
|
|
4175
4175
|
slotIndexInSeries?: number;
|
|
4176
4176
|
}
|
|
4177
|
-
declare type IPartialInvoice = Pick<Invoice,
|
|
4178
|
-
export declare type IPartialPayment = Pick<Payment,
|
|
4177
|
+
declare type IPartialInvoice = Pick<Invoice, "id" | "createdAt" | "price" | "paymentStatus" | "paidAmount">;
|
|
4178
|
+
export declare type IPartialPayment = Pick<Payment, "id" | "createdAt" | "price" | "paymentStatus" | "paymentType" | "ccBrand" | "ccLast4">;
|
|
4179
4179
|
export interface IInvoice extends IPartialInvoice {
|
|
4180
4180
|
lineItemsCount: number;
|
|
4181
4181
|
}
|
|
@@ -4365,7 +4365,7 @@ export declare class Series extends OrganizationConnectionBaseEntity {
|
|
|
4365
4365
|
resources?: Resource[];
|
|
4366
4366
|
}
|
|
4367
4367
|
export declare type TSlotAndType = {
|
|
4368
|
-
type:
|
|
4368
|
+
type: "slots" | "slot_addons";
|
|
4369
4369
|
slotsForProduct: {
|
|
4370
4370
|
[productId: number]: {
|
|
4371
4371
|
product: Product;
|
|
@@ -4374,7 +4374,7 @@ export declare type TSlotAndType = {
|
|
|
4374
4374
|
};
|
|
4375
4375
|
};
|
|
4376
4376
|
export interface ILineItemResource {
|
|
4377
|
-
type:
|
|
4377
|
+
type: "addons" | "segments" | "series" | "slots" | "slot_addons";
|
|
4378
4378
|
values: TResource[];
|
|
4379
4379
|
}
|
|
4380
4380
|
export declare class PurchasedResourceDto {
|
|
@@ -4472,7 +4472,7 @@ export declare class LineItemDto {
|
|
|
4472
4472
|
unitPrice?: number;
|
|
4473
4473
|
quantity: number;
|
|
4474
4474
|
resources?: PurchasedResourceDto[];
|
|
4475
|
-
relationType?:
|
|
4475
|
+
relationType?: "reservation-addon" | "slots" | "slot_addons";
|
|
4476
4476
|
unitPriceWithTax?: number;
|
|
4477
4477
|
unitTaxPrice?: number;
|
|
4478
4478
|
parentOrdinal?: number;
|