@bondsports/types 1.19.79 → 1.19.80
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/index.d.ts +1 -0
- package/dist/types/index.js +1 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/punch-pass/dto/index.d.ts +1 -0
- package/dist/types/punch-pass/dto/index.js +18 -0
- package/dist/types/punch-pass/dto/index.js.map +1 -0
- package/dist/types/punch-pass/dto/punch-pass.dto.d.ts +46 -0
- package/dist/types/punch-pass/dto/punch-pass.dto.js +17 -0
- package/dist/types/punch-pass/dto/punch-pass.dto.js.map +1 -0
- package/dist/types/punch-pass/index.d.ts +2 -0
- package/dist/types/punch-pass/index.js +19 -0
- package/dist/types/punch-pass/index.js.map +1 -0
- package/dist/types/punch-pass/types/enums.d.ts +9 -0
- package/dist/types/punch-pass/types/enums.js +19 -0
- package/dist/types/punch-pass/types/enums.js.map +1 -0
- package/dist/types/punch-pass/types/index.d.ts +1 -0
- package/dist/types/punch-pass/types/index.js +18 -0
- package/dist/types/punch-pass/types/index.js.map +1 -0
- package/package.json +1 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ export * from './pricing';
|
|
|
21
21
|
export * from './product-pricing';
|
|
22
22
|
export * from './programs';
|
|
23
23
|
export * from './programs-seasons';
|
|
24
|
+
export * from './punch-pass';
|
|
24
25
|
export * from './purchase';
|
|
25
26
|
export * from './questionnaires';
|
|
26
27
|
export * from './reservations';
|
package/dist/types/index.js
CHANGED
|
@@ -37,6 +37,7 @@ __exportStar(require("./pricing"), exports);
|
|
|
37
37
|
__exportStar(require("./product-pricing"), exports);
|
|
38
38
|
__exportStar(require("./programs"), exports);
|
|
39
39
|
__exportStar(require("./programs-seasons"), exports);
|
|
40
|
+
__exportStar(require("./punch-pass"), exports);
|
|
40
41
|
__exportStar(require("./purchase"), exports);
|
|
41
42
|
__exportStar(require("./questionnaires"), exports);
|
|
42
43
|
__exportStar(require("./reservations"), 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,8CAA4B;AAC5B,wCAAsB;AACtB,2CAAyB;AACzB,kDAAgC;AAChC,wCAAsB;AACtB,6CAA2B;AAC3B,2CAAyB;AACzB,gDAA8B;AAC9B,4CAA0B;AAC1B,2CAAyB;AACzB,0CAAwB;AACxB,+CAA6B;AAC7B,2CAAyB;AACzB,mDAAiC;AACjC,0CAAwB;AACxB,kDAAgC;AAChC,iDAA+B;AAC/B,4CAA0B;AAC1B,4CAA0B;AAC1B,oDAAkC;AAClC,6CAA2B;AAC3B,qDAAmC;AACnC,6CAA2B;AAC3B,mDAAiC;AACjC,iDAA+B;AAC/B,sDAAoC;AACpC,0CAAwB;AACxB,6CAA2B;AAC3B,2CAAyB;AACzB,2CAAyB;AACzB,yCAAuB;AACvB,yCAAuB;AACvB,4CAA0B;AAC1B,6CAA2B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,8CAA4B;AAC5B,wCAAsB;AACtB,2CAAyB;AACzB,kDAAgC;AAChC,wCAAsB;AACtB,6CAA2B;AAC3B,2CAAyB;AACzB,gDAA8B;AAC9B,4CAA0B;AAC1B,2CAAyB;AACzB,0CAAwB;AACxB,+CAA6B;AAC7B,2CAAyB;AACzB,mDAAiC;AACjC,0CAAwB;AACxB,kDAAgC;AAChC,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,0CAAwB;AACxB,6CAA2B;AAC3B,2CAAyB;AACzB,2CAAyB;AACzB,yCAAuB;AACvB,yCAAuB;AACvB,4CAA0B;AAC1B,6CAA2B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './punch-pass.dto';
|
|
@@ -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("./punch-pass.dto"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/punch-pass/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { SimpleProgramDto } from '../../programs/dto/program.dto';
|
|
2
|
+
import { SimpleSessionDto } from '../../programs-seasons/dto/program-seasons.dto';
|
|
3
|
+
import { SimpleProductDto } from '../../dto/product.dto';
|
|
4
|
+
import { SimpleResourceDto } from '../../spaces/dto/resource.dto';
|
|
5
|
+
import { SimpleFacilityDto } from '../../dto/facilities.dto';
|
|
6
|
+
import { SimpleEventDto } from '../../dto/events.dto';
|
|
7
|
+
import { SimpleUserDto } from '../../user/dto/user.dto';
|
|
8
|
+
import { PaymentIdDto } from '../../payment/dto/payment.dto';
|
|
9
|
+
import { PunchPassFilterByEnum, PunchPassOrderByEnum, PunchPassSearchByEnum } from '../types/enums';
|
|
10
|
+
import { PaginationQuery } from '../../dto/general.dto';
|
|
11
|
+
import { PaymentStatusEnum } from '../../payment/types/enums/payment.enums';
|
|
12
|
+
export declare class PunchPassFinancialInfoDto {
|
|
13
|
+
price: number;
|
|
14
|
+
invoiceId: number;
|
|
15
|
+
paymentId: number;
|
|
16
|
+
paymentStatus: PaymentStatusEnum;
|
|
17
|
+
isRefunded: boolean;
|
|
18
|
+
isVoided: boolean;
|
|
19
|
+
purchasedOn: Date;
|
|
20
|
+
}
|
|
21
|
+
export declare class PunchPassInfoDto {
|
|
22
|
+
id: number;
|
|
23
|
+
organizationId: number;
|
|
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
|
+
financialInfo: PunchPassFinancialInfoDto;
|
|
33
|
+
payment?: PaymentIdDto;
|
|
34
|
+
}
|
|
35
|
+
export declare class PunchPassEventDto {
|
|
36
|
+
event: SimpleEventDto;
|
|
37
|
+
}
|
|
38
|
+
export declare class GetPassesOptions extends PaginationQuery {
|
|
39
|
+
searchText?: string;
|
|
40
|
+
searchBy?: PunchPassSearchByEnum;
|
|
41
|
+
orderBy?: PunchPassOrderByEnum;
|
|
42
|
+
filters?: PunchPassFilterByEnum[];
|
|
43
|
+
startDate?: Date;
|
|
44
|
+
endDate?: Date;
|
|
45
|
+
includeFinancialInfo?: boolean;
|
|
46
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetPassesOptions = exports.PunchPassEventDto = exports.PunchPassInfoDto = exports.PunchPassFinancialInfoDto = void 0;
|
|
4
|
+
const general_dto_1 = require("../../dto/general.dto");
|
|
5
|
+
class PunchPassFinancialInfoDto {
|
|
6
|
+
}
|
|
7
|
+
exports.PunchPassFinancialInfoDto = PunchPassFinancialInfoDto;
|
|
8
|
+
class PunchPassInfoDto {
|
|
9
|
+
}
|
|
10
|
+
exports.PunchPassInfoDto = PunchPassInfoDto;
|
|
11
|
+
class PunchPassEventDto {
|
|
12
|
+
}
|
|
13
|
+
exports.PunchPassEventDto = PunchPassEventDto;
|
|
14
|
+
class GetPassesOptions extends general_dto_1.PaginationQuery {
|
|
15
|
+
}
|
|
16
|
+
exports.GetPassesOptions = GetPassesOptions;
|
|
17
|
+
//# sourceMappingURL=punch-pass.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"punch-pass.dto.js","sourceRoot":"","sources":["../../../../src/types/punch-pass/dto/punch-pass.dto.ts"],"names":[],"mappings":";;;AASA,uDAAwD;AAGxD,MAAa,yBAAyB;CAcrC;AAdD,8DAcC;AAED,MAAa,gBAAgB;CAwB5B;AAxBD,4CAwBC;AAED,MAAa,iBAAiB;CAE7B;AAFD,8CAEC;AAED,MAAa,gBAAiB,SAAQ,6BAAe;CAcpD;AAdD,4CAcC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
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("./types"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/punch-pass/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,0CAAwB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PunchPassFilterByEnum = exports.PunchPassOrderByEnum = exports.PunchPassSearchByEnum = void 0;
|
|
4
|
+
// TODO: Add the options when searching functionality is added
|
|
5
|
+
var PunchPassSearchByEnum;
|
|
6
|
+
(function (PunchPassSearchByEnum) {
|
|
7
|
+
PunchPassSearchByEnum["USER_NAME"] = "user_name";
|
|
8
|
+
})(PunchPassSearchByEnum = exports.PunchPassSearchByEnum || (exports.PunchPassSearchByEnum = {}));
|
|
9
|
+
// TODO: Add the options when ordering functionality is added
|
|
10
|
+
var PunchPassOrderByEnum;
|
|
11
|
+
(function (PunchPassOrderByEnum) {
|
|
12
|
+
PunchPassOrderByEnum["START_DATE"] = "start_date";
|
|
13
|
+
})(PunchPassOrderByEnum = exports.PunchPassOrderByEnum || (exports.PunchPassOrderByEnum = {}));
|
|
14
|
+
// TODO: Add the options when filtering functionality is added
|
|
15
|
+
var PunchPassFilterByEnum;
|
|
16
|
+
(function (PunchPassFilterByEnum) {
|
|
17
|
+
PunchPassFilterByEnum["DATE_RANGE"] = "date_range";
|
|
18
|
+
})(PunchPassFilterByEnum = exports.PunchPassFilterByEnum || (exports.PunchPassFilterByEnum = {}));
|
|
19
|
+
//# sourceMappingURL=enums.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../../src/types/punch-pass/types/enums.ts"],"names":[],"mappings":";;;AAAA,8DAA8D;AAC9D,IAAY,qBAEX;AAFD,WAAY,qBAAqB;IAChC,gDAAuB,CAAA;AACxB,CAAC,EAFW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAEhC;AAED,6DAA6D;AAC7D,IAAY,oBAEX;AAFD,WAAY,oBAAoB;IAC/B,iDAAyB,CAAA;AAC1B,CAAC,EAFW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAE/B;AAED,8DAA8D;AAC9D,IAAY,qBAEX;AAFD,WAAY,qBAAqB;IAChC,kDAAyB,CAAA;AAC1B,CAAC,EAFW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAEhC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './enums';
|
|
@@ -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("./enums"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/punch-pass/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB"}
|