Billing docs improvement + build opt
This commit is contained in:
@@ -39,6 +39,7 @@ const (
|
||||
ChainTransfers Type = "chain_transfers" // Represents chain transfers
|
||||
ChainDeposits Type = "chain_deposits" // Represents chain deposits
|
||||
Callbacks Type = "callbacks" // Represents webhook callback subscriptions
|
||||
ChSettle Type = "chsettle_gateway" // Represents chimera settlement gateway
|
||||
Notifications Type = "notifications" // Represents notifications sent to users
|
||||
Organizations Type = "organizations" // Represents organizations in the system
|
||||
Payments Type = "payments" // Represents payments service
|
||||
@@ -66,7 +67,7 @@ func StringToSType(s string) (Type, error) {
|
||||
ChainTransfers, ChainDeposits, Callbacks, MntxGateway, PaymentGateway, FXOracle, FeePlans, BillingDocuments, FilterProjects, Invitations, Invoices, Logo, Ledger,
|
||||
LedgerAccounts, LedgerBalances, LedgerEntries, LedgerOutbox, LedgerParties, LedgerPlines, Notifications,
|
||||
Organizations, Payments, PaymentRoutes, PaymentOrchestrator, PaymentMethods, Permissions, Policies, PolicyAssignements,
|
||||
Recipients, RefreshTokens, Roles, Storage, Tenants, Workflows, Discovery:
|
||||
Recipients, RefreshTokens, Roles, Storage, Tenants, Workflows, Discovery, ChSettle:
|
||||
return Type(s), nil
|
||||
default:
|
||||
return "", merrors.InvalidArgument("invalid service type", s)
|
||||
|
||||
Reference in New Issue
Block a user