@bondsports/types 2.2.243 → 2.2.245

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 (50) hide show
  1. package/dist/tsconfig.build.tsbuildinfo +1 -1
  2. package/dist/types/entity/MembershipMember.d.ts +1 -0
  3. package/dist/types/entity/MembershipMember.js.map +1 -1
  4. package/dist/types/entity/index.d.ts +0 -1
  5. package/dist/types/entity/index.js +0 -1
  6. package/dist/types/entity/index.js.map +1 -1
  7. package/dist/types/notifications/dto/notification.create.dto.d.ts +6 -6
  8. package/dist/types/notifications/dto/notification.create.dto.js +6 -6
  9. package/dist/types/notifications/dto/notification.create.dto.js.map +1 -1
  10. package/dist/types/notifications/dto/notification.response.dto.d.ts +3 -3
  11. package/dist/types/notifications/dto/notification.response.dto.js.map +1 -1
  12. package/dist/types/notifications/index.d.ts +0 -1
  13. package/dist/types/notifications/index.js +0 -1
  14. package/dist/types/notifications/index.js.map +1 -1
  15. package/dist/types/programs/dto/program.dto.d.ts +3 -0
  16. package/dist/types/programs/dto/program.dto.js +4 -1
  17. package/dist/types/programs/dto/program.dto.js.map +1 -1
  18. package/dist/types/purchase/dto/purchase.dto.d.ts +1 -0
  19. package/dist/types/purchase/dto/purchase.dto.js.map +1 -1
  20. package/dist/types/reservations/dto/reservation.dto.d.ts +7 -6
  21. package/dist/types/reservations/dto/reservation.dto.js.map +1 -1
  22. package/dist/types/reservations/types/interfaces/reservation.interfaces.d.ts +33 -10
  23. package/dist/types/reservations/types/interfaces/reservation.interfaces.js.map +1 -1
  24. package/dist/types/roles/types/role.enums.d.ts +7 -1
  25. package/dist/types/roles/types/role.enums.js +6 -0
  26. package/dist/types/roles/types/role.enums.js.map +1 -1
  27. package/dist/types/webflow/dto/index.d.ts +1 -0
  28. package/dist/types/{notifications/types/enums → webflow/dto}/index.js +1 -1
  29. package/dist/types/webflow/dto/index.js.map +1 -0
  30. package/dist/types/webflow/dto/webflowProgram.dto.d.ts +14 -0
  31. package/dist/types/webflow/dto/webflowProgram.dto.js +7 -0
  32. package/dist/types/webflow/dto/webflowProgram.dto.js.map +1 -0
  33. package/dist/types/{entity → webflow/entities}/WebflowOrganizationConfiguration.d.ts +1 -1
  34. package/dist/types/{entity → webflow/entities}/WebflowOrganizationConfiguration.js +1 -1
  35. package/dist/types/webflow/entities/WebflowOrganizationConfiguration.js.map +1 -0
  36. package/dist/types/webflow/entities/index.d.ts +1 -0
  37. package/dist/types/{notifications/types → webflow/entities}/index.js +1 -1
  38. package/dist/types/webflow/entities/index.js.map +1 -0
  39. package/dist/types/webflow/index.d.ts +2 -0
  40. package/dist/types/webflow/index.js +2 -0
  41. package/dist/types/webflow/index.js.map +1 -1
  42. package/package.json +3 -2
  43. package/dist/types/entity/WebflowOrganizationConfiguration.js.map +0 -1
  44. package/dist/types/notifications/types/enums/index.d.ts +0 -1
  45. package/dist/types/notifications/types/enums/index.js.map +0 -1
  46. package/dist/types/notifications/types/enums/notification.enums.d.ts +0 -30
  47. package/dist/types/notifications/types/enums/notification.enums.js +0 -41
  48. package/dist/types/notifications/types/enums/notification.enums.js.map +0 -1
  49. package/dist/types/notifications/types/index.d.ts +0 -1
  50. package/dist/types/notifications/types/index.js.map +0 -1
@@ -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
- export * from './enums';
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/notifications/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB"}