@bondsports/types 2.4.43-squad-c-1 → 2.4.43-squad-c-2

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 (36) hide show
  1. package/dist/tsconfig.build.tsbuildinfo +1 -1
  2. package/dist/types/auth/dto/auth.dto.d.ts +13 -0
  3. package/dist/types/auth/dto/auth.dto.js +13 -0
  4. package/dist/types/auth/dto/auth.dto.js.map +1 -0
  5. package/dist/types/auth/dto/index.d.ts +1 -0
  6. package/dist/types/auth/dto/index.js +18 -0
  7. package/dist/types/auth/dto/index.js.map +1 -0
  8. package/dist/types/auth/index.d.ts +2 -0
  9. package/dist/types/auth/index.js +2 -0
  10. package/dist/types/auth/index.js.map +1 -1
  11. package/dist/types/auth/types/auth.consts.d.ts +5 -0
  12. package/dist/types/auth/types/auth.consts.js +9 -0
  13. package/dist/types/auth/types/auth.consts.js.map +1 -0
  14. package/dist/types/auth/types/auth.interfaces.d.ts +6 -0
  15. package/dist/types/auth/types/auth.interfaces.js +3 -0
  16. package/dist/types/auth/types/auth.interfaces.js.map +1 -0
  17. package/dist/types/auth/types/index.d.ts +2 -0
  18. package/dist/types/auth/types/index.js +19 -0
  19. package/dist/types/auth/types/index.js.map +1 -0
  20. package/dist/types/customers/dto/customer.dto.js.map +1 -1
  21. package/dist/types/errors/dto/error.dto.d.ts +4 -2
  22. package/dist/types/errors/dto/error.dto.js +5 -2
  23. package/dist/types/errors/dto/error.dto.js.map +1 -1
  24. package/dist/types/errors/index.d.ts +1 -0
  25. package/dist/types/errors/index.js +1 -0
  26. package/dist/types/errors/index.js.map +1 -1
  27. package/dist/types/errors/types/error.interfaces.d.ts +8 -0
  28. package/dist/types/errors/types/error.interfaces.js +3 -0
  29. package/dist/types/errors/types/error.interfaces.js.map +1 -0
  30. package/dist/types/errors/types/index.d.ts +1 -0
  31. package/dist/types/errors/types/index.js +18 -0
  32. package/dist/types/errors/types/index.js.map +1 -0
  33. package/dist/types/product-pricing/dto/public-product.dto.d.ts +1 -1
  34. package/dist/types/product-pricing/dto/rental-product.dto.d.ts +1 -0
  35. package/dist/types/product-pricing/dto/rental-product.dto.js.map +1 -1
  36. package/package.json +1 -1
