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:
nutcas3
2026-05-03 13:29:44 +03:00
parent 12887765de
commit 9f51d6f20e
44 changed files with 3432 additions and 146 deletions
+6 -2
View File
@@ -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
}