Packages

Version 15.18.1

@esri/hub-common

Common TypeScript types and utility functions for @esri/hub.js.

npm install:

npm install @esri/hub-common @esri/arcgis-rest-auth@^2.14.0 || 3  @esri/arcgis-rest-feature-layer@^3.2.0  @esri/arcgis-rest-portal@^2.18.0 || 3  @esri/arcgis-rest-request@^2.14.0 || 3  @esri/arcgis-rest-service-admin@^3.6.0  @esri/arcgis-rest-types@^2.15.0 || 3 

Module Import:

import {
  _getPortalSettings,
  _prepareUploadRequests,
  _waitForItemReady,
  addContextToSlug,
  addDays,
  addDefaultItemSearchPredicates,
  addDomain,
  addDynamicSlugValidation,
  addGroupMembers,
  addHistoryEntry,
  addPermissionPolicy,
  addSiteDomains,
  addSolutionResourceUrlToAssets,
  addUsersToGroup,
  aggregateMetrics,
  aggregateValues,
  allCoordinatesPossiblyWGS84,
  apiRequest,
  appendIdToSlug,
  applyCatalogStructureMigration,
  applyDefaultCollectionMigration,
  applyHubSettingsMigrations,
  applyInitiativeMigrations,
  applyPermissionMigration,
  applyPropertiesToItems,
  applySiteSettingsMigrations,
  applyVersion,
  arrayToObject,
  asyncForEach,
  authenticateRequest,
  authenticateRequest,
  authenticateRequest,
  authenticateRequest,
  autoAddUsers,
  base64ToUnicode,
  batch,
  bBoxToExtent,
  bboxToString,
  breakAssociation,
  buildCatalog,
  buildDefaultEventEntity,
  buildDefaultEventRecord,
  buildDraft,
  buildEventAssociations,
  buildExistingExportsPortalQuery,
  buildReferencedContentSchema,
  buildSchema,
  buildWhereClause,
  cacheBustUrl,
  camelize,
  canEditEvent,
  canEditItem,
  canEditSite,
  canEditSiteContent,
  canUseCreateReplica,
  canUseHubDownloadApi,
  canUseHubDownloadSystem,
  capitalize,
  catalogContains,
  catalogToLegacy,
  channelToSearchResult,
  checkAll,
  checkAny,
  checkAssertion,
  checkAssertions,
  checkAuthentication,
  checkAvailability,
  checkDelete,
  checkEdit,
  checkEntityFeature,
  checkEntityPolicy,
  checkEnvironment,
  checkForStaleVersion,
  checkLicense,
  checkNot,
  checkOwner,
  checkParents,
  checkPermission,
  checkPrivileges,
  checkServiceStatus,
  chunkArray,
  clearMemoizedCache,
  cloneObject,
  combineQueries,
  completeOAuth2,
  compose,
  composeContent,
  composeHubContent,
  computeItemLinks,
  computeItemProps,
  computeLinks,
  computeLinks,
  computeLinks,
  computeLinks,
  computeLinks,
  computeLinks,
  computeLinks,
  computeLinks,
  computeProps,
  computeProps,
  configureBaseResources,
  constructSlug,
  convertCatalogToLegacyFormat,
  convertFeaturesToLegacyCapabilities,
  convertGroupToHubGroup,
  convertHubGroupToGroup,
  convertItemToSite,
  convertModelToPage,
  convertModelToSite,
  convertSolutionTemplateResourcesToAssets,
  convertToWellKnownLocale,
  convertUrlsToAnchorTags,
  convertUserToHubUser,
  createEvent,
  createEvent,
  createExtent,
  createHubGroup,
  createId,
  createItemFromFile,
  createItemFromUrl,
  createItemFromUrlOrFile,
  createModel,
  createNotificationSpec,
  createOperationPipeline,
  createRegistration,
  createRegistration,
  createSetting,
  createSite,
  createSubscription,
  createSubscription,
  createUser,
  createUser,
  createVersion,
  customClient,
  customClient,
  customClient,
  dasherize,
  datasetToContent,
  datasetToItem,
  decodeForm,
  deepCatalogContains,
  deepContains,
  deepDeletePropByValue,
  deepEqual,
  deepFilter,
  deepFind,
  deepFindById,
  deepGetPropValues,
  deepSet,
  deepStringReplace,
  deleteEvent,
  deleteEvent,
  deleteGroupThumbnail,
  deleteHubEvent,
  deleteItemThumbnail,
  deleteNotificationSpec,
  deleteProp,
  deleteRegistration,
  deleteRegistration,
  deleteSchedule,
  deleteSite,
  deleteSubscription,
  deleteUser,
  deleteUser,
  deleteVersion,
  deriveLocationFromItem,
  detectDataTypeFromExtension,
  detectDataTypeFromHeader,
  discussionsApiRequest,
  doesItemExistWithTitle,
  doesResourceExist,
  domainExists,
  domainExistsPortal,
  dotifyString,
  editorToContent,
  editorToEntity,
  editorToInitiative,
  editorToMetric,
  editorToProject,
  editorToTemplate,
  emailOrgUsers,
  enrichContentSearchResult,
  enrichEntity,
  enrichGroupSearchResult,
  enrichInitiativeTemplateSearchResult,
  enrichPageSearchResult,
  enrichSiteSearchResult,
  enrichUserSearchResult,
  ensureProp,
  ensureUniqueDomainName,
  ensureUniqueEntitySlug,
  ensureUniqueString,
  eventAttendeeToSearchResult,
  eventToSearchResult,
  expandPortalQuery,
  expandPredicates,
  expandQuery,
  explainDatePredicate,
  explainFilter,
  explainMatchOptionPredicate,
  explainPredicate,
  explainPropPredicate,
  explainQueryResult,
  extend,
  extentToBBox,
  extentToPolygon,
  failSafe,
  failSafeUpdate,
  fetchAllPages,
  fetchAndUploadResource,
  fetchAndUploadThumbnail,
  fetchCategoryItems,
  fetchContent,
  fetchDownloadFile,
  fetchEntityCatalog,
  fetchGroupEnrichments,
  fetchHubContent,
  fetchHubEntity,
  fetchHubGroup,
  fetchHubTranslation,
  fetchHubUser,
  fetchImageAsBlob,
  fetchInitiativeTemplate,
  fetchItem,
  fetchItemJobRecords,
  fetchMaxNumUserGroupsLimit,
  fetchModelFromItem,
  fetchModelResources,
  fetchOrg,
  fetchOrgLimits,
  fetchSetting,
  fetchSiteModel,
  fetchUserEnrichments,
  fetchUserHubSettings,
  fetchUserSiteSettings,
  filterBy,
  findBy,
  findItemsBySlug,
  flattenArray,
  followEntity,
  forceUpdateContent,
  formatFilterBlock,
  formatOgcAggregationsResponse,
  formatOgcItemsResponse,
  formatPredicate,
  generateRandomString,
  GeoJSONPolygonToBBox,
  getAddContentConfig,
  getAssociatedEntitiesQuery,
  getAssociationHierarchy,
  getAssociationStats,
  getAuthedImageUrl,
  getAvailableToRequestAssociationCatalogs,
  getAvailableToRequestEntitiesQuery,
  getBasePropertyMap,
  getCampaignUrl,
  getCardEditorSchemas,
  getCardModelUrlFromEntity,
  getCardModelUrlFromResult,
  getCardType,
  getCatalogGroups,
  getCategory,
  getCdnAssetUrl,
  getChannelAccess,
  getChannelGroupIds,
  getChannelOrgIds,
  getChannelUsersQuery,
  getContentEditUrl,
  getContentIdentifier,
  getContentTypeIcon,
  getContentTypeLabel,
  getCulture,
  getDatePickerDate,
  getDefaultCreateableTypes,
  getDefaultEntitySettings,
  getDefaultTemplates,
  getDeployedTemplateType,
  getDiscussionsApiDefinition,
  getDomainsForSite,
  getDownloadConfiguration,
  getDownloadFormats,
  getEditorConfig,
  getEditorSchemas,
  getEditorSlug,
  getEntityFollowersGroupId,
  getEntityGroups,
  getEntityMetrics,
  getEntityThumbnailUrl,
  getEntityTypeFromHubEntityType,
  getEnvironmentFromPortalUrl,
  getEvent,
  getEvent,
  getEventGroups,
  getEvents,
  getEvents,
  getEventSlug,
  getEventThumbnail,
  getExtentCenter,
  getExtentObject,
  getFamily,
  getFamilyTypes,
  getFeaturedContentCatalogs,
  getFeatureLayerItem,
  getFeatureServiceItem,
  getFeatureServiceTitle,
  getFeedConfiguration,
  getFeedTemplate,
  getFileName,
  getFilterQueryParam,
  getFormInfoJson,
  getFormJson,
  getGroupHomeUrl,
  getGroupPredicate,
  getGroupThumbnailUrl,
  getHubApiFromPortalUrl,
  getHubApiUrl,
  getHubApiUrlFromPortal,
  getHubApiUrlRoot,
  getHubDownloadApiFormats,
  getHubEntityTypeFromPath,
  getHubLocaleAssetUrl,
  getHubProduct,
  getHubTypeFromItemType,
  getHubUrlFromPortal,
  getIdsFromAssociationGroups,
  getIdsFromKeywords,
  getIncludeListFromItemType,
  getIncludesAndReferencesQuery,
  getIncludesDoesNotReferenceQuery,
  getInputFeatureServiceModel,
  getItemApiUrl,
  getItemAssets,
  getItemBySlug,
  getItemDataUrl,
  getItemHomeUrl,
  getItemHubId,
  getItemIdentifier,
  getItemLayerId,
  getItemOrgId,
  getItemThumbnailUrl,
  getKilobyteSizeOfQuery,
  getLayerIdFromUrl,
  getLocationExtent,
  getLocationFromEvent,
  getLocationOptions,
  getMapQuestion,
  getModel,
  getModelBySlug,
  getModelFromOptions,
  getNextOgcCallback,
  getNotificationSpec,
  getNotificationSpecs,
  getObjectSize,
  getOgcAggregationQueryParams,
  getOptionalPredicateStringsByKey,
  getOrgDefaultTheme,
  getOrgExtentAsBBox,
  getOrgThumbnailUrl,
  getPathForHubEntityType,
  getPendingEntitiesQuery,
  getPendingProjectsQuery,
  getPermissionPolicy,
  getPolicyResponseCode,
  getPortalApiUrl,
  getPortalBaseFromOrgUrl,
  getPortalSignInSettings,
  getPortalUrl,
  getPortalUrls,
  getPostCSVFileName,
  getPredicateValues,
  getPredicateValuesByKey,
  getProp,
  getPropertyMap,
  getProps,
  getProxyUrl,
  getPublisherInfo,
  getQQueryParam,
  getQueryString,
  getRecommendedTemplatesCatalog,
  getReferencedEntityIds,
  getReferencesDoesNotIncludeQuery,
  getRegistration,
  getRegistration,
  getRegistrations,
  getRegistrations,
  getRelativeWorkspaceUrl,
  getRequestingEntitiesQuery,
  getResultSiteRelativeLink,
  getS123EditUrl,
  getS123ShareUrl,
  getSchedule,
  getSchedulerApiUrl,
  getScopeGroupPredicate,
  getServiceStatus,
  getServiceTypeFromUrl,
  getSharableGroupsComboBoxItems,
  getShortenedCategories,
  getSiteById,
  getSiteSchema,
  getSlugMaxLength,
  getSlugSchemaElement,
  getSourceFeatureServiceModelFromFieldworker,
  getStakeholderModel,
  getStructuredLicense,
  getSubscription,
  getSubscription,
  getSubscriptions,
  getSubscriptions,
  getSubscriptionType,
  getSurveyModels,
  getTagItems,
  getTimePickerTime,
  getTopLevelPredicate,
  getTypeCategories,
  getTypeFromEntity,
  getTypes,
  getTypesFromEntityType,
  getUniqueDomainName,
  getUniqueDomainNamePortal,
  getUniqueItemTitle,
  getUniqueSlug,
  getUser,
  getUser,
  getUserGroupsByMembership,
  getUserGroupsFromQuery,
  getUserHomeUrl,
  getUsers,
  getUserThumbnailUrl,
  getVersion,
  getWellKnownAssociationsCatalog,
  getWellKnownCatalog,
  getWellknownCollection,
  getWellknownCollections,
  getWellKnownGroup,
  getWithDefault,
  getWorkflowForType,
  guessTimeZone,
  hasBasePriv,
  hasMapQuestion,
  hasServiceCapability,
  hubApiRequest,
  hubSearch,
  hubSearchEvents,
  includes,
  incrementString,
  initiativeResultToCardModel,
  initiativeTemplateResultToCardModel,
  initiativeTemplateToCardModel,
  initiativeToCardModel,
  interpolate,
  interpolateItemId,
  inviteUsers,
  isAGOFeatureServiceUrl,
  isAssociationSupported,
  isBBox,
  isComboboxItemSelected,
  isCuid,
  isDiscussable,
  isDomainForLegacySite,
  isDomainUsedElsewhere,
  isDownloadable,
  isDownloadSchedulingAvailable,
  isDraft,
  isFeatureLayer,
  isFeatureService,
  isFeatureService,
  isFieldworkerView,
  isFindable,
  isGuid,
  isHostedFeatureServiceMainEntity,
  isHostedFeatureServiceMainItem,
  isHubService,
  isMapOrFeatureServerUrl,
  isMapQuestion,
  isNil,
  isNilOrEmptyString,
  isOpenDataGroup,
  isOrgChannel,
  isPageQuestion,
  isPermission,
  isPrivateChannel,
  isPublicChannel,
  isSafeRedirectUrl,
  isSecureProxyServiceUrl,
  isService,
  isServicesDirectoryDisabled,
  isSiteType,
  isSlug,
  isSurvey123Connect,
  isUpdateGroup,
  isUrl,
  isUserFollowing,
  isValidDomain,
  isValidEntityType,
  isValidExtent,
  isWellKnownTypeFilter,
  itemToContent,
  itemToSearchResult,
  keywordSlugToUriSlug,
  last,
  lookupDomain,
  mapBy,
  mapEntityToStore,
  mapStoreToEntity,
  maybeAdd,
  maybePush,
  maybeUpdateSchedule,
  memoize,
  mergeObjects,
  metricToEditor,
  migrateLegacyCapabilitiesToFeatures,
  migrateToCollectionKey,
  modelToHubEditableContent,
  normalizeItemType,
  normalizeSolutionTemplateItem,
  notify,
  notify,
  objectToArray,
  objectToJsonBlob,
  ogcApiRequest,
  ogcItemToDiscussionPostResult,
  ogcItemToSearchResult,
  orgExtent,
  parseContainmentPath,
  parseDatasetId,
  parseIdentifier,
  parseInclude,
  pathToCatalogInfo,
  pickProps,
  pingFeatureService,
  pingUrl,
  poll,
  portalSearchGroupMembers,
  portalSearchItems,
  portalSearchItemsAsItems,
  previewFeed,
  processActionLink,
  processActionLinks,
  processAttendeeFilters,
  processAttendeeOptions,
  processEntityFeatures,
  processFilters,
  processOptions,
  processRevertableTasks,
  projectResultToCardModel,
  projectToCardModel,
  propifyString,
  reflectCollectionsToSearchCategories,
  reharvestSiteCatalog,
  removeAssociationKeyword,
  removeContextFromSlug,
  removeDomain,
  removeDomainByHostname,
  removeDomainsBySiteId,
  removeEmptyProps,
  removeHistoryEntry,
  removePermissionPolicy,
  removeResource,
  removeSetting,
  replaceItemId,
  requestAssociation,
  resolveDynamicValue,
  resolveDynamicValues,
  resolveItemQueryValues,
  resolveMetric,
  resolvePortalValues,
  resolveReferences,
  resolveServiceQueryValues,
  runRevertableTask,
  searchCatalogs,
  searchChannels,
  searchEntityCatalogs,
  searchOgcAggregations,
  searchOgcItems,
  searchVersions,
  serializeModel,
  serializeQueryForPortal,
  serializeSpatialReference,
  setAssociationKeyword,
  setContentType,
  setDiscussableKeyword,
  setDisplayMapKeyword,
  setEntityAccess,
  setEntityAssociationGroup,
  setEntityStatusKeyword,
  setFeedConfiguration,
  setFeedTemplate,
  setGroupThumbnail,
  setItemThumbnail,
  setMetricAndDisplay,
  setProp,
  setSchedule,
  setSlugKeyword,
  shareEntityWithGroups,
  shareEventWithGroups,
  shareItemToGroups,
  shouldDisplayMap,
  shouldHaveDataUrl,
  slugify,
  stringToBlob,
  stripProtocol,
  subscribe,
  subscribe,
  subsetSchema,
  templateResultToCardModel,
  templateToCardModel,
  titleize,
  toggleServiceCapability,
  truncateSlug,
  unfollowEntity,
  unicodeToBase64,
  unique,
  uniqueBy,
  unprotectModel,
  unshareEntityWithGroups,
  unshareEventWithGroups,
  unshareItemFromGroups,
  updateCommunityOrgSettings,
  updateDomain,
  updateEvent,
  updateEvent,
  updateHubEntity,
  updateModel,
  updateNotificationSpec,
  updatePortalOrgSettings,
  updateRegistration,
  updateRegistration,
  updateSetting,
  updateSite,
  updateSubscription,
  updateSubscription,
  updateUser,
  updateUser,
  updateUserHubSettings,
  updateUserSiteSettings,
  updateVersion,
  updateVersionMetadata,
  upgradeCatalogSchema,
  upgradeProtocol,
  upgradeSiteSchema,
  uploadImageResource,
  uploadResourcesFromUrl,
  upsertModelResources,
  upsertResource,
  uriSlugToKeywordSlug,
  userResultToCardModel,
  validateUrl,
  wait,
  without,
  withoutByProp,
  ArcGISContext,
  ArcGISContextManager,
  ArcgisHubDownloadError,
  Catalog,
  Collection,
  EntityEditor,
  Hub,
  HubContent,
  HubDiscussion,
  HubError,
  HubEvent,
  HubGroup,
  HubInitiative,
  HubInitiativeTemplate,
  HubItemEntity,
  HubPage,
  HubProject,
  HubSite,
  HubSurvey,
  HubTemplate,
  HubUser,
  Logger,
  OperationError,
  OperationStack,
  RemoteServerError,
  RemoteServerError,
} from "@esri/hub-common";

