Skip to content

Commit aae3a9a

Browse files
fix: Generate CloudQuery Go API Client from spec.json (#9)
This PR was created by a scheduled workflow to generate the CloudQuery Go API Client from `spec.json`
2 parents 1b4aa42 + 3510ddb commit aae3a9a

2 files changed

Lines changed: 50 additions & 0 deletions

File tree

client.gen.go

Lines changed: 18 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

spec.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12192,6 +12192,10 @@
1219212192
"type": "integer",
1219312193
"format": "int32",
1219412194
"description": "The total number of shards for this sync run"
12195+
},
12196+
"table_progress": {
12197+
"$ref": "#/components/schemas/SyncRunTableProgress",
12198+
"description": "Table-specific progress information including error and row counts per table"
1219512199
}
1219612200
}
1219712201
}
@@ -16328,6 +16332,11 @@
1632816332
"tracking_opted_in": {
1632916333
"type": "boolean",
1633016334
"description": "Whether anonymous user tracking was opted into"
16335+
},
16336+
"mfa_configured": {
16337+
"type": "boolean",
16338+
"description": "Whether the user has MFA configured",
16339+
"x-go-name": "MFAConfigured"
1633116340
}
1633216341
}
1633316342
}
@@ -21565,6 +21574,29 @@
2156521574
}
2156621575
]
2156721576
},
21577+
"SyncRunTableProgress": {
21578+
"description": "Table-specific progress information for a sync run",
21579+
"type": "object",
21580+
"additionalProperties": {
21581+
"type": "object",
21582+
"properties": {
21583+
"errors": {
21584+
"type": "integer",
21585+
"format": "int64",
21586+
"description": "Number of errors for this table"
21587+
},
21588+
"rows": {
21589+
"type": "integer",
21590+
"format": "int64",
21591+
"description": "Number of rows processed for this table"
21592+
}
21593+
},
21594+
"required": [
21595+
"errors",
21596+
"rows"
21597+
]
21598+
}
21599+
},
2156821600
"SyncRunStats": {
2156921601
"type": "object",
2157021602
"required": [

0 commit comments

Comments
 (0)