@appsemble/utils 0.29.10 → 0.30.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/api/components/parameters/$own.d.ts +2 -0
- package/api/components/parameters/$own.js +7 -0
- package/api/components/parameters/appMemberId.d.ts +2 -0
- package/api/components/parameters/appMemberId.js +8 -0
- package/api/components/parameters/groupId.d.ts +2 -0
- package/api/components/parameters/groupId.js +8 -0
- package/api/components/parameters/groupMemberId.d.ts +2 -0
- package/api/components/parameters/groupMemberId.js +8 -0
- package/api/components/parameters/index.d.ts +17 -13
- package/api/components/parameters/index.js +17 -13
- package/api/components/parameters/organizationId.d.ts +9 -2
- package/api/components/parameters/organizationId.js +1 -1
- package/api/components/parameters/roles.js +12 -6
- package/api/components/parameters/seed.d.ts +2 -0
- package/api/components/parameters/seed.js +9 -0
- package/api/components/parameters/selectedGroupId.d.ts +2 -0
- package/api/components/parameters/selectedGroupId.js +7 -0
- package/api/components/parameters/serviceSecretId.d.ts +2 -0
- package/api/components/parameters/{appServiceId.js → serviceSecretId.js} +3 -3
- package/api/components/requestBodies/oauth2Consent.js +1 -5
- package/api/components/requestBodies/user.js +1 -1
- package/api/components/schemas/ActionDefinition.js +14 -11
- package/api/components/schemas/AppAccount.js +7 -24
- package/api/components/schemas/AppDefinition.js +3 -15
- package/api/components/schemas/AppMember.d.ts +2 -0
- package/api/components/schemas/AppMember.js +26 -0
- package/api/components/schemas/AppMemberCurrentPatchActionDefinition.d.ts +1 -0
- package/api/components/schemas/AppMemberCurrentPatchActionDefinition.js +30 -0
- package/api/components/schemas/AppMemberDeleteActionDefinition.d.ts +1 -0
- package/api/components/schemas/AppMemberDeleteActionDefinition.js +20 -0
- package/api/components/schemas/AppMemberInfo.d.ts +2 -0
- package/api/components/schemas/AppMemberInfo.js +48 -0
- package/api/components/schemas/AppMemberInviteActionDefinition.d.ts +1 -0
- package/api/components/schemas/AppMemberInviteActionDefinition.js +24 -0
- package/api/components/schemas/AppMemberLoginActionDefinition.d.ts +1 -0
- package/api/components/schemas/AppMemberLoginActionDefinition.js +24 -0
- package/api/components/schemas/AppMemberLogoutActionDefinition.d.ts +1 -0
- package/api/components/schemas/AppMemberLogoutActionDefinition.js +14 -0
- package/api/components/schemas/AppMemberPropertiesPatchActionDefinition.d.ts +1 -0
- package/api/components/schemas/AppMemberPropertiesPatchActionDefinition.js +26 -0
- package/api/components/schemas/AppMemberPropertyDefinition.d.ts +2 -0
- package/api/components/schemas/{UserPropertyDefinition.js → AppMemberPropertyDefinition.js} +5 -5
- package/api/components/schemas/AppMemberQueryActionDefinition.d.ts +1 -0
- package/api/components/schemas/AppMemberQueryActionDefinition.js +20 -0
- package/api/components/schemas/AppMemberRegisterActionDefinition.d.ts +1 -0
- package/api/components/schemas/AppMemberRegisterActionDefinition.js +43 -0
- package/api/components/schemas/AppMemberRoleUpdateActionDefinition.d.ts +1 -0
- package/api/components/schemas/AppMemberRoleUpdateActionDefinition.js +27 -0
- package/api/components/schemas/AppMembersDefinition.d.ts +2 -0
- package/api/components/schemas/AppMembersDefinition.js +17 -0
- package/api/components/schemas/GroupMember.d.ts +2 -0
- package/api/components/schemas/GroupMember.js +19 -0
- package/api/components/schemas/GroupMemberDeleteActionDefinition.d.ts +1 -0
- package/api/components/schemas/{TeamMembersActionDefinition.js → GroupMemberDeleteActionDefinition.js} +5 -5
- package/api/components/schemas/GroupMemberInviteActionDefinition.d.ts +1 -0
- package/api/components/schemas/{TeamInviteActionDefinition.js → GroupMemberInviteActionDefinition.js} +5 -6
- package/api/components/schemas/GroupMemberQueryActionDefinition.d.ts +1 -0
- package/api/components/schemas/GroupMemberQueryActionDefinition.js +18 -0
- package/api/components/schemas/GroupMemberRoleUpdateActionDefinition.d.ts +1 -0
- package/api/components/schemas/GroupMemberRoleUpdateActionDefinition.js +22 -0
- package/api/components/schemas/GroupQueryActionDefinition.d.ts +1 -0
- package/api/components/schemas/{UserLogoutActionDefinition.js → GroupQueryActionDefinition.js} +4 -4
- package/api/components/schemas/OrganizationMember.js +2 -2
- package/api/components/schemas/ResourceCountActionDefinition.js +4 -0
- package/api/components/schemas/ResourceCreateActionDefinition.js +1 -1
- package/api/components/schemas/ResourceDefinition.js +0 -22
- package/api/components/schemas/ResourceQueryActionDefinition.js +4 -0
- package/api/components/schemas/SecurityDefaultDefinition.js +1 -1
- package/api/components/schemas/SecurityDefinition.js +2 -6
- package/api/components/schemas/SecurityGuestDefinition.d.ts +2 -0
- package/api/components/schemas/SecurityGuestDefinition.js +26 -0
- package/api/components/schemas/SecurityRoleDefinition.js +7 -0
- package/api/components/schemas/User.js +2 -22
- package/api/components/schemas/UserInfo.d.ts +2 -0
- package/api/components/schemas/UserInfo.js +42 -0
- package/api/components/schemas/index.d.ts +22 -15
- package/api/components/schemas/index.js +22 -15
- package/api/components/securitySchemes/app.js +6 -6
- package/api/components/securitySchemes/cli.js +3 -3
- package/api/paths/app-collections/appCollectionId/apps/appId/pinned.d.ts +2 -0
- package/api/paths/app-collections/appCollectionId/apps/appId/pinned.js +70 -0
- package/api/paths/app-collections/appCollectionId/apps/appId.d.ts +2 -0
- package/api/paths/app-collections/appCollectionId/apps/appId.js +34 -0
- package/api/paths/app-collections/appCollectionId/apps.d.ts +2 -0
- package/api/paths/app-collections/appCollectionId/apps.js +93 -0
- package/api/paths/app-collections/appCollectionId/expert/profileImage.d.ts +2 -0
- package/api/paths/app-collections/appCollectionId/expert/profileImage.js +31 -0
- package/api/paths/app-collections/appCollectionId/headerImage.d.ts +2 -0
- package/api/paths/app-collections/appCollectionId/headerImage.js +31 -0
- package/api/paths/app-collections/appCollectionId.d.ts +2 -0
- package/api/paths/app-collections/appCollectionId.js +102 -0
- package/api/paths/app-invites/token/respond.d.ts +2 -0
- package/api/paths/app-invites/token/respond.js +51 -0
- package/api/paths/app-invites/token.d.ts +2 -0
- package/api/paths/app-invites/token.js +23 -0
- package/api/paths/app-members/appMemberId/picture.d.ts +2 -0
- package/api/paths/app-members/appMemberId/picture.js +30 -0
- package/api/paths/app-members/appMemberId/properties.d.ts +2 -0
- package/api/paths/app-members/appMemberId/properties.js +48 -0
- package/api/paths/app-members/appMemberId/role.d.ts +2 -0
- package/api/paths/app-members/appMemberId/role.js +46 -0
- package/api/paths/app-members/appMemberId.d.ts +2 -0
- package/api/paths/app-members/appMemberId.js +24 -0
- package/api/paths/appCollections.d.ts +1 -1
- package/api/paths/appCollections.js +12 -454
- package/api/paths/appTemplates.d.ts +2 -0
- package/api/paths/appTemplates.js +94 -0
- package/api/paths/apps/appId/actions/path.d.ts +2 -0
- package/api/paths/{action.js → apps/appId/actions/path.js} +18 -20
- package/api/paths/apps/appId/assets/assetId.d.ts +2 -0
- package/api/paths/apps/appId/assets/assetId.js +38 -0
- package/api/paths/apps/appId/assets/count.d.ts +2 -0
- package/api/paths/apps/appId/assets/count.js +22 -0
- package/api/paths/apps/appId/assets.d.ts +2 -0
- package/api/paths/apps/appId/assets.js +96 -0
- package/api/paths/apps/appId/auth/email/login.d.ts +2 -0
- package/api/paths/apps/appId/auth/email/login.js +10 -0
- package/api/paths/apps/appId/auth/email/register.d.ts +2 -0
- package/api/paths/apps/appId/auth/email/register.js +52 -0
- package/api/paths/apps/appId/auth/email/requestResetPassword.d.ts +2 -0
- package/api/paths/apps/appId/auth/email/requestResetPassword.js +31 -0
- package/api/paths/apps/appId/auth/email/resendVerification.d.ts +2 -0
- package/api/paths/apps/appId/auth/email/resendVerification.js +32 -0
- package/api/paths/apps/appId/auth/email/resetPassword.d.ts +2 -0
- package/api/paths/apps/appId/auth/email/resetPassword.js +34 -0
- package/api/paths/apps/appId/auth/email/verify.d.ts +2 -0
- package/api/paths/apps/appId/auth/email/verify.js +31 -0
- package/api/paths/apps/appId/broadcast.d.ts +2 -0
- package/api/paths/apps/appId/broadcast.js +36 -0
- package/api/paths/apps/appId/demo-groups.d.ts +2 -0
- package/api/paths/apps/appId/demo-groups.js +29 -0
- package/api/paths/apps/appId/demo-members.d.ts +2 -0
- package/api/paths/apps/appId/demo-members.js +27 -0
- package/api/paths/apps/appId/email.d.ts +2 -0
- package/api/paths/apps/appId/email.js +48 -0
- package/api/paths/apps/appId/export.d.ts +2 -0
- package/api/paths/apps/appId/export.js +41 -0
- package/api/paths/apps/appId/groups.d.ts +2 -0
- package/api/paths/apps/appId/groups.js +79 -0
- package/api/paths/apps/appId/icon.d.ts +2 -0
- package/api/paths/apps/appId/icon.js +31 -0
- package/api/paths/apps/appId/invites.d.ts +2 -0
- package/api/paths/apps/appId/invites.js +79 -0
- package/api/paths/apps/appId/lock.d.ts +2 -0
- package/api/paths/apps/appId/lock.js +35 -0
- package/api/paths/apps/appId/maskableIcon.d.ts +2 -0
- package/api/paths/apps/appId/maskableIcon.js +15 -0
- package/api/paths/apps/appId/members/current/groups.d.ts +2 -0
- package/api/paths/apps/appId/members/current/groups.js +30 -0
- package/api/paths/apps/appId/members/current/link.d.ts +2 -0
- package/api/paths/apps/appId/members/current/link.js +41 -0
- package/api/paths/apps/appId/members/current.d.ts +2 -0
- package/api/paths/apps/appId/members/current.js +111 -0
- package/api/paths/apps/appId/members.d.ts +2 -0
- package/api/paths/apps/appId/members.js +29 -0
- package/api/paths/apps/appId/messages/language.d.ts +2 -0
- package/api/paths/apps/appId/messages/language.js +47 -0
- package/api/paths/apps/appId/messages.d.ts +2 -0
- package/api/paths/apps/appId/messages.js +72 -0
- package/api/paths/apps/appId/quotas/emails.d.ts +2 -0
- package/api/paths/apps/appId/quotas/emails.js +36 -0
- package/api/paths/apps/appId/ratings.d.ts +2 -0
- package/api/paths/apps/appId/ratings.js +58 -0
- package/api/paths/apps/appId/readmes/readmeId.d.ts +2 -0
- package/api/paths/apps/appId/readmes/readmeId.js +17 -0
- package/api/paths/apps/appId/reseed.d.ts +2 -0
- package/api/paths/apps/appId/reseed.js +12 -0
- package/api/paths/apps/appId/resources/resourceType/count.d.ts +2 -0
- package/api/paths/apps/appId/resources/resourceType/count.js +30 -0
- package/api/paths/apps/appId/resources/resourceType/resourceId/subscriptions.d.ts +2 -0
- package/api/paths/apps/appId/resources/resourceType/resourceId/subscriptions.js +31 -0
- package/api/paths/apps/appId/resources/resourceType/resourceId.d.ts +2 -0
- package/api/paths/apps/appId/resources/resourceType/resourceId.js +74 -0
- package/api/paths/apps/appId/resources/resourceType/subscriptions.d.ts +2 -0
- package/api/paths/apps/appId/resources/resourceType/subscriptions.js +26 -0
- package/api/paths/apps/appId/resources/resourceType.d.ts +2 -0
- package/api/paths/apps/appId/resources/resourceType.js +171 -0
- package/api/paths/apps/appId/resources/versions.d.ts +2 -0
- package/api/paths/apps/appId/resources/versions.js +29 -0
- package/api/paths/apps/appId/resources.d.ts +2 -0
- package/api/paths/apps/appId/resources.js +15 -0
- package/api/paths/apps/appId/saml/secretId/acs.d.ts +2 -0
- package/api/paths/apps/appId/saml/secretId/acs.js +35 -0
- package/api/paths/apps/appId/saml/secretId/authn.d.ts +2 -0
- package/api/paths/apps/appId/saml/secretId/authn.js +37 -0
- package/api/paths/apps/appId/saml/secretId/metadata.d.ts +2 -0
- package/api/paths/apps/appId/saml/secretId/metadata.js +21 -0
- package/api/paths/apps/appId/scim/resource-types/resourceTypeId.d.ts +2 -0
- package/api/paths/apps/appId/scim/resource-types/resourceTypeId.js +25 -0
- package/api/paths/apps/appId/scim/resource-types.d.ts +2 -0
- package/api/paths/apps/appId/scim/resource-types.js +22 -0
- package/api/paths/apps/appId/scim/schemas/schemaId.d.ts +2 -0
- package/api/paths/apps/appId/scim/schemas/schemaId.js +24 -0
- package/api/paths/apps/appId/scim/schemas.d.ts +2 -0
- package/api/paths/apps/appId/scim/schemas.js +21 -0
- package/api/paths/apps/appId/scim/service-provider-config.d.ts +2 -0
- package/api/paths/apps/appId/scim/service-provider-config.js +22 -0
- package/api/paths/apps/appId/scim/users/userId.d.ts +2 -0
- package/api/paths/apps/appId/scim/users/userId.js +92 -0
- package/api/paths/apps/appId/scim/users.d.ts +2 -0
- package/api/paths/apps/appId/scim/users.js +58 -0
- package/api/paths/apps/appId/screenshots/screenshotId.d.ts +2 -0
- package/api/paths/apps/appId/screenshots/screenshotId.js +28 -0
- package/api/paths/apps/appId/screenshots.d.ts +2 -0
- package/api/paths/apps/appId/screenshots.js +55 -0
- package/api/paths/apps/appId/secrets/oauth2/secretId/verify.d.ts +2 -0
- package/api/paths/apps/appId/secrets/oauth2/secretId/verify.js +47 -0
- package/api/paths/apps/appId/secrets/oauth2/secretId.d.ts +2 -0
- package/api/paths/apps/appId/secrets/oauth2/secretId.js +60 -0
- package/api/paths/apps/appId/secrets/oauth2.d.ts +2 -0
- package/api/paths/apps/appId/secrets/oauth2.js +54 -0
- package/api/paths/apps/appId/secrets/saml/secretId.d.ts +2 -0
- package/api/paths/apps/appId/secrets/saml/secretId.js +39 -0
- package/api/paths/apps/appId/secrets/saml.d.ts +2 -0
- package/api/paths/apps/appId/secrets/saml.js +54 -0
- package/api/paths/apps/appId/secrets/scim.d.ts +2 -0
- package/api/paths/apps/appId/secrets/scim.js +43 -0
- package/api/paths/apps/appId/secrets/service/secretId.d.ts +2 -0
- package/api/paths/apps/appId/secrets/service/secretId.js +39 -0
- package/api/paths/apps/appId/secrets/service.d.ts +2 -0
- package/api/paths/apps/appId/secrets/service.js +54 -0
- package/api/paths/apps/appId/secrets/ssl.d.ts +2 -0
- package/api/paths/apps/appId/secrets/ssl.js +37 -0
- package/api/paths/apps/appId/snapshots/snapshotId.d.ts +2 -0
- package/api/paths/apps/appId/snapshots/snapshotId.js +47 -0
- package/api/paths/apps/appId/snapshots.d.ts +2 -0
- package/api/paths/apps/appId/snapshots.js +40 -0
- package/api/paths/apps/appId/style/block/organizationId/blockId.d.ts +2 -0
- package/api/paths/apps/appId/style/block/organizationId/blockId.js +53 -0
- package/api/paths/apps/appId/style/core.d.ts +2 -0
- package/api/paths/apps/appId/style/core.js +17 -0
- package/api/paths/apps/appId/style/shared.d.ts +2 -0
- package/api/paths/apps/appId/style/shared.js +17 -0
- package/api/paths/apps/appId/subscriptions.d.ts +2 -0
- package/api/paths/apps/appId/subscriptions.js +91 -0
- package/api/paths/apps/appId/variables/variableId.d.ts +2 -0
- package/api/paths/apps/appId/variables/variableId.js +39 -0
- package/api/paths/apps/appId/variables.d.ts +2 -0
- package/api/paths/apps/appId/variables.js +53 -0
- package/api/paths/apps/appId.d.ts +2 -0
- package/api/paths/apps/appId.js +175 -0
- package/api/paths/apps.d.ts +1 -1
- package/api/paths/apps.js +95 -1518
- package/api/paths/auth/email/login.d.ts +2 -0
- package/api/paths/auth/email/login.js +10 -0
- package/api/paths/auth/email/register.d.ts +2 -0
- package/api/paths/auth/email/register.js +45 -0
- package/api/paths/auth/email/requestResetPassword.d.ts +2 -0
- package/api/paths/auth/email/requestResetPassword.js +30 -0
- package/api/paths/auth/email/resendVerification.d.ts +2 -0
- package/api/paths/auth/email/resendVerification.js +31 -0
- package/api/paths/auth/email/resetPassword.d.ts +2 -0
- package/api/paths/auth/email/resetPassword.js +33 -0
- package/api/paths/auth/email/verify.d.ts +2 -0
- package/api/paths/auth/email/verify.js +30 -0
- package/api/paths/auth/oauth2/authorizations/connect.d.ts +2 -0
- package/api/paths/auth/oauth2/authorizations/connect.js +45 -0
- package/api/paths/auth/oauth2/authorizations/register.d.ts +2 -0
- package/api/paths/auth/oauth2/authorizations/register.js +32 -0
- package/api/paths/auth/refreshToken.d.ts +2 -0
- package/api/paths/auth/refreshToken.js +26 -0
- package/api/paths/blocks/organizationId/blockId/versions/list.d.ts +2 -0
- package/api/paths/blocks/organizationId/blockId/versions/list.js +27 -0
- package/api/paths/blocks/organizationId/blockId/versions/version/asset.d.ts +2 -0
- package/api/paths/blocks/organizationId/blockId/versions/version/asset.js +24 -0
- package/api/paths/blocks/organizationId/blockId/versions/version/icon.d.ts +2 -0
- package/api/paths/blocks/organizationId/blockId/versions/version/icon.js +18 -0
- package/api/paths/blocks/organizationId/blockId/versions/version/messages/language.d.ts +2 -0
- package/api/paths/blocks/organizationId/blockId/versions/version/messages/language.js +37 -0
- package/api/paths/blocks/organizationId/blockId/versions/version.d.ts +2 -0
- package/api/paths/blocks/organizationId/blockId/versions/version.js +29 -0
- package/api/paths/blocks/organizationId/blockId/versions.d.ts +2 -0
- package/api/paths/blocks/organizationId/blockId/versions.js +27 -0
- package/api/paths/blocks/organizationId/blockId.d.ts +2 -0
- package/api/paths/blocks/organizationId/blockId.js +18 -0
- package/api/paths/blocks/versions/blockVersion.js +21 -0
- package/api/paths/blocks.d.ts +1 -1
- package/api/paths/blocks.js +29 -204
- package/api/paths/containerLogs.d.ts +1 -1
- package/api/paths/containerLogs.js +28 -30
- package/api/paths/group-invites/token/respond.d.ts +2 -0
- package/api/paths/group-invites/token/respond.js +42 -0
- package/api/paths/group-invites/token.d.ts +2 -0
- package/api/paths/group-invites/token.js +23 -0
- package/api/paths/group-members/groupMemberId/role.d.ts +2 -0
- package/api/paths/group-members/groupMemberId/role.js +40 -0
- package/api/paths/group-members/groupMemberId.d.ts +2 -0
- package/api/paths/group-members/groupMemberId.js +34 -0
- package/api/paths/groups/groupId/invites.d.ts +2 -0
- package/api/paths/groups/groupId/invites.js +87 -0
- package/api/paths/groups/groupId/members.d.ts +2 -0
- package/api/paths/groups/groupId/members.js +34 -0
- package/api/paths/groups/groupId.d.ts +2 -0
- package/api/paths/groups/groupId.js +86 -0
- package/api/paths/health.d.ts +1 -1
- package/api/paths/health.js +12 -66
- package/api/paths/index.d.ts +145 -136
- package/api/paths/index.js +294 -58
- package/api/paths/messages/language.d.ts +2 -0
- package/api/paths/messages/language.js +21 -0
- package/api/paths/messages.d.ts +2 -0
- package/api/paths/messages.js +26 -0
- package/api/paths/organization-invites/token/respond.d.ts +2 -0
- package/api/paths/organization-invites/token/respond.js +42 -0
- package/api/paths/organization-invites/token.d.ts +2 -0
- package/api/paths/organization-invites/token.js +23 -0
- package/api/paths/organizations/organizationId/appCollections.d.ts +2 -0
- package/api/paths/organizations/organizationId/appCollections.js +76 -0
- package/api/paths/organizations/organizationId/apps/import.d.ts +2 -0
- package/api/paths/organizations/organizationId/apps/import.js +26 -0
- package/api/paths/organizations/organizationId/apps.d.ts +2 -0
- package/api/paths/organizations/organizationId/apps.js +33 -0
- package/api/paths/organizations/organizationId/blocks.d.ts +2 -0
- package/api/paths/organizations/organizationId/blocks.js +25 -0
- package/api/paths/organizations/organizationId/icon.d.ts +2 -0
- package/api/paths/organizations/organizationId/icon.js +14 -0
- package/api/paths/organizations/organizationId/invites/resend.d.ts +2 -0
- package/api/paths/organizations/organizationId/invites/resend.js +32 -0
- package/api/paths/organizations/organizationId/invites.d.ts +2 -0
- package/api/paths/organizations/organizationId/invites.js +108 -0
- package/api/paths/organizations/organizationId/members/memberId/role.d.ts +2 -0
- package/api/paths/organizations/organizationId/members/memberId/role.js +50 -0
- package/api/paths/organizations/organizationId/members/memberId.d.ts +2 -0
- package/api/paths/organizations/organizationId/members/memberId.js +25 -0
- package/api/paths/organizations/organizationId/members.d.ts +2 -0
- package/api/paths/organizations/organizationId/members.js +25 -0
- package/api/paths/organizations/organizationId.d.ts +2 -0
- package/api/paths/organizations/organizationId.js +67 -0
- package/api/paths/organizations.d.ts +1 -1
- package/api/paths/organizations.js +46 -452
- package/api/paths/ssl.d.ts +2 -0
- package/api/paths/ssl.js +31 -0
- package/api/paths/timezones.d.ts +2 -0
- package/api/paths/timezones.js +23 -0
- package/api/paths/trainingBlocks/trainingBlockId.d.ts +2 -0
- package/api/paths/trainingBlocks/trainingBlockId.js +41 -0
- package/api/paths/trainings/trainingId/blocks.d.ts +2 -0
- package/api/paths/trainings/trainingId/blocks.js +51 -0
- package/api/paths/trainings/trainingId/users/current.d.ts +2 -0
- package/api/paths/trainings/trainingId/users/current.js +62 -0
- package/api/paths/trainings/trainingId/users.d.ts +2 -0
- package/api/paths/trainings/trainingId/users.js +25 -0
- package/api/paths/trainings/trainingId.d.ts +2 -0
- package/api/paths/trainings/trainingId.js +85 -0
- package/api/paths/trainings.d.ts +1 -1
- package/api/paths/trainings.js +26 -287
- package/api/paths/users/current/apps/accounts.d.ts +2 -0
- package/api/paths/users/current/apps/accounts.js +24 -0
- package/api/paths/users/current/apps/appId/account.d.ts +2 -0
- package/api/paths/users/current/apps/appId/account.js +65 -0
- package/api/paths/users/current/apps.d.ts +2 -0
- package/api/paths/users/current/apps.js +32 -0
- package/api/paths/users/current/auth/oauth2/apps/appId/consent/agree.d.ts +2 -0
- package/api/paths/users/current/auth/oauth2/apps/appId/consent/agree.js +12 -0
- package/api/paths/users/current/auth/oauth2/apps/appId/consent/verify.d.ts +2 -0
- package/api/paths/users/current/auth/oauth2/apps/appId/consent/verify.js +12 -0
- package/api/paths/users/current/auth/oauth2/authorizations.d.ts +2 -0
- package/api/paths/users/current/auth/oauth2/authorizations.js +43 -0
- package/api/paths/users/current/auth/oauth2/clientCredentials/clientId.d.ts +2 -0
- package/api/paths/users/current/auth/oauth2/clientCredentials/clientId.js +23 -0
- package/api/paths/users/current/auth/oauth2/clientCredentials.d.ts +2 -0
- package/api/paths/users/current/auth/oauth2/clientCredentials.js +53 -0
- package/api/paths/users/current/emails.d.ts +2 -0
- package/api/paths/users/current/emails.js +73 -0
- package/api/paths/users/current/organizations.d.ts +2 -0
- package/api/paths/users/current/organizations.js +29 -0
- package/api/paths/users/current/unsubscribe.d.ts +2 -0
- package/api/paths/users/current/unsubscribe.js +29 -0
- package/api/paths/users/current.d.ts +2 -0
- package/api/paths/users/current.js +43 -0
- package/api/paths/users/subscribed.d.ts +2 -0
- package/api/paths/users/subscribed.js +12 -0
- package/api/tags/index.d.ts +2 -1
- package/api/tags/index.js +170 -8
- package/appMembers.d.ts +1 -0
- package/appMembers.js +9 -0
- package/authorization.d.ts +12 -0
- package/authorization.js +171 -0
- package/constants/index.d.ts +0 -2
- package/constants/index.js +0 -2
- package/constants/scopes.d.ts +1 -1
- package/constants/scopes.js +2 -2
- package/examples.js +13 -14
- package/index.d.ts +2 -2
- package/index.js +2 -2
- package/package.json +2 -2
- package/reference-schemas/remappers/data.js +23 -38
- package/remap.d.ts +3 -7
- package/remap.js +1 -2
- package/remap.test.js +8 -9
- package/validation.js +396 -83
- package/validation.test.js +1039 -230
- package/api/components/parameters/$team.d.ts +0 -2
- package/api/components/parameters/$team.js +0 -8
- package/api/components/parameters/appServiceId.d.ts +0 -2
- package/api/components/parameters/memberEmail.d.ts +0 -2
- package/api/components/parameters/memberEmail.js +0 -8
- package/api/components/schemas/TeamInviteActionDefinition.d.ts +0 -1
- package/api/components/schemas/TeamJoinActionDefinition.d.ts +0 -1
- package/api/components/schemas/TeamJoinActionDefinition.js +0 -14
- package/api/components/schemas/TeamListActionDefinition.d.ts +0 -1
- package/api/components/schemas/TeamListActionDefinition.js +0 -14
- package/api/components/schemas/TeamMembersActionDefinition.d.ts +0 -1
- package/api/components/schemas/TeamsDefinition.d.ts +0 -2
- package/api/components/schemas/TeamsDefinition.js +0 -28
- package/api/components/schemas/UserCreateActionDefinition.d.ts +0 -1
- package/api/components/schemas/UserCreateActionDefinition.js +0 -33
- package/api/components/schemas/UserLoginActionDefinition.d.ts +0 -1
- package/api/components/schemas/UserLoginActionDefinition.js +0 -22
- package/api/components/schemas/UserLogoutActionDefinition.d.ts +0 -1
- package/api/components/schemas/UserPropertyDefinition.d.ts +0 -2
- package/api/components/schemas/UserQueryActionDefinition.d.ts +0 -1
- package/api/components/schemas/UserQueryActionDefinition.js +0 -20
- package/api/components/schemas/UserRegisterActionDefinition.d.ts +0 -1
- package/api/components/schemas/UserRegisterActionDefinition.js +0 -37
- package/api/components/schemas/UserRemoveActionDefinition.d.ts +0 -1
- package/api/components/schemas/UserRemoveActionDefinition.js +0 -20
- package/api/components/schemas/UserUpdateActionDefinition.d.ts +0 -1
- package/api/components/schemas/UserUpdateActionDefinition.js +0 -36
- package/api/components/schemas/UsersDefinition.d.ts +0 -2
- package/api/components/schemas/UsersDefinition.js +0 -17
- package/api/paths/appMessages.d.ts +0 -2
- package/api/paths/appMessages.js +0 -120
- package/api/paths/appOAuth2Secrets.d.ts +0 -2
- package/api/paths/appOAuth2Secrets.js +0 -161
- package/api/paths/appQuotas.d.ts +0 -2
- package/api/paths/appQuotas.js +0 -38
- package/api/paths/appSSLSecrets.d.ts +0 -2
- package/api/paths/appSSLSecrets.js +0 -39
- package/api/paths/appSamlSecrets.d.ts +0 -2
- package/api/paths/appSamlSecrets.js +0 -94
- package/api/paths/appScimEndpoints.d.ts +0 -2
- package/api/paths/appScimEndpoints.js +0 -260
- package/api/paths/appScimSecrets.d.ts +0 -2
- package/api/paths/appScimSecrets.js +0 -45
- package/api/paths/appServiceSecrets.d.ts +0 -2
- package/api/paths/appServiceSecrets.js +0 -94
- package/api/paths/appVariables.d.ts +0 -2
- package/api/paths/appVariables.js +0 -93
- package/api/paths/appsembleMessages.d.ts +0 -2
- package/api/paths/appsembleMessages.js +0 -48
- package/api/paths/assets.d.ts +0 -2
- package/api/paths/assets.js +0 -213
- package/api/paths/emails.d.ts +0 -2
- package/api/paths/emails.js +0 -167
- package/api/paths/invite.d.ts +0 -2
- package/api/paths/invite.js +0 -25
- package/api/paths/oauth2ClientCredentials.d.ts +0 -2
- package/api/paths/oauth2ClientCredentials.js +0 -77
- package/api/paths/oauth2Login.d.ts +0 -2
- package/api/paths/oauth2Login.js +0 -119
- package/api/paths/oauth2Provider.d.ts +0 -2
- package/api/paths/oauth2Provider.js +0 -75
- package/api/paths/resourceHistory.d.ts +0 -2
- package/api/paths/resourceHistory.js +0 -31
- package/api/paths/resources.d.ts +0 -2
- package/api/paths/resources.js +0 -395
- package/api/paths/saml.d.ts +0 -2
- package/api/paths/saml.js +0 -126
- package/api/paths/templates.d.ts +0 -2
- package/api/paths/templates.js +0 -96
- package/api/paths/user.d.ts +0 -2
- package/api/paths/user.js +0 -649
- package/api/tags/app.d.ts +0 -2
- package/api/tags/app.js +0 -5
- package/api/tags/appMember.d.ts +0 -2
- package/api/tags/appMember.js +0 -5
- package/api/tags/asset.d.ts +0 -2
- package/api/tags/asset.js +0 -5
- package/api/tags/auth.d.ts +0 -2
- package/api/tags/auth.js +0 -5
- package/api/tags/language.d.ts +0 -2
- package/api/tags/language.js +0 -5
- package/api/tags/organization.d.ts +0 -2
- package/api/tags/organization.js +0 -5
- package/api/tags/resource.d.ts +0 -2
- package/api/tags/resource.js +0 -5
- package/api/tags/template.d.ts +0 -2
- package/api/tags/template.js +0 -5
- package/api/tags/user.d.ts +0 -2
- package/api/tags/user.js +0 -5
- package/appSecurity.d.ts +0 -9
- package/appSecurity.js +0 -41
- package/appSecurity.test.d.ts +0 -1
- package/appSecurity.test.js +0 -114
- package/checkAppRole.d.ts +0 -11
- package/checkAppRole.js +0 -34
- package/constants/Permission.d.ts +0 -114
- package/constants/Permission.js +0 -116
- package/constants/roles.d.ts +0 -16
- package/constants/roles.js +0 -58
- /package/api/paths/{action.d.ts → blocks/versions/blockVersion.d.ts} +0 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export const pathItems = {
|
|
2
|
+
parameters: [
|
|
3
|
+
{
|
|
4
|
+
name: 'appMemberId',
|
|
5
|
+
in: 'path',
|
|
6
|
+
description: 'The id of the member on which to perform the operation',
|
|
7
|
+
required: true,
|
|
8
|
+
schema: { $ref: '#/components/schemas/AppMember/properties/id' },
|
|
9
|
+
},
|
|
10
|
+
],
|
|
11
|
+
get: {
|
|
12
|
+
tags: ['common', 'app-member'],
|
|
13
|
+
description: `Get an app member’s profile picture.
|
|
14
|
+
|
|
15
|
+
This will return a 404 if the user has not uploaded one.`,
|
|
16
|
+
operationId: 'getAppMemberPicture',
|
|
17
|
+
responses: {
|
|
18
|
+
200: {
|
|
19
|
+
description: 'The profile picture of the app member.',
|
|
20
|
+
content: {
|
|
21
|
+
'image/png': {},
|
|
22
|
+
'image/jpeg': {},
|
|
23
|
+
'image/tiff': {},
|
|
24
|
+
'image/webp': {},
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=picture.js.map
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
export const pathItems = {
|
|
2
|
+
parameters: [
|
|
3
|
+
{
|
|
4
|
+
name: 'appMemberId',
|
|
5
|
+
in: 'path',
|
|
6
|
+
description: 'The id of the app member on which to perform an operation',
|
|
7
|
+
required: true,
|
|
8
|
+
schema: { $ref: '#/components/schemas/AppMember/properties/id' },
|
|
9
|
+
},
|
|
10
|
+
],
|
|
11
|
+
patch: {
|
|
12
|
+
tags: ['common', 'app-member'],
|
|
13
|
+
description: 'Patch the properties of an app member.',
|
|
14
|
+
operationId: 'patchAppMemberProperties',
|
|
15
|
+
parameters: [{ $ref: '#/components/parameters/selectedGroupId' }],
|
|
16
|
+
requestBody: {
|
|
17
|
+
content: {
|
|
18
|
+
'multipart/form-data': {
|
|
19
|
+
schema: {
|
|
20
|
+
type: 'object',
|
|
21
|
+
additionalProperties: false,
|
|
22
|
+
properties: {
|
|
23
|
+
properties: {
|
|
24
|
+
type: 'object',
|
|
25
|
+
additionalProperties: { type: 'string' },
|
|
26
|
+
description: 'The member’s custom properties.',
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
responses: {
|
|
34
|
+
200: {
|
|
35
|
+
description: 'The updated app member',
|
|
36
|
+
content: {
|
|
37
|
+
'application/json': {
|
|
38
|
+
schema: {
|
|
39
|
+
$ref: '#/components/schemas/AppMember',
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
security: [{ studio: [] }, { app: [] }],
|
|
46
|
+
},
|
|
47
|
+
};
|
|
48
|
+
//# sourceMappingURL=properties.js.map
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
export const pathItems = {
|
|
2
|
+
parameters: [
|
|
3
|
+
{
|
|
4
|
+
name: 'appMemberId',
|
|
5
|
+
in: 'path',
|
|
6
|
+
description: 'The id of the app member on which to perform an operation',
|
|
7
|
+
required: true,
|
|
8
|
+
schema: { $ref: '#/components/schemas/AppMember/properties/id' },
|
|
9
|
+
},
|
|
10
|
+
],
|
|
11
|
+
put: {
|
|
12
|
+
tags: ['common', 'app', 'member'],
|
|
13
|
+
description: 'Patch an app member.',
|
|
14
|
+
operationId: 'updateAppMemberRole',
|
|
15
|
+
parameters: [{ $ref: '#/components/parameters/selectedGroupId' }],
|
|
16
|
+
requestBody: {
|
|
17
|
+
content: {
|
|
18
|
+
'application/json': {
|
|
19
|
+
schema: {
|
|
20
|
+
type: 'object',
|
|
21
|
+
additionalProperties: false,
|
|
22
|
+
properties: {
|
|
23
|
+
role: {
|
|
24
|
+
type: 'string',
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
responses: {
|
|
32
|
+
200: {
|
|
33
|
+
description: 'The updated app member',
|
|
34
|
+
content: {
|
|
35
|
+
'application/json': {
|
|
36
|
+
schema: {
|
|
37
|
+
$ref: '#/components/schemas/AppMember',
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
security: [{ studio: [] }, { app: [] }],
|
|
44
|
+
},
|
|
45
|
+
};
|
|
46
|
+
//# sourceMappingURL=role.js.map
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export const pathItems = {
|
|
2
|
+
parameters: [
|
|
3
|
+
{
|
|
4
|
+
name: 'appMemberId',
|
|
5
|
+
in: 'path',
|
|
6
|
+
description: 'The id of the app member on which to perform an operation',
|
|
7
|
+
required: true,
|
|
8
|
+
schema: { $ref: '#/components/schemas/AppMember/properties/id' },
|
|
9
|
+
},
|
|
10
|
+
],
|
|
11
|
+
delete: {
|
|
12
|
+
tags: ['common', 'app-member'],
|
|
13
|
+
description: 'Delete an app member.',
|
|
14
|
+
operationId: 'deleteAppMember',
|
|
15
|
+
parameters: [{ $ref: '#/components/parameters/selectedGroupId' }],
|
|
16
|
+
responses: {
|
|
17
|
+
204: {
|
|
18
|
+
description: 'The app member was deleted successfully.',
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
security: [{ studio: [] }, { app: ['resources:manage'] }, {}],
|
|
22
|
+
},
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=appMemberId.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { type OpenAPIV3 } from 'openapi-types';
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const pathItems: OpenAPIV3.PathItemObject;
|
|
@@ -1,466 +1,24 @@
|
|
|
1
|
-
export const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
name: 'organizationId',
|
|
10
|
-
in: 'path',
|
|
11
|
-
description: 'The id of the organization',
|
|
12
|
-
required: true,
|
|
13
|
-
schema: {
|
|
14
|
-
$ref: '#/components/schemas/Organization/properties/id',
|
|
15
|
-
},
|
|
16
|
-
},
|
|
17
|
-
],
|
|
18
|
-
responses: {
|
|
19
|
-
200: {
|
|
20
|
-
description: 'A list of app collections',
|
|
21
|
-
content: {
|
|
22
|
-
'application/json': {
|
|
23
|
-
schema: {
|
|
24
|
-
type: 'array',
|
|
25
|
-
items: {
|
|
26
|
-
$ref: '#/components/schemas/AppCollection',
|
|
27
|
-
},
|
|
28
|
-
},
|
|
29
|
-
},
|
|
30
|
-
},
|
|
31
|
-
},
|
|
32
|
-
},
|
|
33
|
-
security: [{ studio: [] }, {}],
|
|
34
|
-
},
|
|
35
|
-
post: {
|
|
36
|
-
tags: ['appCollection'],
|
|
37
|
-
description: 'Create an app collection',
|
|
38
|
-
operationId: 'createCollection',
|
|
39
|
-
parameters: [
|
|
40
|
-
{
|
|
41
|
-
name: 'organizationId',
|
|
42
|
-
in: 'path',
|
|
43
|
-
description: 'The id of the organization to create the app collection in',
|
|
44
|
-
required: true,
|
|
45
|
-
schema: {
|
|
46
|
-
$ref: '#/components/schemas/Organization/properties/id',
|
|
47
|
-
},
|
|
48
|
-
},
|
|
49
|
-
],
|
|
50
|
-
requestBody: {
|
|
51
|
-
description: 'The app collection to create',
|
|
52
|
-
required: true,
|
|
53
|
-
content: {
|
|
54
|
-
'multipart/form-data': {
|
|
55
|
-
schema: {
|
|
56
|
-
allOf: [
|
|
57
|
-
{ $ref: '#/components/schemas/AppCollectionDefinition' },
|
|
58
|
-
{ required: ['name', 'expertName', 'expertProfileImage', 'headerImage'] },
|
|
59
|
-
],
|
|
60
|
-
},
|
|
61
|
-
encoding: {
|
|
62
|
-
expertProfileImage: {
|
|
63
|
-
contentType: 'image/png,image/jpeg,image/tiff,image/webp',
|
|
64
|
-
},
|
|
65
|
-
headerImage: {
|
|
66
|
-
contentType: 'image/png,image/jpeg,image/tiff,image/webp',
|
|
67
|
-
},
|
|
68
|
-
},
|
|
69
|
-
},
|
|
70
|
-
},
|
|
71
|
-
},
|
|
72
|
-
responses: {
|
|
73
|
-
201: {
|
|
74
|
-
description: 'The created app collection',
|
|
75
|
-
content: {
|
|
76
|
-
'application/json': {
|
|
77
|
-
schema: {
|
|
78
|
-
$ref: '#/components/schemas/AppCollection',
|
|
79
|
-
},
|
|
80
|
-
},
|
|
81
|
-
},
|
|
82
|
-
},
|
|
83
|
-
},
|
|
84
|
-
security: [{ studio: [] }],
|
|
85
|
-
},
|
|
86
|
-
},
|
|
87
|
-
'/api/appCollections': {
|
|
88
|
-
get: {
|
|
89
|
-
tags: ['appCollection'],
|
|
90
|
-
description: 'Get a list of app collections',
|
|
91
|
-
operationId: 'queryCollections',
|
|
92
|
-
responses: {
|
|
93
|
-
200: {
|
|
94
|
-
description: 'A list of app collections',
|
|
95
|
-
content: {
|
|
96
|
-
'application/json': {
|
|
97
|
-
schema: {
|
|
98
|
-
type: 'array',
|
|
99
|
-
items: {
|
|
100
|
-
$ref: '#/components/schemas/AppCollection',
|
|
101
|
-
},
|
|
102
|
-
},
|
|
103
|
-
},
|
|
104
|
-
},
|
|
105
|
-
},
|
|
106
|
-
},
|
|
107
|
-
security: [{ studio: [] }, {}],
|
|
108
|
-
},
|
|
109
|
-
},
|
|
110
|
-
'/api/appCollections/{appCollectionId}': {
|
|
111
|
-
get: {
|
|
112
|
-
tags: ['appCollection'],
|
|
113
|
-
description: 'Get an app collection',
|
|
114
|
-
operationId: 'getCollection',
|
|
115
|
-
parameters: [
|
|
116
|
-
{
|
|
117
|
-
name: 'appCollectionId',
|
|
118
|
-
in: 'path',
|
|
119
|
-
description: 'The id of the app collection',
|
|
120
|
-
required: true,
|
|
121
|
-
schema: {
|
|
122
|
-
$ref: '#/components/schemas/AppCollection/properties/id',
|
|
123
|
-
},
|
|
124
|
-
},
|
|
125
|
-
],
|
|
126
|
-
responses: {
|
|
127
|
-
200: {
|
|
128
|
-
description: 'An app collection',
|
|
129
|
-
content: {
|
|
130
|
-
'application/json': {
|
|
131
|
-
schema: {
|
|
132
|
-
$ref: '#/components/schemas/AppCollection',
|
|
133
|
-
},
|
|
134
|
-
},
|
|
135
|
-
},
|
|
136
|
-
},
|
|
137
|
-
},
|
|
138
|
-
security: [{ studio: [] }, {}],
|
|
139
|
-
},
|
|
140
|
-
patch: {
|
|
141
|
-
tags: ['appCollection'],
|
|
142
|
-
description: 'Update an app collection',
|
|
143
|
-
operationId: 'updateCollection',
|
|
144
|
-
parameters: [
|
|
145
|
-
{
|
|
146
|
-
name: 'appCollectionId',
|
|
147
|
-
in: 'path',
|
|
148
|
-
description: 'The id of the app collection',
|
|
149
|
-
required: true,
|
|
150
|
-
schema: {
|
|
151
|
-
$ref: '#/components/schemas/AppCollection/properties/id',
|
|
152
|
-
},
|
|
153
|
-
},
|
|
154
|
-
],
|
|
155
|
-
requestBody: {
|
|
156
|
-
description: 'The app collection to update',
|
|
157
|
-
required: true,
|
|
158
|
-
content: {
|
|
159
|
-
'multipart/form-data': {
|
|
160
|
-
schema: {
|
|
161
|
-
$ref: '#/components/schemas/AppCollectionDefinition',
|
|
162
|
-
},
|
|
163
|
-
encoding: {
|
|
164
|
-
expertProfileImage: {
|
|
165
|
-
contentType: 'image/png,image/jpeg,image/tiff,image/webp',
|
|
166
|
-
},
|
|
167
|
-
headerImage: {
|
|
168
|
-
contentType: 'image/png,image/jpeg,image/tiff,image/webp',
|
|
169
|
-
},
|
|
170
|
-
},
|
|
171
|
-
},
|
|
172
|
-
},
|
|
173
|
-
},
|
|
174
|
-
responses: {
|
|
175
|
-
200: {
|
|
176
|
-
description: 'The updated app collection',
|
|
177
|
-
content: {
|
|
178
|
-
'application/json': {
|
|
179
|
-
schema: {
|
|
180
|
-
$ref: '#/components/schemas/AppCollection',
|
|
181
|
-
},
|
|
182
|
-
},
|
|
183
|
-
},
|
|
184
|
-
},
|
|
185
|
-
},
|
|
186
|
-
security: [{ studio: [] }],
|
|
187
|
-
},
|
|
188
|
-
delete: {
|
|
189
|
-
tags: ['appCollection'],
|
|
190
|
-
description: 'Delete an app collection',
|
|
191
|
-
operationId: 'deleteCollection',
|
|
192
|
-
parameters: [
|
|
193
|
-
{
|
|
194
|
-
name: 'appCollectionId',
|
|
195
|
-
in: 'path',
|
|
196
|
-
description: 'The id of the app collection',
|
|
197
|
-
required: true,
|
|
198
|
-
schema: {
|
|
199
|
-
$ref: '#/components/schemas/AppCollection/properties/id',
|
|
200
|
-
},
|
|
201
|
-
},
|
|
202
|
-
],
|
|
203
|
-
responses: {
|
|
204
|
-
204: {
|
|
205
|
-
description: 'The app collection was deleted',
|
|
206
|
-
},
|
|
207
|
-
},
|
|
208
|
-
security: [{ studio: [] }],
|
|
209
|
-
},
|
|
210
|
-
},
|
|
211
|
-
'/api/appCollections/{appCollectionId}/headerImage': {
|
|
212
|
-
get: {
|
|
213
|
-
tags: ['appCollection'],
|
|
214
|
-
description: 'Get an app collection’s header image',
|
|
215
|
-
operationId: 'getCollectionHeaderImage',
|
|
216
|
-
parameters: [
|
|
217
|
-
{
|
|
218
|
-
name: 'appCollectionId',
|
|
219
|
-
in: 'path',
|
|
220
|
-
description: 'The id of the app collection',
|
|
221
|
-
required: true,
|
|
222
|
-
schema: {
|
|
223
|
-
$ref: '#/components/schemas/AppCollection/properties/id',
|
|
224
|
-
},
|
|
225
|
-
},
|
|
226
|
-
],
|
|
227
|
-
responses: {
|
|
228
|
-
200: {
|
|
229
|
-
description: 'The app collection’s header image',
|
|
230
|
-
content: {
|
|
231
|
-
'image/png': {},
|
|
232
|
-
'image/jpeg': {},
|
|
233
|
-
'image/tiff': {},
|
|
234
|
-
'image/webp': {},
|
|
235
|
-
},
|
|
236
|
-
},
|
|
237
|
-
},
|
|
238
|
-
security: [{ studio: [] }, {}],
|
|
239
|
-
},
|
|
240
|
-
},
|
|
241
|
-
'/api/appCollections/{appCollectionId}/expert/profileImage': {
|
|
242
|
-
get: {
|
|
243
|
-
tags: ['appCollection'],
|
|
244
|
-
description: 'Get an app collection’s expert’s profile image',
|
|
245
|
-
operationId: 'getCollectionExpertProfileImage',
|
|
246
|
-
parameters: [
|
|
247
|
-
{
|
|
248
|
-
name: 'appCollectionId',
|
|
249
|
-
in: 'path',
|
|
250
|
-
description: 'The id of the app collection',
|
|
251
|
-
required: true,
|
|
252
|
-
schema: {
|
|
253
|
-
$ref: '#/components/schemas/AppCollection/properties/id',
|
|
254
|
-
},
|
|
255
|
-
},
|
|
256
|
-
],
|
|
257
|
-
responses: {
|
|
258
|
-
200: {
|
|
259
|
-
description: 'The app collection’s expert’s profile image',
|
|
260
|
-
content: {
|
|
261
|
-
'image/png': {},
|
|
262
|
-
'image/jpeg': {},
|
|
263
|
-
'image/tiff': {},
|
|
264
|
-
'image/webp': {},
|
|
265
|
-
},
|
|
266
|
-
},
|
|
267
|
-
},
|
|
268
|
-
security: [{ studio: [] }, {}],
|
|
269
|
-
},
|
|
270
|
-
},
|
|
271
|
-
'/api/appCollections/{appCollectionId}/apps': {
|
|
272
|
-
get: {
|
|
273
|
-
tags: ['appCollection'],
|
|
274
|
-
description: 'Get a list of apps in an app collection',
|
|
275
|
-
operationId: 'queryCollectionApps',
|
|
276
|
-
parameters: [
|
|
277
|
-
{
|
|
278
|
-
name: 'appCollectionId',
|
|
279
|
-
in: 'path',
|
|
280
|
-
description: 'The id of the app collection',
|
|
281
|
-
required: true,
|
|
282
|
-
schema: {
|
|
283
|
-
$ref: '#/components/schemas/AppCollection/properties/id',
|
|
284
|
-
},
|
|
285
|
-
},
|
|
286
|
-
{
|
|
287
|
-
name: 'language',
|
|
288
|
-
in: 'query',
|
|
289
|
-
description: 'The language to include the translations of, if available',
|
|
290
|
-
schema: {
|
|
291
|
-
type: 'string',
|
|
292
|
-
},
|
|
293
|
-
},
|
|
294
|
-
],
|
|
295
|
-
responses: {
|
|
296
|
-
200: {
|
|
297
|
-
description: 'A list of apps',
|
|
298
|
-
content: {
|
|
299
|
-
'application/json': {
|
|
300
|
-
schema: {
|
|
301
|
-
type: 'array',
|
|
302
|
-
items: {
|
|
303
|
-
allOf: [
|
|
304
|
-
{ $ref: '#/components/schemas/App' },
|
|
305
|
-
{
|
|
306
|
-
type: 'object',
|
|
307
|
-
properties: {
|
|
308
|
-
pinned: {
|
|
309
|
-
type: 'string',
|
|
310
|
-
format: 'date-time',
|
|
311
|
-
nullable: true,
|
|
312
|
-
},
|
|
313
|
-
},
|
|
314
|
-
},
|
|
315
|
-
],
|
|
316
|
-
},
|
|
317
|
-
},
|
|
318
|
-
},
|
|
319
|
-
},
|
|
320
|
-
},
|
|
321
|
-
},
|
|
322
|
-
security: [{ studio: [] }, {}],
|
|
323
|
-
},
|
|
324
|
-
post: {
|
|
325
|
-
tags: ['appCollection'],
|
|
326
|
-
description: 'Add an app to an app collection',
|
|
327
|
-
operationId: 'addAppToCollection',
|
|
328
|
-
parameters: [
|
|
329
|
-
{
|
|
330
|
-
name: 'appCollectionId',
|
|
331
|
-
in: 'path',
|
|
332
|
-
description: 'The id of the app collection',
|
|
333
|
-
required: true,
|
|
334
|
-
schema: {
|
|
335
|
-
$ref: '#/components/schemas/AppCollection/properties/id',
|
|
336
|
-
},
|
|
337
|
-
},
|
|
338
|
-
],
|
|
339
|
-
requestBody: {
|
|
340
|
-
description: 'The app to add to the app collection',
|
|
341
|
-
required: true,
|
|
1
|
+
export const pathItems = {
|
|
2
|
+
get: {
|
|
3
|
+
tags: ['main', 'app-collection'],
|
|
4
|
+
description: 'Get a list of app collections',
|
|
5
|
+
operationId: 'queryAppCollections',
|
|
6
|
+
responses: {
|
|
7
|
+
200: {
|
|
8
|
+
description: 'A list of app collections',
|
|
342
9
|
content: {
|
|
343
10
|
'application/json': {
|
|
344
11
|
schema: {
|
|
345
|
-
type: '
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
$ref: '#/components/schemas/App/properties/id',
|
|
349
|
-
},
|
|
350
|
-
},
|
|
351
|
-
},
|
|
352
|
-
},
|
|
353
|
-
},
|
|
354
|
-
},
|
|
355
|
-
responses: {
|
|
356
|
-
204: {
|
|
357
|
-
description: 'The app was added to the app collection',
|
|
358
|
-
},
|
|
359
|
-
},
|
|
360
|
-
security: [{ studio: [] }, { cli: ['apps:write'] }],
|
|
361
|
-
},
|
|
362
|
-
},
|
|
363
|
-
'/api/appCollections/{appCollectionId}/apps/{appId}': {
|
|
364
|
-
delete: {
|
|
365
|
-
tags: ['appCollection'],
|
|
366
|
-
description: 'Remove an app from an app collection',
|
|
367
|
-
operationId: 'removeAppFromCollection',
|
|
368
|
-
parameters: [
|
|
369
|
-
{
|
|
370
|
-
name: 'appCollectionId',
|
|
371
|
-
in: 'path',
|
|
372
|
-
description: 'The id of the app collection',
|
|
373
|
-
required: true,
|
|
374
|
-
schema: {
|
|
375
|
-
$ref: '#/components/schemas/AppCollection/properties/id',
|
|
376
|
-
},
|
|
377
|
-
},
|
|
378
|
-
{
|
|
379
|
-
name: 'appId',
|
|
380
|
-
in: 'path',
|
|
381
|
-
description: 'The id of the app',
|
|
382
|
-
required: true,
|
|
383
|
-
schema: {
|
|
384
|
-
$ref: '#/components/schemas/AppCollection/properties/id',
|
|
385
|
-
},
|
|
386
|
-
},
|
|
387
|
-
],
|
|
388
|
-
responses: {
|
|
389
|
-
204: {
|
|
390
|
-
description: 'The app was removed from the app collection',
|
|
391
|
-
},
|
|
392
|
-
},
|
|
393
|
-
security: [{ studio: [] }],
|
|
394
|
-
},
|
|
395
|
-
},
|
|
396
|
-
'/api/appCollections/{appCollectionId}/apps/{appId}/pinned': {
|
|
397
|
-
post: {
|
|
398
|
-
tags: ['appCollection'],
|
|
399
|
-
description: 'Pin an app to an app collection',
|
|
400
|
-
operationId: 'pinAppToCollection',
|
|
401
|
-
parameters: [
|
|
402
|
-
{
|
|
403
|
-
name: 'appCollectionId',
|
|
404
|
-
in: 'path',
|
|
405
|
-
description: 'The id of the app collection to pin the app to',
|
|
406
|
-
required: true,
|
|
407
|
-
schema: { $ref: '#/components/schemas/AppCollection/properties/id' },
|
|
408
|
-
},
|
|
409
|
-
{
|
|
410
|
-
name: 'appId',
|
|
411
|
-
in: 'path',
|
|
412
|
-
description: 'The id of the app to pin',
|
|
413
|
-
required: true,
|
|
414
|
-
schema: { $ref: '#/components/schemas/App/properties/id' },
|
|
415
|
-
},
|
|
416
|
-
],
|
|
417
|
-
responses: {
|
|
418
|
-
200: {
|
|
419
|
-
description: 'The app was pinned to the app collection',
|
|
420
|
-
content: {
|
|
421
|
-
'application/json': {
|
|
422
|
-
schema: {
|
|
423
|
-
type: 'object',
|
|
424
|
-
properties: {
|
|
425
|
-
pinned: {
|
|
426
|
-
type: 'string',
|
|
427
|
-
format: 'date-time',
|
|
428
|
-
},
|
|
429
|
-
},
|
|
12
|
+
type: 'array',
|
|
13
|
+
items: {
|
|
14
|
+
$ref: '#/components/schemas/AppCollection',
|
|
430
15
|
},
|
|
431
16
|
},
|
|
432
17
|
},
|
|
433
18
|
},
|
|
434
19
|
},
|
|
435
|
-
security: [{ studio: [] }],
|
|
436
|
-
},
|
|
437
|
-
delete: {
|
|
438
|
-
tags: ['appCollection'],
|
|
439
|
-
description: 'Unpin an app from an app collection',
|
|
440
|
-
operationId: 'unpinAppFromCollection',
|
|
441
|
-
parameters: [
|
|
442
|
-
{
|
|
443
|
-
name: 'appCollectionId',
|
|
444
|
-
in: 'path',
|
|
445
|
-
description: 'The id of the app collection to unpin the app from',
|
|
446
|
-
required: true,
|
|
447
|
-
schema: { $ref: '#/components/schemas/AppCollection/properties/id' },
|
|
448
|
-
},
|
|
449
|
-
{
|
|
450
|
-
name: 'appId',
|
|
451
|
-
in: 'path',
|
|
452
|
-
description: 'The id of the app to unpin',
|
|
453
|
-
required: true,
|
|
454
|
-
schema: { $ref: '#/components/schemas/App/properties/id' },
|
|
455
|
-
},
|
|
456
|
-
],
|
|
457
|
-
responses: {
|
|
458
|
-
204: {
|
|
459
|
-
description: 'The app was unpinned from the app collection',
|
|
460
|
-
},
|
|
461
|
-
},
|
|
462
|
-
security: [{ studio: [] }],
|
|
463
20
|
},
|
|
21
|
+
security: [{ studio: [] }, {}],
|
|
464
22
|
},
|
|
465
23
|
};
|
|
466
24
|
//# sourceMappingURL=appCollections.js.map
|