v15.18.1
Version 29.4.0

@esri/hub-discussions

Module to interact with ArcGIS Hub Discussions API in Node.js and modern browsers.

npm install:

npm install @esri/hub-discussions @esri/arcgis-rest-auth@^2.14.0 || 3  @esri/arcgis-rest-request@^2.14.0 || 3  @esri/hub-common@^15.8.0 

Module Import:

import {
  canCreateChannel,
  canCreatePost,
  canCreateReaction,
  canCreateReply,
  canDeleteChannel,
  canDeletePost,
  canEditChannel,
  canEditPost,
  canEditPostStatus,
  canModifyChannel,
  canModifyPost,
  canModifyPostStatus,
  canPostToChannel,
  canReadChannel,
  canReadFromChannel,
  createChannel,
  createChannelNotificationOptOut,
  createPost,
  createReaction,
  createReply,
  dtoToChannel,
  exportPosts,
  fetchChannel,
  fetchChannelNotifcationOptOut,
  fetchPost,
  isOrgAdmin,
  isOrgAdminInOrg,
  isUserInOrg,
  parseDiscussionURI,
  parseMentionedUsers,
  reduceByGroupMembership,
  removeChannel,
  removeChannelActivity,
  removeChannelNotificationOptOut,
  removePost,
  removeReaction,
  searchPosts,
  updateChannel,
  updatePost,
  updatePostStatus,
  userHasPrivilege,
  userHasPrivileges,
} from "@esri/hub-discussions";

