@wrcb/cb-common 1.0.869 → 1.0.871
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.
|
@@ -74,6 +74,10 @@ export declare enum ThoRatingCriterion {
|
|
|
74
74
|
Communication = "Communication",
|
|
75
75
|
ScopeAdherence = "ScopeAdherence"
|
|
76
76
|
}
|
|
77
|
+
export declare enum ThoPaymentMode {
|
|
78
|
+
Live = "live",
|
|
79
|
+
Test = "test"
|
|
80
|
+
}
|
|
77
81
|
export interface ThoSettingsData {
|
|
78
82
|
platformFeePercent: number;
|
|
79
83
|
autoReleaseDays: number;
|
|
@@ -81,4 +85,6 @@ export interface ThoSettingsData {
|
|
|
81
85
|
maxRevisionsPerService: number;
|
|
82
86
|
defaultRevisionsIncluded: number;
|
|
83
87
|
ordersEnabled: boolean;
|
|
88
|
+
stripeMode: ThoPaymentMode;
|
|
89
|
+
pixMode: ThoPaymentMode;
|
|
84
90
|
}
|
|
@@ -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.DeliveryUnit = exports.ServicePriceType = 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.JobPostingStatus = exports.WorkRegime = exports.JobContractType = void 0;
|
|
4
4
|
var JobContractType;
|
|
5
5
|
(function (JobContractType) {
|
|
6
6
|
JobContractType["Clt"] = "Clt";
|
|
@@ -107,3 +107,12 @@ var ThoRatingCriterion;
|
|
|
107
107
|
ThoRatingCriterion["Communication"] = "Communication";
|
|
108
108
|
ThoRatingCriterion["ScopeAdherence"] = "ScopeAdherence";
|
|
109
109
|
})(ThoRatingCriterion || (exports.ThoRatingCriterion = ThoRatingCriterion = {}));
|
|
110
|
+
// Ambiente do provedor de pagamento (Stripe/cartão e Woovi/Pix), alternável
|
|
111
|
+
// pelo administrador no painel. `Live` usa as chaves de produção; `Test` usa as
|
|
112
|
+
// chaves de sandbox — cada provedor tem o seu, definidos como env/secret no
|
|
113
|
+
// cb-payments e no frontend.
|
|
114
|
+
var ThoPaymentMode;
|
|
115
|
+
(function (ThoPaymentMode) {
|
|
116
|
+
ThoPaymentMode["Live"] = "live";
|
|
117
|
+
ThoPaymentMode["Test"] = "test";
|
|
118
|
+
})(ThoPaymentMode || (exports.ThoPaymentMode = ThoPaymentMode = {}));
|