Skip to main content

@wildix-internal/wim-integrations-client > GetIntegrationsByCompaniesAndServicesCommand

GetIntegrationsByCompaniesAndServicesCommand class

Signature:

export declare class GetIntegrationsByCompaniesAndServicesCommand extends GetIntegrationsByCompaniesAndServicesCommand_base 

Extends: GetIntegrationsByCompaniesAndServicesCommand_base

Example

Use a bare-bones client and the command you need to make an API call.

import { WimIntegrationsServiceClient, GetIntegrationsByCompaniesAndServicesCommand } from "@wildix-internal/wim-integrations-client"; // ES Modules import
// const { WimIntegrationsServiceClient, GetIntegrationsByCompaniesAndServicesCommand } = require("@wildix-internal/wim-integrations-client"); // CommonJS import
const client = new WimIntegrationsServiceClient(config);
const input = { // GetIntegrationsByCompaniesAndServicesInput
companies: [ // CompanyIdList
"STRING_VALUE",
],
services: [ // ServiceList
"STRING_VALUE",
],
};
const command = new GetIntegrationsByCompaniesAndServicesCommand(input);
const response = await client.send(command);
// { // GetIntegrationsByCompaniesAndServicesOutput
// items: [ // IntegrationList // required
// { // Integration
// service: "salesforce" || "hubspot" || "google_calendar" || "microsoft_calendar" || "salesforce_community" || "bamboo_hr" || "microsoft_presence" || "iframe_integration" || "webhook" || "hubspot_backend" || "salesforce_backend" || "salesforce_telephony" || "gong", // required
// status: "deleting" || "installing" || "warning" || "enabled" || "disabled" || "suspended" || "broken",
// entityType: "sf_partner" || "main",
// statusChangeDate: "STRING_VALUE",
// errorInfo: "DOCUMENT_VALUE",
// warningInfo: "DOCUMENT_VALUE",
// data: "DOCUMENT_VALUE",
// integrationId: "STRING_VALUE", // required
// externalId: "STRING_VALUE",
// companyId: "STRING_VALUE", // required
// },
// ],
// };