mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-21 11:49:59 +00:00
feat(n8n AWS Cognito Node): New node (#11767)
Co-authored-by: Stamsy <stams_89@abv.bg> Co-authored-by: Adina Totorean <adinatotorean99@gmail.com> Co-authored-by: Giulio Andreini <g.andreini@gmail.com> Co-authored-by: AdinaTotorean <64439268+adina-hub@users.noreply.github.com> Co-authored-by: Shireen Missi <94372015+ShireenMissi@users.noreply.github.com> Co-authored-by: feelgood-interface <feelgood.interface@gmail.com>
This commit is contained in:
73
packages/nodes-base/nodes/Aws/Cognito/helpers/interfaces.ts
Normal file
73
packages/nodes-base/nodes/Aws/Cognito/helpers/interfaces.ts
Normal file
@@ -0,0 +1,73 @@
|
||||
import type { IDataObject } from 'n8n-workflow';
|
||||
|
||||
export interface IUserAttribute {
|
||||
Name: string;
|
||||
Value: string;
|
||||
}
|
||||
|
||||
export interface IUser {
|
||||
Username: string;
|
||||
Enabled: boolean;
|
||||
UserCreateDate: string;
|
||||
UserLastModifiedDate: string;
|
||||
UserStatus: string;
|
||||
Attributes?: IUserAttribute[];
|
||||
}
|
||||
|
||||
export interface IGroup {
|
||||
GroupName: string;
|
||||
}
|
||||
|
||||
export interface IListUsersResponse {
|
||||
Users: IUser[];
|
||||
NextToken?: string;
|
||||
}
|
||||
|
||||
export interface IListGroupsResponse {
|
||||
Groups: IGroup[];
|
||||
NextToken?: string;
|
||||
}
|
||||
|
||||
export interface IGroupWithUserResponse extends IGroup {
|
||||
Users: IUser[];
|
||||
}
|
||||
|
||||
export interface IUserAttributeInput {
|
||||
attributeType: string;
|
||||
standardName: string;
|
||||
customName: string;
|
||||
value: string;
|
||||
}
|
||||
|
||||
export interface IUserPool {
|
||||
Id: string;
|
||||
Name: string;
|
||||
UsernameAttributes?: string[];
|
||||
AccountRecoverySetting?: IDataObject;
|
||||
AdminCreateUserConfig?: IDataObject;
|
||||
EmailConfiguration?: IDataObject;
|
||||
LambdaConfig?: IDataObject;
|
||||
Policies?: IDataObject;
|
||||
SchemaAttributes?: IDataObject;
|
||||
UserAttributeUpdateSettings?: IDataObject;
|
||||
UserPoolTags?: IDataObject;
|
||||
UserPoolTier?: string;
|
||||
VerificationMessageTemplate?: IDataObject;
|
||||
}
|
||||
|
||||
export interface Filters {
|
||||
filter?: {
|
||||
attribute?: string;
|
||||
value?: string;
|
||||
};
|
||||
}
|
||||
|
||||
export interface AwsError {
|
||||
__type?: string;
|
||||
message?: string;
|
||||
}
|
||||
|
||||
export interface ErrorMessage {
|
||||
message: string;
|
||||
description: string;
|
||||
}
|
||||
Reference in New Issue
Block a user