@bondsports/types 2.2.244 → 2.2.246
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/entity/MembershipMember.d.ts +1 -0
- package/dist/types/entity/MembershipMember.js.map +1 -1
- package/dist/types/entity/index.d.ts +0 -1
- package/dist/types/entity/index.js +0 -1
- package/dist/types/entity/index.js.map +1 -1
- package/dist/types/invoice/types/interfaces/invoice.interfaces.d.ts +2 -0
- package/dist/types/invoice/types/interfaces/invoice.interfaces.js.map +1 -1
- package/dist/types/membership/types/membership.interfaces.d.ts +0 -1
- package/dist/types/notifications/dto/index.d.ts +1 -0
- package/dist/types/notifications/dto/index.js +1 -0
- package/dist/types/notifications/dto/index.js.map +1 -1
- package/dist/types/notifications/dto/notification.create.dto.d.ts +6 -6
- package/dist/types/notifications/dto/notification.create.dto.js +6 -6
- package/dist/types/notifications/dto/notification.create.dto.js.map +1 -1
- package/dist/types/notifications/dto/notification.response.dto.d.ts +3 -3
- package/dist/types/notifications/dto/notification.response.dto.js.map +1 -1
- package/dist/types/notifications/dto/types/enums/index.js.map +1 -0
- package/dist/types/notifications/dto/types/enums/notification.enums.d.ts +2 -0
- package/dist/types/notifications/dto/types/enums/notification.enums.js +8 -0
- package/dist/types/notifications/dto/types/enums/notification.enums.js.map +1 -0
- package/dist/types/notifications/dto/types/index.js.map +1 -0
- package/dist/types/notifications/index.d.ts +0 -1
- package/dist/types/notifications/index.js +0 -1
- package/dist/types/notifications/index.js.map +1 -1
- package/dist/types/payment/dto/payment-plan.dto.d.ts +3 -2
- package/dist/types/payment/entities/ProductPaymentPlan.d.ts +3 -2
- package/dist/types/payment/types/enums/payment-plan.enums.d.ts +0 -7
- package/dist/types/payment/types/enums/payment-plan.enums.js +1 -9
- package/dist/types/payment/types/enums/payment-plan.enums.js.map +1 -1
- package/dist/types/programs/dto/program.dto.d.ts +3 -0
- package/dist/types/programs/dto/program.dto.js +4 -1
- package/dist/types/programs/dto/program.dto.js.map +1 -1
- package/dist/types/reservations/dto/addon.dto.d.ts +2 -0
- package/dist/types/reservations/dto/addon.dto.js.map +1 -1
- package/dist/types/reservations/dto/reservation.dto.d.ts +5 -5
- package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
- package/dist/types/reservations/types/classes/addon.classes.d.ts +1 -0
- package/dist/types/reservations/types/classes/addon.classes.js.map +1 -1
- package/dist/types/reservations/types/interfaces/reservation.interfaces.d.ts +32 -10
- package/dist/types/reservations/types/interfaces/reservation.interfaces.js.map +1 -1
- package/dist/types/roles/types/role.enums.d.ts +7 -1
- package/dist/types/roles/types/role.enums.js +6 -0
- package/dist/types/roles/types/role.enums.js.map +1 -1
- package/dist/types/webflow/dto/index.d.ts +1 -0
- package/dist/types/webflow/dto/index.js +18 -0
- package/dist/types/webflow/dto/index.js.map +1 -0
- package/dist/types/webflow/dto/webflowProgram.dto.d.ts +14 -0
- package/dist/types/webflow/dto/webflowProgram.dto.js +7 -0
- package/dist/types/webflow/dto/webflowProgram.dto.js.map +1 -0
- package/dist/types/{entity → webflow/entities}/WebflowOrganizationConfiguration.d.ts +1 -1
- package/dist/types/{entity → webflow/entities}/WebflowOrganizationConfiguration.js +1 -1
- package/dist/types/webflow/entities/WebflowOrganizationConfiguration.js.map +1 -0
- package/dist/types/webflow/entities/index.d.ts +1 -0
- package/dist/types/webflow/entities/index.js +18 -0
- package/dist/types/webflow/entities/index.js.map +1 -0
- package/dist/types/webflow/index.d.ts +2 -0
- package/dist/types/webflow/index.js +2 -0
- package/dist/types/webflow/index.js.map +1 -1
- package/package.json +3 -2
- package/dist/types/entity/WebflowOrganizationConfiguration.js.map +0 -1
- package/dist/types/notifications/types/enums/index.js.map +0 -1
- package/dist/types/notifications/types/enums/notification.enums.d.ts +0 -30
- package/dist/types/notifications/types/enums/notification.enums.js +0 -41
- package/dist/types/notifications/types/enums/notification.enums.js.map +0 -1
- package/dist/types/notifications/types/index.js.map +0 -1
- /package/dist/types/notifications/{types → dto/types}/enums/index.d.ts +0 -0
- /package/dist/types/notifications/{types → dto/types}/enums/index.js +0 -0
- /package/dist/types/notifications/{types → dto/types}/index.d.ts +0 -0
- /package/dist/types/notifications/{types → dto/types}/index.js +0 -0
@@ -0,0 +1,14 @@
|
|
1
|
+
import IWebflowProgram from '../interfaces/iWebflowProgram.interfaces';
|
2
|
+
export declare class WebflowProgramDto implements IWebflowProgram {
|
3
|
+
id: number;
|
4
|
+
activity: string;
|
5
|
+
backgroundImage: string;
|
6
|
+
minAge: string;
|
7
|
+
maxAge: string;
|
8
|
+
shortDescription: string;
|
9
|
+
longDescription: string;
|
10
|
+
programType: string;
|
11
|
+
level: string[];
|
12
|
+
gender: string;
|
13
|
+
name: string;
|
14
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"webflowProgram.dto.js","sourceRoot":"","sources":["../../../../src/types/webflow/dto/webflowProgram.dto.ts"],"names":[],"mappings":";;;AAEA,MAAa,iBAAiB;CAsB7B;AAtBD,8CAsBC"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { OrganizationConnectionBaseEntity } from '
|
1
|
+
import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
|
2
2
|
export declare class WebflowOrganizationConfiguration extends OrganizationConnectionBaseEntity {
|
3
3
|
projectToken: string;
|
4
4
|
programTypesCollectionId?: string;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.WebflowOrganizationConfiguration = void 0;
|
4
|
-
const OrganizationConnectionBaseEntity_1 = require("
|
4
|
+
const OrganizationConnectionBaseEntity_1 = require("../../entity/OrganizationConnectionBaseEntity");
|
5
5
|
class WebflowOrganizationConfiguration extends OrganizationConnectionBaseEntity_1.OrganizationConnectionBaseEntity {
|
6
6
|
}
|
7
7
|
exports.WebflowOrganizationConfiguration = WebflowOrganizationConfiguration;
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"WebflowOrganizationConfiguration.js","sourceRoot":"","sources":["../../../../src/types/webflow/entities/WebflowOrganizationConfiguration.ts"],"names":[],"mappings":";;;AAAA,oGAAiG;AAGjG,MAAa,gCAAiC,SAAQ,mEAAgC;CAOrF;AAPD,4EAOC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './WebflowOrganizationConfiguration';
|
@@ -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("./WebflowOrganizationConfiguration"), exports);
|
18
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/webflow/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qEAAmD"}
|
@@ -14,5 +14,7 @@ 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("./dto"), exports);
|
18
|
+
__exportStar(require("./entities"), exports);
|
17
19
|
__exportStar(require("./interfaces"), exports);
|
18
20
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/webflow/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/webflow/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,6CAA2B;AAC3B,+CAA6B"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@bondsports/types",
|
3
|
-
"version": "2.2.
|
3
|
+
"version": "2.2.246",
|
4
4
|
"description": "backend types module for Bond-Sports",
|
5
5
|
"main": "./dist/index.js",
|
6
6
|
"scripts": {
|
@@ -37,7 +37,8 @@
|
|
37
37
|
"rimraf": "^3.0.2",
|
38
38
|
"stripe": "9.1.0",
|
39
39
|
"typeorm": "^0.2.32",
|
40
|
-
"@bondsports/date-time": "latest"
|
40
|
+
"@bondsports/date-time": "latest",
|
41
|
+
"@bondsports/notifications-sdk": "latest"
|
41
42
|
},
|
42
43
|
"devDependencies": {
|
43
44
|
"@bondsports/eslint-config": "^1.0.2",
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"WebflowOrganizationConfiguration.js","sourceRoot":"","sources":["../../../src/types/entity/WebflowOrganizationConfiguration.ts"],"names":[],"mappings":";;;AAAA,yFAAsF;AAGtF,MAAa,gCAAiC,SAAQ,mEAAgC;CAOrF;AAPD,4EAOC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/notifications/types/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC"}
|
@@ -1,30 +0,0 @@
|
|
1
|
-
/**************************
|
2
|
-
* ************************
|
3
|
-
* ************************
|
4
|
-
*
|
5
|
-
* COPIED FROM https://github.com/Bond-Sports/NotificationsService
|
6
|
-
*
|
7
|
-
*
|
8
|
-
* ************************
|
9
|
-
* ************************
|
10
|
-
*/
|
11
|
-
export declare enum NotificationDeliveryChannel {
|
12
|
-
EMAIL = "EMAIL",
|
13
|
-
SMS = "SMS"
|
14
|
-
}
|
15
|
-
/**
|
16
|
-
* Transactional communications do not need to provide opt-out (for email, at least).
|
17
|
-
* Commercial communications (aka marketing messages) must provide a one-click opt-out mechanism for email
|
18
|
-
*
|
19
|
-
* NB: We may not wish to trust TENENT emails when they self-classify as transactional.
|
20
|
-
*/
|
21
|
-
export declare enum NotificationClassification {
|
22
|
-
TRANSACTIONAL = "TRANSACTIONAL",
|
23
|
-
COMMERCIAL = "COMMERCIAL",
|
24
|
-
UNKNOWN = "UNKNOWN"
|
25
|
-
}
|
26
|
-
export declare enum SendErrorCode {
|
27
|
-
BAD_DELIVERY_CHANNEL = 400,
|
28
|
-
SENDGRID_ERROR = 401,
|
29
|
-
INTERNAL_ERROR = 500
|
30
|
-
}
|
@@ -1,41 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
/**************************
|
3
|
-
* ************************
|
4
|
-
* ************************
|
5
|
-
*
|
6
|
-
* COPIED FROM https://github.com/Bond-Sports/NotificationsService
|
7
|
-
*
|
8
|
-
*
|
9
|
-
* ************************
|
10
|
-
* ************************
|
11
|
-
*/
|
12
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
13
|
-
exports.SendErrorCode = exports.NotificationClassification = exports.NotificationDeliveryChannel = void 0;
|
14
|
-
var NotificationDeliveryChannel;
|
15
|
-
(function (NotificationDeliveryChannel) {
|
16
|
-
NotificationDeliveryChannel["EMAIL"] = "EMAIL";
|
17
|
-
// SMS is not yet implemented. Error will be returned if attempted.
|
18
|
-
NotificationDeliveryChannel["SMS"] = "SMS";
|
19
|
-
})(NotificationDeliveryChannel = exports.NotificationDeliveryChannel || (exports.NotificationDeliveryChannel = {}));
|
20
|
-
/**
|
21
|
-
* Transactional communications do not need to provide opt-out (for email, at least).
|
22
|
-
* Commercial communications (aka marketing messages) must provide a one-click opt-out mechanism for email
|
23
|
-
*
|
24
|
-
* NB: We may not wish to trust TENENT emails when they self-classify as transactional.
|
25
|
-
*/
|
26
|
-
var NotificationClassification;
|
27
|
-
(function (NotificationClassification) {
|
28
|
-
NotificationClassification["TRANSACTIONAL"] = "TRANSACTIONAL";
|
29
|
-
NotificationClassification["COMMERCIAL"] = "COMMERCIAL";
|
30
|
-
NotificationClassification["UNKNOWN"] = "UNKNOWN";
|
31
|
-
})(NotificationClassification = exports.NotificationClassification || (exports.NotificationClassification = {}));
|
32
|
-
// Internal error codes.
|
33
|
-
// NB: Specific errors (ie. from Sendgrid) will be logged and returned directly.
|
34
|
-
// We are not translating each, as they are quite granular, and prone to frequent updates by service providers.
|
35
|
-
var SendErrorCode;
|
36
|
-
(function (SendErrorCode) {
|
37
|
-
SendErrorCode[SendErrorCode["BAD_DELIVERY_CHANNEL"] = 400] = "BAD_DELIVERY_CHANNEL";
|
38
|
-
SendErrorCode[SendErrorCode["SENDGRID_ERROR"] = 401] = "SENDGRID_ERROR";
|
39
|
-
SendErrorCode[SendErrorCode["INTERNAL_ERROR"] = 500] = "INTERNAL_ERROR";
|
40
|
-
})(SendErrorCode = exports.SendErrorCode || (exports.SendErrorCode = {}));
|
41
|
-
//# sourceMappingURL=notification.enums.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"notification.enums.js","sourceRoot":"","sources":["../../../../../src/types/notifications/types/enums/notification.enums.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;AAEH,IAAY,2BAIX;AAJD,WAAY,2BAA2B;IACtC,8CAAe,CAAA;IACf,oEAAoE;IACpE,0CAAW,CAAA;AACZ,CAAC,EAJW,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAItC;AAED;;;;;GAKG;AACH,IAAY,0BAIX;AAJD,WAAY,0BAA0B;IACrC,6DAA+B,CAAA;IAC/B,uDAAyB,CAAA;IACzB,iDAAmB,CAAA;AACpB,CAAC,EAJW,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAIrC;AAED,wBAAwB;AACxB,gFAAgF;AAChF,+GAA+G;AAC/G,IAAY,aAIX;AAJD,WAAY,aAAa;IACxB,mFAA0B,CAAA;IAC1B,uEAAoB,CAAA;IACpB,uEAAoB,CAAA;AACrB,CAAC,EAJW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAIxB"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/notifications/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB"}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|