@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,423 @@
|
|
|
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 _PatchRequest = _interopRequireDefault(require("../model/PatchRequest"));
|
|
9
|
+
var _ScimResource = _interopRequireDefault(require("../model/ScimResource"));
|
|
10
|
+
var _ScimUser = _interopRequireDefault(require("../model/ScimUser"));
|
|
11
|
+
var _SearchRequest = _interopRequireDefault(require("../model/SearchRequest"));
|
|
12
|
+
var _SortOrder = _interopRequireDefault(require("../model/SortOrder"));
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
14
|
+
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); }
|
|
15
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
16
|
+
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); } }
|
|
17
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
18
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
19
|
+
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); } /**
|
|
20
|
+
* Kestra EE
|
|
21
|
+
* 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.
|
|
22
|
+
*
|
|
23
|
+
* The version of the OpenAPI document: v1
|
|
24
|
+
*
|
|
25
|
+
*
|
|
26
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
27
|
+
* https://openapi-generator.tech
|
|
28
|
+
* Do not edit the class manually.
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
/**
|
|
32
|
+
* SCIMGroups service.
|
|
33
|
+
* @module api/SCIMGroupsApi
|
|
34
|
+
* @version v0.24.0
|
|
35
|
+
*/
|
|
36
|
+
var SCIMGroupsApi = exports["default"] = /*#__PURE__*/function () {
|
|
37
|
+
/**
|
|
38
|
+
* Constructs a new SCIMGroupsApi.
|
|
39
|
+
* @alias module:api/SCIMGroupsApi
|
|
40
|
+
* @class
|
|
41
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
42
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
43
|
+
*/
|
|
44
|
+
function SCIMGroupsApi(apiClient) {
|
|
45
|
+
_classCallCheck(this, SCIMGroupsApi);
|
|
46
|
+
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Callback function to receive the result of the createSCIMResourceByIdGroups operation.
|
|
51
|
+
* @callback module:api/SCIMGroupsApi~createSCIMResourceByIdGroupsCallback
|
|
52
|
+
* @param {String} error Error message, if any.
|
|
53
|
+
* @param {module:model/ScimResource} data The data returned by the service call.
|
|
54
|
+
* @param {String} response The complete HTTP response.
|
|
55
|
+
*/
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Create
|
|
59
|
+
* @param {String} integration
|
|
60
|
+
* @param {String} tenant
|
|
61
|
+
* @param {module:model/ScimUser} scimUser
|
|
62
|
+
* @param {Object} opts Optional parameters
|
|
63
|
+
* @param {String} [attributes]
|
|
64
|
+
* @param {String} [excludedAttributes]
|
|
65
|
+
* @param {module:api/SCIMGroupsApi~createSCIMResourceByIdGroupsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
66
|
+
* data is of type: {@link module:model/ScimResource}
|
|
67
|
+
*/
|
|
68
|
+
return _createClass(SCIMGroupsApi, [{
|
|
69
|
+
key: "createSCIMResourceByIdGroups",
|
|
70
|
+
value: function createSCIMResourceByIdGroups(integration, tenant, scimUser, opts, callback) {
|
|
71
|
+
opts = opts || {};
|
|
72
|
+
var postBody = scimUser;
|
|
73
|
+
// verify the required parameter 'integration' is set
|
|
74
|
+
if (integration === undefined || integration === null) {
|
|
75
|
+
throw new Error("Missing the required parameter 'integration' when calling createSCIMResourceByIdGroups");
|
|
76
|
+
}
|
|
77
|
+
// verify the required parameter 'tenant' is set
|
|
78
|
+
if (tenant === undefined || tenant === null) {
|
|
79
|
+
throw new Error("Missing the required parameter 'tenant' when calling createSCIMResourceByIdGroups");
|
|
80
|
+
}
|
|
81
|
+
// verify the required parameter 'scimUser' is set
|
|
82
|
+
if (scimUser === undefined || scimUser === null) {
|
|
83
|
+
throw new Error("Missing the required parameter 'scimUser' when calling createSCIMResourceByIdGroups");
|
|
84
|
+
}
|
|
85
|
+
var pathParams = {
|
|
86
|
+
'integration': integration,
|
|
87
|
+
'tenant': tenant
|
|
88
|
+
};
|
|
89
|
+
var queryParams = {
|
|
90
|
+
'attributes': opts['attributes'],
|
|
91
|
+
'excludedAttributes': opts['excludedAttributes']
|
|
92
|
+
};
|
|
93
|
+
var headerParams = {};
|
|
94
|
+
var formParams = {};
|
|
95
|
+
var authNames = [];
|
|
96
|
+
var contentTypes = ['application/scim+json'];
|
|
97
|
+
var accepts = ['application/scim+json'];
|
|
98
|
+
var returnType = _ScimResource["default"];
|
|
99
|
+
return this.apiClient.callApi('/api/v1/{tenant}/integrations/{integration}/scim/v2/Groups', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Callback function to receive the result of the deleteGroups operation.
|
|
104
|
+
* @callback module:api/SCIMGroupsApi~deleteGroupsCallback
|
|
105
|
+
* @param {String} error Error message, if any.
|
|
106
|
+
* @param data This operation does not return a value.
|
|
107
|
+
* @param {String} response The complete HTTP response.
|
|
108
|
+
*/
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Delete from the backing store
|
|
112
|
+
* @param {String} id
|
|
113
|
+
* @param {String} integration
|
|
114
|
+
* @param {String} tenant
|
|
115
|
+
* @param {module:api/SCIMGroupsApi~deleteGroupsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
116
|
+
*/
|
|
117
|
+
}, {
|
|
118
|
+
key: "deleteGroups",
|
|
119
|
+
value: function deleteGroups(id, integration, tenant, callback) {
|
|
120
|
+
var postBody = null;
|
|
121
|
+
// verify the required parameter 'id' is set
|
|
122
|
+
if (id === undefined || id === null) {
|
|
123
|
+
throw new Error("Missing the required parameter 'id' when calling deleteGroups");
|
|
124
|
+
}
|
|
125
|
+
// verify the required parameter 'integration' is set
|
|
126
|
+
if (integration === undefined || integration === null) {
|
|
127
|
+
throw new Error("Missing the required parameter 'integration' when calling deleteGroups");
|
|
128
|
+
}
|
|
129
|
+
// verify the required parameter 'tenant' is set
|
|
130
|
+
if (tenant === undefined || tenant === null) {
|
|
131
|
+
throw new Error("Missing the required parameter 'tenant' when calling deleteGroups");
|
|
132
|
+
}
|
|
133
|
+
var pathParams = {
|
|
134
|
+
'id': id,
|
|
135
|
+
'integration': integration,
|
|
136
|
+
'tenant': tenant
|
|
137
|
+
};
|
|
138
|
+
var queryParams = {};
|
|
139
|
+
var headerParams = {};
|
|
140
|
+
var formParams = {};
|
|
141
|
+
var authNames = [];
|
|
142
|
+
var contentTypes = [];
|
|
143
|
+
var accepts = [];
|
|
144
|
+
var returnType = null;
|
|
145
|
+
return this.apiClient.callApi('/api/v1/{tenant}/integrations/{integration}/scim/v2/Groups/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* Callback function to receive the result of the findGroups operation.
|
|
150
|
+
* @callback module:api/SCIMGroupsApi~findGroupsCallback
|
|
151
|
+
* @param {String} error Error message, if any.
|
|
152
|
+
* @param {module:model/ScimResource} data The data returned by the service call.
|
|
153
|
+
* @param {String} response The complete HTTP response.
|
|
154
|
+
*/
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* Search
|
|
158
|
+
* @param {String} integration
|
|
159
|
+
* @param {String} tenant
|
|
160
|
+
* @param {module:model/SearchRequest} searchRequest
|
|
161
|
+
* @param {module:api/SCIMGroupsApi~findGroupsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
162
|
+
* data is of type: {@link module:model/ScimResource}
|
|
163
|
+
*/
|
|
164
|
+
}, {
|
|
165
|
+
key: "findGroups",
|
|
166
|
+
value: function findGroups(integration, tenant, searchRequest, callback) {
|
|
167
|
+
var postBody = searchRequest;
|
|
168
|
+
// verify the required parameter 'integration' is set
|
|
169
|
+
if (integration === undefined || integration === null) {
|
|
170
|
+
throw new Error("Missing the required parameter 'integration' when calling findGroups");
|
|
171
|
+
}
|
|
172
|
+
// verify the required parameter 'tenant' is set
|
|
173
|
+
if (tenant === undefined || tenant === null) {
|
|
174
|
+
throw new Error("Missing the required parameter 'tenant' when calling findGroups");
|
|
175
|
+
}
|
|
176
|
+
// verify the required parameter 'searchRequest' is set
|
|
177
|
+
if (searchRequest === undefined || searchRequest === null) {
|
|
178
|
+
throw new Error("Missing the required parameter 'searchRequest' when calling findGroups");
|
|
179
|
+
}
|
|
180
|
+
var pathParams = {
|
|
181
|
+
'integration': integration,
|
|
182
|
+
'tenant': tenant
|
|
183
|
+
};
|
|
184
|
+
var queryParams = {};
|
|
185
|
+
var headerParams = {};
|
|
186
|
+
var formParams = {};
|
|
187
|
+
var authNames = [];
|
|
188
|
+
var contentTypes = ['application/scim+json'];
|
|
189
|
+
var accepts = ['application/scim+json'];
|
|
190
|
+
var returnType = _ScimResource["default"];
|
|
191
|
+
return this.apiClient.callApi('/api/v1/{tenant}/integrations/{integration}/scim/v2/Groups/.search', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* Callback function to receive the result of the getSCIMResourceByIdGroups operation.
|
|
196
|
+
* @callback module:api/SCIMGroupsApi~getSCIMResourceByIdGroupsCallback
|
|
197
|
+
* @param {String} error Error message, if any.
|
|
198
|
+
* @param {module:model/ScimResource} data The data returned by the service call.
|
|
199
|
+
* @param {String} response The complete HTTP response.
|
|
200
|
+
*/
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* Find by id
|
|
204
|
+
* @param {String} id
|
|
205
|
+
* @param {String} integration
|
|
206
|
+
* @param {String} tenant
|
|
207
|
+
* @param {Object} opts Optional parameters
|
|
208
|
+
* @param {String} [attributes]
|
|
209
|
+
* @param {String} [excludedAttributes]
|
|
210
|
+
* @param {module:api/SCIMGroupsApi~getSCIMResourceByIdGroupsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
211
|
+
* data is of type: {@link module:model/ScimResource}
|
|
212
|
+
*/
|
|
213
|
+
}, {
|
|
214
|
+
key: "getSCIMResourceByIdGroups",
|
|
215
|
+
value: function getSCIMResourceByIdGroups(id, integration, tenant, opts, callback) {
|
|
216
|
+
opts = opts || {};
|
|
217
|
+
var postBody = null;
|
|
218
|
+
// verify the required parameter 'id' is set
|
|
219
|
+
if (id === undefined || id === null) {
|
|
220
|
+
throw new Error("Missing the required parameter 'id' when calling getSCIMResourceByIdGroups");
|
|
221
|
+
}
|
|
222
|
+
// verify the required parameter 'integration' is set
|
|
223
|
+
if (integration === undefined || integration === null) {
|
|
224
|
+
throw new Error("Missing the required parameter 'integration' when calling getSCIMResourceByIdGroups");
|
|
225
|
+
}
|
|
226
|
+
// verify the required parameter 'tenant' is set
|
|
227
|
+
if (tenant === undefined || tenant === null) {
|
|
228
|
+
throw new Error("Missing the required parameter 'tenant' when calling getSCIMResourceByIdGroups");
|
|
229
|
+
}
|
|
230
|
+
var pathParams = {
|
|
231
|
+
'id': id,
|
|
232
|
+
'integration': integration,
|
|
233
|
+
'tenant': tenant
|
|
234
|
+
};
|
|
235
|
+
var queryParams = {
|
|
236
|
+
'attributes': opts['attributes'],
|
|
237
|
+
'excludedAttributes': opts['excludedAttributes']
|
|
238
|
+
};
|
|
239
|
+
var headerParams = {};
|
|
240
|
+
var formParams = {};
|
|
241
|
+
var authNames = [];
|
|
242
|
+
var contentTypes = [];
|
|
243
|
+
var accepts = ['application/scim+json'];
|
|
244
|
+
var returnType = _ScimResource["default"];
|
|
245
|
+
return this.apiClient.callApi('/api/v1/{tenant}/integrations/{integration}/scim/v2/Groups/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* Callback function to receive the result of the patchGroups operation.
|
|
250
|
+
* @callback module:api/SCIMGroupsApi~patchGroupsCallback
|
|
251
|
+
* @param {String} error Error message, if any.
|
|
252
|
+
* @param data This operation does not return a value.
|
|
253
|
+
* @param {String} response The complete HTTP response.
|
|
254
|
+
*/
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* Patch a portion of the backing store
|
|
258
|
+
* @param {String} id
|
|
259
|
+
* @param {String} integration
|
|
260
|
+
* @param {String} tenant
|
|
261
|
+
* @param {module:model/PatchRequest} patchRequest
|
|
262
|
+
* @param {Object} opts Optional parameters
|
|
263
|
+
* @param {String} [attributes]
|
|
264
|
+
* @param {String} [excludedAttributes]
|
|
265
|
+
* @param {module:api/SCIMGroupsApi~patchGroupsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
266
|
+
*/
|
|
267
|
+
}, {
|
|
268
|
+
key: "patchGroups",
|
|
269
|
+
value: function patchGroups(id, integration, tenant, patchRequest, opts, callback) {
|
|
270
|
+
opts = opts || {};
|
|
271
|
+
var postBody = patchRequest;
|
|
272
|
+
// verify the required parameter 'id' is set
|
|
273
|
+
if (id === undefined || id === null) {
|
|
274
|
+
throw new Error("Missing the required parameter 'id' when calling patchGroups");
|
|
275
|
+
}
|
|
276
|
+
// verify the required parameter 'integration' is set
|
|
277
|
+
if (integration === undefined || integration === null) {
|
|
278
|
+
throw new Error("Missing the required parameter 'integration' when calling patchGroups");
|
|
279
|
+
}
|
|
280
|
+
// verify the required parameter 'tenant' is set
|
|
281
|
+
if (tenant === undefined || tenant === null) {
|
|
282
|
+
throw new Error("Missing the required parameter 'tenant' when calling patchGroups");
|
|
283
|
+
}
|
|
284
|
+
// verify the required parameter 'patchRequest' is set
|
|
285
|
+
if (patchRequest === undefined || patchRequest === null) {
|
|
286
|
+
throw new Error("Missing the required parameter 'patchRequest' when calling patchGroups");
|
|
287
|
+
}
|
|
288
|
+
var pathParams = {
|
|
289
|
+
'id': id,
|
|
290
|
+
'integration': integration,
|
|
291
|
+
'tenant': tenant
|
|
292
|
+
};
|
|
293
|
+
var queryParams = {
|
|
294
|
+
'attributes': opts['attributes'],
|
|
295
|
+
'excludedAttributes': opts['excludedAttributes']
|
|
296
|
+
};
|
|
297
|
+
var headerParams = {};
|
|
298
|
+
var formParams = {};
|
|
299
|
+
var authNames = [];
|
|
300
|
+
var contentTypes = ['application/scim+json'];
|
|
301
|
+
var accepts = [];
|
|
302
|
+
var returnType = null;
|
|
303
|
+
return this.apiClient.callApi('/api/v1/{tenant}/integrations/{integration}/scim/v2/Groups/{id}', 'PATCH', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* Callback function to receive the result of the queryGroups operation.
|
|
308
|
+
* @callback module:api/SCIMGroupsApi~queryGroupsCallback
|
|
309
|
+
* @param {String} error Error message, if any.
|
|
310
|
+
* @param {module:model/ScimResource} data The data returned by the service call.
|
|
311
|
+
* @param {String} response The complete HTTP response.
|
|
312
|
+
*/
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* Find by a combination of query parameters
|
|
316
|
+
* @param {String} integration
|
|
317
|
+
* @param {String} tenant
|
|
318
|
+
* @param {Object} opts Optional parameters
|
|
319
|
+
* @param {String} [attributes]
|
|
320
|
+
* @param {String} [excludedAttributes]
|
|
321
|
+
* @param {String} [filter]
|
|
322
|
+
* @param {String} [sortBy]
|
|
323
|
+
* @param {module:model/SortOrder} [sortOrder]
|
|
324
|
+
* @param {Number} [startIndex]
|
|
325
|
+
* @param {Number} [count]
|
|
326
|
+
* @param {module:api/SCIMGroupsApi~queryGroupsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
327
|
+
* data is of type: {@link module:model/ScimResource}
|
|
328
|
+
*/
|
|
329
|
+
}, {
|
|
330
|
+
key: "queryGroups",
|
|
331
|
+
value: function queryGroups(integration, tenant, opts, callback) {
|
|
332
|
+
opts = opts || {};
|
|
333
|
+
var postBody = null;
|
|
334
|
+
// verify the required parameter 'integration' is set
|
|
335
|
+
if (integration === undefined || integration === null) {
|
|
336
|
+
throw new Error("Missing the required parameter 'integration' when calling queryGroups");
|
|
337
|
+
}
|
|
338
|
+
// verify the required parameter 'tenant' is set
|
|
339
|
+
if (tenant === undefined || tenant === null) {
|
|
340
|
+
throw new Error("Missing the required parameter 'tenant' when calling queryGroups");
|
|
341
|
+
}
|
|
342
|
+
var pathParams = {
|
|
343
|
+
'integration': integration,
|
|
344
|
+
'tenant': tenant
|
|
345
|
+
};
|
|
346
|
+
var queryParams = {
|
|
347
|
+
'attributes': opts['attributes'],
|
|
348
|
+
'excludedAttributes': opts['excludedAttributes'],
|
|
349
|
+
'filter': opts['filter'],
|
|
350
|
+
'sortBy': opts['sortBy'],
|
|
351
|
+
'sortOrder': opts['sortOrder'],
|
|
352
|
+
'startIndex': opts['startIndex'],
|
|
353
|
+
'count': opts['count']
|
|
354
|
+
};
|
|
355
|
+
var headerParams = {};
|
|
356
|
+
var formParams = {};
|
|
357
|
+
var authNames = [];
|
|
358
|
+
var contentTypes = [];
|
|
359
|
+
var accepts = ['application/scim+json'];
|
|
360
|
+
var returnType = _ScimResource["default"];
|
|
361
|
+
return this.apiClient.callApi('/api/v1/{tenant}/integrations/{integration}/scim/v2/Groups', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* Callback function to receive the result of the updateGroups operation.
|
|
366
|
+
* @callback module:api/SCIMGroupsApi~updateGroupsCallback
|
|
367
|
+
* @param {String} error Error message, if any.
|
|
368
|
+
* @param {module:model/ScimResource} data The data returned by the service call.
|
|
369
|
+
* @param {String} response The complete HTTP response.
|
|
370
|
+
*/
|
|
371
|
+
|
|
372
|
+
/**
|
|
373
|
+
* Update
|
|
374
|
+
* @param {String} id
|
|
375
|
+
* @param {String} integration
|
|
376
|
+
* @param {String} tenant
|
|
377
|
+
* @param {module:model/ScimResource} scimResource
|
|
378
|
+
* @param {Object} opts Optional parameters
|
|
379
|
+
* @param {String} [attributes]
|
|
380
|
+
* @param {String} [excludedAttributes]
|
|
381
|
+
* @param {module:api/SCIMGroupsApi~updateGroupsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
382
|
+
* data is of type: {@link module:model/ScimResource}
|
|
383
|
+
*/
|
|
384
|
+
}, {
|
|
385
|
+
key: "updateGroups",
|
|
386
|
+
value: function updateGroups(id, integration, tenant, scimResource, opts, callback) {
|
|
387
|
+
opts = opts || {};
|
|
388
|
+
var postBody = scimResource;
|
|
389
|
+
// verify the required parameter 'id' is set
|
|
390
|
+
if (id === undefined || id === null) {
|
|
391
|
+
throw new Error("Missing the required parameter 'id' when calling updateGroups");
|
|
392
|
+
}
|
|
393
|
+
// verify the required parameter 'integration' is set
|
|
394
|
+
if (integration === undefined || integration === null) {
|
|
395
|
+
throw new Error("Missing the required parameter 'integration' when calling updateGroups");
|
|
396
|
+
}
|
|
397
|
+
// verify the required parameter 'tenant' is set
|
|
398
|
+
if (tenant === undefined || tenant === null) {
|
|
399
|
+
throw new Error("Missing the required parameter 'tenant' when calling updateGroups");
|
|
400
|
+
}
|
|
401
|
+
// verify the required parameter 'scimResource' is set
|
|
402
|
+
if (scimResource === undefined || scimResource === null) {
|
|
403
|
+
throw new Error("Missing the required parameter 'scimResource' when calling updateGroups");
|
|
404
|
+
}
|
|
405
|
+
var pathParams = {
|
|
406
|
+
'id': id,
|
|
407
|
+
'integration': integration,
|
|
408
|
+
'tenant': tenant
|
|
409
|
+
};
|
|
410
|
+
var queryParams = {
|
|
411
|
+
'attributes': opts['attributes'],
|
|
412
|
+
'excludedAttributes': opts['excludedAttributes']
|
|
413
|
+
};
|
|
414
|
+
var headerParams = {};
|
|
415
|
+
var formParams = {};
|
|
416
|
+
var authNames = [];
|
|
417
|
+
var contentTypes = ['application/scim+json'];
|
|
418
|
+
var accepts = ['application/scim+json'];
|
|
419
|
+
var returnType = _ScimResource["default"];
|
|
420
|
+
return this.apiClient.callApi('/api/v1/{tenant}/integrations/{integration}/scim/v2/Groups/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
421
|
+
}
|
|
422
|
+
}]);
|
|
423
|
+
}();
|