From 10b442b379335bf5fdeea4744e1871d162c519ee Mon Sep 17 00:00:00 2001 From: lcawl Date: Wed, 18 Dec 2024 18:00:43 -0800 Subject: [PATCH 1/8] Add specification for set connector sync job stats --- output/openapi/elasticsearch-openapi.json | 80 ++++++++++ output/schema/schema.json | 144 +++++++++++++++++- output/schema/validation-errors.json | 6 - output/typescript/types.ts | 15 ++ specification/_doc_ids/table.csv | 1 + .../SyncJobUpdateStatsRequest.ts | 73 +++++++++ .../SyncJobUpdateStatsResponse.ts | 22 +++ 7 files changed, 331 insertions(+), 10 deletions(-) create mode 100644 specification/connector/sync_job_update_stats/SyncJobUpdateStatsRequest.ts create mode 100644 specification/connector/sync_job_update_stats/SyncJobUpdateStatsResponse.ts diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 94de5772b8..896b604feb 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -5162,6 +5162,86 @@ "x-beta": true } }, + "/_connector/_sync_job/{connector_sync_job_id}/_stats": { + "put": { + "tags": [ + "connector" + ], + "summary": "Set the connector sync job stats", + "description": "Stats include: `deleted_document_count`, `indexed_document_count`, `indexed_document_volume`, and `total_document_count`.\nYou can also update `last_seen`.\nThis API is mainly used by the connector service for updating sync job information.\n\nTo sync data using self-managed connectors, you need to deploy the Elastic connector service on your own infrastructure.\nThis service runs automatically on Elastic Cloud for Elastic managed connectors.", + "operationId": "connector-sync-job-update-stats", + "parameters": [ + { + "in": "path", + "name": "connector_sync_job_id", + "description": "The unique identifier of the connector sync job.", + "required": true, + "deprecated": false, + "schema": { + "$ref": "#/components/schemas/_types:Id" + }, + "style": "simple" + } + ], + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "deleted_document_count": { + "description": "The number of documents the sync job deleted.", + "type": "number" + }, + "indexed_document_count": { + "description": "The number of documents the sync job indexed.", + "type": "number" + }, + "indexed_document_volume": { + "description": "The total size of the data (in MiB) the sync job indexed.", + "type": "number" + }, + "last_seen": { + "description": "The timestamp to use in the `last_seen` property for the connector sync job.", + "type": "number" + }, + "metadata": { + "description": "The connector-specific metadata.", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "total_document_count": { + "description": "The total number of documents in the target index after the sync job finished.", + "type": "number" + } + }, + "required": [ + "deleted_document_count", + "indexed_document_count", + "indexed_document_volume" + ] + } + } + }, + "required": true + }, + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + } + }, + "x-state": "Technical preview" + } + }, "/_connector/{connector_id}/_filtering/_activate": { "put": { "tags": [ diff --git a/output/schema/schema.json b/output/schema/schema.json index bd918dbdb7..99a0fba281 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -3550,15 +3550,22 @@ "visibility": "public" } }, - "description": "Updates the stats fields in the connector sync job document.", - "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/master/set-connector-sync-job-stats-api.html", + "description": "Set the connector sync job stats.\nStats include: `deleted_document_count`, `indexed_document_count`, `indexed_document_volume`, and `total_document_count`.\nYou can also update `last_seen`.\nThis API is mainly used by the connector service for updating sync job information.\n\nTo sync data using self-managed connectors, you need to deploy the Elastic connector service on your own infrastructure.\nThis service runs automatically on Elastic Cloud for Elastic managed connectors.", + "docId": "connector-sync-job-stats", + "docUrl": "https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/set-connector-sync-job-stats-api.html", "name": "connector.sync_job_update_stats", - "request": null, + "request": { + "name": "Request", + "namespace": "connector.sync_job_update_stats" + }, "requestBodyRequired": true, "requestMediaType": [ "application/json" ], - "response": null, + "response": { + "name": "Response", + "namespace": "connector.sync_job_update_stats" + }, "responseMediaType": [ "application/json" ], @@ -115804,6 +115811,135 @@ }, "specLocation": "connector/sync_job_post/SyncJobPostResponse.ts#L22-L26" }, + { + "kind": "request", + "attachedBehaviors": [ + "CommonQueryParameters" + ], + "body": { + "kind": "properties", + "properties": [ + { + "description": "The number of documents the sync job deleted.", + "name": "deleted_document_count", + "required": true, + "type": { + "kind": "instance_of", + "type": { + "name": "integer", + "namespace": "_types" + } + } + }, + { + "description": "The number of documents the sync job indexed.", + "name": "indexed_document_count", + "required": true, + "type": { + "kind": "instance_of", + "type": { + "name": "integer", + "namespace": "_types" + } + } + }, + { + "description": "The total size of the data (in MiB) the sync job indexed.", + "name": "indexed_document_volume", + "required": true, + "type": { + "kind": "instance_of", + "type": { + "name": "integer", + "namespace": "_types" + } + } + }, + { + "description": "The timestamp to use in the `last_seen` property for the connector sync job.", + "name": "last_seen", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "integer", + "namespace": "_types" + } + } + }, + { + "description": "The connector-specific metadata.", + "name": "metadata", + "required": false, + "type": { + "kind": "dictionary_of", + "key": { + "kind": "instance_of", + "type": { + "name": "string", + "namespace": "_builtins" + } + }, + "singleKey": false, + "value": { + "kind": "user_defined_value" + } + } + }, + { + "description": "The total number of documents in the target index after the sync job finished.", + "name": "total_document_count", + "required": false, + "type": { + "kind": "instance_of", + "type": { + "name": "integer", + "namespace": "_types" + } + } + } + ] + }, + "description": "Set the connector sync job stats.\nStats include: `deleted_document_count`, `indexed_document_count`, `indexed_document_volume`, and `total_document_count`.\nYou can also update `last_seen`.\nThis API is mainly used by the connector service for updating sync job information.\n\nTo sync data using self-managed connectors, you need to deploy the Elastic connector service on your own infrastructure.\nThis service runs automatically on Elastic Cloud for Elastic managed connectors.", + "inherits": { + "type": { + "name": "RequestBase", + "namespace": "_types" + } + }, + "name": { + "name": "Request", + "namespace": "connector.sync_job_update_stats" + }, + "path": [ + { + "description": "The unique identifier of the connector sync job.", + "name": "connector_sync_job_id", + "required": true, + "type": { + "kind": "instance_of", + "type": { + "name": "Id", + "namespace": "_types" + } + } + } + ], + "query": [], + "specLocation": "connector/sync_job_update_stats/SyncJobUpdateStatsRequest.ts#L25-L73" + }, + { + "kind": "response", + "body": { + "kind": "properties", + "properties": [] + }, + "name": { + "name": "Response", + "namespace": "connector.sync_job_update_stats" + }, + "specLocation": "connector/sync_job_update_stats/SyncJobUpdateStatsResponse.ts#L20-L22" + }, { "kind": "request", "attachedBehaviors": [ diff --git a/output/schema/validation-errors.json b/output/schema/validation-errors.json index 97c5ff761c..fe471dc7d3 100644 --- a/output/schema/validation-errors.json +++ b/output/schema/validation-errors.json @@ -261,12 +261,6 @@ ], "response": [] }, - "connector.sync_job_update_stats": { - "request": [ - "Missing request & response" - ], - "response": [] - }, "connector.update_features": { "request": [ "Missing request & response" diff --git a/output/typescript/types.ts b/output/typescript/types.ts index bfe38b2423..2aedc7aa05 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -10048,6 +10048,21 @@ export interface ConnectorSyncJobPostResponse { id: Id } +export interface ConnectorSyncJobUpdateStatsRequest extends RequestBase { + connector_sync_job_id: Id + body?: { + deleted_document_count: integer + indexed_document_count: integer + indexed_document_volume: integer + last_seen?: integer + metadata?: Record + total_document_count?: integer + } +} + +export interface ConnectorSyncJobUpdateStatsResponse { +} + export interface ConnectorUpdateActiveFilteringRequest extends RequestBase { connector_id: Id } diff --git a/specification/_doc_ids/table.csv b/specification/_doc_ids/table.csv index c5e2657a50..594638e484 100644 --- a/specification/_doc_ids/table.csv +++ b/specification/_doc_ids/table.csv @@ -91,6 +91,7 @@ connector-sync-job-delete,https://www.elastic.co/guide/en/elasticsearch/referenc connector-sync-job-get,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/get-connector-sync-job-api.html connector-sync-job-post,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/create-connector-sync-job-api.html connector-sync-job-list,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/list-connector-sync-jobs-api.html +connector-sync-job-stats,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/set-connector-sync-job-stats-api.html connector-checkin,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/check-in-connector-api.html connector-delete,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/delete-connector-api.html connector-get,https://www.elastic.co/guide/en/elasticsearch/reference/{branch}/get-connector-api.html diff --git a/specification/connector/sync_job_update_stats/SyncJobUpdateStatsRequest.ts b/specification/connector/sync_job_update_stats/SyncJobUpdateStatsRequest.ts new file mode 100644 index 0000000000..9e34447aa7 --- /dev/null +++ b/specification/connector/sync_job_update_stats/SyncJobUpdateStatsRequest.ts @@ -0,0 +1,73 @@ +/* + * Licensed to Elasticsearch B.V. under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch B.V. licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +import { Dictionary } from '@spec_utils/Dictionary' +import { UserDefinedValue } from '@spec_utils/UserDefinedValue' +import { RequestBase } from '@_types/Base' +import { Id } from '@_types/common' +import { integer } from '@_types/Numeric' + +/** + * Set the connector sync job stats. + * Stats include: `deleted_document_count`, `indexed_document_count`, `indexed_document_volume`, and `total_document_count`. + * You can also update `last_seen`. + * This API is mainly used by the connector service for updating sync job information. + * + * To sync data using self-managed connectors, you need to deploy the Elastic connector service on your own infrastructure. + * This service runs automatically on Elastic Cloud for Elastic managed connectors. + * @rest_spec_name connector.sync_job_update_stats + * @availability stack stability=experimental visibility=public + * @doc_id connector-sync-job-stats + */ +export interface Request extends RequestBase { + /** + * The sync job to be created + */ + path_parts: { + /** + * The unique identifier of the connector sync job. + */ + connector_sync_job_id: Id + } + body: { + /** + * The number of documents the sync job deleted. + */ + deleted_document_count: integer + /** + * The number of documents the sync job indexed. + */ + indexed_document_count: integer + /** + * The total size of the data (in MiB) the sync job indexed. + */ + indexed_document_volume: integer + /** + * The timestamp to use in the `last_seen` property for the connector sync job. + */ + last_seen?: integer + /** + * The connector-specific metadata. + */ + metadata?: Dictionary + /** + * The total number of documents in the target index after the sync job finished. + */ + total_document_count?: integer + } +} diff --git a/specification/connector/sync_job_update_stats/SyncJobUpdateStatsResponse.ts b/specification/connector/sync_job_update_stats/SyncJobUpdateStatsResponse.ts new file mode 100644 index 0000000000..0769bf66cb --- /dev/null +++ b/specification/connector/sync_job_update_stats/SyncJobUpdateStatsResponse.ts @@ -0,0 +1,22 @@ +/* + * Licensed to Elasticsearch B.V. under one or more contributor + * license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright + * ownership. Elasticsearch B.V. licenses this file to you under + * the Apache License, Version 2.0 (the "License"); you may + * not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +export class Response { + body: {} +} From 1a1f668a7980df7d2445904129f0e2d34dda8f1b Mon Sep 17 00:00:00 2001 From: Lisa Cawley Date: Thu, 19 Dec 2024 09:51:10 -0800 Subject: [PATCH 2/8] Update specification/connector/sync_job_update_stats/SyncJobUpdateStatsRequest.ts Co-authored-by: Laura Trotta <153528055+l-trotta@users.noreply.github.com> --- .../sync_job_update_stats/SyncJobUpdateStatsRequest.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/connector/sync_job_update_stats/SyncJobUpdateStatsRequest.ts b/specification/connector/sync_job_update_stats/SyncJobUpdateStatsRequest.ts index 9e34447aa7..2b438a283b 100644 --- a/specification/connector/sync_job_update_stats/SyncJobUpdateStatsRequest.ts +++ b/specification/connector/sync_job_update_stats/SyncJobUpdateStatsRequest.ts @@ -60,7 +60,7 @@ export interface Request extends RequestBase { /** * The timestamp to use in the `last_seen` property for the connector sync job. */ - last_seen?: integer + last_seen?: Duration /** * The connector-specific metadata. */ From 2586c6fb5145f310df8993297c114d5e964df943 Mon Sep 17 00:00:00 2001 From: Lisa Cawley Date: Thu, 19 Dec 2024 09:51:18 -0800 Subject: [PATCH 3/8] Update specification/connector/sync_job_update_stats/SyncJobUpdateStatsRequest.ts Co-authored-by: Laura Trotta <153528055+l-trotta@users.noreply.github.com> --- .../sync_job_update_stats/SyncJobUpdateStatsRequest.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/connector/sync_job_update_stats/SyncJobUpdateStatsRequest.ts b/specification/connector/sync_job_update_stats/SyncJobUpdateStatsRequest.ts index 2b438a283b..92d5212616 100644 --- a/specification/connector/sync_job_update_stats/SyncJobUpdateStatsRequest.ts +++ b/specification/connector/sync_job_update_stats/SyncJobUpdateStatsRequest.ts @@ -56,7 +56,7 @@ export interface Request extends RequestBase { /** * The total size of the data (in MiB) the sync job indexed. */ - indexed_document_volume: integer + indexed_document_volume: long /** * The timestamp to use in the `last_seen` property for the connector sync job. */ From 0d202a486cb030081867606b53119d6c9ba54944 Mon Sep 17 00:00:00 2001 From: Lisa Cawley Date: Thu, 19 Dec 2024 09:51:26 -0800 Subject: [PATCH 4/8] Update specification/connector/sync_job_update_stats/SyncJobUpdateStatsRequest.ts Co-authored-by: Laura Trotta <153528055+l-trotta@users.noreply.github.com> --- .../sync_job_update_stats/SyncJobUpdateStatsRequest.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/connector/sync_job_update_stats/SyncJobUpdateStatsRequest.ts b/specification/connector/sync_job_update_stats/SyncJobUpdateStatsRequest.ts index 92d5212616..83b6d32e97 100644 --- a/specification/connector/sync_job_update_stats/SyncJobUpdateStatsRequest.ts +++ b/specification/connector/sync_job_update_stats/SyncJobUpdateStatsRequest.ts @@ -52,7 +52,7 @@ export interface Request extends RequestBase { /** * The number of documents the sync job indexed. */ - indexed_document_count: integer + indexed_document_count: long /** * The total size of the data (in MiB) the sync job indexed. */ From d0eeb2fd9b5af07d7e2bca58e3e7f62873cce9ad Mon Sep 17 00:00:00 2001 From: Lisa Cawley Date: Thu, 19 Dec 2024 09:51:33 -0800 Subject: [PATCH 5/8] Update specification/connector/sync_job_update_stats/SyncJobUpdateStatsRequest.ts Co-authored-by: Laura Trotta <153528055+l-trotta@users.noreply.github.com> --- .../sync_job_update_stats/SyncJobUpdateStatsRequest.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/connector/sync_job_update_stats/SyncJobUpdateStatsRequest.ts b/specification/connector/sync_job_update_stats/SyncJobUpdateStatsRequest.ts index 83b6d32e97..6df72e8af8 100644 --- a/specification/connector/sync_job_update_stats/SyncJobUpdateStatsRequest.ts +++ b/specification/connector/sync_job_update_stats/SyncJobUpdateStatsRequest.ts @@ -48,7 +48,7 @@ export interface Request extends RequestBase { /** * The number of documents the sync job deleted. */ - deleted_document_count: integer + deleted_document_count: long /** * The number of documents the sync job indexed. */ From d783f93fd29a2a9846245e6def75833efb001682 Mon Sep 17 00:00:00 2001 From: Lisa Cawley Date: Thu, 19 Dec 2024 09:51:41 -0800 Subject: [PATCH 6/8] Update specification/connector/sync_job_update_stats/SyncJobUpdateStatsRequest.ts Co-authored-by: Laura Trotta <153528055+l-trotta@users.noreply.github.com> --- .../sync_job_update_stats/SyncJobUpdateStatsRequest.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/connector/sync_job_update_stats/SyncJobUpdateStatsRequest.ts b/specification/connector/sync_job_update_stats/SyncJobUpdateStatsRequest.ts index 6df72e8af8..07f8ad6b9a 100644 --- a/specification/connector/sync_job_update_stats/SyncJobUpdateStatsRequest.ts +++ b/specification/connector/sync_job_update_stats/SyncJobUpdateStatsRequest.ts @@ -64,7 +64,7 @@ export interface Request extends RequestBase { /** * The connector-specific metadata. */ - metadata?: Dictionary + metadata?: Metadata /** * The total number of documents in the target index after the sync job finished. */ From ee65e01e2b3cbe3bba0f7c51e13655027fed0745 Mon Sep 17 00:00:00 2001 From: lcawl Date: Thu, 19 Dec 2024 09:58:15 -0800 Subject: [PATCH 7/8] Add missing imports --- output/openapi/elasticsearch-openapi.json | 9 ++------ output/schema/schema.json | 23 +++++++------------ output/schema/validation-errors.json | 6 ----- output/typescript/types.ts | 10 ++++---- .../SyncJobUpdateStatsRequest.ts | 8 +++---- 5 files changed, 19 insertions(+), 37 deletions(-) diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 5e06aff0b5..73f792111e 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -5238,15 +5238,10 @@ "type": "number" }, "last_seen": { - "description": "The timestamp to use in the `last_seen` property for the connector sync job.", - "type": "number" + "$ref": "#/components/schemas/_types:Duration" }, "metadata": { - "description": "The connector-specific metadata.", - "type": "object", - "additionalProperties": { - "type": "object" - } + "$ref": "#/components/schemas/_types:Metadata" }, "total_document_count": { "description": "The total number of documents in the target index after the sync job finished.", diff --git a/output/schema/schema.json b/output/schema/schema.json index fa9afd1edc..535ddef671 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -115922,7 +115922,7 @@ "type": { "kind": "instance_of", "type": { - "name": "integer", + "name": "long", "namespace": "_types" } } @@ -115934,7 +115934,7 @@ "type": { "kind": "instance_of", "type": { - "name": "integer", + "name": "long", "namespace": "_types" } } @@ -115946,7 +115946,7 @@ "type": { "kind": "instance_of", "type": { - "name": "integer", + "name": "long", "namespace": "_types" } } @@ -115958,7 +115958,7 @@ "type": { "kind": "instance_of", "type": { - "name": "integer", + "name": "Duration", "namespace": "_types" } } @@ -115968,17 +115968,10 @@ "name": "metadata", "required": false, "type": { - "kind": "dictionary_of", - "key": { - "kind": "instance_of", - "type": { - "name": "string", - "namespace": "_builtins" - } - }, - "singleKey": false, - "value": { - "kind": "user_defined_value" + "kind": "instance_of", + "type": { + "name": "Metadata", + "namespace": "_types" } } }, diff --git a/output/schema/validation-errors.json b/output/schema/validation-errors.json index 6f16a8370a..7efa0e2f0a 100644 --- a/output/schema/validation-errors.json +++ b/output/schema/validation-errors.json @@ -255,12 +255,6 @@ ], "response": [] }, - "connector.update_features": { - "request": [ - "Missing request & response" - ], - "response": [] - }, "enrich.delete_policy": { "request": [ "Request: missing json spec query parameter 'master_timeout'" diff --git a/output/typescript/types.ts b/output/typescript/types.ts index 69e6635771..b6739af737 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -10058,11 +10058,11 @@ export interface ConnectorSyncJobPostResponse { export interface ConnectorSyncJobUpdateStatsRequest extends RequestBase { connector_sync_job_id: Id body?: { - deleted_document_count: integer - indexed_document_count: integer - indexed_document_volume: integer - last_seen?: integer - metadata?: Record + deleted_document_count: long + indexed_document_count: long + indexed_document_volume: long + last_seen?: Duration + metadata?: Metadata total_document_count?: integer } } diff --git a/specification/connector/sync_job_update_stats/SyncJobUpdateStatsRequest.ts b/specification/connector/sync_job_update_stats/SyncJobUpdateStatsRequest.ts index 07f8ad6b9a..f4d68d2c75 100644 --- a/specification/connector/sync_job_update_stats/SyncJobUpdateStatsRequest.ts +++ b/specification/connector/sync_job_update_stats/SyncJobUpdateStatsRequest.ts @@ -16,11 +16,11 @@ * specific language governing permissions and limitations * under the License. */ -import { Dictionary } from '@spec_utils/Dictionary' -import { UserDefinedValue } from '@spec_utils/UserDefinedValue' + import { RequestBase } from '@_types/Base' -import { Id } from '@_types/common' -import { integer } from '@_types/Numeric' +import { Duration } from '@_types/Time' +import { Id, Metadata } from '@_types/common' +import { integer, long } from '@_types/Numeric' /** * Set the connector sync job stats. From 987a723e042f895b29149bfb94e55b2c7d04a681 Mon Sep 17 00:00:00 2001 From: lcawl Date: Thu, 19 Dec 2024 10:11:54 -0800 Subject: [PATCH 8/8] Fix style --- .../sync_job_update_stats/SyncJobUpdateStatsRequest.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/connector/sync_job_update_stats/SyncJobUpdateStatsRequest.ts b/specification/connector/sync_job_update_stats/SyncJobUpdateStatsRequest.ts index f4d68d2c75..0d6c48b054 100644 --- a/specification/connector/sync_job_update_stats/SyncJobUpdateStatsRequest.ts +++ b/specification/connector/sync_job_update_stats/SyncJobUpdateStatsRequest.ts @@ -18,9 +18,9 @@ */ import { RequestBase } from '@_types/Base' -import { Duration } from '@_types/Time' import { Id, Metadata } from '@_types/common' import { integer, long } from '@_types/Numeric' +import { Duration } from '@_types/Time' /** * Set the connector sync job stats.