@bondsports/types 2.2.69 → 2.2.70

Sign up to get free protection for your applications and to get access to all the features.
@@ -75,3 +75,6 @@ export declare class PaginatedSearchDto extends PaginationQuery {
75
75
  orderBy?: string;
76
76
  order?: OrderByEnum;
77
77
  }
78
+ export declare class Base64EnabledDto {
79
+ b64?: boolean;
80
+ }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PaginatedSearchDto = exports.IncludeAdditionalDataDto = exports.CronQueryParamsDto = exports.GenericResponseDto = exports.IdsQueryDto = exports.IdsOptionalDto = exports.IdsDto = exports.AuthenticatedRequestDto = exports.IdAndNameDto = exports.IdDto = exports.SharedPaginatedResultDto = exports.PaginationResultDto = exports.PaginationMetaDto = exports.PaginationRangeQuery = exports.IData = exports.PaginationQuery = exports.HUNDRED_PERCENT = exports.MINIMUM_ALLOWED_PERCENTAGE = exports.MINIMUM_ALLOWED_PRICE = exports.DEFAULT_PAGE = exports.DEFAULT_MINIMUM_ITEMS_PER_PAGE = exports.DEFAULT_MAXIMUM_ITEMS_PER_PAGE = exports.FindOneParams = void 0;
3
+ exports.Base64EnabledDto = exports.PaginatedSearchDto = exports.IncludeAdditionalDataDto = exports.CronQueryParamsDto = exports.GenericResponseDto = exports.IdsQueryDto = exports.IdsOptionalDto = exports.IdsDto = exports.AuthenticatedRequestDto = exports.IdAndNameDto = exports.IdDto = exports.SharedPaginatedResultDto = exports.PaginationResultDto = exports.PaginationMetaDto = exports.PaginationRangeQuery = exports.IData = exports.PaginationQuery = exports.HUNDRED_PERCENT = exports.MINIMUM_ALLOWED_PERCENTAGE = exports.MINIMUM_ALLOWED_PRICE = exports.DEFAULT_PAGE = exports.DEFAULT_MINIMUM_ITEMS_PER_PAGE = exports.DEFAULT_MAXIMUM_ITEMS_PER_PAGE = exports.FindOneParams = void 0;
4
4
  class FindOneParams {
5
5
  }
6
6
  exports.FindOneParams = FindOneParams;
@@ -74,4 +74,7 @@ exports.IncludeAdditionalDataDto = IncludeAdditionalDataDto;
74
74
  class PaginatedSearchDto extends PaginationQuery {
75
75
  }
76
76
  exports.PaginatedSearchDto = PaginatedSearchDto;
77
+ class Base64EnabledDto {
78
+ }
79
+ exports.Base64EnabledDto = Base64EnabledDto;
77
80
  //# sourceMappingURL=general.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"general.dto.js","sourceRoot":"","sources":["../../../src/types/dto/general.dto.ts"],"names":[],"mappings":";;;AAGA,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAEY,QAAA,8BAA8B,GAAG,GAAG,CAAC;AACrC,QAAA,8BAA8B,GAAG,EAAE,CAAC;AACpC,QAAA,YAAY,GAAG,CAAC,CAAC;AAEjB,QAAA,qBAAqB,GAAG,GAAG,CAAC;AAC5B,QAAA,0BAA0B,GAAG,IAAI,CAAC;AAClC,QAAA,eAAe,GAAG,GAAG,CAAC;AAEnC,MAAa,eAAe;IAC3B,YAAY,KAA4E;;QAQxF,SAAI,GAAI,oBAAY,CAAC;QAErB,iBAAY,GAAI,sCAA8B,CAAC;QAT9C,IAAI,CAAC,IAAI,GAAG,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,KAAI,oBAAY,CAAC;QACxC,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,GAAG,CAC3B,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,GAAG,mCAAI,sCAA8B,EAC5C,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,YAAY,KAAI,CAAC,MAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,GAAG,mCAAI,sCAA8B,CAAC,CACrE,CAAC;IACH,CAAC;CAKD;AAZD,0CAYC;AAED,MAAa,KAAK;CAEjB;AAFD,sBAEC;AAED,MAAa,oBAAoB;IAAjC;QACC,cAAS,GAAG,CAAC,CAAC;QAEd,YAAO,GAAG,CAAC,CAAC;QAEZ,iBAAY,GAAG,GAAG,CAAC;IACpB,CAAC;CAAA;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ierShowDto extends UserIdentifierDto {
