@bondsports/types 2.4.12-a-1 → 2.4.14-squad-c-1
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/auth/auth-headers-names.enum.d.ts +6 -0
- package/dist/types/auth/auth-headers-names.enum.js +8 -1
- package/dist/types/auth/auth-headers-names.enum.js.map +1 -1
- package/dist/types/cart/dto/cart-item.dto.d.ts +3 -5
- package/dist/types/cart/dto/cart-item.dto.js.map +1 -1
- package/dist/types/cart/entities/cart-item.entity.d.ts +2 -4
- package/dist/types/cart/entities/cart-item.entity.js.map +1 -1
- package/dist/types/cart/types/consts/cart.consts.d.ts +2 -0
- package/dist/types/cart/types/consts/cart.consts.js +6 -2
- package/dist/types/cart/types/consts/cart.consts.js.map +1 -1
- package/dist/types/cart/types/interfaces/cart.interfaces.d.ts +0 -1
- package/dist/types/customers/dto/add-family-member.dto.d.ts +2 -1
- package/dist/types/customers/dto/add-family-member.dto.js.map +1 -1
- package/dist/types/customers/dto/customer-response.dto.d.ts +9 -0
- package/dist/types/customers/dto/customer-response.dto.js +9 -1
- package/dist/types/customers/dto/customer-response.dto.js.map +1 -1
- package/dist/types/customers/types/interfaces.d.ts +3 -10
- package/dist/types/entity/Invoice.d.ts +2 -0
- package/dist/types/entity/Invoice.js.map +1 -1
- package/dist/types/invoice/types/consts/index.d.ts +1 -0
- package/dist/types/invoice/types/consts/index.js +1 -0
- package/dist/types/invoice/types/consts/index.js.map +1 -1
- package/dist/types/invoice/types/consts/invoice-visibility.consts.d.ts +11 -0
- package/dist/types/invoice/types/consts/invoice-visibility.consts.js +24 -0
- package/dist/types/invoice/types/consts/invoice-visibility.consts.js.map +1 -0
- package/dist/types/invoice/types/enums/index.d.ts +1 -0
- package/dist/types/invoice/types/enums/index.js +18 -0
- package/dist/types/invoice/types/enums/index.js.map +1 -0
- package/dist/types/invoice/types/enums/invoice-visibility.enums.d.ts +19 -0
- package/dist/types/invoice/types/enums/invoice-visibility.enums.js +25 -0
- package/dist/types/invoice/types/enums/invoice-visibility.enums.js.map +1 -0
- package/dist/types/invoice/types/index.d.ts +1 -0
- package/dist/types/invoice/types/index.js +1 -0
- package/dist/types/invoice/types/index.js.map +1 -1
- package/dist/types/league-standings/interfaces/competition-team.interface.d.ts +10 -0
- package/dist/types/league-standings/interfaces/competition-team.interface.js +3 -0
- package/dist/types/league-standings/interfaces/competition-team.interface.js.map +1 -0
- package/dist/types/league-standings/interfaces/index.d.ts +4 -0
- package/dist/types/league-standings/interfaces/index.js +4 -0
- package/dist/types/league-standings/interfaces/index.js.map +1 -1
- package/dist/types/league-standings/interfaces/standings.interface.d.ts +4 -0
- package/dist/types/league-standings/interfaces/standings.interface.js +3 -0
- package/dist/types/league-standings/interfaces/standings.interface.js.map +1 -0
- package/dist/types/payment/types/interfaces/discount.interfaces.d.ts +0 -4
- package/dist/types/payment/types/interfaces/discount.interfaces.js.map +1 -1
- package/dist/types/product-pricing/dto/index.d.ts +1 -0
- package/dist/types/product-pricing/dto/index.js +1 -0
- package/dist/types/product-pricing/dto/index.js.map +1 -1
- package/dist/types/product-pricing/dto/product-categories.dto.d.ts +43 -0
- package/dist/types/product-pricing/dto/product-categories.dto.js +30 -0
- package/dist/types/product-pricing/dto/product-categories.dto.js.map +1 -0
- package/dist/types/product-pricing/dto/product-pricing.dto.d.ts +3 -0
- package/dist/types/product-pricing/dto/product-pricing.dto.js.map +1 -1
- package/dist/types/product-pricing/dto/product.dto.d.ts +2 -0
- package/dist/types/product-pricing/dto/product.dto.js.map +1 -1
- package/dist/types/product-pricing/entities/index.d.ts +1 -0
- package/dist/types/product-pricing/entities/index.js +1 -0
- package/dist/types/product-pricing/entities/index.js.map +1 -1
- package/dist/types/product-pricing/entities/product-category.entity.d.ts +12 -0
- package/dist/types/product-pricing/entities/product-category.entity.js +8 -0
- package/dist/types/product-pricing/entities/product-category.entity.js.map +1 -0
- package/dist/types/product-pricing/entities/product.entity.d.ts +3 -0
- package/dist/types/product-pricing/entities/product.entity.js.map +1 -1
- package/dist/types/product-pricing/types/consts/index.d.ts +1 -0
- package/dist/types/product-pricing/types/consts/index.js +1 -0
- package/dist/types/product-pricing/types/consts/index.js.map +1 -1
- package/dist/types/product-pricing/types/consts/product-category.consts.d.ts +455 -0
- package/dist/types/product-pricing/types/consts/product-category.consts.js +116 -0
- package/dist/types/product-pricing/types/consts/product-category.consts.js.map +1 -0
- package/dist/types/product-pricing/types/enums/index.d.ts +1 -0
- package/dist/types/product-pricing/types/enums/index.js +1 -0
- package/dist/types/product-pricing/types/enums/index.js.map +1 -1
- package/dist/types/product-pricing/types/enums/product-categories.enums.d.ts +8 -0
- package/dist/types/product-pricing/types/enums/product-categories.enums.js +13 -0
- package/dist/types/product-pricing/types/enums/product-categories.enums.js.map +1 -0
- package/dist/types/product-pricing/types/enums/product.enums.d.ts +2 -1
- package/dist/types/product-pricing/types/enums/product.enums.js +1 -0
- package/dist/types/product-pricing/types/enums/product.enums.js.map +1 -1
- package/dist/types/product-pricing/types/interfaces/index.d.ts +1 -0
- package/dist/types/product-pricing/types/interfaces/index.js +1 -0
- package/dist/types/product-pricing/types/interfaces/index.js.map +1 -1
- package/dist/types/product-pricing/types/interfaces/product-categories.interfaces.d.ts +25 -0
- package/dist/types/product-pricing/types/interfaces/product-categories.interfaces.js +3 -0
- package/dist/types/product-pricing/types/interfaces/product-categories.interfaces.js.map +1 -0
- package/dist/types/product-pricing/types/interfaces/product-pricing.interfaces.d.ts +3 -2
- package/dist/types/product-pricing/types/interfaces/validate-resources.interfaces.d.ts +0 -1
- package/dist/types/programs-seasons/dto/program-session.dto.d.ts +1 -0
- package/dist/types/programs-seasons/dto/program-session.dto.js.map +1 -1
- package/dist/types/programs-seasons/types/interfaces/program-session.interfaces.d.ts +20 -2
- package/dist/types/punch-pass/types/interfaces.d.ts +38 -0
- package/dist/types/services/enums.service.d.ts +3 -4
- package/dist/types/services/enums.service.js +2 -3
- package/dist/types/services/enums.service.js.map +1 -1
- package/dist/types/services/interfaces.service.d.ts +0 -5
- package/dist/types/services/interfaces.service.js.map +1 -1
- package/dist/types/session-participants/types/interfaces.d.ts +27 -0
- package/dist/types/user/dto/index.d.ts +0 -2
- package/dist/types/user/dto/index.js +0 -2
- package/dist/types/user/dto/index.js.map +1 -1
- package/dist/types/user/dto/user.dto.d.ts +3 -0
- package/dist/types/user/dto/user.dto.js +4 -1
- package/dist/types/user/dto/user.dto.js.map +1 -1
- package/dist/types/user/entities/Athlete.d.ts +0 -2
- package/dist/types/user/entities/Athlete.js.map +1 -1
- package/dist/types/user/types/index.d.ts +0 -1
- package/dist/types/user/types/index.js +0 -1
- package/dist/types/user/types/index.js.map +1 -1
- package/dist/types/user/types/user.interfaces.d.ts +0 -10
- package/package.json +6 -5
- package/LICENSE.md +0 -0
- package/dist/types/user/dto/athlete.dto.d.ts +0 -14
- package/dist/types/user/dto/athlete.dto.js +0 -13
- package/dist/types/user/dto/athlete.dto.js.map +0 -1
- package/dist/types/user/dto/update-user-profile.dto.d.ts +0 -24
- package/dist/types/user/dto/update-user-profile.dto.js +0 -17
- package/dist/types/user/dto/update-user-profile.dto.js.map +0 -1
- package/dist/types/user/types/user.consts.d.ts +0 -9
- package/dist/types/user/types/user.consts.js +0 -25
- package/dist/types/user/types/user.consts.js.map +0 -1
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { SportsEnum } from '../../activities/types/activities.enums';
|
|
2
|
-
import { LevelOfPlayEnum } from '../../programs/types/enums/program.enums';
|
|
3
|
-
export declare class SchoolItemDto {
|
|
4
|
-
schoolId: number;
|
|
5
|
-
}
|
|
6
|
-
export declare class SportAndLevelDto {
|
|
7
|
-
levelOfPlay: LevelOfPlayEnum;
|
|
8
|
-
sports: SportsEnum;
|
|
9
|
-
}
|
|
10
|
-
export declare class AthleteDto {
|
|
11
|
-
schoolList?: SchoolItemDto[];
|
|
12
|
-
shirtSize?: string;
|
|
13
|
-
sports?: SportAndLevelDto[];
|
|
14
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AthleteDto = exports.SportAndLevelDto = exports.SchoolItemDto = void 0;
|
|
4
|
-
class SchoolItemDto {
|
|
5
|
-
}
|
|
6
|
-
exports.SchoolItemDto = SchoolItemDto;
|
|
7
|
-
class SportAndLevelDto {
|
|
8
|
-
}
|
|
9
|
-
exports.SportAndLevelDto = SportAndLevelDto;
|
|
10
|
-
class AthleteDto {
|
|
11
|
-
}
|
|
12
|
-
exports.AthleteDto = AthleteDto;
|
|
13
|
-
//# sourceMappingURL=athlete.dto.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"athlete.dto.js","sourceRoot":"","sources":["../../../../src/types/user/dto/athlete.dto.ts"],"names":[],"mappings":";;;AAIA,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAED,MAAa,gBAAgB;CAI5B;AAJD,4CAIC;AAED,MAAa,UAAU;CAMtB;AAND,gCAMC"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { AddressDto } from '../../address/dto/address.dto';
|
|
2
|
-
import { GenderEnum } from '../../services/enums.service';
|
|
3
|
-
import { AthleteDto } from './athlete.dto';
|
|
4
|
-
/**
|
|
5
|
-
* Profile fields that can be updated via the user profile update endpoint
|
|
6
|
-
*/
|
|
7
|
-
export declare class UserProfileFieldsDto {
|
|
8
|
-
firstName?: string;
|
|
9
|
-
lastName?: string;
|
|
10
|
-
email?: string;
|
|
11
|
-
phoneNumber?: string;
|
|
12
|
-
birthDate?: string;
|
|
13
|
-
gender?: GenderEnum;
|
|
14
|
-
about?: string;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* DTO for updating user profile (Consumer endpoint)
|
|
18
|
-
* PATCH /v4/user/:userId/profile
|
|
19
|
-
*/
|
|
20
|
-
export declare class UpdateUserProfileDto {
|
|
21
|
-
profile?: UserProfileFieldsDto;
|
|
22
|
-
address?: AddressDto;
|
|
23
|
-
athlete?: AthleteDto;
|
|
24
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateUserProfileDto = exports.UserProfileFieldsDto = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Profile fields that can be updated via the user profile update endpoint
|
|
6
|
-
*/
|
|
7
|
-
class UserProfileFieldsDto {
|
|
8
|
-
}
|
|
9
|
-
exports.UserProfileFieldsDto = UserProfileFieldsDto;
|
|
10
|
-
/**
|
|
11
|
-
* DTO for updating user profile (Consumer endpoint)
|
|
12
|
-
* PATCH /v4/user/:userId/profile
|
|
13
|
-
*/
|
|
14
|
-
class UpdateUserProfileDto {
|
|
15
|
-
}
|
|
16
|
-
exports.UpdateUserProfileDto = UpdateUserProfileDto;
|
|
17
|
-
//# sourceMappingURL=update-user-profile.dto.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"update-user-profile.dto.js","sourceRoot":"","sources":["../../../../src/types/user/dto/update-user-profile.dto.ts"],"names":[],"mappings":";;;AAMA;;GAEG;AACH,MAAa,oBAAoB;CAchC;AAdD,oDAcC;AAED;;;GAGG;AACH,MAAa,oBAAoB;CAMhC;AAND,oDAMC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { GenderEnum } from '../../services/enums.service';
|
|
2
|
-
import { User } from '../entities/User';
|
|
3
|
-
export declare const NO_VALUE = "-";
|
|
4
|
-
export declare const GENDER_LABELS: Record<GenderEnum, string>;
|
|
5
|
-
export declare const PROFILE_FIELD_LABELS: Partial<Record<keyof User, string>>;
|
|
6
|
-
export declare const COGNITO_FIELDS: (keyof User)[];
|
|
7
|
-
export declare enum UserErrorKeysEnum {
|
|
8
|
-
EMAIL_ALREADY_IN_USE = "email_already_in_use"
|
|
9
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UserErrorKeysEnum = exports.COGNITO_FIELDS = exports.PROFILE_FIELD_LABELS = exports.GENDER_LABELS = exports.NO_VALUE = void 0;
|
|
4
|
-
const enums_service_1 = require("../../services/enums.service");
|
|
5
|
-
exports.NO_VALUE = '-';
|
|
6
|
-
exports.GENDER_LABELS = {
|
|
7
|
-
[enums_service_1.GenderEnum.MALE]: 'Male',
|
|
8
|
-
[enums_service_1.GenderEnum.FEMALE]: 'Female',
|
|
9
|
-
[enums_service_1.GenderEnum.OTHER]: 'Other',
|
|
10
|
-
};
|
|
11
|
-
exports.PROFILE_FIELD_LABELS = {
|
|
12
|
-
address: 'Address',
|
|
13
|
-
firstName: 'First Name',
|
|
14
|
-
lastName: 'Last Name',
|
|
15
|
-
email: 'Email',
|
|
16
|
-
phoneNumber: 'Phone',
|
|
17
|
-
birthDate: 'Date of Birth',
|
|
18
|
-
gender: 'Gender',
|
|
19
|
-
};
|
|
20
|
-
exports.COGNITO_FIELDS = ['firstName', 'lastName', 'email', 'birthDate'];
|
|
21
|
-
var UserErrorKeysEnum;
|
|
22
|
-
(function (UserErrorKeysEnum) {
|
|
23
|
-
UserErrorKeysEnum["EMAIL_ALREADY_IN_USE"] = "email_already_in_use";
|
|
24
|
-
})(UserErrorKeysEnum = exports.UserErrorKeysEnum || (exports.UserErrorKeysEnum = {}));
|
|
25
|
-
//# sourceMappingURL=user.consts.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user.consts.js","sourceRoot":"","sources":["../../../../src/types/user/types/user.consts.ts"],"names":[],"mappings":";;;AAAA,gEAA0D;AAG7C,QAAA,QAAQ,GAAG,GAAG,CAAC;AAEf,QAAA,aAAa,GAA+B;IACxD,CAAC,0BAAU,CAAC,IAAI,CAAC,EAAE,MAAM;IACzB,CAAC,0BAAU,CAAC,MAAM,CAAC,EAAE,QAAQ;IAC7B,CAAC,0BAAU,CAAC,KAAK,CAAC,EAAE,OAAO;CAC3B,CAAC;AAEW,QAAA,oBAAoB,GAAwC;IACxE,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,YAAY;IACvB,QAAQ,EAAE,WAAW;IACrB,KAAK,EAAE,OAAO;IACd,WAAW,EAAE,OAAO;IACpB,SAAS,EAAE,eAAe;IAC1B,MAAM,EAAE,QAAQ;CAChB,CAAC;AAEW,QAAA,cAAc,GAAmB,CAAC,WAAW,EAAE,UAAU,EAAE,OAAO,EAAE,WAAW,CAAC,CAAC;AAE9F,IAAY,iBAEX;AAFD,WAAY,iBAAiB;IAC5B,kEAA6C,CAAA;AAC9C,CAAC,EAFW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAE5B"}
|