diff --git a/apps/sim/blocks/blocks/sap_concur.ts b/apps/sim/blocks/blocks/sap_concur.ts index f7e83b6bfb..ac5ede1dcc 100644 --- a/apps/sim/blocks/blocks/sap_concur.ts +++ b/apps/sim/blocks/blocks/sap_concur.ts @@ -44,8 +44,6 @@ const EXPENSE_READ_CONTEXT_TYPE_OPS = [ 'sap_concur_list_expenses', 'sap_concur_get_expense', 'sap_concur_get_itemizations', - 'sap_concur_create_report_comment', - 'sap_concur_list_report_comments', 'sap_concur_list_exceptions', ] @@ -60,6 +58,8 @@ const ATTENDEE_CONTEXT_TYPE_OPS = [ 'sap_concur_list_attendee_associations', 'sap_concur_associate_attendees', 'sap_concur_remove_all_attendees', + 'sap_concur_create_report_comment', + 'sap_concur_list_report_comments', ] const ALLOCATION_CONTEXT_TYPE_OPS = [ @@ -1104,18 +1104,6 @@ export const SapConcurBlock: BlockConfig = { placeholder: '200', condition: { field: 'operation', value: 'sap_concur_list_travel_profiles_summary' }, }, - { - id: 'travelProfileActive', - title: 'Active Filter', - type: 'dropdown', - options: [ - { label: 'Any', id: '' }, - { label: 'Active', id: '1' }, - { label: 'Inactive', id: '0' }, - ], - value: () => '', - condition: { field: 'operation', value: 'sap_concur_list_travel_profiles_summary' }, - }, { id: 'travelConfigs', title: 'Travel Config IDs', @@ -1721,10 +1709,6 @@ export const SapConcurBlock: BlockConfig = { lastModifiedDate: params.lastModifiedDate, page: params.travelProfilePage ? Number(params.travelProfilePage) : undefined, itemsPerPage: params.itemsPerPage ? Number(params.itemsPerPage) : undefined, - active: - params.travelProfileActive === '1' || params.travelProfileActive === '0' - ? params.travelProfileActive - : undefined, travelConfigs: params.travelConfigs || undefined, } case 'sap_concur_search_locations': @@ -1885,10 +1869,6 @@ export const SapConcurBlock: BlockConfig = { page: { type: 'number', description: 'Page number (lists/list_items)' }, travelProfilePage: { type: 'number', description: 'Profile summary page number' }, itemsPerPage: { type: 'number', description: 'Profile summary items per page' }, - travelProfileActive: { - type: 'string', - description: 'Active filter ("1" for active, "0" for inactive)', - }, travelConfigs: { type: 'string', description: 'Comma-separated travel config ids' }, searchText: { type: 'string', description: 'Locations v5 free-text search' }, locCode: { type: 'string', description: 'Locations v5 location code' }, diff --git a/apps/sim/tools/sap_concur/create_report_comment.ts b/apps/sim/tools/sap_concur/create_report_comment.ts index 2fbb3f1025..f03271695c 100644 --- a/apps/sim/tools/sap_concur/create_report_comment.ts +++ b/apps/sim/tools/sap_concur/create_report_comment.ts @@ -69,7 +69,7 @@ export const createReportCommentTool: ToolConfig< type: 'string', required: true, visibility: 'user-or-llm', - description: 'Access context: TRAVELER, MANAGER, or PROXY', + description: 'Access context: TRAVELER or PROXY', }, reportId: { type: 'string', diff --git a/apps/sim/tools/sap_concur/list_report_comments.ts b/apps/sim/tools/sap_concur/list_report_comments.ts index f618f4b384..f585eae336 100644 --- a/apps/sim/tools/sap_concur/list_report_comments.ts +++ b/apps/sim/tools/sap_concur/list_report_comments.ts @@ -68,7 +68,7 @@ export const listReportCommentsTool: ToolConfig visibility: 'user-or-llm', description: 'SCIM v4.1 pagination cursor returned by a prior call', }, - filter: { - type: 'string', - required: false, - visibility: 'user-or-llm', - description: - 'SCIM filter expression. Supported attributes: userName, employeeNumber, externalId.', - }, attributes: { type: 'string', required: false, @@ -99,7 +92,6 @@ export const listUsersTool: ToolConfig query: buildListQuery({ count: params.count, cursor: params.cursor, - filter: params.filter, attributes: params.attributes, excludedAttributes: params.excludedAttributes, }), diff --git a/apps/sim/tools/sap_concur/types.ts b/apps/sim/tools/sap_concur/types.ts index 426e02ec30..86980bef61 100644 --- a/apps/sim/tools/sap_concur/types.ts +++ b/apps/sim/tools/sap_concur/types.ts @@ -178,14 +178,14 @@ export interface RemoveAllAttendeesParams extends SapConcurBaseParams { export interface ListReportCommentsParams extends SapConcurBaseParams { userId: string - contextType: 'TRAVELER' | 'MANAGER' | 'PROXY' + contextType: 'TRAVELER' | 'PROXY' reportId: string includeAllComments?: boolean } export interface CreateReportCommentParams extends SapConcurBaseParams { userId: string - contextType: 'TRAVELER' | 'MANAGER' | 'PROXY' + contextType: 'TRAVELER' | 'PROXY' reportId: string comment: string } @@ -327,7 +327,6 @@ export interface GetItineraryParams extends SapConcurBaseParams { export interface ListUsersParams extends SapConcurBaseParams { count?: number cursor?: string - filter?: string attributes?: string excludedAttributes?: string } @@ -366,7 +365,6 @@ export interface ListTravelProfilesSummaryParams extends SapConcurBaseParams { lastModifiedDate: string page?: number itemsPerPage?: number - active?: 'Active' | 'Inactive' travelConfigs?: string }