@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,815 @@
|
|
|
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
|
+
* SCIM service.
|
|
33
|
+
* @module api/SCIMApi
|
|
34
|
+
* @version v0.24.0
|
|
35
|
+
*/
|
|
36
|
+
var SCIMApi = exports["default"] = /*#__PURE__*/function () {
|
|
37
|
+
/**
|
|
38
|
+
* Constructs a new SCIMApi.
|
|
39
|
+
* @alias module:api/SCIMApi
|
|
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 SCIMApi(apiClient) {
|
|
45
|
+
_classCallCheck(this, SCIMApi);
|
|
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/SCIMApi~createSCIMResourceByIdGroupsCallback
|
|
52
|
+
* @param {String} error Error message, if any.
|
|
53
|
+
* @param {Object} data The data returned by the service call.
|
|
54
|
+
* @param {String} response The complete HTTP response.
|
|
55
|
+
*/
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* {@inheritDoc}
|
|
59
|
+
* Create
|
|
60
|
+
* @param {String} integration
|
|
61
|
+
* @param {String} tenant
|
|
62
|
+
* @param {module:model/ScimUser} scimUser
|
|
63
|
+
* @param {Object} opts Optional parameters
|
|
64
|
+
* @param {String} [attributes]
|
|
65
|
+
* @param {String} [excludedAttributes]
|
|
66
|
+
* @param {module:api/SCIMApi~createSCIMResourceByIdGroupsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
67
|
+
* data is of type: {@link Object}
|
|
68
|
+
*/
|
|
69
|
+
return _createClass(SCIMApi, [{
|
|
70
|
+
key: "createSCIMResourceByIdGroups",
|
|
71
|
+
value: function createSCIMResourceByIdGroups(integration, tenant, scimUser, opts, callback) {
|
|
72
|
+
opts = opts || {};
|
|
73
|
+
var postBody = scimUser;
|
|
74
|
+
// verify the required parameter 'integration' is set
|
|
75
|
+
if (integration === undefined || integration === null) {
|
|
76
|
+
throw new Error("Missing the required parameter 'integration' when calling createSCIMResourceByIdGroups");
|
|
77
|
+
}
|
|
78
|
+
// verify the required parameter 'tenant' is set
|
|
79
|
+
if (tenant === undefined || tenant === null) {
|
|
80
|
+
throw new Error("Missing the required parameter 'tenant' when calling createSCIMResourceByIdGroups");
|
|
81
|
+
}
|
|
82
|
+
// verify the required parameter 'scimUser' is set
|
|
83
|
+
if (scimUser === undefined || scimUser === null) {
|
|
84
|
+
throw new Error("Missing the required parameter 'scimUser' when calling createSCIMResourceByIdGroups");
|
|
85
|
+
}
|
|
86
|
+
var pathParams = {
|
|
87
|
+
'integration': integration,
|
|
88
|
+
'tenant': tenant
|
|
89
|
+
};
|
|
90
|
+
var queryParams = {
|
|
91
|
+
'attributes': opts['attributes'],
|
|
92
|
+
'excludedAttributes': opts['excludedAttributes']
|
|
93
|
+
};
|
|
94
|
+
var headerParams = {};
|
|
95
|
+
var formParams = {};
|
|
96
|
+
var authNames = [];
|
|
97
|
+
var contentTypes = ['application/scim+json'];
|
|
98
|
+
var accepts = ['application/scim+json', 'application/json'];
|
|
99
|
+
var returnType = Object;
|
|
100
|
+
return this.apiClient.callApi('/api/v1/{tenant}/integrations/{integration}/scim/v2/Groups', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Callback function to receive the result of the createSCIMResourceByIdUsers operation.
|
|
105
|
+
* @callback module:api/SCIMApi~createSCIMResourceByIdUsersCallback
|
|
106
|
+
* @param {String} error Error message, if any.
|
|
107
|
+
* @param {Object} data The data returned by the service call.
|
|
108
|
+
* @param {String} response The complete HTTP response.
|
|
109
|
+
*/
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* {@inheritDoc}
|
|
113
|
+
* Create
|
|
114
|
+
* @param {String} integration
|
|
115
|
+
* @param {String} tenant
|
|
116
|
+
* @param {module:model/ScimUser} scimUser
|
|
117
|
+
* @param {Object} opts Optional parameters
|
|
118
|
+
* @param {String} [attributes]
|
|
119
|
+
* @param {String} [excludedAttributes]
|
|
120
|
+
* @param {module:api/SCIMApi~createSCIMResourceByIdUsersCallback} callback The callback function, accepting three arguments: error, data, response
|
|
121
|
+
* data is of type: {@link Object}
|
|
122
|
+
*/
|
|
123
|
+
}, {
|
|
124
|
+
key: "createSCIMResourceByIdUsers",
|
|
125
|
+
value: function createSCIMResourceByIdUsers(integration, tenant, scimUser, opts, callback) {
|
|
126
|
+
opts = opts || {};
|
|
127
|
+
var postBody = scimUser;
|
|
128
|
+
// verify the required parameter 'integration' is set
|
|
129
|
+
if (integration === undefined || integration === null) {
|
|
130
|
+
throw new Error("Missing the required parameter 'integration' when calling createSCIMResourceByIdUsers");
|
|
131
|
+
}
|
|
132
|
+
// verify the required parameter 'tenant' is set
|
|
133
|
+
if (tenant === undefined || tenant === null) {
|
|
134
|
+
throw new Error("Missing the required parameter 'tenant' when calling createSCIMResourceByIdUsers");
|
|
135
|
+
}
|
|
136
|
+
// verify the required parameter 'scimUser' is set
|
|
137
|
+
if (scimUser === undefined || scimUser === null) {
|
|
138
|
+
throw new Error("Missing the required parameter 'scimUser' when calling createSCIMResourceByIdUsers");
|
|
139
|
+
}
|
|
140
|
+
var pathParams = {
|
|
141
|
+
'integration': integration,
|
|
142
|
+
'tenant': tenant
|
|
143
|
+
};
|
|
144
|
+
var queryParams = {
|
|
145
|
+
'attributes': opts['attributes'],
|
|
146
|
+
'excludedAttributes': opts['excludedAttributes']
|
|
147
|
+
};
|
|
148
|
+
var headerParams = {};
|
|
149
|
+
var formParams = {};
|
|
150
|
+
var authNames = [];
|
|
151
|
+
var contentTypes = ['application/scim+json'];
|
|
152
|
+
var accepts = ['application/scim+json', 'application/json'];
|
|
153
|
+
var returnType = Object;
|
|
154
|
+
return this.apiClient.callApi('/api/v1/{tenant}/integrations/{integration}/scim/v2/Users', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* Callback function to receive the result of the deleteGroups operation.
|
|
159
|
+
* @callback module:api/SCIMApi~deleteGroupsCallback
|
|
160
|
+
* @param {String} error Error message, if any.
|
|
161
|
+
* @param {Object} data The data returned by the service call.
|
|
162
|
+
* @param {String} response The complete HTTP response.
|
|
163
|
+
*/
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* {@inheritDoc}
|
|
167
|
+
* Delete from the backing store
|
|
168
|
+
* @param {String} id
|
|
169
|
+
* @param {String} integration
|
|
170
|
+
* @param {String} tenant
|
|
171
|
+
* @param {module:api/SCIMApi~deleteGroupsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
172
|
+
* data is of type: {@link Object}
|
|
173
|
+
*/
|
|
174
|
+
}, {
|
|
175
|
+
key: "deleteGroups",
|
|
176
|
+
value: function deleteGroups(id, integration, tenant, callback) {
|
|
177
|
+
var postBody = null;
|
|
178
|
+
// verify the required parameter 'id' is set
|
|
179
|
+
if (id === undefined || id === null) {
|
|
180
|
+
throw new Error("Missing the required parameter 'id' when calling deleteGroups");
|
|
181
|
+
}
|
|
182
|
+
// verify the required parameter 'integration' is set
|
|
183
|
+
if (integration === undefined || integration === null) {
|
|
184
|
+
throw new Error("Missing the required parameter 'integration' when calling deleteGroups");
|
|
185
|
+
}
|
|
186
|
+
// verify the required parameter 'tenant' is set
|
|
187
|
+
if (tenant === undefined || tenant === null) {
|
|
188
|
+
throw new Error("Missing the required parameter 'tenant' when calling deleteGroups");
|
|
189
|
+
}
|
|
190
|
+
var pathParams = {
|
|
191
|
+
'id': id,
|
|
192
|
+
'integration': integration,
|
|
193
|
+
'tenant': tenant
|
|
194
|
+
};
|
|
195
|
+
var queryParams = {};
|
|
196
|
+
var headerParams = {};
|
|
197
|
+
var formParams = {};
|
|
198
|
+
var authNames = [];
|
|
199
|
+
var contentTypes = [];
|
|
200
|
+
var accepts = ['application/scim+json', 'application/json'];
|
|
201
|
+
var returnType = Object;
|
|
202
|
+
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);
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* Callback function to receive the result of the deleteUsers operation.
|
|
207
|
+
* @callback module:api/SCIMApi~deleteUsersCallback
|
|
208
|
+
* @param {String} error Error message, if any.
|
|
209
|
+
* @param {Object} data The data returned by the service call.
|
|
210
|
+
* @param {String} response The complete HTTP response.
|
|
211
|
+
*/
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* {@inheritDoc}
|
|
215
|
+
* Delete from the backing store
|
|
216
|
+
* @param {String} id
|
|
217
|
+
* @param {String} integration
|
|
218
|
+
* @param {String} tenant
|
|
219
|
+
* @param {module:api/SCIMApi~deleteUsersCallback} callback The callback function, accepting three arguments: error, data, response
|
|
220
|
+
* data is of type: {@link Object}
|
|
221
|
+
*/
|
|
222
|
+
}, {
|
|
223
|
+
key: "deleteUsers",
|
|
224
|
+
value: function deleteUsers(id, integration, tenant, callback) {
|
|
225
|
+
var postBody = null;
|
|
226
|
+
// verify the required parameter 'id' is set
|
|
227
|
+
if (id === undefined || id === null) {
|
|
228
|
+
throw new Error("Missing the required parameter 'id' when calling deleteUsers");
|
|
229
|
+
}
|
|
230
|
+
// verify the required parameter 'integration' is set
|
|
231
|
+
if (integration === undefined || integration === null) {
|
|
232
|
+
throw new Error("Missing the required parameter 'integration' when calling deleteUsers");
|
|
233
|
+
}
|
|
234
|
+
// verify the required parameter 'tenant' is set
|
|
235
|
+
if (tenant === undefined || tenant === null) {
|
|
236
|
+
throw new Error("Missing the required parameter 'tenant' when calling deleteUsers");
|
|
237
|
+
}
|
|
238
|
+
var pathParams = {
|
|
239
|
+
'id': id,
|
|
240
|
+
'integration': integration,
|
|
241
|
+
'tenant': tenant
|
|
242
|
+
};
|
|
243
|
+
var queryParams = {};
|
|
244
|
+
var headerParams = {};
|
|
245
|
+
var formParams = {};
|
|
246
|
+
var authNames = [];
|
|
247
|
+
var contentTypes = [];
|
|
248
|
+
var accepts = ['application/scim+json', 'application/json'];
|
|
249
|
+
var returnType = Object;
|
|
250
|
+
return this.apiClient.callApi('/api/v1/{tenant}/integrations/{integration}/scim/v2/Users/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* Callback function to receive the result of the findGroups operation.
|
|
255
|
+
* @callback module:api/SCIMApi~findGroupsCallback
|
|
256
|
+
* @param {String} error Error message, if any.
|
|
257
|
+
* @param {module:model/ScimResource} data The data returned by the service call.
|
|
258
|
+
* @param {String} response The complete HTTP response.
|
|
259
|
+
*/
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* {@inheritDoc}
|
|
263
|
+
* Search
|
|
264
|
+
* @param {String} integration
|
|
265
|
+
* @param {String} tenant
|
|
266
|
+
* @param {module:model/SearchRequest} searchRequest
|
|
267
|
+
* @param {module:api/SCIMApi~findGroupsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
268
|
+
* data is of type: {@link module:model/ScimResource}
|
|
269
|
+
*/
|
|
270
|
+
}, {
|
|
271
|
+
key: "findGroups",
|
|
272
|
+
value: function findGroups(integration, tenant, searchRequest, callback) {
|
|
273
|
+
var postBody = searchRequest;
|
|
274
|
+
// verify the required parameter 'integration' is set
|
|
275
|
+
if (integration === undefined || integration === null) {
|
|
276
|
+
throw new Error("Missing the required parameter 'integration' when calling findGroups");
|
|
277
|
+
}
|
|
278
|
+
// verify the required parameter 'tenant' is set
|
|
279
|
+
if (tenant === undefined || tenant === null) {
|
|
280
|
+
throw new Error("Missing the required parameter 'tenant' when calling findGroups");
|
|
281
|
+
}
|
|
282
|
+
// verify the required parameter 'searchRequest' is set
|
|
283
|
+
if (searchRequest === undefined || searchRequest === null) {
|
|
284
|
+
throw new Error("Missing the required parameter 'searchRequest' when calling findGroups");
|
|
285
|
+
}
|
|
286
|
+
var pathParams = {
|
|
287
|
+
'integration': integration,
|
|
288
|
+
'tenant': tenant
|
|
289
|
+
};
|
|
290
|
+
var queryParams = {};
|
|
291
|
+
var headerParams = {};
|
|
292
|
+
var formParams = {};
|
|
293
|
+
var authNames = [];
|
|
294
|
+
var contentTypes = ['application/scim+json'];
|
|
295
|
+
var accepts = ['application/scim+json'];
|
|
296
|
+
var returnType = _ScimResource["default"];
|
|
297
|
+
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);
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* Callback function to receive the result of the findUsers operation.
|
|
302
|
+
* @callback module:api/SCIMApi~findUsersCallback
|
|
303
|
+
* @param {String} error Error message, if any.
|
|
304
|
+
* @param {module:model/ScimResource} data The data returned by the service call.
|
|
305
|
+
* @param {String} response The complete HTTP response.
|
|
306
|
+
*/
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* {@inheritDoc}
|
|
310
|
+
* Search
|
|
311
|
+
* @param {String} integration
|
|
312
|
+
* @param {String} tenant
|
|
313
|
+
* @param {module:model/SearchRequest} searchRequest
|
|
314
|
+
* @param {module:api/SCIMApi~findUsersCallback} callback The callback function, accepting three arguments: error, data, response
|
|
315
|
+
* data is of type: {@link module:model/ScimResource}
|
|
316
|
+
*/
|
|
317
|
+
}, {
|
|
318
|
+
key: "findUsers",
|
|
319
|
+
value: function findUsers(integration, tenant, searchRequest, callback) {
|
|
320
|
+
var postBody = searchRequest;
|
|
321
|
+
// verify the required parameter 'integration' is set
|
|
322
|
+
if (integration === undefined || integration === null) {
|
|
323
|
+
throw new Error("Missing the required parameter 'integration' when calling findUsers");
|
|
324
|
+
}
|
|
325
|
+
// verify the required parameter 'tenant' is set
|
|
326
|
+
if (tenant === undefined || tenant === null) {
|
|
327
|
+
throw new Error("Missing the required parameter 'tenant' when calling findUsers");
|
|
328
|
+
}
|
|
329
|
+
// verify the required parameter 'searchRequest' is set
|
|
330
|
+
if (searchRequest === undefined || searchRequest === null) {
|
|
331
|
+
throw new Error("Missing the required parameter 'searchRequest' when calling findUsers");
|
|
332
|
+
}
|
|
333
|
+
var pathParams = {
|
|
334
|
+
'integration': integration,
|
|
335
|
+
'tenant': tenant
|
|
336
|
+
};
|
|
337
|
+
var queryParams = {};
|
|
338
|
+
var headerParams = {};
|
|
339
|
+
var formParams = {};
|
|
340
|
+
var authNames = [];
|
|
341
|
+
var contentTypes = ['application/scim+json'];
|
|
342
|
+
var accepts = ['application/scim+json'];
|
|
343
|
+
var returnType = _ScimResource["default"];
|
|
344
|
+
return this.apiClient.callApi('/api/v1/{tenant}/integrations/{integration}/scim/v2/Users/.search', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
/**
|
|
348
|
+
* Callback function to receive the result of the getSCIMResourceByIdGroups operation.
|
|
349
|
+
* @callback module:api/SCIMApi~getSCIMResourceByIdGroupsCallback
|
|
350
|
+
* @param {String} error Error message, if any.
|
|
351
|
+
* @param {module:model/ScimResource} data The data returned by the service call.
|
|
352
|
+
* @param {String} response The complete HTTP response.
|
|
353
|
+
*/
|
|
354
|
+
|
|
355
|
+
/**
|
|
356
|
+
* {@inheritDoc}
|
|
357
|
+
* Find by id
|
|
358
|
+
* @param {String} id
|
|
359
|
+
* @param {String} integration
|
|
360
|
+
* @param {String} tenant
|
|
361
|
+
* @param {Object} opts Optional parameters
|
|
362
|
+
* @param {String} [attributes]
|
|
363
|
+
* @param {String} [excludedAttributes]
|
|
364
|
+
* @param {module:api/SCIMApi~getSCIMResourceByIdGroupsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
365
|
+
* data is of type: {@link module:model/ScimResource}
|
|
366
|
+
*/
|
|
367
|
+
}, {
|
|
368
|
+
key: "getSCIMResourceByIdGroups",
|
|
369
|
+
value: function getSCIMResourceByIdGroups(id, integration, tenant, opts, callback) {
|
|
370
|
+
opts = opts || {};
|
|
371
|
+
var postBody = null;
|
|
372
|
+
// verify the required parameter 'id' is set
|
|
373
|
+
if (id === undefined || id === null) {
|
|
374
|
+
throw new Error("Missing the required parameter 'id' when calling getSCIMResourceByIdGroups");
|
|
375
|
+
}
|
|
376
|
+
// verify the required parameter 'integration' is set
|
|
377
|
+
if (integration === undefined || integration === null) {
|
|
378
|
+
throw new Error("Missing the required parameter 'integration' when calling getSCIMResourceByIdGroups");
|
|
379
|
+
}
|
|
380
|
+
// verify the required parameter 'tenant' is set
|
|
381
|
+
if (tenant === undefined || tenant === null) {
|
|
382
|
+
throw new Error("Missing the required parameter 'tenant' when calling getSCIMResourceByIdGroups");
|
|
383
|
+
}
|
|
384
|
+
var pathParams = {
|
|
385
|
+
'id': id,
|
|
386
|
+
'integration': integration,
|
|
387
|
+
'tenant': tenant
|
|
388
|
+
};
|
|
389
|
+
var queryParams = {
|
|
390
|
+
'attributes': opts['attributes'],
|
|
391
|
+
'excludedAttributes': opts['excludedAttributes']
|
|
392
|
+
};
|
|
393
|
+
var headerParams = {};
|
|
394
|
+
var formParams = {};
|
|
395
|
+
var authNames = [];
|
|
396
|
+
var contentTypes = [];
|
|
397
|
+
var accepts = ['application/scim+json'];
|
|
398
|
+
var returnType = _ScimResource["default"];
|
|
399
|
+
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);
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
/**
|
|
403
|
+
* Callback function to receive the result of the getSCIMResourceByIdUsers operation.
|
|
404
|
+
* @callback module:api/SCIMApi~getSCIMResourceByIdUsersCallback
|
|
405
|
+
* @param {String} error Error message, if any.
|
|
406
|
+
* @param {module:model/ScimResource} data The data returned by the service call.
|
|
407
|
+
* @param {String} response The complete HTTP response.
|
|
408
|
+
*/
|
|
409
|
+
|
|
410
|
+
/**
|
|
411
|
+
* {@inheritDoc}
|
|
412
|
+
* Find by id
|
|
413
|
+
* @param {String} id
|
|
414
|
+
* @param {String} integration
|
|
415
|
+
* @param {String} tenant
|
|
416
|
+
* @param {Object} opts Optional parameters
|
|
417
|
+
* @param {String} [attributes]
|
|
418
|
+
* @param {String} [excludedAttributes]
|
|
419
|
+
* @param {module:api/SCIMApi~getSCIMResourceByIdUsersCallback} callback The callback function, accepting three arguments: error, data, response
|
|
420
|
+
* data is of type: {@link module:model/ScimResource}
|
|
421
|
+
*/
|
|
422
|
+
}, {
|
|
423
|
+
key: "getSCIMResourceByIdUsers",
|
|
424
|
+
value: function getSCIMResourceByIdUsers(id, integration, tenant, opts, callback) {
|
|
425
|
+
opts = opts || {};
|
|
426
|
+
var postBody = null;
|
|
427
|
+
// verify the required parameter 'id' is set
|
|
428
|
+
if (id === undefined || id === null) {
|
|
429
|
+
throw new Error("Missing the required parameter 'id' when calling getSCIMResourceByIdUsers");
|
|
430
|
+
}
|
|
431
|
+
// verify the required parameter 'integration' is set
|
|
432
|
+
if (integration === undefined || integration === null) {
|
|
433
|
+
throw new Error("Missing the required parameter 'integration' when calling getSCIMResourceByIdUsers");
|
|
434
|
+
}
|
|
435
|
+
// verify the required parameter 'tenant' is set
|
|
436
|
+
if (tenant === undefined || tenant === null) {
|
|
437
|
+
throw new Error("Missing the required parameter 'tenant' when calling getSCIMResourceByIdUsers");
|
|
438
|
+
}
|
|
439
|
+
var pathParams = {
|
|
440
|
+
'id': id,
|
|
441
|
+
'integration': integration,
|
|
442
|
+
'tenant': tenant
|
|
443
|
+
};
|
|
444
|
+
var queryParams = {
|
|
445
|
+
'attributes': opts['attributes'],
|
|
446
|
+
'excludedAttributes': opts['excludedAttributes']
|
|
447
|
+
};
|
|
448
|
+
var headerParams = {};
|
|
449
|
+
var formParams = {};
|
|
450
|
+
var authNames = [];
|
|
451
|
+
var contentTypes = [];
|
|
452
|
+
var accepts = ['application/scim+json'];
|
|
453
|
+
var returnType = _ScimResource["default"];
|
|
454
|
+
return this.apiClient.callApi('/api/v1/{tenant}/integrations/{integration}/scim/v2/Users/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
/**
|
|
458
|
+
* Callback function to receive the result of the patchGroups operation.
|
|
459
|
+
* @callback module:api/SCIMApi~patchGroupsCallback
|
|
460
|
+
* @param {String} error Error message, if any.
|
|
461
|
+
* @param {Object} data The data returned by the service call.
|
|
462
|
+
* @param {String} response The complete HTTP response.
|
|
463
|
+
*/
|
|
464
|
+
|
|
465
|
+
/**
|
|
466
|
+
* {@inheritDoc}
|
|
467
|
+
* Patch a portion of the backing store
|
|
468
|
+
* @param {String} id
|
|
469
|
+
* @param {String} integration
|
|
470
|
+
* @param {String} tenant
|
|
471
|
+
* @param {module:model/PatchRequest} patchRequest
|
|
472
|
+
* @param {Object} opts Optional parameters
|
|
473
|
+
* @param {String} [attributes]
|
|
474
|
+
* @param {String} [excludedAttributes]
|
|
475
|
+
* @param {module:api/SCIMApi~patchGroupsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
476
|
+
* data is of type: {@link Object}
|
|
477
|
+
*/
|
|
478
|
+
}, {
|
|
479
|
+
key: "patchGroups",
|
|
480
|
+
value: function patchGroups(id, integration, tenant, patchRequest, opts, callback) {
|
|
481
|
+
opts = opts || {};
|
|
482
|
+
var postBody = patchRequest;
|
|
483
|
+
// verify the required parameter 'id' is set
|
|
484
|
+
if (id === undefined || id === null) {
|
|
485
|
+
throw new Error("Missing the required parameter 'id' when calling patchGroups");
|
|
486
|
+
}
|
|
487
|
+
// verify the required parameter 'integration' is set
|
|
488
|
+
if (integration === undefined || integration === null) {
|
|
489
|
+
throw new Error("Missing the required parameter 'integration' when calling patchGroups");
|
|
490
|
+
}
|
|
491
|
+
// verify the required parameter 'tenant' is set
|
|
492
|
+
if (tenant === undefined || tenant === null) {
|
|
493
|
+
throw new Error("Missing the required parameter 'tenant' when calling patchGroups");
|
|
494
|
+
}
|
|
495
|
+
// verify the required parameter 'patchRequest' is set
|
|
496
|
+
if (patchRequest === undefined || patchRequest === null) {
|
|
497
|
+
throw new Error("Missing the required parameter 'patchRequest' when calling patchGroups");
|
|
498
|
+
}
|
|
499
|
+
var pathParams = {
|
|
500
|
+
'id': id,
|
|
501
|
+
'integration': integration,
|
|
502
|
+
'tenant': tenant
|
|
503
|
+
};
|
|
504
|
+
var queryParams = {
|
|
505
|
+
'attributes': opts['attributes'],
|
|
506
|
+
'excludedAttributes': opts['excludedAttributes']
|
|
507
|
+
};
|
|
508
|
+
var headerParams = {};
|
|
509
|
+
var formParams = {};
|
|
510
|
+
var authNames = [];
|
|
511
|
+
var contentTypes = ['application/scim+json'];
|
|
512
|
+
var accepts = ['application/scim+json', 'application/json'];
|
|
513
|
+
var returnType = Object;
|
|
514
|
+
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);
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
/**
|
|
518
|
+
* Callback function to receive the result of the patchUsers operation.
|
|
519
|
+
* @callback module:api/SCIMApi~patchUsersCallback
|
|
520
|
+
* @param {String} error Error message, if any.
|
|
521
|
+
* @param {Object} data The data returned by the service call.
|
|
522
|
+
* @param {String} response The complete HTTP response.
|
|
523
|
+
*/
|
|
524
|
+
|
|
525
|
+
/**
|
|
526
|
+
* {@inheritDoc}
|
|
527
|
+
* Patch a portion of the backing store
|
|
528
|
+
* @param {String} id
|
|
529
|
+
* @param {String} integration
|
|
530
|
+
* @param {String} tenant
|
|
531
|
+
* @param {module:model/PatchRequest} patchRequest
|
|
532
|
+
* @param {Object} opts Optional parameters
|
|
533
|
+
* @param {String} [attributes]
|
|
534
|
+
* @param {String} [excludedAttributes]
|
|
535
|
+
* @param {module:api/SCIMApi~patchUsersCallback} callback The callback function, accepting three arguments: error, data, response
|
|
536
|
+
* data is of type: {@link Object}
|
|
537
|
+
*/
|
|
538
|
+
}, {
|
|
539
|
+
key: "patchUsers",
|
|
540
|
+
value: function patchUsers(id, integration, tenant, patchRequest, opts, callback) {
|
|
541
|
+
opts = opts || {};
|
|
542
|
+
var postBody = patchRequest;
|
|
543
|
+
// verify the required parameter 'id' is set
|
|
544
|
+
if (id === undefined || id === null) {
|
|
545
|
+
throw new Error("Missing the required parameter 'id' when calling patchUsers");
|
|
546
|
+
}
|
|
547
|
+
// verify the required parameter 'integration' is set
|
|
548
|
+
if (integration === undefined || integration === null) {
|
|
549
|
+
throw new Error("Missing the required parameter 'integration' when calling patchUsers");
|
|
550
|
+
}
|
|
551
|
+
// verify the required parameter 'tenant' is set
|
|
552
|
+
if (tenant === undefined || tenant === null) {
|
|
553
|
+
throw new Error("Missing the required parameter 'tenant' when calling patchUsers");
|
|
554
|
+
}
|
|
555
|
+
// verify the required parameter 'patchRequest' is set
|
|
556
|
+
if (patchRequest === undefined || patchRequest === null) {
|
|
557
|
+
throw new Error("Missing the required parameter 'patchRequest' when calling patchUsers");
|
|
558
|
+
}
|
|
559
|
+
var pathParams = {
|
|
560
|
+
'id': id,
|
|
561
|
+
'integration': integration,
|
|
562
|
+
'tenant': tenant
|
|
563
|
+
};
|
|
564
|
+
var queryParams = {
|
|
565
|
+
'attributes': opts['attributes'],
|
|
566
|
+
'excludedAttributes': opts['excludedAttributes']
|
|
567
|
+
};
|
|
568
|
+
var headerParams = {};
|
|
569
|
+
var formParams = {};
|
|
570
|
+
var authNames = [];
|
|
571
|
+
var contentTypes = ['application/scim+json'];
|
|
572
|
+
var accepts = ['application/scim+json', 'application/json'];
|
|
573
|
+
var returnType = Object;
|
|
574
|
+
return this.apiClient.callApi('/api/v1/{tenant}/integrations/{integration}/scim/v2/Users/{id}', 'PATCH', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
/**
|
|
578
|
+
* Callback function to receive the result of the queryGroups operation.
|
|
579
|
+
* @callback module:api/SCIMApi~queryGroupsCallback
|
|
580
|
+
* @param {String} error Error message, if any.
|
|
581
|
+
* @param {module:model/ScimResource} data The data returned by the service call.
|
|
582
|
+
* @param {String} response The complete HTTP response.
|
|
583
|
+
*/
|
|
584
|
+
|
|
585
|
+
/**
|
|
586
|
+
* {@inheritDoc}
|
|
587
|
+
* Find by a combination of query parameters
|
|
588
|
+
* @param {String} integration
|
|
589
|
+
* @param {String} tenant
|
|
590
|
+
* @param {Object} opts Optional parameters
|
|
591
|
+
* @param {String} [attributes]
|
|
592
|
+
* @param {String} [excludedAttributes]
|
|
593
|
+
* @param {String} [filter]
|
|
594
|
+
* @param {String} [sortBy]
|
|
595
|
+
* @param {module:model/SortOrder} [sortOrder]
|
|
596
|
+
* @param {Number} [startIndex]
|
|
597
|
+
* @param {Number} [count]
|
|
598
|
+
* @param {module:api/SCIMApi~queryGroupsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
599
|
+
* data is of type: {@link module:model/ScimResource}
|
|
600
|
+
*/
|
|
601
|
+
}, {
|
|
602
|
+
key: "queryGroups",
|
|
603
|
+
value: function queryGroups(integration, tenant, opts, callback) {
|
|
604
|
+
opts = opts || {};
|
|
605
|
+
var postBody = null;
|
|
606
|
+
// verify the required parameter 'integration' is set
|
|
607
|
+
if (integration === undefined || integration === null) {
|
|
608
|
+
throw new Error("Missing the required parameter 'integration' when calling queryGroups");
|
|
609
|
+
}
|
|
610
|
+
// verify the required parameter 'tenant' is set
|
|
611
|
+
if (tenant === undefined || tenant === null) {
|
|
612
|
+
throw new Error("Missing the required parameter 'tenant' when calling queryGroups");
|
|
613
|
+
}
|
|
614
|
+
var pathParams = {
|
|
615
|
+
'integration': integration,
|
|
616
|
+
'tenant': tenant
|
|
617
|
+
};
|
|
618
|
+
var queryParams = {
|
|
619
|
+
'attributes': opts['attributes'],
|
|
620
|
+
'excludedAttributes': opts['excludedAttributes'],
|
|
621
|
+
'filter': opts['filter'],
|
|
622
|
+
'sortBy': opts['sortBy'],
|
|
623
|
+
'sortOrder': opts['sortOrder'],
|
|
624
|
+
'startIndex': opts['startIndex'],
|
|
625
|
+
'count': opts['count']
|
|
626
|
+
};
|
|
627
|
+
var headerParams = {};
|
|
628
|
+
var formParams = {};
|
|
629
|
+
var authNames = [];
|
|
630
|
+
var contentTypes = [];
|
|
631
|
+
var accepts = ['application/scim+json'];
|
|
632
|
+
var returnType = _ScimResource["default"];
|
|
633
|
+
return this.apiClient.callApi('/api/v1/{tenant}/integrations/{integration}/scim/v2/Groups', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
/**
|
|
637
|
+
* Callback function to receive the result of the queryUsers operation.
|
|
638
|
+
* @callback module:api/SCIMApi~queryUsersCallback
|
|
639
|
+
* @param {String} error Error message, if any.
|
|
640
|
+
* @param {module:model/ScimResource} data The data returned by the service call.
|
|
641
|
+
* @param {String} response The complete HTTP response.
|
|
642
|
+
*/
|
|
643
|
+
|
|
644
|
+
/**
|
|
645
|
+
* {@inheritDoc}
|
|
646
|
+
* Find by a combination of query parameters
|
|
647
|
+
* @param {String} integration
|
|
648
|
+
* @param {String} tenant
|
|
649
|
+
* @param {Object} opts Optional parameters
|
|
650
|
+
* @param {String} [attributes]
|
|
651
|
+
* @param {String} [excludedAttributes]
|
|
652
|
+
* @param {String} [filter]
|
|
653
|
+
* @param {String} [sortBy]
|
|
654
|
+
* @param {module:model/SortOrder} [sortOrder]
|
|
655
|
+
* @param {Number} [startIndex]
|
|
656
|
+
* @param {Number} [count]
|
|
657
|
+
* @param {module:api/SCIMApi~queryUsersCallback} callback The callback function, accepting three arguments: error, data, response
|
|
658
|
+
* data is of type: {@link module:model/ScimResource}
|
|
659
|
+
*/
|
|
660
|
+
}, {
|
|
661
|
+
key: "queryUsers",
|
|
662
|
+
value: function queryUsers(integration, tenant, opts, callback) {
|
|
663
|
+
opts = opts || {};
|
|
664
|
+
var postBody = null;
|
|
665
|
+
// verify the required parameter 'integration' is set
|
|
666
|
+
if (integration === undefined || integration === null) {
|
|
667
|
+
throw new Error("Missing the required parameter 'integration' when calling queryUsers");
|
|
668
|
+
}
|
|
669
|
+
// verify the required parameter 'tenant' is set
|
|
670
|
+
if (tenant === undefined || tenant === null) {
|
|
671
|
+
throw new Error("Missing the required parameter 'tenant' when calling queryUsers");
|
|
672
|
+
}
|
|
673
|
+
var pathParams = {
|
|
674
|
+
'integration': integration,
|
|
675
|
+
'tenant': tenant
|
|
676
|
+
};
|
|
677
|
+
var queryParams = {
|
|
678
|
+
'attributes': opts['attributes'],
|
|
679
|
+
'excludedAttributes': opts['excludedAttributes'],
|
|
680
|
+
'filter': opts['filter'],
|
|
681
|
+
'sortBy': opts['sortBy'],
|
|
682
|
+
'sortOrder': opts['sortOrder'],
|
|
683
|
+
'startIndex': opts['startIndex'],
|
|
684
|
+
'count': opts['count']
|
|
685
|
+
};
|
|
686
|
+
var headerParams = {};
|
|
687
|
+
var formParams = {};
|
|
688
|
+
var authNames = [];
|
|
689
|
+
var contentTypes = [];
|
|
690
|
+
var accepts = ['application/scim+json'];
|
|
691
|
+
var returnType = _ScimResource["default"];
|
|
692
|
+
return this.apiClient.callApi('/api/v1/{tenant}/integrations/{integration}/scim/v2/Users', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
/**
|
|
696
|
+
* Callback function to receive the result of the updateGroups operation.
|
|
697
|
+
* @callback module:api/SCIMApi~updateGroupsCallback
|
|
698
|
+
* @param {String} error Error message, if any.
|
|
699
|
+
* @param {module:model/ScimResource} data The data returned by the service call.
|
|
700
|
+
* @param {String} response The complete HTTP response.
|
|
701
|
+
*/
|
|
702
|
+
|
|
703
|
+
/**
|
|
704
|
+
* {@inheritDoc}
|
|
705
|
+
* Update
|
|
706
|
+
* @param {String} id
|
|
707
|
+
* @param {String} integration
|
|
708
|
+
* @param {String} tenant
|
|
709
|
+
* @param {module:model/ScimResource} scimResource
|
|
710
|
+
* @param {Object} opts Optional parameters
|
|
711
|
+
* @param {String} [attributes]
|
|
712
|
+
* @param {String} [excludedAttributes]
|
|
713
|
+
* @param {module:api/SCIMApi~updateGroupsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
714
|
+
* data is of type: {@link module:model/ScimResource}
|
|
715
|
+
*/
|
|
716
|
+
}, {
|
|
717
|
+
key: "updateGroups",
|
|
718
|
+
value: function updateGroups(id, integration, tenant, scimResource, opts, callback) {
|
|
719
|
+
opts = opts || {};
|
|
720
|
+
var postBody = scimResource;
|
|
721
|
+
// verify the required parameter 'id' is set
|
|
722
|
+
if (id === undefined || id === null) {
|
|
723
|
+
throw new Error("Missing the required parameter 'id' when calling updateGroups");
|
|
724
|
+
}
|
|
725
|
+
// verify the required parameter 'integration' is set
|
|
726
|
+
if (integration === undefined || integration === null) {
|
|
727
|
+
throw new Error("Missing the required parameter 'integration' when calling updateGroups");
|
|
728
|
+
}
|
|
729
|
+
// verify the required parameter 'tenant' is set
|
|
730
|
+
if (tenant === undefined || tenant === null) {
|
|
731
|
+
throw new Error("Missing the required parameter 'tenant' when calling updateGroups");
|
|
732
|
+
}
|
|
733
|
+
// verify the required parameter 'scimResource' is set
|
|
734
|
+
if (scimResource === undefined || scimResource === null) {
|
|
735
|
+
throw new Error("Missing the required parameter 'scimResource' when calling updateGroups");
|
|
736
|
+
}
|
|
737
|
+
var pathParams = {
|
|
738
|
+
'id': id,
|
|
739
|
+
'integration': integration,
|
|
740
|
+
'tenant': tenant
|
|
741
|
+
};
|
|
742
|
+
var queryParams = {
|
|
743
|
+
'attributes': opts['attributes'],
|
|
744
|
+
'excludedAttributes': opts['excludedAttributes']
|
|
745
|
+
};
|
|
746
|
+
var headerParams = {};
|
|
747
|
+
var formParams = {};
|
|
748
|
+
var authNames = [];
|
|
749
|
+
var contentTypes = ['application/scim+json'];
|
|
750
|
+
var accepts = ['application/scim+json'];
|
|
751
|
+
var returnType = _ScimResource["default"];
|
|
752
|
+
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);
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
/**
|
|
756
|
+
* Callback function to receive the result of the updateUsers operation.
|
|
757
|
+
* @callback module:api/SCIMApi~updateUsersCallback
|
|
758
|
+
* @param {String} error Error message, if any.
|
|
759
|
+
* @param {module:model/ScimResource} data The data returned by the service call.
|
|
760
|
+
* @param {String} response The complete HTTP response.
|
|
761
|
+
*/
|
|
762
|
+
|
|
763
|
+
/**
|
|
764
|
+
* {@inheritDoc}
|
|
765
|
+
* Update
|
|
766
|
+
* @param {String} id
|
|
767
|
+
* @param {String} integration
|
|
768
|
+
* @param {String} tenant
|
|
769
|
+
* @param {module:model/ScimResource} scimResource
|
|
770
|
+
* @param {Object} opts Optional parameters
|
|
771
|
+
* @param {String} [attributes]
|
|
772
|
+
* @param {String} [excludedAttributes]
|
|
773
|
+
* @param {module:api/SCIMApi~updateUsersCallback} callback The callback function, accepting three arguments: error, data, response
|
|
774
|
+
* data is of type: {@link module:model/ScimResource}
|
|
775
|
+
*/
|
|
776
|
+
}, {
|
|
777
|
+
key: "updateUsers",
|
|
778
|
+
value: function updateUsers(id, integration, tenant, scimResource, opts, callback) {
|
|
779
|
+
opts = opts || {};
|
|
780
|
+
var postBody = scimResource;
|
|
781
|
+
// verify the required parameter 'id' is set
|
|
782
|
+
if (id === undefined || id === null) {
|
|
783
|
+
throw new Error("Missing the required parameter 'id' when calling updateUsers");
|
|
784
|
+
}
|
|
785
|
+
// verify the required parameter 'integration' is set
|
|
786
|
+
if (integration === undefined || integration === null) {
|
|
787
|
+
throw new Error("Missing the required parameter 'integration' when calling updateUsers");
|
|
788
|
+
}
|
|
789
|
+
// verify the required parameter 'tenant' is set
|
|
790
|
+
if (tenant === undefined || tenant === null) {
|
|
791
|
+
throw new Error("Missing the required parameter 'tenant' when calling updateUsers");
|
|
792
|
+
}
|
|
793
|
+
// verify the required parameter 'scimResource' is set
|
|
794
|
+
if (scimResource === undefined || scimResource === null) {
|
|
795
|
+
throw new Error("Missing the required parameter 'scimResource' when calling updateUsers");
|
|
796
|
+
}
|
|
797
|
+
var pathParams = {
|
|
798
|
+
'id': id,
|
|
799
|
+
'integration': integration,
|
|
800
|
+
'tenant': tenant
|
|
801
|
+
};
|
|
802
|
+
var queryParams = {
|
|
803
|
+
'attributes': opts['attributes'],
|
|
804
|
+
'excludedAttributes': opts['excludedAttributes']
|
|
805
|
+
};
|
|
806
|
+
var headerParams = {};
|
|
807
|
+
var formParams = {};
|
|
808
|
+
var authNames = [];
|
|
809
|
+
var contentTypes = ['application/scim+json'];
|
|
810
|
+
var accepts = ['application/scim+json'];
|
|
811
|
+
var returnType = _ScimResource["default"];
|
|
812
|
+
return this.apiClient.callApi('/api/v1/{tenant}/integrations/{integration}/scim/v2/Users/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
813
|
+
}
|
|
814
|
+
}]);
|
|
815
|
+
}();
|