@boomi/embedkit-sdk 1.2.3 → 1.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +3 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -9570,7 +9570,7 @@ declare class EnvironmentExtensionsService {
|
|
|
9570
9570
|
fetchEnvironmentExtensions(params: {
|
|
9571
9571
|
environmentId: string;
|
|
9572
9572
|
integrationPackInstanceId: string;
|
|
9573
|
-
environmentIds?:
|
|
9573
|
+
environmentIds?: string[];
|
|
9574
9574
|
isSingleInstall?: boolean;
|
|
9575
9575
|
}): Promise<EnvironmentExtensionsQueryResponse>;
|
|
9576
9576
|
/** Fetch EnvironmentExtensionConnectionStatus for a given connection and fieldId. */
|
package/dist/index.d.ts
CHANGED
|
@@ -9570,7 +9570,7 @@ declare class EnvironmentExtensionsService {
|
|
|
9570
9570
|
fetchEnvironmentExtensions(params: {
|
|
9571
9571
|
environmentId: string;
|
|
9572
9572
|
integrationPackInstanceId: string;
|
|
9573
|
-
environmentIds?:
|
|
9573
|
+
environmentIds?: string[];
|
|
9574
9574
|
isSingleInstall?: boolean;
|
|
9575
9575
|
}): Promise<EnvironmentExtensionsQueryResponse>;
|
|
9576
9576
|
/** Fetch EnvironmentExtensionConnectionStatus for a given connection and fieldId. */
|
package/dist/index.js
CHANGED
|
@@ -4373,7 +4373,7 @@ async function fetchEnvironmentExtensions(httpRequest, requestBody) {
|
|
|
4373
4373
|
async function fetchExtensionsForPair(httpRequest, processId, envId, isSingleInstall) {
|
|
4374
4374
|
let extensionFilter;
|
|
4375
4375
|
if (isSingleInstall) {
|
|
4376
|
-
|
|
4376
|
+
extensionFilter = queryFilter(
|
|
4377
4377
|
"environmentId",
|
|
4378
4378
|
"EQUALS",
|
|
4379
4379
|
[envId]
|
|
@@ -4401,7 +4401,7 @@ async function fetchExtensions(httpRequest, integrationPackInstanceId, environme
|
|
|
4401
4401
|
}
|
|
4402
4402
|
const processes = resp.result;
|
|
4403
4403
|
const allExtensions = [];
|
|
4404
|
-
const targetEnvs =
|
|
4404
|
+
const targetEnvs = environments || [];
|
|
4405
4405
|
for (const process of processes) {
|
|
4406
4406
|
if (!process.id) {
|
|
4407
4407
|
throw new Error(
|
|
@@ -4413,17 +4413,13 @@ async function fetchExtensions(httpRequest, integrationPackInstanceId, environme
|
|
|
4413
4413
|
allExtensions.push(...exts);
|
|
4414
4414
|
} else {
|
|
4415
4415
|
for (const env of targetEnvs) {
|
|
4416
|
-
const
|
|
4417
|
-
const exts = await fetchExtensionsForPair(httpRequest, process.id, envId, isSingleInstall);
|
|
4416
|
+
const exts = await fetchExtensionsForPair(httpRequest, process.id, env, isSingleInstall);
|
|
4418
4417
|
allExtensions.push(...exts);
|
|
4419
4418
|
}
|
|
4420
4419
|
}
|
|
4421
4420
|
}
|
|
4422
4421
|
return allExtensions;
|
|
4423
4422
|
}
|
|
4424
|
-
function resolveTargetEnvironments(environments, environmentId) {
|
|
4425
|
-
return environmentId ? [{ id: environmentId }] : environments;
|
|
4426
|
-
}
|
|
4427
4423
|
|
|
4428
4424
|
// lib/helpers/combineEnvironmentExtensions.ts
|
|
4429
4425
|
function combineEnvironmentExtensions(exts) {
|