@kestra-io/kestra-sdk 0.24.0
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 +879 -0
- package/dist/ApiClient.js +704 -0
- package/dist/KestraClient.js +97 -0
- package/dist/api/AIApi.js +85 -0
- package/dist/api/AppsApi.js +1017 -0
- package/dist/api/AuditLogsApi.js +253 -0
- package/dist/api/AuthsApi.js +236 -0
- package/dist/api/BannersApi.js +184 -0
- package/dist/api/BindingsApi.js +269 -0
- package/dist/api/BlueprintTagsApi.js +134 -0
- package/dist/api/BlueprintsApi.js +528 -0
- package/dist/api/ClusterApi.js +100 -0
- package/dist/api/DashboardsApi.js +535 -0
- package/dist/api/DefaultApi.js +274 -0
- package/dist/api/ExecutionsApi.js +2942 -0
- package/dist/api/FilesApi.js +471 -0
- package/dist/api/FlowsApi.js +1509 -0
- package/dist/api/GroupsApi.js +567 -0
- package/dist/api/InvitationsApi.js +300 -0
- package/dist/api/KVApi.js +280 -0
- package/dist/api/LogsApi.js +371 -0
- package/dist/api/MaintenanceApi.js +100 -0
- package/dist/api/MetricsApi.js +393 -0
- package/dist/api/MiscApi.js +385 -0
- package/dist/api/NamespacesApi.js +653 -0
- package/dist/api/PluginsApi.js +755 -0
- package/dist/api/RolesApi.js +352 -0
- package/dist/api/SCIMApi.js +815 -0
- package/dist/api/SCIMConfigurationApi.js +264 -0
- package/dist/api/SCIMGroupsApi.js +423 -0
- package/dist/api/SCIMUsersApi.js +423 -0
- package/dist/api/SecurityIntegrationsApi.js +290 -0
- package/dist/api/ServiceAccountApi.js +213 -0
- package/dist/api/ServicesApi.js +164 -0
- package/dist/api/TenantAccessApi.js +268 -0
- package/dist/api/TenantsApi.js +325 -0
- package/dist/api/TestSuitesApi.js +594 -0
- package/dist/api/TriggersApi.js +885 -0
- package/dist/api/UsersApi.js +894 -0
- package/dist/api/WorkerGroupsApi.js +224 -0
- package/dist/index.js +2967 -0
- package/dist/model/AbstractFlow.js +252 -0
- package/dist/model/AbstractFlowLabels.js +158 -0
- package/dist/model/AbstractGraph.js +110 -0
- package/dist/model/AbstractGraphBranchType.js +63 -0
- package/dist/model/AbstractMetricEntryObject.js +162 -0
- package/dist/model/AbstractTrigger.js +264 -0
- package/dist/model/AbstractTriggerForExecution.js +138 -0
- package/dist/model/AbstractUser.js +277 -0
- package/dist/model/AbstractUserTenantIdentityProvider.js +157 -0
- package/dist/model/Action.js +68 -0
- package/dist/model/ApiAuth.js +113 -0
- package/dist/model/ApiAutocomplete.js +101 -0
- package/dist/model/ApiGroupSummary.js +101 -0
- package/dist/model/ApiIds.js +89 -0
- package/dist/model/ApiRoleSummary.js +117 -0
- package/dist/model/ApiSecretListResponse.js +148 -0
- package/dist/model/ApiSecretMeta.js +112 -0
- package/dist/model/ApiSecretMetaEE.js +166 -0
- package/dist/model/ApiSecretTag.js +126 -0
- package/dist/model/ApiSecretValue.js +168 -0
- package/dist/model/ApiTenant.js +315 -0
- package/dist/model/ApiUser.js +361 -0
- package/dist/model/AppResponse.js +115 -0
- package/dist/model/AppResponseUILayout.js +89 -0
- package/dist/model/AppsControllerApiApp.js +173 -0
- package/dist/model/AppsControllerApiAppCatalogItem.js +137 -0
- package/dist/model/AppsControllerApiAppSource.js +161 -0
- package/dist/model/AppsControllerApiAppTags.js +89 -0
- package/dist/model/AppsControllerApiBulkImportResponse.js +122 -0
- package/dist/model/AppsControllerApiBulkImportResponseError.js +101 -0
- package/dist/model/AppsControllerApiBulkOperationRequest.js +89 -0
- package/dist/model/Assertion.js +325 -0
- package/dist/model/AssertionResult.js +178 -0
- package/dist/model/AssertionRunError.js +124 -0
- package/dist/model/AttributeReference.js +149 -0
- package/dist/model/AuditLog.js +257 -0
- package/dist/model/AuditLogControllerAuditLogDiff.js +101 -0
- package/dist/model/AuditLogControllerAuditLogOption.js +109 -0
- package/dist/model/AuditLogControllerAuditLogWithUser.js +105 -0
- package/dist/model/AuditLogControllerFindRequest.js +105 -0
- package/dist/model/AuditLogDetail.js +149 -0
- package/dist/model/AuthControllerAuth.js +105 -0
- package/dist/model/AuthControllerInvitationUserRequest.js +140 -0
- package/dist/model/AuthControllerResetPasswordRequest.js +101 -0
- package/dist/model/Backfill.js +180 -0
- package/dist/model/Banner.js +169 -0
- package/dist/model/BannerType.js +63 -0
- package/dist/model/BaseAuditLog.js +195 -0
- package/dist/model/BaseResourcePatchRequest.js +89 -0
- package/dist/model/BaseResourceScimResource.js +89 -0
- package/dist/model/BaseResourceSearchRequest.js +89 -0
- package/dist/model/Binding.js +171 -0
- package/dist/model/BindingType.js +58 -0
- package/dist/model/Blueprint.js +178 -0
- package/dist/model/BlueprintControllerApiBlueprintItem.js +145 -0
- package/dist/model/BlueprintControllerApiBlueprintItemWithSource.js +196 -0
- package/dist/model/BlueprintControllerApiBlueprintTagItem.js +109 -0
- package/dist/model/BlueprintControllerKind.js +63 -0
- package/dist/model/BlueprintWithFlow.js +226 -0
- package/dist/model/Breakpoint.js +124 -0
- package/dist/model/BulkErrorResponse.js +97 -0
- package/dist/model/BulkResponse.js +85 -0
- package/dist/model/Cache.js +120 -0
- package/dist/model/ChartChartOption.js +134 -0
- package/dist/model/ChartFiltersOverrides.js +164 -0
- package/dist/model/Concurrency.js +119 -0
- package/dist/model/ConcurrencyBehavior.js +63 -0
- package/dist/model/Condition.js +112 -0
- package/dist/model/ConfigurationUsage.js +133 -0
- package/dist/model/ConversionServiceProvider.js +108 -0
- package/dist/model/ConvertibleMultiValuesString.js +139 -0
- package/dist/model/ConvertibleValuesListString.js +126 -0
- package/dist/model/CreateApiTokenRequest.js +144 -0
- package/dist/model/CreateApiTokenResponse.js +113 -0
- package/dist/model/CreateSecurityIntegrationRequest.js +140 -0
- package/dist/model/CrudEventType.js +93 -0
- package/dist/model/CustomLink.js +113 -0
- package/dist/model/DailyExecutionStatistics.js +150 -0
- package/dist/model/DailyExecutionStatisticsDuration.js +164 -0
- package/dist/model/DailyExecutionStatisticsExecutionCounts.js +197 -0
- package/dist/model/Dashboard.js +180 -0
- package/dist/model/DashboardControllerPreviewRequest.js +126 -0
- package/dist/model/DeleteExecutionsByQueryRequest.js +111 -0
- package/dist/model/DeletedInterface.js +85 -0
- package/dist/model/DependsOn.js +101 -0
- package/dist/model/DocumentationWithSchema.js +103 -0
- package/dist/model/Email.js +110 -0
- package/dist/model/EventAppResponse.js +139 -0
- package/dist/model/EventExecution.js +139 -0
- package/dist/model/EventExecutionStatusEvent.js +139 -0
- package/dist/model/EventLogEntry.js +139 -0
- package/dist/model/ExecutableTaskSubflowId.js +109 -0
- package/dist/model/Execution.js +407 -0
- package/dist/model/ExecutionControllerApiValidateExecutionInputsResponse.js +134 -0
- package/dist/model/ExecutionControllerApiValidateExecutionInputsResponseApiInputAndValue.js +140 -0
- package/dist/model/ExecutionControllerApiValidateExecutionInputsResponseApiInputError.js +89 -0
- package/dist/model/ExecutionControllerEvalResult.js +113 -0
- package/dist/model/ExecutionControllerExecutionResponse.js +505 -0
- package/dist/model/ExecutionControllerLastExecutionResponse.js +130 -0
- package/dist/model/ExecutionControllerSetLabelsByIdsRequest.js +122 -0
- package/dist/model/ExecutionControllerStateRequest.js +98 -0
- package/dist/model/ExecutionControllerWebhookResponse.js +216 -0
- package/dist/model/ExecutionKind.js +63 -0
- package/dist/model/ExecutionMetadata.js +93 -0
- package/dist/model/ExecutionRepositoryInterfaceChildFilter.js +58 -0
- package/dist/model/ExecutionRepositoryInterfaceFlowFilter.js +126 -0
- package/dist/model/ExecutionStatusEvent.js +139 -0
- package/dist/model/ExecutionTrigger.js +148 -0
- package/dist/model/ExecutionUsage.js +139 -0
- package/dist/model/FileAttributes.js +132 -0
- package/dist/model/FileAttributesFileType.js +58 -0
- package/dist/model/FileMetas.js +108 -0
- package/dist/model/Filter.js +97 -0
- package/dist/model/Fixtures.js +144 -0
- package/dist/model/Flow.js +601 -0
- package/dist/model/FlowAllOfLabels.js +158 -0
- package/dist/model/FlowControllerTaskValidationType.js +58 -0
- package/dist/model/FlowForExecution.js +447 -0
- package/dist/model/FlowForExecutionAllOfLabels.js +158 -0
- package/dist/model/FlowGenerationPrompt.js +126 -0
- package/dist/model/FlowGraph.js +182 -0
- package/dist/model/FlowGraphCluster.js +139 -0
- package/dist/model/FlowGraphEdge.js +115 -0
- package/dist/model/FlowId.js +121 -0
- package/dist/model/FlowInterface.js +350 -0
- package/dist/model/FlowNode.js +136 -0
- package/dist/model/FlowRelation.js +58 -0
- package/dist/model/FlowScope.js +58 -0
- package/dist/model/FlowTopologyGraph.js +140 -0
- package/dist/model/FlowTopologyGraphEdge.js +110 -0
- package/dist/model/FlowUsage.js +123 -0
- package/dist/model/FlowWithSource.js +695 -0
- package/dist/model/FlowWithSourceAllOfLabels.js +158 -0
- package/dist/model/Group.js +160 -0
- package/dist/model/GroupIdentifier.js +118 -0
- package/dist/model/GroupIdentifierMembership.js +58 -0
- package/dist/model/GroupUsage.js +85 -0
- package/dist/model/HostUsage.js +131 -0
- package/dist/model/HostUsageHardware.js +125 -0
- package/dist/model/HostUsageJvm.js +113 -0
- package/dist/model/HostUsageOs.js +125 -0
- package/dist/model/HttpParameters.js +152 -0
- package/dist/model/IAMBindingControllerApiBindingDetail.js +152 -0
- package/dist/model/IAMBindingControllerApiBindingGroup.js +101 -0
- package/dist/model/IAMBindingControllerApiBindingSummary.js +152 -0
- package/dist/model/IAMBindingControllerApiBindingUser.js +122 -0
- package/dist/model/IAMBindingControllerApiCreateBindingRequest.js +149 -0
- package/dist/model/IAMBindingControllerApiRole.js +101 -0
- package/dist/model/IAMGroupControllerApiCreateGroupRequest.js +136 -0
- package/dist/model/IAMGroupControllerApiGroupDetail.js +113 -0
- package/dist/model/IAMGroupControllerApiGroupMember.js +146 -0
- package/dist/model/IAMGroupControllerApiGroupMembership.js +118 -0
- package/dist/model/IAMGroupControllerApiUpdateGroupRequest.js +127 -0
- package/dist/model/IAMInvitationControllerApiInvitationCreateRequest.js +170 -0
- package/dist/model/IAMInvitationControllerApiInvitationDetail.js +229 -0
- package/dist/model/IAMInvitationControllerApiInvitationRole.js +124 -0
- package/dist/model/IAMRoleControllerApiRoleCreateOrUpdateRequest.js +148 -0
- package/dist/model/IAMRoleControllerApiRoleCreateOrUpdateRequestPermissions.js +365 -0
- package/dist/model/IAMRoleControllerApiRoleDetail.js +143 -0
- package/dist/model/IAMServiceAccountControllerApiGroup.js +89 -0
- package/dist/model/IAMServiceAccountControllerApiServiceAccountRequest.js +163 -0
- package/dist/model/IAMServiceAccountControllerApiServiceAccountResponse.js +178 -0
- package/dist/model/IAMTenantAccessControllerApiAuthentication.js +101 -0
- package/dist/model/IAMTenantAccessControllerApiCreateTenantAccessRequest.js +112 -0
- package/dist/model/IAMTenantAccessControllerApiGroup.js +109 -0
- package/dist/model/IAMTenantAccessControllerApiRoleAssignment.js +167 -0
- package/dist/model/IAMTenantAccessControllerApiTenantAccess.js +196 -0
- package/dist/model/IAMTenantAccessControllerApiUserPermission.js +99 -0
- package/dist/model/IAMTenantAccessControllerApiUserTenantAccess.js +188 -0
- package/dist/model/IAMTenantAccessControllerUserApiAutocomplete.js +127 -0
- package/dist/model/IAMUserControllerApiCreateOrUpdateUserRequest.js +188 -0
- package/dist/model/IAMUserControllerApiGroup.js +101 -0
- package/dist/model/IAMUserControllerApiPatchRestrictedRequest.js +108 -0
- package/dist/model/IAMUserControllerApiPatchSuperAdminRequest.js +108 -0
- package/dist/model/IAMUserControllerApiPatchUserPasswordRequest.js +112 -0
- package/dist/model/IAMUserControllerApiTenant.js +101 -0
- package/dist/model/IAMUserControllerApiUser.js +258 -0
- package/dist/model/IAMUserControllerApiUserAuth.js +113 -0
- package/dist/model/IAMUserControllerApiUserSummary.js +184 -0
- package/dist/model/IAMUserGroupControllerApiUpdateUserGroupsRequest.js +89 -0
- package/dist/model/IdWithNamespace.js +101 -0
- package/dist/model/IdentityProvider.js +123 -0
- package/dist/model/InputObject.js +189 -0
- package/dist/model/InputType.js +101 -0
- package/dist/model/InstanceControllerApiActiveService.js +94 -0
- package/dist/model/InstanceControllerApiActiveServiceList.js +118 -0
- package/dist/model/InstanceControllerApiCreateOrUpdateWorkerGroupRequest.js +139 -0
- package/dist/model/InstanceControllerApiPluginArtifact.js +137 -0
- package/dist/model/InstanceControllerApiPluginArtifactListPluginArtifact.js +97 -0
- package/dist/model/InstanceControllerApiPluginArtifactListPluginResolutionResult.js +97 -0
- package/dist/model/InstanceControllerApiPluginListRequest.js +89 -0
- package/dist/model/InstanceControllerApiPluginVersionDetails.js +182 -0
- package/dist/model/InstanceControllerApiPluginVersionDetailsApiPluginClass.js +101 -0
- package/dist/model/InstanceControllerApiPluginVersionDetailsApiPluginClasses.js +122 -0
- package/dist/model/InstanceControllerApiPluginVersions.js +134 -0
- package/dist/model/InstanceControllerApiPluginVersionsApiPluginVersionAndMetadata.js +103 -0
- package/dist/model/InstanceControllerApiServerInstance.js +122 -0
- package/dist/model/InstanceControllerApiServiceInstance.js +137 -0
- package/dist/model/InstanceControllerApiWorkerGroup.js +129 -0
- package/dist/model/InstanceControllerApiWorkerGroupDetails.js +163 -0
- package/dist/model/InstanceControllerApiWorkerGroupItem.js +126 -0
- package/dist/model/InstanceControllerApiWorkerGroupList.js +112 -0
- package/dist/model/Invitation.js +258 -0
- package/dist/model/InvitationInvitationStatus.js +63 -0
- package/dist/model/Isolation.js +98 -0
- package/dist/model/KVControllerApiDeleteBulkRequest.js +89 -0
- package/dist/model/KVControllerApiDeleteBulkResponse.js +89 -0
- package/dist/model/KVControllerTypedValue.js +94 -0
- package/dist/model/KVEntry.js +125 -0
- package/dist/model/KVType.js +83 -0
- package/dist/model/Label.js +126 -0
- package/dist/model/Level.js +73 -0
- package/dist/model/Listener.js +172 -0
- package/dist/model/LogEntry.js +242 -0
- package/dist/model/MapObjectObject.js +85 -0
- package/dist/model/MeControllerApiMe.js +182 -0
- package/dist/model/MeControllerApiProfile.js +125 -0
- package/dist/model/MeControllerApiTenant.js +113 -0
- package/dist/model/MeControllerApiUpdatePasswordRequest.js +101 -0
- package/dist/model/MeControllerApiUserDetailsRequest.js +113 -0
- package/dist/model/Meta.js +129 -0
- package/dist/model/Metric.js +166 -0
- package/dist/model/MetricAggregation.js +130 -0
- package/dist/model/MetricAggregations.js +144 -0
- package/dist/model/MetricEntry.js +239 -0
- package/dist/model/MetricTag.js +101 -0
- package/dist/model/MiscControllerBasicAuthCredentials.js +113 -0
- package/dist/model/MiscControllerConfiguration.js +266 -0
- package/dist/model/MiscControllerEEConfiguration.js +494 -0
- package/dist/model/MiscControllerEnvironment.js +101 -0
- package/dist/model/MiscControllerLicenseInfo.js +129 -0
- package/dist/model/MiscControllerPluginIdAndVersion.js +101 -0
- package/dist/model/MiscControllerPreview.js +93 -0
- package/dist/model/MiscControllerTenantConfigurationInfo.js +93 -0
- package/dist/model/Name.js +102 -0
- package/dist/model/Namespace.js +350 -0
- package/dist/model/NamespaceAllowedNamespace.js +112 -0
- package/dist/model/NamespaceAllowedTrigger.js +124 -0
- package/dist/model/NamespaceLight.js +122 -0
- package/dist/model/NamespaceUsage.js +85 -0
- package/dist/model/NamespaceWithDisabled.js +370 -0
- package/dist/model/Output.js +157 -0
- package/dist/model/PageRequest.js +93 -0
- package/dist/model/PagedResultsApiGroupSummary.js +140 -0
- package/dist/model/PagedResultsApiRoleSummary.js +140 -0
- package/dist/model/PagedResultsAppsControllerApiApp.js +140 -0
- package/dist/model/PagedResultsAppsControllerApiAppCatalogItem.js +140 -0
- package/dist/model/PagedResultsAuditLogControllerAuditLogWithUser.js +140 -0
- package/dist/model/PagedResultsBlueprint.js +140 -0
- package/dist/model/PagedResultsBlueprintControllerApiBlueprintItem.js +140 -0
- package/dist/model/PagedResultsDashboard.js +140 -0
- package/dist/model/PagedResultsExecution.js +140 -0
- package/dist/model/PagedResultsFlow.js +140 -0
- package/dist/model/PagedResultsIAMBindingControllerApiBindingDetail.js +140 -0
- package/dist/model/PagedResultsIAMBindingControllerApiBindingSummary.js +140 -0
- package/dist/model/PagedResultsIAMGroupControllerApiGroupMember.js +140 -0
- package/dist/model/PagedResultsIAMInvitationControllerApiInvitationDetail.js +140 -0
- package/dist/model/PagedResultsIAMTenantAccessControllerApiUserTenantAccess.js +140 -0
- package/dist/model/PagedResultsIAMUserControllerApiUserSummary.js +140 -0
- package/dist/model/PagedResultsInstanceControllerApiPluginArtifact.js +140 -0
- package/dist/model/PagedResultsInstanceControllerApiServiceInstance.js +140 -0
- package/dist/model/PagedResultsLogEntry.js +140 -0
- package/dist/model/PagedResultsMapStringObject.js +124 -0
- package/dist/model/PagedResultsMetricEntry.js +140 -0
- package/dist/model/PagedResultsNamespaceWithDisabled.js +140 -0
- package/dist/model/PagedResultsSearchResultFlow.js +140 -0
- package/dist/model/PagedResultsTaskRun.js +140 -0
- package/dist/model/PagedResultsTenant.js +140 -0
- package/dist/model/PagedResultsTestSuite.js +140 -0
- package/dist/model/PagedResultsTrigger.js +140 -0
- package/dist/model/PagedResultsTriggerControllerTriggers.js +140 -0
- package/dist/model/PatchOperation.js +108 -0
- package/dist/model/PatchOperationPath.js +91 -0
- package/dist/model/PatchOperationType.js +63 -0
- package/dist/model/PatchRequest.js +132 -0
- package/dist/model/Permission.js +168 -0
- package/dist/model/Plugin.js +601 -0
- package/dist/model/PluginArtifact.js +149 -0
- package/dist/model/PluginArtifactMetadata.js +125 -0
- package/dist/model/PluginControllerApiPluginVersions.js +101 -0
- package/dist/model/PluginDefault.js +130 -0
- package/dist/model/PluginIcon.js +109 -0
- package/dist/model/PluginMetric.js +113 -0
- package/dist/model/PluginPluginElementMetadata.js +97 -0
- package/dist/model/PluginSchema.js +107 -0
- package/dist/model/PluginSubGroupPluginCategory.js +118 -0
- package/dist/model/PluginUsage.js +87 -0
- package/dist/model/PreviewAppRequest.js +91 -0
- package/dist/model/PropertyBoolean.js +97 -0
- package/dist/model/PropertyDouble.js +97 -0
- package/dist/model/PropertyDuration.js +101 -0
- package/dist/model/PropertyListString.js +101 -0
- package/dist/model/PropertyObject.js +97 -0
- package/dist/model/PropertyString.js +101 -0
- package/dist/model/QueryFilter.js +103 -0
- package/dist/model/QueryFilterField.js +123 -0
- package/dist/model/QueryFilterFieldOp.js +134 -0
- package/dist/model/QueryFilterOp.js +113 -0
- package/dist/model/QueryFilterOperation.js +101 -0
- package/dist/model/QueryFilterResourceField.js +122 -0
- package/dist/model/RBACServiceRoleAssignmentRoleOrigin.js +58 -0
- package/dist/model/Relation.js +98 -0
- package/dist/model/RelationType.js +83 -0
- package/dist/model/ResourceType.js +339 -0
- package/dist/model/ResourceTypeSchemaExtensionConfiguration.js +97 -0
- package/dist/model/Role.js +178 -0
- package/dist/model/RoleUsage.js +85 -0
- package/dist/model/SLA.js +148 -0
- package/dist/model/SLABehavior.js +63 -0
- package/dist/model/SLAType.js +58 -0
- package/dist/model/Schema.js +180 -0
- package/dist/model/SchemaAttribute.js +274 -0
- package/dist/model/SchemaAttributeMutability.js +68 -0
- package/dist/model/SchemaAttributeReturned.js +68 -0
- package/dist/model/SchemaAttributeType.js +88 -0
- package/dist/model/SchemaAttributeUniqueness.js +63 -0
- package/dist/model/SchemaType.js +88 -0
- package/dist/model/ScimExtension.js +89 -0
- package/dist/model/ScimResource.js +195 -0
- package/dist/model/ScimResourceWithOptionalId.js +228 -0
- package/dist/model/ScimUser.js +336 -0
- package/dist/model/SearchRequest.js +241 -0
- package/dist/model/SearchResultFlow.js +103 -0
- package/dist/model/SecurityIntegrationType.js +53 -0
- package/dist/model/ServerConfig.js +136 -0
- package/dist/model/ServerConfigLiveness.js +169 -0
- package/dist/model/ServerInstance.js +165 -0
- package/dist/model/ServerInstanceType.js +58 -0
- package/dist/model/ServerType.js +78 -0
- package/dist/model/ServiceInstance.js +232 -0
- package/dist/model/ServiceInstanceTimestampedEvent.js +118 -0
- package/dist/model/ServiceProviderConfiguration.js +384 -0
- package/dist/model/ServiceProviderConfigurationAuthenticationSchema.js +134 -0
- package/dist/model/ServiceProviderConfigurationAuthenticationSchemaType.js +73 -0
- package/dist/model/ServiceProviderConfigurationBulkConfiguration.js +111 -0
- package/dist/model/ServiceProviderConfigurationFilterConfiguration.js +103 -0
- package/dist/model/ServiceProviderConfigurationSupportedConfiguration.js +85 -0
- package/dist/model/ServiceServiceState.js +98 -0
- package/dist/model/ServiceType.js +73 -0
- package/dist/model/ServiceUsage.js +110 -0
- package/dist/model/ServiceUsageDailyServiceStatistics.js +122 -0
- package/dist/model/ServiceUsageDailyStatistics.js +109 -0
- package/dist/model/SetupConfiguration.js +145 -0
- package/dist/model/SetupConfigurationSetupData.js +115 -0
- package/dist/model/SortOrder.js +58 -0
- package/dist/model/SortRequest.js +100 -0
- package/dist/model/State.js +167 -0
- package/dist/model/StateHistory.js +119 -0
- package/dist/model/StateType.js +123 -0
- package/dist/model/Task.js +253 -0
- package/dist/model/TaskFixture.js +157 -0
- package/dist/model/TaskForExecution.js +211 -0
- package/dist/model/TaskRun.js +284 -0
- package/dist/model/TaskRunAttempt.js +168 -0
- package/dist/model/Tenant.js +245 -0
- package/dist/model/TenantInterface.js +89 -0
- package/dist/model/TenantUsage.js +85 -0
- package/dist/model/TestState.js +68 -0
- package/dist/model/TestSuite.js +212 -0
- package/dist/model/TestSuiteControllerSearchTestsLastResult.js +110 -0
- package/dist/model/TestSuiteControllerTestSuiteApiId.js +126 -0
- package/dist/model/TestSuiteControllerTestSuiteBulkRequest.js +130 -0
- package/dist/model/TestSuiteControllerTestsLastResultResponse.js +110 -0
- package/dist/model/TestSuiteRunResult.js +215 -0
- package/dist/model/TheLabelsToPassToTheExecutionCreated.js +158 -0
- package/dist/model/TimeWindow.js +101 -0
- package/dist/model/Trigger.js +287 -0
- package/dist/model/TriggerContext.js +205 -0
- package/dist/model/TriggerControllerSetDisabledRequest.js +140 -0
- package/dist/model/TriggerControllerTriggers.js +105 -0
- package/dist/model/TriggerFixture.js +136 -0
- package/dist/model/Type.js +143 -0
- package/dist/model/UnitTest.js +192 -0
- package/dist/model/UnitTestResult.js +239 -0
- package/dist/model/UpdateFlow200Response.js +261 -0
- package/dist/model/UpdateFlowsInNamespaceFromJson200Response.js +141 -0
- package/dist/model/Usage.js +343 -0
- package/dist/model/UsageEE.js +483 -0
- package/dist/model/UserGroup.js +122 -0
- package/dist/model/UserGroupType.js +58 -0
- package/dist/model/UserType.js +58 -0
- package/dist/model/UserUsage.js +138 -0
- package/dist/model/UsernamePasswordCredentials.js +150 -0
- package/dist/model/ValidateConstraintViolation.js +188 -0
- package/dist/model/ValuePathExpression.js +99 -0
- package/dist/model/WorkerGroup.js +98 -0
- package/dist/model/WorkerGroupFallback.js +63 -0
- package/dist/model/WorkerTaskRestartStrategy.js +63 -0
- package/package.json +46 -0
|
@@ -0,0 +1,567 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
+
var _ApiAutocomplete = _interopRequireDefault(require("../model/ApiAutocomplete"));
|
|
9
|
+
var _ApiGroupSummary = _interopRequireDefault(require("../model/ApiGroupSummary"));
|
|
10
|
+
var _ApiIds = _interopRequireDefault(require("../model/ApiIds"));
|
|
11
|
+
var _GroupIdentifierMembership = _interopRequireDefault(require("../model/GroupIdentifierMembership"));
|
|
12
|
+
var _IAMGroupControllerApiCreateGroupRequest = _interopRequireDefault(require("../model/IAMGroupControllerApiCreateGroupRequest"));
|
|
13
|
+
var _IAMGroupControllerApiGroupDetail = _interopRequireDefault(require("../model/IAMGroupControllerApiGroupDetail"));
|
|
14
|
+
var _IAMGroupControllerApiGroupMember = _interopRequireDefault(require("../model/IAMGroupControllerApiGroupMember"));
|
|
15
|
+
var _IAMGroupControllerApiUpdateGroupRequest = _interopRequireDefault(require("../model/IAMGroupControllerApiUpdateGroupRequest"));
|
|
16
|
+
var _PagedResultsApiGroupSummary = _interopRequireDefault(require("../model/PagedResultsApiGroupSummary"));
|
|
17
|
+
var _PagedResultsIAMGroupControllerApiGroupMember = _interopRequireDefault(require("../model/PagedResultsIAMGroupControllerApiGroupMember"));
|
|
18
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
19
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
20
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
21
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
22
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
23
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
24
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
25
|
+
* Kestra EE
|
|
26
|
+
* All API operations, except for Superadmin-only endpoints, require a tenant identifier in the HTTP path.<br/> Endpoints designated as Superadmin-only are not tenant-scoped.
|
|
27
|
+
*
|
|
28
|
+
* The version of the OpenAPI document: v1
|
|
29
|
+
*
|
|
30
|
+
*
|
|
31
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
32
|
+
* https://openapi-generator.tech
|
|
33
|
+
* Do not edit the class manually.
|
|
34
|
+
*
|
|
35
|
+
*/
|
|
36
|
+
/**
|
|
37
|
+
* Groups service.
|
|
38
|
+
* @module api/GroupsApi
|
|
39
|
+
* @version v0.24.0
|
|
40
|
+
*/
|
|
41
|
+
var GroupsApi = exports["default"] = /*#__PURE__*/function () {
|
|
42
|
+
/**
|
|
43
|
+
* Constructs a new GroupsApi.
|
|
44
|
+
* @alias module:api/GroupsApi
|
|
45
|
+
* @class
|
|
46
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
47
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
48
|
+
*/
|
|
49
|
+
function GroupsApi(apiClient) {
|
|
50
|
+
_classCallCheck(this, GroupsApi);
|
|
51
|
+
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Callback function to receive the result of the addUserToGroup operation.
|
|
56
|
+
* @callback module:api/GroupsApi~addUserToGroupCallback
|
|
57
|
+
* @param {String} error Error message, if any.
|
|
58
|
+
* @param {module:model/IAMGroupControllerApiGroupMember} data The data returned by the service call.
|
|
59
|
+
* @param {String} response The complete HTTP response.
|
|
60
|
+
*/
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Add a user to a group
|
|
64
|
+
* Adds the specified user to the given group. If the user does not already have access to the tenant, tenant access will be created automatically.
|
|
65
|
+
* @param {String} id The ID of the group
|
|
66
|
+
* @param {String} userId The ID of the user to add to the group
|
|
67
|
+
* @param {String} tenant
|
|
68
|
+
* @param {module:api/GroupsApi~addUserToGroupCallback} callback The callback function, accepting three arguments: error, data, response
|
|
69
|
+
* data is of type: {@link module:model/IAMGroupControllerApiGroupMember}
|
|
70
|
+
*/
|
|
71
|
+
return _createClass(GroupsApi, [{
|
|
72
|
+
key: "addUserToGroup",
|
|
73
|
+
value: function addUserToGroup(id, userId, tenant, callback) {
|
|
74
|
+
var postBody = null;
|
|
75
|
+
// verify the required parameter 'id' is set
|
|
76
|
+
if (id === undefined || id === null) {
|
|
77
|
+
throw new Error("Missing the required parameter 'id' when calling addUserToGroup");
|
|
78
|
+
}
|
|
79
|
+
// verify the required parameter 'userId' is set
|
|
80
|
+
if (userId === undefined || userId === null) {
|
|
81
|
+
throw new Error("Missing the required parameter 'userId' when calling addUserToGroup");
|
|
82
|
+
}
|
|
83
|
+
// verify the required parameter 'tenant' is set
|
|
84
|
+
if (tenant === undefined || tenant === null) {
|
|
85
|
+
throw new Error("Missing the required parameter 'tenant' when calling addUserToGroup");
|
|
86
|
+
}
|
|
87
|
+
var pathParams = {
|
|
88
|
+
'id': id,
|
|
89
|
+
'userId': userId,
|
|
90
|
+
'tenant': tenant
|
|
91
|
+
};
|
|
92
|
+
var queryParams = {};
|
|
93
|
+
var headerParams = {};
|
|
94
|
+
var formParams = {};
|
|
95
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
96
|
+
var contentTypes = [];
|
|
97
|
+
var accepts = ['application/json'];
|
|
98
|
+
var returnType = _IAMGroupControllerApiGroupMember["default"];
|
|
99
|
+
return this.apiClient.callApi('/api/v1/{tenant}/groups/{id}/members/{userId}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Callback function to receive the result of the autocompleteGroups operation.
|
|
104
|
+
* @callback module:api/GroupsApi~autocompleteGroupsCallback
|
|
105
|
+
* @param {String} error Error message, if any.
|
|
106
|
+
* @param {Array.<module:model/ApiGroupSummary>} data The data returned by the service call.
|
|
107
|
+
* @param {String} response The complete HTTP response.
|
|
108
|
+
*/
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* List groups for autocomplete
|
|
112
|
+
* @param {String} tenant
|
|
113
|
+
* @param {module:model/ApiAutocomplete} apiAutocomplete Autocomplete request
|
|
114
|
+
* @param {module:api/GroupsApi~autocompleteGroupsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
115
|
+
* data is of type: {@link Array.<module:model/ApiGroupSummary>}
|
|
116
|
+
*/
|
|
117
|
+
}, {
|
|
118
|
+
key: "autocompleteGroups",
|
|
119
|
+
value: function autocompleteGroups(tenant, apiAutocomplete, callback) {
|
|
120
|
+
var postBody = apiAutocomplete;
|
|
121
|
+
// verify the required parameter 'tenant' is set
|
|
122
|
+
if (tenant === undefined || tenant === null) {
|
|
123
|
+
throw new Error("Missing the required parameter 'tenant' when calling autocompleteGroups");
|
|
124
|
+
}
|
|
125
|
+
// verify the required parameter 'apiAutocomplete' is set
|
|
126
|
+
if (apiAutocomplete === undefined || apiAutocomplete === null) {
|
|
127
|
+
throw new Error("Missing the required parameter 'apiAutocomplete' when calling autocompleteGroups");
|
|
128
|
+
}
|
|
129
|
+
var pathParams = {
|
|
130
|
+
'tenant': tenant
|
|
131
|
+
};
|
|
132
|
+
var queryParams = {};
|
|
133
|
+
var headerParams = {};
|
|
134
|
+
var formParams = {};
|
|
135
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
136
|
+
var contentTypes = ['application/json'];
|
|
137
|
+
var accepts = ['application/json'];
|
|
138
|
+
var returnType = [_ApiGroupSummary["default"]];
|
|
139
|
+
return this.apiClient.callApi('/api/v1/{tenant}/groups/autocomplete', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Callback function to receive the result of the createGroup operation.
|
|
144
|
+
* @callback module:api/GroupsApi~createGroupCallback
|
|
145
|
+
* @param {String} error Error message, if any.
|
|
146
|
+
* @param {module:model/IAMGroupControllerApiGroupDetail} data The data returned by the service call.
|
|
147
|
+
* @param {String} response The complete HTTP response.
|
|
148
|
+
*/
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* Create a group
|
|
152
|
+
* @param {String} tenant
|
|
153
|
+
* @param {module:model/IAMGroupControllerApiCreateGroupRequest} iAMGroupControllerApiCreateGroupRequest The group
|
|
154
|
+
* @param {module:api/GroupsApi~createGroupCallback} callback The callback function, accepting three arguments: error, data, response
|
|
155
|
+
* data is of type: {@link module:model/IAMGroupControllerApiGroupDetail}
|
|
156
|
+
*/
|
|
157
|
+
}, {
|
|
158
|
+
key: "createGroup",
|
|
159
|
+
value: function createGroup(tenant, iAMGroupControllerApiCreateGroupRequest, callback) {
|
|
160
|
+
var postBody = iAMGroupControllerApiCreateGroupRequest;
|
|
161
|
+
// verify the required parameter 'tenant' is set
|
|
162
|
+
if (tenant === undefined || tenant === null) {
|
|
163
|
+
throw new Error("Missing the required parameter 'tenant' when calling createGroup");
|
|
164
|
+
}
|
|
165
|
+
// verify the required parameter 'iAMGroupControllerApiCreateGroupRequest' is set
|
|
166
|
+
if (iAMGroupControllerApiCreateGroupRequest === undefined || iAMGroupControllerApiCreateGroupRequest === null) {
|
|
167
|
+
throw new Error("Missing the required parameter 'iAMGroupControllerApiCreateGroupRequest' when calling createGroup");
|
|
168
|
+
}
|
|
169
|
+
var pathParams = {
|
|
170
|
+
'tenant': tenant
|
|
171
|
+
};
|
|
172
|
+
var queryParams = {};
|
|
173
|
+
var headerParams = {};
|
|
174
|
+
var formParams = {};
|
|
175
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
176
|
+
var contentTypes = ['application/json'];
|
|
177
|
+
var accepts = ['application/json'];
|
|
178
|
+
var returnType = _IAMGroupControllerApiGroupDetail["default"];
|
|
179
|
+
return this.apiClient.callApi('/api/v1/{tenant}/groups', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* Callback function to receive the result of the deleteGroup operation.
|
|
184
|
+
* @callback module:api/GroupsApi~deleteGroupCallback
|
|
185
|
+
* @param {String} error Error message, if any.
|
|
186
|
+
* @param data This operation does not return a value.
|
|
187
|
+
* @param {String} response The complete HTTP response.
|
|
188
|
+
*/
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* Delete a group
|
|
192
|
+
* @param {String} id The group id
|
|
193
|
+
* @param {String} tenant
|
|
194
|
+
* @param {module:api/GroupsApi~deleteGroupCallback} callback The callback function, accepting three arguments: error, data, response
|
|
195
|
+
*/
|
|
196
|
+
}, {
|
|
197
|
+
key: "deleteGroup",
|
|
198
|
+
value: function deleteGroup(id, tenant, callback) {
|
|
199
|
+
var postBody = null;
|
|
200
|
+
// verify the required parameter 'id' is set
|
|
201
|
+
if (id === undefined || id === null) {
|
|
202
|
+
throw new Error("Missing the required parameter 'id' when calling deleteGroup");
|
|
203
|
+
}
|
|
204
|
+
// verify the required parameter 'tenant' is set
|
|
205
|
+
if (tenant === undefined || tenant === null) {
|
|
206
|
+
throw new Error("Missing the required parameter 'tenant' when calling deleteGroup");
|
|
207
|
+
}
|
|
208
|
+
var pathParams = {
|
|
209
|
+
'id': id,
|
|
210
|
+
'tenant': tenant
|
|
211
|
+
};
|
|
212
|
+
var queryParams = {};
|
|
213
|
+
var headerParams = {};
|
|
214
|
+
var formParams = {};
|
|
215
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
216
|
+
var contentTypes = [];
|
|
217
|
+
var accepts = [];
|
|
218
|
+
var returnType = null;
|
|
219
|
+
return this.apiClient.callApi('/api/v1/{tenant}/groups/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* Callback function to receive the result of the deleteUserFromGroup operation.
|
|
224
|
+
* @callback module:api/GroupsApi~deleteUserFromGroupCallback
|
|
225
|
+
* @param {String} error Error message, if any.
|
|
226
|
+
* @param {module:model/IAMGroupControllerApiGroupMember} data The data returned by the service call.
|
|
227
|
+
* @param {String} response The complete HTTP response.
|
|
228
|
+
*/
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* Remove a user from a group
|
|
232
|
+
* Removes the specified user from the given group. If the user has no other group bindings within the tenant, their access to the tenant will also be revoked.
|
|
233
|
+
* @param {String} id The ID of the group
|
|
234
|
+
* @param {String} userId The ID of the user to remove from the group
|
|
235
|
+
* @param {String} tenant
|
|
236
|
+
* @param {module:api/GroupsApi~deleteUserFromGroupCallback} callback The callback function, accepting three arguments: error, data, response
|
|
237
|
+
* data is of type: {@link module:model/IAMGroupControllerApiGroupMember}
|
|
238
|
+
*/
|
|
239
|
+
}, {
|
|
240
|
+
key: "deleteUserFromGroup",
|
|
241
|
+
value: function deleteUserFromGroup(id, userId, tenant, callback) {
|
|
242
|
+
var postBody = null;
|
|
243
|
+
// verify the required parameter 'id' is set
|
|
244
|
+
if (id === undefined || id === null) {
|
|
245
|
+
throw new Error("Missing the required parameter 'id' when calling deleteUserFromGroup");
|
|
246
|
+
}
|
|
247
|
+
// verify the required parameter 'userId' is set
|
|
248
|
+
if (userId === undefined || userId === null) {
|
|
249
|
+
throw new Error("Missing the required parameter 'userId' when calling deleteUserFromGroup");
|
|
250
|
+
}
|
|
251
|
+
// verify the required parameter 'tenant' is set
|
|
252
|
+
if (tenant === undefined || tenant === null) {
|
|
253
|
+
throw new Error("Missing the required parameter 'tenant' when calling deleteUserFromGroup");
|
|
254
|
+
}
|
|
255
|
+
var pathParams = {
|
|
256
|
+
'id': id,
|
|
257
|
+
'userId': userId,
|
|
258
|
+
'tenant': tenant
|
|
259
|
+
};
|
|
260
|
+
var queryParams = {};
|
|
261
|
+
var headerParams = {};
|
|
262
|
+
var formParams = {};
|
|
263
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
264
|
+
var contentTypes = [];
|
|
265
|
+
var accepts = ['application/json'];
|
|
266
|
+
var returnType = _IAMGroupControllerApiGroupMember["default"];
|
|
267
|
+
return this.apiClient.callApi('/api/v1/{tenant}/groups/{id}/members/{userId}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* Callback function to receive the result of the getGroup operation.
|
|
272
|
+
* @callback module:api/GroupsApi~getGroupCallback
|
|
273
|
+
* @param {String} error Error message, if any.
|
|
274
|
+
* @param {module:model/IAMGroupControllerApiGroupDetail} data The data returned by the service call.
|
|
275
|
+
* @param {String} response The complete HTTP response.
|
|
276
|
+
*/
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* Retrieve a group
|
|
280
|
+
* Retrieves details of a specific group by its ID within the current tenant.
|
|
281
|
+
* @param {String} id The group id
|
|
282
|
+
* @param {String} tenant
|
|
283
|
+
* @param {module:api/GroupsApi~getGroupCallback} callback The callback function, accepting three arguments: error, data, response
|
|
284
|
+
* data is of type: {@link module:model/IAMGroupControllerApiGroupDetail}
|
|
285
|
+
*/
|
|
286
|
+
}, {
|
|
287
|
+
key: "getGroup",
|
|
288
|
+
value: function getGroup(id, tenant, callback) {
|
|
289
|
+
var postBody = null;
|
|
290
|
+
// verify the required parameter 'id' is set
|
|
291
|
+
if (id === undefined || id === null) {
|
|
292
|
+
throw new Error("Missing the required parameter 'id' when calling getGroup");
|
|
293
|
+
}
|
|
294
|
+
// verify the required parameter 'tenant' is set
|
|
295
|
+
if (tenant === undefined || tenant === null) {
|
|
296
|
+
throw new Error("Missing the required parameter 'tenant' when calling getGroup");
|
|
297
|
+
}
|
|
298
|
+
var pathParams = {
|
|
299
|
+
'id': id,
|
|
300
|
+
'tenant': tenant
|
|
301
|
+
};
|
|
302
|
+
var queryParams = {};
|
|
303
|
+
var headerParams = {};
|
|
304
|
+
var formParams = {};
|
|
305
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
306
|
+
var contentTypes = [];
|
|
307
|
+
var accepts = ['application/json'];
|
|
308
|
+
var returnType = _IAMGroupControllerApiGroupDetail["default"];
|
|
309
|
+
return this.apiClient.callApi('/api/v1/{tenant}/groups/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* Callback function to receive the result of the listGroupIds operation.
|
|
314
|
+
* @callback module:api/GroupsApi~listGroupIdsCallback
|
|
315
|
+
* @param {String} error Error message, if any.
|
|
316
|
+
* @param {Array.<module:model/ApiGroupSummary>} data The data returned by the service call.
|
|
317
|
+
* @param {String} response The complete HTTP response.
|
|
318
|
+
*/
|
|
319
|
+
|
|
320
|
+
/**
|
|
321
|
+
* List groups by ids
|
|
322
|
+
* @param {String} tenant
|
|
323
|
+
* @param {module:model/ApiIds} apiIds The ids that must be present on results
|
|
324
|
+
* @param {module:api/GroupsApi~listGroupIdsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
325
|
+
* data is of type: {@link Array.<module:model/ApiGroupSummary>}
|
|
326
|
+
*/
|
|
327
|
+
}, {
|
|
328
|
+
key: "listGroupIds",
|
|
329
|
+
value: function listGroupIds(tenant, apiIds, callback) {
|
|
330
|
+
var postBody = apiIds;
|
|
331
|
+
// verify the required parameter 'tenant' is set
|
|
332
|
+
if (tenant === undefined || tenant === null) {
|
|
333
|
+
throw new Error("Missing the required parameter 'tenant' when calling listGroupIds");
|
|
334
|
+
}
|
|
335
|
+
// verify the required parameter 'apiIds' is set
|
|
336
|
+
if (apiIds === undefined || apiIds === null) {
|
|
337
|
+
throw new Error("Missing the required parameter 'apiIds' when calling listGroupIds");
|
|
338
|
+
}
|
|
339
|
+
var pathParams = {
|
|
340
|
+
'tenant': tenant
|
|
341
|
+
};
|
|
342
|
+
var queryParams = {};
|
|
343
|
+
var headerParams = {};
|
|
344
|
+
var formParams = {};
|
|
345
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
346
|
+
var contentTypes = ['application/json'];
|
|
347
|
+
var accepts = ['application/json'];
|
|
348
|
+
var returnType = [_ApiGroupSummary["default"]];
|
|
349
|
+
return this.apiClient.callApi('/api/v1/{tenant}/groups/ids', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
/**
|
|
353
|
+
* Callback function to receive the result of the searchGroupMembers operation.
|
|
354
|
+
* @callback module:api/GroupsApi~searchGroupMembersCallback
|
|
355
|
+
* @param {String} error Error message, if any.
|
|
356
|
+
* @param {module:model/PagedResultsIAMGroupControllerApiGroupMember} data The data returned by the service call.
|
|
357
|
+
* @param {String} response The complete HTTP response.
|
|
358
|
+
*/
|
|
359
|
+
|
|
360
|
+
/**
|
|
361
|
+
* Search for users in a group
|
|
362
|
+
* @param {String} id The group id
|
|
363
|
+
* @param {Number} page The current page
|
|
364
|
+
* @param {Number} size The current page size
|
|
365
|
+
* @param {String} tenant
|
|
366
|
+
* @param {Object} opts Optional parameters
|
|
367
|
+
* @param {String} [q] A string filter
|
|
368
|
+
* @param {Array.<String>} [sort] The sort of current page
|
|
369
|
+
* @param {module:api/GroupsApi~searchGroupMembersCallback} callback The callback function, accepting three arguments: error, data, response
|
|
370
|
+
* data is of type: {@link module:model/PagedResultsIAMGroupControllerApiGroupMember}
|
|
371
|
+
*/
|
|
372
|
+
}, {
|
|
373
|
+
key: "searchGroupMembers",
|
|
374
|
+
value: function searchGroupMembers(id, page, size, tenant, opts, callback) {
|
|
375
|
+
opts = opts || {};
|
|
376
|
+
var postBody = null;
|
|
377
|
+
// verify the required parameter 'id' is set
|
|
378
|
+
if (id === undefined || id === null) {
|
|
379
|
+
throw new Error("Missing the required parameter 'id' when calling searchGroupMembers");
|
|
380
|
+
}
|
|
381
|
+
// verify the required parameter 'page' is set
|
|
382
|
+
if (page === undefined || page === null) {
|
|
383
|
+
throw new Error("Missing the required parameter 'page' when calling searchGroupMembers");
|
|
384
|
+
}
|
|
385
|
+
// verify the required parameter 'size' is set
|
|
386
|
+
if (size === undefined || size === null) {
|
|
387
|
+
throw new Error("Missing the required parameter 'size' when calling searchGroupMembers");
|
|
388
|
+
}
|
|
389
|
+
// verify the required parameter 'tenant' is set
|
|
390
|
+
if (tenant === undefined || tenant === null) {
|
|
391
|
+
throw new Error("Missing the required parameter 'tenant' when calling searchGroupMembers");
|
|
392
|
+
}
|
|
393
|
+
var pathParams = {
|
|
394
|
+
'id': id,
|
|
395
|
+
'tenant': tenant
|
|
396
|
+
};
|
|
397
|
+
var queryParams = {
|
|
398
|
+
'q': opts['q'],
|
|
399
|
+
'page': page,
|
|
400
|
+
'size': size,
|
|
401
|
+
'sort': this.apiClient.buildCollectionParam(opts['sort'], 'csv')
|
|
402
|
+
};
|
|
403
|
+
var headerParams = {};
|
|
404
|
+
var formParams = {};
|
|
405
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
406
|
+
var contentTypes = [];
|
|
407
|
+
var accepts = ['application/json'];
|
|
408
|
+
var returnType = _PagedResultsIAMGroupControllerApiGroupMember["default"];
|
|
409
|
+
return this.apiClient.callApi('/api/v1/{tenant}/groups/{id}/members', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
/**
|
|
413
|
+
* Callback function to receive the result of the searchGroups operation.
|
|
414
|
+
* @callback module:api/GroupsApi~searchGroupsCallback
|
|
415
|
+
* @param {String} error Error message, if any.
|
|
416
|
+
* @param {module:model/PagedResultsApiGroupSummary} data The data returned by the service call.
|
|
417
|
+
* @param {String} response The complete HTTP response.
|
|
418
|
+
*/
|
|
419
|
+
|
|
420
|
+
/**
|
|
421
|
+
* Search for groups
|
|
422
|
+
* @param {Number} page The current page
|
|
423
|
+
* @param {Number} size The current page size
|
|
424
|
+
* @param {String} tenant
|
|
425
|
+
* @param {Object} opts Optional parameters
|
|
426
|
+
* @param {String} [q] A string filter
|
|
427
|
+
* @param {Array.<String>} [sort] The sort of current page
|
|
428
|
+
* @param {module:api/GroupsApi~searchGroupsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
429
|
+
* data is of type: {@link module:model/PagedResultsApiGroupSummary}
|
|
430
|
+
*/
|
|
431
|
+
}, {
|
|
432
|
+
key: "searchGroups",
|
|
433
|
+
value: function searchGroups(page, size, tenant, opts, callback) {
|
|
434
|
+
opts = opts || {};
|
|
435
|
+
var postBody = null;
|
|
436
|
+
// verify the required parameter 'page' is set
|
|
437
|
+
if (page === undefined || page === null) {
|
|
438
|
+
throw new Error("Missing the required parameter 'page' when calling searchGroups");
|
|
439
|
+
}
|
|
440
|
+
// verify the required parameter 'size' is set
|
|
441
|
+
if (size === undefined || size === null) {
|
|
442
|
+
throw new Error("Missing the required parameter 'size' when calling searchGroups");
|
|
443
|
+
}
|
|
444
|
+
// verify the required parameter 'tenant' is set
|
|
445
|
+
if (tenant === undefined || tenant === null) {
|
|
446
|
+
throw new Error("Missing the required parameter 'tenant' when calling searchGroups");
|
|
447
|
+
}
|
|
448
|
+
var pathParams = {
|
|
449
|
+
'tenant': tenant
|
|
450
|
+
};
|
|
451
|
+
var queryParams = {
|
|
452
|
+
'q': opts['q'],
|
|
453
|
+
'page': page,
|
|
454
|
+
'size': size,
|
|
455
|
+
'sort': this.apiClient.buildCollectionParam(opts['sort'], 'csv')
|
|
456
|
+
};
|
|
457
|
+
var headerParams = {};
|
|
458
|
+
var formParams = {};
|
|
459
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
460
|
+
var contentTypes = [];
|
|
461
|
+
var accepts = ['application/json'];
|
|
462
|
+
var returnType = _PagedResultsApiGroupSummary["default"];
|
|
463
|
+
return this.apiClient.callApi('/api/v1/{tenant}/groups/search', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
/**
|
|
467
|
+
* Callback function to receive the result of the setUserMembershipForGroup operation.
|
|
468
|
+
* @callback module:api/GroupsApi~setUserMembershipForGroupCallback
|
|
469
|
+
* @param {String} error Error message, if any.
|
|
470
|
+
* @param {module:model/IAMGroupControllerApiGroupMember} data The data returned by the service call.
|
|
471
|
+
* @param {String} response The complete HTTP response.
|
|
472
|
+
*/
|
|
473
|
+
|
|
474
|
+
/**
|
|
475
|
+
* Update a user's membership type in a group
|
|
476
|
+
* Allows a group owner or an authorized user to change the role of a user within a group to OWNER or MEMBER.
|
|
477
|
+
* @param {String} id The ID of the group
|
|
478
|
+
* @param {String} userId The ID of the user whose membership is being updated
|
|
479
|
+
* @param {module:model/GroupIdentifierMembership} membership The new membership type to assign to the user.
|
|
480
|
+
* @param {String} tenant
|
|
481
|
+
* @param {module:api/GroupsApi~setUserMembershipForGroupCallback} callback The callback function, accepting three arguments: error, data, response
|
|
482
|
+
* data is of type: {@link module:model/IAMGroupControllerApiGroupMember}
|
|
483
|
+
*/
|
|
484
|
+
}, {
|
|
485
|
+
key: "setUserMembershipForGroup",
|
|
486
|
+
value: function setUserMembershipForGroup(id, userId, membership, tenant, callback) {
|
|
487
|
+
var postBody = null;
|
|
488
|
+
// verify the required parameter 'id' is set
|
|
489
|
+
if (id === undefined || id === null) {
|
|
490
|
+
throw new Error("Missing the required parameter 'id' when calling setUserMembershipForGroup");
|
|
491
|
+
}
|
|
492
|
+
// verify the required parameter 'userId' is set
|
|
493
|
+
if (userId === undefined || userId === null) {
|
|
494
|
+
throw new Error("Missing the required parameter 'userId' when calling setUserMembershipForGroup");
|
|
495
|
+
}
|
|
496
|
+
// verify the required parameter 'membership' is set
|
|
497
|
+
if (membership === undefined || membership === null) {
|
|
498
|
+
throw new Error("Missing the required parameter 'membership' when calling setUserMembershipForGroup");
|
|
499
|
+
}
|
|
500
|
+
// verify the required parameter 'tenant' is set
|
|
501
|
+
if (tenant === undefined || tenant === null) {
|
|
502
|
+
throw new Error("Missing the required parameter 'tenant' when calling setUserMembershipForGroup");
|
|
503
|
+
}
|
|
504
|
+
var pathParams = {
|
|
505
|
+
'id': id,
|
|
506
|
+
'userId': userId,
|
|
507
|
+
'tenant': tenant
|
|
508
|
+
};
|
|
509
|
+
var queryParams = {
|
|
510
|
+
'membership': membership
|
|
511
|
+
};
|
|
512
|
+
var headerParams = {};
|
|
513
|
+
var formParams = {};
|
|
514
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
515
|
+
var contentTypes = [];
|
|
516
|
+
var accepts = ['application/json'];
|
|
517
|
+
var returnType = _IAMGroupControllerApiGroupMember["default"];
|
|
518
|
+
return this.apiClient.callApi('/api/v1/{tenant}/groups/{id}/members/membership/{userId}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
/**
|
|
522
|
+
* Callback function to receive the result of the updateGroup operation.
|
|
523
|
+
* @callback module:api/GroupsApi~updateGroupCallback
|
|
524
|
+
* @param {String} error Error message, if any.
|
|
525
|
+
* @param {module:model/IAMGroupControllerApiGroupDetail} data The data returned by the service call.
|
|
526
|
+
* @param {String} response The complete HTTP response.
|
|
527
|
+
*/
|
|
528
|
+
|
|
529
|
+
/**
|
|
530
|
+
* Update a group
|
|
531
|
+
* @param {String} id The group id
|
|
532
|
+
* @param {String} tenant
|
|
533
|
+
* @param {module:model/IAMGroupControllerApiUpdateGroupRequest} iAMGroupControllerApiUpdateGroupRequest The group
|
|
534
|
+
* @param {module:api/GroupsApi~updateGroupCallback} callback The callback function, accepting three arguments: error, data, response
|
|
535
|
+
* data is of type: {@link module:model/IAMGroupControllerApiGroupDetail}
|
|
536
|
+
*/
|
|
537
|
+
}, {
|
|
538
|
+
key: "updateGroup",
|
|
539
|
+
value: function updateGroup(id, tenant, iAMGroupControllerApiUpdateGroupRequest, callback) {
|
|
540
|
+
var postBody = iAMGroupControllerApiUpdateGroupRequest;
|
|
541
|
+
// verify the required parameter 'id' is set
|
|
542
|
+
if (id === undefined || id === null) {
|
|
543
|
+
throw new Error("Missing the required parameter 'id' when calling updateGroup");
|
|
544
|
+
}
|
|
545
|
+
// verify the required parameter 'tenant' is set
|
|
546
|
+
if (tenant === undefined || tenant === null) {
|
|
547
|
+
throw new Error("Missing the required parameter 'tenant' when calling updateGroup");
|
|
548
|
+
}
|
|
549
|
+
// verify the required parameter 'iAMGroupControllerApiUpdateGroupRequest' is set
|
|
550
|
+
if (iAMGroupControllerApiUpdateGroupRequest === undefined || iAMGroupControllerApiUpdateGroupRequest === null) {
|
|
551
|
+
throw new Error("Missing the required parameter 'iAMGroupControllerApiUpdateGroupRequest' when calling updateGroup");
|
|
552
|
+
}
|
|
553
|
+
var pathParams = {
|
|
554
|
+
'id': id,
|
|
555
|
+
'tenant': tenant
|
|
556
|
+
};
|
|
557
|
+
var queryParams = {};
|
|
558
|
+
var headerParams = {};
|
|
559
|
+
var formParams = {};
|
|
560
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
561
|
+
var contentTypes = ['application/json'];
|
|
562
|
+
var accepts = ['application/json'];
|
|
563
|
+
var returnType = _IAMGroupControllerApiGroupDetail["default"];
|
|
564
|
+
return this.apiClient.callApi('/api/v1/{tenant}/groups/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
565
|
+
}
|
|
566
|
+
}]);
|
|
567
|
+
}();
|