@bondsports/types 2.2.32 → 2.2.33

Sign up to get free protection for your applications and to get access to all the features.
@@ -121,6 +121,35 @@ export declare class GetProductsDto extends PaginationQuery {
121
121
  facilitiesIds?: number[];
122
122
  statuses?: ActivityEnum[];
123
123
  }
124
+ export declare class ProductFieldsDto {
125
+ id: number;
126
+ name: string;
127
+ quantity: number;
128
+ isAll: boolean;
129
+ paymentProcessorId?: string;
130
+ startDate?: Date;
131
+ endDate?: Date;
132
+ isPublic: boolean;
133
+ productType?: ProductTypesEnum;
134
+ downpayment?: number;
135
+ description?: string;
136
+ currPrice: Price;
137
+ productSubType?: ProductSubTypesEnum;
138
+ punchCard: boolean;
139
+ requiredProductIds?: number[];
140
+ variantParentId?: number;
141
+ isAddon: boolean;
142
+ isArchive: boolean;
143
+ timePeriod?: AddonTimePeriodEnum;
144
+ deletedAt?: Date;
145
+ isProRated: boolean;
146
+ tax: number;
147
+ isTaxInclusive: boolean;
148
+ durationMinutes?: number;
149
+ durationDays?: number;
150
+ forms?: number[];
151
+ isForAllCustomers?: boolean;
152
+ }
124
153
  export declare class GetExtraProductDataDto {
125
154
  isPublic?: boolean;
126
155
  isGetByChildResources?: boolean;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResourceProductDto = exports.ProductDto = exports.DeprecatedProductDto = exports.BaseProductDto = exports.SimpleProductDto = exports.GetOrganizationProductsDto = exports.GetExtraProductDataDto = exports.GetProductsDto = exports.ProductsIdsDto = exports.AddRequiredProductsDto = exports.ReturnRequiredProductsDto = exports.ConnectProductResourceDto = exports.ProductInPackage = exports.CreateProductDto = exports.CreateRentalProductAddonDto = exports.CreateProductAvailabilityTimesDto = exports.FindByProductIdDto = void 0;
3
+ exports.ResourceProductDto = exports.ProductDto = exports.DeprecatedProductDto = exports.BaseProductDto = exports.SimpleProductDto = exports.GetOrganizationProductsDto = exports.GetExtraProductDataDto = exports.ProductFieldsDto = exports.GetProductsDto = exports.ProductsIdsDto = exports.AddRequiredProductsDto = exports.ReturnRequiredProductsDto = exports.ConnectProductResourceDto = exports.ProductInPackage = exports.CreateProductDto = exports.CreateRentalProductAddonDto = exports.CreateProductAvailabilityTimesDto = exports.FindByProductIdDto = void 0;
4
4
  const general_dto_1 = require("../../dto/general.dto");
5
5
  class FindByProductIdDto {
6
6
  }
@@ -32,6 +32,9 @@ exports.ProductsIdsDto = ProductsIdsDto;
32
32
  class GetProductsDto extends general_dto_1.PaginationQuery {
33
33
  }
34
34
  exports.GetProductsDto = GetProductsDto;
35
+ class ProductFieldsDto {
36
+ }
37
+ exports.ProductFieldsDto = ProductFieldsDto;
35
38
  class GetExtraProductDataDto {
36
39
  }
37
40
  exports.GetExtraProductDataDto = GetExtraProductDataDto;
@@ -1 +1 @@
1
- {"version":3,"file":"product.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product.dto.ts"],"names":[],"mappings":";;;AAGA,uDAAsE;AAiCtE,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,iCAAiC;CAU7C;AAVD,8EAUC;AAED,MAAa,2BAA2B;CAUvC;AAVD,kEAUC;AAED,MAAa,gBAAgB;CAgF5B;AAhFD,4CAgFC;AAED,MAAa,gBAAiB,SAAQ,gBAAgB;CAMrD;AAND,4CAMC;AAED,MAAa,yBAAyB;CAIrC;AAJD,8DAIC;AAED,MAAa,yBAAyB;CAKrC;AALD,8DAKC;AAED,MAAa,sBAAsB;CAGlC;AAHD,wDAGC;AAED,MAAa,cAAe,SAAQ,6BAAe;CAQlD;AARD,wCAQC;AAED,MAAa,cAAe,SAAQ,6BAAe;CAwBlD;AAxBD,wCAwBC;AAED,MAAa,sBAAsB;CASlC;AATD,wDASC;AAED,MAAa,0BAA2B,SAAQ,6BAAe;CAM9D;AAND,gEAMC;AAED,MAAa,gBAAiB,SAAQ,0BAAY;CAIjD;AAJD,4CAIC;AAED,MAAa,cAAc;CA8G1B;AA9GD,wCA8GC;AAED,MAAa,oBAAqB,SAAQ,cAAc;CAEvD;AAFD,oDAEC;AAED,MAAa,UAAW,SAAQ,cAAc;CAQ7C;AARD,gCAQC;AAED,MAAa,kBAAkB;CAU9B;AAVD,gDAUC"}
1
+ {"version":3,"file":"product.dto.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/dto/product.dto.ts"],"names":[],"mappings":";;;AAGA,uDAAsE;AAiCtE,MAAa,kBAAkB;CAE9B;AAFD,gDAEC;AAED,MAAa,iCAAiC;CAU7C;AAVD,8EAUC;AAED,MAAa,2BAA2B;CAUvC;AAVD,kEAUC;AAED,MAAa,gBAAgB;CAgF5B;AAhFD,4CAgFC;AAED,MAAa,gBAAiB,SAAQ,gBAAgB;CAMrD;AAND,4CAMC;AAED,MAAa,yBAAyB;CAIrC;AAJD,8DAIC;AAED,MAAa,yBAAyB;CAKrC;AALD,8DAKC;AAED,MAAa,sBAAsB;CAGlC;AAHD,wDAGC;AAED,MAAa,cAAe,SAAQ,6BAAe;CAQlD;AARD,wCAQC;AAED,MAAa,cAAe,SAAQ,6BAAe;CAwBlD;AAxBD,wCAwBC;AAED,MAAa,gBAAgB;CAsD5B;AAtDD,4CAsDC;AAED,MAAa,sBAAsB;CASlC;AATD,wDASC;AAED,MAAa,0BAA2B,SAAQ,6BAAe;CAM9D;AAND,gEAMC;AAED,MAAa,gBAAiB,SAAQ,0BAAY;CAIjD;AAJD,4CAIC;AAED,MAAa,cAAc;CA8G1B;AA9GD,wCA8GC;AAED,MAAa,oBAAqB,SAAQ,cAAc;CAEvD;AAFD,oDAEC;AAED,MAAa,UAAW,SAAQ,cAAc;CAQ7C;AARD,gCAQC;AAED,MAAa,kBAAkB;CAU9B;AAVD,gDAUC"}
@@ -1 +1,2 @@
1
1
  export declare const NO_SCHEDULE_GROUP_ID = "no-schedule";
2
+ export declare const LIMIT_PRODUCTS_FETCH_AMOUNT = 1000;
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.NO_SCHEDULE_GROUP_ID = void 0;
3
+ exports.LIMIT_PRODUCTS_FETCH_AMOUNT = exports.NO_SCHEDULE_GROUP_ID = void 0;
4
4
  exports.NO_SCHEDULE_GROUP_ID = 'no-schedule';
5
+ exports.LIMIT_PRODUCTS_FETCH_AMOUNT = 1000;
5
6
  //# sourceMappingURL=product-pricing.consts.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"product-pricing.consts.js","sourceRoot":"","sources":["../../../../../src/types/product-pricing/types/consts/product-pricing.consts.ts"],"names":[],"mappings":";;;AAAa,QAAA,oBAAoB,GAAG,aAAa,CAAC"}
1
+ {"version":3,"file":"product-pricing.consts.js","sourceRoot":"","sources":["../../../../../src/types/product-pricing/types/consts/product-pricing.consts.ts"],"names":[],"mappings":";;;AAAa,QAAA,oBAAoB,GAAG,aAAa,CAAC;AACrC,QAAA,2BAA2B,GAAG,IAAI,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.2.32",
3
+ "version": "2.2.33",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {