@bondsports/types 2.0.44 → 2.0.46

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.
Files changed (28) hide show
  1. package/dist/tsconfig.build.tsbuildinfo +1 -1
  2. package/dist/types/communication/index.d.ts +1 -0
  3. package/dist/types/communication/index.js +18 -0
  4. package/dist/types/communication/index.js.map +1 -0
  5. package/dist/types/communication/types/enums/index.d.ts +1 -0
  6. package/dist/types/communication/types/enums/index.js +18 -0
  7. package/dist/types/communication/types/enums/index.js.map +1 -0
  8. package/dist/types/communication/types/enums/slack.enums.d.ts +15 -0
  9. package/dist/types/communication/types/enums/slack.enums.js +20 -0
  10. package/dist/types/communication/types/enums/slack.enums.js.map +1 -0
  11. package/dist/types/communication/types/index.d.ts +2 -0
  12. package/dist/types/communication/types/index.js +19 -0
  13. package/dist/types/communication/types/index.js.map +1 -0
  14. package/dist/types/communication/types/interfaces/index.d.ts +1 -0
  15. package/dist/types/communication/types/interfaces/index.js +18 -0
  16. package/dist/types/communication/types/interfaces/index.js.map +1 -0
  17. package/dist/types/communication/types/interfaces/slack.interfaces.d.ts +5 -0
  18. package/dist/types/communication/types/interfaces/slack.interfaces.js +3 -0
  19. package/dist/types/communication/types/interfaces/slack.interfaces.js.map +1 -0
  20. package/dist/types/dto/events.dto.d.ts +6 -0
  21. package/dist/types/dto/events.dto.js +7 -1
  22. package/dist/types/dto/events.dto.js.map +1 -1
  23. package/dist/types/index.d.ts +1 -0
  24. package/dist/types/index.js +1 -0
  25. package/dist/types/index.js.map +1 -1
  26. package/dist/types/payment/entities/Payment.d.ts +1 -1
  27. package/dist/types/webhooks/types/webhooks.interfaces.d.ts +0 -6
  28. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ export * from './types';
@@ -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("./types"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/communication/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB"}
@@ -0,0 +1 @@
1
+ export * from './slack.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("./slack.enums"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/communication/types/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B"}
@@ -0,0 +1,15 @@
1
+ export declare enum SlackIconsEnum {
2
+ DEFAULT = ":ghost:",
3
+ SLACK = ":slack:",
4
+ INFO = ":information_source:",
5
+ SUCCESS = ":white_check_mark:",
6
+ CHECK_YES = ":check_yes:",
7
+ BLUE_TICK = ":blue-tick:",
8
+ WARNING = ":warning:",
9
+ ERROR = ":x:",
10
+ SOS = ":sos:",
11
+ GREEN_ALERT = ":green_alert:",
12
+ HEART = ":heart:",
13
+ BONDY = ":bondy:",
14
+ BONDY_WORKING = ":working:"
15
+ }
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SlackIconsEnum = void 0;
4
+ var SlackIconsEnum;
5
+ (function (SlackIconsEnum) {
6
+ SlackIconsEnum["DEFAULT"] = ":ghost:";
7
+ SlackIconsEnum["SLACK"] = ":slack:";
8
+ SlackIconsEnum["INFO"] = ":information_source:";
9
+ SlackIconsEnum["SUCCESS"] = ":white_check_mark:";
10
+ SlackIconsEnum["CHECK_YES"] = ":check_yes:";
11
+ SlackIconsEnum["BLUE_TICK"] = ":blue-tick:";
12
+ SlackIconsEnum["WARNING"] = ":warning:";
13
+ SlackIconsEnum["ERROR"] = ":x:";
14
+ SlackIconsEnum["SOS"] = ":sos:";
15
+ SlackIconsEnum["GREEN_ALERT"] = ":green_alert:";
16
+ SlackIconsEnum["HEART"] = ":heart:";
17
+ SlackIconsEnum["BONDY"] = ":bondy:";
18
+ SlackIconsEnum["BONDY_WORKING"] = ":working:";
19
+ })(SlackIconsEnum = exports.SlackIconsEnum || (exports.SlackIconsEnum = {}));
20
+ //# sourceMappingURL=slack.enums.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"slack.enums.js","sourceRoot":"","sources":["../../../../../src/types/communication/types/enums/slack.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,cAcX;AAdD,WAAY,cAAc;IACtB,qCAAmB,CAAA;IACnB,mCAAiB,CAAA;IACjB,+CAA6B,CAAA;IAC7B,gDAA8B,CAAA;IAC9B,2CAAyB,CAAA;IACzB,2CAAyB,CAAA;IACzB,uCAAqB,CAAA;IACrB,+BAAa,CAAA;IACb,+BAAa,CAAA;IACb,+CAA6B,CAAA;IAC7B,mCAAiB,CAAA;IACjB,mCAAiB,CAAA;IACjB,6CAA2B,CAAA;AAC/B,CAAC,EAdW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAczB"}
@@ -0,0 +1,2 @@
1
+ export * from './enums';
2
+ export * from './interfaces';
@@ -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("./enums"), exports);
18
+ __exportStar(require("./interfaces"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/communication/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,+CAA6B"}
@@ -0,0 +1 @@
1
+ export * from './slack.interfaces';
@@ -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("./slack.interfaces"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/communication/types/interfaces/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC"}
@@ -0,0 +1,5 @@
1
+ import { SlackIconsEnum } from '../enums/slack.enums';
2
+ export interface ISendMessageOptions {
3
+ channel?: string;
4
+ icon?: SlackIconsEnum;
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=slack.interfaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"slack.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/communication/types/interfaces/slack.interfaces.ts"],"names":[],"mappings":""}
@@ -14,6 +14,9 @@ export declare class FindEventByIdDto {
14
14
  export declare class UpdateMultipleEventsResponseDto {
15
15
  data: Event[];
16
16
  }
17
+ export declare class UpdateEventResponseDto {
18
+ data: Event;
19
+ }
17
20
  export declare class UpdateEventDto {
18
21
  name?: string;
19
22
  startDate?: string;
@@ -30,6 +33,9 @@ export declare class UpdateEventDto {
30
33
  export declare class AddEventToSessionDto {
31
34
  eventsData: UpdateEventDto[];
32
35
  }
36
+ export declare class AddEventsToSessionResponseDto {
37
+ data: Event[];
38
+ }
33
39
  export declare class EventsIdsQueryDto {
34
40
  eventsIds?: number[];
35
41
  segmentsIds?: number[];
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SimpleAttendeeDto = exports.SimpleEventDto = exports.UpdateEvent = exports.FindEventAttendeeOptionsDto = exports.ProgramSessionLandingPageDto = exports.ProgramLandingPageQueryDto = exports.ProgramLandingPageDto = exports.FacilityEventsScheduleQueryParams = exports.FindByFacilityIdAndOrganizationIdDto = exports.FindByFacilityIdDto = exports.EventsIdsQueryDto = exports.AddEventToSessionDto = exports.UpdateEventDto = exports.UpdateMultipleEventsResponseDto = exports.FindEventByIdDto = void 0;
3
+ exports.SimpleAttendeeDto = exports.SimpleEventDto = exports.UpdateEvent = exports.FindEventAttendeeOptionsDto = exports.ProgramSessionLandingPageDto = exports.ProgramLandingPageQueryDto = exports.ProgramLandingPageDto = exports.FacilityEventsScheduleQueryParams = exports.FindByFacilityIdAndOrganizationIdDto = exports.FindByFacilityIdDto = exports.EventsIdsQueryDto = exports.AddEventsToSessionResponseDto = exports.AddEventToSessionDto = exports.UpdateEventDto = exports.UpdateEventResponseDto = exports.UpdateMultipleEventsResponseDto = exports.FindEventByIdDto = void 0;
4
4
  const general_dto_1 = require("./general.dto");
5
5
  class FindEventByIdDto {
6
6
  }
@@ -8,12 +8,18 @@ exports.FindEventByIdDto = FindEventByIdDto;
8
8
  class UpdateMultipleEventsResponseDto {
9
9
  }
10
10
  exports.UpdateMultipleEventsResponseDto = UpdateMultipleEventsResponseDto;
11
+ class UpdateEventResponseDto {
12
+ }
13
+ exports.UpdateEventResponseDto = UpdateEventResponseDto;
11
14
  class UpdateEventDto {
12
15
  }
13
16
  exports.UpdateEventDto = UpdateEventDto;
14
17
  class AddEventToSessionDto {
15
18
  }
16
19
  exports.AddEventToSessionDto = AddEventToSessionDto;
20
+ class AddEventsToSessionResponseDto {
21
+ }
22
+ exports.AddEventsToSessionResponseDto = AddEventsToSessionResponseDto;
17
23
  class EventsIdsQueryDto {
18
24
  }
19
25
  exports.EventsIdsQueryDto = EventsIdsQueryDto;
@@ -1 +1 @@
1
- {"version":3,"file":"events.dto.js","sourceRoot":"","sources":["../../../src/types/dto/events.dto.ts"],"names":[],"mappings":";;;AAOA,+CAA4D;AAE5D,MAAa,gBAAgB;CAM5B;AAND,4CAMC;AAED,MAAa,+BAA+B;CAE3C;AAFD,0EAEC;AAED,MAAa,cAAc;CAwB1B;AAxBD,wCAwBC;AAED,MAAa,oBAAoB;CAEhC;AAFD,oDAEC;AAED,MAAa,iBAAiB;CAU7B;AAVD,8CAUC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,oCAAqC,SAAQ,mBAAmB;CAE5E;AAFD,oFAEC;AAED,MAAa,iCAAiC;CAM7C;AAND,8EAMC;AAED,MAAa,qBAAqB;CAEjC;AAFD,sDAEC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,4BAA4B;CAIxC;AAJD,oEAIC;AAuCD,MAAa,2BAA4B,SAAQ,kCAAoB;CAYpE;AAZD,kEAYC;AAED,MAAa,WAAW;CAIvB;AAJD,kCAIC;AAED,MAAa,cAAe,SAAQ,mBAAK;CAgBxC;AAhBD,wCAgBC;AAED,MAAa,iBAAkB,SAAQ,mBAAK;CAE3C;AAFD,8CAEC"}
1
+ {"version":3,"file":"events.dto.js","sourceRoot":"","sources":["../../../src/types/dto/events.dto.ts"],"names":[],"mappings":";;;AAOA,+CAA4D;AAG5D,MAAa,gBAAgB;CAM5B;AAND,4CAMC;AAED,MAAa,+BAA+B;CAE3C;AAFD,0EAEC;AAED,MAAa,sBAAsB;CAElC;AAFD,wDAEC;AAED,MAAa,cAAc;CAwB1B;AAxBD,wCAwBC;AAED,MAAa,oBAAoB;CAEhC;AAFD,oDAEC;AAED,MAAa,6BAA6B;CAEzC;AAFD,sEAEC;AAED,MAAa,iBAAiB;CAU7B;AAVD,8CAUC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,oCAAqC,SAAQ,mBAAmB;CAE5E;AAFD,oFAEC;AAED,MAAa,iCAAiC;CAM7C;AAND,8EAMC;AAED,MAAa,qBAAqB;CAEjC;AAFD,sDAEC;AAED,MAAa,0BAA0B;CAEtC;AAFD,gEAEC;AAED,MAAa,4BAA4B;CAIxC;AAJD,oEAIC;AAuCD,MAAa,2BAA4B,SAAQ,kCAAoB;CAYpE;AAZD,kEAYC;AAED,MAAa,WAAW;CAIvB;AAJD,kCAIC;AAED,MAAa,cAAe,SAAQ,mBAAK;CAgBxC;AAhBD,wCAgBC;AAED,MAAa,iBAAkB,SAAQ,mBAAK;CAE3C;AAFD,8CAEC"}
@@ -1,4 +1,5 @@
1
1
  export * from './activities';
2
+ export * from './communication';
2
3
  export * from './customers';
3
4
  export * from './dto';
4
5
  export * from './entity';
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./activities"), exports);
18
+ __exportStar(require("./communication"), exports);
18
19
  __exportStar(require("./customers"), exports);
19
20
  __exportStar(require("./dto"), exports);
20
21
  __exportStar(require("./entity"), exports);
@@ -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,+CAA6B;AAC7B,6CAA2B;AAC3B,mDAAiC;AACjC,iDAA+B;AAC/B,sDAAoC;AACpC,0CAAwB;AACxB,6CAA2B;AAC3B,2CAAyB;AACzB,2CAAyB;AACzB,yCAAuB;AACvB,oDAAkC;AAClC,yCAAuB;AACvB,4CAA0B;AAC1B,6CAA2B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,kDAAgC;AAChC,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,oDAAkC;AAClC,yCAAuB;AACvB,4CAA0B;AAC1B,6CAA2B"}
@@ -47,7 +47,7 @@ export declare class Payment extends OrganizationConnectionBaseEntity {
47
47
  discountId?: number;
48
48
  discount?: Discount;
49
49
  paymentFees: PaymentFee[] | PaymentFeeDto[];
50
- Invoices: Invoice[];
50
+ invoices: Invoice[];
51
51
  totalFeesAmount?: number;
52
52
  lineItems: LineItems[];
53
53
  }
@@ -1,9 +1,3 @@
1
- import Stripe from 'stripe';
2
- import { Payment } from '../../payment/entities/Payment';
3
- export interface ValidatePaymentIntent {
4
- paymentIntent?: Stripe.PaymentIntent;
5
- payment?: Payment;
6
- }
7
1
  export interface ValidateResult<T> {
8
2
  isValid: boolean;
9
3
  data: T;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.0.44",
3
+ "version": "2.0.46",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {