@wrcb/cb-common 1.0.874 → 1.0.876
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.
|
@@ -86,6 +86,30 @@ export declare enum ThoFavoriteType {
|
|
|
86
86
|
JobListing = "JobListing",
|
|
87
87
|
Freelancer = "Freelancer"
|
|
88
88
|
}
|
|
89
|
+
export declare enum ThoReportType {
|
|
90
|
+
JobListing = "JobListing",
|
|
91
|
+
Service = "Service",
|
|
92
|
+
Message = "Message",
|
|
93
|
+
Other = "Other"
|
|
94
|
+
}
|
|
95
|
+
export declare enum ThoReportStatus {
|
|
96
|
+
Open = "Open",
|
|
97
|
+
Reviewing = "Reviewing",
|
|
98
|
+
Resolved = "Resolved",
|
|
99
|
+
Dismissed = "Dismissed"
|
|
100
|
+
}
|
|
101
|
+
export interface ThoReportDTO {
|
|
102
|
+
id: string;
|
|
103
|
+
type: ThoReportType;
|
|
104
|
+
targetUrl: string | null;
|
|
105
|
+
description: string;
|
|
106
|
+
contact: string | null;
|
|
107
|
+
status: ThoReportStatus;
|
|
108
|
+
adminNote: string | null;
|
|
109
|
+
reporterUserId: string | null;
|
|
110
|
+
createdAt: string;
|
|
111
|
+
updatedAt: string;
|
|
112
|
+
}
|
|
89
113
|
export interface ThoNotificationSummary {
|
|
90
114
|
unreadMessages: number;
|
|
91
115
|
jobApplicationsReceived: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ThoPaymentMode = exports.ThoRatingCriterion = exports.ThoOrderSettlementReason = exports.ThoDisputeResolution = exports.ThoOrderLineKind = exports.ThoOrderStatus = exports.ConversationContextType = exports.ApplicationStatus = exports.DeliveryUnit = exports.ServicePriceType = exports.ThoFavoriteType = exports.JobApplyMode = exports.JobListingSort = exports.RemoteScope = exports.JobSeniority = exports.JobListingStatus = exports.JobListingSource = exports.JobListingOrigin = exports.JobPostingStatus = exports.WorkRegime = exports.JobContractType = void 0;
|
|
3
|
+
exports.ThoPaymentMode = exports.ThoRatingCriterion = exports.ThoOrderSettlementReason = exports.ThoDisputeResolution = exports.ThoOrderLineKind = exports.ThoOrderStatus = exports.ConversationContextType = exports.ApplicationStatus = exports.DeliveryUnit = exports.ServicePriceType = exports.ThoReportStatus = exports.ThoReportType = exports.ThoFavoriteType = exports.JobApplyMode = exports.JobListingSort = exports.RemoteScope = exports.JobSeniority = exports.JobListingStatus = exports.JobListingSource = exports.JobListingOrigin = exports.JobPostingStatus = exports.WorkRegime = exports.JobContractType = void 0;
|
|
4
4
|
var JobContractType;
|
|
5
5
|
(function (JobContractType) {
|
|
6
6
|
JobContractType["Clt"] = "Clt";
|
|
@@ -102,6 +102,31 @@ var ThoFavoriteType;
|
|
|
102
102
|
ThoFavoriteType["JobListing"] = "JobListing";
|
|
103
103
|
ThoFavoriteType["Freelancer"] = "Freelancer";
|
|
104
104
|
})(ThoFavoriteType || (exports.ThoFavoriteType = ThoFavoriteType = {}));
|
|
105
|
+
// ---------------------------------------------------------------------------
|
|
106
|
+
// Denúncias de oferta suspeita (coleção tho_reports no home-office-backend).
|
|
107
|
+
// Uso INTERNO: qualquer visitante envia pelo formulário público, mas só o
|
|
108
|
+
// administrador lê, no painel.
|
|
109
|
+
// ---------------------------------------------------------------------------
|
|
110
|
+
// O que está sendo denunciado.
|
|
111
|
+
var ThoReportType;
|
|
112
|
+
(function (ThoReportType) {
|
|
113
|
+
ThoReportType["JobListing"] = "JobListing";
|
|
114
|
+
ThoReportType["Service"] = "Service";
|
|
115
|
+
ThoReportType["Message"] = "Message";
|
|
116
|
+
ThoReportType["Other"] = "Other";
|
|
117
|
+
})(ThoReportType || (exports.ThoReportType = ThoReportType = {}));
|
|
118
|
+
// Fila de triagem do administrador.
|
|
119
|
+
// Open — chegou, ninguém olhou.
|
|
120
|
+
// Reviewing — um administrador assumiu.
|
|
121
|
+
// Resolved — procedia; ação tomada (remoção, aviso).
|
|
122
|
+
// Dismissed — analisado e não procedia.
|
|
123
|
+
var ThoReportStatus;
|
|
124
|
+
(function (ThoReportStatus) {
|
|
125
|
+
ThoReportStatus["Open"] = "Open";
|
|
126
|
+
ThoReportStatus["Reviewing"] = "Reviewing";
|
|
127
|
+
ThoReportStatus["Resolved"] = "Resolved";
|
|
128
|
+
ThoReportStatus["Dismissed"] = "Dismissed";
|
|
129
|
+
})(ThoReportStatus || (exports.ThoReportStatus = ThoReportStatus = {}));
|
|
105
130
|
var ServicePriceType;
|
|
106
131
|
(function (ServicePriceType) {
|
|
107
132
|
ServicePriceType["Fixed"] = "Fixed";
|