v29.4.0
Version 15.0.0

@esri/hub-downloads

Service for Hub downloads

npm install:

npm install @esri/hub-downloads @esri/arcgis-rest-auth@^3.1.0  @esri/arcgis-rest-feature-layer@^3.1.0  @esri/arcgis-rest-portal@^3.7.0  @esri/arcgis-rest-request@^3.1.0  @esri/hub-common@^15.0.0 

Module Import:

import {
  pollDownloadMetadata,
  requestDatasetExport,
  requestDownloadMetadata,
} from "@esri/hub-downloads";

v15.0.0
Version 15.0.0

@esri/hub-events

Module to interact with ArcGIS Hub Events in Node.js and modern browsers.

npm install:

npm install @esri/hub-events @esri/arcgis-rest-auth@^2.13.0 || 3  @esri/arcgis-rest-feature-layer@^2.13.0 || 3  @esri/arcgis-rest-portal@^2.15.0 || 3  @esri/arcgis-rest-request@^2.13.0 || 3  @esri/arcgis-rest-types@^2.13.0 || 3  @esri/hub-common@^15.0.0 

Module Import:

import {
  addUsersToEvent,
  getEventFeatureServiceUrl,
  getEventQueryFromType,
  getEventServiceItem,
  getEventServiceUrl,
  registerForEvent,
  searchEvents,
  unregisterForEvent,
} from "@esri/hub-events";

