mirror of
https://github.com/andwati/telecom-platform.git
synced 2026-12-05 01:48:48 +00:00
feat: Add analytics, security, and currency SDK modules with comprehensive API endpoints across Elixir and Go SDKs
- Add AnalyticsAPI with churn prediction (predict, metrics, at-risk), market analytics (metrics, competitors, opportunities), predictive maintenance (metrics, assets, alerts, predict), and pricing optimization (metrics, optimize, elasticity) endpoints - Add SecurityAPI with fraud detection (analyze, alerts, update status, metrics, patterns) and SIM swap protection (verify, history) endpoints - Add CurrencyAPI with currency conversion (convert, exchange rates, rate
This commit is contained in:
+6
-2
@@ -16,7 +16,9 @@ type Client struct {
|
||||
Payments *PaymentAPI
|
||||
RatingPlans *RatingPlanAPI
|
||||
System *SystemAPI
|
||||
GraphQL *GraphQLAPI
|
||||
Analytics *AnalyticsAPI
|
||||
Security *SecurityAPI
|
||||
Currency *CurrencyAPI
|
||||
}
|
||||
|
||||
// Config holds the SDK configuration
|
||||
@@ -75,7 +77,9 @@ func NewClient(config *Config) (*Client, error) {
|
||||
client.Payments = NewPaymentAPI(httpClient)
|
||||
client.RatingPlans = NewRatingPlanAPI(httpClient)
|
||||
client.System = NewSystemAPI(httpClient)
|
||||
client.GraphQL = NewGraphQLAPI(httpClient)
|
||||
client.Analytics = NewAnalyticsAPI(httpClient)
|
||||
client.Security = NewSecurityAPI(httpClient)
|
||||
client.Currency = NewCurrencyAPI(httpClient)
|
||||
|
||||
return client, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user