@bondsports/types 2.2.68 → 2.2.70
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.
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/dto/general.dto.d.ts +3 -0
- package/dist/types/dto/general.dto.js +4 -1
- package/dist/types/dto/general.dto.js.map +1 -1
- package/dist/types/entity/Station.d.ts +2 -2
- package/dist/types/entity/Station.js.map +1 -1
- package/dist/types/user-identification/dto/user-identifier.dto.d.ts +1 -0
- package/dist/types/user-identification/dto/user-identifier.dto.js.map +1 -1
- package/dist/types/user-identification/entities/UserIdentifier.d.ts +3 -2
- package/dist/types/user-identification/entities/UserIdentifier.js +2 -2
- package/dist/types/user-identification/entities/UserIdentifier.js.map +1 -1
- package/dist/types/user-identification/types/enums/user-identifier.types.d.ts +2 -1
- package/dist/types/user-identification/types/enums/user-identifier.types.js +4 -0
- package/dist/types/user-identification/types/enums/user-identifier.types.js.map +1 -1
- package/package.json +1 -1
|
@@ -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,IA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B,CAAC;CACD;AATD,kDASC;AAED,MAAa,wBAA+B,SAAQ,mBAAsB;CAEzE;AAFD,4DAEC;AAED,MAAa,KAAK;CAEjB;AAFD,sBAEC;AAED,MAAa,YAAa,SAAQ,KAAK;CAEtC;AAFD,oCAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC;AAED,MAAa,MAAM;CAElB;AAFD,wBAEC;AAED,MAAa,cAAc;CAE1B;AAFD,wCAEC;AAED,MAAa,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,kBAAkB;CAM9B;AAND,gDAMC;AAED,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,kBAAmB,SAAQ,eAAe;CAMtD;AAND,gDAMC;AAED,MAAa,gBAAgB;CAE5B;AAFD,4CAEC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Shift } from '../shifts/entities/shift.entity';
|
|
2
|
+
import { Facility } from './Facility';
|
|
2
3
|
import { OrganizationConnectionBaseEntity } from './OrganizationConnectionBaseEntity';
|
|
3
|
-
import { Subcategory } from './Subcategory';
|
|
4
4
|
import { StationToSubcategory } from './StationToSubcategory';
|
|
5
|
-
import {
|
|
5
|
+
import { Subcategory } from './Subcategory';
|
|
6
6
|
export declare class Station extends OrganizationConnectionBaseEntity {
|
|
7
7
|
name: string;
|
|
8
8
|
facilityId: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Station.js","sourceRoot":"","sources":["../../../src/types/entity/Station.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"Station.js","sourceRoot":"","sources":["../../../src/types/entity/Station.ts"],"names":[],"mappings":";;;AAGA,yFAAsF;AAItF,MAAa,OAAQ,SAAQ,mEAAgC;CAoB5D;AApBD,0BAoBC"}
|
|
@@ -38,6 +38,7 @@ export declare class UserIdentifierShowDto 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;
|
|
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 {
|
|
6
|
-
export declare class UserIdentifier extends
|
|
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
|
|
5
|
-
class UserIdentifier extends
|
|
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,
|
|
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"}
|
|
@@ -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,
|
|
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"}
|