mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 23:10:29 +00:00
ExecuteResponse is implements Response interface from Fetch API. (#40303)
This commit is contained in:
committed by
Pranav Senthilnathan
parent
2b048e935c
commit
5f258aaed0
Vendored
+1
-32
@@ -4886,38 +4886,7 @@ declare namespace Xrm {
|
||||
/**
|
||||
* Interface for the WebAPI Execute request response
|
||||
*/
|
||||
interface ExecuteResponse {
|
||||
/**
|
||||
* (Optional). Object.Response body.
|
||||
*/
|
||||
body: string;
|
||||
/**
|
||||
* Response headers.
|
||||
*/
|
||||
headers: any;
|
||||
/**
|
||||
* Indicates whether the request was successful.
|
||||
*/
|
||||
ok: boolean;
|
||||
/**
|
||||
* Numeric value in the response status code.
|
||||
* @example 200
|
||||
*/
|
||||
status: number;
|
||||
/**
|
||||
* Description of the response status code.
|
||||
* @example "OK"
|
||||
*/
|
||||
statusText: string;
|
||||
/**
|
||||
* Response type.Values are: the empty string (default), "arraybuffer", "blob", "document", "json", and "text".
|
||||
*/
|
||||
type: string;
|
||||
/**
|
||||
* Request URL of the action, function, or CRUD request that was sent to the Web API endpoint.
|
||||
*/
|
||||
url: string;
|
||||
}
|
||||
interface ExecuteResponse extends Response { }
|
||||
}
|
||||
|
||||
declare namespace XrmEnum {
|
||||
|
||||
Reference in New Issue
Block a user