Files
n8n/packages/nodes-base/nodes/Aws/Cognito/helpers/constants.ts
T
alighasami 3d5eaf9445
Security: Sync from Public / sync-from-public (push) Has been cancelled
Test: Benchmark Nightly / build (push) Has been cancelled
Test: Benchmark Nightly / Notify Cats on failure (push) Has been cancelled
CI: Python / Checks (push) Has been cancelled
Test: Evals Python / Workflow Comparison Python (push) Has been cancelled
Util: Check Docs URLs / check-docs-urls (push) Has been cancelled
Test: Visual Storybook / Cloudflare Pages (push) Has been cancelled
Test: E2E Performance / build-and-test-performance (push) Has been cancelled
Test: Workflows Nightly / Run Workflow Tests (push) Has been cancelled
Util: Cleanup CI Docker Images / Delete stale CI images (push) Has been cancelled
Test: Benchmark Destroy Env / build (push) Has been cancelled
Util: Update Node Popularity / update-popularity (push) Has been cancelled
Test: E2E Coverage Weekly / Coverage Tests (push) Has been cancelled
first commit
2026-03-17 16:22:57 +03:30

65 lines
2.3 KiB
TypeScript

export const HeaderConstants = {
AUTHORIZATION: 'authorization',
X_MS_CONTINUATION: 'x-ms-continuation',
X_MS_COSMOS_OFFER_AUTOPILOT_SETTING: 'x-ms-cosmos-offer-autopilot-setting',
X_MS_DOCUMENTDB_IS_UPSERT: 'x-ms-documentdb-is-upsert',
X_MS_DOCUMENTDB_PARTITIONKEY: 'x-ms-documentdb-partitionkey',
X_MS_MAX_ITEM_COUNT: 'x-ms-max-item-count',
X_MS_OFFER_THROUGHPUT: 'x-ms-offer-throughput',
};
export const ERROR_MESSAGES = {
ResourceNotFound: {
Group: {
delete: {
message: 'The group you are trying to delete could not be found.',
description: 'Adjust the "Group" parameter setting to delete the group correctly.',
},
get: {
message: 'The group you are trying to retrieve could not be found.',
description: 'Adjust the "Group" parameter setting to retrieve the group correctly.',
},
update: {
message: 'The group you are trying to update could not be found.',
description: 'Adjust the "Group" parameter setting to update the group correctly.',
},
},
User: {
delete: {
message: 'The user are trying to retrieve could not be found.',
description: 'Adjust the "User" parameter setting to delete the user correctly.',
},
get: {
message: 'The user you are trying to retrieve could not be found.',
description: 'Adjust the "User" parameter setting to retrieve the user correctly.',
},
update: {
message: 'The user you are trying to update could not be found.',
description: 'Adjust the "User" parameter setting to update the user correctly.',
},
},
},
EntityAlreadyExists: {
Group: {
message: 'The group you are trying to create already exists.',
description: 'Adjust the "Group Name" parameter setting to create the group correctly.',
},
User: {
message: 'The user you are trying to create already exists.',
description: 'Adjust the "User Name" parameter setting to create the user correctly.',
},
},
UserGroup: {
add: {
message: 'The user/group you are trying to add could not be found.',
description:
'Adjust the "User" and "Group" parameters to add the user to the group correctly.',
},
remove: {
message: 'The user/group you are trying to remove could not be found.',
description:
'Adjust the "User" and "Group" parameters to remove the user from the group correctly.',
},
},
};