v15.0.0
Version 15.0.0

@esri/hub-search

Module to search for ArcGIS items and format them for display in ArcGIS Hub.

npm install:

npm install @esri/hub-search @esri/arcgis-rest-auth@^2.13.0 || 3  @esri/arcgis-rest-feature-layer@^2.13.0 || 3  @esri/arcgis-rest-portal@^2.6.1 || 3  @esri/arcgis-rest-request@^2.13.0 || 3  @esri/arcgis-rest-types@^2.13.0 || 3  @esri/hub-common@^15.0.0 

Module Import:

import {
  agoSearch,
  flattenCategories,
  kMerge,
  mergeAggregations,
  mergePages,
  serialize,
  BinaryHeap,
  InvalidPaginationInputError,
} from "@esri/hub-search";

v15.0.0
Version 16.0.0

@esri/hub-sites

Module to interact with ArcGIS Hub Sites in Node.js and modern browsers.

npm install:

npm install @esri/hub-sites @esri/arcgis-rest-auth@^2.13.0 || 3  @esri/arcgis-rest-portal@^2.19.0 || 3  @esri/arcgis-rest-request@^2.13.0 || 3  @esri/hub-common@^15.0.0  @esri/hub-initiatives@^15.0.0  @esri/hub-teams@^15.0.0 

