@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,1017 @@
|
|
|
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 _AppResponse = _interopRequireDefault(require("../model/AppResponse"));
|
|
9
|
+
var _AppsControllerApiApp = _interopRequireDefault(require("../model/AppsControllerApiApp"));
|
|
10
|
+
var _AppsControllerApiAppSource = _interopRequireDefault(require("../model/AppsControllerApiAppSource"));
|
|
11
|
+
var _AppsControllerApiAppTags = _interopRequireDefault(require("../model/AppsControllerApiAppTags"));
|
|
12
|
+
var _AppsControllerApiBulkOperationRequest = _interopRequireDefault(require("../model/AppsControllerApiBulkOperationRequest"));
|
|
13
|
+
var _EventAppResponse = _interopRequireDefault(require("../model/EventAppResponse"));
|
|
14
|
+
var _FileMetas = _interopRequireDefault(require("../model/FileMetas"));
|
|
15
|
+
var _HttpParameters = _interopRequireDefault(require("../model/HttpParameters"));
|
|
16
|
+
var _Level = _interopRequireDefault(require("../model/Level"));
|
|
17
|
+
var _PagedResultsAppsControllerApiApp = _interopRequireDefault(require("../model/PagedResultsAppsControllerApiApp"));
|
|
18
|
+
var _PagedResultsAppsControllerApiAppCatalogItem = _interopRequireDefault(require("../model/PagedResultsAppsControllerApiAppCatalogItem"));
|
|
19
|
+
var _PreviewAppRequest = _interopRequireDefault(require("../model/PreviewAppRequest"));
|
|
20
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
21
|
+
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); }
|
|
22
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
23
|
+
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); } }
|
|
24
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
25
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
26
|
+
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); } /**
|
|
27
|
+
* Kestra EE
|
|
28
|
+
* 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.
|
|
29
|
+
*
|
|
30
|
+
* The version of the OpenAPI document: v1
|
|
31
|
+
*
|
|
32
|
+
*
|
|
33
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
34
|
+
* https://openapi-generator.tech
|
|
35
|
+
* Do not edit the class manually.
|
|
36
|
+
*
|
|
37
|
+
*/
|
|
38
|
+
/**
|
|
39
|
+
* Apps service.
|
|
40
|
+
* @module api/AppsApi
|
|
41
|
+
* @version v0.24.0
|
|
42
|
+
*/
|
|
43
|
+
var AppsApi = exports["default"] = /*#__PURE__*/function () {
|
|
44
|
+
/**
|
|
45
|
+
* Constructs a new AppsApi.
|
|
46
|
+
* @alias module:api/AppsApi
|
|
47
|
+
* @class
|
|
48
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
49
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
50
|
+
*/
|
|
51
|
+
function AppsApi(apiClient) {
|
|
52
|
+
_classCallCheck(this, AppsApi);
|
|
53
|
+
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Callback function to receive the result of the bulkDeleteApps operation.
|
|
58
|
+
* @callback module:api/AppsApi~bulkDeleteAppsCallback
|
|
59
|
+
* @param {String} error Error message, if any.
|
|
60
|
+
* @param {Object} data The data returned by the service call.
|
|
61
|
+
* @param {String} response The complete HTTP response.
|
|
62
|
+
*/
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Delete existing apps
|
|
66
|
+
* @param {String} tenant
|
|
67
|
+
* @param {module:model/AppsControllerApiBulkOperationRequest} appsControllerApiBulkOperationRequest The list of Apps UID
|
|
68
|
+
* @param {module:api/AppsApi~bulkDeleteAppsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
69
|
+
* data is of type: {@link Object}
|
|
70
|
+
*/
|
|
71
|
+
return _createClass(AppsApi, [{
|
|
72
|
+
key: "bulkDeleteApps",
|
|
73
|
+
value: function bulkDeleteApps(tenant, appsControllerApiBulkOperationRequest, callback) {
|
|
74
|
+
var postBody = appsControllerApiBulkOperationRequest;
|
|
75
|
+
// verify the required parameter 'tenant' is set
|
|
76
|
+
if (tenant === undefined || tenant === null) {
|
|
77
|
+
throw new Error("Missing the required parameter 'tenant' when calling bulkDeleteApps");
|
|
78
|
+
}
|
|
79
|
+
// verify the required parameter 'appsControllerApiBulkOperationRequest' is set
|
|
80
|
+
if (appsControllerApiBulkOperationRequest === undefined || appsControllerApiBulkOperationRequest === null) {
|
|
81
|
+
throw new Error("Missing the required parameter 'appsControllerApiBulkOperationRequest' when calling bulkDeleteApps");
|
|
82
|
+
}
|
|
83
|
+
var pathParams = {
|
|
84
|
+
'tenant': tenant
|
|
85
|
+
};
|
|
86
|
+
var queryParams = {};
|
|
87
|
+
var headerParams = {};
|
|
88
|
+
var formParams = {};
|
|
89
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
90
|
+
var contentTypes = ['application/json'];
|
|
91
|
+
var accepts = ['application/json'];
|
|
92
|
+
var returnType = Object;
|
|
93
|
+
return this.apiClient.callApi('/api/v1/{tenant}/apps', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Callback function to receive the result of the bulkDisableApps operation.
|
|
98
|
+
* @callback module:api/AppsApi~bulkDisableAppsCallback
|
|
99
|
+
* @param {String} error Error message, if any.
|
|
100
|
+
* @param {Object} data The data returned by the service call.
|
|
101
|
+
* @param {String} response The complete HTTP response.
|
|
102
|
+
*/
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Disable existing apps
|
|
106
|
+
* @param {String} tenant
|
|
107
|
+
* @param {module:model/AppsControllerApiBulkOperationRequest} appsControllerApiBulkOperationRequest The list of Apps UID
|
|
108
|
+
* @param {module:api/AppsApi~bulkDisableAppsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
109
|
+
* data is of type: {@link Object}
|
|
110
|
+
*/
|
|
111
|
+
}, {
|
|
112
|
+
key: "bulkDisableApps",
|
|
113
|
+
value: function bulkDisableApps(tenant, appsControllerApiBulkOperationRequest, callback) {
|
|
114
|
+
var postBody = appsControllerApiBulkOperationRequest;
|
|
115
|
+
// verify the required parameter 'tenant' is set
|
|
116
|
+
if (tenant === undefined || tenant === null) {
|
|
117
|
+
throw new Error("Missing the required parameter 'tenant' when calling bulkDisableApps");
|
|
118
|
+
}
|
|
119
|
+
// verify the required parameter 'appsControllerApiBulkOperationRequest' is set
|
|
120
|
+
if (appsControllerApiBulkOperationRequest === undefined || appsControllerApiBulkOperationRequest === null) {
|
|
121
|
+
throw new Error("Missing the required parameter 'appsControllerApiBulkOperationRequest' when calling bulkDisableApps");
|
|
122
|
+
}
|
|
123
|
+
var pathParams = {
|
|
124
|
+
'tenant': tenant
|
|
125
|
+
};
|
|
126
|
+
var queryParams = {};
|
|
127
|
+
var headerParams = {};
|
|
128
|
+
var formParams = {};
|
|
129
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
130
|
+
var contentTypes = ['application/json'];
|
|
131
|
+
var accepts = ['application/json'];
|
|
132
|
+
var returnType = Object;
|
|
133
|
+
return this.apiClient.callApi('/api/v1/{tenant}/apps/disable', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* Callback function to receive the result of the bulkEnableApps operation.
|
|
138
|
+
* @callback module:api/AppsApi~bulkEnableAppsCallback
|
|
139
|
+
* @param {String} error Error message, if any.
|
|
140
|
+
* @param {Object} data The data returned by the service call.
|
|
141
|
+
* @param {String} response The complete HTTP response.
|
|
142
|
+
*/
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Enable existing apps
|
|
146
|
+
* @param {String} tenant
|
|
147
|
+
* @param {module:model/AppsControllerApiBulkOperationRequest} appsControllerApiBulkOperationRequest The list of Apps UID
|
|
148
|
+
* @param {module:api/AppsApi~bulkEnableAppsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
149
|
+
* data is of type: {@link Object}
|
|
150
|
+
*/
|
|
151
|
+
}, {
|
|
152
|
+
key: "bulkEnableApps",
|
|
153
|
+
value: function bulkEnableApps(tenant, appsControllerApiBulkOperationRequest, callback) {
|
|
154
|
+
var postBody = appsControllerApiBulkOperationRequest;
|
|
155
|
+
// verify the required parameter 'tenant' is set
|
|
156
|
+
if (tenant === undefined || tenant === null) {
|
|
157
|
+
throw new Error("Missing the required parameter 'tenant' when calling bulkEnableApps");
|
|
158
|
+
}
|
|
159
|
+
// verify the required parameter 'appsControllerApiBulkOperationRequest' is set
|
|
160
|
+
if (appsControllerApiBulkOperationRequest === undefined || appsControllerApiBulkOperationRequest === null) {
|
|
161
|
+
throw new Error("Missing the required parameter 'appsControllerApiBulkOperationRequest' when calling bulkEnableApps");
|
|
162
|
+
}
|
|
163
|
+
var pathParams = {
|
|
164
|
+
'tenant': tenant
|
|
165
|
+
};
|
|
166
|
+
var queryParams = {};
|
|
167
|
+
var headerParams = {};
|
|
168
|
+
var formParams = {};
|
|
169
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
170
|
+
var contentTypes = ['application/json'];
|
|
171
|
+
var accepts = ['application/json'];
|
|
172
|
+
var returnType = Object;
|
|
173
|
+
return this.apiClient.callApi('/api/v1/{tenant}/apps/enable', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* Callback function to receive the result of the bulkExportApps operation.
|
|
178
|
+
* @callback module:api/AppsApi~bulkExportAppsCallback
|
|
179
|
+
* @param {String} error Error message, if any.
|
|
180
|
+
* @param {Blob} data The data returned by the service call.
|
|
181
|
+
* @param {String} response The complete HTTP response.
|
|
182
|
+
*/
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* Export apps as a ZIP archive of YAML sources.
|
|
186
|
+
* @param {String} tenant
|
|
187
|
+
* @param {module:model/AppsControllerApiBulkOperationRequest} appsControllerApiBulkOperationRequest The list of Apps UID
|
|
188
|
+
* @param {module:api/AppsApi~bulkExportAppsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
189
|
+
* data is of type: {@link Blob}
|
|
190
|
+
*/
|
|
191
|
+
}, {
|
|
192
|
+
key: "bulkExportApps",
|
|
193
|
+
value: function bulkExportApps(tenant, appsControllerApiBulkOperationRequest, callback) {
|
|
194
|
+
var postBody = appsControllerApiBulkOperationRequest;
|
|
195
|
+
// verify the required parameter 'tenant' is set
|
|
196
|
+
if (tenant === undefined || tenant === null) {
|
|
197
|
+
throw new Error("Missing the required parameter 'tenant' when calling bulkExportApps");
|
|
198
|
+
}
|
|
199
|
+
// verify the required parameter 'appsControllerApiBulkOperationRequest' is set
|
|
200
|
+
if (appsControllerApiBulkOperationRequest === undefined || appsControllerApiBulkOperationRequest === null) {
|
|
201
|
+
throw new Error("Missing the required parameter 'appsControllerApiBulkOperationRequest' when calling bulkExportApps");
|
|
202
|
+
}
|
|
203
|
+
var pathParams = {
|
|
204
|
+
'tenant': tenant
|
|
205
|
+
};
|
|
206
|
+
var queryParams = {};
|
|
207
|
+
var headerParams = {};
|
|
208
|
+
var formParams = {};
|
|
209
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
210
|
+
var contentTypes = ['application/json'];
|
|
211
|
+
var accepts = ['application/octet-stream'];
|
|
212
|
+
var returnType = 'Blob';
|
|
213
|
+
return this.apiClient.callApi('/api/v1/{tenant}/apps/export', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* Callback function to receive the result of the createApp operation.
|
|
218
|
+
* @callback module:api/AppsApi~createAppCallback
|
|
219
|
+
* @param {String} error Error message, if any.
|
|
220
|
+
* @param {module:model/AppsControllerApiAppSource} data The data returned by the service call.
|
|
221
|
+
* @param {String} response The complete HTTP response.
|
|
222
|
+
*/
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* Create a new app
|
|
226
|
+
* @param {String} tenant
|
|
227
|
+
* @param {String} body The app
|
|
228
|
+
* @param {module:api/AppsApi~createAppCallback} callback The callback function, accepting three arguments: error, data, response
|
|
229
|
+
* data is of type: {@link module:model/AppsControllerApiAppSource}
|
|
230
|
+
*/
|
|
231
|
+
}, {
|
|
232
|
+
key: "createApp",
|
|
233
|
+
value: function createApp(tenant, body, callback) {
|
|
234
|
+
var postBody = body;
|
|
235
|
+
// verify the required parameter 'tenant' is set
|
|
236
|
+
if (tenant === undefined || tenant === null) {
|
|
237
|
+
throw new Error("Missing the required parameter 'tenant' when calling createApp");
|
|
238
|
+
}
|
|
239
|
+
// verify the required parameter 'body' is set
|
|
240
|
+
if (body === undefined || body === null) {
|
|
241
|
+
throw new Error("Missing the required parameter 'body' when calling createApp");
|
|
242
|
+
}
|
|
243
|
+
var pathParams = {
|
|
244
|
+
'tenant': tenant
|
|
245
|
+
};
|
|
246
|
+
var queryParams = {};
|
|
247
|
+
var headerParams = {};
|
|
248
|
+
var formParams = {};
|
|
249
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
250
|
+
var contentTypes = ['application/x-yaml'];
|
|
251
|
+
var accepts = ['application/json'];
|
|
252
|
+
var returnType = _AppsControllerApiAppSource["default"];
|
|
253
|
+
return this.apiClient.callApi('/api/v1/{tenant}/apps', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* Callback function to receive the result of the deleteApp operation.
|
|
258
|
+
* @callback module:api/AppsApi~deleteAppCallback
|
|
259
|
+
* @param {String} error Error message, if any.
|
|
260
|
+
* @param {Object} data The data returned by the service call.
|
|
261
|
+
* @param {String} response The complete HTTP response.
|
|
262
|
+
*/
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* Delete an existing app
|
|
266
|
+
* @param {String} uid The ID of the app
|
|
267
|
+
* @param {String} tenant
|
|
268
|
+
* @param {module:api/AppsApi~deleteAppCallback} callback The callback function, accepting three arguments: error, data, response
|
|
269
|
+
* data is of type: {@link Object}
|
|
270
|
+
*/
|
|
271
|
+
}, {
|
|
272
|
+
key: "deleteApp",
|
|
273
|
+
value: function deleteApp(uid, tenant, callback) {
|
|
274
|
+
var postBody = null;
|
|
275
|
+
// verify the required parameter 'uid' is set
|
|
276
|
+
if (uid === undefined || uid === null) {
|
|
277
|
+
throw new Error("Missing the required parameter 'uid' when calling deleteApp");
|
|
278
|
+
}
|
|
279
|
+
// verify the required parameter 'tenant' is set
|
|
280
|
+
if (tenant === undefined || tenant === null) {
|
|
281
|
+
throw new Error("Missing the required parameter 'tenant' when calling deleteApp");
|
|
282
|
+
}
|
|
283
|
+
var pathParams = {
|
|
284
|
+
'uid': uid,
|
|
285
|
+
'tenant': tenant
|
|
286
|
+
};
|
|
287
|
+
var queryParams = {};
|
|
288
|
+
var headerParams = {};
|
|
289
|
+
var formParams = {};
|
|
290
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
291
|
+
var contentTypes = [];
|
|
292
|
+
var accepts = ['application/json'];
|
|
293
|
+
var returnType = Object;
|
|
294
|
+
return this.apiClient.callApi('/api/v1/{tenant}/apps/{uid}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* Callback function to receive the result of the disableApp operation.
|
|
299
|
+
* @callback module:api/AppsApi~disableAppCallback
|
|
300
|
+
* @param {String} error Error message, if any.
|
|
301
|
+
* @param {module:model/AppsControllerApiApp} data The data returned by the service call.
|
|
302
|
+
* @param {String} response The complete HTTP response.
|
|
303
|
+
*/
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* Disable the app.
|
|
307
|
+
* @param {String} uid The ID of app
|
|
308
|
+
* @param {String} tenant
|
|
309
|
+
* @param {module:api/AppsApi~disableAppCallback} callback The callback function, accepting three arguments: error, data, response
|
|
310
|
+
* data is of type: {@link module:model/AppsControllerApiApp}
|
|
311
|
+
*/
|
|
312
|
+
}, {
|
|
313
|
+
key: "disableApp",
|
|
314
|
+
value: function disableApp(uid, tenant, callback) {
|
|
315
|
+
var postBody = null;
|
|
316
|
+
// verify the required parameter 'uid' is set
|
|
317
|
+
if (uid === undefined || uid === null) {
|
|
318
|
+
throw new Error("Missing the required parameter 'uid' when calling disableApp");
|
|
319
|
+
}
|
|
320
|
+
// verify the required parameter 'tenant' is set
|
|
321
|
+
if (tenant === undefined || tenant === null) {
|
|
322
|
+
throw new Error("Missing the required parameter 'tenant' when calling disableApp");
|
|
323
|
+
}
|
|
324
|
+
var pathParams = {
|
|
325
|
+
'uid': uid,
|
|
326
|
+
'tenant': tenant
|
|
327
|
+
};
|
|
328
|
+
var queryParams = {};
|
|
329
|
+
var headerParams = {};
|
|
330
|
+
var formParams = {};
|
|
331
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
332
|
+
var contentTypes = [];
|
|
333
|
+
var accepts = ['application/json'];
|
|
334
|
+
var returnType = _AppsControllerApiApp["default"];
|
|
335
|
+
return this.apiClient.callApi('/api/v1/{tenant}/apps/{uid}/disable', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
/**
|
|
339
|
+
* Callback function to receive the result of the dispatchApp operation.
|
|
340
|
+
* @callback module:api/AppsApi~dispatchAppCallback
|
|
341
|
+
* @param {String} error Error message, if any.
|
|
342
|
+
* @param {module:model/AppResponse} data The data returned by the service call.
|
|
343
|
+
* @param {String} response The complete HTTP response.
|
|
344
|
+
*/
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* Dispatch for a given app.
|
|
348
|
+
* @param {String} id The ID of the app.
|
|
349
|
+
* @param {String} dispatch The ID to dispatch
|
|
350
|
+
* @param {String} tenant
|
|
351
|
+
* @param {Object} opts Optional parameters
|
|
352
|
+
* @param {module:model/HttpParameters} [parameters]
|
|
353
|
+
* @param {module:api/AppsApi~dispatchAppCallback} callback The callback function, accepting three arguments: error, data, response
|
|
354
|
+
* data is of type: {@link module:model/AppResponse}
|
|
355
|
+
*/
|
|
356
|
+
}, {
|
|
357
|
+
key: "dispatchApp",
|
|
358
|
+
value: function dispatchApp(id, dispatch, tenant, opts, callback) {
|
|
359
|
+
opts = opts || {};
|
|
360
|
+
var postBody = null;
|
|
361
|
+
// verify the required parameter 'id' is set
|
|
362
|
+
if (id === undefined || id === null) {
|
|
363
|
+
throw new Error("Missing the required parameter 'id' when calling dispatchApp");
|
|
364
|
+
}
|
|
365
|
+
// verify the required parameter 'dispatch' is set
|
|
366
|
+
if (dispatch === undefined || dispatch === null) {
|
|
367
|
+
throw new Error("Missing the required parameter 'dispatch' when calling dispatchApp");
|
|
368
|
+
}
|
|
369
|
+
// verify the required parameter 'tenant' is set
|
|
370
|
+
if (tenant === undefined || tenant === null) {
|
|
371
|
+
throw new Error("Missing the required parameter 'tenant' when calling dispatchApp");
|
|
372
|
+
}
|
|
373
|
+
var pathParams = {
|
|
374
|
+
'id': id,
|
|
375
|
+
'dispatch': dispatch,
|
|
376
|
+
'tenant': tenant
|
|
377
|
+
};
|
|
378
|
+
var queryParams = {};
|
|
379
|
+
var headerParams = {};
|
|
380
|
+
var formParams = {
|
|
381
|
+
'parameters': opts['parameters']
|
|
382
|
+
};
|
|
383
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
384
|
+
var contentTypes = ['multipart/form-data'];
|
|
385
|
+
var accepts = ['application/json'];
|
|
386
|
+
var returnType = _AppResponse["default"];
|
|
387
|
+
return this.apiClient.callApi('/api/v1/{tenant}/apps/view/{id}/dispatch/{dispatch}', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
/**
|
|
391
|
+
* Callback function to receive the result of the downloadFileFromAppExecution operation.
|
|
392
|
+
* @callback module:api/AppsApi~downloadFileFromAppExecutionCallback
|
|
393
|
+
* @param {String} error Error message, if any.
|
|
394
|
+
* @param {File} data The data returned by the service call.
|
|
395
|
+
* @param {String} response The complete HTTP response.
|
|
396
|
+
*/
|
|
397
|
+
|
|
398
|
+
/**
|
|
399
|
+
* Download file from an app execution
|
|
400
|
+
* @param {String} id The ID of the app.
|
|
401
|
+
* @param {String} path The internal storage uri
|
|
402
|
+
* @param {String} tenant
|
|
403
|
+
* @param {module:api/AppsApi~downloadFileFromAppExecutionCallback} callback The callback function, accepting three arguments: error, data, response
|
|
404
|
+
* data is of type: {@link File}
|
|
405
|
+
*/
|
|
406
|
+
}, {
|
|
407
|
+
key: "downloadFileFromAppExecution",
|
|
408
|
+
value: function downloadFileFromAppExecution(id, path, tenant, callback) {
|
|
409
|
+
var postBody = null;
|
|
410
|
+
// verify the required parameter 'id' is set
|
|
411
|
+
if (id === undefined || id === null) {
|
|
412
|
+
throw new Error("Missing the required parameter 'id' when calling downloadFileFromAppExecution");
|
|
413
|
+
}
|
|
414
|
+
// verify the required parameter 'path' is set
|
|
415
|
+
if (path === undefined || path === null) {
|
|
416
|
+
throw new Error("Missing the required parameter 'path' when calling downloadFileFromAppExecution");
|
|
417
|
+
}
|
|
418
|
+
// verify the required parameter 'tenant' is set
|
|
419
|
+
if (tenant === undefined || tenant === null) {
|
|
420
|
+
throw new Error("Missing the required parameter 'tenant' when calling downloadFileFromAppExecution");
|
|
421
|
+
}
|
|
422
|
+
var pathParams = {
|
|
423
|
+
'id': id,
|
|
424
|
+
'tenant': tenant
|
|
425
|
+
};
|
|
426
|
+
var queryParams = {
|
|
427
|
+
'path': path
|
|
428
|
+
};
|
|
429
|
+
var headerParams = {};
|
|
430
|
+
var formParams = {};
|
|
431
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
432
|
+
var contentTypes = [];
|
|
433
|
+
var accepts = ['application/json'];
|
|
434
|
+
var returnType = File;
|
|
435
|
+
return this.apiClient.callApi('/api/v1/{tenant}/apps/view/{id}/file/download', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* Callback function to receive the result of the enableApp operation.
|
|
440
|
+
* @callback module:api/AppsApi~enableAppCallback
|
|
441
|
+
* @param {String} error Error message, if any.
|
|
442
|
+
* @param {module:model/AppsControllerApiApp} data The data returned by the service call.
|
|
443
|
+
* @param {String} response The complete HTTP response.
|
|
444
|
+
*/
|
|
445
|
+
|
|
446
|
+
/**
|
|
447
|
+
* Enable the app.
|
|
448
|
+
* @param {String} uid The ID of app
|
|
449
|
+
* @param {String} tenant
|
|
450
|
+
* @param {module:api/AppsApi~enableAppCallback} callback The callback function, accepting three arguments: error, data, response
|
|
451
|
+
* data is of type: {@link module:model/AppsControllerApiApp}
|
|
452
|
+
*/
|
|
453
|
+
}, {
|
|
454
|
+
key: "enableApp",
|
|
455
|
+
value: function enableApp(uid, tenant, callback) {
|
|
456
|
+
var postBody = null;
|
|
457
|
+
// verify the required parameter 'uid' is set
|
|
458
|
+
if (uid === undefined || uid === null) {
|
|
459
|
+
throw new Error("Missing the required parameter 'uid' when calling enableApp");
|
|
460
|
+
}
|
|
461
|
+
// verify the required parameter 'tenant' is set
|
|
462
|
+
if (tenant === undefined || tenant === null) {
|
|
463
|
+
throw new Error("Missing the required parameter 'tenant' when calling enableApp");
|
|
464
|
+
}
|
|
465
|
+
var pathParams = {
|
|
466
|
+
'uid': uid,
|
|
467
|
+
'tenant': tenant
|
|
468
|
+
};
|
|
469
|
+
var queryParams = {};
|
|
470
|
+
var headerParams = {};
|
|
471
|
+
var formParams = {};
|
|
472
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
473
|
+
var contentTypes = [];
|
|
474
|
+
var accepts = ['application/json'];
|
|
475
|
+
var returnType = _AppsControllerApiApp["default"];
|
|
476
|
+
return this.apiClient.callApi('/api/v1/{tenant}/apps/{uid}/enable', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
/**
|
|
480
|
+
* Callback function to receive the result of the getApp operation.
|
|
481
|
+
* @callback module:api/AppsApi~getAppCallback
|
|
482
|
+
* @param {String} error Error message, if any.
|
|
483
|
+
* @param {module:model/AppsControllerApiAppSource} data The data returned by the service call.
|
|
484
|
+
* @param {String} response The complete HTTP response.
|
|
485
|
+
*/
|
|
486
|
+
|
|
487
|
+
/**
|
|
488
|
+
* Retrieve an app
|
|
489
|
+
* @param {String} uid The ID of the app
|
|
490
|
+
* @param {String} tenant
|
|
491
|
+
* @param {module:api/AppsApi~getAppCallback} callback The callback function, accepting three arguments: error, data, response
|
|
492
|
+
* data is of type: {@link module:model/AppsControllerApiAppSource}
|
|
493
|
+
*/
|
|
494
|
+
}, {
|
|
495
|
+
key: "getApp",
|
|
496
|
+
value: function getApp(uid, tenant, callback) {
|
|
497
|
+
var postBody = null;
|
|
498
|
+
// verify the required parameter 'uid' is set
|
|
499
|
+
if (uid === undefined || uid === null) {
|
|
500
|
+
throw new Error("Missing the required parameter 'uid' when calling getApp");
|
|
501
|
+
}
|
|
502
|
+
// verify the required parameter 'tenant' is set
|
|
503
|
+
if (tenant === undefined || tenant === null) {
|
|
504
|
+
throw new Error("Missing the required parameter 'tenant' when calling getApp");
|
|
505
|
+
}
|
|
506
|
+
var pathParams = {
|
|
507
|
+
'uid': uid,
|
|
508
|
+
'tenant': tenant
|
|
509
|
+
};
|
|
510
|
+
var queryParams = {};
|
|
511
|
+
var headerParams = {};
|
|
512
|
+
var formParams = {};
|
|
513
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
514
|
+
var contentTypes = [];
|
|
515
|
+
var accepts = ['application/json'];
|
|
516
|
+
var returnType = _AppsControllerApiAppSource["default"];
|
|
517
|
+
return this.apiClient.callApi('/api/v1/{tenant}/apps/{uid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
/**
|
|
521
|
+
* Callback function to receive the result of the getFileMetaFromAppExecution operation.
|
|
522
|
+
* @callback module:api/AppsApi~getFileMetaFromAppExecutionCallback
|
|
523
|
+
* @param {String} error Error message, if any.
|
|
524
|
+
* @param {module:model/FileMetas} data The data returned by the service call.
|
|
525
|
+
* @param {String} response The complete HTTP response.
|
|
526
|
+
*/
|
|
527
|
+
|
|
528
|
+
/**
|
|
529
|
+
* Get file meta information from an app execution
|
|
530
|
+
* @param {String} id The ID of the app.
|
|
531
|
+
* @param {String} path The internal storage uri
|
|
532
|
+
* @param {String} tenant
|
|
533
|
+
* @param {module:api/AppsApi~getFileMetaFromAppExecutionCallback} callback The callback function, accepting three arguments: error, data, response
|
|
534
|
+
* data is of type: {@link module:model/FileMetas}
|
|
535
|
+
*/
|
|
536
|
+
}, {
|
|
537
|
+
key: "getFileMetaFromAppExecution",
|
|
538
|
+
value: function getFileMetaFromAppExecution(id, path, tenant, callback) {
|
|
539
|
+
var postBody = null;
|
|
540
|
+
// verify the required parameter 'id' is set
|
|
541
|
+
if (id === undefined || id === null) {
|
|
542
|
+
throw new Error("Missing the required parameter 'id' when calling getFileMetaFromAppExecution");
|
|
543
|
+
}
|
|
544
|
+
// verify the required parameter 'path' is set
|
|
545
|
+
if (path === undefined || path === null) {
|
|
546
|
+
throw new Error("Missing the required parameter 'path' when calling getFileMetaFromAppExecution");
|
|
547
|
+
}
|
|
548
|
+
// verify the required parameter 'tenant' is set
|
|
549
|
+
if (tenant === undefined || tenant === null) {
|
|
550
|
+
throw new Error("Missing the required parameter 'tenant' when calling getFileMetaFromAppExecution");
|
|
551
|
+
}
|
|
552
|
+
var pathParams = {
|
|
553
|
+
'id': id,
|
|
554
|
+
'tenant': tenant
|
|
555
|
+
};
|
|
556
|
+
var queryParams = {
|
|
557
|
+
'path': path
|
|
558
|
+
};
|
|
559
|
+
var headerParams = {};
|
|
560
|
+
var formParams = {};
|
|
561
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
562
|
+
var contentTypes = [];
|
|
563
|
+
var accepts = ['application/json'];
|
|
564
|
+
var returnType = _FileMetas["default"];
|
|
565
|
+
return this.apiClient.callApi('/api/v1/{tenant}/apps/view/{id}/file/meta', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
/**
|
|
569
|
+
* Callback function to receive the result of the getFilePreviewFromAppExecution operation.
|
|
570
|
+
* @callback module:api/AppsApi~getFilePreviewFromAppExecutionCallback
|
|
571
|
+
* @param {String} error Error message, if any.
|
|
572
|
+
* @param {Object} data The data returned by the service call.
|
|
573
|
+
* @param {String} response The complete HTTP response.
|
|
574
|
+
*/
|
|
575
|
+
|
|
576
|
+
/**
|
|
577
|
+
* Get file preview from an app execution
|
|
578
|
+
* @param {String} id The ID of the app.
|
|
579
|
+
* @param {String} path The internal storage uri
|
|
580
|
+
* @param {String} encoding The file encoding as Java charset name. Defaults to UTF-8
|
|
581
|
+
* @param {String} tenant
|
|
582
|
+
* @param {Object} opts Optional parameters
|
|
583
|
+
* @param {Number} [maxRows] The max row returns
|
|
584
|
+
* @param {module:api/AppsApi~getFilePreviewFromAppExecutionCallback} callback The callback function, accepting three arguments: error, data, response
|
|
585
|
+
* data is of type: {@link Object}
|
|
586
|
+
*/
|
|
587
|
+
}, {
|
|
588
|
+
key: "getFilePreviewFromAppExecution",
|
|
589
|
+
value: function getFilePreviewFromAppExecution(id, path, encoding, tenant, opts, callback) {
|
|
590
|
+
opts = opts || {};
|
|
591
|
+
var postBody = null;
|
|
592
|
+
// verify the required parameter 'id' is set
|
|
593
|
+
if (id === undefined || id === null) {
|
|
594
|
+
throw new Error("Missing the required parameter 'id' when calling getFilePreviewFromAppExecution");
|
|
595
|
+
}
|
|
596
|
+
// verify the required parameter 'path' is set
|
|
597
|
+
if (path === undefined || path === null) {
|
|
598
|
+
throw new Error("Missing the required parameter 'path' when calling getFilePreviewFromAppExecution");
|
|
599
|
+
}
|
|
600
|
+
// verify the required parameter 'encoding' is set
|
|
601
|
+
if (encoding === undefined || encoding === null) {
|
|
602
|
+
throw new Error("Missing the required parameter 'encoding' when calling getFilePreviewFromAppExecution");
|
|
603
|
+
}
|
|
604
|
+
// verify the required parameter 'tenant' is set
|
|
605
|
+
if (tenant === undefined || tenant === null) {
|
|
606
|
+
throw new Error("Missing the required parameter 'tenant' when calling getFilePreviewFromAppExecution");
|
|
607
|
+
}
|
|
608
|
+
var pathParams = {
|
|
609
|
+
'id': id,
|
|
610
|
+
'tenant': tenant
|
|
611
|
+
};
|
|
612
|
+
var queryParams = {
|
|
613
|
+
'path': path,
|
|
614
|
+
'maxRows': opts['maxRows'],
|
|
615
|
+
'encoding': encoding
|
|
616
|
+
};
|
|
617
|
+
var headerParams = {};
|
|
618
|
+
var formParams = {};
|
|
619
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
620
|
+
var contentTypes = [];
|
|
621
|
+
var accepts = ['application/json'];
|
|
622
|
+
var returnType = Object;
|
|
623
|
+
return this.apiClient.callApi('/api/v1/{tenant}/apps/view/{id}/file/preview', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
/**
|
|
627
|
+
* Callback function to receive the result of the getLogsFromAppExecution operation.
|
|
628
|
+
* @callback module:api/AppsApi~getLogsFromAppExecutionCallback
|
|
629
|
+
* @param {String} error Error message, if any.
|
|
630
|
+
* @param {File} data The data returned by the service call.
|
|
631
|
+
* @param {String} response The complete HTTP response.
|
|
632
|
+
*/
|
|
633
|
+
|
|
634
|
+
/**
|
|
635
|
+
* Download logs for an app execution
|
|
636
|
+
* @param {String} uid The ID of the app.
|
|
637
|
+
* @param {String} executionId The ID of the execution.
|
|
638
|
+
* @param {String} tenant
|
|
639
|
+
* @param {Object} opts Optional parameters
|
|
640
|
+
* @param {module:model/Level} [minLevel] The min log level filter
|
|
641
|
+
* @param {Array.<String>} [taskIds] The tasks' IDs
|
|
642
|
+
* @param {module:api/AppsApi~getLogsFromAppExecutionCallback} callback The callback function, accepting three arguments: error, data, response
|
|
643
|
+
* data is of type: {@link File}
|
|
644
|
+
*/
|
|
645
|
+
}, {
|
|
646
|
+
key: "getLogsFromAppExecution",
|
|
647
|
+
value: function getLogsFromAppExecution(uid, executionId, tenant, opts, callback) {
|
|
648
|
+
opts = opts || {};
|
|
649
|
+
var postBody = null;
|
|
650
|
+
// verify the required parameter 'uid' is set
|
|
651
|
+
if (uid === undefined || uid === null) {
|
|
652
|
+
throw new Error("Missing the required parameter 'uid' when calling getLogsFromAppExecution");
|
|
653
|
+
}
|
|
654
|
+
// verify the required parameter 'executionId' is set
|
|
655
|
+
if (executionId === undefined || executionId === null) {
|
|
656
|
+
throw new Error("Missing the required parameter 'executionId' when calling getLogsFromAppExecution");
|
|
657
|
+
}
|
|
658
|
+
// verify the required parameter 'tenant' is set
|
|
659
|
+
if (tenant === undefined || tenant === null) {
|
|
660
|
+
throw new Error("Missing the required parameter 'tenant' when calling getLogsFromAppExecution");
|
|
661
|
+
}
|
|
662
|
+
var pathParams = {
|
|
663
|
+
'uid': uid,
|
|
664
|
+
'tenant': tenant
|
|
665
|
+
};
|
|
666
|
+
var queryParams = {
|
|
667
|
+
'executionId': executionId,
|
|
668
|
+
'minLevel': opts['minLevel'],
|
|
669
|
+
'taskIds': this.apiClient.buildCollectionParam(opts['taskIds'], 'csv')
|
|
670
|
+
};
|
|
671
|
+
var headerParams = {};
|
|
672
|
+
var formParams = {};
|
|
673
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
674
|
+
var contentTypes = [];
|
|
675
|
+
var accepts = ['application/octet-stream'];
|
|
676
|
+
var returnType = File;
|
|
677
|
+
return this.apiClient.callApi('/api/v1/{tenant}/apps/view/{uid}/logs/download', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
/**
|
|
681
|
+
* Callback function to receive the result of the getStreamEventsFromApp operation.
|
|
682
|
+
* @callback module:api/AppsApi~getStreamEventsFromAppCallback
|
|
683
|
+
* @param {String} error Error message, if any.
|
|
684
|
+
* @param {module:model/EventAppResponse} data The data returned by the service call.
|
|
685
|
+
* @param {String} response The complete HTTP response.
|
|
686
|
+
*/
|
|
687
|
+
|
|
688
|
+
/**
|
|
689
|
+
* Get an event stream from a given app.
|
|
690
|
+
* @param {String} id The ID of the app.
|
|
691
|
+
* @param {String} stream The ID of the stream to get
|
|
692
|
+
* @param {Object.<String, module:model/HttpParameters>} parameters
|
|
693
|
+
* @param {String} tenant
|
|
694
|
+
* @param {module:api/AppsApi~getStreamEventsFromAppCallback} callback The callback function, accepting three arguments: error, data, response
|
|
695
|
+
* data is of type: {@link module:model/EventAppResponse}
|
|
696
|
+
*/
|
|
697
|
+
}, {
|
|
698
|
+
key: "getStreamEventsFromApp",
|
|
699
|
+
value: function getStreamEventsFromApp(id, stream, parameters, tenant, callback) {
|
|
700
|
+
var postBody = null;
|
|
701
|
+
// verify the required parameter 'id' is set
|
|
702
|
+
if (id === undefined || id === null) {
|
|
703
|
+
throw new Error("Missing the required parameter 'id' when calling getStreamEventsFromApp");
|
|
704
|
+
}
|
|
705
|
+
// verify the required parameter 'stream' is set
|
|
706
|
+
if (stream === undefined || stream === null) {
|
|
707
|
+
throw new Error("Missing the required parameter 'stream' when calling getStreamEventsFromApp");
|
|
708
|
+
}
|
|
709
|
+
// verify the required parameter 'parameters' is set
|
|
710
|
+
if (parameters === undefined || parameters === null) {
|
|
711
|
+
throw new Error("Missing the required parameter 'parameters' when calling getStreamEventsFromApp");
|
|
712
|
+
}
|
|
713
|
+
// verify the required parameter 'tenant' is set
|
|
714
|
+
if (tenant === undefined || tenant === null) {
|
|
715
|
+
throw new Error("Missing the required parameter 'tenant' when calling getStreamEventsFromApp");
|
|
716
|
+
}
|
|
717
|
+
var pathParams = {
|
|
718
|
+
'id': id,
|
|
719
|
+
'stream': stream,
|
|
720
|
+
'tenant': tenant
|
|
721
|
+
};
|
|
722
|
+
var queryParams = {
|
|
723
|
+
'parameters': parameters
|
|
724
|
+
};
|
|
725
|
+
var headerParams = {};
|
|
726
|
+
var formParams = {};
|
|
727
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
728
|
+
var contentTypes = [];
|
|
729
|
+
var accepts = ['text/event-stream'];
|
|
730
|
+
var returnType = _EventAppResponse["default"];
|
|
731
|
+
return this.apiClient.callApi('/api/v1/{tenant}/apps/view/{id}/streams/{stream}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
/**
|
|
735
|
+
* Callback function to receive the result of the listTags operation.
|
|
736
|
+
* @callback module:api/AppsApi~listTagsCallback
|
|
737
|
+
* @param {String} error Error message, if any.
|
|
738
|
+
* @param {module:model/AppsControllerApiAppTags} data The data returned by the service call.
|
|
739
|
+
* @param {String} response The complete HTTP response.
|
|
740
|
+
*/
|
|
741
|
+
|
|
742
|
+
/**
|
|
743
|
+
* Get all the app tags
|
|
744
|
+
* @param {String} tenant
|
|
745
|
+
* @param {module:api/AppsApi~listTagsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
746
|
+
* data is of type: {@link module:model/AppsControllerApiAppTags}
|
|
747
|
+
*/
|
|
748
|
+
}, {
|
|
749
|
+
key: "listTags",
|
|
750
|
+
value: function listTags(tenant, callback) {
|
|
751
|
+
var postBody = null;
|
|
752
|
+
// verify the required parameter 'tenant' is set
|
|
753
|
+
if (tenant === undefined || tenant === null) {
|
|
754
|
+
throw new Error("Missing the required parameter 'tenant' when calling listTags");
|
|
755
|
+
}
|
|
756
|
+
var pathParams = {
|
|
757
|
+
'tenant': tenant
|
|
758
|
+
};
|
|
759
|
+
var queryParams = {};
|
|
760
|
+
var headerParams = {};
|
|
761
|
+
var formParams = {};
|
|
762
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
763
|
+
var contentTypes = [];
|
|
764
|
+
var accepts = ['application/json'];
|
|
765
|
+
var returnType = _AppsControllerApiAppTags["default"];
|
|
766
|
+
return this.apiClient.callApi('/api/v1/{tenant}/apps/tags', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
/**
|
|
770
|
+
* Callback function to receive the result of the openApp operation.
|
|
771
|
+
* @callback module:api/AppsApi~openAppCallback
|
|
772
|
+
* @param {String} error Error message, if any.
|
|
773
|
+
* @param {module:model/AppResponse} data The data returned by the service call.
|
|
774
|
+
* @param {String} response The complete HTTP response.
|
|
775
|
+
*/
|
|
776
|
+
|
|
777
|
+
/**
|
|
778
|
+
* Open an app
|
|
779
|
+
* @param {String} uid The ID of the app
|
|
780
|
+
* @param {Object.<String, module:model/HttpParameters>} parameters
|
|
781
|
+
* @param {String} tenant
|
|
782
|
+
* @param {module:api/AppsApi~openAppCallback} callback The callback function, accepting three arguments: error, data, response
|
|
783
|
+
* data is of type: {@link module:model/AppResponse}
|
|
784
|
+
*/
|
|
785
|
+
}, {
|
|
786
|
+
key: "openApp",
|
|
787
|
+
value: function openApp(uid, parameters, tenant, callback) {
|
|
788
|
+
var postBody = null;
|
|
789
|
+
// verify the required parameter 'uid' is set
|
|
790
|
+
if (uid === undefined || uid === null) {
|
|
791
|
+
throw new Error("Missing the required parameter 'uid' when calling openApp");
|
|
792
|
+
}
|
|
793
|
+
// verify the required parameter 'parameters' is set
|
|
794
|
+
if (parameters === undefined || parameters === null) {
|
|
795
|
+
throw new Error("Missing the required parameter 'parameters' when calling openApp");
|
|
796
|
+
}
|
|
797
|
+
// verify the required parameter 'tenant' is set
|
|
798
|
+
if (tenant === undefined || tenant === null) {
|
|
799
|
+
throw new Error("Missing the required parameter 'tenant' when calling openApp");
|
|
800
|
+
}
|
|
801
|
+
var pathParams = {
|
|
802
|
+
'uid': uid,
|
|
803
|
+
'tenant': tenant
|
|
804
|
+
};
|
|
805
|
+
var queryParams = {
|
|
806
|
+
'parameters': parameters
|
|
807
|
+
};
|
|
808
|
+
var headerParams = {};
|
|
809
|
+
var formParams = {};
|
|
810
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
811
|
+
var contentTypes = [];
|
|
812
|
+
var accepts = ['application/json'];
|
|
813
|
+
var returnType = _AppResponse["default"];
|
|
814
|
+
return this.apiClient.callApi('/api/v1/{tenant}/apps/view/{uid}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
/**
|
|
818
|
+
* Callback function to receive the result of the previewApp operation.
|
|
819
|
+
* @callback module:api/AppsApi~previewAppCallback
|
|
820
|
+
* @param {String} error Error message, if any.
|
|
821
|
+
* @param {module:model/AppResponse} data The data returned by the service call.
|
|
822
|
+
* @param {String} response The complete HTTP response.
|
|
823
|
+
*/
|
|
824
|
+
|
|
825
|
+
/**
|
|
826
|
+
* Open the app for the given source
|
|
827
|
+
* @param {String} tenant
|
|
828
|
+
* @param {module:model/PreviewAppRequest} previewAppRequest The app
|
|
829
|
+
* @param {module:api/AppsApi~previewAppCallback} callback The callback function, accepting three arguments: error, data, response
|
|
830
|
+
* data is of type: {@link module:model/AppResponse}
|
|
831
|
+
*/
|
|
832
|
+
}, {
|
|
833
|
+
key: "previewApp",
|
|
834
|
+
value: function previewApp(tenant, previewAppRequest, callback) {
|
|
835
|
+
var postBody = previewAppRequest;
|
|
836
|
+
// verify the required parameter 'tenant' is set
|
|
837
|
+
if (tenant === undefined || tenant === null) {
|
|
838
|
+
throw new Error("Missing the required parameter 'tenant' when calling previewApp");
|
|
839
|
+
}
|
|
840
|
+
// verify the required parameter 'previewAppRequest' is set
|
|
841
|
+
if (previewAppRequest === undefined || previewAppRequest === null) {
|
|
842
|
+
throw new Error("Missing the required parameter 'previewAppRequest' when calling previewApp");
|
|
843
|
+
}
|
|
844
|
+
var pathParams = {
|
|
845
|
+
'tenant': tenant
|
|
846
|
+
};
|
|
847
|
+
var queryParams = {};
|
|
848
|
+
var headerParams = {};
|
|
849
|
+
var formParams = {};
|
|
850
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
851
|
+
var contentTypes = ['application/x-yaml'];
|
|
852
|
+
var accepts = ['application/json'];
|
|
853
|
+
var returnType = _AppResponse["default"];
|
|
854
|
+
return this.apiClient.callApi('/api/v1/{tenant}/apps/preview', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
/**
|
|
858
|
+
* Callback function to receive the result of the searchApps operation.
|
|
859
|
+
* @callback module:api/AppsApi~searchAppsCallback
|
|
860
|
+
* @param {String} error Error message, if any.
|
|
861
|
+
* @param {module:model/PagedResultsAppsControllerApiApp} data The data returned by the service call.
|
|
862
|
+
* @param {String} response The complete HTTP response.
|
|
863
|
+
*/
|
|
864
|
+
|
|
865
|
+
/**
|
|
866
|
+
* Search for apps
|
|
867
|
+
* @param {Number} page The current page
|
|
868
|
+
* @param {Number} size The current page size
|
|
869
|
+
* @param {String} tenant
|
|
870
|
+
* @param {Object} opts Optional parameters
|
|
871
|
+
* @param {Array.<String>} [sort] The sort of current page
|
|
872
|
+
* @param {Array.<String>} [tags] A tags filter
|
|
873
|
+
* @param {String} [q] A string filter
|
|
874
|
+
* @param {String} [namespace] A namespace filter prefix
|
|
875
|
+
* @param {String} [flowId] A flow id filter
|
|
876
|
+
* @param {module:api/AppsApi~searchAppsCallback} callback The callback function, accepting three arguments: error, data, response
|
|
877
|
+
* data is of type: {@link module:model/PagedResultsAppsControllerApiApp}
|
|
878
|
+
*/
|
|
879
|
+
}, {
|
|
880
|
+
key: "searchApps",
|
|
881
|
+
value: function searchApps(page, size, tenant, opts, callback) {
|
|
882
|
+
opts = opts || {};
|
|
883
|
+
var postBody = null;
|
|
884
|
+
// verify the required parameter 'page' is set
|
|
885
|
+
if (page === undefined || page === null) {
|
|
886
|
+
throw new Error("Missing the required parameter 'page' when calling searchApps");
|
|
887
|
+
}
|
|
888
|
+
// verify the required parameter 'size' is set
|
|
889
|
+
if (size === undefined || size === null) {
|
|
890
|
+
throw new Error("Missing the required parameter 'size' when calling searchApps");
|
|
891
|
+
}
|
|
892
|
+
// verify the required parameter 'tenant' is set
|
|
893
|
+
if (tenant === undefined || tenant === null) {
|
|
894
|
+
throw new Error("Missing the required parameter 'tenant' when calling searchApps");
|
|
895
|
+
}
|
|
896
|
+
var pathParams = {
|
|
897
|
+
'tenant': tenant
|
|
898
|
+
};
|
|
899
|
+
var queryParams = {
|
|
900
|
+
'page': page,
|
|
901
|
+
'size': size,
|
|
902
|
+
'sort': this.apiClient.buildCollectionParam(opts['sort'], 'csv'),
|
|
903
|
+
'tags': this.apiClient.buildCollectionParam(opts['tags'], 'csv'),
|
|
904
|
+
'q': opts['q'],
|
|
905
|
+
'namespace': opts['namespace'],
|
|
906
|
+
'flowId': opts['flowId']
|
|
907
|
+
};
|
|
908
|
+
var headerParams = {};
|
|
909
|
+
var formParams = {};
|
|
910
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
911
|
+
var contentTypes = [];
|
|
912
|
+
var accepts = ['application/json'];
|
|
913
|
+
var returnType = _PagedResultsAppsControllerApiApp["default"];
|
|
914
|
+
return this.apiClient.callApi('/api/v1/{tenant}/apps/search', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
/**
|
|
918
|
+
* Callback function to receive the result of the searchAppsFromCatalog operation.
|
|
919
|
+
* @callback module:api/AppsApi~searchAppsFromCatalogCallback
|
|
920
|
+
* @param {String} error Error message, if any.
|
|
921
|
+
* @param {module:model/PagedResultsAppsControllerApiAppCatalogItem} data The data returned by the service call.
|
|
922
|
+
* @param {String} response The complete HTTP response.
|
|
923
|
+
*/
|
|
924
|
+
|
|
925
|
+
/**
|
|
926
|
+
* Search for apps from catalog
|
|
927
|
+
* @param {Number} page The current page
|
|
928
|
+
* @param {Number} size The current page size
|
|
929
|
+
* @param {String} tenant
|
|
930
|
+
* @param {Object} opts Optional parameters
|
|
931
|
+
* @param {Array.<String>} [tags] Tags filter
|
|
932
|
+
* @param {String} [q] String filter
|
|
933
|
+
* @param {module:api/AppsApi~searchAppsFromCatalogCallback} callback The callback function, accepting three arguments: error, data, response
|
|
934
|
+
* data is of type: {@link module:model/PagedResultsAppsControllerApiAppCatalogItem}
|
|
935
|
+
*/
|
|
936
|
+
}, {
|
|
937
|
+
key: "searchAppsFromCatalog",
|
|
938
|
+
value: function searchAppsFromCatalog(page, size, tenant, opts, callback) {
|
|
939
|
+
opts = opts || {};
|
|
940
|
+
var postBody = null;
|
|
941
|
+
// verify the required parameter 'page' is set
|
|
942
|
+
if (page === undefined || page === null) {
|
|
943
|
+
throw new Error("Missing the required parameter 'page' when calling searchAppsFromCatalog");
|
|
944
|
+
}
|
|
945
|
+
// verify the required parameter 'size' is set
|
|
946
|
+
if (size === undefined || size === null) {
|
|
947
|
+
throw new Error("Missing the required parameter 'size' when calling searchAppsFromCatalog");
|
|
948
|
+
}
|
|
949
|
+
// verify the required parameter 'tenant' is set
|
|
950
|
+
if (tenant === undefined || tenant === null) {
|
|
951
|
+
throw new Error("Missing the required parameter 'tenant' when calling searchAppsFromCatalog");
|
|
952
|
+
}
|
|
953
|
+
var pathParams = {
|
|
954
|
+
'tenant': tenant
|
|
955
|
+
};
|
|
956
|
+
var queryParams = {
|
|
957
|
+
'page': page,
|
|
958
|
+
'size': size,
|
|
959
|
+
'tags': this.apiClient.buildCollectionParam(opts['tags'], 'csv'),
|
|
960
|
+
'q': opts['q']
|
|
961
|
+
};
|
|
962
|
+
var headerParams = {};
|
|
963
|
+
var formParams = {};
|
|
964
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
965
|
+
var contentTypes = [];
|
|
966
|
+
var accepts = ['application/json'];
|
|
967
|
+
var returnType = _PagedResultsAppsControllerApiAppCatalogItem["default"];
|
|
968
|
+
return this.apiClient.callApi('/api/v1/{tenant}/apps/catalog', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
/**
|
|
972
|
+
* Callback function to receive the result of the updateApp operation.
|
|
973
|
+
* @callback module:api/AppsApi~updateAppCallback
|
|
974
|
+
* @param {String} error Error message, if any.
|
|
975
|
+
* @param {module:model/AppsControllerApiAppSource} data The data returned by the service call.
|
|
976
|
+
* @param {String} response The complete HTTP response.
|
|
977
|
+
*/
|
|
978
|
+
|
|
979
|
+
/**
|
|
980
|
+
* Update an existing app
|
|
981
|
+
* @param {String} uid The ID of the app
|
|
982
|
+
* @param {String} tenant
|
|
983
|
+
* @param {String} body The app
|
|
984
|
+
* @param {module:api/AppsApi~updateAppCallback} callback The callback function, accepting three arguments: error, data, response
|
|
985
|
+
* data is of type: {@link module:model/AppsControllerApiAppSource}
|
|
986
|
+
*/
|
|
987
|
+
}, {
|
|
988
|
+
key: "updateApp",
|
|
989
|
+
value: function updateApp(uid, tenant, body, callback) {
|
|
990
|
+
var postBody = body;
|
|
991
|
+
// verify the required parameter 'uid' is set
|
|
992
|
+
if (uid === undefined || uid === null) {
|
|
993
|
+
throw new Error("Missing the required parameter 'uid' when calling updateApp");
|
|
994
|
+
}
|
|
995
|
+
// verify the required parameter 'tenant' is set
|
|
996
|
+
if (tenant === undefined || tenant === null) {
|
|
997
|
+
throw new Error("Missing the required parameter 'tenant' when calling updateApp");
|
|
998
|
+
}
|
|
999
|
+
// verify the required parameter 'body' is set
|
|
1000
|
+
if (body === undefined || body === null) {
|
|
1001
|
+
throw new Error("Missing the required parameter 'body' when calling updateApp");
|
|
1002
|
+
}
|
|
1003
|
+
var pathParams = {
|
|
1004
|
+
'uid': uid,
|
|
1005
|
+
'tenant': tenant
|
|
1006
|
+
};
|
|
1007
|
+
var queryParams = {};
|
|
1008
|
+
var headerParams = {};
|
|
1009
|
+
var formParams = {};
|
|
1010
|
+
var authNames = ['basicAuth', 'bearerAuth'];
|
|
1011
|
+
var contentTypes = ['application/x-yaml'];
|
|
1012
|
+
var accepts = ['application/json'];
|
|
1013
|
+
var returnType = _AppsControllerApiAppSource["default"];
|
|
1014
|
+
return this.apiClient.callApi('/api/v1/{tenant}/apps/{uid}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null, callback);
|
|
1015
|
+
}
|
|
1016
|
+
}]);
|
|
1017
|
+
}();
|