@bondsports/types 2.2.226 → 2.2.228

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 (29) hide show
  1. package/dist/tsconfig.build.tsbuildinfo +1 -1
  2. package/dist/types/accounting/entities/index.d.ts +2 -0
  3. package/dist/types/accounting/entities/index.js +19 -0
  4. package/dist/types/accounting/entities/index.js.map +1 -0
  5. package/dist/types/accounting/entities/revenue-recognition-milestone.entity.d.ts +9 -0
  6. package/dist/types/accounting/entities/revenue-recognition-milestone.entity.js +8 -0
  7. package/dist/types/accounting/entities/revenue-recognition-milestone.entity.js.map +1 -0
  8. package/dist/types/accounting/entities/revenue-recognition-schedule.entity.d.ts +14 -0
  9. package/dist/types/accounting/entities/revenue-recognition-schedule.entity.js +8 -0
  10. package/dist/types/accounting/entities/revenue-recognition-schedule.entity.js.map +1 -0
  11. package/dist/types/accounting/index.d.ts +2 -0
  12. package/dist/types/accounting/index.js +19 -0
  13. package/dist/types/accounting/index.js.map +1 -0
  14. package/dist/types/accounting/types/enums/accounting.enums.d.ts +14 -0
  15. package/dist/types/accounting/types/enums/accounting.enums.js +20 -0
  16. package/dist/types/accounting/types/enums/accounting.enums.js.map +1 -0
  17. package/dist/types/accounting/types/enums/index.d.ts +1 -0
  18. package/dist/types/accounting/types/enums/index.js +18 -0
  19. package/dist/types/accounting/types/enums/index.js.map +1 -0
  20. package/dist/types/accounting/types/index.d.ts +1 -0
  21. package/dist/types/accounting/types/index.js +18 -0
  22. package/dist/types/accounting/types/index.js.map +1 -0
  23. package/dist/types/customers/dto/customer-response.dto.d.ts +3 -0
  24. package/dist/types/customers/dto/customer-response.dto.js +4 -1
  25. package/dist/types/customers/dto/customer-response.dto.js.map +1 -1
  26. package/dist/types/index.d.ts +1 -0
  27. package/dist/types/index.js +1 -0
  28. package/dist/types/index.js.map +1 -1
  29. package/package.json +1 -1
