@fiado/type-kit 1.8.72 → 1.8.73
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/bin/pricelist/dtos/GetDiscountByServiceIdAndDirectoriesResponse.d.ts +29 -0
- package/bin/pricelist/dtos/GetDiscountByServiceIdAndDirectoriesResponse.js +6 -0
- package/bin/pricelist/index.d.ts +1 -1
- package/bin/pricelist/index.js +1 -1
- package/bin/services/dtos/ServiceResponse.d.ts +4 -3
- package/package.json +1 -1
- package/src/pricelist/dtos/{GetPriceListDirectoriesResponse.ts → GetDiscountByServiceIdAndDirectoriesResponse.ts} +2 -1
- package/src/pricelist/index.ts +1 -1
- package/src/services/dtos/ServiceResponse.ts +4 -3
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Company } from "../../company";
|
|
2
|
+
import { Provider } from "../../provider";
|
|
3
|
+
import { ServiceTypeEnum } from "../../services";
|
|
4
|
+
import { ServiceRecurrenceEnum } from "../../services/enums/ServiceRecurrenceEnum";
|
|
5
|
+
export declare class GetDiscountByServiceIdAndDirectoriesResponse {
|
|
6
|
+
priceListId: string;
|
|
7
|
+
serviceId: string;
|
|
8
|
+
company: Company;
|
|
9
|
+
provider: Provider;
|
|
10
|
+
type: ServiceTypeEnum;
|
|
11
|
+
basePrice: number;
|
|
12
|
+
recurrence: ServiceRecurrenceEnum;
|
|
13
|
+
currencyId: string;
|
|
14
|
+
fees: any;
|
|
15
|
+
taxes: any;
|
|
16
|
+
globalDiscounts: {
|
|
17
|
+
discountType: string;
|
|
18
|
+
discountValue: number;
|
|
19
|
+
}[];
|
|
20
|
+
directories: {
|
|
21
|
+
directoryId: string;
|
|
22
|
+
appliedDiscounts: {
|
|
23
|
+
discountType: string;
|
|
24
|
+
discountValue: number;
|
|
25
|
+
source: string;
|
|
26
|
+
referenceId: string;
|
|
27
|
+
}[];
|
|
28
|
+
}[];
|
|
29
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetDiscountByServiceIdAndDirectoriesResponse = void 0;
|
|
4
|
+
class GetDiscountByServiceIdAndDirectoriesResponse {
|
|
5
|
+
}
|
|
6
|
+
exports.GetDiscountByServiceIdAndDirectoriesResponse = GetDiscountByServiceIdAndDirectoriesResponse;
|
package/bin/pricelist/index.d.ts
CHANGED
|
@@ -4,5 +4,5 @@ export * from './dtos/GetDiscountListResponse';
|
|
|
4
4
|
export * from './dtos/DiscountResponse';
|
|
5
5
|
export * from './dtos/GetPricelistListResponse';
|
|
6
6
|
export * from './dtos/PricelistResponse';
|
|
7
|
-
export * from './dtos/
|
|
7
|
+
export * from './dtos/GetDiscountByServiceIdAndDirectoriesResponse';
|
|
8
8
|
export * from './enums/DiscountTypeEnum';
|
package/bin/pricelist/index.js
CHANGED
|
@@ -21,6 +21,6 @@ __exportStar(require("./dtos/GetDiscountListResponse"), exports);
|
|
|
21
21
|
__exportStar(require("./dtos/DiscountResponse"), exports);
|
|
22
22
|
__exportStar(require("./dtos/GetPricelistListResponse"), exports);
|
|
23
23
|
__exportStar(require("./dtos/PricelistResponse"), exports);
|
|
24
|
-
__exportStar(require("./dtos/
|
|
24
|
+
__exportStar(require("./dtos/GetDiscountByServiceIdAndDirectoriesResponse"), exports);
|
|
25
25
|
//enums
|
|
26
26
|
__exportStar(require("./enums/DiscountTypeEnum"), exports);
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { ServiceStatusEnum } from "../../centralPayments";
|
|
2
|
+
import { Company } from "../../company";
|
|
2
3
|
import { Provider } from "../../provider";
|
|
3
|
-
import { ServiceCompanyEnum } from "../enums/ServiceCompanyEnum";
|
|
4
4
|
import { ServiceFlowEnum } from "../enums/ServiceFlowEnum";
|
|
5
|
+
import { ServiceRecurrenceEnum } from "../enums/ServiceRecurrenceEnum";
|
|
5
6
|
import { ServiceTypeEnum } from "../enums/ServiceTypeEnum";
|
|
6
7
|
export declare class ServiceResponse {
|
|
7
8
|
id: string;
|
|
@@ -9,10 +10,10 @@ export declare class ServiceResponse {
|
|
|
9
10
|
description: string;
|
|
10
11
|
status: ServiceStatusEnum;
|
|
11
12
|
type: ServiceTypeEnum;
|
|
12
|
-
company:
|
|
13
|
+
company: Company;
|
|
13
14
|
flow: ServiceFlowEnum;
|
|
14
15
|
provider: Provider;
|
|
15
|
-
recurrence:
|
|
16
|
+
recurrence: ServiceRecurrenceEnum;
|
|
16
17
|
defaultCollectorPreferredDay: number;
|
|
17
18
|
category: string;
|
|
18
19
|
createdAt?: number;
|
package/package.json
CHANGED
|
@@ -3,7 +3,8 @@ import { Provider } from "../../provider";
|
|
|
3
3
|
import { ServiceTypeEnum } from "../../services";
|
|
4
4
|
import { ServiceRecurrenceEnum } from "../../services/enums/ServiceRecurrenceEnum";
|
|
5
5
|
|
|
6
|
-
export class
|
|
6
|
+
export class GetDiscountByServiceIdAndDirectoriesResponse {
|
|
7
|
+
priceListId: string;
|
|
7
8
|
serviceId:string;
|
|
8
9
|
company:Company;
|
|
9
10
|
provider:Provider;
|
package/src/pricelist/index.ts
CHANGED
|
@@ -6,7 +6,7 @@ export * from './dtos/GetDiscountListResponse'
|
|
|
6
6
|
export * from './dtos/DiscountResponse'
|
|
7
7
|
export * from './dtos/GetPricelistListResponse'
|
|
8
8
|
export * from './dtos/PricelistResponse'
|
|
9
|
-
export * from './dtos/
|
|
9
|
+
export * from './dtos/GetDiscountByServiceIdAndDirectoriesResponse'
|
|
10
10
|
|
|
11
11
|
//enums
|
|
12
12
|
export * from './enums/DiscountTypeEnum'
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { ServiceStatusEnum } from "../../centralPayments";
|
|
2
|
+
import { Company } from "../../company";
|
|
2
3
|
import { Provider } from "../../provider";
|
|
3
|
-
import { ServiceCompanyEnum } from "../enums/ServiceCompanyEnum";
|
|
4
4
|
import { ServiceFlowEnum } from "../enums/ServiceFlowEnum";
|
|
5
|
+
import { ServiceRecurrenceEnum } from "../enums/ServiceRecurrenceEnum";
|
|
5
6
|
import { ServiceTypeEnum } from "../enums/ServiceTypeEnum";
|
|
6
7
|
|
|
7
8
|
|
|
@@ -11,10 +12,10 @@ export class ServiceResponse {
|
|
|
11
12
|
description: string;
|
|
12
13
|
status: ServiceStatusEnum;
|
|
13
14
|
type: ServiceTypeEnum;
|
|
14
|
-
company:
|
|
15
|
+
company: Company;
|
|
15
16
|
flow: ServiceFlowEnum;
|
|
16
17
|
provider: Provider;
|
|
17
|
-
recurrence:
|
|
18
|
+
recurrence: ServiceRecurrenceEnum;
|
|
18
19
|
defaultCollectorPreferredDay: number;
|
|
19
20
|
category: string;
|
|
20
21
|
createdAt?: number;
|