@bondsports/types 2.4.38-a-2 → 2.4.38
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/general.dto.d.ts +1 -1
- package/dist/types/entity/Facility.d.ts +0 -4
- package/dist/types/entity/Facility.js.map +1 -1
- package/dist/types/entity/Invoice.d.ts +0 -1
- package/dist/types/entity/Invoice.js.map +1 -1
- package/dist/types/facilities/types/facilities.types.d.ts +1 -20
- package/dist/types/fee/dto/fee.dto.d.ts +4 -7
- package/dist/types/fee/dto/fee.dto.js +0 -11
- package/dist/types/fee/dto/fee.dto.js.map +1 -1
- package/dist/types/fee/entities/Fee.d.ts +2 -3
- package/dist/types/fee/entities/Fee.js.map +1 -1
- package/dist/types/fee/types/index.d.ts +0 -1
- package/dist/types/fee/types/index.js +0 -1
- package/dist/types/fee/types/index.js.map +1 -1
- package/dist/types/fee/types/interfaces/fee.interfaces.d.ts +0 -1
- package/dist/types/fee/types/interfaces/fee.interfaces.js.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.js +1 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/payment/dto/payment.dto.d.ts +0 -1
- package/dist/types/payment/dto/payment.dto.js.map +1 -1
- package/dist/types/payment/entities/Payment.d.ts +0 -1
- package/dist/types/payment/entities/Payment.js.map +1 -1
- package/dist/types/payment/types/interfaces/payment.interfaces.d.ts +0 -1
- package/dist/types/public-api/dto/UsagePlanDto.d.ts +4 -0
- package/dist/types/public-api/dto/UsagePlanDto.js +11 -0
- package/dist/types/public-api/dto/UsagePlanDto.js.map +1 -0
- package/dist/types/public-api/dto/index.d.ts +1 -0
- package/dist/types/{tip-configurations/entities → public-api/dto}/index.js +1 -1
- package/dist/types/public-api/dto/index.js.map +1 -0
- package/dist/types/{tip-configurations → public-api}/index.d.ts +0 -1
- package/dist/types/{tip-configurations → public-api}/index.js +0 -1
- package/dist/types/public-api/index.js.map +1 -0
- package/dist/types/public-api/types/enums.d.ts +5 -0
- package/dist/types/public-api/types/enums.js +10 -0
- package/dist/types/public-api/types/enums.js.map +1 -0
- package/dist/types/public-api/types/index.d.ts +1 -0
- package/dist/types/{fee/types/enums → public-api/types}/index.js +1 -1
- package/dist/types/public-api/types/index.js.map +1 -0
- package/dist/types/purchase/dto/purchase.dto.d.ts +0 -2
- package/dist/types/purchase/dto/purchase.dto.js.map +1 -1
- package/package.json +2 -2
- package/LICENSE.md +0 -0
- package/dist/types/fee/types/enums/fee.enums.d.ts +0 -5
- package/dist/types/fee/types/enums/fee.enums.js +0 -10
- package/dist/types/fee/types/enums/fee.enums.js.map +0 -1
- package/dist/types/fee/types/enums/index.d.ts +0 -1
- package/dist/types/fee/types/enums/index.js.map +0 -1
- package/dist/types/tip-configurations/dto/index.d.ts +0 -1
- package/dist/types/tip-configurations/dto/index.js +0 -18
- package/dist/types/tip-configurations/dto/index.js.map +0 -1
- package/dist/types/tip-configurations/dto/tip-configuration.dto.d.ts +0 -43
- package/dist/types/tip-configurations/dto/tip-configuration.dto.js +0 -37
- package/dist/types/tip-configurations/dto/tip-configuration.dto.js.map +0 -1
- package/dist/types/tip-configurations/entities/TipConfiguration.d.ts +0 -11
- package/dist/types/tip-configurations/entities/TipConfiguration.js +0 -8
- package/dist/types/tip-configurations/entities/TipConfiguration.js.map +0 -1
- package/dist/types/tip-configurations/entities/index.d.ts +0 -1
- package/dist/types/tip-configurations/entities/index.js.map +0 -1
- package/dist/types/tip-configurations/index.js.map +0 -1
- package/dist/types/tip-configurations/types/consts/index.d.ts +0 -1
- package/dist/types/tip-configurations/types/consts/index.js +0 -18
- package/dist/types/tip-configurations/types/consts/index.js.map +0 -1
- package/dist/types/tip-configurations/types/consts/tip-configuration.consts.d.ts +0 -4
- package/dist/types/tip-configurations/types/consts/tip-configuration.consts.js +0 -7
- package/dist/types/tip-configurations/types/consts/tip-configuration.consts.js.map +0 -1
- package/dist/types/tip-configurations/types/enums/index.d.ts +0 -1
- package/dist/types/tip-configurations/types/enums/index.js +0 -18
- package/dist/types/tip-configurations/types/enums/index.js.map +0 -1
- package/dist/types/tip-configurations/types/enums/tipping-mode.enum.d.ts +0 -9
- package/dist/types/tip-configurations/types/enums/tipping-mode.enum.js +0 -15
- package/dist/types/tip-configurations/types/enums/tipping-mode.enum.js.map +0 -1
- package/dist/types/tip-configurations/types/index.d.ts +0 -3
- package/dist/types/tip-configurations/types/index.js +0 -20
- package/dist/types/tip-configurations/types/index.js.map +0 -1
- package/dist/types/tip-configurations/types/interfaces/index.d.ts +0 -1
- package/dist/types/tip-configurations/types/interfaces/index.js +0 -18
- package/dist/types/tip-configurations/types/interfaces/index.js.map +0 -1
- package/dist/types/tip-configurations/types/interfaces/tip-configuration.interfaces.d.ts +0 -39
- package/dist/types/tip-configurations/types/interfaces/tip-configuration.interfaces.js +0 -3
- package/dist/types/tip-configurations/types/interfaces/tip-configuration.interfaces.js.map +0 -1
|
@@ -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("./tip-configuration.consts"), exports);
|
|
18
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/tip-configurations/types/consts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6DAA2C"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TIPS_EXPECTED_VALUES_LENGTH = exports.TIP_CONFIG_FIELDS = exports.MAX_TIP_PERCENTAGE = void 0;
|
|
4
|
-
exports.MAX_TIP_PERCENTAGE = 50;
|
|
5
|
-
exports.TIP_CONFIG_FIELDS = ['percentages', 'fixedAmounts', 'smartTipThreshold'];
|
|
6
|
-
exports.TIPS_EXPECTED_VALUES_LENGTH = 3;
|
|
7
|
-
//# sourceMappingURL=tip-configuration.consts.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tip-configuration.consts.js","sourceRoot":"","sources":["../../../../../src/types/tip-configurations/types/consts/tip-configuration.consts.ts"],"names":[],"mappings":";;;AAEa,QAAA,kBAAkB,GAAG,EAAE,CAAC;AAExB,QAAA,iBAAiB,GAAgC,CAAC,aAAa,EAAE,cAAc,EAAE,mBAAmB,CAAC,CAAC;AAEtG,QAAA,2BAA2B,GAAG,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './tipping-mode.enum';
|
|
@@ -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("./tipping-mode.enum"), exports);
|
|
18
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/tip-configurations/types/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TipConfigOrderByEnum = exports.TippingModeEnum = void 0;
|
|
4
|
-
var TippingModeEnum;
|
|
5
|
-
(function (TippingModeEnum) {
|
|
6
|
-
TippingModeEnum["FIXED"] = "FIXED";
|
|
7
|
-
TippingModeEnum["PERCENTAGE"] = "PERCENTAGE";
|
|
8
|
-
TippingModeEnum["SMART"] = "SMART";
|
|
9
|
-
})(TippingModeEnum = exports.TippingModeEnum || (exports.TippingModeEnum = {}));
|
|
10
|
-
var TipConfigOrderByEnum;
|
|
11
|
-
(function (TipConfigOrderByEnum) {
|
|
12
|
-
TipConfigOrderByEnum["UPDATED_AT"] = "updatedAt";
|
|
13
|
-
TipConfigOrderByEnum["TYPE"] = "type";
|
|
14
|
-
})(TipConfigOrderByEnum = exports.TipConfigOrderByEnum || (exports.TipConfigOrderByEnum = {}));
|
|
15
|
-
//# sourceMappingURL=tipping-mode.enum.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tipping-mode.enum.js","sourceRoot":"","sources":["../../../../../src/types/tip-configurations/types/enums/tipping-mode.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAIX;AAJD,WAAY,eAAe;IAC1B,kCAAe,CAAA;IACf,4CAAyB,CAAA;IACzB,kCAAe,CAAA;AAChB,CAAC,EAJW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAI1B;AAED,IAAY,oBAGX;AAHD,WAAY,oBAAoB;IAC/B,gDAAwB,CAAA;IACxB,qCAAa,CAAA;AACd,CAAC,EAHW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAG/B"}
|
|
@@ -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("./consts"), exports);
|
|
18
|
-
__exportStar(require("./enums"), exports);
|
|
19
|
-
__exportStar(require("./interfaces"), exports);
|
|
20
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/tip-configurations/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,0CAAwB;AACxB,+CAA6B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './tip-configuration.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("./tip-configuration.interfaces"), exports);
|
|
18
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/tip-configurations/types/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iEAA+C"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { OrderByEnum } from '../../../services/enums.service';
|
|
2
|
-
import { IPagination } from '../../../util/models/interfaces/general.interfaces';
|
|
3
|
-
import { TipConfigOrderByEnum, TippingModeEnum } from '../enums/tipping-mode.enum';
|
|
4
|
-
export interface ITipConfigOptions {
|
|
5
|
-
fixedAmounts?: number[];
|
|
6
|
-
percentages?: number[];
|
|
7
|
-
smartTipThreshold?: number;
|
|
8
|
-
}
|
|
9
|
-
export interface ITipConfigFacility {
|
|
10
|
-
id: number;
|
|
11
|
-
locationId: string;
|
|
12
|
-
name: string;
|
|
13
|
-
}
|
|
14
|
-
export interface ITypeAndConfig {
|
|
15
|
-
config: ITipConfigOptions;
|
|
16
|
-
type: TippingModeEnum;
|
|
17
|
-
}
|
|
18
|
-
export interface ICreateTipConfig {
|
|
19
|
-
allFacilities?: boolean;
|
|
20
|
-
config: ITipConfigOptions;
|
|
21
|
-
facilityIds?: number[];
|
|
22
|
-
type: TippingModeEnum;
|
|
23
|
-
}
|
|
24
|
-
export interface IUpdateTipConfig {
|
|
25
|
-
allFacilities?: boolean;
|
|
26
|
-
config?: ITipConfigOptions;
|
|
27
|
-
facilitiesIdsToAdd?: number[];
|
|
28
|
-
facilitiesIdsToRemove?: number[];
|
|
29
|
-
type?: TippingModeEnum;
|
|
30
|
-
}
|
|
31
|
-
export interface ICleanupOrphanedTipConfigsOptions {
|
|
32
|
-
specificIds?: number[];
|
|
33
|
-
}
|
|
34
|
-
export interface IListTipConfigFilters extends IPagination {
|
|
35
|
-
order?: OrderByEnum;
|
|
36
|
-
search?: string;
|
|
37
|
-
sortBy?: TipConfigOrderByEnum;
|
|
38
|
-
types?: TippingModeEnum[];
|
|
39
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tip-configuration.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/tip-configurations/types/interfaces/tip-configuration.interfaces.ts"],"names":[],"mappings":""}
|