diff --git a/models.gen.go b/models.gen.go index addd0ba..5762af5 100644 --- a/models.gen.go +++ b/models.gen.go @@ -902,6 +902,9 @@ type CreateSyncRunProgressRequest struct { // Status The status of the sync run Status *SyncRunStatus `json:"status,omitempty"` + // TableProgress Table-specific progress information for a sync run + TableProgress *SyncRunTableProgress `json:"table_progress,omitempty"` + // Warnings Number of warnings encountered so far Warnings int64 `json:"warnings"` } @@ -2495,6 +2498,18 @@ type SyncRunStatus string // SyncRunStatusReason The reason for the status type SyncRunStatusReason string +// SyncRunTableProgress Table-specific progress information for a sync run +type SyncRunTableProgress map[string]SyncRunTableProgressValue + +// SyncRunTableProgressValue defines model for SyncRunTableProgress_value. +type SyncRunTableProgressValue struct { + // Errors Number of errors for this table + Errors int64 `json:"errors"` + + // Rows Number of rows processed for this table + Rows int64 `json:"rows"` +} + // SyncSource defines model for SyncSource. type SyncSource struct { // ConnectorID ID of the Connector diff --git a/spec.json b/spec.json index 7e9cbeb..9cb3f11 100644 --- a/spec.json +++ b/spec.json @@ -10128,6 +10128,12 @@ } } ] }, + "SyncRunTableProgress" : { + "additionalProperties" : { + "$ref" : "#/components/schemas/SyncRunTableProgress_value" + }, + "description" : "Table-specific progress information for a sync run" + }, "ConnectorIdentityResponseAWS" : { "additionalProperties" : false, "description" : "AWS connector identity response", @@ -11423,6 +11429,9 @@ "description" : "The total number of shards for this sync run", "format" : "int32", "type" : "integer" + }, + "table_progress" : { + "$ref" : "#/components/schemas/SyncRunTableProgress" } }, "required" : [ "errors", "rows", "warnings" ] @@ -11656,6 +11665,21 @@ } }, "required" : [ "end", "start" ] + }, + "SyncRunTableProgress_value" : { + "properties" : { + "errors" : { + "description" : "Number of errors for this table", + "format" : "int64", + "type" : "integer" + }, + "rows" : { + "description" : "Number of rows processed for this table", + "format" : "int64", + "type" : "integer" + } + }, + "required" : [ "errors", "rows" ] } }, "securitySchemes" : {