diff --git a/.eslintrc.json b/.eslintrc.json index da8663d..3202e44 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -25,6 +25,7 @@ "error", "single" ], + "curly": ["warn", "all"], "@typescript-eslint/interface-name-prefix": "off", "@typescript-eslint/explicit-function-return-type": "off", "@typescript-eslint/explicit-module-boundary-types": "off", diff --git a/graphql/queries/task.graphql b/graphql/queries/task.graphql new file mode 100644 index 0000000..c845b65 --- /dev/null +++ b/graphql/queries/task.graphql @@ -0,0 +1,7 @@ +query task($taskId: UUID!) { + task(id: $taskId) { + status + results + errors + } +} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 61c61d4..cffae96 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,15 +1,15 @@ { "name": "@alkemio/cli", - "version": "0.7.0", + "version": "0.8.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@alkemio/cli", - "version": "0.7.0", + "version": "0.8.0", "license": "EUPL-1.2", "dependencies": { - "@alkemio/client-lib": "^0.29.1", + "@alkemio/client-lib": "^0.30.4", "@graphql-codegen/typescript-graphql-request": "^4.5.3", "@graphql-codegen/typescript-operations": "^2.5.3", "@types/graphql-upload": "^8.0.11", @@ -41,9 +41,9 @@ } }, "node_modules/@alkemio/client-lib": { - "version": "0.29.1", - "resolved": "https://registry.npmjs.org/@alkemio/client-lib/-/client-lib-0.29.1.tgz", - "integrity": "sha512-O88UJtpY6kdQ/5qpvpRs7hmCdKpL5/ZUD8CoaNY6TNDz7jX6bQexs58VBW239NI/UajEWRwIb/QwVxskz+ikvg==", + "version": "0.30.4", + "resolved": "https://registry.npmjs.org/@alkemio/client-lib/-/client-lib-0.30.4.tgz", + "integrity": "sha512-rDiIjn/w1wFnbHSwVhzVGGX9Rgj28T2ivY9uuPdYHhdybJP0yk4jcuMzLOsbpHsQgXWe2r7HhZbnsTjjruH36g==", "dependencies": { "@graphql-codegen/typescript-graphql-request": "^4.5.3", "@graphql-codegen/typescript-operations": "^2.5.3", @@ -7397,9 +7397,9 @@ }, "dependencies": { "@alkemio/client-lib": { - "version": "0.29.1", - "resolved": "https://registry.npmjs.org/@alkemio/client-lib/-/client-lib-0.29.1.tgz", - "integrity": "sha512-O88UJtpY6kdQ/5qpvpRs7hmCdKpL5/ZUD8CoaNY6TNDz7jX6bQexs58VBW239NI/UajEWRwIb/QwVxskz+ikvg==", + "version": "0.30.4", + "resolved": "https://registry.npmjs.org/@alkemio/client-lib/-/client-lib-0.30.4.tgz", + "integrity": "sha512-rDiIjn/w1wFnbHSwVhzVGGX9Rgj28T2ivY9uuPdYHhdybJP0yk4jcuMzLOsbpHsQgXWe2r7HhZbnsTjjruH36g==", "requires": { "@graphql-codegen/typescript-graphql-request": "^4.5.3", "@graphql-codegen/typescript-operations": "^2.5.3", diff --git a/package.json b/package.json index 480411b..9f65da4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@alkemio/cli", - "version": "0.7.0", + "version": "0.8.0", "author": "Alkemio Foundation", "private": false, "license": "EUPL-1.2", @@ -63,7 +63,7 @@ "ts-node-dev": "^2.0.0" }, "dependencies": { - "@alkemio/client-lib": "^0.29.1", + "@alkemio/client-lib": "^0.30.4", "@graphql-codegen/typescript-graphql-request": "^4.5.3", "@graphql-codegen/typescript-operations": "^2.5.3", "@types/graphql-upload": "^8.0.11", diff --git a/src/digital-twin-demo/digital-twin-demo.ts b/src/digital-twin-demo/digital-twin-demo.ts index 4496748..388ff27 100644 --- a/src/digital-twin-demo/digital-twin-demo.ts +++ b/src/digital-twin-demo/digital-twin-demo.ts @@ -21,9 +21,9 @@ export const digitalTwinDemo = async () => { const space = spacesQueryResult.data.space; - const challenges = space.challenges || []; + const subspaces = space.subspaces || []; - logger.info(`...total number of challeges: ${challenges.length}`); + logger.info(`...total number of subspaces: ${subspaces.length}`); logger.info(`...${JSON.stringify(space)}`); }; diff --git a/src/generated/graphql.ts b/src/generated/graphql.ts index afbfb84..ca7fc4a 100644 --- a/src/generated/graphql.ts +++ b/src/generated/graphql.ts @@ -54,12 +54,16 @@ export type Apm = { }; export type Account = { + /** The "highest" subscription active for this Account. */ + activeSubscription?: Maybe; + /** The Agent representing this Account. */ + agent: Agent; /** The authorization rules for the entity */ authorization?: Maybe; /** The defaults in use by this Account */ defaults?: Maybe; /** The Account host. */ - host?: Maybe; + host?: Maybe; /** The ID of the entity */ id: Scalars['UUID']; /** The Library in use by this Account */ @@ -68,6 +72,10 @@ export type Account = { license: License; /** The ID for the root space for the Account . */ spaceID: Scalars['String']; + /** The subscriptions active for this Account. */ + subscriptions: Array; + /** The virtual contributors for this Account. */ + virtualContributors: Array; }; export type AccountAuthorizationResetInput = { @@ -75,6 +83,13 @@ export type AccountAuthorizationResetInput = { accountID: Scalars['UUID_NAMEID']; }; +export type AccountSubscription = { + /** The expiry date of this subscription, null if it does never expire. */ + expires?: Maybe; + /** The name of the Subscription. */ + name: LicenseCredential; +}; + export type ActivityCreatedSubscriptionInput = { /** The collaboration on which to subscribe for new activity */ collaborationID: Scalars['UUID']; @@ -512,11 +527,6 @@ export type ActorGroup = { name: Scalars['String']; }; -export type AdminSearchIngestResult = { - /** The result of the operation. */ - results: Array; -}; - export type Agent = { /** The authorization rules for the entity */ authorization?: Maybe; @@ -544,6 +554,8 @@ export type AgentBeginVerifiedCredentialRequestOutput = { qrCodeImg: Scalars['String']; }; +export type AnyInvitation = Invitation | InvitationExternal; + export type Application = { /** The authorization rules for the entity */ authorization?: Maybe; @@ -574,12 +586,10 @@ export type ApplicationForRoleResult = { id: Scalars['UUID']; /** ID for the ultimate containing Space */ spaceID: Scalars['UUID']; + /** Nesting level of the Space */ + spaceLevel: Scalars['Float']; /** The current state of the application. */ state: Scalars['String']; - /** ID for the Challenge being applied to, if any. Or the Challenge containing the Opportunity being applied to. */ - subspaceID?: Maybe; - /** ID for the Opportunity being applied to, if any. */ - subsubspaceID?: Maybe; /** Date of last update */ updatedDate: Scalars['DateTime']; }; @@ -602,30 +612,23 @@ export type AssignCommunityRoleToVirtualInput = { virtualContributorID: Scalars['UUID_NAMEID']; }; -export type AssignGlobalAdminInput = { - userID: Scalars['UUID_NAMEID_EMAIL']; -}; - -export type AssignGlobalCommunityAdminInput = { - userID: Scalars['UUID_NAMEID_EMAIL']; -}; - -export type AssignGlobalSpacesAdminInput = { - userID: Scalars['UUID_NAMEID_EMAIL']; -}; - -export type AssignOrganizationAdminInput = { - organizationID: Scalars['UUID_NAMEID']; - userID: Scalars['UUID_NAMEID_EMAIL']; +export type AssignLicensePlanToAccount = { + /** The ID of the Account to assign the LicensePlan to. */ + accountID: Scalars['UUID']; + /** The ID of the LicensePlan to assign. */ + licensePlanID: Scalars['UUID']; + /** The ID of the Licensing to use. */ + licensingID?: InputMaybe; }; -export type AssignOrganizationAssociateInput = { +export type AssignOrganizationRoleToUserInput = { organizationID: Scalars['UUID_NAMEID']; + role: OrganizationRole; userID: Scalars['UUID_NAMEID_EMAIL']; }; -export type AssignOrganizationOwnerInput = { - organizationID: Scalars['UUID_NAMEID']; +export type AssignPlatformRoleToUserInput = { + role: PlatformRole; userID: Scalars['UUID_NAMEID_EMAIL']; }; @@ -674,9 +677,11 @@ export enum AuthorizationCredential { AccountHost = 'ACCOUNT_HOST', BetaTester = 'BETA_TESTER', GlobalAdmin = 'GLOBAL_ADMIN', - GlobalAdminCommunity = 'GLOBAL_ADMIN_COMMUNITY', - GlobalAdminSpaces = 'GLOBAL_ADMIN_SPACES', + GlobalCommunityRead = 'GLOBAL_COMMUNITY_READ', + GlobalLicenseManager = 'GLOBAL_LICENSE_MANAGER', GlobalRegistered = 'GLOBAL_REGISTERED', + GlobalSpacesReader = 'GLOBAL_SPACES_READER', + GlobalSupport = 'GLOBAL_SUPPORT', InnovationPackProvider = 'INNOVATION_PACK_PROVIDER', OrganizationAdmin = 'ORGANIZATION_ADMIN', OrganizationAssociate = 'ORGANIZATION_ASSOCIATE', @@ -684,9 +689,7 @@ export enum AuthorizationCredential { SpaceAdmin = 'SPACE_ADMIN', SpaceLead = 'SPACE_LEAD', SpaceMember = 'SPACE_MEMBER', - SubspaceAdmin = 'SUBSPACE_ADMIN', - SubspaceLead = 'SUBSPACE_LEAD', - SubspaceMember = 'SUBSPACE_MEMBER', + SpaceSubspaceAdmin = 'SPACE_SUBSPACE_ADMIN', UserGroupMember = 'USER_GROUP_MEMBER', UserSelfManagement = 'USER_SELF_MANAGEMENT', } @@ -714,7 +717,6 @@ export enum AuthorizationPrivilege { AccessDashboardRefresh = 'ACCESS_DASHBOARD_REFRESH', AccessInteractiveGuidance = 'ACCESS_INTERACTIVE_GUIDANCE', AccessVirtualContributor = 'ACCESS_VIRTUAL_CONTRIBUTOR', - Admin = 'ADMIN', AuthorizationReset = 'AUTHORIZATION_RESET', CommunityAddMember = 'COMMUNITY_ADD_MEMBER', CommunityApply = 'COMMUNITY_APPLY', @@ -730,9 +732,9 @@ export enum AuthorizationPrivilege { CreateMessageReply = 'CREATE_MESSAGE_REPLY', CreateOrganization = 'CREATE_ORGANIZATION', CreatePost = 'CREATE_POST', - CreateRelation = 'CREATE_RELATION', CreateSpace = 'CREATE_SPACE', CreateSubspace = 'CREATE_SUBSPACE', + CreateVirtualContributor = 'CREATE_VIRTUAL_CONTRIBUTOR', CreateWhiteboard = 'CREATE_WHITEBOARD', CreateWhiteboardRt = 'CREATE_WHITEBOARD_RT', Delete = 'DELETE', @@ -746,6 +748,7 @@ export enum AuthorizationPrivilege { Read = 'READ', ReadUsers = 'READ_USERS', ReadUserPii = 'READ_USER_PII', + ReadUserSettings = 'READ_USER_SETTINGS', SaveAsTemplate = 'SAVE_AS_TEMPLATE', Update = 'UPDATE', UpdateCalloutPublisher = 'UPDATE_CALLOUT_PUBLISHER', @@ -754,6 +757,11 @@ export enum AuthorizationPrivilege { UpdateWhiteboard = 'UPDATE_WHITEBOARD', } +export enum BodyOfKnowledgeType { + Other = 'OTHER', + Space = 'SPACE', +} + export type Calendar = { /** The authorization rules for the entity */ authorization?: Maybe; @@ -918,15 +926,11 @@ export type CalloutGroup = { }; export enum CalloutGroupName { - Community_1 = 'COMMUNITY_1', - Community_2 = 'COMMUNITY_2', - Contribute_1 = 'CONTRIBUTE_1', - Contribute_2 = 'CONTRIBUTE_2', - Home_1 = 'HOME_1', - Home_2 = 'HOME_2', + Community = 'COMMUNITY', + Contribute = 'CONTRIBUTE', + Home = 'HOME', Knowledge = 'KNOWLEDGE', - Subspaces_1 = 'SUBSPACES_1', - Subspaces_2 = 'SUBSPACES_2', + Subspaces = 'SUBSPACES', } export type CalloutPostCreated = { @@ -1173,6 +1177,8 @@ export type Community = Groupable & { myMembershipStatus?: Maybe; /** The roles on this community for the currently logged in user. */ myRoles: Array; + /** The implicit roles on this community for the currently logged in user. */ + myRolesImplicit: Array; /** All Organizations that have the specified Role in this Community. */ organizationsInRole: Array; /** The policy that defines the roles for this Community. */ @@ -1233,6 +1239,17 @@ export type CommunityGuidelines = { profile: Profile; }; +export type CommunityGuidelinesTemplate = { + /** The authorization rules for the entity */ + authorization?: Maybe; + /** The community guidelines. */ + guidelines: CommunityGuidelines; + /** The ID of the entity */ + id: Scalars['UUID']; + /** The Profile for this template. */ + profile: Profile; +}; + export type CommunityJoinInput = { communityID: Scalars['UUID']; }; @@ -1267,6 +1284,10 @@ export enum CommunityRole { Member = 'MEMBER', } +export enum CommunityRoleImplicit { + SubspaceAdmin = 'SUBSPACE_ADMIN', +} + export type CommunityRolePolicy = { /** The CredentialDefinition that is associated with this role */ credential: CredentialDefinition; @@ -1320,6 +1341,19 @@ export type Context = { who?: Maybe; }; +export type Contributor = { + /** The Agent for the Contributor. */ + agent: Agent; + /** The authorization rules for the Contributor */ + authorization?: Maybe; + /** The ID of the Contributor */ + id: Scalars['UUID']; + /** A name identifier of the Contributor, unique within a given scope. */ + nameID: Scalars['NameID']; + /** The profile for the Contributor. */ + profile: Profile; +}; + export type ContributorFilterInput = { /** Return contributors with credentials in the provided list */ credentials?: InputMaybe>; @@ -1356,8 +1390,10 @@ export type ConvertSubsubspaceToSubspaceInput = { }; export type CreateAccountInput = { - /** The host Organization for the account */ + /** The host Organization or User for the account */ hostID: Scalars['UUID_NAMEID']; + /** The license plan selected for the account */ + licensePlanID?: InputMaybe; /** The root Space to be created. */ spaceData: CreateSpaceInput; }; @@ -1435,6 +1471,7 @@ export type CreateCalloutTemplateOnTemplatesSetInput = { contributionDefaults: CreateCalloutContributionDefaultsInput; contributionPolicy: CreateCalloutContributionPolicyInput; framing: CreateCalloutFramingInput; + /** The profile of the template. */ profile: CreateProfileInput; tags?: InputMaybe>; templatesSetID: Scalars['UUID']; @@ -1452,6 +1489,22 @@ export type CreateCollaborationInput = { innovationFlowTemplateID?: InputMaybe; }; +export type CreateCommunityGuidelinesInput = { + profile: CreateProfileInput; +}; + +export type CreateCommunityGuidelinesTemplateOnTemplatesSetInput = { + /** The Community guidelines to associate with this template. */ + communityGuidelines?: InputMaybe; + /** The ID of the Community guidelines to associate with this template. */ + communityGuidelinesID?: InputMaybe; + /** The profile of the template. */ + profile: CreateProfileInput; + tags?: InputMaybe>; + templatesSetID: Scalars['UUID']; + visualUri?: InputMaybe; +}; + export type CreateContextInput = { impact?: InputMaybe; vision?: InputMaybe; @@ -1466,6 +1519,7 @@ export type CreateContributionOnCalloutInput = { }; export type CreateInnovationFlowTemplateOnTemplatesSetInput = { + /** The profile of the template. */ profile: CreateProfileInput; states?: InputMaybe>; tags?: InputMaybe>; @@ -1474,6 +1528,8 @@ export type CreateInnovationFlowTemplateOnTemplatesSetInput = { }; export type CreateInnovationHubInput = { + /** Account ID, associated with the Innovation Hub. */ + accountID?: InputMaybe; /** A readable identifier, unique within the containing scope. */ nameID?: InputMaybe; profileData: CreateProfileInput; @@ -1496,14 +1552,14 @@ export type CreateInnovationPackOnLibraryInput = { tags?: InputMaybe>; }; -export type CreateInvitationExistingUserOnCommunityInput = { +export type CreateInvitationForUsersOnCommunityInput = { communityID: Scalars['UUID']; - /** The identifier for the user being invited. */ + /** The identifiers for the users being invited. */ invitedUsers: Array; welcomeMessage?: InputMaybe; }; -export type CreateInvitationExternalUserOnCommunityInput = { +export type CreateInvitationUserByEmailOnCommunityInput = { communityID: Scalars['UUID']; email: Scalars['String']; firstName?: InputMaybe; @@ -1511,6 +1567,12 @@ export type CreateInvitationExternalUserOnCommunityInput = { welcomeMessage?: InputMaybe; }; +export type CreateLicensePlanOnLicensingInput = { + licensingID: Scalars['UUID']; + /** The name of the License Plan */ + name: Scalars['String']; +}; + export type CreateLinkInput = { profile: CreateProfileInput; uri?: InputMaybe; @@ -1536,7 +1598,7 @@ export type CreateOrganizationInput = { domain?: InputMaybe; legalEntityName?: InputMaybe; /** A readable identifier, unique within the containing scope. */ - nameID: Scalars['NameID']; + nameID?: InputMaybe; profileData: CreateProfileInput; website?: InputMaybe; }; @@ -1553,6 +1615,7 @@ export type CreatePostInput = { export type CreatePostTemplateOnTemplatesSetInput = { /** The default description to be pre-filled when users create Posts based on this template. */ defaultDescription?: InputMaybe; + /** The profile of the template. */ profile: CreateProfileInput; tags?: InputMaybe>; templatesSetID: Scalars['UUID']; @@ -1640,24 +1703,27 @@ export type CreateUserInput = { gender?: InputMaybe; lastName?: InputMaybe; /** A readable identifier, unique within the containing scope. */ - nameID: Scalars['NameID']; + nameID?: InputMaybe; phone?: InputMaybe; profileData: CreateProfileInput; }; -export type CreateVirtualContributorInput = { +export type CreateVirtualContributorOnAccountInput = { + accountID: Scalars['UUID']; + bodyOfKnowledgeID?: InputMaybe; + bodyOfKnowledgeType?: InputMaybe; /** A readable identifier, unique within the containing scope. */ - nameID: Scalars['NameID']; + nameID?: InputMaybe; profileData: CreateProfileInput; - virtualPersonaID: Scalars['UUID']; + virtualPersonaID?: InputMaybe; }; export type CreateVirtualPersonaInput = { - engine: VirtualPersonaEngine; + engine: VirtualContributorEngine; /** A readable identifier, unique within the containing scope. */ nameID: Scalars['NameID']; profileData: CreateProfileInput; - prompt: Scalars['JSON']; + prompt?: InputMaybe; }; export type CreateWhiteboardInput = { @@ -1669,6 +1735,7 @@ export type CreateWhiteboardInput = { export type CreateWhiteboardTemplateOnTemplatesSetInput = { content?: InputMaybe; + /** The profile of the template. */ profile: CreateProfileInput; tags?: InputMaybe>; templatesSetID: Scalars['UUID']; @@ -1678,10 +1745,14 @@ export type CreateWhiteboardTemplateOnTemplatesSetInput = { }; export type Credential = { + /** The timestamp for the expiry of this credential. */ + expires?: Maybe; /** The ID of the entity */ id: Scalars['UUID']; + /** The User issuing the credential */ + issuer?: Maybe; resourceID: Scalars['String']; - type: AuthorizationCredential; + type: CredentialType; }; export type CredentialDefinition = { @@ -1706,6 +1777,31 @@ export type CredentialMetadataOutput = { uniqueType: Scalars['String']; }; +export enum CredentialType { + AccountHost = 'ACCOUNT_HOST', + BetaTester = 'BETA_TESTER', + GlobalAdmin = 'GLOBAL_ADMIN', + GlobalCommunityRead = 'GLOBAL_COMMUNITY_READ', + GlobalLicenseManager = 'GLOBAL_LICENSE_MANAGER', + GlobalRegistered = 'GLOBAL_REGISTERED', + GlobalSpacesReader = 'GLOBAL_SPACES_READER', + GlobalSupport = 'GLOBAL_SUPPORT', + InnovationPackProvider = 'INNOVATION_PACK_PROVIDER', + LicenseSpaceEnterprise = 'LICENSE_SPACE_ENTERPRISE', + LicenseSpaceFree = 'LICENSE_SPACE_FREE', + LicenseSpacePlus = 'LICENSE_SPACE_PLUS', + LicenseSpacePremium = 'LICENSE_SPACE_PREMIUM', + OrganizationAdmin = 'ORGANIZATION_ADMIN', + OrganizationAssociate = 'ORGANIZATION_ASSOCIATE', + OrganizationOwner = 'ORGANIZATION_OWNER', + SpaceAdmin = 'SPACE_ADMIN', + SpaceLead = 'SPACE_LEAD', + SpaceMember = 'SPACE_MEMBER', + SpaceSubspaceAdmin = 'SPACE_SUBSPACE_ADMIN', + UserGroupMember = 'USER_GROUP_MEMBER', + UserSelfManagement = 'USER_SELF_MANAGEMENT', +} + export type DeleteActorGroupInput = { ID: Scalars['UUID']; }; @@ -1734,6 +1830,10 @@ export type DeleteCollaborationInput = { ID: Scalars['UUID']; }; +export type DeleteCommunityGuidelinesTemplateInput = { + ID: Scalars['UUID']; +}; + export type DeleteDiscussionInput = { ID: Scalars['UUID']; }; @@ -1762,6 +1862,10 @@ export type DeleteInvitationInput = { ID: Scalars['UUID']; }; +export type DeleteLicensePlanInput = { + ID: Scalars['UUID']; +}; + export type DeleteLinkInput = { ID: Scalars['UUID']; }; @@ -1963,6 +2067,8 @@ export type Groupable = { export type ISearchResults = { /** The search results for Callouts. */ calloutResults: Array; + /** The total number of results for Callouts. */ + calloutResultsCount: Scalars['Float']; /** The search results for contributions (Posts, Whiteboards etc). */ contributionResults: Array; /** The total number of search results for contributions (Posts, Whiteboards etc). */ @@ -1973,9 +2079,9 @@ export type ISearchResults = { contributorResultsCount: Scalars['Float']; /** The search results for Groups. */ groupResults: Array; - /** The search results for Spaces / Challenges / Opportunities. */ + /** The search results for Spaces / Subspaces. */ journeyResults: Array; - /** The total number of results for Spaces / Challenges / Opportunities. */ + /** The total number of results for Spaces / Subspaces. */ journeyResultsCount: Scalars['Float']; }; @@ -1995,6 +2101,11 @@ export type IngestResult = { total?: Maybe; }; +export type IngestSpaceInput = { + /** The identifier for the Space to be ingested. */ + spaceID: Scalars['UUID']; +}; + export type InnovationFlow = { /** The authorization rules for the entity */ authorization?: Maybe; @@ -2027,6 +2138,8 @@ export type InnovationFlowTemplate = { }; export type InnovationHub = { + /** The Innovation Hub account. */ + account: Account; /** The authorization rules for the entity */ authorization?: Maybe; /** The ID of the entity */ @@ -2085,6 +2198,8 @@ export type Invitation = { createdDate: Scalars['DateTime']; /** The ID of the entity */ id: Scalars['UUID']; + /** Whether to also add the invited user to the parent community. */ + invitedToParent: Scalars['Boolean']; lifecycle: Lifecycle; updatedDate: Scalars['DateTime']; /** The User who is invited. */ @@ -2108,6 +2223,8 @@ export type InvitationExternal = { firstName: Scalars['String']; /** The ID of the entity */ id: Scalars['UUID']; + /** Whether to also add the invited user to the parent community. */ + invitedToParent: Scalars['Boolean']; lastName: Scalars['String']; /** Whether a new user profile has been created. */ profileCreated: Scalars['Boolean']; @@ -2127,12 +2244,10 @@ export type InvitationForRoleResult = { id: Scalars['UUID']; /** ID for the ultimate containing Space */ spaceID: Scalars['UUID']; + /** Nesting level of the Space */ + spaceLevel: Scalars['Float']; /** The current state of the invitation. */ state: Scalars['String']; - /** ID for the Subspace being invited to, if any. Or the Challenge containing the Opportunity being invited to. */ - subspaceID?: Maybe; - /** ID for the Opportunity being invited to, if any. */ - subsubspaceID?: Maybe; /** Date of last update */ updatedDate: Scalars['DateTime']; /** The welcome message of the invitation */ @@ -2174,10 +2289,19 @@ export type License = { featureFlags: Array; /** The ID of the entity */ id: Scalars['UUID']; + /** The privileges granted based on this License. */ + privileges?: Maybe>; /** Visibility of the Space. */ visibility: SpaceVisibility; }; +export enum LicenseCredential { + LicenseSpaceEnterprise = 'LICENSE_SPACE_ENTERPRISE', + LicenseSpaceFree = 'LICENSE_SPACE_FREE', + LicenseSpacePlus = 'LICENSE_SPACE_PLUS', + LicenseSpacePremium = 'LICENSE_SPACE_PREMIUM', +} + export type LicenseFeatureFlag = { /** Is this feature flag enabled? */ enabled: Scalars['Boolean']; @@ -2191,6 +2315,63 @@ export enum LicenseFeatureFlagName { WhiteboardMultiUser = 'WHITEBOARD_MULTI_USER', } +export type LicensePlan = { + /** Is this plan enabled? */ + enabled: Scalars['Boolean']; + /** The ID of the entity */ + id: Scalars['UUID']; + /** Is this plan free? */ + isFree: Scalars['Boolean']; + /** The credential to represent this plan */ + licenseCredential: LicenseCredential; + /** The name of the License Plan */ + name: Scalars['String']; + /** The price per month of this plan. */ + pricePerMonth?: Maybe; + /** Does this plan require contact support */ + requiresContactSupport: Scalars['Boolean']; + /** Does this plan require a payment method? */ + requiresPaymentMethod: Scalars['Boolean']; + /** The sorting order for this Plan. */ + sortOrder: Scalars['Float']; + /** Is there a trial period enabled */ + trialEnabled: Scalars['Boolean']; +}; + +export type LicensePolicy = { + /** The authorization rules for the entity */ + authorization?: Maybe; + /** The set of credential rules that are contained by this License Policy. */ + featureFlagRules?: Maybe>; + /** The ID of the entity */ + id: Scalars['UUID']; +}; + +export type LicensePolicyRuleFeatureFlag = { + featureFlagName: LicenseFeatureFlagName; + grantedPrivileges: Array; + name?: Maybe; +}; + +export enum LicensePrivilege { + CalloutSaveAsTemplate = 'CALLOUT_SAVE_AS_TEMPLATE', + VirtualContributorAccess = 'VIRTUAL_CONTRIBUTOR_ACCESS', + WhiteboardMultiUser = 'WHITEBOARD_MULTI_USER', +} + +export type Licensing = { + /** The authorization rules for the entity */ + authorization?: Maybe; + /** The base License Plan assigned to all Accounts in use on the platform. */ + basePlan: LicensePlan; + /** The ID of the entity */ + id: Scalars['UUID']; + /** The License Plans in use on the platform. */ + plans: Array; + /** The LicensePolicy in use by the Licensing setup. */ + policy: LicensePolicy; +}; + export type Lifecycle = { /** The ID of the entity */ id: Scalars['UUID']; @@ -2247,6 +2428,10 @@ export type LookupQueryResults = { collaboration?: Maybe; /** Lookup the specified Community */ community?: Maybe; + /** Lookup the specified Community guidelines */ + communityGuidelines?: Maybe; + /** Lookup the specified InnovationFlow Template */ + communityGuidelinesTemplate?: Maybe; /** Lookup the specified Context */ context?: Maybe; /** Lookup the specified Document */ @@ -2263,6 +2448,8 @@ export type LookupQueryResults = { profile?: Maybe; /** Lookup the specified Room */ room?: Maybe; + /** Lookup the specified Space */ + space?: Maybe; /** Lookup the specified StorageAggregator */ storageAggregator?: Maybe; /** Lookup the specified Whiteboard */ @@ -2308,6 +2495,14 @@ export type LookupQueryResultsCommunityArgs = { ID: Scalars['UUID']; }; +export type LookupQueryResultsCommunityGuidelinesArgs = { + ID: Scalars['UUID']; +}; + +export type LookupQueryResultsCommunityGuidelinesTemplateArgs = { + ID: Scalars['UUID']; +}; + export type LookupQueryResultsContextArgs = { ID: Scalars['UUID']; }; @@ -2340,6 +2535,10 @@ export type LookupQueryResultsRoomArgs = { ID: Scalars['UUID']; }; +export type LookupQueryResultsSpaceArgs = { + ID: Scalars['UUID']; +}; + export type LookupQueryResultsStorageAggregatorArgs = { ID: Scalars['UUID']; }; @@ -2355,6 +2554,8 @@ export type LookupQueryResultsWhiteboardTemplateArgs = { export type MeQueryResults = { /** The applications of the current authenticated user */ applications: Array; + /** Can I create a free space? */ + canCreateFreeSpace: Scalars['Boolean']; /** The query id */ id: Scalars['String']; /** The invitations of the current authenticated user */ @@ -2377,6 +2578,7 @@ export type MeQueryResultsInvitationsArgs = { export type MeQueryResultsMySpacesArgs = { limit?: InputMaybe; + showOnlyMyCreatedSpaces?: InputMaybe; }; export type MeQueryResultsSpaceMembershipsArgs = { @@ -2392,15 +2594,13 @@ export type Message = { /** Reactions on this message */ reactions: Array; /** The User or Virtual Contributor that created this Message */ - sender?: Maybe; + sender?: Maybe; /** The message being replied to */ threadID?: Maybe; /** The server timestamp in UTC */ timestamp: Scalars['Float']; }; -export type MessageSender = User | VirtualContributor; - export type Metadata = { /** Collection of metadata about Alkemio services. */ services: Array; @@ -2436,7 +2636,7 @@ export type Mutation = { /** Allow updating the rule for joining rooms: public or invite. */ adminCommunicationUpdateRoomsJoinRule: Scalars['Boolean']; /** Ingests new data into Elasticsearch from scratch. This will delete all existing data and ingest new data from the source. This is an admin only operation. */ - adminSearchIngestFromScratch: AdminSearchIngestResult; + adminSearchIngestFromScratch: Scalars['String']; /** Apply to join the specified Community as a member. */ applyForCommunityMembership: Application; /** Assigns an Organization a Role in the specified Community. */ @@ -2445,34 +2645,24 @@ export type Mutation = { assignCommunityRoleToUser: User; /** Assigns a Virtual Contributor to a role in the specified Community. */ assignCommunityRoleToVirtual: VirtualContributor; - /** Assigns a User as a Global Admin. */ - assignUserAsGlobalAdmin: User; - /** Assigns a User as a Global Community Admin. */ - assignUserAsGlobalCommunityAdmin: User; - /** Assigns a User as a Global Spaces Admin. */ - assignUserAsGlobalSpacesAdmin: User; - /** Assigns a User as an Organization Admin. */ - assignUserAsOrganizationAdmin: User; - /** Assigns a User as an Organization Owner. */ - assignUserAsOrganizationOwner: User; + /** Assign the specified LicensePlan to an Account. */ + assignLicensePlanToAccount: Account; + /** Assigns an Organization Role to user. */ + assignOrganizationRoleToUser: User; + /** Assigns a platform role to a User. */ + assignPlatformRoleToUser: User; /** Assigns a User as a member of the specified User Group. */ assignUserToGroup: UserGroup; - /** Assigns a User as an associate of the specified Organization. */ - assignUserToOrganization: Organization; /** Reset the Authorization Policy on all entities */ authorizationPolicyResetAll: Scalars['String']; - /** Reset the Authorization Policy on the specified Space. */ - authorizationPolicyResetOnAccount: Space; + /** Reset the Authorization Policy on the specified Account. */ + authorizationPolicyResetOnAccount: Account; /** Reset the Authorization Policy on the specified Organization. */ authorizationPolicyResetOnOrganization: Organization; /** Reset the Authorization Policy on the specified Platform. */ authorizationPolicyResetOnPlatform: Platform; /** Reset the Authorization policy on the specified User. */ authorizationPolicyResetOnUser: User; - /** Reset the Authorization Policy on the specified VirtualContributor. */ - authorizationPolicyResetOnVirtualContributor: VirtualContributor; - /** Reset the Authorization Policy on the specified VirtualPersona. */ - authorizationPolicyResetOnVirtualPersona: VirtualPersona; /** Reset the specified Authorization Policy to global admin privileges */ authorizationPolicyResetToGlobalAdminsAccess: Authorization; /** Generate Alkemio user credential offer */ @@ -2495,6 +2685,8 @@ export type Mutation = { createCalloutOnCollaboration: Callout; /** Creates a new CalloutTemplate on the specified TemplatesSet. */ createCalloutTemplate: CalloutTemplate; + /** Creates a new CommunityGuidelinesTemplate on the specified TemplatesSet. */ + createCommunityGuidelinesTemplate: CommunityGuidelinesTemplate; /** Create a new Contribution on the Callout. */ createContributionOnCallout: CalloutContribution; /** Creates a new Discussion as part of this Communication. */ @@ -2511,6 +2703,8 @@ export type Mutation = { createInnovationHub: InnovationHub; /** Create a new InnovatonPack on the Library. */ createInnovationPackOnLibrary: InnovationPack; + /** Create a new LicensePlan on the Licensing. */ + createLicensePlan: LicensePlan; /** Creates a new Organization on the platform. */ createOrganization: Organization; /** Creates a new PostTemplate on the specified TemplatesSet. */ @@ -2527,7 +2721,7 @@ export type Mutation = { createUser: User; /** Creates a new User profile on the platform for a user that has a valid Authentication session. */ createUserNewRegistration: User; - /** Creates a new VirtualContributor on the platform. */ + /** Creates a new VirtualContributor on an Account. */ createVirtualContributor: VirtualContributor; /** Creates a new VirtualPersona on the platform. */ createVirtualPersona: VirtualPersona; @@ -2545,6 +2739,8 @@ export type Mutation = { deleteCalloutTemplate: CalloutTemplate; /** Delete Collaboration. */ deleteCollaboration: Collaboration; + /** Deletes the specified CommunityGuidelines Template. */ + deleteCommunityGuidelinesTemplate: CommunityGuidelinesTemplate; /** Deletes the specified Discussion. */ deleteDiscussion: Discussion; /** Deletes the specified Document. */ @@ -2559,6 +2755,8 @@ export type Mutation = { deleteInvitation: Invitation; /** Removes the specified User invitationExternal. */ deleteInvitationExternal: InvitationExternal; + /** Deletes the specified LicensePlan. */ + deleteLicensePlan: LicensePlan; /** Deletes the specified Link. */ deleteLink: Link; /** Deletes the specified Organization. */ @@ -2601,10 +2799,12 @@ export type Mutation = { grantCredentialToUser: User; /** Resets the interaction with the chat engine. */ ingest: Scalars['Boolean']; + /** Triggers space ingestion. */ + ingestSpace: Space; /** Invite an existing User to join the specified Community as a member. */ inviteExistingUserForCommunityMembership: Array; /** Invite an external User to join the specified Community as a member. */ - inviteExternalUserForCommunityMembership: InvitationExternal; + inviteForCommunityMembershipByEmail: AnyInvitation; /** Join the specified Community as a member, without going through an approval process. */ joinCommunity: Community; /** Sends a message on the specified User`s behalf and returns the room id */ @@ -2619,30 +2819,22 @@ export type Mutation = { removeCommunityRoleFromVirtual: VirtualContributor; /** Removes a message. */ removeMessageOnRoom: Scalars['MessageID']; + /** Removes Organization Role from user. */ + removeOrganizationRoleFromUser: User; + /** Removes a User from a platform role. */ + removePlatformRoleFromUser: User; /** Remove a reaction on a message from the specified Room. */ removeReactionToMessageInRoom: Scalars['Boolean']; - /** Removes a User from being a Global Admin. */ - removeUserAsGlobalAdmin: User; - /** Removes a User from being a Global Community Admin. */ - removeUserAsGlobalCommunityAdmin: User; - /** Removes a User from being a Global Spaces Admin. */ - removeUserAsGlobalSpacesAdmin: User; - /** Removes a User from being an Organization Admin. */ - removeUserAsOrganizationAdmin: User; - /** Removes a User from being an Organization Owner. */ - removeUserAsOrganizationOwner: User; /** Removes the specified User from specified user group */ removeUserFromGroup: UserGroup; - /** Removes a User as a member of the specified Organization. */ - removeUserFromOrganization: Organization; /** Resets the interaction with the chat engine. */ resetChatGuidance: Scalars['Boolean']; - /** Resets the interaction with the chat engine. */ - resetVirtualContributor: Scalars['Boolean']; /** Removes an authorization credential from an Organization. */ revokeCredentialFromOrganization: Organization; /** Removes an authorization credential from a User. */ revokeCredentialFromUser: User; + /** Revokes the specified LicensePlan on an Account. */ + revokeLicensePlanFromAccount: Account; /** Sends a reply to a message from the specified Room. */ sendMessageReplyToRoom: Message; /** Send message to Community Leads. */ @@ -2675,6 +2867,8 @@ export type Mutation = { updateCommunityApplicationForm: Community; /** Updates the CommunityGuidelines. */ updateCommunityGuidelines: CommunityGuidelines; + /** Updates the specified CommunityGuidelinesTemplate. */ + updateCommunityGuidelinesTemplate: CommunityGuidelinesTemplate; /** Updates the specified Discussion. */ updateDiscussion: Discussion; /** Updates the specified Document. */ @@ -2693,8 +2887,12 @@ export type Mutation = { updateInnovationFlowTemplate: InnovationFlowTemplate; /** Update Innovation Hub. */ updateInnovationHub: InnovationHub; + /** Update Innovation Hub Settings. */ + updateInnovationHubPlatformSettings: InnovationHub; /** Updates the InnovationPack. */ updateInnovationPack: InnovationPack; + /** Updates the LicensePlan. */ + updateLicensePlan: LicensePlan; /** Updates the specified Link. */ updateLink: Link; /** Updates the specified Organization. */ @@ -2719,8 +2917,6 @@ export type Mutation = { updateSpacePlatformSettings: Space; /** Updates one of the Setting on a Space */ updateSpaceSettings: Space; - /** Updates one of the settings on a Space */ - updateSubspaceSettings: Space; /** Updates the specified Tagset. */ updateTagset: Tagset; /** Updates the User. */ @@ -2731,6 +2927,8 @@ export type Mutation = { updateUserPlatformSettings: User; /** Updates the specified VirtualContributor. */ updateVirtualContributor: VirtualContributor; + /** Update VirtualContributor Platform Settings. */ + updateVirtualContributorPlatformSettings: VirtualContributor; /** Updates the specified VirtualPersona. */ updateVirtualPersona: VirtualPersona; /** Updates the image URI for the specified Visual. */ @@ -2783,34 +2981,22 @@ export type MutationAssignCommunityRoleToVirtualArgs = { roleData: AssignCommunityRoleToVirtualInput; }; -export type MutationAssignUserAsGlobalAdminArgs = { - membershipData: AssignGlobalAdminInput; -}; - -export type MutationAssignUserAsGlobalCommunityAdminArgs = { - membershipData: AssignGlobalCommunityAdminInput; -}; - -export type MutationAssignUserAsGlobalSpacesAdminArgs = { - membershipData: AssignGlobalSpacesAdminInput; +export type MutationAssignLicensePlanToAccountArgs = { + planData: AssignLicensePlanToAccount; }; -export type MutationAssignUserAsOrganizationAdminArgs = { - membershipData: AssignOrganizationAdminInput; +export type MutationAssignOrganizationRoleToUserArgs = { + membershipData: AssignOrganizationRoleToUserInput; }; -export type MutationAssignUserAsOrganizationOwnerArgs = { - membershipData: AssignOrganizationOwnerInput; +export type MutationAssignPlatformRoleToUserArgs = { + membershipData: AssignPlatformRoleToUserInput; }; export type MutationAssignUserToGroupArgs = { membershipData: AssignUserGroupMemberInput; }; -export type MutationAssignUserToOrganizationArgs = { - membershipData: AssignOrganizationAssociateInput; -}; - export type MutationAuthorizationPolicyResetOnAccountArgs = { authorizationResetData: AccountAuthorizationResetInput; }; @@ -2823,14 +3009,6 @@ export type MutationAuthorizationPolicyResetOnUserArgs = { authorizationResetData: UserAuthorizationResetInput; }; -export type MutationAuthorizationPolicyResetOnVirtualContributorArgs = { - authorizationResetData: VirtualContributorAuthorizationResetInput; -}; - -export type MutationAuthorizationPolicyResetOnVirtualPersonaArgs = { - authorizationResetData: VirtualPersonaAuthorizationResetInput; -}; - export type MutationAuthorizationPolicyResetToGlobalAdminsAccessArgs = { authorizationID: Scalars['String']; }; @@ -2872,6 +3050,10 @@ export type MutationCreateCalloutTemplateArgs = { calloutTemplateInput: CreateCalloutTemplateOnTemplatesSetInput; }; +export type MutationCreateCommunityGuidelinesTemplateArgs = { + communityGuidelinesTemplateInput: CreateCommunityGuidelinesTemplateOnTemplatesSetInput; +}; + export type MutationCreateContributionOnCalloutArgs = { contributionData: CreateContributionOnCalloutInput; }; @@ -2904,6 +3086,10 @@ export type MutationCreateInnovationPackOnLibraryArgs = { packData: CreateInnovationPackOnLibraryInput; }; +export type MutationCreateLicensePlanArgs = { + planData: CreateLicensePlanOnLicensingInput; +}; + export type MutationCreateOrganizationArgs = { organizationData: CreateOrganizationInput; }; @@ -2933,7 +3119,7 @@ export type MutationCreateUserArgs = { }; export type MutationCreateVirtualContributorArgs = { - virtualContributorData: CreateVirtualContributorInput; + virtualContributorData: CreateVirtualContributorOnAccountInput; }; export type MutationCreateVirtualPersonaArgs = { @@ -2968,6 +3154,10 @@ export type MutationDeleteCollaborationArgs = { deleteData: DeleteCollaborationInput; }; +export type MutationDeleteCommunityGuidelinesTemplateArgs = { + deleteData: DeleteCommunityGuidelinesTemplateInput; +}; + export type MutationDeleteDiscussionArgs = { deleteData: DeleteDiscussionInput; }; @@ -2996,6 +3186,10 @@ export type MutationDeleteInvitationExternalArgs = { deleteData: DeleteInvitationExternalInput; }; +export type MutationDeleteLicensePlanArgs = { + deleteData: DeleteLicensePlanInput; +}; + export type MutationDeleteLinkArgs = { deleteData: DeleteLinkInput; }; @@ -3076,12 +3270,16 @@ export type MutationGrantCredentialToUserArgs = { grantCredentialData: GrantAuthorizationCredentialInput; }; +export type MutationIngestSpaceArgs = { + ingestSpaceData: IngestSpaceInput; +}; + export type MutationInviteExistingUserForCommunityMembershipArgs = { - invitationData: CreateInvitationExistingUserOnCommunityInput; + invitationData: CreateInvitationForUsersOnCommunityInput; }; -export type MutationInviteExternalUserForCommunityMembershipArgs = { - invitationData: CreateInvitationExternalUserOnCommunityInput; +export type MutationInviteForCommunityMembershipByEmailArgs = { + invitationData: CreateInvitationUserByEmailOnCommunityInput; }; export type MutationJoinCommunityArgs = { @@ -3112,38 +3310,22 @@ export type MutationRemoveMessageOnRoomArgs = { messageData: RoomRemoveMessageInput; }; -export type MutationRemoveReactionToMessageInRoomArgs = { - reactionData: RoomRemoveReactionToMessageInput; -}; - -export type MutationRemoveUserAsGlobalAdminArgs = { - membershipData: RemoveGlobalAdminInput; -}; - -export type MutationRemoveUserAsGlobalCommunityAdminArgs = { - membershipData: RemoveGlobalCommunityAdminInput; -}; - -export type MutationRemoveUserAsGlobalSpacesAdminArgs = { - membershipData: RemoveGlobalSpacesAdminInput; +export type MutationRemoveOrganizationRoleFromUserArgs = { + membershipData: RemoveOrganizationRoleFromUserInput; }; -export type MutationRemoveUserAsOrganizationAdminArgs = { - membershipData: RemoveOrganizationAdminInput; +export type MutationRemovePlatformRoleFromUserArgs = { + membershipData: RemovePlatformRoleFromUserInput; }; -export type MutationRemoveUserAsOrganizationOwnerArgs = { - membershipData: RemoveOrganizationOwnerInput; +export type MutationRemoveReactionToMessageInRoomArgs = { + reactionData: RoomRemoveReactionToMessageInput; }; export type MutationRemoveUserFromGroupArgs = { membershipData: RemoveUserGroupMemberInput; }; -export type MutationRemoveUserFromOrganizationArgs = { - membershipData: RemoveOrganizationAssociateInput; -}; - export type MutationRevokeCredentialFromOrganizationArgs = { revokeCredentialData: RevokeOrganizationAuthorizationCredentialInput; }; @@ -3152,6 +3334,10 @@ export type MutationRevokeCredentialFromUserArgs = { revokeCredentialData: RevokeAuthorizationCredentialInput; }; +export type MutationRevokeLicensePlanFromAccountArgs = { + planData: RevokeLicensePlanFromAccount; +}; + export type MutationSendMessageReplyToRoomArgs = { messageData: RoomSendMessageReplyInput; }; @@ -3216,6 +3402,10 @@ export type MutationUpdateCommunityGuidelinesArgs = { communityGuidelinesData: UpdateCommunityGuidelinesInput; }; +export type MutationUpdateCommunityGuidelinesTemplateArgs = { + communityGuidelinesTemplateInput: UpdateCommunityGuidelinesTemplateInput; +}; + export type MutationUpdateDiscussionArgs = { updateData: UpdateDiscussionInput; }; @@ -3252,10 +3442,18 @@ export type MutationUpdateInnovationHubArgs = { updateData: UpdateInnovationHubInput; }; +export type MutationUpdateInnovationHubPlatformSettingsArgs = { + updateData: UpdateInnovationHubPlatformSettingsInput; +}; + export type MutationUpdateInnovationPackArgs = { innovationPackData: UpdateInnovationPackInput; }; +export type MutationUpdateLicensePlanArgs = { + updateData: UpdateLicensePlanInput; +}; + export type MutationUpdateLinkArgs = { linkData: UpdateLinkInput; }; @@ -3301,11 +3499,7 @@ export type MutationUpdateSpacePlatformSettingsArgs = { }; export type MutationUpdateSpaceSettingsArgs = { - settingsData: UpdateSpaceSettingsOnSpaceInput; -}; - -export type MutationUpdateSubspaceSettingsArgs = { - settingsData: UpdateSubspaceSettingsInput; + settingsData: UpdateSpaceSettingsInput; }; export type MutationUpdateTagsetArgs = { @@ -3328,6 +3522,10 @@ export type MutationUpdateVirtualContributorArgs = { virtualContributorData: UpdateVirtualContributorInput; }; +export type MutationUpdateVirtualContributorPlatformSettingsArgs = { + updateData: UpdateVirtualContributorPlatformSettingsInput; +}; + export type MutationUpdateVirtualPersonaArgs = { virtualPersonaData: UpdateVirtualPersonaInput; }; @@ -3386,45 +3584,46 @@ export type Nvp = { value: Scalars['String']; }; -export type Organization = Groupable & { - /** All Users that are admins of this Organization. */ - admins?: Maybe>; - /** The Agent representing this User. */ - agent?: Maybe; - /** All Users that are associated with this Organization. */ - associates?: Maybe>; - /** The authorization rules for the entity */ - authorization?: Maybe; - /** Organization contact email */ - contactEmail?: Maybe; - /** Domain name; what is verified, eg. alkem.io */ - domain?: Maybe; - /** Group defined on this organization. */ - group?: Maybe; - /** Groups defined on this organization. */ - groups?: Maybe>; - /** The ID of the entity */ - id: Scalars['UUID']; - /** Legal name - required if hosting an Space */ - legalEntityName?: Maybe; - /** Metrics about the activity within this Organization. */ - metrics?: Maybe>; - /** The roles on this Organization for the currently logged in user. */ - myRoles?: Maybe>; - /** A name identifier of the entity, unique within a given scope. */ - nameID: Scalars['NameID']; - /** All Users that are owners of this Organization. */ - owners?: Maybe>; - /** The preferences for this Organization */ - preferences: Array; - /** The profile for this Organization. */ - profile: Profile; - /** The StorageAggregator for managing storage buckets in use by this Organization */ - storageAggregator?: Maybe; - verification: OrganizationVerification; - /** Organization website */ - website?: Maybe; -}; +export type Organization = Contributor & + Groupable & { + /** All Users that are admins of this Organization. */ + admins?: Maybe>; + /** The Agent representing this User. */ + agent: Agent; + /** All Users that are associated with this Organization. */ + associates?: Maybe>; + /** The authorization rules for the Contributor */ + authorization?: Maybe; + /** Organization contact email */ + contactEmail?: Maybe; + /** Domain name; what is verified, eg. alkem.io */ + domain?: Maybe; + /** Group defined on this organization. */ + group?: Maybe; + /** Groups defined on this organization. */ + groups?: Maybe>; + /** The ID of the Contributor */ + id: Scalars['UUID']; + /** Legal name - required if hosting an Space */ + legalEntityName?: Maybe; + /** Metrics about the activity within this Organization. */ + metrics?: Maybe>; + /** The roles on this Organization for the currently logged in user. */ + myRoles?: Maybe>; + /** A name identifier of the Contributor, unique within a given scope. */ + nameID: Scalars['NameID']; + /** All Users that are owners of this Organization. */ + owners?: Maybe>; + /** The preferences for this Organization */ + preferences: Array; + /** The profile for this Organization. */ + profile: Profile; + /** The StorageAggregator for managing storage buckets in use by this Organization */ + storageAggregator?: Maybe; + verification: OrganizationVerification; + /** Organization website */ + website?: Maybe; + }; export type OrganizationGroupArgs = { ID: Scalars['UUID']; @@ -3526,6 +3725,8 @@ export type Platform = { latestReleaseDiscussion?: Maybe; /** The Innovation Library for the platform */ library: Library; + /** The Licensing in use by the platform. */ + licensing: Licensing; /** Alkemio Services Metadata. */ metadata: Metadata; /** The StorageAggregator with documents in use by Users + Organizations on the Platform. */ @@ -3564,6 +3765,8 @@ export type PlatformLocations = { blog: Scalars['String']; /** URL where users can see the community forum */ community: Scalars['String']; + /** URL for the link Contact in the HomePage and to create a new space with Enterprise plan */ + contactsupport: Scalars['String']; /** Main domain of the environment */ domain: Scalars['String']; /** Name of the environment */ @@ -3596,12 +3799,23 @@ export type PlatformLocations = { security: Scalars['String']; /** URL where users can get support for the platform */ support: Scalars['String']; + /** URL for the link Contact in the HomePage to switch between plans */ + switchplan: Scalars['String']; /** URL to the terms of usage for the platform */ terms: Scalars['String']; /** URL where users can get tips and tricks */ tips: Scalars['String']; }; +export enum PlatformRole { + BetaTester = 'BETA_TESTER', + CommunityReader = 'COMMUNITY_READER', + GlobalAdmin = 'GLOBAL_ADMIN', + LicenseManager = 'LICENSE_MANAGER', + SpacesReader = 'SPACES_READER', + Support = 'SUPPORT', +} + export type Post = { /** The authorization rules for the entity */ authorization?: Maybe; @@ -3750,6 +3964,7 @@ export enum ProfileType { CalloutTemplate = 'CALLOUT_TEMPLATE', Challenge = 'CHALLENGE', CommunityGuidelines = 'COMMUNITY_GUIDELINES', + CommunityGuidelinesTemplate = 'COMMUNITY_GUIDELINES_TEMPLATE', ContributionLink = 'CONTRIBUTION_LINK', Discussion = 'DISCUSSION', InnovationFlow = 'INNOVATION_FLOW', @@ -3808,7 +4023,7 @@ export type Query = { rolesUser: ContributorRoles; /** Search the platform for terms supplied */ search: ISearchResults; - /** An space. If no ID is specified then the first Space is returned. */ + /** Look up a top level Space (i.e. a Space that does not have a parent Space) by the UUID or NameID. */ space: Space; /** The Spaces on this platform; If accessed through an Innovation Hub will return ONLY the Spaces defined in it. */ spaces: Array; @@ -4072,53 +4287,6 @@ export type RelayPaginatedSpacePageInfo = { startCursor?: Maybe; }; -export type RelayPaginatedUser = { - /** The unique personal identifier (upn) for the account associated with this user profile */ - accountUpn: Scalars['String']; - /** The Agent representing this User. */ - agent?: Maybe; - /** The authorization rules for the entity */ - authorization?: Maybe; - /** The Community rooms this user is a member of */ - communityRooms?: Maybe>; - /** The direct rooms this user is a member of */ - directRooms?: Maybe>; - /** The email address for this User. */ - email: Scalars['String']; - firstName: Scalars['String']; - gender: Scalars['String']; - /** The ID of the entity */ - id: Scalars['UUID']; - /** Can a message be sent to this User. */ - isContactable: Scalars['Boolean']; - lastName: Scalars['String']; - /** A name identifier of the entity, unique within a given scope. */ - nameID: Scalars['NameID']; - /** The phone number for this User. */ - phone: Scalars['String']; - /** The preferences for this user */ - preferences: Array; - /** The Profile for this User. */ - profile: Profile; - /** The StorageAggregator for managing storage buckets in use by this User */ - storageAggregator?: Maybe; -}; - -export type RelayPaginatedUserEdge = { - node: RelayPaginatedUser; -}; - -export type RelayPaginatedUserPageInfo = { - /** The last cursor of the page result */ - endCursor?: Maybe; - /** Indicate whether more items exist after the returned ones */ - hasNextPage: Scalars['Boolean']; - /** Indicate whether more items exist before the returned ones */ - hasPreviousPage: Scalars['Boolean']; - /** The first cursor of the page result */ - startCursor?: Maybe; -}; - export type RemoveCommunityRoleFromOrganizationInput = { communityID: Scalars['UUID']; organizationID: Scalars['UUID_NAMEID']; @@ -4137,30 +4305,14 @@ export type RemoveCommunityRoleFromVirtualInput = { virtualContributorID: Scalars['UUID_NAMEID']; }; -export type RemoveGlobalAdminInput = { - userID: Scalars['UUID_NAMEID_EMAIL']; -}; - -export type RemoveGlobalCommunityAdminInput = { - userID: Scalars['UUID_NAMEID_EMAIL']; -}; - -export type RemoveGlobalSpacesAdminInput = { - userID: Scalars['UUID_NAMEID_EMAIL']; -}; - -export type RemoveOrganizationAdminInput = { - organizationID: Scalars['UUID_NAMEID']; - userID: Scalars['UUID_NAMEID_EMAIL']; -}; - -export type RemoveOrganizationAssociateInput = { +export type RemoveOrganizationRoleFromUserInput = { organizationID: Scalars['UUID_NAMEID']; + role: OrganizationRole; userID: Scalars['UUID_NAMEID_EMAIL']; }; -export type RemoveOrganizationOwnerInput = { - organizationID: Scalars['UUID_NAMEID']; +export type RemovePlatformRoleFromUserInput = { + role: PlatformRole; userID: Scalars['UUID_NAMEID_EMAIL']; }; @@ -4177,6 +4329,15 @@ export type RevokeAuthorizationCredentialInput = { userID: Scalars['UUID_NAMEID_EMAIL']; }; +export type RevokeLicensePlanFromAccount = { + /** The ID of the Account to assign the LicensePlan to. */ + accountID: Scalars['UUID']; + /** The ID of the LicensePlan to assign. */ + licensePlanID: Scalars['UUID']; + /** The ID of the Licensing to use. */ + licensingID?: InputMaybe; +}; + export type RevokeOrganizationAuthorizationCredentialInput = { /** The Organization from whom the credential is being removed. */ organizationID: Scalars['UUID']; @@ -4212,8 +4373,8 @@ export type RolesResultCommunity = { nameID: Scalars['NameID']; /** The roles held by the contributor */ roles: Array; - /** Details of the Groups in the Organizations the user is a member of */ - userGroups: Array; + /** The Type of the Space e.g. space/challenge/opportunity. */ + type: SpaceType; }; export type RolesResultOrganization = { @@ -4242,12 +4403,10 @@ export type RolesResultSpace = { roles: Array; /** The Space ID */ spaceID: Scalars['String']; - /** Details of the Challenges the user is a member of */ + /** Details of the Subspace the user is a member of */ subspaces: Array; - /** Details of the Opportunities the Contributor is a member of */ - subsubspaces: Array; - /** Details of the Groups in the Organizations the user is a member of */ - userGroups: Array; + /** The Type of the Space e.g. space/challenge/opportunity. */ + type: SpaceType; /** Visibility of the Space. */ visibility: SpaceVisibility; }; @@ -4344,7 +4503,7 @@ export type SearchInput = { tagsetNames?: InputMaybe>; /** The terms to be searched for within this Space. Max 5. */ terms: Array; - /** Restrict the search to only the specified entity types. Values allowed: user, group, organization, Default is all. */ + /** Restrict the search to only the specified entity types. Values allowed: space, subspace, user, group, organization, callout. Default is all. */ typesFilter?: InputMaybe>; }; @@ -4364,36 +4523,8 @@ export type SearchResultCallout = SearchResult & { id: Scalars['UUID']; /** The score for this search result; more matches means a higher score. */ score: Scalars['Float']; - /** The terms that were matched for this result */ - terms: Array; - /** The type of returned result for this search. */ - type: SearchResultType; -}; - -export type SearchResultChallenge = SearchResult & { - id: Scalars['UUID']; - /** The score for this search result; more matches means a higher score. */ - score: Scalars['Float']; - /** The Space that the Challenge is in. */ + /** The parent Space of the Callout. */ space: Space; - /** The Challenge that was found. */ - subspace: Space; - /** The terms that were matched for this result */ - terms: Array; - /** The type of returned result for this search. */ - type: SearchResultType; -}; - -export type SearchResultOpportunity = SearchResult & { - id: Scalars['UUID']; - /** The score for this search result; more matches means a higher score. */ - score: Scalars['Float']; - /** The Space that the Opportunity is in. */ - space: Space; - /** The Challenge that the Opportunity is in. */ - subspace: Space; - /** The Opportunity that was found. */ - subsubspace: Space; /** The terms that were matched for this result */ terms: Array; /** The type of returned result for this search. */ @@ -4422,10 +4553,6 @@ export type SearchResultPost = SearchResult & { score: Scalars['Float']; /** The Space of the Post. */ space: Space; - /** The Challenge of the Post. Applicable for Callouts on Opportunities and Challenges. */ - subspace?: Maybe; - /** The Opportunity of the Post. Applicable only for Callouts on Opportunities. */ - subsubspace?: Maybe; /** The terms that were matched for this result */ terms: Array; /** The type of returned result for this search. */ @@ -4434,6 +4561,8 @@ export type SearchResultPost = SearchResult & { export type SearchResultSpace = SearchResult & { id: Scalars['UUID']; + /** The parent of this Space, if any. */ + parentSpace?: Maybe; /** The score for this search result; more matches means a higher score. */ score: Scalars['Float']; /** The Space that was found. */ @@ -4587,6 +4716,8 @@ export type SpaceSettingsCollaboration = { }; export type SpaceSettingsMembership = { + /** Allow subspace admins to invite to this Space. */ + allowSubspaceAdminsToInviteMembers: Scalars['Boolean']; /** The membership policy in usage for this Space */ policy: CommunityMembershipPolicy; /** The organizations that are trusted to Join as members for this Space */ @@ -4594,6 +4725,8 @@ export type SpaceSettingsMembership = { }; export type SpaceSettingsPrivacy = { + /** Flag to control if Platform Support has admin rights. */ + allowPlatformSupportAsAdmin: Scalars['Boolean']; /** The privacy mode for this Space */ mode: SpacePrivacyMode; }; @@ -4816,6 +4949,14 @@ export type TemplatesSet = { authorization?: Maybe; /** The CalloutTemplates in this TemplatesSet. */ calloutTemplates: Array; + /** The total number of CalloutTemplates in this TemplatesSet. */ + calloutTemplatesCount: Scalars['Float']; + /** A single CommunityGuidelinesTemplate */ + communityGuidelinesTemplate?: Maybe; + /** The CommunityGuidelines in this TemplatesSet. */ + communityGuidelinesTemplates: Array; + /** The total number of CommunityGuidelinesTemplates in this TemplatesSet. */ + communityGuidelinesTemplatesCount: Scalars['Float']; /** The ID of the entity */ id: Scalars['UUID']; /** A single InnovationFlowTemplate */ @@ -4838,6 +4979,10 @@ export type TemplatesSet = { whiteboardTemplatesCount: Scalars['Float']; }; +export type TemplatesSetCommunityGuidelinesTemplateArgs = { + ID: Scalars['UUID']; +}; + export type TemplatesSetInnovationFlowTemplateArgs = { ID: Scalars['UUID']; }; @@ -4862,7 +5007,7 @@ export type Timeline = { export type UpdateAccountPlatformSettingsInput = { /** The identifier for the Account whose license etc is to be updated. */ accountID: Scalars['UUID']; - /** Update the host Organization for the Account. */ + /** Update the host Organization or User for the Account. */ hostID?: InputMaybe; /** Update the license settings for the Account. */ license?: InputMaybe; @@ -4911,6 +5056,7 @@ export type UpdateCalloutFramingInput = { /** The Profile of the Template. */ profile?: InputMaybe; whiteboard?: InputMaybe; + whiteboardContent?: InputMaybe; }; export type UpdateCalloutInput = { @@ -4971,6 +5117,19 @@ export type UpdateCommunityGuidelinesInput = { profile: UpdateProfileInput; }; +export type UpdateCommunityGuidelinesOfTemplateInput = { + /** The Profile for this community guidelines. */ + profile: UpdateProfileInput; +}; + +export type UpdateCommunityGuidelinesTemplateInput = { + ID: Scalars['UUID']; + /** The Community guidelines to associate with this template. */ + communityGuidelines?: InputMaybe; + /** The Profile of the Template. */ + profile?: InputMaybe; +}; + export type UpdateContextInput = { impact?: InputMaybe; vision?: InputMaybe; @@ -5080,6 +5239,12 @@ export type UpdateInnovationHubInput = { spaceVisibilityFilter?: InputMaybe; }; +export type UpdateInnovationHubPlatformSettingsInput = { + ID: Scalars['UUID']; + /** An Account ID associated with the InnovationHub */ + accountID: Scalars['UUID']; +}; + export type UpdateInnovationPackInput = { /** The ID or NameID of the InnovationPack. */ ID: Scalars['UUID_NAMEID']; @@ -5098,6 +5263,10 @@ export type UpdateLicenseInput = { visibility?: InputMaybe; }; +export type UpdateLicensePlanInput = { + ID: Scalars['UUID']; +}; + export type UpdateLinkInput = { ID: Scalars['UUID']; /** The Profile of the Link. */ @@ -5219,35 +5388,32 @@ export type UpdateSpaceSettingsCollaborationInput = { inheritMembershipRights: Scalars['Boolean']; }; -export type UpdateSpaceSettingsInput = { +export type UpdateSpaceSettingsEntityInput = { collaboration?: InputMaybe; membership?: InputMaybe; privacy?: InputMaybe; }; +export type UpdateSpaceSettingsInput = { + /** Update the settings for the Space. */ + settings: UpdateSpaceSettingsEntityInput; + /** The identifier for the Space whose settings are to be updated. */ + spaceID: Scalars['String']; +}; + export type UpdateSpaceSettingsMembershipInput = { + /** Flag to control if Subspace admins can invite for this Space. */ + allowSubspaceAdminsToInviteMembers: Scalars['Boolean']; /** The membership policy in usage for this Space */ policy: CommunityMembershipPolicy; /** The organizations that are trusted to Join as members for this Space */ trustedOrganizations: Array; }; -export type UpdateSpaceSettingsOnSpaceInput = { - /** Update the settings for the Space. */ - settings: UpdateSpaceSettingsInput; - /** The identifier for the Space whose settings are to be updated. */ - spaceID: Scalars['String']; -}; - export type UpdateSpaceSettingsPrivacyInput = { - mode: SpacePrivacyMode; -}; - -export type UpdateSubspaceSettingsInput = { - /** Update the settings for the Subspace. */ - settings: UpdateSpaceSettingsInput; - /** The identifier for the Subspace whose settings are to be updated. */ - subspaceID: Scalars['String']; + /** Flag to control if Platform Support has admin rights. */ + allowPlatformSupportAsAdmin?: InputMaybe; + mode?: InputMaybe; }; export type UpdateTagsetInput = { @@ -5302,14 +5468,20 @@ export type UpdateVirtualContributorInput = { profileData?: InputMaybe; }; +export type UpdateVirtualContributorPlatformSettingsInput = { + ID: Scalars['UUID']; + /** An Account ID associated with the VirtualContributor */ + accountID: Scalars['UUID']; +}; + export type UpdateVirtualPersonaInput = { ID: Scalars['UUID']; - engine: VirtualPersonaEngine; + engine: VirtualContributorEngine; /** A display identifier, unique within the containing scope. Note: updating the nameID will affect URL on the client. */ nameID?: InputMaybe; /** The Profile of this entity. */ profileData?: InputMaybe; - prompt: Scalars['JSON']; + prompt?: InputMaybe; }; export type UpdateVisualInput = { @@ -5343,12 +5515,12 @@ export type UpdateWhiteboardTemplateInput = { profile?: InputMaybe; }; -export type User = { +export type User = Contributor & { /** The unique personal identifier (upn) for the account associated with this user profile */ accountUpn: Scalars['String']; /** The Agent representing this User. */ - agent?: Maybe; - /** The authorization rules for the entity */ + agent: Agent; + /** The authorization rules for the Contributor */ authorization?: Maybe; /** The Community rooms this user is a member of */ communityRooms?: Maybe>; @@ -5358,12 +5530,12 @@ export type User = { email: Scalars['String']; firstName: Scalars['String']; gender: Scalars['String']; - /** The ID of the entity */ + /** The ID of the Contributor */ id: Scalars['UUID']; /** Can a message be sent to this User. */ isContactable: Scalars['Boolean']; lastName: Scalars['String']; - /** A name identifier of the entity, unique within a given scope. */ + /** A name identifier of the Contributor, unique within a given scope. */ nameID: Scalars['NameID']; /** The phone number for this User. */ phone: Scalars['String']; @@ -5476,14 +5648,20 @@ export type VerifiedCredentialClaim = { value: Scalars['JSON']; }; -export type VirtualContributor = { +export type VirtualContributor = Contributor & { + /** The account under which the virtual contributor was created */ + account?: Maybe; /** The Agent representing this User. */ - agent?: Maybe; - /** The authorization rules for the entity */ + agent: Agent; + /** The authorization rules for the Contributor */ authorization?: Maybe; - /** The ID of the entity */ + /** The body of knowledge ID used for the Virtual Contributor */ + bodyOfKnowledgeID?: Maybe; + /** The body of knowledge type used for the Virtual Contributor */ + bodyOfKnowledgeType?: Maybe; + /** The ID of the Contributor */ id: Scalars['UUID']; - /** A name identifier of the entity, unique within a given scope. */ + /** A name identifier of the Contributor, unique within a given scope. */ nameID: Scalars['NameID']; /** The profile for this Virtual. */ profile: Profile; @@ -5493,36 +5671,33 @@ export type VirtualContributor = { virtualPersona: VirtualPersona; }; -export type VirtualContributorAuthorizationResetInput = { - /** The identifier of the Virtual Contributor whose Authorization Policy should be reset. */ - virtualContributorID: Scalars['UUID']; -}; +export enum VirtualContributorEngine { + CommunityManager = 'COMMUNITY_MANAGER', + Expert = 'EXPERT', + Guidance = 'GUIDANCE', +} export type VirtualPersona = { /** The authorization rules for the entity */ authorization?: Maybe; + /** The required data access by the Virtual Persona */ + dataAccessMode: VirtualPersonaAccessMode; /** The Virtual Persona Engine being used by this virtual persona. */ - engine?: Maybe; + engine: VirtualContributorEngine; /** The ID of the entity */ id: Scalars['UUID']; /** A name identifier of the entity, unique within a given scope. */ nameID: Scalars['NameID']; - /** The Profile for this VirtualPersona. */ + /** The Profile for the VirtualPersona. */ profile: Profile; /** The prompt used by this Virtual Persona */ prompt: Scalars['String']; }; -export type VirtualPersonaAuthorizationResetInput = { - /** The identifier of the Virtual Persona whose Authorization Policy should be reset. */ - virtualPersonaID: Scalars['UUID_NAMEID_EMAIL']; -}; - -export enum VirtualPersonaEngine { - AlkemioDigileefomgeving = 'ALKEMIO_DIGILEEFOMGEVING', - AlkemioWelcome = 'ALKEMIO_WELCOME', - CommunityManager = 'COMMUNITY_MANAGER', - Guidance = 'GUIDANCE', +export enum VirtualPersonaAccessMode { + None = 'NONE', + SpaceProfile = 'SPACE_PROFILE', + SpaceProfileAndContents = 'SPACE_PROFILE_AND_CONTENTS', } export type VirtualPersonaQuestionInput = { @@ -5720,6 +5895,7 @@ export type ResolversTypes = { APM: ResolverTypeWrapper; Account: ResolverTypeWrapper; AccountAuthorizationResetInput: AccountAuthorizationResetInput; + AccountSubscription: ResolverTypeWrapper; ActivityCreatedSubscriptionInput: ActivityCreatedSubscriptionInput; ActivityCreatedSubscriptionResult: ResolverTypeWrapper; ActivityEventType: ActivityEventType; @@ -5755,22 +5931,21 @@ export type ResolversTypes = { ActivityLogInput: ActivityLogInput; Actor: ResolverTypeWrapper; ActorGroup: ResolverTypeWrapper; - AdminSearchIngestResult: ResolverTypeWrapper; Agent: ResolverTypeWrapper; AgentBeginVerifiedCredentialOfferOutput: ResolverTypeWrapper; AgentBeginVerifiedCredentialRequestOutput: ResolverTypeWrapper; + AnyInvitation: + | ResolversTypes['Invitation'] + | ResolversTypes['InvitationExternal']; Application: ResolverTypeWrapper; ApplicationEventInput: ApplicationEventInput; ApplicationForRoleResult: ResolverTypeWrapper; AssignCommunityRoleToOrganizationInput: AssignCommunityRoleToOrganizationInput; AssignCommunityRoleToUserInput: AssignCommunityRoleToUserInput; AssignCommunityRoleToVirtualInput: AssignCommunityRoleToVirtualInput; - AssignGlobalAdminInput: AssignGlobalAdminInput; - AssignGlobalCommunityAdminInput: AssignGlobalCommunityAdminInput; - AssignGlobalSpacesAdminInput: AssignGlobalSpacesAdminInput; - AssignOrganizationAdminInput: AssignOrganizationAdminInput; - AssignOrganizationAssociateInput: AssignOrganizationAssociateInput; - AssignOrganizationOwnerInput: AssignOrganizationOwnerInput; + AssignLicensePlanToAccount: AssignLicensePlanToAccount; + AssignOrganizationRoleToUserInput: AssignOrganizationRoleToUserInput; + AssignPlatformRoleToUserInput: AssignPlatformRoleToUserInput; AssignUserGroupMemberInput: AssignUserGroupMemberInput; AuthenticationConfig: ResolverTypeWrapper; AuthenticationProviderConfig: ResolverTypeWrapper< @@ -5785,6 +5960,7 @@ export type ResolversTypes = { AuthorizationPolicyRulePrivilege: ResolverTypeWrapper; AuthorizationPolicyRuleVerifiedCredential: ResolverTypeWrapper; AuthorizationPrivilege: AuthorizationPrivilege; + BodyOfKnowledgeType: BodyOfKnowledgeType; Boolean: ResolverTypeWrapper; CID: ResolverTypeWrapper; Calendar: ResolverTypeWrapper; @@ -5825,15 +6001,21 @@ export type ResolversTypes = { Community: ResolverTypeWrapper; CommunityApplyInput: CommunityApplyInput; CommunityGuidelines: ResolverTypeWrapper; + CommunityGuidelinesTemplate: ResolverTypeWrapper; CommunityJoinInput: CommunityJoinInput; CommunityMembershipPolicy: CommunityMembershipPolicy; CommunityMembershipStatus: CommunityMembershipStatus; CommunityPolicy: ResolverTypeWrapper; CommunityRole: CommunityRole; + CommunityRoleImplicit: CommunityRoleImplicit; CommunityRolePolicy: ResolverTypeWrapper; Config: ResolverTypeWrapper; ContentUpdatePolicy: ContentUpdatePolicy; Context: ResolverTypeWrapper; + Contributor: + | ResolversTypes['Organization'] + | ResolversTypes['User'] + | ResolversTypes['VirtualContributor']; ContributorFilterInput: ContributorFilterInput; ContributorRoles: ResolverTypeWrapper; ConvertSubspaceToSpaceInput: ConvertSubspaceToSpaceInput; @@ -5848,13 +6030,16 @@ export type ResolversTypes = { CreateCalloutOnCollaborationInput: CreateCalloutOnCollaborationInput; CreateCalloutTemplateOnTemplatesSetInput: CreateCalloutTemplateOnTemplatesSetInput; CreateCollaborationInput: CreateCollaborationInput; + CreateCommunityGuidelinesInput: CreateCommunityGuidelinesInput; + CreateCommunityGuidelinesTemplateOnTemplatesSetInput: CreateCommunityGuidelinesTemplateOnTemplatesSetInput; CreateContextInput: CreateContextInput; CreateContributionOnCalloutInput: CreateContributionOnCalloutInput; CreateInnovationFlowTemplateOnTemplatesSetInput: CreateInnovationFlowTemplateOnTemplatesSetInput; CreateInnovationHubInput: CreateInnovationHubInput; CreateInnovationPackOnLibraryInput: CreateInnovationPackOnLibraryInput; - CreateInvitationExistingUserOnCommunityInput: CreateInvitationExistingUserOnCommunityInput; - CreateInvitationExternalUserOnCommunityInput: CreateInvitationExternalUserOnCommunityInput; + CreateInvitationForUsersOnCommunityInput: CreateInvitationForUsersOnCommunityInput; + CreateInvitationUserByEmailOnCommunityInput: CreateInvitationUserByEmailOnCommunityInput; + CreateLicensePlanOnLicensingInput: CreateLicensePlanOnLicensingInput; CreateLinkInput: CreateLinkInput; CreateLocationInput: CreateLocationInput; CreateNVPInput: CreateNvpInput; @@ -5871,13 +6056,14 @@ export type ResolversTypes = { CreateTagsetOnProfileInput: CreateTagsetOnProfileInput; CreateUserGroupInput: CreateUserGroupInput; CreateUserInput: CreateUserInput; - CreateVirtualContributorInput: CreateVirtualContributorInput; + CreateVirtualContributorOnAccountInput: CreateVirtualContributorOnAccountInput; CreateVirtualPersonaInput: CreateVirtualPersonaInput; CreateWhiteboardInput: CreateWhiteboardInput; CreateWhiteboardTemplateOnTemplatesSetInput: CreateWhiteboardTemplateOnTemplatesSetInput; Credential: ResolverTypeWrapper; CredentialDefinition: ResolverTypeWrapper; CredentialMetadataOutput: ResolverTypeWrapper; + CredentialType: CredentialType; DID: ResolverTypeWrapper; DateTime: ResolverTypeWrapper; DeleteActorGroupInput: DeleteActorGroupInput; @@ -5887,6 +6073,7 @@ export type ResolversTypes = { DeleteCalloutInput: DeleteCalloutInput; DeleteCalloutTemplateInput: DeleteCalloutTemplateInput; DeleteCollaborationInput: DeleteCollaborationInput; + DeleteCommunityGuidelinesTemplateInput: DeleteCommunityGuidelinesTemplateInput; DeleteDiscussionInput: DeleteDiscussionInput; DeleteDocumentInput: DeleteDocumentInput; DeleteInnovationFlowTemplateInput: DeleteInnovationFlowTemplateInput; @@ -5894,6 +6081,7 @@ export type ResolversTypes = { DeleteInnovationPackInput: DeleteInnovationPackInput; DeleteInvitationExternalInput: DeleteInvitationExternalInput; DeleteInvitationInput: DeleteInvitationInput; + DeleteLicensePlanInput: DeleteLicensePlanInput; DeleteLinkInput: DeleteLinkInput; DeleteOrganizationInput: DeleteOrganizationInput; DeletePostInput: DeletePostInput; @@ -5927,6 +6115,7 @@ export type ResolversTypes = { ISearchResults: ResolverTypeWrapper; IngestBatchResult: ResolverTypeWrapper; IngestResult: ResolverTypeWrapper; + IngestSpaceInput: IngestSpaceInput; InnovationFlow: ResolverTypeWrapper; InnovationFlowState: ResolverTypeWrapper; InnovationFlowTemplate: ResolverTypeWrapper; @@ -5944,8 +6133,14 @@ export type ResolversTypes = { LatestReleaseDiscussion: ResolverTypeWrapper; Library: ResolverTypeWrapper; License: ResolverTypeWrapper; + LicenseCredential: LicenseCredential; LicenseFeatureFlag: ResolverTypeWrapper; LicenseFeatureFlagName: LicenseFeatureFlagName; + LicensePlan: ResolverTypeWrapper; + LicensePolicy: ResolverTypeWrapper; + LicensePolicyRuleFeatureFlag: ResolverTypeWrapper; + LicensePrivilege: LicensePrivilege; + Licensing: ResolverTypeWrapper; Lifecycle: ResolverTypeWrapper; LifecycleDefinition: ResolverTypeWrapper; Link: ResolverTypeWrapper; @@ -5953,13 +6148,8 @@ export type ResolversTypes = { LookupQueryResults: ResolverTypeWrapper; Markdown: ResolverTypeWrapper; MeQueryResults: ResolverTypeWrapper; - Message: ResolverTypeWrapper< - Omit & { - sender?: Maybe; - } - >; + Message: ResolverTypeWrapper; MessageID: ResolverTypeWrapper; - MessageSender: ResolversTypes['User'] | ResolversTypes['VirtualContributor']; Metadata: ResolverTypeWrapper; MimeType: MimeType; MoveCalloutContributionInput: MoveCalloutContributionInput; @@ -5985,6 +6175,7 @@ export type ResolversTypes = { PlatformFeatureFlag: ResolverTypeWrapper; PlatformFeatureFlagName: PlatformFeatureFlagName; PlatformLocations: ResolverTypeWrapper; + PlatformRole: PlatformRole; Post: ResolverTypeWrapper; PostTemplate: ResolverTypeWrapper; Preference: ResolverTypeWrapper; @@ -6002,20 +6193,14 @@ export type ResolversTypes = { RelayPaginatedSpace: ResolverTypeWrapper; RelayPaginatedSpaceEdge: ResolverTypeWrapper; RelayPaginatedSpacePageInfo: ResolverTypeWrapper; - RelayPaginatedUser: ResolverTypeWrapper; - RelayPaginatedUserEdge: ResolverTypeWrapper; - RelayPaginatedUserPageInfo: ResolverTypeWrapper; RemoveCommunityRoleFromOrganizationInput: RemoveCommunityRoleFromOrganizationInput; RemoveCommunityRoleFromUserInput: RemoveCommunityRoleFromUserInput; RemoveCommunityRoleFromVirtualInput: RemoveCommunityRoleFromVirtualInput; - RemoveGlobalAdminInput: RemoveGlobalAdminInput; - RemoveGlobalCommunityAdminInput: RemoveGlobalCommunityAdminInput; - RemoveGlobalSpacesAdminInput: RemoveGlobalSpacesAdminInput; - RemoveOrganizationAdminInput: RemoveOrganizationAdminInput; - RemoveOrganizationAssociateInput: RemoveOrganizationAssociateInput; - RemoveOrganizationOwnerInput: RemoveOrganizationOwnerInput; + RemoveOrganizationRoleFromUserInput: RemoveOrganizationRoleFromUserInput; + RemovePlatformRoleFromUserInput: RemovePlatformRoleFromUserInput; RemoveUserGroupMemberInput: RemoveUserGroupMemberInput; RevokeAuthorizationCredentialInput: RevokeAuthorizationCredentialInput; + RevokeLicensePlanFromAccount: RevokeLicensePlanFromAccount; RevokeOrganizationAuthorizationCredentialInput: RevokeOrganizationAuthorizationCredentialInput; RolesOrganizationInput: RolesOrganizationInput; RolesResult: ResolverTypeWrapper; @@ -6035,16 +6220,12 @@ export type ResolversTypes = { SearchInput: SearchInput; SearchResult: | ResolversTypes['SearchResultCallout'] - | ResolversTypes['SearchResultChallenge'] - | ResolversTypes['SearchResultOpportunity'] | ResolversTypes['SearchResultOrganization'] | ResolversTypes['SearchResultPost'] | ResolversTypes['SearchResultSpace'] | ResolversTypes['SearchResultUser'] | ResolversTypes['SearchResultUserGroup']; SearchResultCallout: ResolverTypeWrapper; - SearchResultChallenge: ResolverTypeWrapper; - SearchResultOpportunity: ResolverTypeWrapper; SearchResultOrganization: ResolverTypeWrapper; SearchResultPost: ResolverTypeWrapper; SearchResultSpace: ResolverTypeWrapper; @@ -6100,6 +6281,8 @@ export type ResolversTypes = { UpdateCollaborationCalloutsSortOrderInput: UpdateCollaborationCalloutsSortOrderInput; UpdateCommunityApplicationFormInput: UpdateCommunityApplicationFormInput; UpdateCommunityGuidelinesInput: UpdateCommunityGuidelinesInput; + UpdateCommunityGuidelinesOfTemplateInput: UpdateCommunityGuidelinesOfTemplateInput; + UpdateCommunityGuidelinesTemplateInput: UpdateCommunityGuidelinesTemplateInput; UpdateContextInput: UpdateContextInput; UpdateDiscussionInput: UpdateDiscussionInput; UpdateDocumentInput: UpdateDocumentInput; @@ -6114,8 +6297,10 @@ export type ResolversTypes = { UpdateInnovationFlowStateInput: UpdateInnovationFlowStateInput; UpdateInnovationFlowTemplateInput: UpdateInnovationFlowTemplateInput; UpdateInnovationHubInput: UpdateInnovationHubInput; + UpdateInnovationHubPlatformSettingsInput: UpdateInnovationHubPlatformSettingsInput; UpdateInnovationPackInput: UpdateInnovationPackInput; UpdateLicenseInput: UpdateLicenseInput; + UpdateLicensePlanInput: UpdateLicensePlanInput; UpdateLinkInput: UpdateLinkInput; UpdateLocationInput: UpdateLocationInput; UpdateOrganizationInput: UpdateOrganizationInput; @@ -6129,17 +6314,17 @@ export type ResolversTypes = { UpdateSpaceInput: UpdateSpaceInput; UpdateSpacePlatformSettingsInput: UpdateSpacePlatformSettingsInput; UpdateSpaceSettingsCollaborationInput: UpdateSpaceSettingsCollaborationInput; + UpdateSpaceSettingsEntityInput: UpdateSpaceSettingsEntityInput; UpdateSpaceSettingsInput: UpdateSpaceSettingsInput; UpdateSpaceSettingsMembershipInput: UpdateSpaceSettingsMembershipInput; - UpdateSpaceSettingsOnSpaceInput: UpdateSpaceSettingsOnSpaceInput; UpdateSpaceSettingsPrivacyInput: UpdateSpaceSettingsPrivacyInput; - UpdateSubspaceSettingsInput: UpdateSubspaceSettingsInput; UpdateTagsetInput: UpdateTagsetInput; UpdateUserGroupInput: UpdateUserGroupInput; UpdateUserInput: UpdateUserInput; UpdateUserPlatformSettingsInput: UpdateUserPlatformSettingsInput; UpdateUserPreferenceInput: UpdateUserPreferenceInput; UpdateVirtualContributorInput: UpdateVirtualContributorInput; + UpdateVirtualContributorPlatformSettingsInput: UpdateVirtualContributorPlatformSettingsInput; UpdateVirtualPersonaInput: UpdateVirtualPersonaInput; UpdateVisualInput: UpdateVisualInput; UpdateWhiteboardContentInput: UpdateWhiteboardContentInput; @@ -6157,10 +6342,9 @@ export type ResolversTypes = { VerifiedCredential: ResolverTypeWrapper; VerifiedCredentialClaim: ResolverTypeWrapper; VirtualContributor: ResolverTypeWrapper; - VirtualContributorAuthorizationResetInput: VirtualContributorAuthorizationResetInput; + VirtualContributorEngine: VirtualContributorEngine; VirtualPersona: ResolverTypeWrapper; - VirtualPersonaAuthorizationResetInput: VirtualPersonaAuthorizationResetInput; - VirtualPersonaEngine: VirtualPersonaEngine; + VirtualPersonaAccessMode: VirtualPersonaAccessMode; VirtualPersonaQuestionInput: VirtualPersonaQuestionInput; VirtualPersonaResult: ResolverTypeWrapper; Visual: ResolverTypeWrapper; @@ -6176,6 +6360,7 @@ export type ResolversParentTypes = { APM: Apm; Account: Account; AccountAuthorizationResetInput: AccountAuthorizationResetInput; + AccountSubscription: AccountSubscription; ActivityCreatedSubscriptionInput: ActivityCreatedSubscriptionInput; ActivityCreatedSubscriptionResult: ActivityCreatedSubscriptionResult; ActivityFeed: ActivityFeed; @@ -6209,22 +6394,21 @@ export type ResolversParentTypes = { ActivityLogInput: ActivityLogInput; Actor: Actor; ActorGroup: ActorGroup; - AdminSearchIngestResult: AdminSearchIngestResult; Agent: Agent; AgentBeginVerifiedCredentialOfferOutput: AgentBeginVerifiedCredentialOfferOutput; AgentBeginVerifiedCredentialRequestOutput: AgentBeginVerifiedCredentialRequestOutput; + AnyInvitation: + | ResolversParentTypes['Invitation'] + | ResolversParentTypes['InvitationExternal']; Application: Application; ApplicationEventInput: ApplicationEventInput; ApplicationForRoleResult: ApplicationForRoleResult; AssignCommunityRoleToOrganizationInput: AssignCommunityRoleToOrganizationInput; AssignCommunityRoleToUserInput: AssignCommunityRoleToUserInput; AssignCommunityRoleToVirtualInput: AssignCommunityRoleToVirtualInput; - AssignGlobalAdminInput: AssignGlobalAdminInput; - AssignGlobalCommunityAdminInput: AssignGlobalCommunityAdminInput; - AssignGlobalSpacesAdminInput: AssignGlobalSpacesAdminInput; - AssignOrganizationAdminInput: AssignOrganizationAdminInput; - AssignOrganizationAssociateInput: AssignOrganizationAssociateInput; - AssignOrganizationOwnerInput: AssignOrganizationOwnerInput; + AssignLicensePlanToAccount: AssignLicensePlanToAccount; + AssignOrganizationRoleToUserInput: AssignOrganizationRoleToUserInput; + AssignPlatformRoleToUserInput: AssignPlatformRoleToUserInput; AssignUserGroupMemberInput: AssignUserGroupMemberInput; AuthenticationConfig: AuthenticationConfig; AuthenticationProviderConfig: Omit & { @@ -6269,11 +6453,16 @@ export type ResolversParentTypes = { Community: Community; CommunityApplyInput: CommunityApplyInput; CommunityGuidelines: CommunityGuidelines; + CommunityGuidelinesTemplate: CommunityGuidelinesTemplate; CommunityJoinInput: CommunityJoinInput; CommunityPolicy: CommunityPolicy; CommunityRolePolicy: CommunityRolePolicy; Config: Config; Context: Context; + Contributor: + | ResolversParentTypes['Organization'] + | ResolversParentTypes['User'] + | ResolversParentTypes['VirtualContributor']; ContributorFilterInput: ContributorFilterInput; ContributorRoles: ContributorRoles; ConvertSubspaceToSpaceInput: ConvertSubspaceToSpaceInput; @@ -6288,13 +6477,16 @@ export type ResolversParentTypes = { CreateCalloutOnCollaborationInput: CreateCalloutOnCollaborationInput; CreateCalloutTemplateOnTemplatesSetInput: CreateCalloutTemplateOnTemplatesSetInput; CreateCollaborationInput: CreateCollaborationInput; + CreateCommunityGuidelinesInput: CreateCommunityGuidelinesInput; + CreateCommunityGuidelinesTemplateOnTemplatesSetInput: CreateCommunityGuidelinesTemplateOnTemplatesSetInput; CreateContextInput: CreateContextInput; CreateContributionOnCalloutInput: CreateContributionOnCalloutInput; CreateInnovationFlowTemplateOnTemplatesSetInput: CreateInnovationFlowTemplateOnTemplatesSetInput; CreateInnovationHubInput: CreateInnovationHubInput; CreateInnovationPackOnLibraryInput: CreateInnovationPackOnLibraryInput; - CreateInvitationExistingUserOnCommunityInput: CreateInvitationExistingUserOnCommunityInput; - CreateInvitationExternalUserOnCommunityInput: CreateInvitationExternalUserOnCommunityInput; + CreateInvitationForUsersOnCommunityInput: CreateInvitationForUsersOnCommunityInput; + CreateInvitationUserByEmailOnCommunityInput: CreateInvitationUserByEmailOnCommunityInput; + CreateLicensePlanOnLicensingInput: CreateLicensePlanOnLicensingInput; CreateLinkInput: CreateLinkInput; CreateLocationInput: CreateLocationInput; CreateNVPInput: CreateNvpInput; @@ -6311,7 +6503,7 @@ export type ResolversParentTypes = { CreateTagsetOnProfileInput: CreateTagsetOnProfileInput; CreateUserGroupInput: CreateUserGroupInput; CreateUserInput: CreateUserInput; - CreateVirtualContributorInput: CreateVirtualContributorInput; + CreateVirtualContributorOnAccountInput: CreateVirtualContributorOnAccountInput; CreateVirtualPersonaInput: CreateVirtualPersonaInput; CreateWhiteboardInput: CreateWhiteboardInput; CreateWhiteboardTemplateOnTemplatesSetInput: CreateWhiteboardTemplateOnTemplatesSetInput; @@ -6327,6 +6519,7 @@ export type ResolversParentTypes = { DeleteCalloutInput: DeleteCalloutInput; DeleteCalloutTemplateInput: DeleteCalloutTemplateInput; DeleteCollaborationInput: DeleteCollaborationInput; + DeleteCommunityGuidelinesTemplateInput: DeleteCommunityGuidelinesTemplateInput; DeleteDiscussionInput: DeleteDiscussionInput; DeleteDocumentInput: DeleteDocumentInput; DeleteInnovationFlowTemplateInput: DeleteInnovationFlowTemplateInput; @@ -6334,6 +6527,7 @@ export type ResolversParentTypes = { DeleteInnovationPackInput: DeleteInnovationPackInput; DeleteInvitationExternalInput: DeleteInvitationExternalInput; DeleteInvitationInput: DeleteInvitationInput; + DeleteLicensePlanInput: DeleteLicensePlanInput; DeleteLinkInput: DeleteLinkInput; DeleteOrganizationInput: DeleteOrganizationInput; DeletePostInput: DeletePostInput; @@ -6367,6 +6561,7 @@ export type ResolversParentTypes = { ISearchResults: ISearchResults; IngestBatchResult: IngestBatchResult; IngestResult: IngestResult; + IngestSpaceInput: IngestSpaceInput; InnovationFlow: InnovationFlow; InnovationFlowState: InnovationFlowState; InnovationFlowTemplate: InnovationFlowTemplate; @@ -6383,6 +6578,10 @@ export type ResolversParentTypes = { Library: Library; License: License; LicenseFeatureFlag: LicenseFeatureFlag; + LicensePlan: LicensePlan; + LicensePolicy: LicensePolicy; + LicensePolicyRuleFeatureFlag: LicensePolicyRuleFeatureFlag; + Licensing: Licensing; Lifecycle: Lifecycle; LifecycleDefinition: Scalars['LifecycleDefinition']; Link: Link; @@ -6390,13 +6589,8 @@ export type ResolversParentTypes = { LookupQueryResults: LookupQueryResults; Markdown: Scalars['Markdown']; MeQueryResults: MeQueryResults; - Message: Omit & { - sender?: Maybe; - }; + Message: Message; MessageID: Scalars['MessageID']; - MessageSender: - | ResolversParentTypes['User'] - | ResolversParentTypes['VirtualContributor']; Metadata: Metadata; MoveCalloutContributionInput: MoveCalloutContributionInput; Mutation: {}; @@ -6430,20 +6624,14 @@ export type ResolversParentTypes = { RelayPaginatedSpace: RelayPaginatedSpace; RelayPaginatedSpaceEdge: RelayPaginatedSpaceEdge; RelayPaginatedSpacePageInfo: RelayPaginatedSpacePageInfo; - RelayPaginatedUser: RelayPaginatedUser; - RelayPaginatedUserEdge: RelayPaginatedUserEdge; - RelayPaginatedUserPageInfo: RelayPaginatedUserPageInfo; RemoveCommunityRoleFromOrganizationInput: RemoveCommunityRoleFromOrganizationInput; RemoveCommunityRoleFromUserInput: RemoveCommunityRoleFromUserInput; RemoveCommunityRoleFromVirtualInput: RemoveCommunityRoleFromVirtualInput; - RemoveGlobalAdminInput: RemoveGlobalAdminInput; - RemoveGlobalCommunityAdminInput: RemoveGlobalCommunityAdminInput; - RemoveGlobalSpacesAdminInput: RemoveGlobalSpacesAdminInput; - RemoveOrganizationAdminInput: RemoveOrganizationAdminInput; - RemoveOrganizationAssociateInput: RemoveOrganizationAssociateInput; - RemoveOrganizationOwnerInput: RemoveOrganizationOwnerInput; + RemoveOrganizationRoleFromUserInput: RemoveOrganizationRoleFromUserInput; + RemovePlatformRoleFromUserInput: RemovePlatformRoleFromUserInput; RemoveUserGroupMemberInput: RemoveUserGroupMemberInput; RevokeAuthorizationCredentialInput: RevokeAuthorizationCredentialInput; + RevokeLicensePlanFromAccount: RevokeLicensePlanFromAccount; RevokeOrganizationAuthorizationCredentialInput: RevokeOrganizationAuthorizationCredentialInput; RolesOrganizationInput: RolesOrganizationInput; RolesResult: RolesResult; @@ -6463,16 +6651,12 @@ export type ResolversParentTypes = { SearchInput: SearchInput; SearchResult: | ResolversParentTypes['SearchResultCallout'] - | ResolversParentTypes['SearchResultChallenge'] - | ResolversParentTypes['SearchResultOpportunity'] | ResolversParentTypes['SearchResultOrganization'] | ResolversParentTypes['SearchResultPost'] | ResolversParentTypes['SearchResultSpace'] | ResolversParentTypes['SearchResultUser'] | ResolversParentTypes['SearchResultUserGroup']; SearchResultCallout: SearchResultCallout; - SearchResultChallenge: SearchResultChallenge; - SearchResultOpportunity: SearchResultOpportunity; SearchResultOrganization: SearchResultOrganization; SearchResultPost: SearchResultPost; SearchResultSpace: SearchResultSpace; @@ -6521,6 +6705,8 @@ export type ResolversParentTypes = { UpdateCollaborationCalloutsSortOrderInput: UpdateCollaborationCalloutsSortOrderInput; UpdateCommunityApplicationFormInput: UpdateCommunityApplicationFormInput; UpdateCommunityGuidelinesInput: UpdateCommunityGuidelinesInput; + UpdateCommunityGuidelinesOfTemplateInput: UpdateCommunityGuidelinesOfTemplateInput; + UpdateCommunityGuidelinesTemplateInput: UpdateCommunityGuidelinesTemplateInput; UpdateContextInput: UpdateContextInput; UpdateDiscussionInput: UpdateDiscussionInput; UpdateDocumentInput: UpdateDocumentInput; @@ -6535,8 +6721,10 @@ export type ResolversParentTypes = { UpdateInnovationFlowStateInput: UpdateInnovationFlowStateInput; UpdateInnovationFlowTemplateInput: UpdateInnovationFlowTemplateInput; UpdateInnovationHubInput: UpdateInnovationHubInput; + UpdateInnovationHubPlatformSettingsInput: UpdateInnovationHubPlatformSettingsInput; UpdateInnovationPackInput: UpdateInnovationPackInput; UpdateLicenseInput: UpdateLicenseInput; + UpdateLicensePlanInput: UpdateLicensePlanInput; UpdateLinkInput: UpdateLinkInput; UpdateLocationInput: UpdateLocationInput; UpdateOrganizationInput: UpdateOrganizationInput; @@ -6550,17 +6738,17 @@ export type ResolversParentTypes = { UpdateSpaceInput: UpdateSpaceInput; UpdateSpacePlatformSettingsInput: UpdateSpacePlatformSettingsInput; UpdateSpaceSettingsCollaborationInput: UpdateSpaceSettingsCollaborationInput; + UpdateSpaceSettingsEntityInput: UpdateSpaceSettingsEntityInput; UpdateSpaceSettingsInput: UpdateSpaceSettingsInput; UpdateSpaceSettingsMembershipInput: UpdateSpaceSettingsMembershipInput; - UpdateSpaceSettingsOnSpaceInput: UpdateSpaceSettingsOnSpaceInput; UpdateSpaceSettingsPrivacyInput: UpdateSpaceSettingsPrivacyInput; - UpdateSubspaceSettingsInput: UpdateSubspaceSettingsInput; UpdateTagsetInput: UpdateTagsetInput; UpdateUserGroupInput: UpdateUserGroupInput; UpdateUserInput: UpdateUserInput; UpdateUserPlatformSettingsInput: UpdateUserPlatformSettingsInput; UpdateUserPreferenceInput: UpdateUserPreferenceInput; UpdateVirtualContributorInput: UpdateVirtualContributorInput; + UpdateVirtualContributorPlatformSettingsInput: UpdateVirtualContributorPlatformSettingsInput; UpdateVirtualPersonaInput: UpdateVirtualPersonaInput; UpdateVisualInput: UpdateVisualInput; UpdateWhiteboardContentInput: UpdateWhiteboardContentInput; @@ -6577,9 +6765,7 @@ export type ResolversParentTypes = { VerifiedCredential: VerifiedCredential; VerifiedCredentialClaim: VerifiedCredentialClaim; VirtualContributor: VirtualContributor; - VirtualContributorAuthorizationResetInput: VirtualContributorAuthorizationResetInput; VirtualPersona: VirtualPersona; - VirtualPersonaAuthorizationResetInput: VirtualPersonaAuthorizationResetInput; VirtualPersonaQuestionInput: VirtualPersonaQuestionInput; VirtualPersonaResult: VirtualPersonaResult; Visual: Visual; @@ -6602,6 +6788,12 @@ export type AccountResolvers< ContextType = any, ParentType extends ResolversParentTypes['Account'] = ResolversParentTypes['Account'] > = { + activeSubscription?: Resolver< + Maybe, + ParentType, + ContextType + >; + agent?: Resolver; authorization?: Resolver< Maybe, ParentType, @@ -6613,7 +6805,7 @@ export type AccountResolvers< ContextType >; host?: Resolver< - Maybe, + Maybe, ParentType, ContextType >; @@ -6625,6 +6817,29 @@ export type AccountResolvers< >; license?: Resolver; spaceID?: Resolver; + subscriptions?: Resolver< + Array, + ParentType, + ContextType + >; + virtualContributors?: Resolver< + Array, + ParentType, + ContextType + >; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type AccountSubscriptionResolvers< + ContextType = any, + ParentType extends ResolversParentTypes['AccountSubscription'] = ResolversParentTypes['AccountSubscription'] +> = { + expires?: Resolver< + Maybe, + ParentType, + ContextType + >; + name?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }; @@ -7013,18 +7228,6 @@ export type ActorGroupResolvers< __isTypeOf?: IsTypeOfResolverFn; }; -export type AdminSearchIngestResultResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['AdminSearchIngestResult'] = ResolversParentTypes['AdminSearchIngestResult'] -> = { - results?: Resolver< - Array, - ParentType, - ContextType - >; - __isTypeOf?: IsTypeOfResolverFn; -}; - export type AgentResolvers< ContextType = any, ParentType extends ResolversParentTypes['Agent'] = ResolversParentTypes['Agent'] @@ -7067,6 +7270,17 @@ export type AgentBeginVerifiedCredentialRequestOutputResolvers< __isTypeOf?: IsTypeOfResolverFn; }; +export type AnyInvitationResolvers< + ContextType = any, + ParentType extends ResolversParentTypes['AnyInvitation'] = ResolversParentTypes['AnyInvitation'] +> = { + __resolveType: TypeResolveFn< + 'Invitation' | 'InvitationExternal', + ParentType, + ContextType + >; +}; + export type ApplicationResolvers< ContextType = any, ParentType extends ResolversParentTypes['Application'] = ResolversParentTypes['Application'] @@ -7098,13 +7312,8 @@ export type ApplicationForRoleResultResolvers< displayName?: Resolver; id?: Resolver; spaceID?: Resolver; + spaceLevel?: Resolver; state?: Resolver; - subspaceID?: Resolver, ParentType, ContextType>; - subsubspaceID?: Resolver< - Maybe, - ParentType, - ContextType - >; updatedDate?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }; @@ -7699,6 +7908,11 @@ export type CommunityResolvers< ParentType, ContextType >; + myRolesImplicit?: Resolver< + Array, + ParentType, + ContextType + >; organizationsInRole?: Resolver< Array, ParentType, @@ -7735,6 +7949,25 @@ export type CommunityGuidelinesResolvers< __isTypeOf?: IsTypeOfResolverFn; }; +export type CommunityGuidelinesTemplateResolvers< + ContextType = any, + ParentType extends ResolversParentTypes['CommunityGuidelinesTemplate'] = ResolversParentTypes['CommunityGuidelinesTemplate'] +> = { + authorization?: Resolver< + Maybe, + ParentType, + ContextType + >; + guidelines?: Resolver< + ResolversTypes['CommunityGuidelines'], + ParentType, + ContextType + >; + id?: Resolver; + profile?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + export type CommunityPolicyResolvers< ContextType = any, ParentType extends ResolversParentTypes['CommunityPolicy'] = ResolversParentTypes['CommunityPolicy'] @@ -7822,6 +8055,26 @@ export type ContextResolvers< __isTypeOf?: IsTypeOfResolverFn; }; +export type ContributorResolvers< + ContextType = any, + ParentType extends ResolversParentTypes['Contributor'] = ResolversParentTypes['Contributor'] +> = { + __resolveType: TypeResolveFn< + 'Organization' | 'User' | 'VirtualContributor', + ParentType, + ContextType + >; + agent?: Resolver; + authorization?: Resolver< + Maybe, + ParentType, + ContextType + >; + id?: Resolver; + nameID?: Resolver; + profile?: Resolver; +}; + export type ContributorRolesResolvers< ContextType = any, ParentType extends ResolversParentTypes['ContributorRoles'] = ResolversParentTypes['ContributorRoles'] @@ -7856,13 +8109,11 @@ export type CredentialResolvers< ContextType = any, ParentType extends ResolversParentTypes['Credential'] = ResolversParentTypes['Credential'] > = { + expires?: Resolver, ParentType, ContextType>; id?: Resolver; + issuer?: Resolver, ParentType, ContextType>; resourceID?: Resolver; - type?: Resolver< - ResolversTypes['AuthorizationCredential'], - ParentType, - ContextType - >; + type?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }; @@ -8064,6 +8315,11 @@ export type ISearchResultsResolvers< ParentType, ContextType >; + calloutResultsCount?: Resolver< + ResolversTypes['Float'], + ParentType, + ContextType + >; contributionResults?: Resolver< Array, ParentType, @@ -8181,6 +8437,7 @@ export type InnovationHubResolvers< ContextType = any, ParentType extends ResolversParentTypes['InnovationHub'] = ResolversParentTypes['InnovationHub'] > = { + account?: Resolver; authorization?: Resolver< Maybe, ParentType, @@ -8241,6 +8498,11 @@ export type InvitationResolvers< createdBy?: Resolver; createdDate?: Resolver; id?: Resolver; + invitedToParent?: Resolver< + ResolversTypes['Boolean'], + ParentType, + ContextType + >; lifecycle?: Resolver; updatedDate?: Resolver; user?: Resolver; @@ -8266,6 +8528,11 @@ export type InvitationExternalResolvers< email?: Resolver; firstName?: Resolver; id?: Resolver; + invitedToParent?: Resolver< + ResolversTypes['Boolean'], + ParentType, + ContextType + >; lastName?: Resolver; profileCreated?: Resolver; welcomeMessage?: Resolver< @@ -8286,13 +8553,8 @@ export type InvitationForRoleResultResolvers< displayName?: Resolver; id?: Resolver; spaceID?: Resolver; + spaceLevel?: Resolver; state?: Resolver; - subspaceID?: Resolver, ParentType, ContextType>; - subsubspaceID?: Resolver< - Maybe, - ParentType, - ContextType - >; updatedDate?: Resolver; welcomeMessage?: Resolver< Maybe, @@ -8361,6 +8623,11 @@ export type LicenseResolvers< ContextType >; id?: Resolver; + privileges?: Resolver< + Maybe>, + ParentType, + ContextType + >; visibility?: Resolver< ResolversTypes['SpaceVisibility'], ParentType, @@ -8382,80 +8649,169 @@ export type LicenseFeatureFlagResolvers< __isTypeOf?: IsTypeOfResolverFn; }; -export type LifecycleResolvers< +export type LicensePlanResolvers< ContextType = any, - ParentType extends ResolversParentTypes['Lifecycle'] = ResolversParentTypes['Lifecycle'] + ParentType extends ResolversParentTypes['LicensePlan'] = ResolversParentTypes['LicensePlan'] > = { + enabled?: Resolver; id?: Resolver; - machineDef?: Resolver< - ResolversTypes['LifecycleDefinition'], + isFree?: Resolver; + licenseCredential?: Resolver< + ResolversTypes['LicenseCredential'], ParentType, ContextType >; - nextEvents?: Resolver< - Maybe>, + name?: Resolver; + pricePerMonth?: Resolver< + Maybe, ParentType, ContextType >; - state?: Resolver, ParentType, ContextType>; - stateIsFinal?: Resolver; - templateName?: Resolver< - Maybe, + requiresContactSupport?: Resolver< + ResolversTypes['Boolean'], ParentType, ContextType >; + requiresPaymentMethod?: Resolver< + ResolversTypes['Boolean'], + ParentType, + ContextType + >; + sortOrder?: Resolver; + trialEnabled?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }; -export interface LifecycleDefinitionScalarConfig - extends GraphQLScalarTypeConfig { - name: 'LifecycleDefinition'; -} - -export type LinkResolvers< +export type LicensePolicyResolvers< ContextType = any, - ParentType extends ResolversParentTypes['Link'] = ResolversParentTypes['Link'] + ParentType extends ResolversParentTypes['LicensePolicy'] = ResolversParentTypes['LicensePolicy'] > = { authorization?: Resolver< Maybe, ParentType, ContextType >; + featureFlagRules?: Resolver< + Maybe>, + ParentType, + ContextType + >; id?: Resolver; - profile?: Resolver; - uri?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }; -export type LocationResolvers< +export type LicensePolicyRuleFeatureFlagResolvers< ContextType = any, - ParentType extends ResolversParentTypes['Location'] = ResolversParentTypes['Location'] + ParentType extends ResolversParentTypes['LicensePolicyRuleFeatureFlag'] = ResolversParentTypes['LicensePolicyRuleFeatureFlag'] > = { - addressLine1?: Resolver; - addressLine2?: Resolver; - city?: Resolver; - country?: Resolver; - id?: Resolver; - postalCode?: Resolver; - stateOrProvince?: Resolver; + featureFlagName?: Resolver< + ResolversTypes['LicenseFeatureFlagName'], + ParentType, + ContextType + >; + grantedPrivileges?: Resolver< + Array, + ParentType, + ContextType + >; + name?: Resolver, ParentType, ContextType>; __isTypeOf?: IsTypeOfResolverFn; }; -export type LookupQueryResultsResolvers< +export type LicensingResolvers< ContextType = any, - ParentType extends ResolversParentTypes['LookupQueryResults'] = ResolversParentTypes['LookupQueryResults'] + ParentType extends ResolversParentTypes['Licensing'] = ResolversParentTypes['Licensing'] > = { - application?: Resolver< - Maybe, - ParentType, - ContextType, - RequireFields - >; - authorizationPolicy?: Resolver< + authorization?: Resolver< Maybe, ParentType, - ContextType, - RequireFields + ContextType + >; + basePlan?: Resolver; + id?: Resolver; + plans?: Resolver< + Array, + ParentType, + ContextType + >; + policy?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type LifecycleResolvers< + ContextType = any, + ParentType extends ResolversParentTypes['Lifecycle'] = ResolversParentTypes['Lifecycle'] +> = { + id?: Resolver; + machineDef?: Resolver< + ResolversTypes['LifecycleDefinition'], + ParentType, + ContextType + >; + nextEvents?: Resolver< + Maybe>, + ParentType, + ContextType + >; + state?: Resolver, ParentType, ContextType>; + stateIsFinal?: Resolver; + templateName?: Resolver< + Maybe, + ParentType, + ContextType + >; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export interface LifecycleDefinitionScalarConfig + extends GraphQLScalarTypeConfig { + name: 'LifecycleDefinition'; +} + +export type LinkResolvers< + ContextType = any, + ParentType extends ResolversParentTypes['Link'] = ResolversParentTypes['Link'] +> = { + authorization?: Resolver< + Maybe, + ParentType, + ContextType + >; + id?: Resolver; + profile?: Resolver; + uri?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type LocationResolvers< + ContextType = any, + ParentType extends ResolversParentTypes['Location'] = ResolversParentTypes['Location'] +> = { + addressLine1?: Resolver; + addressLine2?: Resolver; + city?: Resolver; + country?: Resolver; + id?: Resolver; + postalCode?: Resolver; + stateOrProvince?: Resolver; + __isTypeOf?: IsTypeOfResolverFn; +}; + +export type LookupQueryResultsResolvers< + ContextType = any, + ParentType extends ResolversParentTypes['LookupQueryResults'] = ResolversParentTypes['LookupQueryResults'] +> = { + application?: Resolver< + Maybe, + ParentType, + ContextType, + RequireFields + >; + authorizationPolicy?: Resolver< + Maybe, + ParentType, + ContextType, + RequireFields >; authorizationPrivilegesForUser?: Resolver< Maybe>, @@ -8502,6 +8858,18 @@ export type LookupQueryResultsResolvers< ContextType, RequireFields >; + communityGuidelines?: Resolver< + Maybe, + ParentType, + ContextType, + RequireFields + >; + communityGuidelinesTemplate?: Resolver< + Maybe, + ParentType, + ContextType, + RequireFields + >; context?: Resolver< Maybe, ParentType, @@ -8550,6 +8918,12 @@ export type LookupQueryResultsResolvers< ContextType, RequireFields >; + space?: Resolver< + Maybe, + ParentType, + ContextType, + RequireFields + >; storageAggregator?: Resolver< Maybe, ParentType, @@ -8586,6 +8960,11 @@ export type MeQueryResultsResolvers< ContextType, Partial >; + canCreateFreeSpace?: Resolver< + ResolversTypes['Boolean'], + ParentType, + ContextType + >; id?: Resolver; invitations?: Resolver< Array, @@ -8621,7 +9000,7 @@ export type MessageResolvers< ContextType >; sender?: Resolver< - Maybe, + Maybe, ParentType, ContextType >; @@ -8635,17 +9014,6 @@ export interface MessageIdScalarConfig name: 'MessageID'; } -export type MessageSenderResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['MessageSender'] = ResolversParentTypes['MessageSender'] -> = { - __resolveType: TypeResolveFn< - 'User' | 'VirtualContributor', - ParentType, - ContextType - >; -}; - export type MetadataResolvers< ContextType = any, ParentType extends ResolversParentTypes['Metadata'] = ResolversParentTypes['Metadata'] @@ -8696,7 +9064,7 @@ export type MutationResolvers< > >; adminSearchIngestFromScratch?: Resolver< - ResolversTypes['AdminSearchIngestResult'], + ResolversTypes['String'], ParentType, ContextType >; @@ -8724,38 +9092,23 @@ export type MutationResolvers< ContextType, RequireFields >; - assignUserAsGlobalAdmin?: Resolver< - ResolversTypes['User'], - ParentType, - ContextType, - RequireFields - >; - assignUserAsGlobalCommunityAdmin?: Resolver< - ResolversTypes['User'], - ParentType, - ContextType, - RequireFields< - MutationAssignUserAsGlobalCommunityAdminArgs, - 'membershipData' - > - >; - assignUserAsGlobalSpacesAdmin?: Resolver< - ResolversTypes['User'], + assignLicensePlanToAccount?: Resolver< + ResolversTypes['Account'], ParentType, ContextType, - RequireFields + RequireFields >; - assignUserAsOrganizationAdmin?: Resolver< + assignOrganizationRoleToUser?: Resolver< ResolversTypes['User'], ParentType, ContextType, - RequireFields + RequireFields >; - assignUserAsOrganizationOwner?: Resolver< + assignPlatformRoleToUser?: Resolver< ResolversTypes['User'], ParentType, ContextType, - RequireFields + RequireFields >; assignUserToGroup?: Resolver< ResolversTypes['UserGroup'], @@ -8763,19 +9116,13 @@ export type MutationResolvers< ContextType, RequireFields >; - assignUserToOrganization?: Resolver< - ResolversTypes['Organization'], - ParentType, - ContextType, - RequireFields - >; authorizationPolicyResetAll?: Resolver< ResolversTypes['String'], ParentType, ContextType >; authorizationPolicyResetOnAccount?: Resolver< - ResolversTypes['Space'], + ResolversTypes['Account'], ParentType, ContextType, RequireFields< @@ -8806,24 +9153,6 @@ export type MutationResolvers< 'authorizationResetData' > >; - authorizationPolicyResetOnVirtualContributor?: Resolver< - ResolversTypes['VirtualContributor'], - ParentType, - ContextType, - RequireFields< - MutationAuthorizationPolicyResetOnVirtualContributorArgs, - 'authorizationResetData' - > - >; - authorizationPolicyResetOnVirtualPersona?: Resolver< - ResolversTypes['VirtualPersona'], - ParentType, - ContextType, - RequireFields< - MutationAuthorizationPolicyResetOnVirtualPersonaArgs, - 'authorizationResetData' - > - >; authorizationPolicyResetToGlobalAdminsAccess?: Resolver< ResolversTypes['Authorization'], ParentType, @@ -8898,6 +9227,15 @@ export type MutationResolvers< ContextType, RequireFields >; + createCommunityGuidelinesTemplate?: Resolver< + ResolversTypes['CommunityGuidelinesTemplate'], + ParentType, + ContextType, + RequireFields< + MutationCreateCommunityGuidelinesTemplateArgs, + 'communityGuidelinesTemplateInput' + > + >; createContributionOnCallout?: Resolver< ResolversTypes['CalloutContribution'], ParentType, @@ -8949,6 +9287,12 @@ export type MutationResolvers< ContextType, RequireFields >; + createLicensePlan?: Resolver< + ResolversTypes['LicensePlan'], + ParentType, + ContextType, + RequireFields + >; createOrganization?: Resolver< ResolversTypes['Organization'], ParentType, @@ -9056,6 +9400,12 @@ export type MutationResolvers< ContextType, RequireFields >; + deleteCommunityGuidelinesTemplate?: Resolver< + ResolversTypes['CommunityGuidelinesTemplate'], + ParentType, + ContextType, + RequireFields + >; deleteDiscussion?: Resolver< ResolversTypes['Discussion'], ParentType, @@ -9098,6 +9448,12 @@ export type MutationResolvers< ContextType, RequireFields >; + deleteLicensePlan?: Resolver< + ResolversTypes['LicensePlan'], + ParentType, + ContextType, + RequireFields + >; deleteLink?: Resolver< ResolversTypes['Link'], ParentType, @@ -9225,6 +9581,12 @@ export type MutationResolvers< RequireFields >; ingest?: Resolver; + ingestSpace?: Resolver< + ResolversTypes['Space'], + ParentType, + ContextType, + RequireFields + >; inviteExistingUserForCommunityMembership?: Resolver< Array, ParentType, @@ -9234,12 +9596,12 @@ export type MutationResolvers< 'invitationData' > >; - inviteExternalUserForCommunityMembership?: Resolver< - ResolversTypes['InvitationExternal'], + inviteForCommunityMembershipByEmail?: Resolver< + ResolversTypes['AnyInvitation'], ParentType, ContextType, RequireFields< - MutationInviteExternalUserForCommunityMembershipArgs, + MutationInviteForCommunityMembershipByEmailArgs, 'invitationData' > >; @@ -9285,44 +9647,23 @@ export type MutationResolvers< ContextType, RequireFields >; - removeReactionToMessageInRoom?: Resolver< - ResolversTypes['Boolean'], - ParentType, - ContextType, - RequireFields - >; - removeUserAsGlobalAdmin?: Resolver< - ResolversTypes['User'], - ParentType, - ContextType, - RequireFields - >; - removeUserAsGlobalCommunityAdmin?: Resolver< - ResolversTypes['User'], - ParentType, - ContextType, - RequireFields< - MutationRemoveUserAsGlobalCommunityAdminArgs, - 'membershipData' - > - >; - removeUserAsGlobalSpacesAdmin?: Resolver< + removeOrganizationRoleFromUser?: Resolver< ResolversTypes['User'], ParentType, ContextType, - RequireFields + RequireFields >; - removeUserAsOrganizationAdmin?: Resolver< + removePlatformRoleFromUser?: Resolver< ResolversTypes['User'], ParentType, ContextType, - RequireFields + RequireFields >; - removeUserAsOrganizationOwner?: Resolver< - ResolversTypes['User'], + removeReactionToMessageInRoom?: Resolver< + ResolversTypes['Boolean'], ParentType, ContextType, - RequireFields + RequireFields >; removeUserFromGroup?: Resolver< ResolversTypes['UserGroup'], @@ -9330,22 +9671,11 @@ export type MutationResolvers< ContextType, RequireFields >; - removeUserFromOrganization?: Resolver< - ResolversTypes['Organization'], - ParentType, - ContextType, - RequireFields - >; resetChatGuidance?: Resolver< ResolversTypes['Boolean'], ParentType, ContextType >; - resetVirtualContributor?: Resolver< - ResolversTypes['Boolean'], - ParentType, - ContextType - >; revokeCredentialFromOrganization?: Resolver< ResolversTypes['Organization'], ParentType, @@ -9361,6 +9691,12 @@ export type MutationResolvers< ContextType, RequireFields >; + revokeLicensePlanFromAccount?: Resolver< + ResolversTypes['Account'], + ParentType, + ContextType, + RequireFields + >; sendMessageReplyToRoom?: Resolver< ResolversTypes['Message'], ParentType, @@ -9463,6 +9799,15 @@ export type MutationResolvers< 'communityGuidelinesData' > >; + updateCommunityGuidelinesTemplate?: Resolver< + ResolversTypes['CommunityGuidelinesTemplate'], + ParentType, + ContextType, + RequireFields< + MutationUpdateCommunityGuidelinesTemplateArgs, + 'communityGuidelinesTemplateInput' + > + >; updateDiscussion?: Resolver< ResolversTypes['Discussion'], ParentType, @@ -9529,12 +9874,24 @@ export type MutationResolvers< ContextType, RequireFields >; + updateInnovationHubPlatformSettings?: Resolver< + ResolversTypes['InnovationHub'], + ParentType, + ContextType, + RequireFields + >; updateInnovationPack?: Resolver< ResolversTypes['InnovationPack'], ParentType, ContextType, RequireFields >; + updateLicensePlan?: Resolver< + ResolversTypes['LicensePlan'], + ParentType, + ContextType, + RequireFields + >; updateLink?: Resolver< ResolversTypes['Link'], ParentType, @@ -9607,12 +9964,6 @@ export type MutationResolvers< ContextType, RequireFields >; - updateSubspaceSettings?: Resolver< - ResolversTypes['Space'], - ParentType, - ContextType, - RequireFields - >; updateTagset?: Resolver< ResolversTypes['Tagset'], ParentType, @@ -9646,6 +9997,15 @@ export type MutationResolvers< 'virtualContributorData' > >; + updateVirtualContributorPlatformSettings?: Resolver< + ResolversTypes['VirtualContributor'], + ParentType, + ContextType, + RequireFields< + MutationUpdateVirtualContributorPlatformSettingsArgs, + 'updateData' + > + >; updateVirtualPersona?: Resolver< ResolversTypes['VirtualPersona'], ParentType, @@ -9742,7 +10102,7 @@ export type OrganizationResolvers< ParentType, ContextType >; - agent?: Resolver, ParentType, ContextType>; + agent?: Resolver; associates?: Resolver< Maybe>, ParentType, @@ -9934,6 +10294,7 @@ export type PlatformResolvers< ContextType >; library?: Resolver; + licensing?: Resolver; metadata?: Resolver; storageAggregator?: Resolver< ResolversTypes['StorageAggregator'], @@ -9964,6 +10325,7 @@ export type PlatformLocationsResolvers< aup?: Resolver; blog?: Resolver; community?: Resolver; + contactsupport?: Resolver; domain?: Resolver; environment?: Resolver; feedback?: Resolver; @@ -9984,6 +10346,7 @@ export type PlatformLocationsResolvers< releases?: Resolver; security?: Resolver; support?: Resolver; + switchplan?: Resolver; terms?: Resolver; tips?: Resolver; __isTypeOf?: IsTypeOfResolverFn; @@ -10475,84 +10838,6 @@ export type RelayPaginatedSpacePageInfoResolvers< __isTypeOf?: IsTypeOfResolverFn; }; -export type RelayPaginatedUserResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['RelayPaginatedUser'] = ResolversParentTypes['RelayPaginatedUser'] -> = { - accountUpn?: Resolver; - agent?: Resolver, ParentType, ContextType>; - authorization?: Resolver< - Maybe, - ParentType, - ContextType - >; - communityRooms?: Resolver< - Maybe>, - ParentType, - ContextType - >; - directRooms?: Resolver< - Maybe>, - ParentType, - ContextType - >; - email?: Resolver; - firstName?: Resolver; - gender?: Resolver; - id?: Resolver; - isContactable?: Resolver; - lastName?: Resolver; - nameID?: Resolver; - phone?: Resolver; - preferences?: Resolver< - Array, - ParentType, - ContextType - >; - profile?: Resolver; - storageAggregator?: Resolver< - Maybe, - ParentType, - ContextType - >; - __isTypeOf?: IsTypeOfResolverFn; -}; - -export type RelayPaginatedUserEdgeResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['RelayPaginatedUserEdge'] = ResolversParentTypes['RelayPaginatedUserEdge'] -> = { - node?: Resolver< - ResolversTypes['RelayPaginatedUser'], - ParentType, - ContextType - >; - __isTypeOf?: IsTypeOfResolverFn; -}; - -export type RelayPaginatedUserPageInfoResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['RelayPaginatedUserPageInfo'] = ResolversParentTypes['RelayPaginatedUserPageInfo'] -> = { - endCursor?: Resolver< - Maybe, - ParentType, - ContextType - >; - hasNextPage?: Resolver; - hasPreviousPage?: Resolver< - ResolversTypes['Boolean'], - ParentType, - ContextType - >; - startCursor?: Resolver< - Maybe, - ParentType, - ContextType - >; - __isTypeOf?: IsTypeOfResolverFn; -}; - export type RolesResultResolvers< ContextType = any, ParentType extends ResolversParentTypes['RolesResult'] = ResolversParentTypes['RolesResult'] @@ -10572,11 +10857,7 @@ export type RolesResultCommunityResolvers< id?: Resolver; nameID?: Resolver; roles?: Resolver, ParentType, ContextType>; - userGroups?: Resolver< - Array, - ParentType, - ContextType - >; + type?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }; @@ -10611,16 +10892,7 @@ export type RolesResultSpaceResolvers< ParentType, ContextType >; - subsubspaces?: Resolver< - Array, - ParentType, - ContextType - >; - userGroups?: Resolver< - Array, - ParentType, - ContextType - >; + type?: Resolver; visibility?: Resolver< ResolversTypes['SpaceVisibility'], ParentType, @@ -10695,8 +10967,6 @@ export type SearchResultResolvers< > = { __resolveType: TypeResolveFn< | 'SearchResultCallout' - | 'SearchResultChallenge' - | 'SearchResultOpportunity' | 'SearchResultOrganization' | 'SearchResultPost' | 'SearchResultSpace' @@ -10716,35 +10986,9 @@ export type SearchResultCalloutResolvers< ParentType extends ResolversParentTypes['SearchResultCallout'] = ResolversParentTypes['SearchResultCallout'] > = { callout?: Resolver; - id?: Resolver; - score?: Resolver; - terms?: Resolver, ParentType, ContextType>; - type?: Resolver; - __isTypeOf?: IsTypeOfResolverFn; -}; - -export type SearchResultChallengeResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['SearchResultChallenge'] = ResolversParentTypes['SearchResultChallenge'] -> = { - id?: Resolver; - score?: Resolver; - space?: Resolver; - subspace?: Resolver; - terms?: Resolver, ParentType, ContextType>; - type?: Resolver; - __isTypeOf?: IsTypeOfResolverFn; -}; - -export type SearchResultOpportunityResolvers< - ContextType = any, - ParentType extends ResolversParentTypes['SearchResultOpportunity'] = ResolversParentTypes['SearchResultOpportunity'] -> = { id?: Resolver; score?: Resolver; space?: Resolver; - subspace?: Resolver; - subsubspace?: Resolver; terms?: Resolver, ParentType, ContextType>; type?: Resolver; __isTypeOf?: IsTypeOfResolverFn; @@ -10775,12 +11019,6 @@ export type SearchResultPostResolvers< post?: Resolver; score?: Resolver; space?: Resolver; - subspace?: Resolver, ParentType, ContextType>; - subsubspace?: Resolver< - Maybe, - ParentType, - ContextType - >; terms?: Resolver, ParentType, ContextType>; type?: Resolver; __isTypeOf?: IsTypeOfResolverFn; @@ -10791,6 +11029,11 @@ export type SearchResultSpaceResolvers< ParentType extends ResolversParentTypes['SearchResultSpace'] = ResolversParentTypes['SearchResultSpace'] > = { id?: Resolver; + parentSpace?: Resolver< + Maybe, + ParentType, + ContextType + >; score?: Resolver; space?: Resolver; terms?: Resolver, ParentType, ContextType>; @@ -10970,6 +11213,11 @@ export type SpaceSettingsMembershipResolvers< ContextType = any, ParentType extends ResolversParentTypes['SpaceSettingsMembership'] = ResolversParentTypes['SpaceSettingsMembership'] > = { + allowSubspaceAdminsToInviteMembers?: Resolver< + ResolversTypes['Boolean'], + ParentType, + ContextType + >; policy?: Resolver< ResolversTypes['CommunityMembershipPolicy'], ParentType, @@ -10987,6 +11235,11 @@ export type SpaceSettingsPrivacyResolvers< ContextType = any, ParentType extends ResolversParentTypes['SpaceSettingsPrivacy'] = ResolversParentTypes['SpaceSettingsPrivacy'] > = { + allowPlatformSupportAsAdmin?: Resolver< + ResolversTypes['Boolean'], + ParentType, + ContextType + >; mode?: Resolver; __isTypeOf?: IsTypeOfResolverFn; }; @@ -11236,6 +11489,27 @@ export type TemplatesSetResolvers< ParentType, ContextType >; + calloutTemplatesCount?: Resolver< + ResolversTypes['Float'], + ParentType, + ContextType + >; + communityGuidelinesTemplate?: Resolver< + Maybe, + ParentType, + ContextType, + RequireFields + >; + communityGuidelinesTemplates?: Resolver< + Array, + ParentType, + ContextType + >; + communityGuidelinesTemplatesCount?: Resolver< + ResolversTypes['Float'], + ParentType, + ContextType + >; id?: Resolver; innovationFlowTemplate?: Resolver< Maybe, @@ -11327,7 +11601,7 @@ export type UserResolvers< ParentType extends ResolversParentTypes['User'] = ResolversParentTypes['User'] > = { accountUpn?: Resolver; - agent?: Resolver, ParentType, ContextType>; + agent?: Resolver; authorization?: Resolver< Maybe, ParentType, @@ -11420,12 +11694,23 @@ export type VirtualContributorResolvers< ContextType = any, ParentType extends ResolversParentTypes['VirtualContributor'] = ResolversParentTypes['VirtualContributor'] > = { - agent?: Resolver, ParentType, ContextType>; + account?: Resolver, ParentType, ContextType>; + agent?: Resolver; authorization?: Resolver< Maybe, ParentType, ContextType >; + bodyOfKnowledgeID?: Resolver< + Maybe, + ParentType, + ContextType + >; + bodyOfKnowledgeType?: Resolver< + Maybe, + ParentType, + ContextType + >; id?: Resolver; nameID?: Resolver; profile?: Resolver; @@ -11451,8 +11736,13 @@ export type VirtualPersonaResolvers< ParentType, ContextType >; + dataAccessMode?: Resolver< + ResolversTypes['VirtualPersonaAccessMode'], + ParentType, + ContextType + >; engine?: Resolver< - Maybe, + ResolversTypes['VirtualContributorEngine'], ParentType, ContextType >; @@ -11568,6 +11858,7 @@ export type WhiteboardTemplateResolvers< export type Resolvers = { APM?: ApmResolvers; Account?: AccountResolvers; + AccountSubscription?: AccountSubscriptionResolvers; ActivityCreatedSubscriptionResult?: ActivityCreatedSubscriptionResultResolvers; ActivityFeed?: ActivityFeedResolvers; ActivityLogEntry?: ActivityLogEntryResolvers; @@ -11585,10 +11876,10 @@ export type Resolvers = { ActivityLogEntryUpdateSent?: ActivityLogEntryUpdateSentResolvers; Actor?: ActorResolvers; ActorGroup?: ActorGroupResolvers; - AdminSearchIngestResult?: AdminSearchIngestResultResolvers; Agent?: AgentResolvers; AgentBeginVerifiedCredentialOfferOutput?: AgentBeginVerifiedCredentialOfferOutputResolvers; AgentBeginVerifiedCredentialRequestOutput?: AgentBeginVerifiedCredentialRequestOutputResolvers; + AnyInvitation?: AnyInvitationResolvers; Application?: ApplicationResolvers; ApplicationForRoleResult?: ApplicationForRoleResultResolvers; AuthenticationConfig?: AuthenticationConfigResolvers; @@ -11619,10 +11910,12 @@ export type Resolvers = { CommunicationRoom?: CommunicationRoomResolvers; Community?: CommunityResolvers; CommunityGuidelines?: CommunityGuidelinesResolvers; + CommunityGuidelinesTemplate?: CommunityGuidelinesTemplateResolvers; CommunityPolicy?: CommunityPolicyResolvers; CommunityRolePolicy?: CommunityRolePolicyResolvers; Config?: ConfigResolvers; Context?: ContextResolvers; + Contributor?: ContributorResolvers; ContributorRoles?: ContributorRolesResolvers; Credential?: CredentialResolvers; CredentialDefinition?: CredentialDefinitionResolvers; @@ -11655,6 +11948,10 @@ export type Resolvers = { Library?: LibraryResolvers; License?: LicenseResolvers; LicenseFeatureFlag?: LicenseFeatureFlagResolvers; + LicensePlan?: LicensePlanResolvers; + LicensePolicy?: LicensePolicyResolvers; + LicensePolicyRuleFeatureFlag?: LicensePolicyRuleFeatureFlagResolvers; + Licensing?: LicensingResolvers; Lifecycle?: LifecycleResolvers; LifecycleDefinition?: GraphQLScalarType; Link?: LinkResolvers; @@ -11664,7 +11961,6 @@ export type Resolvers = { MeQueryResults?: MeQueryResultsResolvers; Message?: MessageResolvers; MessageID?: GraphQLScalarType; - MessageSender?: MessageSenderResolvers; Metadata?: MetadataResolvers; Mutation?: MutationResolvers; MySpaceResults?: MySpaceResultsResolvers; @@ -11694,9 +11990,6 @@ export type Resolvers = { RelayPaginatedSpace?: RelayPaginatedSpaceResolvers; RelayPaginatedSpaceEdge?: RelayPaginatedSpaceEdgeResolvers; RelayPaginatedSpacePageInfo?: RelayPaginatedSpacePageInfoResolvers; - RelayPaginatedUser?: RelayPaginatedUserResolvers; - RelayPaginatedUserEdge?: RelayPaginatedUserEdgeResolvers; - RelayPaginatedUserPageInfo?: RelayPaginatedUserPageInfoResolvers; RolesResult?: RolesResultResolvers; RolesResultCommunity?: RolesResultCommunityResolvers; RolesResultOrganization?: RolesResultOrganizationResolvers; @@ -11707,8 +12000,6 @@ export type Resolvers = { RoomMessageReactionEventSubscriptionResult?: RoomMessageReactionEventSubscriptionResultResolvers; SearchResult?: SearchResultResolvers; SearchResultCallout?: SearchResultCalloutResolvers; - SearchResultChallenge?: SearchResultChallengeResolvers; - SearchResultOpportunity?: SearchResultOpportunityResolvers; SearchResultOrganization?: SearchResultOrganizationResolvers; SearchResultPost?: SearchResultPostResolvers; SearchResultSpace?: SearchResultSpaceResolvers; @@ -11842,21 +12133,19 @@ export type MeQuery = { gender: string; phone: string; accountUpn: string; - agent?: - | { - __typename: 'Agent'; - id: string; - did?: string | undefined; - credentials?: - | Array<{ - __typename: 'Credential'; - type: AuthorizationCredential; - resourceID: string; - id: string; - }> - | undefined; - } - | undefined; + agent: { + __typename: 'Agent'; + id: string; + did?: string | undefined; + credentials?: + | Array<{ + __typename: 'Credential'; + type: CredentialType; + resourceID: string; + id: string; + }> + | undefined; + }; profile: { __typename: 'Profile'; id: string; @@ -11916,18 +12205,16 @@ export type UserDetailsFragment = { gender: string; phone: string; accountUpn: string; - agent?: - | { - __typename: 'Agent'; - credentials?: - | Array<{ - __typename: 'Credential'; - type: AuthorizationCredential; - resourceID: string; - }> - | undefined; - } - | undefined; + agent: { + __typename: 'Agent'; + credentials?: + | Array<{ + __typename: 'Credential'; + type: CredentialType; + resourceID: string; + }> + | undefined; + }; profile: { __typename: 'Profile'; id: string; @@ -11999,21 +12286,19 @@ export type TagsetDetailsFragment = { export type UserAgentFragment = { __typename: 'User'; - agent?: - | { - __typename: 'Agent'; - id: string; - did?: string | undefined; - credentials?: - | Array<{ - __typename: 'Credential'; - id: string; - resourceID: string; - type: AuthorizationCredential; - }> - | undefined; - } - | undefined; + agent: { + __typename: 'Agent'; + id: string; + did?: string | undefined; + credentials?: + | Array<{ + __typename: 'Credential'; + id: string; + resourceID: string; + type: CredentialType; + }> + | undefined; + }; }; export type SpacesAllVisibilitiesQueryVariables = Exact<{ @@ -12110,6 +12395,18 @@ export type SpaceSubspacesCommunitiesQuery = { }; }; +export type TaskQueryVariables = Exact<{ + taskId: Scalars['UUID']; +}>; + +export type TaskQuery = { + task: { + status: TaskStatus; + results?: Array | undefined; + errors?: Array | undefined; + }; +}; + export type DigitalTwinDemoQueryVariables = Exact<{ spaceNameID: Scalars['UUID_NAMEID']; }>; @@ -12200,18 +12497,12 @@ export type UsersWithCredentialsQuery = { users: Array<{ id: string; nameID: string; - agent?: - | { - id: string; - credentials?: - | Array<{ - id: string; - type: AuthorizationCredential; - resourceID: string; - }> - | undefined; - } - | undefined; + agent: { + id: string; + credentials?: + | Array<{ id: string; type: CredentialType; resourceID: string }> + | undefined; + }; }>; }; @@ -12220,13 +12511,7 @@ export type AdminSearchIngestFromScratchMutationVariables = Exact<{ }>; export type AdminSearchIngestFromScratchMutation = { - adminSearchIngestFromScratch: { - results: Array<{ - index: string; - total?: number | undefined; - batches: Array<{ success: boolean; message?: string | undefined }>; - }>; - }; + adminSearchIngestFromScratch: string; }; export type SpacesLicenseUsageExcelQueryVariables = Exact<{ @@ -12245,11 +12530,9 @@ export type SpacesLicenseUsageExcelQuery = { featureFlags: Array<{ name: LicenseFeatureFlagName; enabled: boolean }>; }; host?: - | { - id: string; - profile: { displayName: string }; - owners?: Array<{ profile: { displayName: string } }> | undefined; - } + | { id: string; profile: { displayName: string } } + | { id: string; profile: { displayName: string } } + | { id: string; profile: { displayName: string } } | undefined; }; community: { @@ -12572,6 +12855,15 @@ export const SpaceSubspacesCommunitiesDocument = gql` } } `; +export const TaskDocument = gql` + query task($taskId: UUID!) { + task(id: $taskId) { + status + results + errors + } + } +`; export const DigitalTwinDemoDocument = gql` query digitalTwinDemo($spaceNameID: UUID_NAMEID!) { space(ID: $spaceNameID) { @@ -12688,16 +12980,7 @@ export const UsersWithCredentialsDocument = gql` `; export const AdminSearchIngestFromScratchDocument = gql` mutation adminSearchIngestFromScratch { - adminSearchIngestFromScratch { - results { - index - total - batches { - success - message - } - } - } + adminSearchIngestFromScratch } `; export const SpacesLicenseUsageExcelDocument = gql` @@ -12722,11 +13005,6 @@ export const SpacesLicenseUsageExcelDocument = gql` profile { displayName } - owners { - profile { - displayName - } - } } } community { @@ -12791,6 +13069,7 @@ const SpaceSubspacesCollaborationDocumentString = print( const SpaceSubspacesCommunitiesDocumentString = print( SpaceSubspacesCommunitiesDocument ); +const TaskDocumentString = print(TaskDocument); const DigitalTwinDemoDocumentString = print(DigitalTwinDemoDocument); const InnovationFlowStatesDocumentString = print(InnovationFlowStatesDocument); const RevokeCredentialFromUserDocumentString = print( @@ -13090,6 +13369,25 @@ export function getSdk( 'query' ); }, + task( + variables: TaskQueryVariables, + requestHeaders?: Dom.RequestInit['headers'] + ): Promise<{ + data: TaskQuery; + extensions?: any; + headers: Dom.Headers; + status: number; + }> { + return withWrapper( + wrappedRequestHeaders => + client.rawRequest(TaskDocumentString, variables, { + ...requestHeaders, + ...wrappedRequestHeaders, + }), + 'task', + 'query' + ); + }, digitalTwinDemo( variables: DigitalTwinDemoQueryVariables, requestHeaders?: Dom.RequestInit['headers'] diff --git a/src/orphaned-credentials/authorization-detect-orphaned-credentials-from-users.ts b/src/orphaned-credentials/authorization-detect-orphaned-credentials-from-users.ts index aaef3cd..81c4e2b 100644 --- a/src/orphaned-credentials/authorization-detect-orphaned-credentials-from-users.ts +++ b/src/orphaned-credentials/authorization-detect-orphaned-credentials-from-users.ts @@ -5,6 +5,7 @@ import { AuthorizationCredential, RevokeAuthorizationCredentialInput, } from '@alkemio/client-lib'; +import { CredentialType } from '../generated/graphql'; const main = async () => { await detectAndRemoveOrphanedCredentials(false, ['myrthe-zondag-2013']); @@ -72,8 +73,8 @@ export const detectAndRemoveOrphanedCredentials = async ( if (credentials) { for (const credential of credentials) { switch (credential.type) { - case AuthorizationCredential.SpaceMember: - case AuthorizationCredential.SpaceAdmin: + case CredentialType.SpaceMember: + case CredentialType.SpaceAdmin: { if (!spacesMap.has(credential.resourceID)) { logger.warn( `[${credential.id}] - [Space] Identified credential '${credential.type}' for not existing space: ${credential.resourceID}` @@ -81,20 +82,7 @@ export const detectAndRemoveOrphanedCredentials = async ( userCredentialsToRemove.push(credential); } break; - - case AuthorizationCredential.SubspaceAdmin: - case AuthorizationCredential.SubspaceLead: - case AuthorizationCredential.SubspaceMember: - if ( - !subspacesMap.has(credential.resourceID) && - !subsubspacesMap.has(credential.resourceID) - ) { - logger.warn( - `[${credential.id}] - [Subspace] Identified credential '${credential.type}' for not existing subspace: ${credential.resourceID}` - ); - userCredentialsToRemove.push(credential); - } - break; + } } } } diff --git a/src/search-ingestion/adminSearchIngestFromScratch.graphql b/src/search-ingestion/adminSearchIngestFromScratch.graphql index 716cf19..4a6c042 100644 --- a/src/search-ingestion/adminSearchIngestFromScratch.graphql +++ b/src/search-ingestion/adminSearchIngestFromScratch.graphql @@ -1,12 +1,3 @@ mutation adminSearchIngestFromScratch { - adminSearchIngestFromScratch { - results { - index - total - batches { - success - message - } - } - } + adminSearchIngestFromScratch } \ No newline at end of file diff --git a/src/search-ingestion/search-ingestion.ts b/src/search-ingestion/search-ingestion.ts index 2f82b9f..319b75e 100644 --- a/src/search-ingestion/search-ingestion.ts +++ b/src/search-ingestion/search-ingestion.ts @@ -1,6 +1,7 @@ import { createLogger } from '../util'; import { createConfigUsingEnvVars } from '../util/create-config-using-envvars'; import { AlkemioCliClient } from '../client/AlkemioCliClient'; +import * as process from 'node:process'; (async () => { const logger = createLogger(); @@ -11,8 +12,59 @@ import { AlkemioCliClient } from '../client/AlkemioCliClient'; await alkemioCliClient.validateConnection(); - const result = - await alkemioCliClient.sdkClient.adminSearchIngestFromScratch(); + const { + data: { adminSearchIngestFromScratch: taskId }, + } = await alkemioCliClient.sdkClient.adminSearchIngestFromScratch(); - logger.info(JSON.stringify(result, null, 2)); -})(); + let oldResultsCount = 0; + let oldErrorsCount = 0; + + while (true) { + const { + data: { task }, + } = await alkemioCliClient.sdkClient.task({ + taskId, + }); + // reverse them, because the latest results are on top, and the log is scrolling down + const newResults = task.results + ?.slice(0, task.results?.length - oldResultsCount) + .reverse(); + const newErrors = task.errors + ?.slice(0, task.errors?.length - oldErrorsCount) + .reverse(); + + oldResultsCount = task.results?.length || 0; + oldErrorsCount = task.errors?.length || 0; + + if (task.status === 'COMPLETED') { + logger.info(JSON.stringify(newResults, null, 2)); + logger.error(JSON.stringify(newErrors, null, 2)); + + logger.info('Search ingest completed'); + break; + } + + if (task.status === 'ERRORED') { + logger.error(JSON.stringify(newErrors, null, 2)); + break; + } + + if (task.status === 'IN_PROGRESS') { + if (!newResults?.length) { + logger.info('No new results'); + } else { + logger.info(JSON.stringify(newResults, null, 2)); + } + + if (!newErrors?.length) { + logger.error('No new errors'); + } else { + logger.error(JSON.stringify(newErrors, null, 2)); + } + + await new Promise(resolve => setTimeout(resolve, 5000)); + } + } +})() + .then(() => process.exit(0)) + .catch(() => process.exit(1)); diff --git a/src/spaces-license-usage-excel/spaces-license-usage-excel.graphql b/src/spaces-license-usage-excel/spaces-license-usage-excel.graphql index edf4041..67b5a9f 100644 --- a/src/spaces-license-usage-excel/spaces-license-usage-excel.graphql +++ b/src/spaces-license-usage-excel/spaces-license-usage-excel.graphql @@ -19,11 +19,6 @@ query spacesLicenseUsageExcel { profile { displayName } - owners { - profile { - displayName - } - } } } community { diff --git a/src/spaces-license-usage-excel/spaces-license-usage-excel.ts b/src/spaces-license-usage-excel/spaces-license-usage-excel.ts index 1c3e6d7..c7542a6 100644 --- a/src/spaces-license-usage-excel/spaces-license-usage-excel.ts +++ b/src/spaces-license-usage-excel/spaces-license-usage-excel.ts @@ -36,10 +36,6 @@ export const spacesLicenseUsageAsExcel = async () => { const hostOrg = space.account.host; if (hostOrg) { spaceMetaInfo.HostOrgName = hostOrg.profile.displayName || 'unknown'; - if (hostOrg.owners && hostOrg.owners?.length > 0) { - spaceMetaInfo.HostOrgOwnerName = - hostOrg.owners?.[0].profile.displayName || 'unknown'; - } } const featureFlags = space.account.license.featureFlags || []; for (const featureFlag of featureFlags) {