@@ -0,0 +1,2 @@
1
+ export * from './revenue-recognition-milestone.entity';
2
+ export * from './revenue-recognition-schedule.entity';
@@ -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("./revenue-recognition-milestone.entity"), exports);
18
+ __exportStar(require("./revenue-recognition-schedule.entity"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/accounting/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yEAAuD;AACvD,wEAAsD"}
@@ -0,0 +1,9 @@
1
+ import { RevenueRecognitionSchedule } from './revenue-recognition-schedule.entity';
2
+ import { BondBaseEntity } from '../../entity/BondBaseEntity';
3
+ export declare class RevenueRecognitionMilestone extends BondBaseEntity {
4
+ schedule: RevenueRecognitionSchedule;
5
+ scheduleId: number;
6
+ recognitionDate: Date;
7
+ percentage: number;
8
+ deletedAt?: Date;
9
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RevenueRecognitionMilestone = void 0;
4
+ const BondBaseEntity_1 = require("../../entity/BondBaseEntity");
5
+ class RevenueRecognitionMilestone extends BondBaseEntity_1.BondBaseEntity {
6
+ }
7
+ exports.RevenueRecognitionMilestone = RevenueRecognitionMilestone;
8
+ //# sourceMappingURL=revenue-recognition-milestone.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"revenue-recognition-milestone.entity.js","sourceRoot":"","sources":["../../../../src/types/accounting/entities/revenue-recognition-milestone.entity.ts"],"names":[],"mappings":";;;AAEA,gEAA6D;AAE7D,MAAa,2BAA4B,SAAQ,+BAAc;CAU9D;AAVD,kEAUC"}
@@ -0,0 +1,14 @@
1
+ import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
2
+ import { ResourceNameTypeEnum } from '../../services/enums.service';
3
+ import { RevenueRecognitionMethodEnum } from '../types/enums/accounting.enums';
4
+ import { RevenueRecognitionMilestone } from './revenue-recognition-milestone.entity';
5
+ export declare class RevenueRecognitionSchedule extends OrganizationConnectionBaseEntity {
6
+ resourceId: number;
7
+ resourceType: ResourceNameTypeEnum;
8
+ recognitionMethod: RevenueRecognitionMethodEnum;
9
+ startDate?: Date;
10
+ endDate?: Date;
11
+ numberOfMonths: number;
12
+ deletedAt?: Date;
13
+ milestones?: RevenueRecognitionMilestone[];
14
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RevenueRecognitionSchedule = void 0;
4
+ const OrganizationConnectionBaseEntity_1 = require("../../entity/OrganizationConnectionBaseEntity");
5
+ class RevenueRecognitionSchedule extends OrganizationConnectionBaseEntity_1.OrganizationConnectionBaseEntity {
6
+ }
7
+ exports.RevenueRecognitionSchedule = RevenueRecognitionSchedule;
8
+ //# sourceMappingURL=revenue-recognition-schedule.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"revenue-recognition-schedule.entity.js","sourceRoot":"","sources":["../../../../src/types/accounting/entities/revenue-recognition-schedule.entity.ts"],"names":[],"mappings":";;;AACA,oGAAiG;AAKjG,MAAa,0BAA2B,SAAQ,mEAAgC;CAgB/E;AAhBD,gEAgBC"}
@@ -0,0 +1,2 @@
1
+ export * from './entities';
2
+ export * from './types';
@@ -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("./entities"), exports);
18
+ __exportStar(require("./types"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/accounting/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,0CAAwB"}
@@ -0,0 +1,14 @@
1
+ export declare enum ProductModuleEnum {
2
+ CLUB_TEAMS = 1,
3
+ COMMERCE = 2,
4
+ LEAGUES = 3,
5
+ MEMBERSHIPS = 4,
6
+ PROGRAMS = 5,
7
+ RESERVATIONS = 6
8
+ }
9
+ export declare enum RevenueRecognitionMethodEnum {
10
+ BY_EVENT = "by_event",
11
+ EVENLY = "evenly",
12
+ UPFRONT = "upfront",
13
+ MILESTONES = "milestones"
14
+ }
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RevenueRecognitionMethodEnum = exports.ProductModuleEnum = void 0;
4
+ var ProductModuleEnum;
5
+ (function (ProductModuleEnum) {
6
+ ProductModuleEnum[ProductModuleEnum["CLUB_TEAMS"] = 1] = "CLUB_TEAMS";
7
+ ProductModuleEnum[ProductModuleEnum["COMMERCE"] = 2] = "COMMERCE";
8
+ ProductModuleEnum[ProductModuleEnum["LEAGUES"] = 3] = "LEAGUES";
9
+ ProductModuleEnum[ProductModuleEnum["MEMBERSHIPS"] = 4] = "MEMBERSHIPS";
10
+ ProductModuleEnum[ProductModuleEnum["PROGRAMS"] = 5] = "PROGRAMS";
11
+ ProductModuleEnum[ProductModuleEnum["RESERVATIONS"] = 6] = "RESERVATIONS";
12
+ })(ProductModuleEnum = exports.ProductModuleEnum || (exports.ProductModuleEnum = {}));
13
+ var RevenueRecognitionMethodEnum;
14
+ (function (RevenueRecognitionMethodEnum) {
15
+ RevenueRecognitionMethodEnum["BY_EVENT"] = "by_event";
16
+ RevenueRecognitionMethodEnum["EVENLY"] = "evenly";
17
+ RevenueRecognitionMethodEnum["UPFRONT"] = "upfront";
18
+ RevenueRecognitionMethodEnum["MILESTONES"] = "milestones";
19
+ })(RevenueRecognitionMethodEnum = exports.RevenueRecognitionMethodEnum || (exports.RevenueRecognitionMethodEnum = {}));
20
+ //# sourceMappingURL=accounting.enums.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accounting.enums.js","sourceRoot":"","sources":["../../../../../src/types/accounting/types/enums/accounting.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBAOX;AAPD,WAAY,iBAAiB;IAC5B,qEAAc,CAAA;IACd,iEAAY,CAAA;IACZ,+DAAW,CAAA;IACX,uEAAe,CAAA;IACf,iEAAY,CAAA;IACZ,yEAAgB,CAAA;AACjB,CAAC,EAPW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAO5B;AAED,IAAY,4BAKX;AALD,WAAY,4BAA4B;IACvC,qDAAqB,CAAA;IACrB,iDAAiB,CAAA;IACjB,mDAAmB,CAAA;IACnB,yDAAyB,CAAA;AAC1B,CAAC,EALW,4BAA4B,GAA5B,oCAA4B,KAA5B,oCAA4B,QAKvC"}
@@ -0,0 +1 @@
1
+ export * from './accounting.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("./accounting.enums"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/types/accounting/types/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC"}
@@ -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/accounting/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB"}
@@ -15,3 +15,6 @@ export declare class SimpleCustomerDto {
15
15
  isAnonymous: boolean;
16
16
  entityId: number;
17
17
  }
18
+ export declare class GetCustomerBodyDto {
19
+ extraRelations?: string[];
20
+ }
@@ -1,10 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SimpleCustomerDto = exports.EmergencyContactDto = void 0;
3
+ exports.GetCustomerBodyDto = exports.SimpleCustomerDto = exports.EmergencyContactDto = void 0;
4
4
  class EmergencyContactDto {
5
5
  }
6
6
  exports.EmergencyContactDto = EmergencyContactDto;
7
7
  class SimpleCustomerDto {
8
8
  }
9
9
  exports.SimpleCustomerDto = SimpleCustomerDto;
10
+ class GetCustomerBodyDto {
11
+ }
12
+ exports.GetCustomerBodyDto = GetCustomerBodyDto;
10
13
  //# sourceMappingURL=customer-response.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"customer-response.dto.js","sourceRoot":"","sources":["../../../../src/types/customers/dto/customer-response.dto.ts"],"names":[],"mappings":";;;AAEA,MAAa,mBAAmB;CAM/B;AAND,kDAMC;AAED,MAAa,iBAAiB;CAkB7B;AAlBD,8CAkBC"}
1
+ {"version":3,"file":"customer-response.dto.js","sourceRoot":"","sources":["../../../../src/types/customers/dto/customer-response.dto.ts"],"names":[],"mappings":";;;AAEA,MAAa,mBAAmB;CAM/B;AAND,kDAMC;AAED,MAAa,iBAAiB;CAkB7B;AAlBD,8CAkBC;AAED,MAAa,kBAAkB;CAE9B;AAFD,gDAEC"}
@@ -1,3 +1,4 @@
1
+ export * from './accounting';
1
2
  export * from './activities';
2
3
  export * from './addons';
3
4
  export * from './address';
@@ -14,6 +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("./accounting"), exports);
17
18
  __exportStar(require("./activities"), exports);
18
19
  __exportStar(require("./addons"), exports);
19
20
  __exportStar(require("./address"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,2CAAyB;AACzB,4CAA0B;AAC1B,+CAA6B;AAC7B,yCAAuB;AACvB,8CAA4B;AAC5B,wCAAsB;AACtB,8CAA4B;AAC5B,2CAAyB;AACzB,2CAAyB;AACzB,kDAAgC;AAChC,wCAAsB;AACtB,wDAAsC;AACtC,6CAA2B;AAC3B,2CAAyB;AACzB,gDAA8B;AAC9B,4CAA0B;AAC1B,2CAAyB;AACzB,0CAAwB;AACxB,0CAAwB;AACxB,+CAA6B;AAC7B,mDAAiC;AACjC,0CAAwB;AACxB,kDAAgC;AAChC,mDAAiC;AACjC,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,8CAA4B;AAC5B,0CAAwB;AACxB,6CAA2B;AAC3B,2CAAyB;AACzB,yCAAuB;AACvB,oDAAkC;AAClC,wDAAsC;AACtC,yCAAuB;AACvB,4CAA0B;AAC1B,4CAA0B;AAC1B,6CAA2B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,+CAA6B;AAC7B,2CAAyB;AACzB,4CAA0B;AAC1B,+CAA6B;AAC7B,yCAAuB;AACvB,8CAA4B;AAC5B,wCAAsB;AACtB,8CAA4B;AAC5B,2CAAyB;AACzB,2CAAyB;AACzB,kDAAgC;AAChC,wCAAsB;AACtB,wDAAsC;AACtC,6CAA2B;AAC3B,2CAAyB;AACzB,gDAA8B;AAC9B,4CAA0B;AAC1B,2CAAyB;AACzB,0CAAwB;AACxB,0CAAwB;AACxB,+CAA6B;AAC7B,mDAAiC;AACjC,0CAAwB;AACxB,kDAAgC;AAChC,mDAAiC;AACjC,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,8CAA4B;AAC5B,0CAAwB;AACxB,6CAA2B;AAC3B,2CAAyB;AACzB,yCAAuB;AACvB,oDAAkC;AAClC,wDAAsC;AACtC,yCAAuB;AACvB,4CAA0B;AAC1B,4CAA0B;AAC1B,6CAA2B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.2.226",
3
+ "version": "2.2.228",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {