Repository navigation
Major Changes
-
d742380: 2.0: richer workflow results, deprecations removed
distributeSurveysresolves toDistributionResult—{ mailingListId, import, distributionId, reminderId }— instead of only the reminder's id.testConnectionresolves to the/whoamipayload (WhoAmI:userId,brandId,userName,accountType,firstName,lastName,email,datacenter) instead of'Connection successful'.- New types:
DistributionResult,WhoAmI. - README gains a "Low-level helpers" section documenting the remaining public utilities and a "Migrating to 2.0" section.
Breaking changes
distributeSurveys: useres.data.reminderIdwhere you usedres.data.testConnection: branch onres.success;res.datais now an object.- Removed
getContactsImportSummaryandGetContactsImportSummaryOptions(Qualtrics deprecated the endpoint;getContactsImportStatusandimportContactsreturn the same fields). - Removed the
exportResponseDataalias; useexportResponses. - No longer exported:
toFailure,validateConnectionOptions,parseQualtricsError,parseRetryAfter(internal helpers).createConnectionstill validates options and throwsTypeError.