@appsemble/utils 0.29.10 → 0.30.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/api/components/parameters/$own.d.ts +2 -0
- package/api/components/parameters/$own.js +7 -0
- package/api/components/parameters/appMemberId.d.ts +2 -0
- package/api/components/parameters/appMemberId.js +8 -0
- package/api/components/parameters/groupId.d.ts +2 -0
- package/api/components/parameters/groupId.js +8 -0
- package/api/components/parameters/groupMemberId.d.ts +2 -0
- package/api/components/parameters/groupMemberId.js +8 -0
- package/api/components/parameters/index.d.ts +17 -13
- package/api/components/parameters/index.js +17 -13
- package/api/components/parameters/organizationId.d.ts +9 -2
- package/api/components/parameters/organizationId.js +1 -1
- package/api/components/parameters/roles.js +12 -6
- package/api/components/parameters/seed.d.ts +2 -0
- package/api/components/parameters/seed.js +9 -0
- package/api/components/parameters/selectedGroupId.d.ts +2 -0
- package/api/components/parameters/selectedGroupId.js +7 -0
- package/api/components/parameters/serviceSecretId.d.ts +2 -0
- package/api/components/parameters/{appServiceId.js → serviceSecretId.js} +3 -3
- package/api/components/requestBodies/oauth2Consent.js +1 -5
- package/api/components/requestBodies/user.js +1 -1
- package/api/components/schemas/ActionDefinition.js +14 -11
- package/api/components/schemas/AppAccount.js +7 -24
- package/api/components/schemas/AppDefinition.js +3 -15
- package/api/components/schemas/AppMember.d.ts +2 -0
- package/api/components/schemas/AppMember.js +26 -0
- package/api/components/schemas/AppMemberCurrentPatchActionDefinition.d.ts +1 -0
- package/api/components/schemas/AppMemberCurrentPatchActionDefinition.js +30 -0
- package/api/components/schemas/AppMemberDeleteActionDefinition.d.ts +1 -0
- package/api/components/schemas/AppMemberDeleteActionDefinition.js +20 -0
- package/api/components/schemas/AppMemberInfo.d.ts +2 -0
- package/api/components/schemas/AppMemberInfo.js +48 -0
- package/api/components/schemas/AppMemberInviteActionDefinition.d.ts +1 -0
- package/api/components/schemas/AppMemberInviteActionDefinition.js +24 -0
- package/api/components/schemas/AppMemberLoginActionDefinition.d.ts +1 -0
- package/api/components/schemas/AppMemberLoginActionDefinition.js +24 -0
- package/api/components/schemas/AppMemberLogoutActionDefinition.d.ts +1 -0
- package/api/components/schemas/AppMemberLogoutActionDefinition.js +14 -0
- package/api/components/schemas/AppMemberPropertiesPatchActionDefinition.d.ts +1 -0
- package/api/components/schemas/AppMemberPropertiesPatchActionDefinition.js +26 -0
- package/api/components/schemas/AppMemberPropertyDefinition.d.ts +2 -0
- package/api/components/schemas/{UserPropertyDefinition.js → AppMemberPropertyDefinition.js} +5 -5
- package/api/components/schemas/AppMemberQueryActionDefinition.d.ts +1 -0
- package/api/components/schemas/AppMemberQueryActionDefinition.js +20 -0
- package/api/components/schemas/AppMemberRegisterActionDefinition.d.ts +1 -0
- package/api/components/schemas/AppMemberRegisterActionDefinition.js +43 -0
- package/api/components/schemas/AppMemberRoleUpdateActionDefinition.d.ts +1 -0
- package/api/components/schemas/AppMemberRoleUpdateActionDefinition.js +27 -0
- package/api/components/schemas/AppMembersDefinition.d.ts +2 -0
- package/api/components/schemas/AppMembersDefinition.js +17 -0
- package/api/components/schemas/GroupMember.d.ts +2 -0
- package/api/components/schemas/GroupMember.js +19 -0
- package/api/components/schemas/GroupMemberDeleteActionDefinition.d.ts +1 -0
- package/api/components/schemas/{TeamMembersActionDefinition.js → GroupMemberDeleteActionDefinition.js} +5 -5
- package/api/components/schemas/GroupMemberInviteActionDefinition.d.ts +1 -0
- package/api/components/schemas/{TeamInviteActionDefinition.js → GroupMemberInviteActionDefinition.js} +5 -6
- package/api/components/schemas/GroupMemberQueryActionDefinition.d.ts +1 -0
- package/api/components/schemas/GroupMemberQueryActionDefinition.js +18 -0
- package/api/components/schemas/GroupMemberRoleUpdateActionDefinition.d.ts +1 -0
- package/api/components/schemas/GroupMemberRoleUpdateActionDefinition.js +22 -0
- package/api/components/schemas/GroupQueryActionDefinition.d.ts +1 -0
- package/api/components/schemas/{UserLogoutActionDefinition.js → GroupQueryActionDefinition.js} +4 -4
- package/api/components/schemas/OrganizationMember.js +2 -2
- package/api/components/schemas/ResourceCountActionDefinition.js +4 -0
- package/api/components/schemas/ResourceCreateActionDefinition.js +1 -1
- package/api/components/schemas/ResourceDefinition.js +0 -22
- package/api/components/schemas/ResourceQueryActionDefinition.js +4 -0
- package/api/components/schemas/SecurityDefaultDefinition.js +1 -1
- package/api/components/schemas/SecurityDefinition.js +2 -6
- package/api/components/schemas/SecurityGuestDefinition.d.ts +2 -0
- package/api/components/schemas/SecurityGuestDefinition.js +26 -0
- package/api/components/schemas/SecurityRoleDefinition.js +7 -0
- package/api/components/schemas/User.js +2 -22
- package/api/components/schemas/UserInfo.d.ts +2 -0
- package/api/components/schemas/UserInfo.js +42 -0
- package/api/components/schemas/index.d.ts +22 -15
- package/api/components/schemas/index.js +22 -15
- package/api/components/securitySchemes/app.js +6 -6
- package/api/components/securitySchemes/cli.js +3 -3
- package/api/paths/app-collections/appCollectionId/apps/appId/pinned.d.ts +2 -0
- package/api/paths/app-collections/appCollectionId/apps/appId/pinned.js +70 -0
- package/api/paths/app-collections/appCollectionId/apps/appId.d.ts +2 -0
- package/api/paths/app-collections/appCollectionId/apps/appId.js +34 -0
- package/api/paths/app-collections/appCollectionId/apps.d.ts +2 -0
- package/api/paths/app-collections/appCollectionId/apps.js +93 -0
- package/api/paths/app-collections/appCollectionId/expert/profileImage.d.ts +2 -0
- package/api/paths/app-collections/appCollectionId/expert/profileImage.js +31 -0
- package/api/paths/app-collections/appCollectionId/headerImage.d.ts +2 -0
- package/api/paths/app-collections/appCollectionId/headerImage.js +31 -0
- package/api/paths/app-collections/appCollectionId.d.ts +2 -0
- package/api/paths/app-collections/appCollectionId.js +102 -0
- package/api/paths/app-invites/token/respond.d.ts +2 -0
- package/api/paths/app-invites/token/respond.js +51 -0
- package/api/paths/app-invites/token.d.ts +2 -0
- package/api/paths/app-invites/token.js +23 -0
- package/api/paths/app-members/appMemberId/picture.d.ts +2 -0
- package/api/paths/app-members/appMemberId/picture.js +30 -0
- package/api/paths/app-members/appMemberId/properties.d.ts +2 -0
- package/api/paths/app-members/appMemberId/properties.js +48 -0
- package/api/paths/app-members/appMemberId/role.d.ts +2 -0
- package/api/paths/app-members/appMemberId/role.js +46 -0
- package/api/paths/app-members/appMemberId.d.ts +2 -0
- package/api/paths/app-members/appMemberId.js +24 -0
- package/api/paths/appCollections.d.ts +1 -1
- package/api/paths/appCollections.js +12 -454
- package/api/paths/appTemplates.d.ts +2 -0
- package/api/paths/appTemplates.js +94 -0
- package/api/paths/apps/appId/actions/path.d.ts +2 -0
- package/api/paths/{action.js → apps/appId/actions/path.js} +18 -20
- package/api/paths/apps/appId/assets/assetId.d.ts +2 -0
- package/api/paths/apps/appId/assets/assetId.js +38 -0
- package/api/paths/apps/appId/assets/count.d.ts +2 -0
- package/api/paths/apps/appId/assets/count.js +22 -0
- package/api/paths/apps/appId/assets.d.ts +2 -0
- package/api/paths/apps/appId/assets.js +96 -0
- package/api/paths/apps/appId/auth/email/login.d.ts +2 -0
- package/api/paths/apps/appId/auth/email/login.js +10 -0
- package/api/paths/apps/appId/auth/email/register.d.ts +2 -0
- package/api/paths/apps/appId/auth/email/register.js +52 -0
- package/api/paths/apps/appId/auth/email/requestResetPassword.d.ts +2 -0
- package/api/paths/apps/appId/auth/email/requestResetPassword.js +31 -0
- package/api/paths/apps/appId/auth/email/resendVerification.d.ts +2 -0
- package/api/paths/apps/appId/auth/email/resendVerification.js +32 -0
- package/api/paths/apps/appId/auth/email/resetPassword.d.ts +2 -0
- package/api/paths/apps/appId/auth/email/resetPassword.js +34 -0
- package/api/paths/apps/appId/auth/email/verify.d.ts +2 -0
- package/api/paths/apps/appId/auth/email/verify.js +31 -0
- package/api/paths/apps/appId/broadcast.d.ts +2 -0
- package/api/paths/apps/appId/broadcast.js +36 -0
- package/api/paths/apps/appId/demo-groups.d.ts +2 -0
- package/api/paths/apps/appId/demo-groups.js +29 -0
- package/api/paths/apps/appId/demo-members.d.ts +2 -0
- package/api/paths/apps/appId/demo-members.js +27 -0
- package/api/paths/apps/appId/email.d.ts +2 -0
- package/api/paths/apps/appId/email.js +48 -0
- package/api/paths/apps/appId/export.d.ts +2 -0
- package/api/paths/apps/appId/export.js +41 -0
- package/api/paths/apps/appId/groups.d.ts +2 -0
- package/api/paths/apps/appId/groups.js +79 -0
- package/api/paths/apps/appId/icon.d.ts +2 -0
- package/api/paths/apps/appId/icon.js +31 -0
- package/api/paths/apps/appId/invites.d.ts +2 -0
- package/api/paths/apps/appId/invites.js +79 -0
- package/api/paths/apps/appId/lock.d.ts +2 -0
- package/api/paths/apps/appId/lock.js +35 -0
- package/api/paths/apps/appId/maskableIcon.d.ts +2 -0
- package/api/paths/apps/appId/maskableIcon.js +15 -0
- package/api/paths/apps/appId/members/current/groups.d.ts +2 -0
- package/api/paths/apps/appId/members/current/groups.js +30 -0
- package/api/paths/apps/appId/members/current/link.d.ts +2 -0
- package/api/paths/apps/appId/members/current/link.js +41 -0
- package/api/paths/apps/appId/members/current.d.ts +2 -0
- package/api/paths/apps/appId/members/current.js +111 -0
- package/api/paths/apps/appId/members.d.ts +2 -0
- package/api/paths/apps/appId/members.js +29 -0
- package/api/paths/apps/appId/messages/language.d.ts +2 -0
- package/api/paths/apps/appId/messages/language.js +47 -0
- package/api/paths/apps/appId/messages.d.ts +2 -0
- package/api/paths/apps/appId/messages.js +72 -0
- package/api/paths/apps/appId/quotas/emails.d.ts +2 -0
- package/api/paths/apps/appId/quotas/emails.js +36 -0
- package/api/paths/apps/appId/ratings.d.ts +2 -0
- package/api/paths/apps/appId/ratings.js +58 -0
- package/api/paths/apps/appId/readmes/readmeId.d.ts +2 -0
- package/api/paths/apps/appId/readmes/readmeId.js +17 -0
- package/api/paths/apps/appId/reseed.d.ts +2 -0
- package/api/paths/apps/appId/reseed.js +12 -0
- package/api/paths/apps/appId/resources/resourceType/count.d.ts +2 -0
- package/api/paths/apps/appId/resources/resourceType/count.js +30 -0
- package/api/paths/apps/appId/resources/resourceType/resourceId/subscriptions.d.ts +2 -0
- package/api/paths/apps/appId/resources/resourceType/resourceId/subscriptions.js +31 -0
- package/api/paths/apps/appId/resources/resourceType/resourceId.d.ts +2 -0
- package/api/paths/apps/appId/resources/resourceType/resourceId.js +74 -0
- package/api/paths/apps/appId/resources/resourceType/subscriptions.d.ts +2 -0
- package/api/paths/apps/appId/resources/resourceType/subscriptions.js +26 -0
- package/api/paths/apps/appId/resources/resourceType.d.ts +2 -0
- package/api/paths/apps/appId/resources/resourceType.js +171 -0
- package/api/paths/apps/appId/resources/versions.d.ts +2 -0
- package/api/paths/apps/appId/resources/versions.js +29 -0
- package/api/paths/apps/appId/resources.d.ts +2 -0
- package/api/paths/apps/appId/resources.js +15 -0
- package/api/paths/apps/appId/saml/secretId/acs.d.ts +2 -0
- package/api/paths/apps/appId/saml/secretId/acs.js +35 -0
- package/api/paths/apps/appId/saml/secretId/authn.d.ts +2 -0
- package/api/paths/apps/appId/saml/secretId/authn.js +37 -0
- package/api/paths/apps/appId/saml/secretId/metadata.d.ts +2 -0
- package/api/paths/apps/appId/saml/secretId/metadata.js +21 -0
- package/api/paths/apps/appId/scim/resource-types/resourceTypeId.d.ts +2 -0
- package/api/paths/apps/appId/scim/resource-types/resourceTypeId.js +25 -0
- package/api/paths/apps/appId/scim/resource-types.d.ts +2 -0
- package/api/paths/apps/appId/scim/resource-types.js +22 -0
- package/api/paths/apps/appId/scim/schemas/schemaId.d.ts +2 -0
- package/api/paths/apps/appId/scim/schemas/schemaId.js +24 -0
- package/api/paths/apps/appId/scim/schemas.d.ts +2 -0
- package/api/paths/apps/appId/scim/schemas.js +21 -0
- package/api/paths/apps/appId/scim/service-provider-config.d.ts +2 -0
- package/api/paths/apps/appId/scim/service-provider-config.js +22 -0
- package/api/paths/apps/appId/scim/users/userId.d.ts +2 -0
- package/api/paths/apps/appId/scim/users/userId.js +92 -0
- package/api/paths/apps/appId/scim/users.d.ts +2 -0
- package/api/paths/apps/appId/scim/users.js +58 -0
- package/api/paths/apps/appId/screenshots/screenshotId.d.ts +2 -0
- package/api/paths/apps/appId/screenshots/screenshotId.js +28 -0
- package/api/paths/apps/appId/screenshots.d.ts +2 -0
- package/api/paths/apps/appId/screenshots.js +55 -0
- package/api/paths/apps/appId/secrets/oauth2/secretId/verify.d.ts +2 -0
- package/api/paths/apps/appId/secrets/oauth2/secretId/verify.js +47 -0
- package/api/paths/apps/appId/secrets/oauth2/secretId.d.ts +2 -0
- package/api/paths/apps/appId/secrets/oauth2/secretId.js +60 -0
- package/api/paths/apps/appId/secrets/oauth2.d.ts +2 -0
- package/api/paths/apps/appId/secrets/oauth2.js +54 -0
- package/api/paths/apps/appId/secrets/saml/secretId.d.ts +2 -0
- package/api/paths/apps/appId/secrets/saml/secretId.js +39 -0
- package/api/paths/apps/appId/secrets/saml.d.ts +2 -0
- package/api/paths/apps/appId/secrets/saml.js +54 -0
- package/api/paths/apps/appId/secrets/scim.d.ts +2 -0
- package/api/paths/apps/appId/secrets/scim.js +43 -0
- package/api/paths/apps/appId/secrets/service/secretId.d.ts +2 -0
- package/api/paths/apps/appId/secrets/service/secretId.js +39 -0
- package/api/paths/apps/appId/secrets/service.d.ts +2 -0
- package/api/paths/apps/appId/secrets/service.js +54 -0
- package/api/paths/apps/appId/secrets/ssl.d.ts +2 -0
- package/api/paths/apps/appId/secrets/ssl.js +37 -0
- package/api/paths/apps/appId/snapshots/snapshotId.d.ts +2 -0
- package/api/paths/apps/appId/snapshots/snapshotId.js +47 -0
- package/api/paths/apps/appId/snapshots.d.ts +2 -0
- package/api/paths/apps/appId/snapshots.js +40 -0
- package/api/paths/apps/appId/style/block/organizationId/blockId.d.ts +2 -0
- package/api/paths/apps/appId/style/block/organizationId/blockId.js +53 -0
- package/api/paths/apps/appId/style/core.d.ts +2 -0
- package/api/paths/apps/appId/style/core.js +17 -0
- package/api/paths/apps/appId/style/shared.d.ts +2 -0
- package/api/paths/apps/appId/style/shared.js +17 -0
- package/api/paths/apps/appId/subscriptions.d.ts +2 -0
- package/api/paths/apps/appId/subscriptions.js +91 -0
- package/api/paths/apps/appId/variables/variableId.d.ts +2 -0
- package/api/paths/apps/appId/variables/variableId.js +39 -0
- package/api/paths/apps/appId/variables.d.ts +2 -0
- package/api/paths/apps/appId/variables.js +53 -0
- package/api/paths/apps/appId.d.ts +2 -0
- package/api/paths/apps/appId.js +175 -0
- package/api/paths/apps.d.ts +1 -1
- package/api/paths/apps.js +95 -1518
- package/api/paths/auth/email/login.d.ts +2 -0
- package/api/paths/auth/email/login.js +10 -0
- package/api/paths/auth/email/register.d.ts +2 -0
- package/api/paths/auth/email/register.js +45 -0
- package/api/paths/auth/email/requestResetPassword.d.ts +2 -0
- package/api/paths/auth/email/requestResetPassword.js +30 -0
- package/api/paths/auth/email/resendVerification.d.ts +2 -0
- package/api/paths/auth/email/resendVerification.js +31 -0
- package/api/paths/auth/email/resetPassword.d.ts +2 -0
- package/api/paths/auth/email/resetPassword.js +33 -0
- package/api/paths/auth/email/verify.d.ts +2 -0
- package/api/paths/auth/email/verify.js +30 -0
- package/api/paths/auth/oauth2/authorizations/connect.d.ts +2 -0
- package/api/paths/auth/oauth2/authorizations/connect.js +45 -0
- package/api/paths/auth/oauth2/authorizations/register.d.ts +2 -0
- package/api/paths/auth/oauth2/authorizations/register.js +32 -0
- package/api/paths/auth/refreshToken.d.ts +2 -0
- package/api/paths/auth/refreshToken.js +26 -0
- package/api/paths/blocks/organizationId/blockId/versions/list.d.ts +2 -0
- package/api/paths/blocks/organizationId/blockId/versions/list.js +27 -0
- package/api/paths/blocks/organizationId/blockId/versions/version/asset.d.ts +2 -0
- package/api/paths/blocks/organizationId/blockId/versions/version/asset.js +24 -0
- package/api/paths/blocks/organizationId/blockId/versions/version/icon.d.ts +2 -0
- package/api/paths/blocks/organizationId/blockId/versions/version/icon.js +18 -0
- package/api/paths/blocks/organizationId/blockId/versions/version/messages/language.d.ts +2 -0
- package/api/paths/blocks/organizationId/blockId/versions/version/messages/language.js +37 -0
- package/api/paths/blocks/organizationId/blockId/versions/version.d.ts +2 -0
- package/api/paths/blocks/organizationId/blockId/versions/version.js +29 -0
- package/api/paths/blocks/organizationId/blockId/versions.d.ts +2 -0
- package/api/paths/blocks/organizationId/blockId/versions.js +27 -0
- package/api/paths/blocks/organizationId/blockId.d.ts +2 -0
- package/api/paths/blocks/organizationId/blockId.js +18 -0
- package/api/paths/blocks/versions/blockVersion.js +21 -0
- package/api/paths/blocks.d.ts +1 -1
- package/api/paths/blocks.js +29 -204
- package/api/paths/containerLogs.d.ts +1 -1
- package/api/paths/containerLogs.js +28 -30
- package/api/paths/group-invites/token/respond.d.ts +2 -0
- package/api/paths/group-invites/token/respond.js +42 -0
- package/api/paths/group-invites/token.d.ts +2 -0
- package/api/paths/group-invites/token.js +23 -0
- package/api/paths/group-members/groupMemberId/role.d.ts +2 -0
- package/api/paths/group-members/groupMemberId/role.js +40 -0
- package/api/paths/group-members/groupMemberId.d.ts +2 -0
- package/api/paths/group-members/groupMemberId.js +34 -0
- package/api/paths/groups/groupId/invites.d.ts +2 -0
- package/api/paths/groups/groupId/invites.js +87 -0
- package/api/paths/groups/groupId/members.d.ts +2 -0
- package/api/paths/groups/groupId/members.js +34 -0
- package/api/paths/groups/groupId.d.ts +2 -0
- package/api/paths/groups/groupId.js +86 -0
- package/api/paths/health.d.ts +1 -1
- package/api/paths/health.js +12 -66
- package/api/paths/index.d.ts +145 -136
- package/api/paths/index.js +294 -58
- package/api/paths/messages/language.d.ts +2 -0
- package/api/paths/messages/language.js +21 -0
- package/api/paths/messages.d.ts +2 -0
- package/api/paths/messages.js +26 -0
- package/api/paths/organization-invites/token/respond.d.ts +2 -0
- package/api/paths/organization-invites/token/respond.js +42 -0
- package/api/paths/organization-invites/token.d.ts +2 -0
- package/api/paths/organization-invites/token.js +23 -0
- package/api/paths/organizations/organizationId/appCollections.d.ts +2 -0
- package/api/paths/organizations/organizationId/appCollections.js +76 -0
- package/api/paths/organizations/organizationId/apps/import.d.ts +2 -0
- package/api/paths/organizations/organizationId/apps/import.js +26 -0
- package/api/paths/organizations/organizationId/apps.d.ts +2 -0
- package/api/paths/organizations/organizationId/apps.js +33 -0
- package/api/paths/organizations/organizationId/blocks.d.ts +2 -0
- package/api/paths/organizations/organizationId/blocks.js +25 -0
- package/api/paths/organizations/organizationId/icon.d.ts +2 -0
- package/api/paths/organizations/organizationId/icon.js +14 -0
- package/api/paths/organizations/organizationId/invites/resend.d.ts +2 -0
- package/api/paths/organizations/organizationId/invites/resend.js +32 -0
- package/api/paths/organizations/organizationId/invites.d.ts +2 -0
- package/api/paths/organizations/organizationId/invites.js +108 -0
- package/api/paths/organizations/organizationId/members/memberId/role.d.ts +2 -0
- package/api/paths/organizations/organizationId/members/memberId/role.js +50 -0
- package/api/paths/organizations/organizationId/members/memberId.d.ts +2 -0
- package/api/paths/organizations/organizationId/members/memberId.js +25 -0
- package/api/paths/organizations/organizationId/members.d.ts +2 -0
- package/api/paths/organizations/organizationId/members.js +25 -0
- package/api/paths/organizations/organizationId.d.ts +2 -0
- package/api/paths/organizations/organizationId.js +67 -0
- package/api/paths/organizations.d.ts +1 -1
- package/api/paths/organizations.js +46 -452
- package/api/paths/ssl.d.ts +2 -0
- package/api/paths/ssl.js +31 -0
- package/api/paths/timezones.d.ts +2 -0
- package/api/paths/timezones.js +23 -0
- package/api/paths/trainingBlocks/trainingBlockId.d.ts +2 -0
- package/api/paths/trainingBlocks/trainingBlockId.js +41 -0
- package/api/paths/trainings/trainingId/blocks.d.ts +2 -0
- package/api/paths/trainings/trainingId/blocks.js +51 -0
- package/api/paths/trainings/trainingId/users/current.d.ts +2 -0
- package/api/paths/trainings/trainingId/users/current.js +62 -0
- package/api/paths/trainings/trainingId/users.d.ts +2 -0
- package/api/paths/trainings/trainingId/users.js +25 -0
- package/api/paths/trainings/trainingId.d.ts +2 -0
- package/api/paths/trainings/trainingId.js +85 -0
- package/api/paths/trainings.d.ts +1 -1
- package/api/paths/trainings.js +26 -287
- package/api/paths/users/current/apps/accounts.d.ts +2 -0
- package/api/paths/users/current/apps/accounts.js +24 -0
- package/api/paths/users/current/apps/appId/account.d.ts +2 -0
- package/api/paths/users/current/apps/appId/account.js +65 -0
- package/api/paths/users/current/apps.d.ts +2 -0
- package/api/paths/users/current/apps.js +32 -0
- package/api/paths/users/current/auth/oauth2/apps/appId/consent/agree.d.ts +2 -0
- package/api/paths/users/current/auth/oauth2/apps/appId/consent/agree.js +12 -0
- package/api/paths/users/current/auth/oauth2/apps/appId/consent/verify.d.ts +2 -0
- package/api/paths/users/current/auth/oauth2/apps/appId/consent/verify.js +12 -0
- package/api/paths/users/current/auth/oauth2/authorizations.d.ts +2 -0
- package/api/paths/users/current/auth/oauth2/authorizations.js +43 -0
- package/api/paths/users/current/auth/oauth2/clientCredentials/clientId.d.ts +2 -0
- package/api/paths/users/current/auth/oauth2/clientCredentials/clientId.js +23 -0
- package/api/paths/users/current/auth/oauth2/clientCredentials.d.ts +2 -0
- package/api/paths/users/current/auth/oauth2/clientCredentials.js +53 -0
- package/api/paths/users/current/emails.d.ts +2 -0
- package/api/paths/users/current/emails.js +73 -0
- package/api/paths/users/current/organizations.d.ts +2 -0
- package/api/paths/users/current/organizations.js +29 -0
- package/api/paths/users/current/unsubscribe.d.ts +2 -0
- package/api/paths/users/current/unsubscribe.js +29 -0
- package/api/paths/users/current.d.ts +2 -0
- package/api/paths/users/current.js +43 -0
- package/api/paths/users/subscribed.d.ts +2 -0
- package/api/paths/users/subscribed.js +12 -0
- package/api/tags/index.d.ts +2 -1
- package/api/tags/index.js +170 -8
- package/appMembers.d.ts +1 -0
- package/appMembers.js +9 -0
- package/authorization.d.ts +12 -0
- package/authorization.js +171 -0
- package/constants/index.d.ts +0 -2
- package/constants/index.js +0 -2
- package/constants/scopes.d.ts +1 -1
- package/constants/scopes.js +2 -2
- package/examples.js +13 -14
- package/index.d.ts +2 -2
- package/index.js +2 -2
- package/package.json +2 -2
- package/reference-schemas/remappers/data.js +23 -38
- package/remap.d.ts +3 -7
- package/remap.js +1 -2
- package/remap.test.js +8 -9
- package/validation.js +396 -83
- package/validation.test.js +1039 -230
- package/api/components/parameters/$team.d.ts +0 -2
- package/api/components/parameters/$team.js +0 -8
- package/api/components/parameters/appServiceId.d.ts +0 -2
- package/api/components/parameters/memberEmail.d.ts +0 -2
- package/api/components/parameters/memberEmail.js +0 -8
- package/api/components/schemas/TeamInviteActionDefinition.d.ts +0 -1
- package/api/components/schemas/TeamJoinActionDefinition.d.ts +0 -1
- package/api/components/schemas/TeamJoinActionDefinition.js +0 -14
- package/api/components/schemas/TeamListActionDefinition.d.ts +0 -1
- package/api/components/schemas/TeamListActionDefinition.js +0 -14
- package/api/components/schemas/TeamMembersActionDefinition.d.ts +0 -1
- package/api/components/schemas/TeamsDefinition.d.ts +0 -2
- package/api/components/schemas/TeamsDefinition.js +0 -28
- package/api/components/schemas/UserCreateActionDefinition.d.ts +0 -1
- package/api/components/schemas/UserCreateActionDefinition.js +0 -33
- package/api/components/schemas/UserLoginActionDefinition.d.ts +0 -1
- package/api/components/schemas/UserLoginActionDefinition.js +0 -22
- package/api/components/schemas/UserLogoutActionDefinition.d.ts +0 -1
- package/api/components/schemas/UserPropertyDefinition.d.ts +0 -2
- package/api/components/schemas/UserQueryActionDefinition.d.ts +0 -1
- package/api/components/schemas/UserQueryActionDefinition.js +0 -20
- package/api/components/schemas/UserRegisterActionDefinition.d.ts +0 -1
- package/api/components/schemas/UserRegisterActionDefinition.js +0 -37
- package/api/components/schemas/UserRemoveActionDefinition.d.ts +0 -1
- package/api/components/schemas/UserRemoveActionDefinition.js +0 -20
- package/api/components/schemas/UserUpdateActionDefinition.d.ts +0 -1
- package/api/components/schemas/UserUpdateActionDefinition.js +0 -36
- package/api/components/schemas/UsersDefinition.d.ts +0 -2
- package/api/components/schemas/UsersDefinition.js +0 -17
- package/api/paths/appMessages.d.ts +0 -2
- package/api/paths/appMessages.js +0 -120
- package/api/paths/appOAuth2Secrets.d.ts +0 -2
- package/api/paths/appOAuth2Secrets.js +0 -161
- package/api/paths/appQuotas.d.ts +0 -2
- package/api/paths/appQuotas.js +0 -38
- package/api/paths/appSSLSecrets.d.ts +0 -2
- package/api/paths/appSSLSecrets.js +0 -39
- package/api/paths/appSamlSecrets.d.ts +0 -2
- package/api/paths/appSamlSecrets.js +0 -94
- package/api/paths/appScimEndpoints.d.ts +0 -2
- package/api/paths/appScimEndpoints.js +0 -260
- package/api/paths/appScimSecrets.d.ts +0 -2
- package/api/paths/appScimSecrets.js +0 -45
- package/api/paths/appServiceSecrets.d.ts +0 -2
- package/api/paths/appServiceSecrets.js +0 -94
- package/api/paths/appVariables.d.ts +0 -2
- package/api/paths/appVariables.js +0 -93
- package/api/paths/appsembleMessages.d.ts +0 -2
- package/api/paths/appsembleMessages.js +0 -48
- package/api/paths/assets.d.ts +0 -2
- package/api/paths/assets.js +0 -213
- package/api/paths/emails.d.ts +0 -2
- package/api/paths/emails.js +0 -167
- package/api/paths/invite.d.ts +0 -2
- package/api/paths/invite.js +0 -25
- package/api/paths/oauth2ClientCredentials.d.ts +0 -2
- package/api/paths/oauth2ClientCredentials.js +0 -77
- package/api/paths/oauth2Login.d.ts +0 -2
- package/api/paths/oauth2Login.js +0 -119
- package/api/paths/oauth2Provider.d.ts +0 -2
- package/api/paths/oauth2Provider.js +0 -75
- package/api/paths/resourceHistory.d.ts +0 -2
- package/api/paths/resourceHistory.js +0 -31
- package/api/paths/resources.d.ts +0 -2
- package/api/paths/resources.js +0 -395
- package/api/paths/saml.d.ts +0 -2
- package/api/paths/saml.js +0 -126
- package/api/paths/templates.d.ts +0 -2
- package/api/paths/templates.js +0 -96
- package/api/paths/user.d.ts +0 -2
- package/api/paths/user.js +0 -649
- package/api/tags/app.d.ts +0 -2
- package/api/tags/app.js +0 -5
- package/api/tags/appMember.d.ts +0 -2
- package/api/tags/appMember.js +0 -5
- package/api/tags/asset.d.ts +0 -2
- package/api/tags/asset.js +0 -5
- package/api/tags/auth.d.ts +0 -2
- package/api/tags/auth.js +0 -5
- package/api/tags/language.d.ts +0 -2
- package/api/tags/language.js +0 -5
- package/api/tags/organization.d.ts +0 -2
- package/api/tags/organization.js +0 -5
- package/api/tags/resource.d.ts +0 -2
- package/api/tags/resource.js +0 -5
- package/api/tags/template.d.ts +0 -2
- package/api/tags/template.js +0 -5
- package/api/tags/user.d.ts +0 -2
- package/api/tags/user.js +0 -5
- package/appSecurity.d.ts +0 -9
- package/appSecurity.js +0 -41
- package/appSecurity.test.d.ts +0 -1
- package/appSecurity.test.js +0 -114
- package/checkAppRole.d.ts +0 -11
- package/checkAppRole.js +0 -34
- package/constants/Permission.d.ts +0 -114
- package/constants/Permission.js +0 -116
- package/constants/roles.d.ts +0 -16
- package/constants/roles.js +0 -58
- /package/api/paths/{action.d.ts → blocks/versions/blockVersion.d.ts} +0 -0
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
export const pathItems = {
|
|
2
|
+
parameters: [
|
|
3
|
+
{ $ref: '#/components/parameters/appId' },
|
|
4
|
+
{ name: 'merge', in: 'query', schema: { type: 'boolean' } },
|
|
5
|
+
{ name: 'includeMessages', in: 'query', schema: { type: 'boolean' } },
|
|
6
|
+
],
|
|
7
|
+
get: {
|
|
8
|
+
tags: ['common', 'apps', 'language'],
|
|
9
|
+
description: 'Get a list of all languages with messages.',
|
|
10
|
+
operationId: 'getAppLanguages',
|
|
11
|
+
responses: {
|
|
12
|
+
200: {
|
|
13
|
+
description: 'The list of supported languages',
|
|
14
|
+
content: {
|
|
15
|
+
'application/json': {
|
|
16
|
+
schema: {
|
|
17
|
+
type: 'array',
|
|
18
|
+
items: {
|
|
19
|
+
oneOf: [{ type: 'string' }, { $ref: '#/components/schemas/AppMessages' }],
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
post: {
|
|
28
|
+
tags: ['main', 'apps', 'language'],
|
|
29
|
+
description: 'Upload messages for the given language.',
|
|
30
|
+
operationId: 'createAppMessages',
|
|
31
|
+
requestBody: {
|
|
32
|
+
required: true,
|
|
33
|
+
content: {
|
|
34
|
+
'application/json': {
|
|
35
|
+
schema: {
|
|
36
|
+
oneOf: [
|
|
37
|
+
{ $ref: '#/components/schemas/AppMessages' },
|
|
38
|
+
{
|
|
39
|
+
type: 'array',
|
|
40
|
+
items: {
|
|
41
|
+
$ref: '#/components/schemas/AppMessages',
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
],
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
responses: {
|
|
50
|
+
201: {
|
|
51
|
+
description: 'The translation was created.',
|
|
52
|
+
content: {
|
|
53
|
+
'application/json': {
|
|
54
|
+
schema: {
|
|
55
|
+
oneOf: [
|
|
56
|
+
{ $ref: '#/components/schemas/AppMessages' },
|
|
57
|
+
{
|
|
58
|
+
type: 'array',
|
|
59
|
+
items: {
|
|
60
|
+
$ref: '#/components/schemas/AppMessages',
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
],
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
security: [{ studio: [] }, { cli: ['apps:write'] }],
|
|
70
|
+
},
|
|
71
|
+
};
|
|
72
|
+
//# sourceMappingURL=messages.js.map
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export const pathItems = {
|
|
2
|
+
get: {
|
|
3
|
+
tags: ['main', 'app', 'quota', 'email'],
|
|
4
|
+
operationId: 'getAppEmailQuota',
|
|
5
|
+
parameters: [{ $ref: '#/components/parameters/appId' }],
|
|
6
|
+
security: [{ studio: [] }, {}],
|
|
7
|
+
responses: {
|
|
8
|
+
200: {
|
|
9
|
+
description: 'Email quota for an app',
|
|
10
|
+
content: {
|
|
11
|
+
'application/json': {
|
|
12
|
+
schema: {
|
|
13
|
+
type: 'object',
|
|
14
|
+
properties: {
|
|
15
|
+
used: {
|
|
16
|
+
type: 'number',
|
|
17
|
+
description: 'Number of emails sent today',
|
|
18
|
+
},
|
|
19
|
+
limit: {
|
|
20
|
+
type: 'number',
|
|
21
|
+
description: 'Maximum number of emails that can be sent today',
|
|
22
|
+
},
|
|
23
|
+
reset: {
|
|
24
|
+
type: 'string',
|
|
25
|
+
format: 'date-time',
|
|
26
|
+
description: 'Date and time when the quota resets',
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=emails.js.map
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
export const pathItems = {
|
|
2
|
+
parameters: [{ $ref: '#/components/parameters/appId' }],
|
|
3
|
+
get: {
|
|
4
|
+
tags: ['main', 'app', 'rating'],
|
|
5
|
+
description: 'Fetch all ratings of an app.',
|
|
6
|
+
operationId: 'getAppRatings',
|
|
7
|
+
responses: {
|
|
8
|
+
200: {
|
|
9
|
+
description: 'The list of apps ratings.',
|
|
10
|
+
content: {
|
|
11
|
+
'application/json': {
|
|
12
|
+
schema: {
|
|
13
|
+
type: 'array',
|
|
14
|
+
items: {
|
|
15
|
+
$ref: '#/components/schemas/Rating',
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
post: {
|
|
24
|
+
tags: ['main', 'app', 'rating'],
|
|
25
|
+
description: 'Submit an app rating.',
|
|
26
|
+
operationId: 'createAppRating',
|
|
27
|
+
requestBody: {
|
|
28
|
+
content: {
|
|
29
|
+
'application/json': {
|
|
30
|
+
schema: {
|
|
31
|
+
type: 'object',
|
|
32
|
+
required: ['rating'],
|
|
33
|
+
properties: {
|
|
34
|
+
rating: {
|
|
35
|
+
$ref: '#/components/schemas/Rating/properties/rating',
|
|
36
|
+
},
|
|
37
|
+
description: {
|
|
38
|
+
$ref: '#/components/schemas/Rating/properties/description',
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
responses: {
|
|
46
|
+
200: {
|
|
47
|
+
description: 'The submitted app rating.',
|
|
48
|
+
content: {
|
|
49
|
+
'application/json': {
|
|
50
|
+
schema: { $ref: '#/components/schemas/Asset/properties/id' },
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
security: [{ studio: [] }],
|
|
56
|
+
},
|
|
57
|
+
};
|
|
58
|
+
//# sourceMappingURL=ratings.js.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export const pathItems = {
|
|
2
|
+
parameters: [
|
|
3
|
+
{ $ref: '#/components/parameters/appId' },
|
|
4
|
+
{ $ref: '#/components/parameters/readmeId' },
|
|
5
|
+
],
|
|
6
|
+
get: {
|
|
7
|
+
tags: ['main', 'app', 'readme'],
|
|
8
|
+
description: 'Get a readme of an app.',
|
|
9
|
+
operationId: 'getAppReadme',
|
|
10
|
+
responses: {
|
|
11
|
+
200: {
|
|
12
|
+
description: 'The app readme',
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=readmeId.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export const pathItems = {
|
|
2
|
+
parameters: [{ $ref: '#/components/parameters/appId' }],
|
|
3
|
+
post: {
|
|
4
|
+
tags: ['main', 'app'],
|
|
5
|
+
operationId: 'reseedDemoApp',
|
|
6
|
+
responses: {
|
|
7
|
+
200: { description: 'The app has successfully been reseeded.' },
|
|
8
|
+
},
|
|
9
|
+
security: [{ studio: ['apps:write'] }],
|
|
10
|
+
},
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=reseed.js.map
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export const pathItems = {
|
|
2
|
+
parameters: [
|
|
3
|
+
{ $ref: '#/components/parameters/appId' },
|
|
4
|
+
{ $ref: '#/components/parameters/resourceType' },
|
|
5
|
+
{ $ref: '#/components/parameters/selectedGroupId' },
|
|
6
|
+
],
|
|
7
|
+
get: {
|
|
8
|
+
tags: ['common', 'app', 'resource'],
|
|
9
|
+
description: 'Get a count of all resources of this app.',
|
|
10
|
+
operationId: 'countAppResources',
|
|
11
|
+
parameters: [
|
|
12
|
+
{ $ref: '#/components/parameters/$filter' },
|
|
13
|
+
{ $ref: '#/components/parameters/$own' },
|
|
14
|
+
],
|
|
15
|
+
responses: {
|
|
16
|
+
200: {
|
|
17
|
+
description: 'The count of all this app’s resources of this type.',
|
|
18
|
+
content: {
|
|
19
|
+
'application/json': {
|
|
20
|
+
schema: {
|
|
21
|
+
type: 'number',
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
security: [{ studio: [] }, { app: ['resources:manage'] }, { cli: ['resources:read'] }, {}],
|
|
28
|
+
},
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=count.js.map
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export const pathItems = {
|
|
2
|
+
parameters: [
|
|
3
|
+
{ $ref: '#/components/parameters/appId' },
|
|
4
|
+
{ $ref: '#/components/parameters/resourceType' },
|
|
5
|
+
{ $ref: '#/components/parameters/resourceId' },
|
|
6
|
+
{ $ref: '#/components/parameters/endpoint' },
|
|
7
|
+
],
|
|
8
|
+
get: {
|
|
9
|
+
tags: ['common', 'app', 'resource', 'subscription'],
|
|
10
|
+
description: 'Get the subscription status of a resource.',
|
|
11
|
+
operationId: 'getAppResourceSubscription',
|
|
12
|
+
responses: {
|
|
13
|
+
200: {
|
|
14
|
+
description: 'The subscription status of the resource that matches the given id.',
|
|
15
|
+
content: {
|
|
16
|
+
'application/json': {
|
|
17
|
+
schema: {
|
|
18
|
+
type: 'object',
|
|
19
|
+
properties: {
|
|
20
|
+
id: { type: 'number' },
|
|
21
|
+
update: { type: 'boolean' },
|
|
22
|
+
delete: { type: 'boolean' },
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=subscriptions.js.map
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
export const pathItems = {
|
|
2
|
+
parameters: [
|
|
3
|
+
{ $ref: '#/components/parameters/appId' },
|
|
4
|
+
{ $ref: '#/components/parameters/resourceType' },
|
|
5
|
+
{ $ref: '#/components/parameters/resourceId' },
|
|
6
|
+
{ $ref: '#/components/parameters/selectedGroupId' },
|
|
7
|
+
],
|
|
8
|
+
get: {
|
|
9
|
+
tags: ['common', 'app', 'resource'],
|
|
10
|
+
parameters: [
|
|
11
|
+
{ $ref: '#/components/parameters/view' },
|
|
12
|
+
{
|
|
13
|
+
name: '$own',
|
|
14
|
+
schema: { type: 'boolean' },
|
|
15
|
+
description: 'If the resources created by the authenticated app member should be included',
|
|
16
|
+
in: 'query',
|
|
17
|
+
},
|
|
18
|
+
],
|
|
19
|
+
description: 'Get a single app resource.',
|
|
20
|
+
operationId: 'getAppResourceById',
|
|
21
|
+
responses: {
|
|
22
|
+
200: {
|
|
23
|
+
description: 'The resource that matches the given id.',
|
|
24
|
+
$ref: '#/components/responses/resource',
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
security: [{ studio: [] }, { app: ['resources:manage'] }, { cli: ['resources:read'] }, {}],
|
|
28
|
+
},
|
|
29
|
+
put: {
|
|
30
|
+
tags: ['common', 'app', 'resource'],
|
|
31
|
+
description: 'Update an existing app resource.',
|
|
32
|
+
operationId: 'updateAppResource',
|
|
33
|
+
requestBody: {
|
|
34
|
+
required: true,
|
|
35
|
+
$ref: '#/components/requestBodies/resource',
|
|
36
|
+
},
|
|
37
|
+
responses: {
|
|
38
|
+
200: {
|
|
39
|
+
description: 'The updated resource.',
|
|
40
|
+
$ref: '#/components/responses/resource',
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
security: [{ studio: [] }, { app: ['resources:manage'] }, { cli: ['resources:write'] }, {}],
|
|
44
|
+
},
|
|
45
|
+
patch: {
|
|
46
|
+
tags: ['common', 'app', 'resource'],
|
|
47
|
+
description: 'Patch an existing app resource.',
|
|
48
|
+
operationId: 'patchAppResource',
|
|
49
|
+
requestBody: {
|
|
50
|
+
required: true,
|
|
51
|
+
$ref: '#/components/requestBodies/resource',
|
|
52
|
+
},
|
|
53
|
+
responses: {
|
|
54
|
+
200: {
|
|
55
|
+
description: 'The patched resource.',
|
|
56
|
+
$ref: '#/components/responses/resource',
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
|
+
security: [{ studio: [] }, { app: ['resources:manage'] }, { cli: ['resources:write'] }, {}],
|
|
60
|
+
},
|
|
61
|
+
delete: {
|
|
62
|
+
tags: ['common', 'app', 'resource'],
|
|
63
|
+
description: 'Delete an existing app resource.',
|
|
64
|
+
operationId: 'deleteAppResource',
|
|
65
|
+
responses: {
|
|
66
|
+
204: {
|
|
67
|
+
description: 'The app resource has been deleted successfully.',
|
|
68
|
+
$ref: '#/components/responses/resource',
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
security: [{ studio: [] }, { app: ['resources:manage'] }, { cli: ['resources:write'] }, {}],
|
|
72
|
+
},
|
|
73
|
+
};
|
|
74
|
+
//# sourceMappingURL=resourceId.js.map
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export const pathItems = {
|
|
2
|
+
parameters: [
|
|
3
|
+
{ $ref: '#/components/parameters/appId' },
|
|
4
|
+
{ $ref: '#/components/parameters/resourceType' },
|
|
5
|
+
{ $ref: '#/components/parameters/endpoint' },
|
|
6
|
+
],
|
|
7
|
+
get: {
|
|
8
|
+
tags: ['common', 'app', 'resource', 'subscription'],
|
|
9
|
+
description: 'Get the current subscription status of this resource.',
|
|
10
|
+
operationId: 'getAppResourceTypeSubscription',
|
|
11
|
+
responses: {
|
|
12
|
+
200: {
|
|
13
|
+
description: 'The subscription status for this resource.',
|
|
14
|
+
content: {
|
|
15
|
+
'application/json': {
|
|
16
|
+
schema: {
|
|
17
|
+
$ref: '#/components/schemas/ResourceSubscription',
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
security: [{ studio: [] }, { app: ['openid'] }, {}],
|
|
24
|
+
},
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=subscriptions.js.map
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
export const pathItems = {
|
|
2
|
+
parameters: [
|
|
3
|
+
{ $ref: '#/components/parameters/appId' },
|
|
4
|
+
{ $ref: '#/components/parameters/resourceType' },
|
|
5
|
+
{ $ref: '#/components/parameters/selectedGroupId' },
|
|
6
|
+
],
|
|
7
|
+
get: {
|
|
8
|
+
tags: ['common', 'app', 'resource'],
|
|
9
|
+
description: 'Get all resources of this app.',
|
|
10
|
+
operationId: 'queryAppResources',
|
|
11
|
+
parameters: [
|
|
12
|
+
{ $ref: '#/components/parameters/view' },
|
|
13
|
+
{ $ref: '#/components/parameters/$filter' },
|
|
14
|
+
{ $ref: '#/components/parameters/$orderby' },
|
|
15
|
+
{ $ref: '#/components/parameters/$select' },
|
|
16
|
+
{ $ref: '#/components/parameters/$skip' },
|
|
17
|
+
{ $ref: '#/components/parameters/$top' },
|
|
18
|
+
{ $ref: '#/components/parameters/$own' },
|
|
19
|
+
],
|
|
20
|
+
responses: {
|
|
21
|
+
200: {
|
|
22
|
+
description: 'The list of all this app’s resources of this type.',
|
|
23
|
+
content: {
|
|
24
|
+
'application/json': {
|
|
25
|
+
schema: {
|
|
26
|
+
type: 'array',
|
|
27
|
+
items: {
|
|
28
|
+
$ref: '#/components/schemas/Resource',
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
'text/csv': {
|
|
33
|
+
schema: {
|
|
34
|
+
type: 'string',
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
security: [{ studio: [] }, { app: ['resources:manage'] }, { cli: ['resources:read'] }, {}],
|
|
41
|
+
},
|
|
42
|
+
post: {
|
|
43
|
+
tags: ['common', 'app', 'resource'],
|
|
44
|
+
description: 'Create a new resource for this app.',
|
|
45
|
+
operationId: 'createAppResource',
|
|
46
|
+
requestBody: {
|
|
47
|
+
required: true,
|
|
48
|
+
description: 'The resource to create',
|
|
49
|
+
content: {
|
|
50
|
+
'application/json': {
|
|
51
|
+
schema: {
|
|
52
|
+
anyOf: [
|
|
53
|
+
{ $ref: '#/components/schemas/Resource' },
|
|
54
|
+
{ type: 'array', items: { $ref: '#/components/schemas/Resource' } },
|
|
55
|
+
],
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
'multipart/form-data': {
|
|
59
|
+
schema: {
|
|
60
|
+
type: 'object',
|
|
61
|
+
required: ['resource'],
|
|
62
|
+
description: 'A `multipart/form-data` representation of a resource.',
|
|
63
|
+
additionalProperties: false,
|
|
64
|
+
properties: {
|
|
65
|
+
resource: {
|
|
66
|
+
type: 'array',
|
|
67
|
+
items: { $ref: '#/components/schemas/Resource' },
|
|
68
|
+
},
|
|
69
|
+
assets: {
|
|
70
|
+
type: 'array',
|
|
71
|
+
description: 'A list of assets that should be linked to the resource.',
|
|
72
|
+
items: {
|
|
73
|
+
type: 'string',
|
|
74
|
+
format: 'binary',
|
|
75
|
+
},
|
|
76
|
+
},
|
|
77
|
+
},
|
|
78
|
+
},
|
|
79
|
+
},
|
|
80
|
+
'text/csv': {
|
|
81
|
+
schema: {
|
|
82
|
+
type: 'array',
|
|
83
|
+
items: { type: 'object', additionalProperties: { type: 'string' } },
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
},
|
|
87
|
+
},
|
|
88
|
+
responses: {
|
|
89
|
+
201: {
|
|
90
|
+
description: 'The resource that was created.',
|
|
91
|
+
$ref: '#/components/responses/resource',
|
|
92
|
+
},
|
|
93
|
+
},
|
|
94
|
+
security: [{ studio: [] }, { app: ['resources:manage'] }, { cli: ['resources:write'] }, {}],
|
|
95
|
+
},
|
|
96
|
+
put: {
|
|
97
|
+
tags: ['common', 'app', 'resource'],
|
|
98
|
+
description: 'Update existing app resources.',
|
|
99
|
+
operationId: 'updateAppResources',
|
|
100
|
+
requestBody: {
|
|
101
|
+
required: true,
|
|
102
|
+
description: 'The resources to update',
|
|
103
|
+
content: {
|
|
104
|
+
'application/json': {
|
|
105
|
+
schema: {
|
|
106
|
+
type: 'array',
|
|
107
|
+
items: { $ref: '#/components/schemas/Resource' },
|
|
108
|
+
},
|
|
109
|
+
},
|
|
110
|
+
'multipart/form-data': {
|
|
111
|
+
schema: {
|
|
112
|
+
type: 'object',
|
|
113
|
+
required: ['resource'],
|
|
114
|
+
description: 'A `multipart/form-data` representation of a resource.',
|
|
115
|
+
additionalProperties: false,
|
|
116
|
+
properties: {
|
|
117
|
+
resource: {
|
|
118
|
+
type: 'array',
|
|
119
|
+
items: { $ref: '#/components/schemas/Resource' },
|
|
120
|
+
},
|
|
121
|
+
assets: {
|
|
122
|
+
type: 'array',
|
|
123
|
+
description: 'A list of assets that should be linked to the resources.',
|
|
124
|
+
items: {
|
|
125
|
+
type: 'string',
|
|
126
|
+
format: 'binary',
|
|
127
|
+
},
|
|
128
|
+
},
|
|
129
|
+
},
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
|
+
'text/csv': {
|
|
133
|
+
schema: {
|
|
134
|
+
type: 'array',
|
|
135
|
+
items: { type: 'object', additionalProperties: { type: 'string' } },
|
|
136
|
+
},
|
|
137
|
+
},
|
|
138
|
+
},
|
|
139
|
+
},
|
|
140
|
+
responses: {
|
|
141
|
+
200: {
|
|
142
|
+
description: 'The updated resources.',
|
|
143
|
+
$ref: '#/components/responses/resource',
|
|
144
|
+
},
|
|
145
|
+
},
|
|
146
|
+
security: [{ studio: [] }, { app: ['resources:manage'] }, { cli: ['resources:write'] }, {}],
|
|
147
|
+
},
|
|
148
|
+
delete: {
|
|
149
|
+
tags: ['common', 'app', 'resource'],
|
|
150
|
+
description: 'Delete multiple app resources.',
|
|
151
|
+
operationId: 'deleteAppResources',
|
|
152
|
+
requestBody: {
|
|
153
|
+
content: {
|
|
154
|
+
'application/json': {
|
|
155
|
+
schema: {
|
|
156
|
+
type: 'array',
|
|
157
|
+
description: 'An array of resource IDs to remove.',
|
|
158
|
+
items: { $ref: '#/components/schemas/Resource/properties/id' },
|
|
159
|
+
},
|
|
160
|
+
},
|
|
161
|
+
},
|
|
162
|
+
},
|
|
163
|
+
responses: {
|
|
164
|
+
204: {
|
|
165
|
+
description: 'The app resources have been deleted successfully.',
|
|
166
|
+
},
|
|
167
|
+
},
|
|
168
|
+
security: [{ studio: [] }, { app: ['resources:manage'] }, { cli: ['resources:write'] }, {}],
|
|
169
|
+
},
|
|
170
|
+
};
|
|
171
|
+
//# sourceMappingURL=resourceType.js.map
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export const pathItems = {
|
|
2
|
+
parameters: [
|
|
3
|
+
{ $ref: '#/components/parameters/appId' },
|
|
4
|
+
{ $ref: '#/components/parameters/resourceType' },
|
|
5
|
+
{ $ref: '#/components/parameters/resourceId' },
|
|
6
|
+
],
|
|
7
|
+
get: {
|
|
8
|
+
tags: ['main', 'app', 'resource', 'version'],
|
|
9
|
+
description: 'Get the known history of a resource',
|
|
10
|
+
operationId: 'getAppResourceVersions',
|
|
11
|
+
responses: {
|
|
12
|
+
200: {
|
|
13
|
+
description: 'The resource that matches the given id.',
|
|
14
|
+
content: {
|
|
15
|
+
'application/json': {
|
|
16
|
+
schema: {
|
|
17
|
+
type: 'array',
|
|
18
|
+
items: {
|
|
19
|
+
$ref: '#/components/responses/resource',
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
security: [{ studio: [] }],
|
|
27
|
+
},
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=versions.js.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export const pathItems = {
|
|
2
|
+
parameters: [{ $ref: '#/components/parameters/appId' }],
|
|
3
|
+
delete: {
|
|
4
|
+
tags: ['main', 'app', 'resource'],
|
|
5
|
+
description: 'Delete all app seed resources.',
|
|
6
|
+
operationId: 'deleteAppSeedResources',
|
|
7
|
+
responses: {
|
|
8
|
+
204: {
|
|
9
|
+
description: 'The app resources have been deleted successfully.',
|
|
10
|
+
},
|
|
11
|
+
},
|
|
12
|
+
security: [{ cli: ['resources:write'] }, {}],
|
|
13
|
+
},
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=resources.js.map
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export const pathItems = {
|
|
2
|
+
parameters: [
|
|
3
|
+
{ $ref: '#/components/parameters/appId' },
|
|
4
|
+
{ $ref: '#/components/parameters/appSamlSecretId' },
|
|
5
|
+
],
|
|
6
|
+
post: {
|
|
7
|
+
tags: ['main', 'app', 'saml'],
|
|
8
|
+
operationId: 'assertAppSamlConsumerService',
|
|
9
|
+
security: [{ studio: [] }, {}],
|
|
10
|
+
requestBody: {
|
|
11
|
+
content: {
|
|
12
|
+
'application/x-www-form-urlencoded': {
|
|
13
|
+
schema: {
|
|
14
|
+
type: 'object',
|
|
15
|
+
properties: {
|
|
16
|
+
RelayState: { type: 'string' },
|
|
17
|
+
SAMLResponse: { type: 'string' },
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
responses: {
|
|
24
|
+
302: {
|
|
25
|
+
description: 'A list of the SAML secrets for the app.',
|
|
26
|
+
content: {
|
|
27
|
+
'application/json': {
|
|
28
|
+
schema: {},
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
};
|
|
35
|
+
//# sourceMappingURL=acs.js.map
|