The decision area has 2 methods on the client. Each takes one object of path, query and body arguments and an optional CallOptions, and returns a promise of the response body. A refused call rejects with OverlaneApiError (see the SDK index).
decisionSettingsGet
Decision model settings
- Request:
GETon/v1/tenants/{tenantId}/decision/settings
decisionSettingsGet(args: { tenantId: string }, options?: CallOptions): Promise<Record<string, unknown>>decisionSettingsPut
Change a decision model use
- Request:
PUTon/v1/tenants/{tenantId}/decision/settings/{use}
decisionSettingsPut(args: { tenantId: string; use: string; body?: Record<string, unknown> }, options?: CallOptions): Promise<Record<string, unknown>>