@appsemble/utils 0.29.11 → 0.30.2
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/BasePageDefinition.js +4 -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/PageActionsDefinition.d.ts +2 -0
- package/api/components/schemas/{TabsPageActionsDefinition.js → PageActionsDefinition.js} +2 -2
- package/api/components/schemas/PageDefinition.js +3 -0
- 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/TabsPageDefinition.js +1 -1
- 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 +23 -16
- package/api/components/schemas/index.js +23 -16
- 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 +42 -14
- package/index.d.ts +2 -2
- package/index.js +2 -2
- package/package.json +2 -2
- package/reference-schemas/remappers/arrays.js +31 -0
- package/reference-schemas/remappers/data.js +23 -38
- package/reference-schemas/remappers/unsorted.js +18 -0
- package/remap.d.ts +3 -7
- package/remap.js +24 -2
- package/remap.test.js +79 -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/TabsPageActionsDefinition.d.ts +0 -2
- 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
|
@@ -1,478 +1,72 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
200: {
|
|
10
|
-
description: 'The list of of organizations',
|
|
11
|
-
content: {
|
|
12
|
-
'application/json': {
|
|
13
|
-
schema: {
|
|
14
|
-
type: 'array',
|
|
15
|
-
items: {
|
|
16
|
-
$ref: '#/components/schemas/Organization',
|
|
17
|
-
},
|
|
18
|
-
},
|
|
19
|
-
},
|
|
20
|
-
},
|
|
21
|
-
},
|
|
22
|
-
},
|
|
23
|
-
},
|
|
24
|
-
post: {
|
|
25
|
-
tags: ['organization'],
|
|
26
|
-
description: 'Create a new organization.',
|
|
27
|
-
operationId: 'createOrganization',
|
|
28
|
-
requestBody: {
|
|
29
|
-
description: 'The organization to create',
|
|
30
|
-
required: true,
|
|
31
|
-
content: {
|
|
32
|
-
'multipart/form-data': {
|
|
33
|
-
schema: {
|
|
34
|
-
type: 'object',
|
|
35
|
-
properties: {
|
|
36
|
-
id: {
|
|
37
|
-
$ref: '#/components/schemas/Organization/properties/id',
|
|
38
|
-
},
|
|
39
|
-
name: {
|
|
40
|
-
$ref: '#/components/schemas/Organization/properties/name',
|
|
41
|
-
},
|
|
42
|
-
description: {
|
|
43
|
-
$ref: '#/components/schemas/Organization/properties/description',
|
|
44
|
-
},
|
|
45
|
-
email: {
|
|
46
|
-
$ref: '#/components/schemas/Organization/properties/email',
|
|
47
|
-
},
|
|
48
|
-
website: {
|
|
49
|
-
$ref: '#/components/schemas/Organization/properties/website',
|
|
50
|
-
},
|
|
51
|
-
icon: {
|
|
52
|
-
type: 'string',
|
|
53
|
-
format: 'binary',
|
|
54
|
-
description: 'The organization icon.',
|
|
55
|
-
},
|
|
56
|
-
},
|
|
57
|
-
},
|
|
58
|
-
encoding: {
|
|
59
|
-
icon: {
|
|
60
|
-
contentType: 'image/png,image/jpeg,image/tiff,image/webp',
|
|
61
|
-
},
|
|
62
|
-
},
|
|
63
|
-
},
|
|
64
|
-
},
|
|
65
|
-
},
|
|
66
|
-
responses: {
|
|
67
|
-
201: {
|
|
68
|
-
$ref: '#/components/responses/organization',
|
|
69
|
-
},
|
|
70
|
-
},
|
|
71
|
-
security: [{ studio: [] }, { cli: ['organizations:write'] }],
|
|
72
|
-
},
|
|
73
|
-
},
|
|
74
|
-
'/api/organizations/{organizationId}': {
|
|
75
|
-
parameters: [{ $ref: '#/components/parameters/organizationId' }],
|
|
76
|
-
get: {
|
|
77
|
-
tags: ['organization'],
|
|
78
|
-
description: 'Get a single organization.',
|
|
79
|
-
operationId: 'getOrganization',
|
|
80
|
-
responses: {
|
|
81
|
-
200: {
|
|
82
|
-
$ref: '#/components/responses/organization',
|
|
83
|
-
},
|
|
84
|
-
},
|
|
85
|
-
},
|
|
86
|
-
patch: {
|
|
87
|
-
tags: ['organization'],
|
|
88
|
-
description: 'Update an organization',
|
|
89
|
-
operationId: 'patchOrganization',
|
|
90
|
-
requestBody: {
|
|
91
|
-
content: {
|
|
92
|
-
'multipart/form-data': {
|
|
93
|
-
schema: {
|
|
94
|
-
type: 'object',
|
|
95
|
-
properties: {
|
|
96
|
-
name: {
|
|
97
|
-
$ref: '#/components/schemas/Organization/properties/name',
|
|
98
|
-
},
|
|
99
|
-
description: {
|
|
100
|
-
$ref: '#/components/schemas/Organization/properties/description',
|
|
101
|
-
},
|
|
102
|
-
email: {
|
|
103
|
-
$ref: '#/components/schemas/Organization/properties/email',
|
|
104
|
-
},
|
|
105
|
-
website: {
|
|
106
|
-
$ref: '#/components/schemas/Organization/properties/website',
|
|
107
|
-
},
|
|
108
|
-
icon: {
|
|
109
|
-
type: 'string',
|
|
110
|
-
format: 'binary',
|
|
111
|
-
description: 'The organization icon.',
|
|
112
|
-
},
|
|
113
|
-
},
|
|
114
|
-
},
|
|
115
|
-
encoding: {
|
|
116
|
-
icon: {
|
|
117
|
-
contentType: 'image/png,image/jpeg,image/tiff,image/webp',
|
|
118
|
-
},
|
|
119
|
-
},
|
|
120
|
-
},
|
|
121
|
-
},
|
|
122
|
-
},
|
|
123
|
-
responses: {
|
|
124
|
-
200: { $ref: '#/components/responses/organization' },
|
|
125
|
-
},
|
|
126
|
-
security: [{ studio: [] }, { cli: ['organizations:write'] }],
|
|
127
|
-
},
|
|
128
|
-
delete: {
|
|
129
|
-
tags: ['organization'],
|
|
130
|
-
description: 'Delete an organization.',
|
|
131
|
-
operationId: 'deleteOrganization',
|
|
132
|
-
responses: {
|
|
133
|
-
200: {
|
|
134
|
-
description: 'successfully deleted organization',
|
|
135
|
-
},
|
|
136
|
-
},
|
|
137
|
-
security: [{ studio: [] }, {}],
|
|
138
|
-
},
|
|
139
|
-
},
|
|
140
|
-
'/api/organizations/{organizationId}/icon': {
|
|
141
|
-
parameters: [{ $ref: '#/components/parameters/organizationId' }],
|
|
142
|
-
get: {
|
|
143
|
-
tags: ['organization'],
|
|
144
|
-
description: 'Get the organization icon.',
|
|
145
|
-
operationId: 'getOrganizationIcon',
|
|
146
|
-
responses: {
|
|
147
|
-
200: {
|
|
148
|
-
description: 'The icon that represents the organization.',
|
|
149
|
-
},
|
|
150
|
-
},
|
|
151
|
-
},
|
|
152
|
-
},
|
|
153
|
-
'/api/organizations/{organizationId}/members': {
|
|
154
|
-
parameters: [{ $ref: '#/components/parameters/organizationId' }],
|
|
155
|
-
get: {
|
|
156
|
-
tags: ['organization'],
|
|
157
|
-
description: 'Get a list of organization members.',
|
|
158
|
-
operationId: 'getMembers',
|
|
159
|
-
responses: {
|
|
160
|
-
200: {
|
|
161
|
-
description: 'The list of all members.',
|
|
162
|
-
content: {
|
|
163
|
-
'application/json': {
|
|
164
|
-
schema: {
|
|
165
|
-
type: 'array',
|
|
166
|
-
items: {
|
|
167
|
-
$ref: '#/components/schemas/OrganizationMember',
|
|
168
|
-
},
|
|
169
|
-
},
|
|
170
|
-
},
|
|
171
|
-
},
|
|
172
|
-
},
|
|
173
|
-
},
|
|
174
|
-
security: [{ studio: [] }],
|
|
175
|
-
},
|
|
176
|
-
},
|
|
177
|
-
'/api/organizations/{organizationId}/invites/resend': {
|
|
178
|
-
parameters: [{ $ref: '#/components/parameters/organizationId' }],
|
|
179
|
-
post: {
|
|
180
|
-
tags: ['organization'],
|
|
181
|
-
description: 'Request to resend an invitation.',
|
|
182
|
-
operationId: 'resendInvitation',
|
|
183
|
-
requestBody: {
|
|
184
|
-
description: 'The email of the person to resend the invitation to.',
|
|
185
|
-
required: true,
|
|
186
|
-
content: {
|
|
187
|
-
'application/json': {
|
|
188
|
-
schema: {
|
|
189
|
-
type: 'object',
|
|
190
|
-
required: ['email'],
|
|
191
|
-
properties: {
|
|
192
|
-
email: {
|
|
193
|
-
type: 'string',
|
|
194
|
-
},
|
|
195
|
-
},
|
|
196
|
-
},
|
|
197
|
-
},
|
|
198
|
-
},
|
|
199
|
-
},
|
|
200
|
-
responses: {
|
|
201
|
-
204: {
|
|
202
|
-
description: 'The invite has been sent.',
|
|
203
|
-
},
|
|
204
|
-
},
|
|
205
|
-
security: [{ studio: [] }],
|
|
206
|
-
},
|
|
207
|
-
},
|
|
208
|
-
'/api/organizations/{organizationId}/join': {
|
|
209
|
-
parameters: [{ $ref: '#/components/parameters/organizationId' }],
|
|
210
|
-
post: {
|
|
211
|
-
tags: ['organization'],
|
|
212
|
-
description: 'Respond to a given invitation.',
|
|
213
|
-
operationId: 'respondInvitation',
|
|
214
|
-
requestBody: {
|
|
215
|
-
description: `The response of the invitation.
|
|
216
|
-
|
|
217
|
-
If response is true, user will join the organization. If response is false, the user declines the invite and the invite is removed.`,
|
|
218
|
-
required: true,
|
|
219
|
-
content: {
|
|
220
|
-
'application/json': {
|
|
221
|
-
schema: {
|
|
222
|
-
type: 'object',
|
|
223
|
-
required: ['response', 'token'],
|
|
224
|
-
properties: {
|
|
225
|
-
response: {
|
|
226
|
-
type: 'boolean',
|
|
227
|
-
},
|
|
228
|
-
token: {
|
|
229
|
-
type: 'string',
|
|
230
|
-
},
|
|
231
|
-
},
|
|
232
|
-
},
|
|
233
|
-
},
|
|
234
|
-
},
|
|
235
|
-
},
|
|
236
|
-
responses: {
|
|
237
|
-
204: {
|
|
238
|
-
description: 'The response has been processed.',
|
|
239
|
-
},
|
|
240
|
-
},
|
|
241
|
-
security: [{ studio: [] }],
|
|
242
|
-
},
|
|
243
|
-
},
|
|
244
|
-
'/api/organizations/{organizationId}/invites': {
|
|
245
|
-
parameters: [{ $ref: '#/components/parameters/organizationId' }],
|
|
246
|
-
get: {
|
|
247
|
-
tags: ['organization'],
|
|
248
|
-
description: 'Get a list of invited organization members.',
|
|
249
|
-
operationId: 'getInvites',
|
|
250
|
-
responses: {
|
|
251
|
-
200: {
|
|
252
|
-
description: 'The list of all invites.',
|
|
253
|
-
content: {
|
|
254
|
-
'application/json': {
|
|
255
|
-
schema: {
|
|
256
|
-
type: 'array',
|
|
257
|
-
items: {
|
|
258
|
-
type: 'object',
|
|
259
|
-
properties: {
|
|
260
|
-
email: {
|
|
261
|
-
type: 'string',
|
|
262
|
-
format: 'email',
|
|
263
|
-
},
|
|
264
|
-
role: {
|
|
265
|
-
type: 'string',
|
|
266
|
-
enum: Object.keys(roles),
|
|
267
|
-
},
|
|
268
|
-
},
|
|
269
|
-
},
|
|
270
|
-
},
|
|
271
|
-
},
|
|
272
|
-
},
|
|
273
|
-
},
|
|
274
|
-
},
|
|
275
|
-
security: [{ studio: [] }],
|
|
276
|
-
},
|
|
277
|
-
post: {
|
|
278
|
-
tags: ['organization'],
|
|
279
|
-
description: 'Invite a new member to the organization that matches the given id.',
|
|
280
|
-
operationId: 'inviteMembers',
|
|
281
|
-
requestBody: {
|
|
282
|
-
description: 'The member to invite.',
|
|
283
|
-
required: true,
|
|
1
|
+
export const pathItems = {
|
|
2
|
+
get: {
|
|
3
|
+
tags: ['main', 'organization'],
|
|
4
|
+
description: 'Fetch the list of organizations.',
|
|
5
|
+
operationId: 'getOrganizations',
|
|
6
|
+
responses: {
|
|
7
|
+
200: {
|
|
8
|
+
description: 'The list of of organizations',
|
|
284
9
|
content: {
|
|
285
10
|
'application/json': {
|
|
286
11
|
schema: {
|
|
287
12
|
type: 'array',
|
|
288
13
|
items: {
|
|
289
|
-
|
|
290
|
-
required: ['email', 'role'],
|
|
291
|
-
properties: {
|
|
292
|
-
email: {
|
|
293
|
-
type: 'string',
|
|
294
|
-
format: 'email',
|
|
295
|
-
},
|
|
296
|
-
role: {
|
|
297
|
-
type: 'string',
|
|
298
|
-
enum: Object.keys(roles),
|
|
299
|
-
},
|
|
300
|
-
},
|
|
301
|
-
},
|
|
302
|
-
},
|
|
303
|
-
},
|
|
304
|
-
},
|
|
305
|
-
},
|
|
306
|
-
responses: {
|
|
307
|
-
201: {
|
|
308
|
-
description: 'The newly invited member.',
|
|
309
|
-
content: {
|
|
310
|
-
'application/json': {
|
|
311
|
-
schema: {
|
|
312
|
-
$ref: '#/components/schemas/User',
|
|
313
|
-
},
|
|
314
|
-
},
|
|
315
|
-
},
|
|
316
|
-
},
|
|
317
|
-
},
|
|
318
|
-
security: [{ studio: [] }],
|
|
319
|
-
},
|
|
320
|
-
delete: {
|
|
321
|
-
tags: ['organization'],
|
|
322
|
-
description: 'Revoke a member invitation.',
|
|
323
|
-
operationId: 'removeInvite',
|
|
324
|
-
requestBody: {
|
|
325
|
-
description: 'The email address to revoke the invite of.',
|
|
326
|
-
required: true,
|
|
327
|
-
content: {
|
|
328
|
-
'application/json': {
|
|
329
|
-
schema: {
|
|
330
|
-
type: 'object',
|
|
331
|
-
required: ['email'],
|
|
332
|
-
properties: {
|
|
333
|
-
email: {
|
|
334
|
-
type: 'string',
|
|
335
|
-
format: 'email',
|
|
336
|
-
},
|
|
14
|
+
$ref: '#/components/schemas/Organization',
|
|
337
15
|
},
|
|
338
16
|
},
|
|
339
17
|
},
|
|
340
18
|
},
|
|
341
19
|
},
|
|
342
|
-
responses: {
|
|
343
|
-
204: {
|
|
344
|
-
description: 'The invitation has been successfully revoked.',
|
|
345
|
-
},
|
|
346
|
-
},
|
|
347
|
-
security: [{ studio: [] }],
|
|
348
20
|
},
|
|
349
21
|
},
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
{
|
|
377
|
-
name: 'memberId',
|
|
378
|
-
in: 'path',
|
|
379
|
-
description: 'The ID of the member',
|
|
380
|
-
required: true,
|
|
381
|
-
schema: { $ref: '#/components/schemas/User/properties/id' },
|
|
382
|
-
},
|
|
383
|
-
],
|
|
384
|
-
put: {
|
|
385
|
-
tags: ['organization'],
|
|
386
|
-
description: 'Set the role of the member within the organization.',
|
|
387
|
-
operationId: 'setRole',
|
|
388
|
-
requestBody: {
|
|
389
|
-
description: 'The role to set.',
|
|
390
|
-
required: true,
|
|
391
|
-
content: {
|
|
392
|
-
'application/json': {
|
|
393
|
-
schema: {
|
|
394
|
-
type: 'object',
|
|
395
|
-
required: ['role'],
|
|
396
|
-
properties: {
|
|
397
|
-
role: {
|
|
398
|
-
type: 'string',
|
|
399
|
-
enum: Object.keys(roles),
|
|
400
|
-
},
|
|
22
|
+
post: {
|
|
23
|
+
tags: ['main', 'organization'],
|
|
24
|
+
description: 'Create a new organization.',
|
|
25
|
+
operationId: 'createOrganization',
|
|
26
|
+
requestBody: {
|
|
27
|
+
description: 'The organization to create',
|
|
28
|
+
required: true,
|
|
29
|
+
content: {
|
|
30
|
+
'multipart/form-data': {
|
|
31
|
+
schema: {
|
|
32
|
+
type: 'object',
|
|
33
|
+
properties: {
|
|
34
|
+
id: {
|
|
35
|
+
$ref: '#/components/schemas/Organization/properties/id',
|
|
36
|
+
},
|
|
37
|
+
name: {
|
|
38
|
+
$ref: '#/components/schemas/Organization/properties/name',
|
|
39
|
+
},
|
|
40
|
+
description: {
|
|
41
|
+
$ref: '#/components/schemas/Organization/properties/description',
|
|
42
|
+
},
|
|
43
|
+
email: {
|
|
44
|
+
$ref: '#/components/schemas/Organization/properties/email',
|
|
45
|
+
},
|
|
46
|
+
website: {
|
|
47
|
+
$ref: '#/components/schemas/Organization/properties/website',
|
|
401
48
|
},
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
responses: {
|
|
407
|
-
200: {
|
|
408
|
-
description: 'The member’s role has been successfully updated.',
|
|
409
|
-
content: {
|
|
410
|
-
'application/json': {
|
|
411
|
-
schema: {
|
|
412
|
-
$ref: '#/components/schemas/OrganizationMember',
|
|
49
|
+
icon: {
|
|
50
|
+
type: 'string',
|
|
51
|
+
format: 'binary',
|
|
52
|
+
description: 'The organization icon.',
|
|
413
53
|
},
|
|
414
54
|
},
|
|
415
55
|
},
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
},
|
|
420
|
-
},
|
|
421
|
-
'/api/organizations/{organizationId}/apps': {
|
|
422
|
-
parameters: [{ $ref: '#/components/parameters/organizationId' }],
|
|
423
|
-
get: {
|
|
424
|
-
tags: ['organization'],
|
|
425
|
-
parameters: [
|
|
426
|
-
{
|
|
427
|
-
name: 'language',
|
|
428
|
-
schema: { type: 'string' },
|
|
429
|
-
description: 'The language to include the translations of, if available',
|
|
430
|
-
in: 'query',
|
|
431
|
-
},
|
|
432
|
-
],
|
|
433
|
-
description: 'Get a list of an organization’s apps. Private apps are excluded unless the user is in the organization.',
|
|
434
|
-
operationId: 'getOrganizationApps',
|
|
435
|
-
responses: {
|
|
436
|
-
200: {
|
|
437
|
-
description: 'The list of this organization’s apps.',
|
|
438
|
-
content: {
|
|
439
|
-
'application/json': {
|
|
440
|
-
schema: {
|
|
441
|
-
type: 'array',
|
|
442
|
-
items: {
|
|
443
|
-
$ref: '#/components/schemas/App',
|
|
444
|
-
},
|
|
445
|
-
},
|
|
56
|
+
encoding: {
|
|
57
|
+
icon: {
|
|
58
|
+
contentType: 'image/png,image/jpeg,image/tiff,image/webp',
|
|
446
59
|
},
|
|
447
60
|
},
|
|
448
61
|
},
|
|
449
62
|
},
|
|
450
|
-
security: [{ studio: [] }, {}],
|
|
451
63
|
},
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
get: {
|
|
456
|
-
tags: ['organization'],
|
|
457
|
-
description: 'Get a list of an organization’s blocks.',
|
|
458
|
-
operationId: 'getOrganizationBlocks',
|
|
459
|
-
responses: {
|
|
460
|
-
200: {
|
|
461
|
-
description: 'The list of this organization’s blocks.',
|
|
462
|
-
content: {
|
|
463
|
-
'application/json': {
|
|
464
|
-
schema: {
|
|
465
|
-
type: 'array',
|
|
466
|
-
items: {
|
|
467
|
-
$ref: '#/components/schemas/BlockVersion',
|
|
468
|
-
},
|
|
469
|
-
},
|
|
470
|
-
},
|
|
471
|
-
},
|
|
472
|
-
},
|
|
64
|
+
responses: {
|
|
65
|
+
201: {
|
|
66
|
+
$ref: '#/components/responses/organization',
|
|
473
67
|
},
|
|
474
|
-
security: [{ studio: [] }, {}],
|
|
475
68
|
},
|
|
69
|
+
security: [{ studio: [] }, { cli: ['organizations:write'] }],
|
|
476
70
|
},
|
|
477
71
|
};
|
|
478
72
|
//# sourceMappingURL=organizations.js.map
|
package/api/paths/ssl.js
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export const pathItems = {
|
|
2
|
+
get: {
|
|
3
|
+
tags: ['main'],
|
|
4
|
+
description: 'Check the SSL certificate status for the given domain names.',
|
|
5
|
+
operationId: 'getSslStatus',
|
|
6
|
+
parameters: [
|
|
7
|
+
{
|
|
8
|
+
in: 'query',
|
|
9
|
+
name: 'domains',
|
|
10
|
+
required: true,
|
|
11
|
+
schema: { type: 'array', items: { type: 'string', format: 'hostname' } },
|
|
12
|
+
},
|
|
13
|
+
],
|
|
14
|
+
responses: {
|
|
15
|
+
200: {
|
|
16
|
+
description: 'A mapping of domain name to their SSL status',
|
|
17
|
+
content: {
|
|
18
|
+
'application/json': {
|
|
19
|
+
schema: {
|
|
20
|
+
type: 'object',
|
|
21
|
+
additionalProperties: {
|
|
22
|
+
enum: ['error', 'missing', 'pending', 'ready', 'unknown'],
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=ssl.js.map
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export const pathItems = {
|
|
2
|
+
get: {
|
|
3
|
+
tags: ['main'],
|
|
4
|
+
description: 'Get a list of timezones supported by the API',
|
|
5
|
+
operationId: 'getTimezones',
|
|
6
|
+
responses: {
|
|
7
|
+
200: {
|
|
8
|
+
description: 'A list of timezones supported by the API',
|
|
9
|
+
content: {
|
|
10
|
+
'application/json': {
|
|
11
|
+
schema: {
|
|
12
|
+
type: 'array',
|
|
13
|
+
items: {
|
|
14
|
+
type: 'string',
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=timezones.js.map
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
export const pathItems = {
|
|
2
|
+
parameters: [{ $ref: '#/components/parameters/trainingBlockId' }],
|
|
3
|
+
patch: {
|
|
4
|
+
tags: ['main', 'training-block'],
|
|
5
|
+
description: 'Update a training block with new content',
|
|
6
|
+
operationId: 'patchTrainingBlock',
|
|
7
|
+
requestBody: {
|
|
8
|
+
required: true,
|
|
9
|
+
content: {
|
|
10
|
+
'multipart/form-data': {
|
|
11
|
+
schema: {
|
|
12
|
+
type: 'object',
|
|
13
|
+
properties: {
|
|
14
|
+
documentationLink: {
|
|
15
|
+
$ref: '#/components/schemas/TrainingBlock/properties/documentationLink',
|
|
16
|
+
},
|
|
17
|
+
videoLink: { $ref: '#/components/schemas/TrainingBlock/properties/videoLink' },
|
|
18
|
+
exampleCode: { $ref: '#/components/schemas/TrainingBlock/properties/exampleCode' },
|
|
19
|
+
title: { $ref: '#/components/schemas/TrainingBlock/properties/title' },
|
|
20
|
+
externalResource: {
|
|
21
|
+
$ref: '#/components/schemas/TrainingBlock/properties/externalResource',
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
responses: { 200: { $ref: '#/components/schemas/TrainingBlock' } },
|
|
29
|
+
security: [{ studio: [] }],
|
|
30
|
+
},
|
|
31
|
+
delete: {
|
|
32
|
+
tags: ['main', 'training-block'],
|
|
33
|
+
description: 'Delete a training block by Id.',
|
|
34
|
+
operationId: 'deleteTrainingBlock',
|
|
35
|
+
responses: {
|
|
36
|
+
204: { description: 'Deleted the specified training block.' },
|
|
37
|
+
},
|
|
38
|
+
security: [{ studio: [] }],
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
//# sourceMappingURL=trainingBlockId.js.map
|