diff --git a/src/types.ts b/src/types.ts index 35c2213f..fd2abd86 100644 --- a/src/types.ts +++ b/src/types.ts @@ -43,12 +43,12 @@ export type ApiResponse = { export type BaseAuth0APIClient = { actions: APIClientBaseFunctions & { - deploy: ({ id: string }) => Promise; + deploy: (arg0: { id: string }) => Promise; getAllTriggers: () => Promise<{ triggers: Asset[] }>; - getTriggerBindings: ({ trigger_id: string }) => Promise<{ bindings: Asset[] }>; + getTriggerBindings: (arg0: { trigger_id: string }) => Promise<{ bindings: Asset[] }>; updateTriggerBindings: ( - { trigger_id: string }, - { bindings: Object } + arg0: { trigger_id: string }, + arg1: { bindings: Object } ) => Promise<{ bindings: Asset[] }>; }; attackProtection: APIClientBaseFunctions & { @@ -104,10 +104,10 @@ export type BaseAuth0APIClient = { updatePhoneFactorSelectedProvider: (arg0: {}, arg1: Asset) => Promise; }; hooks: APIClientBaseFunctions & { - get: ({ id: string }) => Promise; + get: (arg0: { id: string }) => Promise; removeSecrets: (arg0: {}, arg1: Asset) => Promise; updateSecrets: (arg0: {}, arg1: Asset) => Promise; - getSecrets: ({ id: string }) => Promise>; + getSecrets: (arg0: { id: string }) => Promise>; addSecrets: (arg0: {}, arg1: Asset) => Promise; }; logStreams: APIClientBaseFunctions;