@bondsports/types 2.2.2 → 2.2.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,5 @@
1
1
  export declare enum ResourceSortByEnum {
2
2
  NAME = "name",
3
- RESOURCE_TYPE = "resourceType"
3
+ RESOURCE_TYPE = "resourceType",
4
+ INVOICE_ID = "invoiceId"
4
5
  }
@@ -5,5 +5,6 @@ var ResourceSortByEnum;
5
5
  (function (ResourceSortByEnum) {
6
6
  ResourceSortByEnum["NAME"] = "name";
7
7
  ResourceSortByEnum["RESOURCE_TYPE"] = "resourceType";
8
+ ResourceSortByEnum["INVOICE_ID"] = "invoiceId";
8
9
  })(ResourceSortByEnum = exports.ResourceSortByEnum || (exports.ResourceSortByEnum = {}));
9
10
  //# sourceMappingURL=connected-resources.enums.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"connected-resources.enums.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/enums/connected-resources.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC7B,mCAAa,CAAA;IACb,oDAA8B,CAAA;AAC/B,CAAC,EAHW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAG7B"}
1
+ {"version":3,"file":"connected-resources.enums.js","sourceRoot":"","sources":["../../../../../src/types/payment/types/enums/connected-resources.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC7B,mCAAa,CAAA;IACb,oDAA8B,CAAA;IAC9B,8CAAwB,CAAA;AACzB,CAAC,EAJW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAI7B"}
@@ -1,7 +1,6 @@
1
1
  import { IdAndNameDto, IncludeAdditionalDataDto } from '../../dto/general.dto';
2
2
  import { ActivityEnum, AmenitiesEnum, OrderByEnum, ProgramTypesEnum, ResourceAgesEnum, ResourceNameTypeEnum, ResourceSubTypeEnum, ResourceTypeEnum, SpacePropertiesEnum, SportsEnum, SurfacesEnum } from '../../services/enums.service';
3
3
  import { Slot } from '../../reservations/entities/Slots';
4
- import { ActivityTimesDto } from '../../programs-seasons/dto/program-seasons.dto';
5
4
  import { Addon } from '../../reservations/entities/Addon';
6
5
  import { FacilityDto } from '../../dto/facilities.dto';
7
6
  import { PurchasedResourceDto } from '../../reservations/dto/purcased-resource.dto';
@@ -9,6 +8,7 @@ import { MediaDto } from '../../media/dto/media.dto';
9
8
  import { IGetFacilityResourcesOptions, IGetResourceByIdsOptions } from '../types/interfaces/resource.interfaces';
10
9
  import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
11
10
  import { OrderByResourceEnum } from '../types/enums/resources.enums';
11
+ import { BasicActivityTimesDto } from '../../dto/activityTimes.dto';
12
12
  export declare class ResourceDto {
13
13
  id: number;
14
14
  type: ResourceNameTypeEnum;
@@ -38,7 +38,7 @@ export declare class SpaceResourceDto extends IdAndNameDto {
38
38
  deletedAt?: Date;
39
39
  userId?: number;
40
40
  status?: ActivityEnum;
41
- activityTimes?: ActivityTimesDto[];
41
+ activityTimes?: BasicActivityTimesDto[];
42
42
  facilities?: FacilityDto[];
43
43
  slots?: Slot[];
44
44
  addons?: Addon[];
@@ -88,7 +88,7 @@ export declare class ByResourceTypeDto {
88
88
  resourceType: ResourceTypeEnum;
89
89
  }
90
90
  export declare class ResourceScheduleDto {
91
- activityTimes: ActivityTimesDto[];
91
+ activityTimes: BasicActivityTimesDto[];
92
92
  }
93
93
  export declare class UpdateResourceDto {
94
94
  id: number;
@@ -1 +1 @@
1
- {"version":3,"file":"resource.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/resource.dto.ts"],"names":[],"mappings":";;;AAAA,uDAA+E;AAqB/E,8EAA8E;AAG9E,MAAa,WAAW;CAIvB;AAJD,kCAIC;AAED,MAAa,iBAAkB,SAAQ,0BAAY;CAAG;AAAtD,8CAAsD;AAEtD,MAAa,gBAAiB,SAAQ,0BAAY;CA8DjD;AA9DD,4CA8DC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;A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,iBAAiB;CAsB7B;AAtBD,8CAsBC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.2.2",
3
+ "version": "2.2.4",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {