@bondsports/types 2.2.228 → 2.2.230

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.
@@ -15,6 +15,6 @@ export declare class SimpleCustomerDto {
15
15
  isAnonymous: boolean;
16
16
  entityId: number;
17
17
  }
18
- export declare class GetCustomerBodyDto {
19
- extraRelations?: string[];
18
+ export declare class GetCustomerQueryDto {
19
+ includeUserAndOrganizationUser?: boolean;
20
20
  }
@@ -1,13 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetCustomerBodyDto = exports.SimpleCustomerDto = exports.EmergencyContactDto = void 0;
3
+ exports.GetCustomerQueryDto = 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 {
10
+ class GetCustomerQueryDto {
11
11
  }
12
- exports.GetCustomerBodyDto = GetCustomerBodyDto;
12
+ exports.GetCustomerQueryDto = GetCustomerQueryDto;
13
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;AAED,MAAa,kBAAkB;CAE9B;AAFD,gDAEC"}
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,mBAAmB;CAE/B;AAFD,kDAEC"}
@@ -1,3 +1,4 @@
1
1
  import { CreateCustomerOptions } from '../interfaces';
2
2
  export declare const LIMIT_CUSTOMERS_FETCH_AMOUNT = 1000;
3
3
  export declare const DEFAULT_CREATE_CUSTOMER_OPTIONS: CreateCustomerOptions;
4
+ export declare const RELATIONS_FOR_ORGANIZATION_USER: string[];
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DEFAULT_CREATE_CUSTOMER_OPTIONS = exports.LIMIT_CUSTOMERS_FETCH_AMOUNT = void 0;
3
+ exports.RELATIONS_FOR_ORGANIZATION_USER = exports.DEFAULT_CREATE_CUSTOMER_OPTIONS = exports.LIMIT_CUSTOMERS_FETCH_AMOUNT = void 0;
4
4
  exports.LIMIT_CUSTOMERS_FETCH_AMOUNT = 1000;
5
5
  exports.DEFAULT_CREATE_CUSTOMER_OPTIONS = {
6
6
  saveCustomer: true,
@@ -8,4 +8,5 @@ exports.DEFAULT_CREATE_CUSTOMER_OPTIONS = {
8
8
  allowExistingCustomer: false,
9
9
  requireNewUser: false,
10
10
  };
11
+ exports.RELATIONS_FOR_ORGANIZATION_USER = ['user', 'user.organizationUsers'];
11
12
  //# sourceMappingURL=customers.consts.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"customers.consts.js","sourceRoot":"","sources":["../../../../../src/types/customers/types/consts/customers.consts.ts"],"names":[],"mappings":";;;AAEa,QAAA,4BAA4B,GAAG,IAAI,CAAC;AACpC,QAAA,+BAA+B,GAA0B;IACrE,YAAY,EAAE,IAAI;IAClB,wBAAwB,EAAE,IAAI;IAC9B,qBAAqB,EAAE,KAAK;IAC5B,cAAc,EAAE,KAAK;CACrB,CAAC"}
1
+ {"version":3,"file":"customers.consts.js","sourceRoot":"","sources":["../../../../../src/types/customers/types/consts/customers.consts.ts"],"names":[],"mappings":";;;AAEa,QAAA,4BAA4B,GAAG,IAAI,CAAC;AACpC,QAAA,+BAA+B,GAA0B;IACrE,YAAY,EAAE,IAAI;IAClB,wBAAwB,EAAE,IAAI;IAC9B,qBAAqB,EAAE,KAAK;IAC5B,cAAc,EAAE,KAAK;CACrB,CAAC;AAEW,QAAA,+BAA+B,GAAG,CAAC,MAAM,EAAE,wBAAwB,CAAC,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import { SimpleCustomerDto } from '../../customers/dto/customer-response.dto';
2
2
  import { FacilityDto } from '../../dto/facilities.dto';
3
+ import { ProductDto } from '../../product-pricing/dto/product.dto';
3
4
  import { Product } from '../../product-pricing/entities/Product';
4
5
  import { InstructorResourceDto } from '../../resources/dto/instructor.dto';
5
6
  import { SpaceResourceDto } from '../../resources/dto/space.dto';
@@ -96,6 +97,7 @@ export declare class DraftSlotDto extends BaseDraftSlotDto implements IDraftSlot
96
97
  space?: SpaceResourceDto;
97
98
  instructors?: InstructorResourceDto[];
98
99
  participants?: SimpleCustomerDto[];
100
+ product?: ProductDto;
99
101
  conflictsIds?: number[];
100
102
  facility?: FacilityDto;
101
103
  owner?: SimpleCustomerDto;
@@ -1 +1 @@
1
- {"version":3,"file":"slot.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/slot.dto.ts"],"names":[],"mappings":";;;AA8BA,MAAa,sBAAsB;CAUlC;AAVD,wDAUC;AAED,MAAa,4BAA4B;CAQxC;AARD,oEAQC;AAED,MAAa,uBAAuB;CAYnC;AAZD,0DAYC;AAED,MAAa,WAAY,SAAQ,uBAAuB;CA8CvD;AA9CD,kCA8CC;AAED,MAAa,OAAQ,SAAQ,WAAW;CAiCvC;AAjCD,0BAiCC;AAED,MAAa,gBAAiB,SAAQ,WAAW;CAchD;AAdD,4CAcC;AAED,MAAa,kBAAmB,SAAQ,gBAAgB;CAEvD;AAFD,gDAEC;AAED,MAAa,YAAa,SAAQ,gBAAgB;CAgBjD;AAhBD,oCAgBC;AAED,MAAa,WAAW;CAsBvB;AAtBD,kCAsBC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,oBAAoB;CAKhC;AALD,oDAKC;AAED,MAAa,gBAAgB;CAc5B;AAdD,4CAcC;AAED,MAAa,kBAAkB;CAc9B;AAdD,gDAcC;AAED,MAAa,eAAe;CAQ3B;AARD,0CAQC"}
1
+ {"version":3,"file":"slot.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/slot.dto.ts"],"names":[],"mappings":";;;AA8BA,MAAa,sBAAsB;CAUlC;AAVD,wDAUC;AAED,MAAa,4BAA4B;CAQxC;AARD,oEAQC;AAED,MAAa,uBAAuB;CAYnC;AAZD,0DAYC;AAED,MAAa,WAAY,SAAQ,uBAAuB;CA8CvD;AA9CD,kCA8CC;AAED,MAAa,OAAQ,SAAQ,WAAW;CAiCvC;AAjCD,0BAiCC;AAED,MAAa,gBAAiB,SAAQ,WAAW;CAchD;AAdD,4CAcC;AAED,MAAa,kBAAmB,SAAQ,gBAAgB;CAEvD;AAFD,gDAEC;AAED,MAAa,YAAa,SAAQ,gBAAgB;CAkBjD;AAlBD,oCAkBC;AAED,MAAa,WAAW;CAsBvB;AAtBD,kCAsBC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,oBAAoB;CAKhC;AALD,oDAKC;AAED,MAAa,gBAAgB;CAc5B;AAdD,4CAcC;AAED,MAAa,kBAAkB;CAc9B;AAdD,gDAcC;AAED,MAAa,eAAe;CAQ3B;AARD,0CAQC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.2.228",
3
+ "version": "2.2.230",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {