@bondsports/types 2.3.6-c-3 → 2.3.8-c-1
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/LICENSE.md +0 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/index.d.ts +0 -1
- package/dist/types/index.js +0 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/payment/dto/payment-plan.dto.d.ts +2 -2
- package/dist/types/payment/dto/payment.dto.d.ts +1 -1
- package/dist/types/payment/types/enums/payment.enums.d.ts +4 -2
- package/dist/types/payment/types/enums/payment.enums.js +7 -1
- package/dist/types/payment/types/enums/payment.enums.js.map +1 -1
- package/package.json +5 -5
- package/dist/types/filters/dto/filters.dto.d.ts +0 -49
- package/dist/types/filters/dto/filters.dto.js +0 -36
- package/dist/types/filters/dto/filters.dto.js.map +0 -1
- package/dist/types/filters/dto/index.d.ts +0 -1
- package/dist/types/filters/dto/index.js +0 -18
- package/dist/types/filters/dto/index.js.map +0 -1
- package/dist/types/filters/entities/Filter.d.ts +0 -14
- package/dist/types/filters/entities/Filter.js +0 -8
- package/dist/types/filters/entities/Filter.js.map +0 -1
- package/dist/types/filters/entities/UserFavoriteFilter.d.ts +0 -13
- package/dist/types/filters/entities/UserFavoriteFilter.js +0 -8
- package/dist/types/filters/entities/UserFavoriteFilter.js.map +0 -1
- package/dist/types/filters/entities/index.d.ts +0 -2
- package/dist/types/filters/entities/index.js +0 -19
- package/dist/types/filters/entities/index.js.map +0 -1
- package/dist/types/filters/index.d.ts +0 -3
- package/dist/types/filters/index.js +0 -20
- package/dist/types/filters/index.js.map +0 -1
- package/dist/types/filters/types/classes/filter.classes.d.ts +0 -7
- package/dist/types/filters/types/classes/filter.classes.js +0 -7
- package/dist/types/filters/types/classes/filter.classes.js.map +0 -1
- package/dist/types/filters/types/classes/index.d.ts +0 -1
- package/dist/types/filters/types/classes/index.js +0 -18
- package/dist/types/filters/types/classes/index.js.map +0 -1
- package/dist/types/filters/types/consts.d.ts +0 -5
- package/dist/types/filters/types/consts.js +0 -10
- package/dist/types/filters/types/consts.js.map +0 -1
- package/dist/types/filters/types/enums/filter.enums.d.ts +0 -8
- package/dist/types/filters/types/enums/filter.enums.js +0 -14
- package/dist/types/filters/types/enums/filter.enums.js.map +0 -1
- package/dist/types/filters/types/enums/index.d.ts +0 -1
- package/dist/types/filters/types/enums/index.js +0 -18
- package/dist/types/filters/types/enums/index.js.map +0 -1
- package/dist/types/filters/types/index.d.ts +0 -4
- package/dist/types/filters/types/index.js +0 -21
- package/dist/types/filters/types/index.js.map +0 -1
- package/dist/types/filters/types/interfaces/filters.interfaces.d.ts +0 -18
- package/dist/types/filters/types/interfaces/filters.interfaces.js +0 -3
- package/dist/types/filters/types/interfaces/filters.interfaces.js.map +0 -1
- package/dist/types/filters/types/interfaces/index.d.ts +0 -1
- package/dist/types/filters/types/interfaces/index.js +0 -18
- package/dist/types/filters/types/interfaces/index.js.map +0 -1
package/dist/types/index.d.ts
CHANGED
package/dist/types/index.js
CHANGED
@@ -28,7 +28,6 @@ __exportStar(require("./errors"), exports);
|
|
28
28
|
__exportStar(require("./facilities"), exports);
|
29
29
|
__exportStar(require("./familyAccount"), exports);
|
30
30
|
__exportStar(require("./fee"), exports);
|
31
|
-
__exportStar(require("./filters"), exports);
|
32
31
|
__exportStar(require("./folders"), exports);
|
33
32
|
__exportStar(require("./future-installments"), exports);
|
34
33
|
__exportStar(require("./gl-codes"), exports);
|
package/dist/types/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,+CAA6B;AAC7B,2CAAyB;AACzB,4CAA0B;AAC1B,+CAA6B;AAC7B,yCAAuB;AACvB,8CAA4B;AAC5B,wCAAsB;AACtB,8CAA4B;AAC5B,2CAAyB;AACzB,2CAAyB;AACzB,+CAA6B;AAC7B,kDAAgC;AAChC,wCAAsB;AACtB,4CAA0B;AAC1B,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,+CAA6B;AAC7B,2CAAyB;AACzB,4CAA0B;AAC1B,+CAA6B;AAC7B,yCAAuB;AACvB,8CAA4B;AAC5B,wCAAsB;AACtB,8CAA4B;AAC5B,2CAAyB;AACzB,2CAAyB;AACzB,+CAA6B;AAC7B,kDAAgC;AAChC,wCAAsB;AACtB,4CAA0B;AAC1B,wDAAsC;AACtC,6CAA2B;AAC3B,2CAAyB;AACzB,gDAA8B;AAC9B,4CAA0B;AAC1B,2CAAyB;AACzB,0CAAwB;AACxB,0CAAwB;AACxB,+CAA6B;AAC7B,mDAAiC;AACjC,0CAAwB;AACxB,kDAAgC;AAChC,mDAAiC;AACjC,iDAA+B;AAC/B,4CAA0B;AAC1B,4CAA0B;AAC1B,oDAAkC;AAClC,6CAA2B;AAC3B,qDAAmC;AACnC,+CAA6B;AAC7B,6CAA2B;AAC3B,mDAAiC;AACjC,iDAA+B;AAC/B,sDAAoC;AACpC,8CAA4B;AAC5B,0CAAwB;AACxB,6CAA2B;AAC3B,yDAAuC;AACvC,2CAAyB;AACzB,yCAAuB;AACvB,oDAAkC;AAClC,wDAAsC;AACtC,yCAAuB;AACvB,4CAA0B;AAC1B,4CAA0B;AAC1B,6CAA2B"}
|
@@ -35,7 +35,7 @@ export declare class BasicInstallmentDataDto extends ByOrganizationIdDto {
|
|
35
35
|
export declare class CreateScheduledPaymentsDto extends BasicInstallmentDataDto {
|
36
36
|
payments: ScheduledPaymentDto[];
|
37
37
|
paymentMethodType: PaymentMethodTypeEnum;
|
38
|
-
|
38
|
+
paymentMethodId: string;
|
39
39
|
}
|
40
40
|
export declare class ScheduledPaymentDto {
|
41
41
|
price: number;
|
@@ -53,7 +53,7 @@ export declare class UpdateScheduledPaymentsDto {
|
|
53
53
|
invoiceId?: number;
|
54
54
|
installmentIds?: number[];
|
55
55
|
paymentMethodType?: PaymentMethodTypeEnum;
|
56
|
-
|
56
|
+
paymentMethodId?: string;
|
57
57
|
userPaymentMethodId?: number;
|
58
58
|
plannedDate?: Date;
|
59
59
|
}
|
@@ -97,7 +97,7 @@ export declare class PaymentIntentDto {
|
|
97
97
|
}
|
98
98
|
export declare class PaymentDataDto {
|
99
99
|
paymentMethodType: PaymentMethodTypeEnum;
|
100
|
-
|
100
|
+
paymentMethodId: string;
|
101
101
|
}
|
102
102
|
export declare class SendReceiptDataDto {
|
103
103
|
paymentId: number;
|
@@ -50,7 +50,8 @@ export declare enum PaymentMethodTypeEnum {
|
|
50
50
|
LOST_DEBT = "lost-debt",
|
51
51
|
VOID = "void",
|
52
52
|
DISCOUNT = "discount",
|
53
|
-
REVERT_DISCOUNT = "revert_discount"
|
53
|
+
REVERT_DISCOUNT = "revert_discount",
|
54
|
+
NOTSET = "not-set"
|
54
55
|
}
|
55
56
|
export declare enum PaymentProcessorEnum {
|
56
57
|
STRIPE = "stripe",
|
@@ -68,7 +69,8 @@ export declare enum FuturePaymentStatusEnum {
|
|
68
69
|
FAILED = "failed",
|
69
70
|
CANCELED = "canceled",
|
70
71
|
PENDING = "pending",
|
71
|
-
RETRY_IN_PROGRESS = "retry_in_progress"
|
72
|
+
RETRY_IN_PROGRESS = "retry_in_progress",
|
73
|
+
NOT_PAID = "not_paid"
|
72
74
|
}
|
73
75
|
export declare const scheduledChargeStatusWithTreansactionFee: FuturePaymentStatusEnum[];
|
74
76
|
export declare const chargeableInstallmentStatuses: FuturePaymentStatusEnum[];
|
@@ -60,6 +60,7 @@ var PaymentMethodTypeEnum;
|
|
60
60
|
PaymentMethodTypeEnum["VOID"] = "void";
|
61
61
|
PaymentMethodTypeEnum["DISCOUNT"] = "discount";
|
62
62
|
PaymentMethodTypeEnum["REVERT_DISCOUNT"] = "revert_discount";
|
63
|
+
PaymentMethodTypeEnum["NOTSET"] = "not-set";
|
63
64
|
})(PaymentMethodTypeEnum = exports.PaymentMethodTypeEnum || (exports.PaymentMethodTypeEnum = {}));
|
64
65
|
var PaymentProcessorEnum;
|
65
66
|
(function (PaymentProcessorEnum) {
|
@@ -81,6 +82,7 @@ var FuturePaymentStatusEnum;
|
|
81
82
|
FuturePaymentStatusEnum["CANCELED"] = "canceled";
|
82
83
|
FuturePaymentStatusEnum["PENDING"] = "pending";
|
83
84
|
FuturePaymentStatusEnum["RETRY_IN_PROGRESS"] = "retry_in_progress";
|
85
|
+
FuturePaymentStatusEnum["NOT_PAID"] = "not_paid";
|
84
86
|
})(FuturePaymentStatusEnum = exports.FuturePaymentStatusEnum || (exports.FuturePaymentStatusEnum = {}));
|
85
87
|
exports.scheduledChargeStatusWithTreansactionFee = [
|
86
88
|
FuturePaymentStatusEnum.FUTURE,
|
@@ -97,7 +99,11 @@ exports.chargeableInstallmentStatuses = [
|
|
97
99
|
* used for validation requested to make sure all failed installments paid.
|
98
100
|
* This array includes the `FAILED` and `RETRY_IN_PROGRESS` statuses from the `FuturePaymentStatusEnum`.
|
99
101
|
*/
|
100
|
-
exports.failedInstallmentStatuses = [
|
102
|
+
exports.failedInstallmentStatuses = [
|
103
|
+
FuturePaymentStatusEnum.FAILED,
|
104
|
+
FuturePaymentStatusEnum.RETRY_IN_PROGRESS,
|
105
|
+
FuturePaymentStatusEnum.NOT_PAID,
|
106
|
+
];
|
101
107
|
/**
|
102
108
|
* Array of future installment statuses.
|
103
109
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"payment.enums.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/enums/payment.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBAWX;AAXD,WAAY,iBAAiB;IAC5B,0CAAqB,CAAA;IACrB,gDAA2B,CAAA;IAC3B,wCAAmB,CAAA;IACnB,0CAAqB,CAAA;IACrB,kCAAa,CAAA;IACb,0CAAqB,CAAA;IACrB,wDAAmC,CAAA;IACnC,sCAAiB,CAAA;IACjB,wCAAmB,CAAA;IACnB,4DAAuC,CAAA;AACxC,CAAC,EAXW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAW5B;AAED,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC9B,uDAAgC,CAAA;IAChC,wCAAiB,CAAA;IACjB,gCAAS,CAAA;IACT,+CAAwB,CAAA;IACxB,sCAAe,CAAA;AAChB,CAAC,EANW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAM9B;AAED,IAAY,cAKX;AALD,WAAY,cAAc;IACzB,mCAAiB,CAAA;IACjB,uCAAqB,CAAA;IACrB,2CAAyB,CAAA;IACzB,uDAAqC,CAAA;AACtC,CAAC,EALW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAKzB;AAED,IAAY,mBASX;AATD,WAAY,mBAAmB;IAC9B,iFAAkB,CAAA;IAClB,qFAAoB,CAAA;IACpB,qEAAY,CAAA;IACZ,qEAAY,CAAA;IACZ,uEAAa,CAAA;IACb,+DAAS,CAAA;IACT,6EAAgB,CAAA;IAChB,mEAAW,CAAA;AACZ,CAAC,EATW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAS9B;AAED,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC7B,+DAAU,CAAA;IACV,2DAAQ,CAAA;AACT,CAAC,EAHW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAG7B;AAED,IAAY,
|
1
|
+
{"version":3,"file":"payment.enums.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/enums/payment.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBAWX;AAXD,WAAY,iBAAiB;IAC5B,0CAAqB,CAAA;IACrB,gDAA2B,CAAA;IAC3B,wCAAmB,CAAA;IACnB,0CAAqB,CAAA;IACrB,kCAAa,CAAA;IACb,0CAAqB,CAAA;IACrB,wDAAmC,CAAA;IACnC,sCAAiB,CAAA;IACjB,wCAAmB,CAAA;IACnB,4DAAuC,CAAA;AACxC,C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CAAa,CAAA;IACb,6CAAyB,CAAA;IACzB,uCAAmB,CAAA;AACpB,CAAC,EAJW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAI3B"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@bondsports/types",
|
3
|
-
"version": "2.3.
|
3
|
+
"version": "2.3.8-c-1",
|
4
4
|
"description": "backend types module for Bond-Sports",
|
5
5
|
"main": "./dist/index.js",
|
6
6
|
"scripts": {
|
@@ -33,12 +33,12 @@
|
|
33
33
|
],
|
34
34
|
"homepage": "https://github.com/Bond-Sports/bondUtils/tree/main/packages/types#readme",
|
35
35
|
"dependencies": {
|
36
|
+
"@bondsports/date-time": "^2.4.48",
|
37
|
+
"@bondsports/notifications-sdk": "latest",
|
36
38
|
"moment": "^2.29.1",
|
37
39
|
"rimraf": "^3.0.2",
|
38
40
|
"stripe": "9.1.0",
|
39
|
-
"typeorm": "^0.2.32"
|
40
|
-
"@bondsports/date-time": "^2.4.48",
|
41
|
-
"@bondsports/notifications-sdk": "latest"
|
41
|
+
"typeorm": "^0.2.32"
|
42
42
|
},
|
43
43
|
"devDependencies": {
|
44
44
|
"@bondsports/eslint-config": "^1.0.2",
|
@@ -50,5 +50,5 @@
|
|
50
50
|
"ts-node": "^10.8.0",
|
51
51
|
"typescript": "^4.4.3"
|
52
52
|
},
|
53
|
-
"gitHead": "
|
53
|
+
"gitHead": "1b99709a3adb1d2795f25bf29ff44ff561967b66"
|
54
54
|
}
|
@@ -1,49 +0,0 @@
|
|
1
|
-
import { FilterGroupEnum, FilterTypeEnum } from '../types/enums/filter.enums';
|
2
|
-
import { IGetPaginatedFiltersOptions } from '../types/interfaces/filters.interfaces';
|
3
|
-
import { PaginationQuery } from '../../dto/general.dto';
|
4
|
-
import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
|
5
|
-
export declare class ByOrganizationFilterDto {
|
6
|
-
organizationId: number;
|
7
|
-
type: FilterTypeEnum;
|
8
|
-
}
|
9
|
-
export declare class ByFilterIdDto extends ByOrganizationIdDto {
|
10
|
-
filterId: number;
|
11
|
-
}
|
12
|
-
export declare class ByOrganizationUserIdDto extends ByOrganizationFilterDto {
|
13
|
-
userId: number;
|
14
|
-
}
|
15
|
-
export declare class ByUserAndFilterDto extends ByOrganizationUserIdDto {
|
16
|
-
filterId: number;
|
17
|
-
}
|
18
|
-
export declare class GetPaginatedFilterOptionsDto extends PaginationQuery implements Omit<IGetPaginatedFiltersOptions, 'organizationId'> {
|
19
|
-
facilityId?: number;
|
20
|
-
userId?: number;
|
21
|
-
search?: string;
|
22
|
-
}
|
23
|
-
export declare class FilterDto {
|
24
|
-
id: number;
|
25
|
-
type: FilterTypeEnum;
|
26
|
-
name: string;
|
27
|
-
options: any;
|
28
|
-
isDefault?: boolean;
|
29
|
-
groupType: FilterGroupEnum;
|
30
|
-
}
|
31
|
-
export declare class UserDefaultFiltersDto {
|
32
|
-
default?: FilterDto;
|
33
|
-
organizationDefault?: FilterDto;
|
34
|
-
systemFilters: FilterDto[];
|
35
|
-
}
|
36
|
-
export declare class CreateFilterDto {
|
37
|
-
name: string;
|
38
|
-
options: any;
|
39
|
-
facilityId?: number;
|
40
|
-
organizationId?: number;
|
41
|
-
userId?: number;
|
42
|
-
isDefault?: boolean;
|
43
|
-
}
|
44
|
-
export declare class ByOptionalFacilityIdDto {
|
45
|
-
facilityId?: number;
|
46
|
-
}
|
47
|
-
export declare class DeleteFilterDto extends ByOptionalFacilityIdDto {
|
48
|
-
userId?: number;
|
49
|
-
}
|
@@ -1,36 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.DeleteFilterDto = exports.ByOptionalFacilityIdDto = exports.CreateFilterDto = exports.UserDefaultFiltersDto = exports.FilterDto = exports.GetPaginatedFilterOptionsDto = exports.ByUserAndFilterDto = exports.ByOrganizationUserIdDto = exports.ByFilterIdDto = exports.ByOrganizationFilterDto = void 0;
|
4
|
-
const general_dto_1 = require("../../dto/general.dto");
|
5
|
-
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
6
|
-
class ByOrganizationFilterDto {
|
7
|
-
}
|
8
|
-
exports.ByOrganizationFilterDto = ByOrganizationFilterDto;
|
9
|
-
class ByFilterIdDto extends organization_dto_1.ByOrganizationIdDto {
|
10
|
-
}
|
11
|
-
exports.ByFilterIdDto = ByFilterIdDto;
|
12
|
-
class ByOrganizationUserIdDto extends ByOrganizationFilterDto {
|
13
|
-
}
|
14
|
-
exports.ByOrganizationUserIdDto = ByOrganizationUserIdDto;
|
15
|
-
class ByUserAndFilterDto extends ByOrganizationUserIdDto {
|
16
|
-
}
|
17
|
-
exports.ByUserAndFilterDto = ByUserAndFilterDto;
|
18
|
-
class GetPaginatedFilterOptionsDto extends general_dto_1.PaginationQuery {
|
19
|
-
}
|
20
|
-
exports.GetPaginatedFilterOptionsDto = GetPaginatedFilterOptionsDto;
|
21
|
-
class FilterDto {
|
22
|
-
}
|
23
|
-
exports.FilterDto = FilterDto;
|
24
|
-
class UserDefaultFiltersDto {
|
25
|
-
}
|
26
|
-
exports.UserDefaultFiltersDto = UserDefaultFiltersDto;
|
27
|
-
class CreateFilterDto {
|
28
|
-
}
|
29
|
-
exports.CreateFilterDto = CreateFilterDto;
|
30
|
-
class ByOptionalFacilityIdDto {
|
31
|
-
}
|
32
|
-
exports.ByOptionalFacilityIdDto = ByOptionalFacilityIdDto;
|
33
|
-
class DeleteFilterDto extends ByOptionalFacilityIdDto {
|
34
|
-
}
|
35
|
-
exports.DeleteFilterDto = DeleteFilterDto;
|
36
|
-
//# sourceMappingURL=filters.dto.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"filters.dto.js","sourceRoot":"","sources":["../../../../src/types/filters/dto/filters.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAwD;AACxD,8EAA8E;AAE9E,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,aAAc,SAAQ,sCAAmB;CAErD;AAFD,sCAEC;AAED,MAAa,uBAAwB,SAAQ,uBAAuB;CAEnE;AAFD,0DAEC;AAED,MAAa,kBAAmB,SAAQ,uBAAuB;CAE9D;AAFD,gDAEC;AAED,MAAa,4BACZ,SAAQ,6BAAe;CAOvB;AARD,oEAQC;AAED,MAAa,SAAS;CAYrB;AAZD,8BAYC;AAED,MAAa,qBAAqB;CAMjC;AAND,sDAMC;AAED,MAAa,eAAe;CAY3B;AAZD,0CAYC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,eAAgB,SAAQ,uBAAuB;CAE3D;AAFD,0CAEC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './filters.dto';
|
@@ -1,18 +0,0 @@
|
|
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("./filters.dto"), exports);
|
18
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/filters/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B"}
|
@@ -1,14 +0,0 @@
|
|
1
|
-
import { BondBaseEntity } from '../../entity/BondBaseEntity';
|
2
|
-
import { FilterTypeEnum } from '../types/enums/filter.enums';
|
3
|
-
import { UserFavoriteFilter } from './UserFavoriteFilter';
|
4
|
-
export declare class Filter extends BondBaseEntity {
|
5
|
-
organizationId: number;
|
6
|
-
facilityId: number;
|
7
|
-
userId: number;
|
8
|
-
options: any;
|
9
|
-
name: string;
|
10
|
-
creatorId?: number;
|
11
|
-
type: FilterTypeEnum;
|
12
|
-
deletedAt?: Date;
|
13
|
-
userFavorites?: UserFavoriteFilter[];
|
14
|
-
}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.Filter = void 0;
|
4
|
-
const BondBaseEntity_1 = require("../../entity/BondBaseEntity");
|
5
|
-
class Filter extends BondBaseEntity_1.BondBaseEntity {
|
6
|
-
}
|
7
|
-
exports.Filter = Filter;
|
8
|
-
//# sourceMappingURL=Filter.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"Filter.js","sourceRoot":"","sources":["../../../../src/types/filters/entities/Filter.ts"],"names":[],"mappings":";;;AAAA,gEAA6D;AAK7D,MAAa,MAAO,SAAQ,+BAAc;CAkBzC;AAlBD,wBAkBC"}
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import { BondBaseEntity } from '../../entity/BondBaseEntity';
|
2
|
-
import { Filter } from './Filter';
|
3
|
-
import { FilterTypeEnum } from '../types/enums/filter.enums';
|
4
|
-
export declare class UserFavoriteFilter extends BondBaseEntity {
|
5
|
-
userId: number;
|
6
|
-
filterId: number;
|
7
|
-
organizationId: number;
|
8
|
-
facilityId: number;
|
9
|
-
type: FilterTypeEnum;
|
10
|
-
isDefault: boolean;
|
11
|
-
deletedAt?: Date;
|
12
|
-
filter: Filter;
|
13
|
-
}
|
@@ -1,8 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.UserFavoriteFilter = void 0;
|
4
|
-
const BondBaseEntity_1 = require("../../entity/BondBaseEntity");
|
5
|
-
class UserFavoriteFilter extends BondBaseEntity_1.BondBaseEntity {
|
6
|
-
}
|
7
|
-
exports.UserFavoriteFilter = UserFavoriteFilter;
|
8
|
-
//# sourceMappingURL=UserFavoriteFilter.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"UserFavoriteFilter.js","sourceRoot":"","sources":["../../../../src/types/filters/entities/UserFavoriteFilter.ts"],"names":[],"mappings":";;;AACA,gEAA6D;AAI7D,MAAa,kBAAmB,SAAQ,+BAAc;CAgBrD;AAhBD,gDAgBC"}
|
@@ -1,19 +0,0 @@
|
|
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("./Filter"), exports);
|
18
|
-
__exportStar(require("./UserFavoriteFilter"), exports);
|
19
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/filters/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,uDAAqC"}
|
@@ -1,20 +0,0 @@
|
|
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("./dto"), exports);
|
18
|
-
__exportStar(require("./entities"), exports);
|
19
|
-
__exportStar(require("./types"), exports);
|
20
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/filters/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,6CAA2B;AAC3B,0CAAwB"}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { ResourceSubTypeEnum, ResourceTypeEnum, SportsEnum } from '../../../services/enums.service';
|
2
|
-
export declare class CalendarFilterOptions {
|
3
|
-
resourcesTypes?: ResourceTypeEnum[];
|
4
|
-
activityTypes?: SportsEnum[];
|
5
|
-
resourcesIds?: number[];
|
6
|
-
spaceSubtypes?: ResourceSubTypeEnum[];
|
7
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"filter.classes.js","sourceRoot":"","sources":["../../../../../src/types/filters/types/classes/filter.classes.ts"],"names":[],"mappings":";;;AAEA,MAAa,qBAAqB;CAQjC;AARD,sDAQC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './filter.classes';
|
@@ -1,18 +0,0 @@
|
|
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("./filter.classes"), exports);
|
18
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/filters/types/classes/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC"}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.FILTER_TYPES_MAP = exports.BOND_DEFAULT_ORGANIZATION_ID = void 0;
|
4
|
-
const filter_enums_1 = require("./enums/filter.enums");
|
5
|
-
const filter_classes_1 = require("./classes/filter.classes");
|
6
|
-
exports.BOND_DEFAULT_ORGANIZATION_ID = 0;
|
7
|
-
exports.FILTER_TYPES_MAP = {
|
8
|
-
[filter_enums_1.FilterTypeEnum.CALENDAR]: filter_classes_1.CalendarFilterOptions,
|
9
|
-
};
|
10
|
-
//# sourceMappingURL=consts.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"consts.js","sourceRoot":"","sources":["../../../../src/types/filters/types/consts.ts"],"names":[],"mappings":";;;AAAA,uDAAsD;AACtD,6DAAiE;AAEpD,QAAA,4BAA4B,GAAG,CAAC,CAAC;AAEjC,QAAA,gBAAgB,GAAG;IAC/B,CAAC,6BAAc,CAAC,QAAQ,CAAC,EAAE,sCAAqB;CAChD,CAAC"}
|
@@ -1,14 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.FilterGroupEnum = exports.FilterTypeEnum = void 0;
|
4
|
-
var FilterTypeEnum;
|
5
|
-
(function (FilterTypeEnum) {
|
6
|
-
FilterTypeEnum["CALENDAR"] = "calendar";
|
7
|
-
})(FilterTypeEnum = exports.FilterTypeEnum || (exports.FilterTypeEnum = {}));
|
8
|
-
var FilterGroupEnum;
|
9
|
-
(function (FilterGroupEnum) {
|
10
|
-
FilterGroupEnum["CUSTOM"] = "custom";
|
11
|
-
FilterGroupEnum["ORGANIZATION"] = "organization";
|
12
|
-
FilterGroupEnum["SYSTEM"] = "system";
|
13
|
-
})(FilterGroupEnum = exports.FilterGroupEnum || (exports.FilterGroupEnum = {}));
|
14
|
-
//# sourceMappingURL=filter.enums.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"filter.enums.js","sourceRoot":"","sources":["../../../../../src/types/filters/types/enums/filter.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,cAEX;AAFD,WAAY,cAAc;IACzB,uCAAqB,CAAA;AACtB,CAAC,EAFW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAEzB;AAED,IAAY,eAIX;AAJD,WAAY,eAAe;IAC1B,oCAAiB,CAAA;IACjB,gDAA6B,CAAA;IAC7B,oCAAiB,CAAA;AAClB,CAAC,EAJW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAI1B"}
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './filter.enums';
|
@@ -1,18 +0,0 @@
|
|
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("./filter.enums"), exports);
|
18
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/filters/types/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B"}
|
@@ -1,21 +0,0 @@
|
|
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("./classes"), exports);
|
18
|
-
__exportStar(require("./consts"), exports);
|
19
|
-
__exportStar(require("./enums"), exports);
|
20
|
-
__exportStar(require("./interfaces"), exports);
|
21
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/filters/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,2CAAyB;AACzB,0CAAwB;AACxB,+CAA6B"}
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import { Filter } from '../../entities/Filter';
|
2
|
-
export interface IGetFilterOptions {
|
3
|
-
organizationId?: number;
|
4
|
-
facilityId?: number;
|
5
|
-
userId?: number;
|
6
|
-
}
|
7
|
-
export interface IGetPaginatedFiltersOptions extends IGetFilterOptions {
|
8
|
-
search?: string;
|
9
|
-
}
|
10
|
-
export interface IGetFavoriteFilters {
|
11
|
-
default?: Filter;
|
12
|
-
systemFilters: Filter[];
|
13
|
-
/**
|
14
|
-
* The default filter for the organization.
|
15
|
-
* This is a future feature that will be implemented.
|
16
|
-
*/
|
17
|
-
organizationDefault?: Filter;
|
18
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"filters.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/filters/types/interfaces/filters.interfaces.ts"],"names":[],"mappings":""}
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './filters.interfaces';
|
@@ -1,18 +0,0 @@
|
|
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("./filters.interfaces"), exports);
|
18
|
-
//# sourceMappingURL=index.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/filters/types/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC"}
|