@native-marketing/sdk 0.3.2 → 0.3.4
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/dist/index.js +960 -718
- package/package.json +1 -1
- package/release.json +3 -3
- package/types/contracts/agent/business-document.d.ts +2 -0
- package/types/contracts/agent/compact-surface.d.ts +9 -0
- package/types/contracts/agent/document-page.d.ts +3 -0
- package/types/contracts/asset.d.ts +55 -0
- package/types/contracts/event-delivery.d.ts +22 -0
- package/types/contracts/event-exchange-browser.d.ts +26 -0
- package/types/contracts/event-exchange.d.ts +50 -0
- package/types/contracts/event-inbox.d.ts +136 -0
- package/types/contracts/event-outbox-browser.d.ts +10 -0
- package/types/contracts/event-readiness.d.ts +72 -0
- package/types/contracts/generated/eventsdk-exchange-registration.d.ts +109 -0
- package/types/contracts/generated/eventsdk-outbox-recovery.d.ts +37 -0
- package/types/contracts/index.d.ts +4 -1
- package/types/contracts/knowledge-discovery.d.ts +30 -0
- package/types/contracts/knowledge-material-delivery.d.ts +512 -2
- package/types/contracts/marketing-domain-events.d.ts +4 -4
- package/types/http/generated/schema.d.ts +2209 -995
- package/types/sdk/capability-definition.d.ts +18 -0
- package/types/sdk/compact.d.ts +2 -2
- package/types/sdk/document-page.d.ts +3 -3
- package/types/sdk/operations.d.ts +3 -2
- package/types/sdk/tool-definition.d.ts +2 -1
|
@@ -21,4 +21,22 @@ export declare class CapabilityDefinitionCache {
|
|
|
21
21
|
callsReauthorize: true;
|
|
22
22
|
};
|
|
23
23
|
} | undefined;
|
|
24
|
+
latest(name: string): {
|
|
25
|
+
schemaVersion: 1;
|
|
26
|
+
schemaSha256: string;
|
|
27
|
+
definition: {
|
|
28
|
+
name: string;
|
|
29
|
+
title?: string | undefined;
|
|
30
|
+
description?: string | undefined;
|
|
31
|
+
inputSchema: Record<string, unknown>;
|
|
32
|
+
outputSchema?: Record<string, unknown> | undefined;
|
|
33
|
+
annotations?: Record<string, unknown> | undefined;
|
|
34
|
+
_meta?: Record<string, unknown> | undefined;
|
|
35
|
+
};
|
|
36
|
+
authority: {
|
|
37
|
+
discoveryIsAuthority: false;
|
|
38
|
+
callsReauthorize: true;
|
|
39
|
+
};
|
|
40
|
+
} | undefined;
|
|
41
|
+
forget(name: string): void;
|
|
24
42
|
}
|
package/types/sdk/compact.d.ts
CHANGED
|
@@ -4,14 +4,14 @@ export declare function getNativeBusinessSummary(client: Client, input: Pick<Age
|
|
|
4
4
|
schemaVersion: 1;
|
|
5
5
|
view: "SUMMARY";
|
|
6
6
|
contentComplete: false;
|
|
7
|
-
sourceTool: "cf_get_action" | "cf_get_action_preparations" | "cf_get_agent_configuration_status" | "cf_get_channel_catalog" | "cf_get_channel_feedback" | "cf_get_channel_feedback_fact" | "cf_get_content_proposal" | "cf_get_current_program" | "cf_get_editorial_proposal" | "cf_get_execution_preparation" | "cf_get_foundation_workspace" | "cf_get_improvement_proposal" | "cf_get_operating_workspace" | "cf_get_opportunity" | "cf_get_opportunity_plan" | "cf_get_package_delivery" | "cf_get_package_publication_context" | "cf_get_preparation_basis" | "cf_get_project_access" | "cf_get_publication" | "cf_get_review_context" | "cf_get_saved_material_preparation" | "cf_get_strategy_learning_context" | "cf_get_strategy_preparation" | "cf_get_task_control" | "cf_get_team_member" | "cf_get_work_context" | "cf_get_workspace_progress" | "cf_list_improvement_proposals" | "cf_read_action_delivery" | "cf_read_content_package" | "cf_read_prior_positioning";
|
|
7
|
+
sourceTool: "cf_get_action" | "cf_get_action_preparations" | "cf_get_agent_configuration_status" | "cf_get_channel_catalog" | "cf_get_channel_feedback" | "cf_get_channel_feedback_fact" | "cf_get_content_proposal" | "cf_get_current_program" | "cf_get_editorial_proposal" | "cf_get_execution_preparation" | "cf_get_foundation_workspace" | "cf_get_improvement_proposal" | "cf_get_operating_workspace" | "cf_get_opportunity" | "cf_get_opportunity_plan" | "cf_get_package_delivery" | "cf_get_package_publication_context" | "cf_get_preparation_basis" | "cf_get_project_access" | "cf_get_publication" | "cf_get_review_asset" | "cf_get_review_context" | "cf_get_saved_material_preparation" | "cf_get_strategy_learning_context" | "cf_get_strategy_preparation" | "cf_get_task_control" | "cf_get_team_member" | "cf_get_work_context" | "cf_get_workspace_progress" | "cf_list_improvement_proposals" | "cf_read_action_delivery" | "cf_read_content_package" | "cf_read_prior_positioning";
|
|
8
8
|
documentHash: string;
|
|
9
9
|
actionsHash: string;
|
|
10
10
|
summary: Record<string, unknown>;
|
|
11
11
|
read: {
|
|
12
12
|
tool: "cf_read_business_document";
|
|
13
13
|
input: {
|
|
14
|
-
sourceTool: "cf_assess_external_execution" | "cf_get_action" | "cf_get_action_preparations" | "cf_get_administration_command_receipt" | "cf_get_agent_configuration_status" | "cf_get_channel_account" | "cf_get_channel_catalog" | "cf_get_channel_feedback" | "cf_get_channel_feedback_fact" | "cf_get_channel_feedback_fact_change_receipt" | "cf_get_channel_feedback_receipt" | "cf_get_content_proposal" | "cf_get_current_program" | "cf_get_editorial_proposal" | "cf_get_execution_preparation" | "cf_get_execution_tasks" | "cf_get_foundation" | "cf_get_foundation_analysis_context" | "cf_get_foundation_overview" | "cf_get_foundation_record" | "cf_get_foundation_revision" | "cf_get_foundation_save_receipt" | "cf_get_foundation_survey_transition" | "cf_get_foundation_workspace" | "cf_get_goal_periods" | "cf_get_improvement_proposal" | "cf_get_learning_command_receipt" | "cf_get_operating_workspace" | "cf_get_opportunity" | "cf_get_opportunity_filters" | "cf_get_opportunity_plan" | "cf_get_package_delivery" | "cf_get_package_download" | "cf_get_package_publication_context" | "cf_get_package_target_delivery" | "cf_get_preparation_basis" | "cf_get_program" | "cf_get_program_goal_options" | "cf_get_program_strategy_suggestion" | "cf_get_project_access" | "cf_get_project_media" | "cf_get_publication" | "cf_get_publication_feedback" | "cf_get_review_basis" | "cf_get_review_context" | "cf_get_review_results" | "cf_get_saved_material_preparation" | "cf_get_strategy_learning_context" | "cf_get_strategy_preparation" | "cf_get_survey" | "cf_get_task_control" | "cf_get_task_control_receipt" | "cf_get_team_member" | "cf_get_work_context" | "cf_get_workspace_progress" | "cf_list_actions" | "cf_list_channel_accounts" | "cf_list_content_packages" | "cf_list_editorial_proposals" | "cf_list_execution_proposals" | "cf_list_foundation_history" | "cf_list_improvement_proposals" | "cf_list_knowledge" | "cf_list_material_topics" | "cf_list_materials" | "cf_list_opportunities" | "cf_list_package_files" | "cf_list_prior_positioning" | "cf_list_programs" | "cf_list_project_media" | "cf_list_publications" | "cf_list_surveys" | "cf_list_team_members" | "cf_read_action_delivery" | "cf_read_business_content" | "cf_read_content_package" | "cf_read_foundation_inputs" | "cf_read_knowledge" | "cf_read_prior_positioning" | "cf_read_source";
|
|
14
|
+
sourceTool: "cf_assess_external_execution" | "cf_get_action" | "cf_get_action_preparations" | "cf_get_administration_command_receipt" | "cf_get_agent_configuration_status" | "cf_get_channel_account" | "cf_get_channel_catalog" | "cf_get_channel_feedback" | "cf_get_channel_feedback_fact" | "cf_get_channel_feedback_fact_change_receipt" | "cf_get_channel_feedback_receipt" | "cf_get_content_proposal" | "cf_get_current_program" | "cf_get_editorial_proposal" | "cf_get_execution_preparation" | "cf_get_execution_tasks" | "cf_get_foundation" | "cf_get_foundation_analysis_context" | "cf_get_foundation_overview" | "cf_get_foundation_record" | "cf_get_foundation_revision" | "cf_get_foundation_save_receipt" | "cf_get_foundation_survey_transition" | "cf_get_foundation_workspace" | "cf_get_goal_periods" | "cf_get_improvement_proposal" | "cf_get_learning_command_receipt" | "cf_get_operating_workspace" | "cf_get_opportunity" | "cf_get_opportunity_filters" | "cf_get_opportunity_plan" | "cf_get_package_delivery" | "cf_get_package_download" | "cf_get_package_publication_context" | "cf_get_package_target_delivery" | "cf_get_preparation_basis" | "cf_get_program" | "cf_get_program_goal_options" | "cf_get_program_strategy_suggestion" | "cf_get_project_access" | "cf_get_project_media" | "cf_get_publication" | "cf_get_publication_feedback" | "cf_get_review_asset" | "cf_get_review_basis" | "cf_get_review_context" | "cf_get_review_results" | "cf_get_saved_material_preparation" | "cf_get_strategy_learning_context" | "cf_get_strategy_preparation" | "cf_get_survey" | "cf_get_task_control" | "cf_get_task_control_receipt" | "cf_get_team_member" | "cf_get_work_context" | "cf_get_workspace_progress" | "cf_list_actions" | "cf_list_channel_accounts" | "cf_list_content_packages" | "cf_list_editorial_proposals" | "cf_list_execution_proposals" | "cf_list_foundation_history" | "cf_list_improvement_proposals" | "cf_list_knowledge" | "cf_list_material_topics" | "cf_list_materials" | "cf_list_opportunities" | "cf_list_package_files" | "cf_list_prior_positioning" | "cf_list_programs" | "cf_list_project_media" | "cf_list_publications" | "cf_list_surveys" | "cf_list_team_members" | "cf_read_action_delivery" | "cf_read_business_content" | "cf_read_content_package" | "cf_read_foundation_inputs" | "cf_read_knowledge" | "cf_read_prior_positioning" | "cf_read_source";
|
|
15
15
|
sourceInput: Record<string, unknown>;
|
|
16
16
|
view: "RAW" | "SOURCE_JSON";
|
|
17
17
|
path: string;
|
|
@@ -4,7 +4,7 @@ export declare function readNativeDocumentPage(client: Client, raw: Pick<Busines
|
|
|
4
4
|
[x: string]: unknown;
|
|
5
5
|
schemaVersion: 1;
|
|
6
6
|
documentKind: "BUSINESS_READ";
|
|
7
|
-
sourceTool: "cf_assess_external_execution" | "cf_get_action" | "cf_get_action_preparations" | "cf_get_administration_command_receipt" | "cf_get_agent_configuration_status" | "cf_get_channel_account" | "cf_get_channel_catalog" | "cf_get_channel_feedback" | "cf_get_channel_feedback_fact" | "cf_get_channel_feedback_fact_change_receipt" | "cf_get_channel_feedback_receipt" | "cf_get_content_proposal" | "cf_get_current_program" | "cf_get_editorial_proposal" | "cf_get_execution_preparation" | "cf_get_execution_tasks" | "cf_get_foundation" | "cf_get_foundation_analysis_context" | "cf_get_foundation_overview" | "cf_get_foundation_record" | "cf_get_foundation_revision" | "cf_get_foundation_save_receipt" | "cf_get_foundation_survey_transition" | "cf_get_foundation_workspace" | "cf_get_goal_periods" | "cf_get_improvement_proposal" | "cf_get_learning_command_receipt" | "cf_get_operating_workspace" | "cf_get_opportunity" | "cf_get_opportunity_filters" | "cf_get_opportunity_plan" | "cf_get_package_delivery" | "cf_get_package_download" | "cf_get_package_publication_context" | "cf_get_package_target_delivery" | "cf_get_preparation_basis" | "cf_get_program" | "cf_get_program_goal_options" | "cf_get_program_strategy_suggestion" | "cf_get_project_access" | "cf_get_project_media" | "cf_get_publication" | "cf_get_publication_feedback" | "cf_get_review_basis" | "cf_get_review_context" | "cf_get_review_results" | "cf_get_saved_material_preparation" | "cf_get_strategy_learning_context" | "cf_get_strategy_preparation" | "cf_get_survey" | "cf_get_task_control" | "cf_get_task_control_receipt" | "cf_get_team_member" | "cf_get_work_context" | "cf_get_workspace_progress" | "cf_list_actions" | "cf_list_channel_accounts" | "cf_list_content_packages" | "cf_list_editorial_proposals" | "cf_list_execution_proposals" | "cf_list_foundation_history" | "cf_list_improvement_proposals" | "cf_list_knowledge" | "cf_list_material_topics" | "cf_list_materials" | "cf_list_opportunities" | "cf_list_package_files" | "cf_list_prior_positioning" | "cf_list_programs" | "cf_list_project_media" | "cf_list_publications" | "cf_list_surveys" | "cf_list_team_members" | "cf_read_action_delivery" | "cf_read_business_content" | "cf_read_content_package" | "cf_read_foundation_inputs" | "cf_read_knowledge" | "cf_read_prior_positioning" | "cf_read_source";
|
|
7
|
+
sourceTool: "cf_assess_external_execution" | "cf_get_action" | "cf_get_action_preparations" | "cf_get_administration_command_receipt" | "cf_get_agent_configuration_status" | "cf_get_channel_account" | "cf_get_channel_catalog" | "cf_get_channel_feedback" | "cf_get_channel_feedback_fact" | "cf_get_channel_feedback_fact_change_receipt" | "cf_get_channel_feedback_receipt" | "cf_get_content_proposal" | "cf_get_current_program" | "cf_get_editorial_proposal" | "cf_get_execution_preparation" | "cf_get_execution_tasks" | "cf_get_foundation" | "cf_get_foundation_analysis_context" | "cf_get_foundation_overview" | "cf_get_foundation_record" | "cf_get_foundation_revision" | "cf_get_foundation_save_receipt" | "cf_get_foundation_survey_transition" | "cf_get_foundation_workspace" | "cf_get_goal_periods" | "cf_get_improvement_proposal" | "cf_get_learning_command_receipt" | "cf_get_operating_workspace" | "cf_get_opportunity" | "cf_get_opportunity_filters" | "cf_get_opportunity_plan" | "cf_get_package_delivery" | "cf_get_package_download" | "cf_get_package_publication_context" | "cf_get_package_target_delivery" | "cf_get_preparation_basis" | "cf_get_program" | "cf_get_program_goal_options" | "cf_get_program_strategy_suggestion" | "cf_get_project_access" | "cf_get_project_media" | "cf_get_publication" | "cf_get_publication_feedback" | "cf_get_review_asset" | "cf_get_review_basis" | "cf_get_review_context" | "cf_get_review_results" | "cf_get_saved_material_preparation" | "cf_get_strategy_learning_context" | "cf_get_strategy_preparation" | "cf_get_survey" | "cf_get_task_control" | "cf_get_task_control_receipt" | "cf_get_team_member" | "cf_get_work_context" | "cf_get_workspace_progress" | "cf_list_actions" | "cf_list_channel_accounts" | "cf_list_content_packages" | "cf_list_editorial_proposals" | "cf_list_execution_proposals" | "cf_list_foundation_history" | "cf_list_improvement_proposals" | "cf_list_knowledge" | "cf_list_material_topics" | "cf_list_materials" | "cf_list_opportunities" | "cf_list_package_files" | "cf_list_prior_positioning" | "cf_list_programs" | "cf_list_project_media" | "cf_list_publications" | "cf_list_surveys" | "cf_list_team_members" | "cf_read_action_delivery" | "cf_read_business_content" | "cf_read_content_package" | "cf_read_foundation_inputs" | "cf_read_knowledge" | "cf_read_prior_positioning" | "cf_read_source";
|
|
8
8
|
sourceInput: Record<string, unknown>;
|
|
9
9
|
documentHash: string;
|
|
10
10
|
contentSha256: string;
|
|
@@ -25,7 +25,7 @@ export declare function readNativeDocumentPage(client: Client, raw: Pick<Busines
|
|
|
25
25
|
[x: string]: unknown;
|
|
26
26
|
schemaVersion: 1;
|
|
27
27
|
documentKind: "BUSINESS_READ";
|
|
28
|
-
sourceTool: "cf_assess_external_execution" | "cf_get_action" | "cf_get_action_preparations" | "cf_get_administration_command_receipt" | "cf_get_agent_configuration_status" | "cf_get_channel_account" | "cf_get_channel_catalog" | "cf_get_channel_feedback" | "cf_get_channel_feedback_fact" | "cf_get_channel_feedback_fact_change_receipt" | "cf_get_channel_feedback_receipt" | "cf_get_content_proposal" | "cf_get_current_program" | "cf_get_editorial_proposal" | "cf_get_execution_preparation" | "cf_get_execution_tasks" | "cf_get_foundation" | "cf_get_foundation_analysis_context" | "cf_get_foundation_overview" | "cf_get_foundation_record" | "cf_get_foundation_revision" | "cf_get_foundation_save_receipt" | "cf_get_foundation_survey_transition" | "cf_get_foundation_workspace" | "cf_get_goal_periods" | "cf_get_improvement_proposal" | "cf_get_learning_command_receipt" | "cf_get_operating_workspace" | "cf_get_opportunity" | "cf_get_opportunity_filters" | "cf_get_opportunity_plan" | "cf_get_package_delivery" | "cf_get_package_download" | "cf_get_package_publication_context" | "cf_get_package_target_delivery" | "cf_get_preparation_basis" | "cf_get_program" | "cf_get_program_goal_options" | "cf_get_program_strategy_suggestion" | "cf_get_project_access" | "cf_get_project_media" | "cf_get_publication" | "cf_get_publication_feedback" | "cf_get_review_basis" | "cf_get_review_context" | "cf_get_review_results" | "cf_get_saved_material_preparation" | "cf_get_strategy_learning_context" | "cf_get_strategy_preparation" | "cf_get_survey" | "cf_get_task_control" | "cf_get_task_control_receipt" | "cf_get_team_member" | "cf_get_work_context" | "cf_get_workspace_progress" | "cf_list_actions" | "cf_list_channel_accounts" | "cf_list_content_packages" | "cf_list_editorial_proposals" | "cf_list_execution_proposals" | "cf_list_foundation_history" | "cf_list_improvement_proposals" | "cf_list_knowledge" | "cf_list_material_topics" | "cf_list_materials" | "cf_list_opportunities" | "cf_list_package_files" | "cf_list_prior_positioning" | "cf_list_programs" | "cf_list_project_media" | "cf_list_publications" | "cf_list_surveys" | "cf_list_team_members" | "cf_read_action_delivery" | "cf_read_business_content" | "cf_read_content_package" | "cf_read_foundation_inputs" | "cf_read_knowledge" | "cf_read_prior_positioning" | "cf_read_source";
|
|
28
|
+
sourceTool: "cf_assess_external_execution" | "cf_get_action" | "cf_get_action_preparations" | "cf_get_administration_command_receipt" | "cf_get_agent_configuration_status" | "cf_get_channel_account" | "cf_get_channel_catalog" | "cf_get_channel_feedback" | "cf_get_channel_feedback_fact" | "cf_get_channel_feedback_fact_change_receipt" | "cf_get_channel_feedback_receipt" | "cf_get_content_proposal" | "cf_get_current_program" | "cf_get_editorial_proposal" | "cf_get_execution_preparation" | "cf_get_execution_tasks" | "cf_get_foundation" | "cf_get_foundation_analysis_context" | "cf_get_foundation_overview" | "cf_get_foundation_record" | "cf_get_foundation_revision" | "cf_get_foundation_save_receipt" | "cf_get_foundation_survey_transition" | "cf_get_foundation_workspace" | "cf_get_goal_periods" | "cf_get_improvement_proposal" | "cf_get_learning_command_receipt" | "cf_get_operating_workspace" | "cf_get_opportunity" | "cf_get_opportunity_filters" | "cf_get_opportunity_plan" | "cf_get_package_delivery" | "cf_get_package_download" | "cf_get_package_publication_context" | "cf_get_package_target_delivery" | "cf_get_preparation_basis" | "cf_get_program" | "cf_get_program_goal_options" | "cf_get_program_strategy_suggestion" | "cf_get_project_access" | "cf_get_project_media" | "cf_get_publication" | "cf_get_publication_feedback" | "cf_get_review_asset" | "cf_get_review_basis" | "cf_get_review_context" | "cf_get_review_results" | "cf_get_saved_material_preparation" | "cf_get_strategy_learning_context" | "cf_get_strategy_preparation" | "cf_get_survey" | "cf_get_task_control" | "cf_get_task_control_receipt" | "cf_get_team_member" | "cf_get_work_context" | "cf_get_workspace_progress" | "cf_list_actions" | "cf_list_channel_accounts" | "cf_list_content_packages" | "cf_list_editorial_proposals" | "cf_list_execution_proposals" | "cf_list_foundation_history" | "cf_list_improvement_proposals" | "cf_list_knowledge" | "cf_list_material_topics" | "cf_list_materials" | "cf_list_opportunities" | "cf_list_package_files" | "cf_list_prior_positioning" | "cf_list_programs" | "cf_list_project_media" | "cf_list_publications" | "cf_list_surveys" | "cf_list_team_members" | "cf_read_action_delivery" | "cf_read_business_content" | "cf_read_content_package" | "cf_read_foundation_inputs" | "cf_read_knowledge" | "cf_read_prior_positioning" | "cf_read_source";
|
|
29
29
|
sourceInput: Record<string, unknown>;
|
|
30
30
|
documentHash: string;
|
|
31
31
|
contentSha256: string;
|
|
@@ -51,7 +51,7 @@ export declare function readNativeDocumentPage(client: Client, raw: Pick<Busines
|
|
|
51
51
|
[x: string]: unknown;
|
|
52
52
|
schemaVersion: 1;
|
|
53
53
|
documentKind: "BUSINESS_READ";
|
|
54
|
-
sourceTool: "cf_assess_external_execution" | "cf_get_action" | "cf_get_action_preparations" | "cf_get_administration_command_receipt" | "cf_get_agent_configuration_status" | "cf_get_channel_account" | "cf_get_channel_catalog" | "cf_get_channel_feedback" | "cf_get_channel_feedback_fact" | "cf_get_channel_feedback_fact_change_receipt" | "cf_get_channel_feedback_receipt" | "cf_get_content_proposal" | "cf_get_current_program" | "cf_get_editorial_proposal" | "cf_get_execution_preparation" | "cf_get_execution_tasks" | "cf_get_foundation" | "cf_get_foundation_analysis_context" | "cf_get_foundation_overview" | "cf_get_foundation_record" | "cf_get_foundation_revision" | "cf_get_foundation_save_receipt" | "cf_get_foundation_survey_transition" | "cf_get_foundation_workspace" | "cf_get_goal_periods" | "cf_get_improvement_proposal" | "cf_get_learning_command_receipt" | "cf_get_operating_workspace" | "cf_get_opportunity" | "cf_get_opportunity_filters" | "cf_get_opportunity_plan" | "cf_get_package_delivery" | "cf_get_package_download" | "cf_get_package_publication_context" | "cf_get_package_target_delivery" | "cf_get_preparation_basis" | "cf_get_program" | "cf_get_program_goal_options" | "cf_get_program_strategy_suggestion" | "cf_get_project_access" | "cf_get_project_media" | "cf_get_publication" | "cf_get_publication_feedback" | "cf_get_review_basis" | "cf_get_review_context" | "cf_get_review_results" | "cf_get_saved_material_preparation" | "cf_get_strategy_learning_context" | "cf_get_strategy_preparation" | "cf_get_survey" | "cf_get_task_control" | "cf_get_task_control_receipt" | "cf_get_team_member" | "cf_get_work_context" | "cf_get_workspace_progress" | "cf_list_actions" | "cf_list_channel_accounts" | "cf_list_content_packages" | "cf_list_editorial_proposals" | "cf_list_execution_proposals" | "cf_list_foundation_history" | "cf_list_improvement_proposals" | "cf_list_knowledge" | "cf_list_material_topics" | "cf_list_materials" | "cf_list_opportunities" | "cf_list_package_files" | "cf_list_prior_positioning" | "cf_list_programs" | "cf_list_project_media" | "cf_list_publications" | "cf_list_surveys" | "cf_list_team_members" | "cf_read_action_delivery" | "cf_read_business_content" | "cf_read_content_package" | "cf_read_foundation_inputs" | "cf_read_knowledge" | "cf_read_prior_positioning" | "cf_read_source";
|
|
54
|
+
sourceTool: "cf_assess_external_execution" | "cf_get_action" | "cf_get_action_preparations" | "cf_get_administration_command_receipt" | "cf_get_agent_configuration_status" | "cf_get_channel_account" | "cf_get_channel_catalog" | "cf_get_channel_feedback" | "cf_get_channel_feedback_fact" | "cf_get_channel_feedback_fact_change_receipt" | "cf_get_channel_feedback_receipt" | "cf_get_content_proposal" | "cf_get_current_program" | "cf_get_editorial_proposal" | "cf_get_execution_preparation" | "cf_get_execution_tasks" | "cf_get_foundation" | "cf_get_foundation_analysis_context" | "cf_get_foundation_overview" | "cf_get_foundation_record" | "cf_get_foundation_revision" | "cf_get_foundation_save_receipt" | "cf_get_foundation_survey_transition" | "cf_get_foundation_workspace" | "cf_get_goal_periods" | "cf_get_improvement_proposal" | "cf_get_learning_command_receipt" | "cf_get_operating_workspace" | "cf_get_opportunity" | "cf_get_opportunity_filters" | "cf_get_opportunity_plan" | "cf_get_package_delivery" | "cf_get_package_download" | "cf_get_package_publication_context" | "cf_get_package_target_delivery" | "cf_get_preparation_basis" | "cf_get_program" | "cf_get_program_goal_options" | "cf_get_program_strategy_suggestion" | "cf_get_project_access" | "cf_get_project_media" | "cf_get_publication" | "cf_get_publication_feedback" | "cf_get_review_asset" | "cf_get_review_basis" | "cf_get_review_context" | "cf_get_review_results" | "cf_get_saved_material_preparation" | "cf_get_strategy_learning_context" | "cf_get_strategy_preparation" | "cf_get_survey" | "cf_get_task_control" | "cf_get_task_control_receipt" | "cf_get_team_member" | "cf_get_work_context" | "cf_get_workspace_progress" | "cf_list_actions" | "cf_list_channel_accounts" | "cf_list_content_packages" | "cf_list_editorial_proposals" | "cf_list_execution_proposals" | "cf_list_foundation_history" | "cf_list_improvement_proposals" | "cf_list_knowledge" | "cf_list_material_topics" | "cf_list_materials" | "cf_list_opportunities" | "cf_list_package_files" | "cf_list_prior_positioning" | "cf_list_programs" | "cf_list_project_media" | "cf_list_publications" | "cf_list_surveys" | "cf_list_team_members" | "cf_read_action_delivery" | "cf_read_business_content" | "cf_read_content_package" | "cf_read_foundation_inputs" | "cf_read_knowledge" | "cf_read_prior_positioning" | "cf_read_source";
|
|
55
55
|
sourceInput: Record<string, unknown>;
|
|
56
56
|
documentHash: string;
|
|
57
57
|
contentSha256: string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Client } from '@modelcontextprotocol/client';
|
|
2
|
+
import type { CapabilityDefinitionCache } from './capability-definition.js';
|
|
2
3
|
export type NativeReadView = 'SUMMARY' | 'INDEX' | 'PAGE' | 'ORIGINAL';
|
|
3
4
|
export type NativeToolOptions = {
|
|
4
5
|
view?: NativeReadView | undefined;
|
|
@@ -10,7 +11,7 @@ export type NativeToolResult<T = unknown> = {
|
|
|
10
11
|
result: T;
|
|
11
12
|
links: Record<string, string>;
|
|
12
13
|
};
|
|
13
|
-
export declare function inspectNativeTool(client: Client, name: string, timeout?: number): Promise<{
|
|
14
|
+
export declare function inspectNativeTool(client: Client, name: string, timeout?: number, definitions?: CapabilityDefinitionCache): Promise<{
|
|
14
15
|
description?: string | undefined;
|
|
15
16
|
inputSchema: {
|
|
16
17
|
[x: string]: unknown;
|
|
@@ -207,4 +208,4 @@ export declare function listNativeToolsPage(client: Client, input?: Record<strin
|
|
|
207
208
|
title?: string | undefined;
|
|
208
209
|
}[];
|
|
209
210
|
}>;
|
|
210
|
-
export declare function callNativeTool(client: Client, name: string, input: Record<string, unknown>, resource: string, options?: NativeToolOptions, timeout?: number): Promise<NativeToolResult>;
|
|
211
|
+
export declare function callNativeTool(client: Client, name: string, input: Record<string, unknown>, resource: string, options?: NativeToolOptions, timeout?: number, definitions?: CapabilityDefinitionCache): Promise<NativeToolResult>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { Client, Tool } from '@modelcontextprotocol/client';
|
|
2
|
-
|
|
2
|
+
import type { CapabilityDefinitionCache } from './capability-definition.js';
|
|
3
|
+
export declare function nativeToolDefinition(client: Client, name: string, timeout: number, definitions?: CapabilityDefinitionCache, reuse?: boolean): Promise<{
|
|
3
4
|
tool: Tool;
|
|
4
5
|
schemaSha256: string;
|
|
5
6
|
} | {
|