@wrcb/cb-common 1.0.868 → 1.0.869
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.
|
@@ -15,6 +15,10 @@ export declare enum ServicePriceType {
|
|
|
15
15
|
Fixed = "Fixed",
|
|
16
16
|
Negotiable = "Negotiable"
|
|
17
17
|
}
|
|
18
|
+
export declare enum DeliveryUnit {
|
|
19
|
+
Days = "Days",
|
|
20
|
+
Hours = "Hours"
|
|
21
|
+
}
|
|
18
22
|
export declare enum ApplicationStatus {
|
|
19
23
|
Pending = "Pending",
|
|
20
24
|
Accepted = "Accepted",
|
|
@@ -45,6 +49,7 @@ export interface ServiceAddon {
|
|
|
45
49
|
title: string;
|
|
46
50
|
priceCents?: number;
|
|
47
51
|
deliveryDays?: number;
|
|
52
|
+
deliveryUnit?: DeliveryUnit;
|
|
48
53
|
}
|
|
49
54
|
export interface OrderLineInput {
|
|
50
55
|
kind: ThoOrderLineKind;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ThoRatingCriterion = exports.ThoOrderSettlementReason = exports.ThoDisputeResolution = exports.ThoOrderLineKind = exports.ThoOrderStatus = exports.ConversationContextType = exports.ApplicationStatus = exports.ServicePriceType = exports.JobPostingStatus = exports.WorkRegime = exports.JobContractType = void 0;
|
|
3
|
+
exports.ThoRatingCriterion = exports.ThoOrderSettlementReason = exports.ThoDisputeResolution = exports.ThoOrderLineKind = exports.ThoOrderStatus = exports.ConversationContextType = exports.ApplicationStatus = exports.DeliveryUnit = exports.ServicePriceType = exports.JobPostingStatus = exports.WorkRegime = exports.JobContractType = void 0;
|
|
4
4
|
var JobContractType;
|
|
5
5
|
(function (JobContractType) {
|
|
6
6
|
JobContractType["Clt"] = "Clt";
|
|
@@ -22,6 +22,15 @@ var ServicePriceType;
|
|
|
22
22
|
ServicePriceType["Fixed"] = "Fixed";
|
|
23
23
|
ServicePriceType["Negotiable"] = "Negotiable";
|
|
24
24
|
})(ServicePriceType || (exports.ServicePriceType = ServicePriceType = {}));
|
|
25
|
+
// Unidade do prazo de entrega de um serviço (e de cada adicional). O número
|
|
26
|
+
// guardado (`deliveryDays`) é só o valor; a unidade diz se são dias ou horas —
|
|
27
|
+
// um serviço pode prometer entrega em 8 horas, por exemplo. Ausente = Days
|
|
28
|
+
// (linhas criadas antes deste campo).
|
|
29
|
+
var DeliveryUnit;
|
|
30
|
+
(function (DeliveryUnit) {
|
|
31
|
+
DeliveryUnit["Days"] = "Days";
|
|
32
|
+
DeliveryUnit["Hours"] = "Hours";
|
|
33
|
+
})(DeliveryUnit || (exports.DeliveryUnit = DeliveryUnit = {}));
|
|
25
34
|
var ApplicationStatus;
|
|
26
35
|
(function (ApplicationStatus) {
|
|
27
36
|
ApplicationStatus["Pending"] = "Pending";
|