@bondsports/types 2.2.66 → 2.2.68

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,9 +2,11 @@ import { Shift } from '../shifts/entities/shift.entity';
2
2
  import { OrganizationConnectionBaseEntity } from './OrganizationConnectionBaseEntity';
3
3
  import { Subcategory } from './Subcategory';
4
4
  import { StationToSubcategory } from './StationToSubcategory';
5
+ import { Facility } from './Facility';
5
6
  export declare class Station extends OrganizationConnectionBaseEntity {
6
7
  name: string;
7
8
  facilityId: number;
9
+ facility: Facility;
8
10
  processorTerminalId: string | null;
9
11
  terminaLabel: string | null;
10
12
  processorSerialNumber: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"Station.js","sourceRoot":"","sources":["../../../src/types/entity/Station.ts"],"names":[],"mappings":";;;AAEA,yFAAsF;AAItF,MAAa,OAAQ,SAAQ,mEAAgC;CAkB5D;AAlBD,0BAkBC"}
1
+ {"version":3,"file":"Station.js","sourceRoot":"","sources":["../../../src/types/entity/Station.ts"],"names":[],"mappings":";;;AAEA,yFAAsF;AAKtF,MAAa,OAAQ,SAAQ,mEAAgC;CAoB5D;AApBD,0BAoBC"}
@@ -1,15 +1,15 @@
1
1
  import { QuestionAnswersDto } from '../../../dto/application.dto';
2
2
  import { ActivityTimes } from '../../../entity/ActivityTimes';
3
3
  import { Price } from '../../../pricing/entities/Price';
4
- import { PurchaseResourceDto } from '../../../purchase/dto/purchase.dto';
5
4
  import { ActivityEnum, OrderByEnum, SportsEnum } from '../../../services/enums.service';
6
5
  import { IPagination } from '../../../util/models/interfaces/general.interfaces';
7
6
  import { OrderByProductEnum } from '../enums/product.enums';
7
+ import { IProductResource } from './porduct-resource.interfaces';
8
8
  export interface IGetCurrentPricesOptions {
9
9
  userId?: number;
10
10
  answers?: QuestionAnswersDto[];
11
11
  prefetchedPrices?: Price[];
12
- resources?: PurchaseResourceDto[];
12
+ resources?: IProductResource[];
13
13
  }
14
14
  export interface IGetProductsByTypeOptions extends IPagination {
15
15
  productIds?: number[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.2.66",
3
+ "version": "2.2.68",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {