From 3d29f1fa3a00d9c87a6a0ac60188d60c361a68ee Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Thu, 26 Mar 2026 16:14:36 +0000 Subject: [PATCH] Regenerate client from commit 325795c of spec repo --- .generator/schemas/v2/openapi.yaml | 27 -------- .../CreateServiceNowTemplate.ts | 1 - .../DeleteServiceNowTemplate.ts | 1 - .../GetServiceNowTemplate.ts | 1 - .../ListServiceNowAssignmentGroups.ts | 1 - .../ListServiceNowBusinessServices.ts | 1 - .../ListServiceNowInstances.ts | 1 - .../ListServiceNowTemplates.ts | 1 - .../ListServiceNowUsers.ts | 1 - .../UpdateServiceNowTemplate.ts | 1 - features/v2/servicenow_integration.feature | 69 +++++++------------ .../configuration.ts | 9 --- .../apis/ServiceNowIntegrationApi.ts | 59 ---------------- 13 files changed, 23 insertions(+), 150 deletions(-) diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 4b32533f7350..647c8d0d4408 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -87463,9 +87463,6 @@ paths: summary: List ServiceNow assignment groups tags: - ServiceNow Integration - x-unstable: |- - **Note**: This endpoint is in public beta and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/integration/servicenow/business_services/{instance_id}: get: description: |- @@ -87504,9 +87501,6 @@ paths: summary: List ServiceNow business services tags: - ServiceNow Integration - x-unstable: |- - **Note**: This endpoint is in public beta and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/integration/servicenow/handles: get: description: |- @@ -87524,9 +87518,6 @@ paths: summary: List ServiceNow templates tags: - ServiceNow Integration - x-unstable: |- - **Note**: This endpoint is in public beta and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). post: description: |- Create a new ServiceNow template. @@ -87555,9 +87546,6 @@ paths: summary: Create ServiceNow template tags: - ServiceNow Integration - x-unstable: |- - **Note**: This endpoint is in public beta and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/integration/servicenow/handles/{template_id}: delete: description: |- @@ -87592,9 +87580,6 @@ paths: summary: Delete ServiceNow template tags: - ServiceNow Integration - x-unstable: |- - **Note**: This endpoint is in public beta and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). get: description: |- Get a ServiceNow template by ID. @@ -87632,9 +87617,6 @@ paths: summary: Get ServiceNow template tags: - ServiceNow Integration - x-unstable: |- - **Note**: This endpoint is in public beta and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). put: description: |- Update a ServiceNow template by ID. @@ -87678,9 +87660,6 @@ paths: summary: Update ServiceNow template tags: - ServiceNow Integration - x-unstable: |- - **Note**: This endpoint is in public beta and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/integration/servicenow/instances: get: description: |- @@ -87704,9 +87683,6 @@ paths: summary: List ServiceNow instances tags: - ServiceNow Integration - x-unstable: |- - **Note**: This endpoint is in public beta and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/integration/servicenow/users/{instance_id}: get: description: |- @@ -87745,9 +87721,6 @@ paths: summary: List ServiceNow users tags: - ServiceNow Integration - x-unstable: |- - **Note**: This endpoint is in public beta and is subject to change. - If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/). /api/v2/integrations: get: operationId: ListIntegrations diff --git a/examples/v2/servicenow-integration/CreateServiceNowTemplate.ts b/examples/v2/servicenow-integration/CreateServiceNowTemplate.ts index 2317504bf946..4370cc047c67 100644 --- a/examples/v2/servicenow-integration/CreateServiceNowTemplate.ts +++ b/examples/v2/servicenow-integration/CreateServiceNowTemplate.ts @@ -5,7 +5,6 @@ import { client, v2 } from "@datadog/datadog-api-client"; const configuration = client.createConfiguration(); -configuration.unstableOperations["v2.createServiceNowTemplate"] = true; const apiInstance = new v2.ServiceNowIntegrationApi(configuration); const params: v2.ServiceNowIntegrationApiCreateServiceNowTemplateRequest = { diff --git a/examples/v2/servicenow-integration/DeleteServiceNowTemplate.ts b/examples/v2/servicenow-integration/DeleteServiceNowTemplate.ts index 6f20efe15118..4c588482cbd0 100644 --- a/examples/v2/servicenow-integration/DeleteServiceNowTemplate.ts +++ b/examples/v2/servicenow-integration/DeleteServiceNowTemplate.ts @@ -5,7 +5,6 @@ import { client, v2 } from "@datadog/datadog-api-client"; const configuration = client.createConfiguration(); -configuration.unstableOperations["v2.deleteServiceNowTemplate"] = true; const apiInstance = new v2.ServiceNowIntegrationApi(configuration); const params: v2.ServiceNowIntegrationApiDeleteServiceNowTemplateRequest = { diff --git a/examples/v2/servicenow-integration/GetServiceNowTemplate.ts b/examples/v2/servicenow-integration/GetServiceNowTemplate.ts index 3159ae89f8e1..12152182c2c3 100644 --- a/examples/v2/servicenow-integration/GetServiceNowTemplate.ts +++ b/examples/v2/servicenow-integration/GetServiceNowTemplate.ts @@ -5,7 +5,6 @@ import { client, v2 } from "@datadog/datadog-api-client"; const configuration = client.createConfiguration(); -configuration.unstableOperations["v2.getServiceNowTemplate"] = true; const apiInstance = new v2.ServiceNowIntegrationApi(configuration); const params: v2.ServiceNowIntegrationApiGetServiceNowTemplateRequest = { diff --git a/examples/v2/servicenow-integration/ListServiceNowAssignmentGroups.ts b/examples/v2/servicenow-integration/ListServiceNowAssignmentGroups.ts index 3498e3730563..c8b2bfe87639 100644 --- a/examples/v2/servicenow-integration/ListServiceNowAssignmentGroups.ts +++ b/examples/v2/servicenow-integration/ListServiceNowAssignmentGroups.ts @@ -5,7 +5,6 @@ import { client, v2 } from "@datadog/datadog-api-client"; const configuration = client.createConfiguration(); -configuration.unstableOperations["v2.listServiceNowAssignmentGroups"] = true; const apiInstance = new v2.ServiceNowIntegrationApi(configuration); const params: v2.ServiceNowIntegrationApiListServiceNowAssignmentGroupsRequest = diff --git a/examples/v2/servicenow-integration/ListServiceNowBusinessServices.ts b/examples/v2/servicenow-integration/ListServiceNowBusinessServices.ts index cff3b30948c9..25b6a8c9d341 100644 --- a/examples/v2/servicenow-integration/ListServiceNowBusinessServices.ts +++ b/examples/v2/servicenow-integration/ListServiceNowBusinessServices.ts @@ -5,7 +5,6 @@ import { client, v2 } from "@datadog/datadog-api-client"; const configuration = client.createConfiguration(); -configuration.unstableOperations["v2.listServiceNowBusinessServices"] = true; const apiInstance = new v2.ServiceNowIntegrationApi(configuration); const params: v2.ServiceNowIntegrationApiListServiceNowBusinessServicesRequest = diff --git a/examples/v2/servicenow-integration/ListServiceNowInstances.ts b/examples/v2/servicenow-integration/ListServiceNowInstances.ts index d2e7850e695e..b5fc61be1dbf 100644 --- a/examples/v2/servicenow-integration/ListServiceNowInstances.ts +++ b/examples/v2/servicenow-integration/ListServiceNowInstances.ts @@ -5,7 +5,6 @@ import { client, v2 } from "@datadog/datadog-api-client"; const configuration = client.createConfiguration(); -configuration.unstableOperations["v2.listServiceNowInstances"] = true; const apiInstance = new v2.ServiceNowIntegrationApi(configuration); apiInstance diff --git a/examples/v2/servicenow-integration/ListServiceNowTemplates.ts b/examples/v2/servicenow-integration/ListServiceNowTemplates.ts index 1af677ce7a41..5b4d651c4bf7 100644 --- a/examples/v2/servicenow-integration/ListServiceNowTemplates.ts +++ b/examples/v2/servicenow-integration/ListServiceNowTemplates.ts @@ -5,7 +5,6 @@ import { client, v2 } from "@datadog/datadog-api-client"; const configuration = client.createConfiguration(); -configuration.unstableOperations["v2.listServiceNowTemplates"] = true; const apiInstance = new v2.ServiceNowIntegrationApi(configuration); apiInstance diff --git a/examples/v2/servicenow-integration/ListServiceNowUsers.ts b/examples/v2/servicenow-integration/ListServiceNowUsers.ts index 96bf19ee149b..e8b9c70d7ace 100644 --- a/examples/v2/servicenow-integration/ListServiceNowUsers.ts +++ b/examples/v2/servicenow-integration/ListServiceNowUsers.ts @@ -5,7 +5,6 @@ import { client, v2 } from "@datadog/datadog-api-client"; const configuration = client.createConfiguration(); -configuration.unstableOperations["v2.listServiceNowUsers"] = true; const apiInstance = new v2.ServiceNowIntegrationApi(configuration); const params: v2.ServiceNowIntegrationApiListServiceNowUsersRequest = { diff --git a/examples/v2/servicenow-integration/UpdateServiceNowTemplate.ts b/examples/v2/servicenow-integration/UpdateServiceNowTemplate.ts index 382229578687..d26b69478423 100644 --- a/examples/v2/servicenow-integration/UpdateServiceNowTemplate.ts +++ b/examples/v2/servicenow-integration/UpdateServiceNowTemplate.ts @@ -5,7 +5,6 @@ import { client, v2 } from "@datadog/datadog-api-client"; const configuration = client.createConfiguration(); -configuration.unstableOperations["v2.updateServiceNowTemplate"] = true; const apiInstance = new v2.ServiceNowIntegrationApi(configuration); const params: v2.ServiceNowIntegrationApiUpdateServiceNowTemplateRequest = { diff --git a/features/v2/servicenow_integration.feature b/features/v2/servicenow_integration.feature index 24f9878c0d82..21093fd0f799 100644 --- a/features/v2/servicenow_integration.feature +++ b/features/v2/servicenow_integration.feature @@ -11,165 +11,144 @@ Feature: ServiceNow Integration @generated @skip @team:Datadog/collaboration-integrations Scenario: Create ServiceNow template returns "Bad Request" response - Given operation "CreateServiceNowTemplate" enabled - And new "CreateServiceNowTemplate" request + Given new "CreateServiceNowTemplate" request And body with value {"data": {"attributes": {"assignment_group_id": "65b3341b-0680-47f9-a6d4-134db45c603e", "business_service_id": "65b3341b-0680-47f9-a6d4-134db45c603e", "fields_mapping": {"category": "software", "priority": "1"}, "handle_name": "incident-template", "instance_id": "65b3341b-0680-47f9-a6d4-134db45c603e", "servicenow_tablename": "incident", "user_id": "65b3341b-0680-47f9-a6d4-134db45c603e"}, "type": "servicenow_templates"}} When the request is sent Then the response status is 400 Bad Request @generated @skip @team:Datadog/collaboration-integrations Scenario: Create ServiceNow template returns "Created" response - Given operation "CreateServiceNowTemplate" enabled - And new "CreateServiceNowTemplate" request + Given new "CreateServiceNowTemplate" request And body with value {"data": {"attributes": {"assignment_group_id": "65b3341b-0680-47f9-a6d4-134db45c603e", "business_service_id": "65b3341b-0680-47f9-a6d4-134db45c603e", "fields_mapping": {"category": "software", "priority": "1"}, "handle_name": "incident-template", "instance_id": "65b3341b-0680-47f9-a6d4-134db45c603e", "servicenow_tablename": "incident", "user_id": "65b3341b-0680-47f9-a6d4-134db45c603e"}, "type": "servicenow_templates"}} When the request is sent Then the response status is 201 Created @generated @skip @team:Datadog/collaboration-integrations Scenario: Delete ServiceNow template returns "Bad Request" response - Given operation "DeleteServiceNowTemplate" enabled - And new "DeleteServiceNowTemplate" request + Given new "DeleteServiceNowTemplate" request And request contains "template_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:Datadog/collaboration-integrations Scenario: Delete ServiceNow template returns "Not Found" response - Given operation "DeleteServiceNowTemplate" enabled - And new "DeleteServiceNowTemplate" request + Given new "DeleteServiceNowTemplate" request And request contains "template_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @generated @skip @team:Datadog/collaboration-integrations Scenario: Delete ServiceNow template returns "OK" response - Given operation "DeleteServiceNowTemplate" enabled - And new "DeleteServiceNowTemplate" request + Given new "DeleteServiceNowTemplate" request And request contains "template_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK @generated @skip @team:Datadog/collaboration-integrations Scenario: Get ServiceNow template returns "Bad Request" response - Given operation "GetServiceNowTemplate" enabled - And new "GetServiceNowTemplate" request + Given new "GetServiceNowTemplate" request And request contains "template_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:Datadog/collaboration-integrations Scenario: Get ServiceNow template returns "Not Found" response - Given operation "GetServiceNowTemplate" enabled - And new "GetServiceNowTemplate" request + Given new "GetServiceNowTemplate" request And request contains "template_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @generated @skip @team:Datadog/collaboration-integrations Scenario: Get ServiceNow template returns "OK" response - Given operation "GetServiceNowTemplate" enabled - And new "GetServiceNowTemplate" request + Given new "GetServiceNowTemplate" request And request contains "template_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK @generated @skip @team:Datadog/collaboration-integrations Scenario: List ServiceNow assignment groups returns "Bad Request" response - Given operation "ListServiceNowAssignmentGroups" enabled - And new "ListServiceNowAssignmentGroups" request + Given new "ListServiceNowAssignmentGroups" request And request contains "instance_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:Datadog/collaboration-integrations Scenario: List ServiceNow assignment groups returns "Not Found" response - Given operation "ListServiceNowAssignmentGroups" enabled - And new "ListServiceNowAssignmentGroups" request + Given new "ListServiceNowAssignmentGroups" request And request contains "instance_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @generated @skip @team:Datadog/collaboration-integrations Scenario: List ServiceNow assignment groups returns "OK" response - Given operation "ListServiceNowAssignmentGroups" enabled - And new "ListServiceNowAssignmentGroups" request + Given new "ListServiceNowAssignmentGroups" request And request contains "instance_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK @generated @skip @team:Datadog/collaboration-integrations Scenario: List ServiceNow business services returns "Bad Request" response - Given operation "ListServiceNowBusinessServices" enabled - And new "ListServiceNowBusinessServices" request + Given new "ListServiceNowBusinessServices" request And request contains "instance_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:Datadog/collaboration-integrations Scenario: List ServiceNow business services returns "Not Found" response - Given operation "ListServiceNowBusinessServices" enabled - And new "ListServiceNowBusinessServices" request + Given new "ListServiceNowBusinessServices" request And request contains "instance_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @generated @skip @team:Datadog/collaboration-integrations Scenario: List ServiceNow business services returns "OK" response - Given operation "ListServiceNowBusinessServices" enabled - And new "ListServiceNowBusinessServices" request + Given new "ListServiceNowBusinessServices" request And request contains "instance_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK @generated @skip @team:Datadog/collaboration-integrations Scenario: List ServiceNow instances returns "Not Found" response - Given operation "ListServiceNowInstances" enabled - And new "ListServiceNowInstances" request + Given new "ListServiceNowInstances" request When the request is sent Then the response status is 404 Not Found @generated @skip @team:Datadog/collaboration-integrations Scenario: List ServiceNow instances returns "OK" response - Given operation "ListServiceNowInstances" enabled - And new "ListServiceNowInstances" request + Given new "ListServiceNowInstances" request When the request is sent Then the response status is 200 OK @generated @skip @team:Datadog/collaboration-integrations Scenario: List ServiceNow templates returns "OK" response - Given operation "ListServiceNowTemplates" enabled - And new "ListServiceNowTemplates" request + Given new "ListServiceNowTemplates" request When the request is sent Then the response status is 200 OK @generated @skip @team:Datadog/collaboration-integrations Scenario: List ServiceNow users returns "Bad Request" response - Given operation "ListServiceNowUsers" enabled - And new "ListServiceNowUsers" request + Given new "ListServiceNowUsers" request And request contains "instance_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 400 Bad Request @generated @skip @team:Datadog/collaboration-integrations Scenario: List ServiceNow users returns "Not Found" response - Given operation "ListServiceNowUsers" enabled - And new "ListServiceNowUsers" request + Given new "ListServiceNowUsers" request And request contains "instance_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 404 Not Found @generated @skip @team:Datadog/collaboration-integrations Scenario: List ServiceNow users returns "OK" response - Given operation "ListServiceNowUsers" enabled - And new "ListServiceNowUsers" request + Given new "ListServiceNowUsers" request And request contains "instance_id" parameter from "REPLACE.ME" When the request is sent Then the response status is 200 OK @generated @skip @team:Datadog/collaboration-integrations Scenario: Update ServiceNow template returns "Bad Request" response - Given operation "UpdateServiceNowTemplate" enabled - And new "UpdateServiceNowTemplate" request + Given new "UpdateServiceNowTemplate" request And request contains "template_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"assignment_group_id": "65b3341b-0680-47f9-a6d4-134db45c603e", "business_service_id": "65b3341b-0680-47f9-a6d4-134db45c603e", "fields_mapping": {"category": "hardware", "priority": "2"}, "handle_name": "incident-template-updated", "instance_id": "65b3341b-0680-47f9-a6d4-134db45c603e", "servicenow_tablename": "incident", "user_id": "65b3341b-0680-47f9-a6d4-134db45c603e"}, "type": "servicenow_templates"}} When the request is sent @@ -177,8 +156,7 @@ Feature: ServiceNow Integration @generated @skip @team:Datadog/collaboration-integrations Scenario: Update ServiceNow template returns "Not Found" response - Given operation "UpdateServiceNowTemplate" enabled - And new "UpdateServiceNowTemplate" request + Given new "UpdateServiceNowTemplate" request And request contains "template_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"assignment_group_id": "65b3341b-0680-47f9-a6d4-134db45c603e", "business_service_id": "65b3341b-0680-47f9-a6d4-134db45c603e", "fields_mapping": {"category": "hardware", "priority": "2"}, "handle_name": "incident-template-updated", "instance_id": "65b3341b-0680-47f9-a6d4-134db45c603e", "servicenow_tablename": "incident", "user_id": "65b3341b-0680-47f9-a6d4-134db45c603e"}, "type": "servicenow_templates"}} When the request is sent @@ -186,8 +164,7 @@ Feature: ServiceNow Integration @generated @skip @team:Datadog/collaboration-integrations Scenario: Update ServiceNow template returns "OK" response - Given operation "UpdateServiceNowTemplate" enabled - And new "UpdateServiceNowTemplate" request + Given new "UpdateServiceNowTemplate" request And request contains "template_id" parameter from "REPLACE.ME" And body with value {"data": {"attributes": {"assignment_group_id": "65b3341b-0680-47f9-a6d4-134db45c603e", "business_service_id": "65b3341b-0680-47f9-a6d4-134db45c603e", "fields_mapping": {"category": "hardware", "priority": "2"}, "handle_name": "incident-template-updated", "instance_id": "65b3341b-0680-47f9-a6d4-134db45c603e", "servicenow_tablename": "incident", "user_id": "65b3341b-0680-47f9-a6d4-134db45c603e"}, "type": "servicenow_templates"}} When the request is sent diff --git a/packages/datadog-api-client-common/configuration.ts b/packages/datadog-api-client-common/configuration.ts index 95d6464e45f7..e1a9ff1d538b 100644 --- a/packages/datadog-api-client-common/configuration.ts +++ b/packages/datadog-api-client-common/configuration.ts @@ -370,15 +370,6 @@ export function createConfiguration( "v2.updateJiraIssueTemplate": false, "v2.createTenancyConfig": false, "v2.getTenancyConfigs": false, - "v2.createServiceNowTemplate": false, - "v2.deleteServiceNowTemplate": false, - "v2.getServiceNowTemplate": false, - "v2.listServiceNowAssignmentGroups": false, - "v2.listServiceNowBusinessServices": false, - "v2.listServiceNowInstances": false, - "v2.listServiceNowTemplates": false, - "v2.listServiceNowUsers": false, - "v2.updateServiceNowTemplate": false, "v2.createLLMObsDataset": false, "v2.createLLMObsDatasetRecords": false, "v2.createLLMObsExperiment": false, diff --git a/packages/datadog-api-client-v2/apis/ServiceNowIntegrationApi.ts b/packages/datadog-api-client-v2/apis/ServiceNowIntegrationApi.ts index 68446da7001c..8ef413cd9e3e 100644 --- a/packages/datadog-api-client-v2/apis/ServiceNowIntegrationApi.ts +++ b/packages/datadog-api-client-v2/apis/ServiceNowIntegrationApi.ts @@ -34,13 +34,6 @@ export class ServiceNowIntegrationApiRequestFactory extends BaseAPIRequestFactor ): Promise { const _config = _options || this.configuration; - logger.warn("Using unstable operation 'createServiceNowTemplate'"); - if (!_config.unstableOperations["v2.createServiceNowTemplate"]) { - throw new Error( - "Unstable operation 'createServiceNowTemplate' is disabled" - ); - } - // verify required parameter 'body' is not null or undefined if (body === null || body === undefined) { throw new RequiredError("body", "createServiceNowTemplate"); @@ -82,13 +75,6 @@ export class ServiceNowIntegrationApiRequestFactory extends BaseAPIRequestFactor ): Promise { const _config = _options || this.configuration; - logger.warn("Using unstable operation 'deleteServiceNowTemplate'"); - if (!_config.unstableOperations["v2.deleteServiceNowTemplate"]) { - throw new Error( - "Unstable operation 'deleteServiceNowTemplate' is disabled" - ); - } - // verify required parameter 'templateId' is not null or undefined if (templateId === null || templateId === undefined) { throw new RequiredError("templateId", "deleteServiceNowTemplate"); @@ -123,11 +109,6 @@ export class ServiceNowIntegrationApiRequestFactory extends BaseAPIRequestFactor ): Promise { const _config = _options || this.configuration; - logger.warn("Using unstable operation 'getServiceNowTemplate'"); - if (!_config.unstableOperations["v2.getServiceNowTemplate"]) { - throw new Error("Unstable operation 'getServiceNowTemplate' is disabled"); - } - // verify required parameter 'templateId' is not null or undefined if (templateId === null || templateId === undefined) { throw new RequiredError("templateId", "getServiceNowTemplate"); @@ -162,13 +143,6 @@ export class ServiceNowIntegrationApiRequestFactory extends BaseAPIRequestFactor ): Promise { const _config = _options || this.configuration; - logger.warn("Using unstable operation 'listServiceNowAssignmentGroups'"); - if (!_config.unstableOperations["v2.listServiceNowAssignmentGroups"]) { - throw new Error( - "Unstable operation 'listServiceNowAssignmentGroups' is disabled" - ); - } - // verify required parameter 'instanceId' is not null or undefined if (instanceId === null || instanceId === undefined) { throw new RequiredError("instanceId", "listServiceNowAssignmentGroups"); @@ -203,13 +177,6 @@ export class ServiceNowIntegrationApiRequestFactory extends BaseAPIRequestFactor ): Promise { const _config = _options || this.configuration; - logger.warn("Using unstable operation 'listServiceNowBusinessServices'"); - if (!_config.unstableOperations["v2.listServiceNowBusinessServices"]) { - throw new Error( - "Unstable operation 'listServiceNowBusinessServices' is disabled" - ); - } - // verify required parameter 'instanceId' is not null or undefined if (instanceId === null || instanceId === undefined) { throw new RequiredError("instanceId", "listServiceNowBusinessServices"); @@ -243,13 +210,6 @@ export class ServiceNowIntegrationApiRequestFactory extends BaseAPIRequestFactor ): Promise { const _config = _options || this.configuration; - logger.warn("Using unstable operation 'listServiceNowInstances'"); - if (!_config.unstableOperations["v2.listServiceNowInstances"]) { - throw new Error( - "Unstable operation 'listServiceNowInstances' is disabled" - ); - } - // Path Params const localVarPath = "/api/v2/integration/servicenow/instances"; @@ -274,13 +234,6 @@ export class ServiceNowIntegrationApiRequestFactory extends BaseAPIRequestFactor ): Promise { const _config = _options || this.configuration; - logger.warn("Using unstable operation 'listServiceNowTemplates'"); - if (!_config.unstableOperations["v2.listServiceNowTemplates"]) { - throw new Error( - "Unstable operation 'listServiceNowTemplates' is disabled" - ); - } - // Path Params const localVarPath = "/api/v2/integration/servicenow/handles"; @@ -306,11 +259,6 @@ export class ServiceNowIntegrationApiRequestFactory extends BaseAPIRequestFactor ): Promise { const _config = _options || this.configuration; - logger.warn("Using unstable operation 'listServiceNowUsers'"); - if (!_config.unstableOperations["v2.listServiceNowUsers"]) { - throw new Error("Unstable operation 'listServiceNowUsers' is disabled"); - } - // verify required parameter 'instanceId' is not null or undefined if (instanceId === null || instanceId === undefined) { throw new RequiredError("instanceId", "listServiceNowUsers"); @@ -346,13 +294,6 @@ export class ServiceNowIntegrationApiRequestFactory extends BaseAPIRequestFactor ): Promise { const _config = _options || this.configuration; - logger.warn("Using unstable operation 'updateServiceNowTemplate'"); - if (!_config.unstableOperations["v2.updateServiceNowTemplate"]) { - throw new Error( - "Unstable operation 'updateServiceNowTemplate' is disabled" - ); - } - // verify required parameter 'templateId' is not null or undefined if (templateId === null || templateId === undefined) { throw new RequiredError("templateId", "updateServiceNowTemplate");