/**
 * OpenAPI spec version: 1.0
 *
 * NOTE: This class is auto generated by the swagger code generator program.
 * https://github.com/swagger-api/swagger-codegen.git
 * Do not edit the class manually.
 */
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http';
import { Observable } from 'rxjs';
import { OcTokenService } from './token.service';
import { IntegrationEvent } from '../model/integrationEvent';
import { ListIntegrationEvent } from '../model/listIntegrationEvent';
import { OrderShipMethodSelection } from '../model/orderShipMethodSelection';
import { OrderWorksheet } from '../model/orderWorksheet';
import { Configuration } from '../configuration';
export declare class OcIntegrationEventService {
    protected httpClient: HttpClient;
    protected ocTokenService: OcTokenService;
    protected basePath: string;
    defaultHeaders: HttpHeaders;
    configuration: Configuration;
    private impersonating;
    constructor(httpClient: HttpClient, ocTokenService: OcTokenService, basePath: string, configuration: Configuration);
    /**
     * @description enable impersonation by calling this prior to any of the other methods in this service
     *
     */
    As(): this;
    /**
     *
     *
     * @param integrationEventID ID of the integration event.
     * @param options.observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param options.reportProgress flag to report request and response progress.
     */
    Delete(integrationEventID: string, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<any>;
    Delete(integrationEventID: string, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<any>>;
    Delete(integrationEventID: string, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<any>>;
    /**
     *
     *
     * @param direction Direction of the order, from the current user&#39;s perspective. Possible values: incoming, outgoing.
     * @param orderID ID of the order.
     * @param options.observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param options.reportProgress flag to report request and response progress.
     */
    Calculate<OrderXp = any, UserXp = any, AddressXp = any, LineItemXp = any, ProductXp = any, LineItemVariantXp = any, ShipEstimateResponseXp = any, ShipEstimateXp = any, ShipMethodXp = any, OrderCalculateResponseXp = any, OrderSubmitResponseXp = any>(direction: string, orderID: string, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<OrderWorksheet<OrderXp, UserXp, AddressXp, LineItemXp, ProductXp, LineItemVariantXp, ShipEstimateResponseXp, ShipEstimateXp, ShipMethodXp, OrderCalculateResponseXp, OrderSubmitResponseXp>>;
    Calculate<OrderXp = any, UserXp = any, AddressXp = any, LineItemXp = any, ProductXp = any, LineItemVariantXp = any, ShipEstimateResponseXp = any, ShipEstimateXp = any, ShipMethodXp = any, OrderCalculateResponseXp = any, OrderSubmitResponseXp = any>(direction: string, orderID: string, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<OrderWorksheet>>;
    Calculate<OrderXp = any, UserXp = any, AddressXp = any, LineItemXp = any, ProductXp = any, LineItemVariantXp = any, ShipEstimateResponseXp = any, ShipEstimateXp = any, ShipMethodXp = any, OrderCalculateResponseXp = any, OrderSubmitResponseXp = any>(direction: string, orderID: string, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<OrderWorksheet>>;
    /**
     *
     *
     * @param integrationEvent
     * @param options.observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param options.reportProgress flag to report request and response progress.
     */
    Create(integrationEvent: IntegrationEvent, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<IntegrationEvent>;
    Create(integrationEvent: IntegrationEvent, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<IntegrationEvent>>;
    Create(integrationEvent: IntegrationEvent, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<IntegrationEvent>>;
    /**
     *
     *
     * @param direction Direction of the order, from the current user&#39;s perspective. Possible values: incoming, outgoing.
     * @param orderID ID of the order.
     * @param options.observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param options.reportProgress flag to report request and response progress.
     */
    EstimateShipping<OrderXp = any, UserXp = any, AddressXp = any, LineItemXp = any, ProductXp = any, LineItemVariantXp = any, ShipEstimateResponseXp = any, ShipEstimateXp = any, ShipMethodXp = any, OrderCalculateResponseXp = any, OrderSubmitResponseXp = any>(direction: string, orderID: string, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<OrderWorksheet<OrderXp, UserXp, AddressXp, LineItemXp, ProductXp, LineItemVariantXp, ShipEstimateResponseXp, ShipEstimateXp, ShipMethodXp, OrderCalculateResponseXp, OrderSubmitResponseXp>>;
    EstimateShipping<OrderXp = any, UserXp = any, AddressXp = any, LineItemXp = any, ProductXp = any, LineItemVariantXp = any, ShipEstimateResponseXp = any, ShipEstimateXp = any, ShipMethodXp = any, OrderCalculateResponseXp = any, OrderSubmitResponseXp = any>(direction: string, orderID: string, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<OrderWorksheet>>;
    EstimateShipping<OrderXp = any, UserXp = any, AddressXp = any, LineItemXp = any, ProductXp = any, LineItemVariantXp = any, ShipEstimateResponseXp = any, ShipEstimateXp = any, ShipMethodXp = any, OrderCalculateResponseXp = any, OrderSubmitResponseXp = any>(direction: string, orderID: string, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<OrderWorksheet>>;
    /**
     *
     *
     * @param integrationEventID ID of the integration event.
     * @param options.observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param options.reportProgress flag to report request and response progress.
     */
    Get(integrationEventID: string, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<IntegrationEvent>;
    Get(integrationEventID: string, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<IntegrationEvent>>;
    Get(integrationEventID: string, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<IntegrationEvent>>;
    /**
     *
     *
     * @param direction Direction of the order, from the current user&#39;s perspective. Possible values: incoming, outgoing.
     * @param orderID ID of the order.
     * @param options.observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param options.reportProgress flag to report request and response progress.
     */
    GetWorksheet<OrderXp = any, UserXp = any, AddressXp = any, LineItemXp = any, ProductXp = any, LineItemVariantXp = any, ShipEstimateResponseXp = any, ShipEstimateXp = any, ShipMethodXp = any, OrderCalculateResponseXp = any, OrderSubmitResponseXp = any>(direction: string, orderID: string, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<OrderWorksheet<OrderXp, UserXp, AddressXp, LineItemXp, ProductXp, LineItemVariantXp, ShipEstimateResponseXp, ShipEstimateXp, ShipMethodXp, OrderCalculateResponseXp, OrderSubmitResponseXp>>;
    GetWorksheet<OrderXp = any, UserXp = any, AddressXp = any, LineItemXp = any, ProductXp = any, LineItemVariantXp = any, ShipEstimateResponseXp = any, ShipEstimateXp = any, ShipMethodXp = any, OrderCalculateResponseXp = any, OrderSubmitResponseXp = any>(direction: string, orderID: string, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<OrderWorksheet>>;
    GetWorksheet<OrderXp = any, UserXp = any, AddressXp = any, LineItemXp = any, ProductXp = any, LineItemVariantXp = any, ShipEstimateResponseXp = any, ShipEstimateXp = any, ShipMethodXp = any, OrderCalculateResponseXp = any, OrderSubmitResponseXp = any>(direction: string, orderID: string, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<OrderWorksheet>>;
    /**
     *
     *
     * @param options.search Word or phrase to search for.
     * @param options.searchOn Comma-delimited list of fields to search on.
     * @param options.sortBy Comma-delimited list of fields to sort by.
     * @param options.page Page of results to return. Default: 1
     * @param options.pageSize Number of results to return per page. Default: 20, max: 100.
     * @param options.filters Any additional key/value pairs passed in the query string are interpretted as filters. Valid keys are top-level properties of the returned model or &#39;xp.???&#39;
     * @param options.observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param options.reportProgress flag to report request and response progress.
     */
    List(options?: {
        search?: string;
        searchOn?: string;
        sortBy?: string;
        page?: number;
        pageSize?: number;
        filters?: {
            [key: string]: string | Array<string>;
        };
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<ListIntegrationEvent>;
    List(options?: {
        search?: string;
        searchOn?: string;
        sortBy?: string;
        page?: number;
        pageSize?: number;
        filters?: {
            [key: string]: string | Array<string>;
        };
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<ListIntegrationEvent>>;
    List(options?: {
        search?: string;
        searchOn?: string;
        sortBy?: string;
        page?: number;
        pageSize?: number;
        filters?: {
            [key: string]: string | Array<string>;
        };
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<ListIntegrationEvent>>;
    /**
     *
     *
     * @param integrationEventID ID of the integration event.
     * @param partialIntegrationEvent
     * @param options.observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param options.reportProgress flag to report request and response progress.
     */
    Patch(integrationEventID: string, partialIntegrationEvent: IntegrationEvent, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<IntegrationEvent>;
    Patch(integrationEventID: string, partialIntegrationEvent: IntegrationEvent, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<IntegrationEvent>>;
    Patch(integrationEventID: string, partialIntegrationEvent: IntegrationEvent, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<IntegrationEvent>>;
    /**
     *
     *
     * @param integrationEventID ID of the integration event.
     * @param integrationEvent
     * @param options.observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param options.reportProgress flag to report request and response progress.
     */
    Save(integrationEventID: string, integrationEvent: IntegrationEvent, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<IntegrationEvent>;
    Save(integrationEventID: string, integrationEvent: IntegrationEvent, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<IntegrationEvent>>;
    Save(integrationEventID: string, integrationEvent: IntegrationEvent, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<IntegrationEvent>>;
    /**
     *
     *
     * @param direction Direction of the order, from the current user&#39;s perspective. Possible values: incoming, outgoing.
     * @param orderID ID of the order.
     * @param orderShipMethodSelection
     * @param options.observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param options.reportProgress flag to report request and response progress.
     */
    SelectShipmethods<OrderXp = any, UserXp = any, AddressXp = any, LineItemXp = any, ProductXp = any, LineItemVariantXp = any, ShipEstimateResponseXp = any, ShipEstimateXp = any, ShipMethodXp = any, OrderCalculateResponseXp = any, OrderSubmitResponseXp = any>(direction: string, orderID: string, orderShipMethodSelection: OrderShipMethodSelection, options?: {
        observe?: 'body';
        reportProgress?: boolean;
    }): Observable<OrderWorksheet<OrderXp, UserXp, AddressXp, LineItemXp, ProductXp, LineItemVariantXp, ShipEstimateResponseXp, ShipEstimateXp, ShipMethodXp, OrderCalculateResponseXp, OrderSubmitResponseXp>>;
    SelectShipmethods<OrderXp = any, UserXp = any, AddressXp = any, LineItemXp = any, ProductXp = any, LineItemVariantXp = any, ShipEstimateResponseXp = any, ShipEstimateXp = any, ShipMethodXp = any, OrderCalculateResponseXp = any, OrderSubmitResponseXp = any>(direction: string, orderID: string, orderShipMethodSelection: OrderShipMethodSelection, options?: {
        observe?: 'response';
        reportProgress?: boolean;
    }): Observable<HttpResponse<OrderWorksheet>>;
    SelectShipmethods<OrderXp = any, UserXp = any, AddressXp = any, LineItemXp = any, ProductXp = any, LineItemVariantXp = any, ShipEstimateResponseXp = any, ShipEstimateXp = any, ShipMethodXp = any, OrderCalculateResponseXp = any, OrderSubmitResponseXp = any>(direction: string, orderID: string, orderShipMethodSelection: OrderShipMethodSelection, options?: {
        observe?: 'events';
        reportProgress?: boolean;
    }): Observable<HttpEvent<OrderWorksheet>>;
}