Module Import:

import {
  _getSharingEligibleModels,
  applyDraft,
  convertCard,
  convertLayoutToTemplate,
  convertPageToTemplate,
  convertRow,
  convertSection,
  convertSiteToTemplate,
  createPage,
  createPageModelFromTemplate,
  createSite,
  createSiteModelFromTemplate,
  deleteDraft,
  ensureOptionalGroupsTemplating,
  ensurePageHasSiteEntry,
  ensureRequiredPageProperties,
  ensureRequiredSiteProperties,
  extractAssets,
  fetchAndApplyDraft,
  fetchDraft,
  getCardDependencies,
  getDataForSiteItem,
  getDomain,
  getDomains,
  getDraftDate,
  getLayoutDependencies,
  getMembers,
  getPageDependencies,
  getPageEditUrl,
  getPageItemType,
  getPortalSiteHostname,
  getPortalSiteUrl,
  getRowDependencies,
  getSectionDependencies,
  getSiteDependencies,
  getSiteEditUrl,
  getSiteItemType,
  hasUnpublishedChanges,
  interpolateSite,
  isPage,
  isSite,
  linkSiteAndPage,
  markPublished,
  markUnpublished,
  removePage,
  removeSite,
  removeSiteFromPage,
  removeUnusedResources,
  saveDraft,
  savePublishedStatus,
  shareItemsToSiteGroups,
  siteSecondPass,
  unlinkPagesFromSite,
  unlinkSiteAndPage,
  updateAppRedirectUris,
  updatePage,
  updateSite,
  updateSiteApplicationUris,
  upgradeDraftSchema,
} from "@esri/hub-sites";

