@botpress/sdk 0.4.11 → 0.4.12
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.
|
@@ -59,16 +59,16 @@ type UserResponse<TIntegration extends BaseIntegration> = {
|
|
|
59
59
|
tags: ToTags<keyof TIntegration['user']['tags'], PrefixConfig<TIntegration>>;
|
|
60
60
|
}>;
|
|
61
61
|
};
|
|
62
|
-
export type CreateUser<TIntegration extends BaseIntegration> = (x: {
|
|
62
|
+
export type CreateUser<TIntegration extends BaseIntegration> = (x: Merge<Arg<Client['createUser']>, {
|
|
63
63
|
tags: ToTags<keyof TIntegration['user']['tags'], PrefixConfig<TIntegration>>;
|
|
64
|
-
}) => Promise<UserResponse<TIntegration>>;
|
|
64
|
+
}>) => Promise<UserResponse<TIntegration>>;
|
|
65
65
|
export type GetUser<TIntegration extends BaseIntegration> = (x: Arg<Client['getUser']>) => Promise<UserResponse<TIntegration>>;
|
|
66
66
|
export type ListUsers<TIntegration extends BaseIntegration> = (x: Merge<Arg<Client['listUsers']>, {
|
|
67
67
|
tags: ToTags<keyof TIntegration['user']['tags'], PrefixConfig<TIntegration>>;
|
|
68
68
|
}>) => Res<Client['listUsers']>;
|
|
69
|
-
export type GetOrCreateUser<TIntegration extends BaseIntegration> = (x: {
|
|
69
|
+
export type GetOrCreateUser<TIntegration extends BaseIntegration> = (x: Merge<Arg<Client['getOrCreateUser']>, {
|
|
70
70
|
tags: ToTags<keyof TIntegration['user']['tags'], PrefixConfig<TIntegration>>;
|
|
71
|
-
}) => Promise<UserResponse<TIntegration>>;
|
|
71
|
+
}>) => Promise<UserResponse<TIntegration>>;
|
|
72
72
|
export type UpdateUser<TIntegration extends BaseIntegration> = (x: Merge<Arg<Client['updateUser']>, {
|
|
73
73
|
tags: ToTags<keyof TIntegration['user']['tags'], PrefixConfig<TIntegration>>;
|
|
74
74
|
}>) => Promise<UserResponse<TIntegration>>;
|