fixed getConfig and deleteConfig input types

This commit is contained in:
Deepak Prabhakara 2022-01-01 01:22:41 +00:00
parent c1aa4242d5
commit 40706fd8d6
3 changed files with 9 additions and 9 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "@boxyhq/saml-jackson",
"version": "0.3.0",
"version": "0.3.1",
"lockfileVersion": 2,
"requires": true,
"packages": {

View File

@ -1,6 +1,6 @@
{
"name": "@boxyhq/saml-jackson",
"version": "0.3.0",
"version": "0.3.1",
"license": "Apache 2.0",
"description": "SAML 2.0 service",
"main": "dist/index.js",

View File

@ -16,16 +16,16 @@ export interface IAPIController {
config(body: IdPConfig): Promise<OAuth>;
getConfig(body: {
clientID: string;
tenant: string;
product: string;
clientID?: string;
tenant?: string;
product?: string;
}): Promise<Partial<OAuth>>;
deleteConfig(body: {
clientID: string;
clientSecret: string;
tenant: string;
product: string;
clientID?: string;
clientSecret?: string;
tenant?: string;
product?: string;
}): Promise<void>;
}