v16.0.0
Version 15.0.0

@esri/hub-surveys

Module to interact with ArcGIS Hub Surveys in Node.js and modern browsers.

npm install:

npm install @esri/hub-surveys @esri/arcgis-rest-auth@^2.13.0 || 3  @esri/arcgis-rest-feature-layer@^2.13.0 || 3  @esri/arcgis-rest-portal@^2.13.0 || 3  @esri/arcgis-rest-request@^2.13.0 || 3  @esri/arcgis-rest-types@^2.13.0 || 3  @esri/hub-common@^15.0.0 

Module Import:

import {
  getDetailedSurveyStatus,
  getGroupSharingDetails,
  getSurveyStatus,
  getSurveyStatusFromSchedule,
  isPublished,
  migrateFormPropertiesSettings,
  setAccess,
  setAccessRevertable,
  shareWithGroup,
  shareWithGroupRevertable,
  shouldDisplayResults,
  unshareWithGroup,
  unshareWithGroupRevertable,
} from "@esri/hub-surveys";

v15.0.0
Version 15.0.0

@esri/hub-teams

Module to interact with ArcGIS Hub Teams in Node.js and modern browsers.

npm install:

npm install @esri/hub-teams @esri/arcgis-rest-auth@^2.13.0 || 3  @esri/arcgis-rest-portal@^2.15.0 || 3  @esri/arcgis-rest-request@^2.13.0 || 3  @esri/arcgis-rest-types@^2.13.0 || 3  @esri/hub-common@^15.0.0 

Module Import:

import {
  addOrInviteUsersToTeam,
  addOrInviteUsersToTeams,
  addUsersToTeam,
  applyPrivPropValuesToTemplate,
  canEditTeam,
  canUserCreateTeam,
  canUserCreateTeamInProduct,
  createHubTeam,
  createHubTeams,
  doesGroupExist,
  getAllowedGroupAccess,
  getOrgGroupLimit,
  getTeamById,
  getTeamMembers,
  getTeamPropertiesMapForProduct,
  getTeamsAvailableInProduct,
  getTeamsForProduct,
  getTeamStatus,
  getTeamTemplate,
  getTeamTypesAvailableInProduct,
  getUniqueGroupTitle,
  getUserCreatableTeams,
  hasAllPrivileges,
  removeInvalidPrivs,
  removeTeam,
  removeTeamFromItems,
  removeUsersFromTeam,
  removeUsersFromTeams,
  searchTeamContent,
  searchTeamMembers,
  teamsToAddUsersTo,
  updateTeam,
  updateUserMembership,
} from "@esri/hub-teams";

v15.0.0