@bondsports/types 2.2.110 → 2.2.112
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/gl-codes/dto/gl-code.dto.d.ts +1 -1
- package/dist/types/gl-codes/entities/gl-code.d.ts +1 -1
- package/dist/types/gl-codes/types/enums/gl-code.enum.d.ts +16 -0
- package/dist/types/gl-codes/types/enums/gl-code.enum.js +21 -0
- package/dist/types/gl-codes/types/enums/gl-code.enum.js.map +1 -0
- package/dist/types/gl-codes/types/enums/index.d.ts +1 -0
- package/dist/types/gl-codes/types/enums/index.js +18 -0
- package/dist/types/gl-codes/types/enums/index.js.map +1 -0
- package/dist/types/gl-codes/types/index.d.ts +1 -0
- package/dist/types/gl-codes/types/index.js +1 -0
- package/dist/types/gl-codes/types/index.js.map +1 -1
- package/dist/types/gl-codes/types/interfaces/gl-code.interfaces.d.ts +0 -16
- package/dist/types/gl-codes/types/interfaces/gl-code.interfaces.js +0 -18
- package/dist/types/gl-codes/types/interfaces/gl-code.interfaces.js.map +1 -1
- package/dist/types/resources/dto/resource.dto.d.ts +3 -1
- package/dist/types/resources/dto/resource.dto.js.map +1 -1
- package/dist/types/resources/types/enums/resources.enums.d.ts +4 -0
- package/dist/types/resources/types/enums/resources.enums.js +6 -1
- package/dist/types/resources/types/enums/resources.enums.js.map +1 -1
- package/package.json +1 -1
@@ -1,6 +1,6 @@
|
|
1
1
|
import { OrganizationBaseEntityDto } from '../../organization/dto/organization.dto';
|
2
2
|
import { ActivityEnum, ProductTypesEnum } from '../../services/enums.service';
|
3
|
-
import { GlResourceTypeEnum } from '../types/
|
3
|
+
import { GlResourceTypeEnum } from '../types/enums/gl-code.enum';
|
4
4
|
export declare class CreateGlCodeDto {
|
5
5
|
organizationId?: number;
|
6
6
|
code: string;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
2
2
|
import { ActivityEnum, ProductTypesEnum } from '../../services/enums.service';
|
3
|
-
import { GlResourceTypeEnum } from '../types/
|
3
|
+
import { GlResourceTypeEnum } from '../types/enums/gl-code.enum';
|
4
4
|
export declare class GlCode extends OrganizationConnectionBaseEntity {
|
5
5
|
code: string;
|
6
6
|
status: ActivityEnum;
|
@@ -0,0 +1,16 @@
|
|
1
|
+
export declare enum GlResourceTypeEnum {
|
2
|
+
EVENT = "event",
|
3
|
+
LEAGUE = "league",
|
4
|
+
MEMBERSHIP = "membership",
|
5
|
+
PROGRAM = "program",
|
6
|
+
PROGRAM_SEASON = "program_season",
|
7
|
+
PRODUCT = "product",
|
8
|
+
FEE = "fee",
|
9
|
+
DISCOUNT = "discount",
|
10
|
+
ACTIVITY = "activity",
|
11
|
+
PROGRAM_TYPE = "program_type",
|
12
|
+
TAX = "tax",
|
13
|
+
SEGMENT = "segment",
|
14
|
+
SPACE = "space",
|
15
|
+
FACILITY = "facility"
|
16
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.GlResourceTypeEnum = void 0;
|
4
|
+
var GlResourceTypeEnum;
|
5
|
+
(function (GlResourceTypeEnum) {
|
6
|
+
GlResourceTypeEnum["EVENT"] = "event";
|
7
|
+
GlResourceTypeEnum["LEAGUE"] = "league";
|
8
|
+
GlResourceTypeEnum["MEMBERSHIP"] = "membership";
|
9
|
+
GlResourceTypeEnum["PROGRAM"] = "program";
|
10
|
+
GlResourceTypeEnum["PROGRAM_SEASON"] = "program_season";
|
11
|
+
GlResourceTypeEnum["PRODUCT"] = "product";
|
12
|
+
GlResourceTypeEnum["FEE"] = "fee";
|
13
|
+
GlResourceTypeEnum["DISCOUNT"] = "discount";
|
14
|
+
GlResourceTypeEnum["ACTIVITY"] = "activity";
|
15
|
+
GlResourceTypeEnum["PROGRAM_TYPE"] = "program_type";
|
16
|
+
GlResourceTypeEnum["TAX"] = "tax";
|
17
|
+
GlResourceTypeEnum["SEGMENT"] = "segment";
|
18
|
+
GlResourceTypeEnum["SPACE"] = "space";
|
19
|
+
GlResourceTypeEnum["FACILITY"] = "facility";
|
20
|
+
})(GlResourceTypeEnum = exports.GlResourceTypeEnum || (exports.GlResourceTypeEnum = {}));
|
21
|
+
//# sourceMappingURL=gl-code.enum.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"gl-code.enum.js","sourceRoot":"","sources":["../../../../../src/types/gl-codes/types/enums/gl-code.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,kBAeX;AAfD,WAAY,kBAAkB;IAC7B,qCAAe,CAAA;IACf,uCAAiB,CAAA;IACjB,+CAAyB,CAAA;IACzB,yCAAmB,CAAA;IACnB,uDAAiC,CAAA;IACjC,yCAAmB,CAAA;IACnB,iCAAW,CAAA;IACX,2CAAqB,CAAA;IACrB,2CAAqB,CAAA;IACrB,mDAA6B,CAAA;IAC7B,iCAAW,CAAA;IACX,yCAAmB,CAAA;IACnB,qCAAe,CAAA;IACf,2CAAqB,CAAA;AACtB,CAAC,EAfW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAe7B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './gl-code.enum';
|
@@ -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("./gl-code.enum"), exports);
|
18
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/gl-codes/types/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B"}
|
@@ -14,5 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./enums"), exports);
|
17
18
|
__exportStar(require("./interfaces"), exports);
|
18
19
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/gl-codes/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/gl-codes/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,+CAA6B"}
|
@@ -11,19 +11,3 @@ export interface ResourcesGLsResult {
|
|
11
11
|
resourceType: ResourceNameTypeEnum;
|
12
12
|
resourceGLs: ResourceToGL[];
|
13
13
|
}
|
14
|
-
export declare enum GlResourceTypeEnum {
|
15
|
-
EVENT = "event",
|
16
|
-
LEAGUE = "league",
|
17
|
-
MEMBERSHIP = "membership",
|
18
|
-
PROGRAM = "program",
|
19
|
-
PROGRAM_SEASON = "program_season",
|
20
|
-
PRODUCT = "product",
|
21
|
-
FEE = "fee",
|
22
|
-
DISCOUNT = "discount",
|
23
|
-
ACTIVITY = "activity",
|
24
|
-
PROGRAM_TYPE = "program_type",
|
25
|
-
TAX = "tax",
|
26
|
-
SEGMENT = "segment",
|
27
|
-
SPACE = "space",
|
28
|
-
FACILITY = "facility"
|
29
|
-
}
|
@@ -1,21 +1,3 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.GlResourceTypeEnum = void 0;
|
4
|
-
var GlResourceTypeEnum;
|
5
|
-
(function (GlResourceTypeEnum) {
|
6
|
-
GlResourceTypeEnum["EVENT"] = "event";
|
7
|
-
GlResourceTypeEnum["LEAGUE"] = "league";
|
8
|
-
GlResourceTypeEnum["MEMBERSHIP"] = "membership";
|
9
|
-
GlResourceTypeEnum["PROGRAM"] = "program";
|
10
|
-
GlResourceTypeEnum["PROGRAM_SEASON"] = "program_season";
|
11
|
-
GlResourceTypeEnum["PRODUCT"] = "product";
|
12
|
-
GlResourceTypeEnum["FEE"] = "fee";
|
13
|
-
GlResourceTypeEnum["DISCOUNT"] = "discount";
|
14
|
-
GlResourceTypeEnum["ACTIVITY"] = "activity";
|
15
|
-
GlResourceTypeEnum["PROGRAM_TYPE"] = "program_type";
|
16
|
-
GlResourceTypeEnum["TAX"] = "tax";
|
17
|
-
GlResourceTypeEnum["SEGMENT"] = "segment";
|
18
|
-
GlResourceTypeEnum["SPACE"] = "space";
|
19
|
-
GlResourceTypeEnum["FACILITY"] = "facility";
|
20
|
-
})(GlResourceTypeEnum = exports.GlResourceTypeEnum || (exports.GlResourceTypeEnum = {}));
|
21
3
|
//# sourceMappingURL=gl-code.interfaces.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"gl-code.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/gl-codes/types/interfaces/gl-code.interfaces.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"gl-code.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/gl-codes/types/interfaces/gl-code.interfaces.ts"],"names":[],"mappings":""}
|
@@ -9,7 +9,7 @@ import { PurchasedResourceDto } from '../../reservations/dto/purcased-resource.d
|
|
9
9
|
import { Addon } from '../../reservations/entities/addon.entity';
|
10
10
|
import { Slot } from '../../reservations/entities/slot.entity';
|
11
11
|
import { ActivityEnum, OrderByEnum, ProgramTypesEnum, ResourceAgesEnum, ResourceNameTypeEnum, ResourceTypeEnum, SportsEnum } from '../../services/enums.service';
|
12
|
-
import { OrderByResourceEnum } from '../types/enums/resources.enums';
|
12
|
+
import { InvalidResourceReasonsEnum, OrderByResourceEnum } from '../types/enums/resources.enums';
|
13
13
|
import { IGetResourceByIdsOptions, IGetResourcesOptions } from '../types/interfaces/resource.interfaces';
|
14
14
|
export declare class ResourceDto implements IResource {
|
15
15
|
id?: number;
|
@@ -20,6 +20,8 @@ export declare class ResourceDto implements IResource {
|
|
20
20
|
}
|
21
21
|
export declare class InvalidResourceDto extends ResourceDto {
|
22
22
|
name?: string;
|
23
|
+
reasonType: InvalidResourceReasonsEnum;
|
24
|
+
reasons?: IdAndNameDto[];
|
23
25
|
}
|
24
26
|
export declare class SimpleResourceDto extends IdAndNameDto {
|
25
27
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"resource.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/resource.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAsF;AAEtF,8EAA8E;AAkB9E,MAAa,WAAW;CAUvB;AAVD,kCAUC;AAED,MAAa,kBAAmB,SAAQ,WAAW;
|
1
|
+
{"version":3,"file":"resource.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/resource.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAsF;AAEtF,8EAA8E;AAkB9E,MAAa,WAAW;CAUvB;AAVD,kCAUC;AAED,MAAa,kBAAmB,SAAQ,WAAW;CAMlD;AAND,gDAMC;AAED,MAAa,iBAAkB,SAAQ,0BAAY;CAAG;AAAtD,8CAAsD;AAEtD,MAAa,eAAgB,SAAQ,mBAAK;CAgDzC;AAhDD,0CAgDC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,+BAA+B;CAY3C;AAZD,0EAYC;AAED,MAAa,yBAA0B,SAAQ,sCAAwB;CAQtE;AARD,8DAQC;AAED,MAAa,kCAAmC,SAAQ,sCAAmB;CAE1E;AAFD,gFAEC;AAED,MAAa,2BAA4B,SAAQ,sCAAmB;CAEnE;AAFD,kEAEC;AAED,MAAa,uCAAwC,SAAQ,kCAAkC;CAE9F;AAFD,0FAEC;AAED,MAAa,6BAA8B,SAAQ,sCAAmB;CAErE;AAFD,sEAEC;AAED,MAAa,wBAAwB;CAUpC;AAVD,4DAUC;AAED,MAAa,iBAAiB;CAE7B;AAFD,8CAEC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,iBAAiB;CAwB7B;AAxBD,8CAwBC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.OrderByResourceEnum = void 0;
|
3
|
+
exports.InvalidResourceReasonsEnum = exports.OrderByResourceEnum = void 0;
|
4
4
|
var OrderByResourceEnum;
|
5
5
|
(function (OrderByResourceEnum) {
|
6
6
|
OrderByResourceEnum["ID"] = "id";
|
@@ -12,4 +12,9 @@ var OrderByResourceEnum;
|
|
12
12
|
OrderByResourceEnum["EMAIL"] = "email";
|
13
13
|
OrderByResourceEnum["STATUS"] = "status";
|
14
14
|
})(OrderByResourceEnum = exports.OrderByResourceEnum || (exports.OrderByResourceEnum = {}));
|
15
|
+
var InvalidResourceReasonsEnum;
|
16
|
+
(function (InvalidResourceReasonsEnum) {
|
17
|
+
InvalidResourceReasonsEnum["FACILITY"] = "facility";
|
18
|
+
InvalidResourceReasonsEnum["SPORT"] = "sport";
|
19
|
+
})(InvalidResourceReasonsEnum = exports.InvalidResourceReasonsEnum || (exports.InvalidResourceReasonsEnum = {}));
|
15
20
|
//# sourceMappingURL=resources.enums.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"resources.enums.js","sourceRoot":"","sources":["../../../../../src/types/resources/types/enums/resources.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBASX;AATD,WAAY,mBAAmB;IAC9B,gCAAS,CAAA;IACT,oCAAa,CAAA;IACb,+CAAwB,CAAA;IACxB,qDAA8B,CAAA;IAC9B,+CAAwB,CAAA;IACxB,6CAAsB,CAAA;IACtB,sCAAe,CAAA;IACf,wCAAiB,CAAA;AAClB,CAAC,EATW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAS9B"}
|
1
|
+
{"version":3,"file":"resources.enums.js","sourceRoot":"","sources":["../../../../../src/types/resources/types/enums/resources.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBASX;AATD,WAAY,mBAAmB;IAC9B,gCAAS,CAAA;IACT,oCAAa,CAAA;IACb,+CAAwB,CAAA;IACxB,qDAA8B,CAAA;IAC9B,+CAAwB,CAAA;IACxB,6CAAsB,CAAA;IACtB,sCAAe,CAAA;IACf,wCAAiB,CAAA;AAClB,CAAC,EATW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAS9B;AAED,IAAY,0BAGX;AAHD,WAAY,0BAA0B;IACrC,mDAAqB,CAAA;IACrB,6CAAe,CAAA;AAChB,CAAC,EAHW,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAGrC"}
|