/** * Copyright (c) 2020-present, Goldman Sachs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import { type ExternalFormatData, type PackageableElementReference } from '@finos/legend-graph'; import type { StringValuePattern } from '../../graph/metamodel/pure/model/data/contentPattern/STO_ServiceStore_StringValuePattern.js'; import type { ServiceRequestPattern } from '../../graph/metamodel/pure/model/data/STO_ServiceStore_ServiceRequestPattern.js'; import type { ServiceResponseDefinition } from '../../graph/metamodel/pure/model/data/STO_ServiceStore_ServiceResponseDefinition.js'; import type { ServiceStoreEmbeddedData } from '../../graph/metamodel/pure/model/data/STO_ServiceStore_ServiceStoreEmbeddedData.js'; import type { ServiceStubMapping } from '../../graph/metamodel/pure/model/data/STO_ServiceStore_ServiceStubMapping.js'; import type { ServiceStoreConnection } from '../../graph/metamodel/pure/model/packageableElements/store/serviceStore/connection/STO_ServiceStore_ServiceStoreConnection.js'; import { HTTP_METHOD } from '../../graph/metamodel/pure/model/packageableElements/store/serviceStore/model/STO_ServiceStore_ServiceStoreService.js'; import type { ServiceStore } from '../../graph/metamodel/pure/model/packageableElements/store/serviceStore/model/STO_ServiceStore_ServiceStore.js'; export declare const service_store_connection_setStore: (con: ServiceStoreConnection, val: PackageableElementReference) => void; export declare const serviceStore_connection_setBaseUrl: (conn: ServiceStoreConnection, baseUrl: string) => void; export declare const serviceStore_embeddedData_addServiceStubMapping: (serviceStoreEmbeddedData: ServiceStoreEmbeddedData, val: ServiceStubMapping) => void; export declare const serviceStore_embeddedData_deleteServiceStubMapping: (serviceStoreEmbeddedData: ServiceStoreEmbeddedData, val: ServiceStubMapping) => void; export declare const serviceStore_serviceResponseDefinition_setBody: (serviceResponseDefinition: ServiceResponseDefinition, value: ExternalFormatData) => void; export declare const serviceStore_serviceRequestPattern_setUrl: (serviceResquestPattern: ServiceRequestPattern, value: string | undefined) => void; export declare const serviceStore_serviceRequestPattern_setUrlPath: (serviceResquestPattern: ServiceRequestPattern, value: string | undefined) => void; export declare const serviceStore_serviceRequestPattern_setMethod: (serviceResquestPattern: ServiceRequestPattern, value: HTTP_METHOD) => void; export declare const serviceStore_serviceRequestPattern_addBodyPatterns: (serviceRequestPattern: ServiceRequestPattern, val: StringValuePattern) => void; export declare const serviceStore_serviceRequestPattern_deleteBodyPatterns: (serviceRequestPattern: ServiceRequestPattern, val: StringValuePattern) => void; export declare const serviceStore_serviceRequestPattern_setHeaderParams: (serviceResquestPattern: ServiceRequestPattern, value: Map) => void; export declare const serviceStore_serviceRequestPattern_setQueryParams: (serviceResquestPattern: ServiceRequestPattern, value: Map) => void; export declare const serviceStore_serviceStubMapping_setServiceRequestPattern: (serviceStubMapping: ServiceStubMapping, value: ServiceRequestPattern) => void; export declare const serviceStore_serviceStubMapping_setServiceResponseDefinition: (serviceStubMapping: ServiceStubMapping, value: ServiceResponseDefinition) => void; export declare const serviceStore_stringValuePattern_setExpectedValue: (stringValuePattern: StringValuePattern, value: string) => void; export declare const serviceStore_serviceRequestPattern_addQueryParams: (serviceRequestPattern: ServiceRequestPattern, key: string, val: StringValuePattern) => void; export declare const serviceStore_serviceRequestPattern_deleteQueryParams: (serviceRequestPattern: ServiceRequestPattern, key: string) => void; export declare const serviceStore_serviceRequestPattern_addHeaderParams: (serviceRequestPattern: ServiceRequestPattern, key: string, val: StringValuePattern) => void; export declare const serviceStore_serviceRequestPattern_deleteHeaderParams: (serviceRequestPattern: ServiceRequestPattern, key: string) => void; export declare const serviceStore_serviceRequestPattern_updateHeaderParamValue: (serviceRequestpattern: ServiceRequestPattern, key: string, value: StringValuePattern) => void; export declare const serviceStore_serviceRequestPattern_updateHeaderParameterName: (serviceRequestPattern: ServiceRequestPattern, oldKey: string, newKey: string) => void; export declare const serviceStore_serviceRequestPattern_updateQueryParamValue: (serviceRequestpattern: ServiceRequestPattern, key: string, value: StringValuePattern) => void; export declare const serviceStore_serviceRequestPattern_updateQueryParameterName: (serviceRequestPattern: ServiceRequestPattern, oldKey: string, newKey: string) => void; export declare const serviceStore_serviceRequestPattern_updateBodyPattern: (serviceRequestPattern: ServiceRequestPattern, index: number, newValue: StringValuePattern) => void; //# sourceMappingURL=STO_ServiceStore_GraphModifierHelper.d.ts.map