import { SurveyMonkeyBaseAction } from '../surveymonkey-base.action.js'; import { ActionParam, ActionResultSimple, RunActionParams } from '@memberjunction/actions-base'; /** * Action to update an existing SurveyMonkey survey * * IMPORTANT: When MergeWithExisting is true (default), fetches the current survey * and merges your changes. When false, replaces entire survey data (use with caution). * * The action uses PATCH for partial updates when MergeWithExisting=true, which is * the recommended approach for most use cases. * * Security: Uses secure credential lookup via CompanyID instead of accepting tokens directly. * * @example * ```typescript * await runAction({ * ActionName: 'Update SurveyMonkey', * Params: [{ * Name: 'CompanyID', * Value: 'your-company-id' * }, { * Name: 'SurveyID', * Value: 'abc123' * }, { * Name: 'Title', * Value: 'Updated Survey Title' * }, { * Name: 'MergeWithExisting', * Value: true * }] * }); * ``` */ export declare class UpdateSurveyMonkeyAction extends SurveyMonkeyBaseAction { get Description(): string; protected InternalRunAction(params: RunActionParams): Promise; get Params(): ActionParam[]; } //# sourceMappingURL=update-survey.action.d.ts.map