{"version":3,"sources":["../../../packages/core/rpc/work-item/rpc-work-item-client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAE7B,OAAO,EAAE,WAAW,EAAkB,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAEvF,qBAAa,iBAAiB;IAC1B;;;;;OAKG;WACW,qBAAqB,CAAC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,WAAW,GAAG,OAAO,CAAC,iBAAiB,CAAC;CAG/F","file":"rpc-work-item-client.d.ts","sourcesContent":["import { Rpc } from '../rpc';\r\nimport { RpcInboundClient } from '../rpc-inbound-client';\r\nimport { RpcWorkItem, RpcWorkItemKey, RpcWorkItemResult } from './rpc-work-item-model';\r\n\r\nexport class RpcWorkItemClient {\r\n    /**\r\n     * The work item command.\r\n     *\r\n     * @param data the work item object.\r\n     * @return Promise<RpcWorkItemResult> the promise object of work item result.\r\n     */\r\n    public static submitOrQueryWorkItem(rpc: Rpc, data: RpcWorkItem): Promise<RpcWorkItemResult> {\r\n        return RpcInboundClient.call(rpc, RpcWorkItemKey.command, RpcWorkItemKey.version, data);\r\n    }\r\n}\r\n"]}