@yaakapp/api 0.2.24 → 0.2.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/bindings/events.d.ts
CHANGED
|
@@ -205,7 +205,8 @@ export type FormInputText = {
|
|
|
205
205
|
};
|
|
206
206
|
export type GetHttpAuthenticationResponse = {
|
|
207
207
|
name: string;
|
|
208
|
-
|
|
208
|
+
pluginName: string;
|
|
209
|
+
config: Array<FormInput>;
|
|
209
210
|
};
|
|
210
211
|
export type GetHttpRequestActionsRequest = Record<string, never>;
|
|
211
212
|
export type GetHttpRequestActionsResponse = {
|
|
@@ -222,10 +223,6 @@ export type GetTemplateFunctionsResponse = {
|
|
|
222
223
|
functions: Array<TemplateFunction>;
|
|
223
224
|
pluginRefId: string;
|
|
224
225
|
};
|
|
225
|
-
export type HttpAuthenticationConfigInput = {
|
|
226
|
-
name: string;
|
|
227
|
-
args: Array<FormInput>;
|
|
228
|
-
};
|
|
229
226
|
export type HttpHeader = {
|
|
230
227
|
name: string;
|
|
231
228
|
value: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CallHttpAuthenticationRequest, CallHttpAuthenticationResponse, GetHttpAuthenticationResponse } from '..';
|
|
2
2
|
import type { Context } from './Context';
|
|
3
|
-
export type AuthenticationPlugin = GetHttpAuthenticationResponse & {
|
|
3
|
+
export type AuthenticationPlugin = Omit<GetHttpAuthenticationResponse, 'pluginName'> & {
|
|
4
4
|
onApply(ctx: Context, args: CallHttpAuthenticationRequest): Promise<CallHttpAuthenticationResponse> | CallHttpAuthenticationResponse;
|
|
5
5
|
};
|