@@ -0,0 +1,13 @@
1
+ import { ITokens } from '../types/auth.interfaces';
2
+ export declare class AuthTokensDto implements ITokens {
3
+ accessToken: string;
4
+ refreshToken: string;
5
+ userIdToken?: string;
6
+ username?: string;
7
+ }
8
+ export declare class PublicAuthRefreshSuccessDto {
9
+ credentials: AuthTokensDto;
10
+ }
11
+ export declare class RedirectUrlDto {
12
+ redirectUri: string;
13
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RedirectUrlDto = exports.PublicAuthRefreshSuccessDto = exports.AuthTokensDto = void 0;
4
+ class AuthTokensDto {
5
+ }
6
+ exports.AuthTokensDto = AuthTokensDto;
7
+ class PublicAuthRefreshSuccessDto {
8
+ }
9
+ exports.PublicAuthRefreshSuccessDto = PublicAuthRefreshSuccessDto;
10
+ class RedirectUrlDto {
11
+ }
12
+ exports.RedirectUrlDto = RedirectUrlDto;
13
+ //# sourceMappingURL=auth.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auth.dto.js","sourceRoot":"","sources":["../../../../src/types/auth/dto/auth.dto.ts"],"names":[],"mappings":";;;AAGA,MAAa,aAAa;CAQzB;AARD,sCAQC;AAED,MAAa,2BAA2B;CAEvC;AAFD,kEAEC;AAED,MAAa,cAAc;CAE1B;AAFD,wCAEC"}
@@ -0,0 +1 @@
1
+ export * from './auth.dto';
@@ -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("./auth.dto"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/auth/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B"}
@@ -1 +1,3 @@
1
1
  export * from './auth-headers-names.enum';
2
+ export * from './dto';
3
+ export * from './types';
@@ -15,4 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./auth-headers-names.enum"), exports);
18
+ __exportStar(require("./dto"), exports);
19
+ __exportStar(require("./types"), exports);
18
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/auth/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/auth/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4DAA0C;AAC1C,wCAAsB;AACtB,0CAAwB"}
@@ -0,0 +1,5 @@
1
+ export declare const PUBLIC_AUTH_ERROR_CODES: {
2
+ FAILED_TO_REFRESH: string;
3
+ FAILED_TO_LOGOUT: string;
4
+ MISSING_CREDENTIALS: string;
5
+ };
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PUBLIC_AUTH_ERROR_CODES = void 0;
4
+ exports.PUBLIC_AUTH_ERROR_CODES = {
5
+ FAILED_TO_REFRESH: 'PUBLIC_AUTH.FAILED_TO_REFRESH',
6
+ FAILED_TO_LOGOUT: 'PUBLIC_AUTH.FAILED_TO_LOGOUT',
7
+ MISSING_CREDENTIALS: 'PUBLIC_AUTH.MISSING_CREDENTIALS',
8
+ };
9
+ //# sourceMappingURL=auth.consts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auth.consts.js","sourceRoot":"","sources":["../../../../src/types/auth/types/auth.consts.ts"],"names":[],"mappings":";;;AAAa,QAAA,uBAAuB,GAAG;IACnC,iBAAiB,EAAE,+BAA+B;IAClD,gBAAgB,EAAE,8BAA8B;IAChD,mBAAmB,EAAE,iCAAiC;CACzD,CAAC"}
@@ -0,0 +1,6 @@
1
+ export interface ITokens {
2
+ accessToken: string;
3
+ refreshToken: string;
4
+ userIdToken?: string;
5
+ username?: string;
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=auth.interfaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auth.interfaces.js","sourceRoot":"","sources":["../../../../src/types/auth/types/auth.interfaces.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export * from './auth.consts';
2
+ export * from './auth.interfaces';
@@ -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("./auth.consts"), exports);
18
+ __exportStar(require("./auth.interfaces"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/auth/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,oDAAkC"}
@@ -1 +1 @@
1
- {"version":3,"file":"customer.dto.js","sourceRoot":"","sources":["../../../../src/types/customers/dto/customer.dto.ts"],"names":[],"mappings":";;;AAMA,MAAM,eAAe;CAkCpB;AAED,MAAa,iBAAkB,SAAQ,eAAe;CAUrD;AAVD,8CAUC;AAED,MAAa,eAAgB,SAAQ,eAAe;CAEnD;AAFD,0CAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC"}
1
+ {"version":3,"file":"customer.dto.js","sourceRoot":"","sources":["../../../../src/types/customers/dto/customer.dto.ts"],"names":[],"mappings":";;;AAKA,MAAM,eAAe;CAkCpB;AAED,MAAa,iBAAkB,SAAQ,eAAe;CAUrD;AAVD,8CAUC;AAED,MAAa,eAAgB,SAAQ,eAAe;CAEnD;AAFD,0CAEC;AAED,MAAa,uBAAuB;CAEnC;AAFD,0DAEC"}
@@ -1,7 +1,9 @@
1
- export declare class ErrorResponsesDto {
2
- statusCode: number;
1
+ export declare class BasicErrorResponsesDto {
3
2
  message: string;
4
3
  code?: string;
4
+ }
5
+ export declare class ErrorResponsesDto extends BasicErrorResponsesDto {
6
+ statusCode: number;
5
7
  timestamp: string;
6
8
  path: string;
7
9
  }
@@ -1,7 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ErrorResponsesDto = void 0;
4
- class ErrorResponsesDto {
3
+ exports.ErrorResponsesDto = exports.BasicErrorResponsesDto = void 0;
4
+ class BasicErrorResponsesDto {
5
+ }
6
+ exports.BasicErrorResponsesDto = BasicErrorResponsesDto;
7
+ class ErrorResponsesDto extends BasicErrorResponsesDto {
5
8
  }
6
9
  exports.ErrorResponsesDto = ErrorResponsesDto;
7
10
  //# sourceMappingURL=error.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"error.dto.js","sourceRoot":"","sources":["../../../../src/types/errors/dto/error.dto.ts"],"names":[],"mappings":";;;AACA,MAAa,iBAAiB;CAU7B;AAVD,8CAUC"}
1
+ {"version":3,"file":"error.dto.js","sourceRoot":"","sources":["../../../../src/types/errors/dto/error.dto.ts"],"names":[],"mappings":";;;AACA,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AAED,MAAa,iBAAkB,SAAQ,sBAAsB;CAM5D;AAND,8CAMC"}
@@ -1 +1,2 @@
1
1
  export * from './dto';
2
+ export * from './types';
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./dto"), exports);
18
+ __exportStar(require("./types"), exports);
18
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/errors/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/errors/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wCAAsB;AACtB,0CAAwB"}
@@ -0,0 +1,8 @@
1
+ interface IError {
2
+ code?: string;
3
+ message: string;
4
+ }
5
+ export interface IErrorResponse {
6
+ error: IError;
7
+ }
8
+ export {};
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=error.interfaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"error.interfaces.js","sourceRoot":"","sources":["../../../../src/types/errors/types/error.interfaces.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export * from './error.interfaces';
@@ -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("./error.interfaces"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/errors/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC"}
@@ -43,7 +43,7 @@ export declare class PricingScheduleDto {
43
43
  export declare class ExtendedProductDto extends BasicProductDto {
44
44
  productType: ProductTypesEnum;
45
45
  duration?: DurationDto;
46
- forms?: number[];
46
+ questionnairesIds?: number[];
47
47
  sports?: SportNameEnum[];
48
48
  packages?: BasicProductPackageDto[];
49
49
  isGated: boolean;
@@ -30,6 +30,7 @@ export declare class CreateRentalProductDto {
30
30
  categoryId?: number;
31
31
  isAvailableOnline?: boolean;
32
32
  requiredProductIds?: number[];
33
+ forms?: number[];
33
34
  activityTimes?: BasicActivityTimesDto[];
34
35
  }
35
36
  export declare class CreatePricingWithScheduleDto {
@@ -1 +1 @@
1
- {"version":3,"file":"rental-product.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/rental-product.dto.ts"],"names":[],"mappings":";;;AAYA,MAAa,sBAAsB;CA8ClC;AA9CD,wDA8CC;AAED,MAAa,4BAA4B;CAIxC;AAJD,oEAIC;AAED,MAAa,qBAAqB;CAMjC;AAND,sDAMC;AAED,MAAa,6BAA6B;CAgBzC;AAhBD,sEAgBC"}
1
+ {"version":3,"file":"rental-product.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/rental-product.dto.ts"],"names":[],"mappings":";;;AAYA,MAAa,sBAAsB;CAgDlC;AAhDD,wDAgDC;AAED,MAAa,4BAA4B;CAIxC;AAJD,oEAIC;AAED,MAAa,qBAAqB;CAMjC;AAND,sDAMC;AAED,MAAa,6BAA6B;CAgBzC;AAhBD,sEAgBC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.4.43-squad-c-1",
3
+ "version": "2.4.43-squad-c-2",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {