kui-crm 0.0.199 → 0.0.200

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.
package/index.d.ts CHANGED
@@ -532,7 +532,7 @@ declare type RentalContractModel = {
532
532
  first_appraisal_interval_month: number;
533
533
  };
534
534
 
535
- declare type RentPeriodTypes = (typeof RentPeriodTypeValues)[number]["value"][];
535
+ declare type RentPeriodTypes = "short" | "medium" | "long" | "any";
536
536
  declare type FixedCostModel = {
537
537
  name: string;
538
538
  value: string | number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kui-crm",
3
- "version": "0.0.199",
3
+ "version": "0.0.200",
4
4
  "description": "crm complex fields",
5
5
  "main": "./cjs/index.js",
6
6
  "types": "./index.d.ts",
package/types/index.d.ts CHANGED
@@ -552,21 +552,7 @@ declare type RentalContractModel = {
552
552
  first_appraisal_interval_month: number;
553
553
  };
554
554
 
555
- declare const RentPeriodTypeValues: readonly [{
556
- readonly value: "short";
557
- readonly label: "Short";
558
- }, {
559
- readonly value: "medium";
560
- readonly label: "Medium";
561
- }, {
562
- readonly value: "long";
563
- readonly label: "Long";
564
- }, {
565
- readonly value: "any";
566
- readonly label: "All";
567
- }];
568
-
569
- declare type RentPeriodTypes = (typeof RentPeriodTypeValues)[number]["value"][];
555
+ declare type RentPeriodTypes = "short" | "medium" | "long" | "any";
570
556
  declare type FixedCostModel = {
571
557
  name: string;
572
558
  value: string | number;
package/utils/index.d.ts CHANGED
@@ -275,21 +275,7 @@ declare type RentalContractModel = {
275
275
  first_appraisal_interval_month: number;
276
276
  };
277
277
 
278
- declare const RentPeriodTypeValues: readonly [{
279
- readonly value: "short";
280
- readonly label: "Short";
281
- }, {
282
- readonly value: "medium";
283
- readonly label: "Medium";
284
- }, {
285
- readonly value: "long";
286
- readonly label: "Long";
287
- }, {
288
- readonly value: "any";
289
- readonly label: "All";
290
- }];
291
-
292
- declare type RentPeriodTypes = (typeof RentPeriodTypeValues)[number]["value"][];
278
+ declare type RentPeriodTypes = "short" | "medium" | "long" | "any";
293
279
  declare type FixedCostModel = {
294
280
  name: string;
295
281
  value: string | number;