Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
activitiesApi.deleteActivity('', authClientTwoLegged, authToken);
// $ExpectType Promise
activitiesApi.deleteActivityHistory('', authClientTwoLegged, authToken);
// $ExpectType Promise
activitiesApi.getActivity('', authClientTwoLegged, authToken);
// $ExpectType Promise
activitiesApi.getActivityVersions('', authClientTwoLegged, authToken);
// $ExpectType Promise
activitiesApi.getAllActivities(authClientTwoLegged, authToken);
// $ExpectType Promise
activitiesApi.patchActivity('', {}, authClientTwoLegged, authToken);
// $ExpectType Promise
activitiesApi.setActivityVersion('', {}, authClientTwoLegged, authToken);
// $ExpectType AppPackagesApi
const appPackagesApi = new AppPackagesApi();
// $ExpectType Promise
appPackagesApi.createAppPackage(
{
id: '',
resource: '',
references: [''],
requiredEngineVersion: '',
version: 0,
description: '',
isPublic: true,
isObjectEnabler: true,
},
authClientTwoLegged,
authToken,
);