@bondsports/types 2.2.27 → 2.2.29
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/entity/EntitlementTerms.d.ts +2 -2
- package/dist/types/entity/EntitlementTerms.js.map +1 -1
- package/dist/types/pricing/dto/pricing.dto.d.ts +31 -5
- package/dist/types/pricing/dto/pricing.dto.js +23 -1
- package/dist/types/pricing/dto/pricing.dto.js.map +1 -1
- package/dist/types/pricing/types/pricing.interfaces.d.ts +11 -0
- package/dist/types/pricing/types/pricing.interfaces.js +7 -0
- package/dist/types/pricing/types/pricing.interfaces.js.map +1 -1
- package/dist/types/product-pricing/dto/product.dto.d.ts +1 -0
- package/dist/types/product-pricing/dto/product.dto.js.map +1 -1
- package/dist/types/services/interfaces.service.d.ts +1 -8
- package/dist/types/services/interfaces.service.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IEntitlementTerms } from '../services/interfaces.service';
|
|
2
1
|
import { OrganizationConnectionBaseEntity } from './OrganizationConnectionBaseEntity';
|
|
2
|
+
import { Term } from '../pricing/types/pricing.interfaces';
|
|
3
3
|
export declare class EntitlementTerms extends OrganizationConnectionBaseEntity {
|
|
4
4
|
groupId: number;
|
|
5
|
-
terms
|
|
5
|
+
terms?: Term[];
|
|
6
6
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EntitlementTerms.js","sourceRoot":"","sources":["../../../src/types/entity/EntitlementTerms.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"EntitlementTerms.js","sourceRoot":"","sources":["../../../src/types/entity/EntitlementTerms.ts"],"names":[],"mappings":";;;AACA,yFAAsF;AAGtF,MAAa,gBAAiB,SAAQ,mEAAgC;CAIrE;AAJD,4CAIC"}
|
|
@@ -1,10 +1,36 @@
|
|
|
1
|
-
import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
|
|
2
|
-
import { CurrencyEnum, DiscountMethodsEnum, ResourceNameTypeEnum } from '../../services/enums.service';
|
|
3
|
-
import {
|
|
1
|
+
import { ByOrganizationIdDto, OrganizationBaseEntityDto } from '../../organization/dto/organization.dto';
|
|
2
|
+
import { CurrencyEnum, DiscountMethodsEnum, EntitlementTermsTypesEnum, ResourceNameTypeEnum } from '../../services/enums.service';
|
|
3
|
+
import { IQuestionAnswerObject } from '../../services/interfaces.service';
|
|
4
|
+
/**
|
|
5
|
+
* This represents the DTO for an array of multiple CreateEntitlementTermsDto objects you want to create at once (ie. data for multiple rows of the
|
|
6
|
+
* Entitlement terms data allstored in 1 object)
|
|
7
|
+
*/
|
|
8
|
+
export declare class CreateEntitlementGroupsTermsDto {
|
|
9
|
+
entitlementGroupTerms: CreateEntitlementTermsDto[];
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* This represents the DTO for creating a single row of the EntitlementTerms table
|
|
13
|
+
*/
|
|
4
14
|
export declare class CreateEntitlementTermsDto {
|
|
5
|
-
organizationId: number;
|
|
6
15
|
entitlementGroupId: number;
|
|
7
|
-
terms:
|
|
16
|
+
terms: TermDto[];
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* This represents the DTO of the entity representing a single row of the EntitlementTerms table
|
|
20
|
+
*/
|
|
21
|
+
export declare class EntitlementTermsDto extends OrganizationBaseEntityDto {
|
|
22
|
+
entitlementGroupId: number;
|
|
23
|
+
terms: TermDto[];
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* This represents the DTO for a single "term" object (ie. a single object in the terms columns of the EntitlementTerms table)
|
|
27
|
+
*/
|
|
28
|
+
export declare class TermDto {
|
|
29
|
+
type: EntitlementTermsTypesEnum;
|
|
30
|
+
id?: number;
|
|
31
|
+
value?: string;
|
|
32
|
+
minValue?: string;
|
|
33
|
+
maxValue?: string;
|
|
8
34
|
}
|
|
9
35
|
export declare class FindEntitlementTermsByGroupIdDto {
|
|
10
36
|
entitlementGroupId: number;
|
|
@@ -1,10 +1,32 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CreatePriceDto = exports.CreateGroupPricingWithProduct = exports.FindEntitlementGroupByIdDto = exports.GetEntitlementGroupPricingDto = exports.CreateEntitlementGroupDto = exports.FindGroupItemsPricingsDto = exports.FindLowestPriceDto = exports.FindEntitlementTermsByVariablesDto = exports.FindEntitlementTermsByGroupIdDto = exports.CreateEntitlementTermsDto = void 0;
|
|
3
|
+
exports.CreatePriceDto = exports.CreateGroupPricingWithProduct = exports.FindEntitlementGroupByIdDto = exports.GetEntitlementGroupPricingDto = exports.CreateEntitlementGroupDto = exports.FindGroupItemsPricingsDto = exports.FindLowestPriceDto = exports.FindEntitlementTermsByVariablesDto = exports.FindEntitlementTermsByGroupIdDto = exports.TermDto = exports.EntitlementTermsDto = exports.CreateEntitlementTermsDto = exports.CreateEntitlementGroupsTermsDto = void 0;
|
|
4
4
|
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
|
5
|
+
/**
|
|
6
|
+
* This represents the DTO for an array of multiple CreateEntitlementTermsDto objects you want to create at once (ie. data for multiple rows of the
|
|
7
|
+
* Entitlement terms data allstored in 1 object)
|
|
8
|
+
*/
|
|
9
|
+
class CreateEntitlementGroupsTermsDto {
|
|
10
|
+
}
|
|
11
|
+
exports.CreateEntitlementGroupsTermsDto = CreateEntitlementGroupsTermsDto;
|
|
12
|
+
/**
|
|
13
|
+
* This represents the DTO for creating a single row of the EntitlementTerms table
|
|
14
|
+
*/
|
|
5
15
|
class CreateEntitlementTermsDto {
|
|
6
16
|
}
|
|
7
17
|
exports.CreateEntitlementTermsDto = CreateEntitlementTermsDto;
|
|
18
|
+
/**
|
|
19
|
+
* This represents the DTO of the entity representing a single row of the EntitlementTerms table
|
|
20
|
+
*/
|
|
21
|
+
class EntitlementTermsDto extends organization_dto_1.OrganizationBaseEntityDto {
|
|
22
|
+
}
|
|
23
|
+
exports.EntitlementTermsDto = EntitlementTermsDto;
|
|
24
|
+
/**
|
|
25
|
+
* This represents the DTO for a single "term" object (ie. a single object in the terms columns of the EntitlementTerms table)
|
|
26
|
+
*/
|
|
27
|
+
class TermDto {
|
|
28
|
+
}
|
|
29
|
+
exports.TermDto = TermDto;
|
|
8
30
|
class FindEntitlementTermsByGroupIdDto {
|
|
9
31
|
}
|
|
10
32
|
exports.FindEntitlementTermsByGroupIdDto = FindEntitlementTermsByGroupIdDto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pricing.dto.js","sourceRoot":"","sources":["../../../../src/types/pricing/dto/pricing.dto.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"pricing.dto.js","sourceRoot":"","sources":["../../../../src/types/pricing/dto/pricing.dto.ts"],"names":[],"mappings":";;;AAAA,8EAAyG;AAIzG;;;GAGG;AACH,MAAa,+BAA+B;CAE3C;AAFD,0EAEC;AAED;;GAEG;AACH,MAAa,yBAAyB;CAIrC;AAJD,8DAIC;AAED;;GAEG;AACH,MAAa,mBAAoB,SAAQ,4CAAyB;CAIjE;AAJD,kDAIC;AAED;;GAEG;AACH,MAAa,OAAO;CAWnB;AAXD,0BAWC;AAED,MAAa,gCAAgC;CAE5C;AAFD,4EAEC;AAED,MAAa,kCAAkC;CAG9C;AAHD,gFAGC;AAED,MAAa,kBAAmB,SAAQ,sCAAmB;CAQ1D;AARD,gDAQC;AAED,MAAa,yBAAyB;CAGrC;AAHD,8DAGC;AAED,MAAa,yBAAyB;CAErC;AAFD,8DAEC;AAED,MAAa,6BAA6B;CAIzC;AAJD,sEAIC;AAED,MAAa,2BAA2B;CAEvC;AAFD,kEAEC;AAED,MAAa,6BAA6B;CAYzC;AAZD,sEAYC;AAED,MAAa,cAAc;CAwB1B;AAxBD,wCAwBC"}
|
|
@@ -1,5 +1,16 @@
|
|
|
1
|
+
import { EntitlementTermsTypesEnum } from '../../services/enums.service';
|
|
1
2
|
import { Price } from '../entities/Price';
|
|
2
3
|
export interface CreatePricesResult {
|
|
3
4
|
prices: Price[];
|
|
4
5
|
defaultPrice?: Price;
|
|
5
6
|
}
|
|
7
|
+
/**
|
|
8
|
+
* This represents a single "term" object (ie. a single object in the terms columns of the EntitlementTerms table)
|
|
9
|
+
*/
|
|
10
|
+
export declare class Term {
|
|
11
|
+
type: EntitlementTermsTypesEnum;
|
|
12
|
+
id?: number;
|
|
13
|
+
value?: string;
|
|
14
|
+
minValue?: string;
|
|
15
|
+
maxValue?: string;
|
|
16
|
+
}
|
|
@@ -1,3 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Term = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* This represents a single "term" object (ie. a single object in the terms columns of the EntitlementTerms table)
|
|
6
|
+
*/
|
|
7
|
+
class Term {
|
|
8
|
+
}
|
|
9
|
+
exports.Term = Term;
|
|
3
10
|
//# sourceMappingURL=pricing.interfaces.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pricing.interfaces.js","sourceRoot":"","sources":["../../../../src/types/pricing/types/pricing.interfaces.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"pricing.interfaces.js","sourceRoot":"","sources":["../../../../src/types/pricing/types/pricing.interfaces.ts"],"names":[],"mappings":";;;AAQA;;GAEG;AACH,MAAa,IAAI;CAWhB;AAXD,oBAWC"}
|
|
@@ -202,6 +202,7 @@ export declare class DeprecatedProductDto extends BaseProductDto {
|
|
|
202
202
|
export declare class ProductDto extends BaseProductDto {
|
|
203
203
|
productPaymentPlans?: PaymentPlanDto[];
|
|
204
204
|
pricingSchedules?: IPricingSchedule[];
|
|
205
|
+
status?: ActivityEnum;
|
|
205
206
|
entitlementDiscounts?: EntitlementDiscountDto[];
|
|
206
207
|
}
|
|
207
208
|
export declare class ResourceProductDto {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product.dto.ts"],"names":[],"mappings":";;;AAGA,uDAAsE;AAiCtE,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,iCAAiC;CAU7C;AAVD,8EAUC;AAED,MAAa,2BAA2B;CAUvC;AAVD,kEAUC;AAED,MAAa,gBAAgB;CAgF5B;AAhFD,4CAgFC;AAED,MAAa,gBAAiB,SAAQ,gBAAgB;CAMrD;AAND,4CAMC;AAED,MAAa,yBAAyB;CAIrC;AAJD,8DAIC;AAED,MAAa,yBAAyB;CAKrC;AALD,8DAKC;AAED,MAAa,sBAAsB;CAGlC;AAHD,wDAGC;AAED,MAAa,cAAe,SAAQ,6BAAe;CAQlD;AARD,wCAQC;AAED,MAAa,cAAe,SAAQ,6BAAe;CAwBlD;AAxBD,wCAwBC;AAED,MAAa,sBAAsB;CASlC;AATD,wDASC;AAED,MAAa,0BAA2B,SAAQ,6BAAe;CAM9D;AAND,gEAMC;AAED,MAAa,gBAAiB,SAAQ,0BAAY;CAIjD;AAJD,4CAIC;AAED,MAAa,cAAc;CA8G1B;AA9GD,wCA8GC;AAED,MAAa,oBAAqB,SAAQ,cAAc;CAEvD;AAFD,oDAEC;AAED,MAAa,UAAW,SAAQ,cAAc;
|
|
1
|
+
{"version":3,"file":"product.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product.dto.ts"],"names":[],"mappings":";;;AAGA,uDAAsE;AAiCtE,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,iCAAiC;CAU7C;AAVD,8EAUC;AAED,MAAa,2BAA2B;CAUvC;AAVD,kEAUC;AAED,MAAa,gBAAgB;CAgF5B;AAhFD,4CAgFC;AAED,MAAa,gBAAiB,SAAQ,gBAAgB;CAMrD;AAND,4CAMC;AAED,MAAa,yBAAyB;CAIrC;AAJD,8DAIC;AAED,MAAa,yBAAyB;CAKrC;AALD,8DAKC;AAED,MAAa,sBAAsB;CAGlC;AAHD,wDAGC;AAED,MAAa,cAAe,SAAQ,6BAAe;CAQlD;AARD,wCAQC;AAED,MAAa,cAAe,SAAQ,6BAAe;CAwBlD;AAxBD,wCAwBC;AAED,MAAa,sBAAsB;CASlC;AATD,wDASC;AAED,MAAa,0BAA2B,SAAQ,6BAAe;CAM9D;AAND,gEAMC;AAED,MAAa,gBAAiB,SAAQ,0BAAY;CAIjD;AAJD,4CAIC;AAED,MAAa,cAAc;CA8G1B;AA9GD,wCA8GC;AAED,MAAa,oBAAqB,SAAQ,cAAc;CAEvD;AAFD,oDAEC;AAED,MAAa,UAAW,SAAQ,cAAc;CAQ7C;AARD,gCAQC;AAED,MAAa,kBAAkB;CAU9B;AAVD,gDAUC"}
|
|
@@ -12,15 +12,8 @@ import { SimpleUserDto } from '../user/dto/user.dto';
|
|
|
12
12
|
import { Answer } from '../questionnaires/entities/Answer';
|
|
13
13
|
import { Event } from './../entity/Events';
|
|
14
14
|
import { Product } from '../product-pricing/entities/Product';
|
|
15
|
-
import { AddonTimePeriodEnum, CurrencyEnum,
|
|
15
|
+
import { AddonTimePeriodEnum, CurrencyEnum, GenderEnum, LevelOfPlayEnum, MembershipStatusEnum, PackageProductsRelationTypeEnum, ProductSubTypesEnum, ProductTypesEnum, ProgramTypesEnum, PurchasedResourceStatusEnum, RegistrationValidationStatusEnum, RegistrationWindowStatusEnum, ResourceNameTypeEnum, SlotTypeEnum, SportsEnum } from './enums.service';
|
|
16
16
|
import { Discount } from '../payment/entities/Discount';
|
|
17
|
-
export interface IEntitlementTerms {
|
|
18
|
-
type: EntitlementTermsTypesEnum;
|
|
19
|
-
id?: number;
|
|
20
|
-
value?: string;
|
|
21
|
-
minValue?: string;
|
|
22
|
-
maxValue?: string;
|
|
23
|
-
}
|
|
24
17
|
export interface IQuestionAnswerObject {
|
|
25
18
|
questionId: number;
|
|
26
19
|
value: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.service.js","sourceRoot":"","sources":["../../../src/types/services/interfaces.service.ts"],"names":[],"mappings":";;;AAQA,8EAA2E;AAI3E,+CAA2C;AAE3C,
|
|
1
|
+
{"version":3,"file":"interfaces.service.js","sourceRoot":"","sources":["../../../src/types/services/interfaces.service.ts"],"names":[],"mappings":";;;AAQA,8EAA2E;AAI3E,+CAA2C;AAE3C,mDAgByB;AAwEzB,MAAa,qBAAsB,SAAQ,6BAAa;IAAxD;;QACC,gBAAW,GAAyB,oCAAoB,CAAC,cAAc,CAAC;IAEzE,CAAC;CAAA;AAHD,sDAGC;AAED,MAAa,oBAAqB,SAAQ,cAAK;IAA/C;;QACC,gBAAW,GAAyB,oCAAoB,CAAC,KAAK,CAAC;IAEhE,CAAC;CAAA;AAHD,oDAGC"}
|