@bondsports/types 1.19.34 → 1.19.36
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/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/dto/events.dto.d.ts +14 -4
- package/dist/types/dto/events.dto.js +4 -1
- package/dist/types/dto/events.dto.js.map +1 -1
- package/dist/types/dto/facilities.dto.d.ts +3 -1
- package/dist/types/dto/facilities.dto.js +4 -1
- package/dist/types/dto/facilities.dto.js.map +1 -1
- package/dist/types/dto/general.dto.d.ts +15 -2
- package/dist/types/dto/general.dto.js +12 -3
- package/dist/types/dto/general.dto.js.map +1 -1
- package/dist/types/dto/index.d.ts +1 -0
- package/dist/types/dto/index.js +1 -0
- package/dist/types/dto/index.js.map +1 -1
- package/dist/types/dto/product.dto.d.ts +113 -0
- package/dist/types/dto/product.dto.js +44 -0
- package/dist/types/dto/product.dto.js.map +1 -0
- package/dist/types/dto/productPricing.dto.d.ts +3 -111
- package/dist/types/dto/productPricing.dto.js +2 -38
- package/dist/types/dto/productPricing.dto.js.map +1 -1
- package/dist/types/dto/program-seasons.dto.d.ts +8 -5
- package/dist/types/dto/program-seasons.dto.js +5 -2
- package/dist/types/dto/program-seasons.dto.js.map +1 -1
- package/dist/types/dto/program.dto.d.ts +4 -1
- package/dist/types/dto/program.dto.js +5 -1
- package/dist/types/dto/program.dto.js.map +1 -1
- package/dist/types/dto/resource.dto.d.ts +3 -0
- package/dist/types/dto/resource.dto.js +5 -1
- package/dist/types/dto/resource.dto.js.map +1 -1
- package/dist/types/entity/EventAttendees.d.ts +2 -0
- package/dist/types/entity/EventAttendees.js.map +1 -1
- package/dist/types/entity/ProductsUsers.d.ts +12 -6
- package/dist/types/entity/ProductsUsers.js.map +1 -1
- package/dist/types/payment/dto/payment.dto.d.ts +2 -2
- package/dist/types/payment/dto/payment.dto.js +1 -2
- package/dist/types/payment/dto/payment.dto.js.map +1 -1
- package/dist/types/user/dto/user.dto.d.ts +24 -12
- package/dist/types/user/dto/user.dto.js +11 -1
- package/dist/types/user/dto/user.dto.js.map +1 -1
- package/dist/types/user/index.d.ts +1 -0
- package/dist/types/user/index.js +1 -0
- package/dist/types/user/index.js.map +1 -1
- package/dist/types/user/types/index.d.ts +1 -0
- package/dist/types/user/types/index.js +18 -0
- package/dist/types/user/types/index.js.map +1 -0
- package/dist/types/user/types/interfaces/index.d.ts +1 -0
- package/dist/types/user/types/interfaces/index.js +18 -0
- package/dist/types/user/types/interfaces/index.js.map +1 -0
- package/dist/types/user/types/interfaces/user.interfaces.d.ts +4 -0
- package/dist/types/user/types/interfaces/user.interfaces.js +8 -0
- package/dist/types/user/types/interfaces/user.interfaces.js.map +1 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"program-seasons.dto.js","sourceRoot":"","sources":["../../../src/types/dto/program-seasons.dto.ts"],"names":[],"mappings":";;;AAAA,2EAAsG;AAetG,+
|
|
1
|
+
{"version":3,"file":"program-seasons.dto.js","sourceRoot":"","sources":["../../../src/types/dto/program-seasons.dto.ts"],"names":[],"mappings":";;;AAAA,2EAAsG;AAetG,+CAA8D;AAE9D,MAAa,gCAAgC;CAE5C;AAFD,4EAEC;AACD,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AACD,MAAa,uCAAwC,SAAQ,gCAAgC;CAE5F;AAFD,0FAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,6BAA6B;CAEzC;AAFD,sEAEC;AAED,MAAa,wBAAyB,SAAQ,4CAAyB;CAEtE;AAFD,4DAEC;AAED,MAAa,yBAAyB;CAIrC;AAJD,8DAIC;AACD,MAAa,wBAAwB;CAIpC;AAJD,4DAIC;AAED,MAAa,qCAAsC,SAAQ,sCAAmB;CAE7E;AAFD,sFAEC;AAED,MAAa,uBAAuB;CAGnC;AAHD,0DAGC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC;AAED,MAAa,qBAAsB,SAAQ,wBAAwB;CAElE;AAFD,sDAEC;AAED,MAAa,6BAA8B,SAAQ,6BAAe;CAMjE;AAND,sEAMC;AAED,MAAa,eAAe;CAM3B;AAND,0CAMC;AAED,MAAa,gBAAgB;CAM5B;AAND,4CAMC;AAED,MAAa,oBAAoB;CA0EhC;AA1ED,oDA0EC;AAED,MAAa,sBAAuB,SAAQ,oBAAoB;CAE/D;AAFD,wDAEC;AAED,MAAa,wBAAwB;CAMpC;AAND,4DAMC;AAED,MAAa,kBAAkB;CAK9B;AALD,gDAKC;AAED,MAAa,sBAAuB,SAAQ,oBAAoB;CAE/D;AAFD,wDAEC;AAED,MAAa,4BAA4B;CAGxC;AAHD,oEAGC;AAED,MAAa,6BAA6B;CAoDzC;AApDD,sEAoDC;AAED,MAAa,yBAA0B,SAAQ,0BAAY;CAAG;AAA9D,8DAA8D;AAE9D,MAAa,gBAAiB,SAAQ,0BAAY;CAMjD;AAND,4CAMC;AAED,MAAa,oBAAoB;CAWhC;AAXD,oDAWC;AAED,MAAa,8BAA8B;CAI1C;AAJD,wEAIC;AAED,MAAa,+BAA+B;CAO3C;AAPD,0EAOC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,eAAe;CAK3B;AALD,0CAKC;AAED,MAAa,gCAAgC;CAE5C;AAFD,4EAEC;AAED,MAAa,oBAAoB;CAShC;AATD,oDASC;AAED,MAAa,uBAAwB,SAAQ,oBAAoB;CAUhE;AAVD,0DAUC;AAED,MAAa,kBAAkB;CAY9B;AAZD,gDAYC;AAED,MAAa,4BAA4B;CAExC;AAFD,oEAEC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ProgramHighlights } from '../entity/ProgramHighlights';
|
|
2
|
-
import { GenderEnum,
|
|
2
|
+
import { GenderEnum, LevelOfPlayEnum, ProgramHighlightTypeEnum, ProgramTypesEnum, PublishingStatusEnum, SportsEnum } from '../services/enums.service';
|
|
3
|
+
import { IdAndNameDto } from './general.dto';
|
|
3
4
|
export declare class FindProgramsByOrganizationIdDto {
|
|
4
5
|
organizationId: number;
|
|
5
6
|
programType?: ProgramTypesEnum;
|
|
@@ -46,3 +47,5 @@ export declare class ProgramHighlightDto {
|
|
|
46
47
|
type: ProgramHighlightTypeEnum;
|
|
47
48
|
title: string;
|
|
48
49
|
}
|
|
50
|
+
export declare class SimpleProgramDto extends IdAndNameDto {
|
|
51
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ProgramHighlightDto = exports.UpdateProgramStatusDto = exports.UpdateProgramDto = exports.CreateProgramDto = exports.BaseProgramDto = exports.ByOrganizationIdAndProgramIdDto = exports.ByProgramIdDto = exports.FindProgramsByOrganizationIdDto = void 0;
|
|
3
|
+
exports.SimpleProgramDto = exports.ProgramHighlightDto = exports.UpdateProgramStatusDto = exports.UpdateProgramDto = exports.CreateProgramDto = exports.BaseProgramDto = exports.ByOrganizationIdAndProgramIdDto = exports.ByProgramIdDto = exports.FindProgramsByOrganizationIdDto = void 0;
|
|
4
|
+
const general_dto_1 = require("./general.dto");
|
|
4
5
|
class FindProgramsByOrganizationIdDto {
|
|
5
6
|
}
|
|
6
7
|
exports.FindProgramsByOrganizationIdDto = FindProgramsByOrganizationIdDto;
|
|
@@ -25,4 +26,7 @@ exports.UpdateProgramStatusDto = UpdateProgramStatusDto;
|
|
|
25
26
|
class ProgramHighlightDto {
|
|
26
27
|
}
|
|
27
28
|
exports.ProgramHighlightDto = ProgramHighlightDto;
|
|
29
|
+
class SimpleProgramDto extends general_dto_1.IdAndNameDto {
|
|
30
|
+
}
|
|
31
|
+
exports.SimpleProgramDto = SimpleProgramDto;
|
|
28
32
|
//# sourceMappingURL=program.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"program.dto.js","sourceRoot":"","sources":["../../../src/types/dto/program.dto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"program.dto.js","sourceRoot":"","sources":["../../../src/types/dto/program.dto.ts"],"names":[],"mappings":";;;AASA,+CAA6C;AAE7C,MAAa,+BAA+B;CAG3C;AAHD,0EAGC;AAED,MAAa,cAAc;CAE1B;AAFD,wCAEC;AAED,MAAa,+BAA+B;CAI3C;AAJD,0EAIC;AAED,MAAa,cAAc;CA4C1B;AA5CD,wCA4CC;AAED,MAAa,gBAAiB,SAAQ,cAAc;CAAG;AAAvD,4CAAuD;AAEvD,MAAa,gBAAiB,SAAQ,cAAc;CAInD;AAJD,4CAIC;AAED,MAAa,sBAAsB;CAGlC;AAHD,wDAGC;AAED,MAAa,mBAAmB;CAK/B;AALD,kDAKC;AAED,MAAa,gBAAiB,SAAQ,0BAAY;CAAG;AAArD,4CAAqD"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { ResourceNameTypeEnum } from '../services/enums.service';
|
|
2
|
+
import { IdAndNameDto } from './general.dto';
|
|
2
3
|
export declare class ResourceDto {
|
|
3
4
|
type: ResourceNameTypeEnum;
|
|
4
5
|
id: number;
|
|
5
6
|
}
|
|
7
|
+
export declare class SimpleResourceDto extends IdAndNameDto {
|
|
8
|
+
}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ResourceDto = void 0;
|
|
3
|
+
exports.SimpleResourceDto = exports.ResourceDto = void 0;
|
|
4
|
+
const general_dto_1 = require("./general.dto");
|
|
4
5
|
class ResourceDto {
|
|
5
6
|
}
|
|
6
7
|
exports.ResourceDto = ResourceDto;
|
|
8
|
+
class SimpleResourceDto extends general_dto_1.IdAndNameDto {
|
|
9
|
+
}
|
|
10
|
+
exports.SimpleResourceDto = SimpleResourceDto;
|
|
7
11
|
//# sourceMappingURL=resource.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource.dto.js","sourceRoot":"","sources":["../../../src/types/dto/resource.dto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"resource.dto.js","sourceRoot":"","sources":["../../../src/types/dto/resource.dto.ts"],"names":[],"mappings":";;;AACA,+CAA6C;AAE7C,MAAa,WAAW;CAIvB;AAJD,kCAIC;AAED,MAAa,iBAAkB,SAAQ,0BAAY;CAAG;AAAtD,8CAAsD"}
|
|
@@ -3,6 +3,7 @@ import { BondBaseEntity } from './BondBaseEntity';
|
|
|
3
3
|
import { Event } from './Events';
|
|
4
4
|
import { User } from '../user/entities/User';
|
|
5
5
|
import { PurchasedResource } from './PurchasedResources';
|
|
6
|
+
import { ProductsUsers } from './ProductsUsers';
|
|
6
7
|
export declare class EventAttendee extends BondBaseEntity {
|
|
7
8
|
status: RequestStatusEnum | null;
|
|
8
9
|
hasPaid: boolean | null;
|
|
@@ -10,6 +11,7 @@ export declare class EventAttendee extends BondBaseEntity {
|
|
|
10
11
|
attendeeId: number;
|
|
11
12
|
eventId?: number | null;
|
|
12
13
|
productUserId?: number;
|
|
14
|
+
productUser?: ProductsUsers;
|
|
13
15
|
answerTitleIds?: number[];
|
|
14
16
|
entryStatus?: EntryStatusEnum;
|
|
15
17
|
addonProductUserIds?: number[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EventAttendees.js","sourceRoot":"","sources":["../../../src/types/entity/EventAttendees.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;
|
|
1
|
+
{"version":3,"file":"EventAttendees.js","sourceRoot":"","sources":["../../../src/types/entity/EventAttendees.ts"],"names":[],"mappings":";;;AAEA,qDAAkD;AAMlD,MAAa,aAAc,SAAQ,+BAAc;CA4BhD;AA5BD,sCA4BC"}
|
|
@@ -1,15 +1,18 @@
|
|
|
1
|
+
import { Addon } from '../reservations/entities/Addon';
|
|
2
|
+
import { Slot } from '../reservations/entities/Slots';
|
|
3
|
+
import { CurrencyEnum, PaymentStatusEnum } from '../services/enums.service';
|
|
1
4
|
import { User } from '../user/entities/User';
|
|
2
|
-
import {
|
|
5
|
+
import { EventAttendee } from './EventAttendees';
|
|
6
|
+
import { Event } from './Events';
|
|
7
|
+
import { LineItems } from './LineItems';
|
|
3
8
|
import { OrganizationConnectionBaseEntity } from './OrganizationConnectionBaseEntity';
|
|
4
|
-
import { PurchasedResource } from './PurchasedResources';
|
|
5
9
|
import { Product } from './Product';
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { Addon } from '../reservations/entities/Addon';
|
|
10
|
+
import { ProductResource } from './ProductResource';
|
|
11
|
+
import { PurchasedResource } from './PurchasedResources';
|
|
9
12
|
export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
10
13
|
productId: number;
|
|
11
14
|
userId: number;
|
|
12
|
-
user
|
|
15
|
+
user: User;
|
|
13
16
|
paymentStatus: PaymentStatusEnum;
|
|
14
17
|
productName: string;
|
|
15
18
|
productPrice: number;
|
|
@@ -22,4 +25,7 @@ export declare class ProductsUsers extends OrganizationConnectionBaseEntity {
|
|
|
22
25
|
lineItem: LineItems;
|
|
23
26
|
slots?: Slot[];
|
|
24
27
|
addons?: Addon[];
|
|
28
|
+
eventAttendees?: EventAttendee[];
|
|
29
|
+
events?: Event[];
|
|
30
|
+
productResource?: ProductResource;
|
|
25
31
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProductsUsers.js","sourceRoot":"","sources":["../../../src/types/entity/ProductsUsers.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"ProductsUsers.js","sourceRoot":"","sources":["../../../src/types/entity/ProductsUsers.ts"],"names":[],"mappings":";;;AAQA,yFAAsF;AAMtF,MAAa,aAAc,SAAQ,mEAAgC;CAoClE;AApCD,sCAoCC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { PaginationQuery } from '../../dto/general.dto';
|
|
2
|
-
import { UserIdDto } from '../../user/dto/user.dto';
|
|
3
2
|
import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
|
|
4
3
|
import { PurchaseProductDto } from '../../purchase/dto/purchase.dto';
|
|
5
4
|
import { FuturePaymentStatusEnum, OrderByEnum, PaymentMethodTypeEnum, PaymentStatusEnum, PlatformsEnum, ResourceNameTypeEnum, SubPaymentMethodTypeEnum } from '../../services/enums.service';
|
|
@@ -22,7 +21,8 @@ export declare class ByInvoiceDto extends ByOrganizationIdDto {
|
|
|
22
21
|
export declare class ByInvoiceAndCustomerDto extends ByInvoiceDto {
|
|
23
22
|
customerId: number;
|
|
24
23
|
}
|
|
25
|
-
export declare class InvoiceIdAndUserIdDto
|
|
24
|
+
export declare class InvoiceIdAndUserIdDto {
|
|
25
|
+
userId: number;
|
|
26
26
|
invoiceId: number;
|
|
27
27
|
}
|
|
28
28
|
export declare class GetInvoicesQueryDto {
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetPaymentMethodsDto = exports.SendPaymentRequestDto = exports.RevertMetaDto = exports.RemoveResourceDto = exports.NotePrivacyDto = exports.UpdateNoteContentDto = exports.CreateNoteDto = exports.AddToInvoiceDto = exports.CalcPaymentPlanDto = exports.PaymentPlanDto = exports.PaymentPlanSchduleDto = exports.SendReceiptDataDto = exports.PaymentDataDto = exports.PaymentIntentDto = exports.StationsDto = exports.UpdateScheduledPaymentsDto = exports.FutureInstallmentsIdsDto = exports.ScheduledPaymentDto = exports.CreateScheduledPaymentsDto = exports.BasicInstallmentDataDto = exports.FindPayments = exports.ByPaymentFilter = exports.LineItemIdDto = exports.DiscountDto = exports.PaymentViaInvoiceHashDto = exports.GetPaymentsQueryDto = exports.GetInvoicesQueryDto = exports.InvoiceIdAndUserIdDto = exports.ByInvoiceAndCustomerDto = exports.ByInvoiceDto = exports.InvoiceIdDto = exports.ByPaymentDto = exports.PaymentIdDto = exports.CustomerIdDto = void 0;
|
|
4
4
|
const general_dto_1 = require("../../dto/general.dto");
|
|
5
|
-
const user_dto_1 = require("../../user/dto/user.dto");
|
|
6
5
|
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
|
7
6
|
class CustomerIdDto {
|
|
8
7
|
}
|
|
@@ -22,7 +21,7 @@ exports.ByInvoiceDto = ByInvoiceDto;
|
|
|
22
21
|
class ByInvoiceAndCustomerDto extends ByInvoiceDto {
|
|
23
22
|
}
|
|
24
23
|
exports.ByInvoiceAndCustomerDto = ByInvoiceAndCustomerDto;
|
|
25
|
-
class InvoiceIdAndUserIdDto
|
|
24
|
+
class InvoiceIdAndUserIdDto {
|
|
26
25
|
}
|
|
27
26
|
exports.InvoiceIdAndUserIdDto = InvoiceIdAndUserIdDto;
|
|
28
27
|
class GetInvoicesQueryDto {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payment.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/payment.dto.ts"],"names":[],"mappings":";;;AAAA,uDAAwD;AACxD,
|
|
1
|
+
{"version":3,"file":"payment.dto.js","sourceRoot":"","sources":["../../../../src/types/payment/dto/payment.dto.ts"],"names":[],"mappings":";;;AAAA,uDAAwD;AACxD,8EAA8E;AAa9E,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,YAAa,SAAQ,sCAAmB;CAEpD;AAFD,oCAEC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,YAAa,SAAQ,sCAAmB;CAEpD;AAFD,oCAEC;AAED,MAAa,uBAAwB,SAAQ,YAAY;CAExD;AAFD,0DAEC;AAED,MAAa,qBAAqB;CAIjC;AAJD,sDAIC;AAED,MAAa,mBAAmB;CAI/B;AAJD,kDAIC;AAED,MAAa,mBAAmB;CAI/B;AAJD,kDAIC;AAED,MAAa,wBAAwB;CAIpC;AAJD,4DAIC;AAED,MAAa,WAAW;CAQvB;AARD,kCAQC;AAED,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,eAAgB,SAAQ,6BAAe;CAQnD;AARD,0CAQC;AAED,MAAa,YAAa,SAAQ,eAAe;CAQhD;AARD,oCAQC;AAED,MAAa,uBAAwB,SAAQ,YAAY;CAExD;AAFD,0DAEC;AAED,MAAa,0BAA2B,SAAQ,uBAAuB;CAMtE;AAND,gEAMC;AAED,MAAa,mBAAmB;CAM/B;AAND,kDAMC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,0BAA0B;CAQtC;AARD,gEAQC;AAED,qEAAqE;AACrE,MAAa,WAAW;CAIvB;AAJD,kCAIC;AAED,MAAa,gBAAgB;CAkB5B;AAlBD,4CAkBC;AAED,MAAa,cAAc;CAI1B;AAJD,wCAIC;AAED,MAAa,kBAAkB;CAI9B;AAJD,gDAIC;AAED,MAAa,qBAAqB;CAIjC;AAJD,sDAIC;AACD,MAAa,cAAc;CAM1B;AAND,wCAMC;AACD,MAAa,kBAAmB,SAAQ,cAAc;CAErD;AAFD,gDAEC;AAED,MAAa,eAAgB,SAAQ,YAAY;CAMhD;AAND,0CAMC;AAED,MAAa,aAAa;CAIzB;AAJD,sCAIC;AAED,MAAa,oBAAqB,SAAQ,aAAa;CAEtD;AAFD,oDAEC;AAED,MAAa,cAAc;CAE1B;AAFD,wCAEC;AAED,MAAa,iBAAiB;CAM7B;AAND,8CAMC;AAED,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,qBAAsB,SAAQ,YAAY;CAMtD;AAND,sDAMC;AAED,MAAa,oBAAoB;CAMhC;AAND,oDAMC"}
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
import { SimpleEventDto } from '../../dto/events.dto';
|
|
2
|
+
import { SimpleFacilityDto } from '../../dto/facilities.dto';
|
|
3
|
+
import { IdDto, PaginationResultDto } from '../../dto/general.dto';
|
|
4
|
+
import { SimpleSessionDto } from '../../dto/program-seasons.dto';
|
|
5
|
+
import { SimpleProgramDto } from '../../dto/program.dto';
|
|
6
|
+
import { SimpleResourceDto } from '../../dto/resource.dto';
|
|
7
|
+
import { SimpleProductDto } from '../../dto/product.dto';
|
|
1
8
|
export declare class UserIdDto {
|
|
2
9
|
userId: number;
|
|
3
10
|
}
|
|
@@ -7,18 +14,23 @@ export declare class FindByFamilyAccountIdDto {
|
|
|
7
14
|
export declare class FindByUserAndOrganizationDto extends UserIdDto {
|
|
8
15
|
organizationId: number;
|
|
9
16
|
}
|
|
10
|
-
export
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
17
|
+
export declare class SimpleUserDto extends IdDto {
|
|
18
|
+
firstName: string;
|
|
19
|
+
lastName: string;
|
|
20
|
+
}
|
|
21
|
+
export declare class UserPassDto {
|
|
22
|
+
id: number;
|
|
14
23
|
organizationId: number;
|
|
15
|
-
programId: number;
|
|
16
|
-
programName: string;
|
|
17
|
-
sessionId: number;
|
|
18
|
-
sessionName: string;
|
|
19
|
-
productId: number;
|
|
20
|
-
productName: string;
|
|
21
|
-
productUserId: number;
|
|
22
|
-
purchaseDate: Date;
|
|
23
24
|
passesLeft: number;
|
|
25
|
+
totalPasses: number;
|
|
26
|
+
user: SimpleUserDto;
|
|
27
|
+
program: SimpleProgramDto;
|
|
28
|
+
session: SimpleSessionDto;
|
|
29
|
+
product: SimpleProductDto;
|
|
30
|
+
resources: SimpleResourceDto[];
|
|
31
|
+
facility: SimpleFacilityDto;
|
|
32
|
+
events: SimpleEventDto[];
|
|
33
|
+
}
|
|
34
|
+
export declare class UsersPassesResultDto extends PaginationResultDto {
|
|
35
|
+
data: UserPassDto[];
|
|
24
36
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FindByUserAndOrganizationDto = exports.FindByFamilyAccountIdDto = exports.UserIdDto = void 0;
|
|
3
|
+
exports.UsersPassesResultDto = exports.UserPassDto = exports.SimpleUserDto = exports.FindByUserAndOrganizationDto = exports.FindByFamilyAccountIdDto = exports.UserIdDto = void 0;
|
|
4
|
+
const general_dto_1 = require("../../dto/general.dto");
|
|
4
5
|
class UserIdDto {
|
|
5
6
|
}
|
|
6
7
|
exports.UserIdDto = UserIdDto;
|
|
@@ -10,4 +11,13 @@ exports.FindByFamilyAccountIdDto = FindByFamilyAccountIdDto;
|
|
|
10
11
|
class FindByUserAndOrganizationDto extends UserIdDto {
|
|
11
12
|
}
|
|
12
13
|
exports.FindByUserAndOrganizationDto = FindByUserAndOrganizationDto;
|
|
14
|
+
class SimpleUserDto extends general_dto_1.IdDto {
|
|
15
|
+
}
|
|
16
|
+
exports.SimpleUserDto = SimpleUserDto;
|
|
17
|
+
class UserPassDto {
|
|
18
|
+
}
|
|
19
|
+
exports.UserPassDto = UserPassDto;
|
|
20
|
+
class UsersPassesResultDto extends general_dto_1.PaginationResultDto {
|
|
21
|
+
}
|
|
22
|
+
exports.UsersPassesResultDto = UsersPassesResultDto;
|
|
13
23
|
//# sourceMappingURL=user.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.dto.js","sourceRoot":"","sources":["../../../../src/types/user/dto/user.dto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"user.dto.js","sourceRoot":"","sources":["../../../../src/types/user/dto/user.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAmE;AAMnE,MAAa,SAAS;CAErB;AAFD,8BAEC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,4BAA6B,SAAQ,SAAS;CAE1D;AAFD,oEAEC;AAED,MAAa,aAAc,SAAQ,mBAAK;CAIvC;AAJD,sCAIC;AAED,MAAa,WAAW;CAsBvB;AAtBD,kCAsBC;AAED,MAAa,oBAAqB,SAAQ,iCAAmB;CAE5D;AAFD,oDAEC"}
|
package/dist/types/user/index.js
CHANGED
|
@@ -16,4 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./dto"), exports);
|
|
18
18
|
__exportStar(require("./entities"), exports);
|
|
19
|
+
__exportStar(require("./types"), exports);
|
|
19
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/user/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,6CAA2B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/user/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,6CAA2B;AAC3B,0CAAwB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './interfaces';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./interfaces"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/user/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './user.interfaces';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./user.interfaces"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/user/types/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UserPassResult = void 0;
|
|
4
|
+
const user_dto_1 = require("../../dto/user.dto");
|
|
5
|
+
class UserPassResult extends user_dto_1.UserPassDto {
|
|
6
|
+
}
|
|
7
|
+
exports.UserPassResult = UserPassResult;
|
|
8
|
+
//# sourceMappingURL=user.interfaces.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/user/types/interfaces/user.interfaces.ts"],"names":[],"mappings":";;;AAAA,iDAAiD;AAEjD,MAAa,cAAe,SAAQ,sBAAW;CAE9C;AAFD,wCAEC"}
|