@bondsports/types 2.2.227 → 2.2.229

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,3 +15,6 @@ export declare class SimpleCustomerDto {
15
15
  isAnonymous: boolean;
16
16
  entityId: number;
17
17
  }
18
+ export declare class GetCustomerQueryDto {
19
+ includeUserAndOrganizationUser?: boolean;
20
+ }
@@ -1,10 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- 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 GetCustomerQueryDto {
11
+ }
12
+ exports.GetCustomerQueryDto = GetCustomerQueryDto;
10
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"}
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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.2.227",
3
+ "version": "2.2.229",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {