@@ -22,6 +22,8 @@ export interface QueryRequestOptions extends RequestCallbackOptions {
2222 apiVersion ?: number | string ;
2323 /** Can be used to override the audit behavior for the table the query is acting on. See {@link AuditBehaviorTypes}. */
2424 auditBehavior ?: AuditBehaviorTypes ;
25+ /** Optional audit details to record in the transaction audit log for this command. */
26+ auditDetails ?: Record < string , any > ;
2527 /** Can be used to provide a comment from the user that will be attached to certain detailed audit log records. */
2628 auditUserComment ?: string ;
2729 /**
@@ -213,6 +215,10 @@ export interface ModifyRowsResults {
213215export interface Command {
214216 /** Can be used to override the audit behavior for the table the Command is acting on. See{@link AuditBehaviorTypes}. */
215217 auditBehavior ?: AuditBehaviorTypes ;
218+
219+ /** Optional audit details to record in the transaction audit log for this command. */
220+ auditDetails ?: Record < string , any > ;
221+
216222 /** Can be used to provide a comment from the user that will be attached to certain detailed audit log records. */
217223 auditUserComment ?: string ;
218224 /** Name of the command to be performed. Must be one of "insert", "update", or "delete". */
@@ -267,6 +273,11 @@ export interface SaveRowsResponse {
267273}
268274
269275export interface SaveRowsOptions extends RequestCallbackOptions < SaveRowsResponse > {
276+
277+ /**
278+ * Optional audit details to record in the transaction audit log for this command.
279+ */
280+ auditDetails ?: Record < string , any > ;
270281 /**
271282 * Version of the API. If this is 13.2 or higher, a request that fails
272283 * validation will be returned as a successful response. Use the 'errorCount' and 'committed' properties in the
@@ -364,6 +375,7 @@ export function saveRows(options: SaveRowsOptions): XMLHttpRequest {
364375 // options = queryArguments(arguments);
365376 // }
366377 const jsonData = {
378+ auditDetails : options . auditDetails ,
367379 apiVersion : options . apiVersion ,
368380 commands : options . commands ,
369381 containerPath : options . containerPath ,
@@ -449,6 +461,7 @@ function sendRequest(options: SendRequestOptions, supportsFiles?: boolean): XMLH
449461 transacted : options . transacted ,
450462 extraContext : options . extraContext ,
451463 auditBehavior : options . auditBehavior ,
464+ auditDetails : options . auditDetails ,
452465 auditUserComment : options . auditUserComment ,
453466 skipReselectRows : options . skipReselectRows ,
454467 } ;
@@ -517,6 +530,7 @@ export function moveRows(options: MoveRowsOptions): XMLHttpRequest {
517530 queryName : options . queryName ,
518531 rows : options . rows ,
519532 auditBehavior : options . auditBehavior ,
533+ auditDetails : options . auditDetails ,
520534 auditUserComment : options . auditUserComment ,
521535 dataRegionSelectionKey : options . dataRegionSelectionKey ,
522536 useSnapshotSelection : options . useSnapshotSelection ,
0 commit comments