38
38
  }
39
39
  export declare class UserIdentifierCreateDto extends UserIdentifierCoreDto {
40
40
  identifier?: string;
41
+ identifierType?: UserIdentifierType;
41
42
  }
42
43
  export declare class UserIdentifierUpdateDto extends UserIdentifierCreateDto {
43
44
  id: number;
@@ -1 +1 @@
1
- {"version":3,"file":"user-identifier.dto.js","sourceRoot":"","sources":["../../../../src/types/user-identification/dto/user-identifier.dto.ts"],"names":[],"mappings":";;;AACA,8EAA8E;AAC9E,4DAAwF;AACxF,uDAAwD;AAE3C,QAAA,0BAA0B,GAAG,CAAC,CAAC;AAC5C,MAAa,eAAe;CAE3B;AAFD,0CAEC;AAED,MAAa,qCAAsC,SAAQ,6BAAe;CAMzE;AAND,sFAMC;AAED,MAAa,+BAA+B;CAI3C;AAJD,0EAIC;AAED,MAAa,oCAAqC,SAAQ,sCAAmB;CAE5E;AAFD,oFAEC;AAED,MAAM,qBAAqB;CAY1B;AAED,MAAa,iBAAkB,SAAQ,qBAAqB;CAY3D;AAZD,8CAYC;AAED,MAAa,qBAAsB,SAAQ,iBAAiB;CAAG;AAA/D,sDAA+D;AAE/D,MAAa,uBAAwB,SAAQ,qBAAqB;CAEjE;AAFD,0DAEC;AAED,MAAa,uBAAwB,SAAQ,uBAAuB;CAEnE;AAFD,0DAEC;AAED,MAAa,uBAAwB,SAAQ,iBAAiB;CAAG;AAAjE,0DAAiE;AAEjE,MAAa,+BAAgC,SAAQ,8BAAyC;CAAG;AAAjG,0EAAiG"}
1
+ {"version":3,"file":"user-identifier.dto.js","sourceRoot":"","sources":["../../../../src/types/user-identification/dto/user-identifier.dto.ts"],"names":[],"mappings":";;;AACA,8EAA8E;AAC9E,4DAAwF;AACxF,uDAAwD;AAE3C,QAAA,0BAA0B,GAAG,CAAC,CAAC;AAC5C,MAAa,eAAe;CAE3B;AAFD,0CAEC;AAED,MAAa,qCAAsC,SAAQ,6BAAe;CAMzE;AAND,sFAMC;AAED,MAAa,+BAA+B;CAI3C;AAJD,0EAIC;AAED,MAAa,oCAAqC,SAAQ,sCAAmB;CAE5E;AAFD,oFAEC;AAED,MAAM,qBAAqB;CAY1B;AAED,MAAa,iBAAkB,SAAQ,qBAAqB;CAY3D;AAZD,8CAYC;AAED,MAAa,qBAAsB,SAAQ,iBAAiB;CAAG;AAA/D,sDAA+D;AAE/D,MAAa,uBAAwB,SAAQ,qBAAqB;CAIjE;AAJD,0DAIC;AAED,MAAa,uBAAwB,SAAQ,uBAAuB;CAEnE;AAFD,0DAEC;AAED,MAAa,uBAAwB,SAAQ,iBAAiB;CAAG;AAAjE,0DAAiE;AAEjE,MAAa,+BAAgC,SAAQ,8BAAyC;CAAG;AAAjG,0EAAiG"}
@@ -2,8 +2,9 @@ import { UserIdentifierType } from '../types/enums/user-identifier.types';
2
2
  import { User } from '../../user/entities/User';
3
3
  import { Facility } from '../../entity/Facility';
4
4
  import { Customer } from '../../entity/Customer';
5
- import { OrganizationConnectionBaseEntity } from '../../entity/OrganizationConnectionBaseEntity';
6
- export declare class UserIdentifier extends OrganizationConnectionBaseEntity {
5
+ import { BondBaseEntity } from '../../entity/BondBaseEntity';
6
+ export declare class UserIdentifier extends BondBaseEntity {
7
+ organizationId?: number;
7
8
  identifier: string;
8
9
  identifierType: UserIdentifierType;
9
10
  userId?: number;
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UserIdentifier = void 0;
4
- const OrganizationConnectionBaseEntity_1 = require("../../entity/OrganizationConnectionBaseEntity");
5
- class UserIdentifier extends OrganizationConnectionBaseEntity_1.OrganizationConnectionBaseEntity {
4
+ const BondBaseEntity_1 = require("../../entity/BondBaseEntity");
5
+ class UserIdentifier extends BondBaseEntity_1.BondBaseEntity {
6
6
  }
7
7
  exports.UserIdentifier = UserIdentifier;
8
8
  //# sourceMappingURL=UserIdentifier.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"UserIdentifier.js","sourceRoot":"","sources":["../../../../src/types/user-identification/entities/UserIdentifier.ts"],"names":[],"mappings":";;;AAKA,oGAAiG;AAEjG,MAAa,cAAe,SAAQ,mEAAgC;CAsBnE;AAtBD,wCAsBC"}
1
+ {"version":3,"file":"UserIdentifier.js","sourceRoot":"","sources":["../../../../src/types/user-identification/entities/UserIdentifier.ts"],"names":[],"mappings":";;;AAKA,gEAA6D;AAE7D,MAAa,cAAe,SAAQ,+BAAc;CAyBjD;AAzBD,wCAyBC"}
@@ -1,3 +1,4 @@
1
1
  export declare enum UserIdentifierType {
2
- STANDARD = 0
2
+ STANDARD = 0,
3
+ GLOBAL_DIGITAL = 1
3
4
  }
@@ -3,6 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UserIdentifierType = void 0;
4
4
  var UserIdentifierType;
5
5
  (function (UserIdentifierType) {
6
+ // "Standard" are issued by the organization, typically through a physical cards issued to members, entered into our system by the organization.
6
7
  UserIdentifierType[UserIdentifierType["STANDARD"] = 0] = "STANDARD";
8
+ // "Global Digital" (aka. "Bond ID" or "Digital Passes") are automatically issued by the system and available digitally (eg. a QR code in an email).
9
+ // They are linked to a User (not a Customer) and may be used by any Organization or Facility where that User is a Customer.
10
+ UserIdentifierType[UserIdentifierType["GLOBAL_DIGITAL"] = 1] = "GLOBAL_DIGITAL";
7
11
  })(UserIdentifierType = exports.UserIdentifierType || (exports.UserIdentifierType = {}));
8
12
  //# sourceMappingURL=user-identifier.types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"user-identifier.types.js","sourceRoot":"","sources":["../../../../../src/types/user-identification/types/enums/user-identifier.types.ts"],"names":[],"mappings":";;;AAAA,IAAY,kBAEX;AAFD,WAAY,kBAAkB;IAC7B,mEAAY,CAAA;AACb,CAAC,EAFW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAE7B"}
1
+ {"version":3,"file":"user-identifier.types.js","sourceRoot":"","sources":["../../../../../src/types/user-identification/types/enums/user-identifier.types.ts"],"names":[],"mappings":";;;AAAA,IAAY,kBAMX;AAND,WAAY,kBAAkB;IAC7B,gJAAgJ;IAChJ,mEAAY,CAAA;IACZ,oJAAoJ;IACpJ,4HAA4H;IAC5H,+EAAkB,CAAA;AACnB,CAAC,EANW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAM7B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.2.69",
3
+ "version": "2.2.70",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {