@appsemble/utils 0.29.11 → 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
|
@@ -5,7 +5,8 @@ export * from './AppCollection.js';
|
|
|
5
5
|
export * from './ControllerDefinition.js';
|
|
6
6
|
export * from './ControllerActionDefinition.js';
|
|
7
7
|
export * from './AppCollectionDefinition.js';
|
|
8
|
-
export * from './
|
|
8
|
+
export * from './AppMember.js';
|
|
9
|
+
export * from './AppMemberInfo.js';
|
|
9
10
|
export * from './AppDefinition.js';
|
|
10
11
|
export * from './AppLayoutDefinition.js';
|
|
11
12
|
export * from './AppMessages.js';
|
|
@@ -96,6 +97,7 @@ export * from './ResourceViewDefinition.js';
|
|
|
96
97
|
export * from './SecurityDefaultDefinition.js';
|
|
97
98
|
export * from './SecurityDefinition.js';
|
|
98
99
|
export * from './SecurityRoleDefinition.js';
|
|
100
|
+
export * from './SecurityGuestDefinition.js';
|
|
99
101
|
export * from './ShareActionDefinition.js';
|
|
100
102
|
export * from './ScimPatchOp.js';
|
|
101
103
|
export * from './ScimSecret.js';
|
|
@@ -111,26 +113,31 @@ export * from './StorageUpdateActionDefinition.js';
|
|
|
111
113
|
export * from './StorageDeleteActionDefinition.js';
|
|
112
114
|
export * from './SubPage.js';
|
|
113
115
|
export * from './TabsPageDefinition.js';
|
|
114
|
-
export * from './
|
|
115
|
-
export * from './
|
|
116
|
-
export * from './
|
|
117
|
-
export * from './
|
|
118
|
-
export * from './
|
|
116
|
+
export * from './GroupMemberRoleUpdateActionDefinition.js';
|
|
117
|
+
export * from './GroupMemberDeleteActionDefinition.js';
|
|
118
|
+
export * from './GroupMemberQueryActionDefinition.js';
|
|
119
|
+
export * from './GroupMemberInviteActionDefinition.js';
|
|
120
|
+
export * from './GroupQueryActionDefinition.js';
|
|
119
121
|
export * from './Theme.js';
|
|
120
122
|
export * from './ThrowActionDefinition.js';
|
|
121
123
|
export * from './User.js';
|
|
124
|
+
export * from './UserInfo.js';
|
|
122
125
|
export * from './Training.js';
|
|
123
126
|
export * from './TrainingBlock.js';
|
|
124
127
|
export * from './UserEmail.js';
|
|
125
|
-
export * from './
|
|
126
|
-
export * from './
|
|
127
|
-
export * from './
|
|
128
|
-
export * from './
|
|
129
|
-
export * from './
|
|
130
|
-
export * from './
|
|
131
|
-
export * from './
|
|
128
|
+
export * from './AppMemberLogoutActionDefinition.js';
|
|
129
|
+
export * from './AppMemberLoginActionDefinition.js';
|
|
130
|
+
export * from './AppMemberRegisterActionDefinition.js';
|
|
131
|
+
export * from './AppMemberInviteActionDefinition.js';
|
|
132
|
+
export * from './AppMemberQueryActionDefinition.js';
|
|
133
|
+
export * from './AppMemberDeleteActionDefinition.js';
|
|
134
|
+
export * from './AppMemberCurrentPatchActionDefinition.js';
|
|
135
|
+
export * from './AppMemberPropertiesPatchActionDefinition.js';
|
|
136
|
+
export * from './AppMemberRoleUpdateActionDefinition.js';
|
|
132
137
|
export * from './LoopPageDefinition.js';
|
|
133
138
|
export * from './LoopPageActionsDefinition.js';
|
|
134
139
|
export * from './TabsPageActionsDefinition.js';
|
|
135
|
-
export * from './
|
|
136
|
-
export * from './
|
|
140
|
+
export * from './AppMembersDefinition.js';
|
|
141
|
+
export * from './AppMemberPropertyDefinition.js';
|
|
142
|
+
export * from './GroupMember.js';
|
|
143
|
+
export * from './AppAccount.js';
|
|
@@ -5,7 +5,8 @@ export * from './AppCollection.js';
|
|
|
5
5
|
export * from './ControllerDefinition.js';
|
|
6
6
|
export * from './ControllerActionDefinition.js';
|
|
7
7
|
export * from './AppCollectionDefinition.js';
|
|
8
|
-
export * from './
|
|
8
|
+
export * from './AppMember.js';
|
|
9
|
+
export * from './AppMemberInfo.js';
|
|
9
10
|
export * from './AppDefinition.js';
|
|
10
11
|
export * from './AppLayoutDefinition.js';
|
|
11
12
|
export * from './AppMessages.js';
|
|
@@ -96,6 +97,7 @@ export * from './ResourceViewDefinition.js';
|
|
|
96
97
|
export * from './SecurityDefaultDefinition.js';
|
|
97
98
|
export * from './SecurityDefinition.js';
|
|
98
99
|
export * from './SecurityRoleDefinition.js';
|
|
100
|
+
export * from './SecurityGuestDefinition.js';
|
|
99
101
|
export * from './ShareActionDefinition.js';
|
|
100
102
|
export * from './ScimPatchOp.js';
|
|
101
103
|
export * from './ScimSecret.js';
|
|
@@ -111,27 +113,32 @@ export * from './StorageUpdateActionDefinition.js';
|
|
|
111
113
|
export * from './StorageDeleteActionDefinition.js';
|
|
112
114
|
export * from './SubPage.js';
|
|
113
115
|
export * from './TabsPageDefinition.js';
|
|
114
|
-
export * from './
|
|
115
|
-
export * from './
|
|
116
|
-
export * from './
|
|
117
|
-
export * from './
|
|
118
|
-
export * from './
|
|
116
|
+
export * from './GroupMemberRoleUpdateActionDefinition.js';
|
|
117
|
+
export * from './GroupMemberDeleteActionDefinition.js';
|
|
118
|
+
export * from './GroupMemberQueryActionDefinition.js';
|
|
119
|
+
export * from './GroupMemberInviteActionDefinition.js';
|
|
120
|
+
export * from './GroupQueryActionDefinition.js';
|
|
119
121
|
export * from './Theme.js';
|
|
120
122
|
export * from './ThrowActionDefinition.js';
|
|
121
123
|
export * from './User.js';
|
|
124
|
+
export * from './UserInfo.js';
|
|
122
125
|
export * from './Training.js';
|
|
123
126
|
export * from './TrainingBlock.js';
|
|
124
127
|
export * from './UserEmail.js';
|
|
125
|
-
export * from './
|
|
126
|
-
export * from './
|
|
127
|
-
export * from './
|
|
128
|
-
export * from './
|
|
129
|
-
export * from './
|
|
130
|
-
export * from './
|
|
131
|
-
export * from './
|
|
128
|
+
export * from './AppMemberLogoutActionDefinition.js';
|
|
129
|
+
export * from './AppMemberLoginActionDefinition.js';
|
|
130
|
+
export * from './AppMemberRegisterActionDefinition.js';
|
|
131
|
+
export * from './AppMemberInviteActionDefinition.js';
|
|
132
|
+
export * from './AppMemberQueryActionDefinition.js';
|
|
133
|
+
export * from './AppMemberDeleteActionDefinition.js';
|
|
134
|
+
export * from './AppMemberCurrentPatchActionDefinition.js';
|
|
135
|
+
export * from './AppMemberPropertiesPatchActionDefinition.js';
|
|
136
|
+
export * from './AppMemberRoleUpdateActionDefinition.js';
|
|
132
137
|
export * from './LoopPageDefinition.js';
|
|
133
138
|
export * from './LoopPageActionsDefinition.js';
|
|
134
139
|
export * from './TabsPageActionsDefinition.js';
|
|
135
|
-
export * from './
|
|
136
|
-
export * from './
|
|
140
|
+
export * from './AppMembersDefinition.js';
|
|
141
|
+
export * from './AppMemberPropertyDefinition.js';
|
|
142
|
+
export * from './GroupMember.js';
|
|
143
|
+
export * from './AppAccount.js';
|
|
137
144
|
//# sourceMappingURL=index.js.map
|
|
@@ -3,8 +3,8 @@ const scopes = {
|
|
|
3
3
|
openid: 'Login the user to the requesting app using OpenID.',
|
|
4
4
|
profile: 'Read the user profile, including the display name and profile picture.',
|
|
5
5
|
'resources:manage': 'Manage app resources on behalf of a user.',
|
|
6
|
-
'
|
|
7
|
-
'
|
|
6
|
+
'groups:read': 'Read the groups the user is a part of.',
|
|
7
|
+
'groups:write': 'Add new members to a group.',
|
|
8
8
|
};
|
|
9
9
|
export const app = {
|
|
10
10
|
type: 'oauth2',
|
|
@@ -17,13 +17,13 @@ export const app = {
|
|
|
17
17
|
flows: {
|
|
18
18
|
authorizationCode: {
|
|
19
19
|
authorizationUrl: '/connect/authorize',
|
|
20
|
-
tokenUrl: '/oauth2/token',
|
|
21
|
-
refreshUrl: '/oauth2/token',
|
|
20
|
+
tokenUrl: '/apps/{appId}/auth/oauth2/token',
|
|
21
|
+
refreshUrl: '/apps/{appId}/auth/oauth2/token',
|
|
22
22
|
scopes,
|
|
23
23
|
},
|
|
24
24
|
password: {
|
|
25
|
-
tokenUrl: '/oauth2/token',
|
|
26
|
-
refreshUrl: '/oauth2/token',
|
|
25
|
+
tokenUrl: '/apps/{appId}/auth/oauth2/token',
|
|
26
|
+
refreshUrl: '/apps/{appId}/auth/oauth2/token',
|
|
27
27
|
scopes,
|
|
28
28
|
},
|
|
29
29
|
},
|
|
@@ -7,7 +7,7 @@ export const cli = {
|
|
|
7
7
|
`,
|
|
8
8
|
flows: {
|
|
9
9
|
clientCredentials: {
|
|
10
|
-
tokenUrl: '/oauth2/token',
|
|
10
|
+
tokenUrl: '/auth/oauth2/token',
|
|
11
11
|
scopes: {
|
|
12
12
|
'apps:export': 'Export apps as zip files',
|
|
13
13
|
'apps:write': 'Create and update apps',
|
|
@@ -18,8 +18,8 @@ export const cli = {
|
|
|
18
18
|
'resources:read': 'Read app resources on behalf of a user.',
|
|
19
19
|
'resources:write': 'Modify app resources on behalf of a user.',
|
|
20
20
|
'assets:write': 'Create app assets on behalf of a user.',
|
|
21
|
-
'
|
|
22
|
-
'
|
|
21
|
+
'groups:read': 'Read information about the user’s groups.',
|
|
22
|
+
'groups:write': 'Read information about the user’s groups.',
|
|
23
23
|
},
|
|
24
24
|
},
|
|
25
25
|
},
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
export const pathItems = {
|
|
2
|
+
post: {
|
|
3
|
+
tags: ['main', 'app-collection', 'app'],
|
|
4
|
+
description: 'Pin an app to an app collection',
|
|
5
|
+
operationId: 'pinAppToAppCollection',
|
|
6
|
+
parameters: [
|
|
7
|
+
{
|
|
8
|
+
name: 'appCollectionId',
|
|
9
|
+
in: 'path',
|
|
10
|
+
description: 'The id of the app collection to pin the app to',
|
|
11
|
+
required: true,
|
|
12
|
+
schema: { $ref: '#/components/schemas/AppCollection/properties/id' },
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
name: 'appId',
|
|
16
|
+
in: 'path',
|
|
17
|
+
description: 'The id of the app to pin',
|
|
18
|
+
required: true,
|
|
19
|
+
schema: { $ref: '#/components/schemas/App/properties/id' },
|
|
20
|
+
},
|
|
21
|
+
],
|
|
22
|
+
responses: {
|
|
23
|
+
200: {
|
|
24
|
+
description: 'The app was pinned to the app collection',
|
|
25
|
+
content: {
|
|
26
|
+
'application/json': {
|
|
27
|
+
schema: {
|
|
28
|
+
type: 'object',
|
|
29
|
+
properties: {
|
|
30
|
+
pinned: {
|
|
31
|
+
type: 'string',
|
|
32
|
+
format: 'date-time',
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
security: [{ studio: [] }],
|
|
41
|
+
},
|
|
42
|
+
delete: {
|
|
43
|
+
tags: ['main', 'app-collection', 'app'],
|
|
44
|
+
description: 'Unpin an app from an app collection',
|
|
45
|
+
operationId: 'unpinAppFromAppCollection',
|
|
46
|
+
parameters: [
|
|
47
|
+
{
|
|
48
|
+
name: 'appCollectionId',
|
|
49
|
+
in: 'path',
|
|
50
|
+
description: 'The id of the app collection to unpin the app from',
|
|
51
|
+
required: true,
|
|
52
|
+
schema: { $ref: '#/components/schemas/AppCollection/properties/id' },
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
name: 'appId',
|
|
56
|
+
in: 'path',
|
|
57
|
+
description: 'The id of the app to unpin',
|
|
58
|
+
required: true,
|
|
59
|
+
schema: { $ref: '#/components/schemas/App/properties/id' },
|
|
60
|
+
},
|
|
61
|
+
],
|
|
62
|
+
responses: {
|
|
63
|
+
204: {
|
|
64
|
+
description: 'The app was unpinned from the app collection',
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
security: [{ studio: [] }],
|
|
68
|
+
},
|
|
69
|
+
};
|
|
70
|
+
//# sourceMappingURL=pinned.js.map
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export const pathItems = {
|
|
2
|
+
delete: {
|
|
3
|
+
tags: ['main', 'app-collection', 'app'],
|
|
4
|
+
description: 'Remove an app from an app collection',
|
|
5
|
+
operationId: 'removeAppFromAppCollection',
|
|
6
|
+
parameters: [
|
|
7
|
+
{
|
|
8
|
+
name: 'appCollectionId',
|
|
9
|
+
in: 'path',
|
|
10
|
+
description: 'The id of the app collection',
|
|
11
|
+
required: true,
|
|
12
|
+
schema: {
|
|
13
|
+
$ref: '#/components/schemas/AppCollection/properties/id',
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
name: 'appId',
|
|
18
|
+
in: 'path',
|
|
19
|
+
description: 'The id of the app',
|
|
20
|
+
required: true,
|
|
21
|
+
schema: {
|
|
22
|
+
$ref: '#/components/schemas/AppCollection/properties/id',
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
],
|
|
26
|
+
responses: {
|
|
27
|
+
204: {
|
|
28
|
+
description: 'The app was removed from the app collection',
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
security: [{ studio: [] }],
|
|
32
|
+
},
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=appId.js.map
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
export const pathItems = {
|
|
2
|
+
get: {
|
|
3
|
+
tags: ['main', 'app-collection', 'app'],
|
|
4
|
+
description: 'Get a list of apps in an app collection',
|
|
5
|
+
operationId: 'queryAppCollectionApps',
|
|
6
|
+
parameters: [
|
|
7
|
+
{
|
|
8
|
+
name: 'appCollectionId',
|
|
9
|
+
in: 'path',
|
|
10
|
+
description: 'The id of the app collection',
|
|
11
|
+
required: true,
|
|
12
|
+
schema: {
|
|
13
|
+
$ref: '#/components/schemas/AppCollection/properties/id',
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
name: 'language',
|
|
18
|
+
in: 'query',
|
|
19
|
+
description: 'The language to include the translations of, if available',
|
|
20
|
+
schema: {
|
|
21
|
+
type: 'string',
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
],
|
|
25
|
+
responses: {
|
|
26
|
+
200: {
|
|
27
|
+
description: 'A list of apps',
|
|
28
|
+
content: {
|
|
29
|
+
'application/json': {
|
|
30
|
+
schema: {
|
|
31
|
+
type: 'array',
|
|
32
|
+
items: {
|
|
33
|
+
allOf: [
|
|
34
|
+
{ $ref: '#/components/schemas/App' },
|
|
35
|
+
{
|
|
36
|
+
type: 'object',
|
|
37
|
+
properties: {
|
|
38
|
+
pinned: {
|
|
39
|
+
type: 'string',
|
|
40
|
+
format: 'date-time',
|
|
41
|
+
nullable: true,
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
],
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
security: [{ studio: [] }, {}],
|
|
53
|
+
},
|
|
54
|
+
post: {
|
|
55
|
+
tags: ['main', 'app-collection', 'app'],
|
|
56
|
+
description: 'Add an app to an app collection',
|
|
57
|
+
operationId: 'addAppToAppCollection',
|
|
58
|
+
parameters: [
|
|
59
|
+
{
|
|
60
|
+
name: 'appCollectionId',
|
|
61
|
+
in: 'path',
|
|
62
|
+
description: 'The id of the app collection',
|
|
63
|
+
required: true,
|
|
64
|
+
schema: {
|
|
65
|
+
$ref: '#/components/schemas/AppCollection/properties/id',
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
],
|
|
69
|
+
requestBody: {
|
|
70
|
+
description: 'The app to add to the app collection',
|
|
71
|
+
required: true,
|
|
72
|
+
content: {
|
|
73
|
+
'application/json': {
|
|
74
|
+
schema: {
|
|
75
|
+
type: 'object',
|
|
76
|
+
properties: {
|
|
77
|
+
AppId: {
|
|
78
|
+
$ref: '#/components/schemas/App/properties/id',
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
},
|
|
85
|
+
responses: {
|
|
86
|
+
204: {
|
|
87
|
+
description: 'The app was added to the app collection',
|
|
88
|
+
},
|
|
89
|
+
},
|
|
90
|
+
security: [{ studio: [] }, { cli: ['apps:write'] }],
|
|
91
|
+
},
|
|
92
|
+
};
|
|
93
|
+
//# sourceMappingURL=apps.js.map
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export const pathItems = {
|
|
2
|
+
get: {
|
|
3
|
+
tags: ['main', 'app-collection'],
|
|
4
|
+
description: 'Get an app collection’s expert’s profile image',
|
|
5
|
+
operationId: 'getAppCollectionExpertProfileImage',
|
|
6
|
+
parameters: [
|
|
7
|
+
{
|
|
8
|
+
name: 'appCollectionId',
|
|
9
|
+
in: 'path',
|
|
10
|
+
description: 'The id of the app collection',
|
|
11
|
+
required: true,
|
|
12
|
+
schema: {
|
|
13
|
+
$ref: '#/components/schemas/AppCollection/properties/id',
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
],
|
|
17
|
+
responses: {
|
|
18
|
+
200: {
|
|
19
|
+
description: 'The app collection’s expert’s profile image',
|
|
20
|
+
content: {
|
|
21
|
+
'image/png': {},
|
|
22
|
+
'image/jpeg': {},
|
|
23
|
+
'image/tiff': {},
|
|
24
|
+
'image/webp': {},
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
security: [{ studio: [] }, {}],
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=profileImage.js.map
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export const pathItems = {
|
|
2
|
+
get: {
|
|
3
|
+
tags: ['main', 'app-collection'],
|
|
4
|
+
description: 'Get an app collection’s header image',
|
|
5
|
+
operationId: 'getAppCollectionHeaderImage',
|
|
6
|
+
parameters: [
|
|
7
|
+
{
|
|
8
|
+
name: 'appCollectionId',
|
|
9
|
+
in: 'path',
|
|
10
|
+
description: 'The id of the app collection',
|
|
11
|
+
required: true,
|
|
12
|
+
schema: {
|
|
13
|
+
$ref: '#/components/schemas/AppCollection/properties/id',
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
],
|
|
17
|
+
responses: {
|
|
18
|
+
200: {
|
|
19
|
+
description: 'The app collection’s header image',
|
|
20
|
+
content: {
|
|
21
|
+
'image/png': {},
|
|
22
|
+
'image/jpeg': {},
|
|
23
|
+
'image/tiff': {},
|
|
24
|
+
'image/webp': {},
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
security: [{ studio: [] }, {}],
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=headerImage.js.map
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
export const pathItems = {
|
|
2
|
+
get: {
|
|
3
|
+
tags: ['main', 'app-collection'],
|
|
4
|
+
description: 'Get an app collection',
|
|
5
|
+
operationId: 'getAppCollection',
|
|
6
|
+
parameters: [
|
|
7
|
+
{
|
|
8
|
+
name: 'appCollectionId',
|
|
9
|
+
in: 'path',
|
|
10
|
+
description: 'The id of the app collection',
|
|
11
|
+
required: true,
|
|
12
|
+
schema: {
|
|
13
|
+
$ref: '#/components/schemas/AppCollection/properties/id',
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
],
|
|
17
|
+
responses: {
|
|
18
|
+
200: {
|
|
19
|
+
description: 'An app collection',
|
|
20
|
+
content: {
|
|
21
|
+
'application/json': {
|
|
22
|
+
schema: {
|
|
23
|
+
$ref: '#/components/schemas/AppCollection',
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
security: [{ studio: [] }, {}],
|
|
30
|
+
},
|
|
31
|
+
patch: {
|
|
32
|
+
tags: ['main', 'app-collection'],
|
|
33
|
+
description: 'Update an app collection',
|
|
34
|
+
operationId: 'updateAppCollection',
|
|
35
|
+
parameters: [
|
|
36
|
+
{
|
|
37
|
+
name: 'appCollectionId',
|
|
38
|
+
in: 'path',
|
|
39
|
+
description: 'The id of the app collection',
|
|
40
|
+
required: true,
|
|
41
|
+
schema: {
|
|
42
|
+
$ref: '#/components/schemas/AppCollection/properties/id',
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
],
|
|
46
|
+
requestBody: {
|
|
47
|
+
description: 'The app collection to update',
|
|
48
|
+
required: true,
|
|
49
|
+
content: {
|
|
50
|
+
'multipart/form-data': {
|
|
51
|
+
schema: {
|
|
52
|
+
$ref: '#/components/schemas/AppCollectionDefinition',
|
|
53
|
+
},
|
|
54
|
+
encoding: {
|
|
55
|
+
expertProfileImage: {
|
|
56
|
+
contentType: 'image/png,image/jpeg,image/tiff,image/webp',
|
|
57
|
+
},
|
|
58
|
+
headerImage: {
|
|
59
|
+
contentType: 'image/png,image/jpeg,image/tiff,image/webp',
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
responses: {
|
|
66
|
+
200: {
|
|
67
|
+
description: 'The updated app collection',
|
|
68
|
+
content: {
|
|
69
|
+
'application/json': {
|
|
70
|
+
schema: {
|
|
71
|
+
$ref: '#/components/schemas/AppCollection',
|
|
72
|
+
},
|
|
73
|
+
},
|
|
74
|
+
},
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
security: [{ studio: [] }],
|
|
78
|
+
},
|
|
79
|
+
delete: {
|
|
80
|
+
tags: ['main', 'app-collection'],
|
|
81
|
+
description: 'Delete an app collection',
|
|
82
|
+
operationId: 'deleteAppCollection',
|
|
83
|
+
parameters: [
|
|
84
|
+
{
|
|
85
|
+
name: 'appCollectionId',
|
|
86
|
+
in: 'path',
|
|
87
|
+
description: 'The id of the app collection',
|
|
88
|
+
required: true,
|
|
89
|
+
schema: {
|
|
90
|
+
$ref: '#/components/schemas/AppCollection/properties/id',
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
],
|
|
94
|
+
responses: {
|
|
95
|
+
204: {
|
|
96
|
+
description: 'The app collection was deleted',
|
|
97
|
+
},
|
|
98
|
+
},
|
|
99
|
+
security: [{ studio: [] }],
|
|
100
|
+
},
|
|
101
|
+
};
|
|
102
|
+
//# sourceMappingURL=appCollectionId.js.map
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export const pathItems = {
|
|
2
|
+
parameters: [
|
|
3
|
+
{
|
|
4
|
+
name: 'token',
|
|
5
|
+
in: 'path',
|
|
6
|
+
description: 'The token of the invite.',
|
|
7
|
+
required: true,
|
|
8
|
+
schema: { type: 'string' },
|
|
9
|
+
},
|
|
10
|
+
],
|
|
11
|
+
post: {
|
|
12
|
+
tags: ['app-invite'],
|
|
13
|
+
description: 'Respond to a given invitation.',
|
|
14
|
+
operationId: 'respondAppInvite',
|
|
15
|
+
requestBody: {
|
|
16
|
+
description: `The response of the invitation.
|
|
17
|
+
|
|
18
|
+
If response is true, user will join the app. If response is false, the user declines the invite and the invite is removed.`,
|
|
19
|
+
required: true,
|
|
20
|
+
content: {
|
|
21
|
+
'application/json': {
|
|
22
|
+
schema: {
|
|
23
|
+
type: 'object',
|
|
24
|
+
required: ['response'],
|
|
25
|
+
properties: {
|
|
26
|
+
response: {
|
|
27
|
+
type: 'boolean',
|
|
28
|
+
},
|
|
29
|
+
password: {
|
|
30
|
+
type: 'string',
|
|
31
|
+
minLength: 8,
|
|
32
|
+
},
|
|
33
|
+
timezone: {
|
|
34
|
+
enum: Intl.supportedValuesOf('timeZone'),
|
|
35
|
+
},
|
|
36
|
+
locale: {
|
|
37
|
+
type: 'string',
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
responses: {
|
|
45
|
+
204: {
|
|
46
|
+
description: 'The response has been processed.',
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
};
|
|
51
|
+
//# sourceMappingURL=respond.js.map
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export const pathItems = {
|
|
2
|
+
parameters: [
|
|
3
|
+
{
|
|
4
|
+
name: 'token',
|
|
5
|
+
in: 'path',
|
|
6
|
+
description: 'The token of the invite.',
|
|
7
|
+
required: true,
|
|
8
|
+
schema: { type: 'string' },
|
|
9
|
+
},
|
|
10
|
+
],
|
|
11
|
+
get: {
|
|
12
|
+
tags: ['app-invite'],
|
|
13
|
+
description: 'Fetch information about an invite.',
|
|
14
|
+
operationId: 'getAppInvite',
|
|
15
|
+
responses: {
|
|
16
|
+
200: {
|
|
17
|
+
description: 'An invite response',
|
|
18
|
+
$ref: '#/components/responses/invite',
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=token.js.map
|