feat: add billing and usage domain cores
This commit is contained in:
1 parent
48dd5d07c8
commit
5e60bb40e7
14 files changed
+931
No files matched your search
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"version": 1,
|
||||
"currency": "CNY",
|
||||
"moneyUnit": "fen",
|
||||
"statuses": { "insufficientBalance": 402, "idempotencyConflict": 409 },
|
||||
"idempotencyKeys": { "charge": "job-charge:{jobId}", "refund": "job-refund:{jobId}" },
|
||||
"quote": {
|
||||
"quantityRounding": "ceil",
|
||||
"ruleOrder": ["reqKeySpecificity", "conditionSpecificity", "priority"],
|
||||
"tiedWinner": "ambiguity_error",
|
||||
"tierStandardFactors": "multiply",
|
||||
"tierMarkupMultipliers": "maximum"
|
||||
},
|
||||
"exemptions": { "billingDisabled": true, "mockProvider": true, "platformSuperAdminQuota": true }
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"version": 1,
|
||||
"timeZone": "Asia/Shanghai",
|
||||
"excluded": { "sources": ["api"], "providers": ["mock"] },
|
||||
"dedupeKey": "jobId",
|
||||
"scopes": {
|
||||
"personal": "accountId",
|
||||
"organization_admin": "organizationId",
|
||||
"super_admin": "all"
|
||||
},
|
||||
"organizationAdminRedaction": ["accountUsername"]
|
||||
}
|
||||
Reference in new issue
Block a user