@uipath/agenthub-tool 1.206.0-preview.301 → 1.207.0-preview.305
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/{browser-strategy-z97p0ezf.js → browser-strategy-zem90qdb.js} +1 -1
- package/dist/{connections-f90mj7hw.js → connections-k7ak2ynw.js} +333 -114
- package/dist/{index-xcedjjv9.js → index-3b7n9344.js} +1 -1
- package/dist/{index-2r3kf4zw.js → index-78c4baqz.js} +6 -6
- package/dist/{index-xfs9pex7.js → index-n20k6dpj.js} +5 -5
- package/dist/{index-0jb89938.js → index-p3591dzz.js} +5 -5
- package/dist/{index-9y8pkfdc.js → index-q1mrsnz3.js} +3 -3
- package/dist/index.js +7 -7
- package/dist/{node-strategy-9kbe832s.js → node-strategy-db37m4jk.js} +2 -2
- package/dist/{tool-v64h6gvc.js → tool-4zw4j55j.js} +365 -129
- package/dist/{tool-wkaar3hs.js → tool-5hpqbmpa.js} +24 -16
- package/dist/{tool-1qg04b7q.js → tool-bzcphfa8.js} +4 -2
- package/dist/{tool-3z6x166p.js → tool-g948yz9q.js} +4 -4
- package/dist/{tool-f2evc0qk.js → tool-tgahyq1y.js} +51 -9
- package/dist/{tool-bhbmn53g.js → tool-x8dsz8c6.js} +30 -8
- package/dist/{tool-8fc3dv3j.js → tool-zmhrvrtj.js} +5 -3
- package/dist/tool.js +7 -7
- package/package.json +2 -2
|
@@ -2,12 +2,12 @@ import {
|
|
|
2
2
|
getSdkUserAgentToken,
|
|
3
3
|
addSdkUserAgentHeader,
|
|
4
4
|
installSdkUserAgentHeader
|
|
5
|
-
} from "./tool-
|
|
6
|
-
import"./tool-
|
|
5
|
+
} from "./tool-zmhrvrtj.js";
|
|
6
|
+
import"./tool-bzcphfa8.js";
|
|
7
7
|
import {
|
|
8
8
|
getAuthContext2
|
|
9
|
-
} from "./tool-
|
|
10
|
-
import"./tool-
|
|
9
|
+
} from "./tool-tgahyq1y.js";
|
|
10
|
+
import"./tool-x8dsz8c6.js";
|
|
11
11
|
|
|
12
12
|
// ../integrationservice-sdk/generated/connections/src/runtime.ts
|
|
13
13
|
var BASE_PATH = "https://alpha.uipath.com/entity/Azure/connections_".replace(/\/+$/, "");
|
|
@@ -535,12 +535,232 @@ class TextApiResponse {
|
|
|
535
535
|
return await this.raw.text();
|
|
536
536
|
}
|
|
537
537
|
}
|
|
538
|
+
|
|
539
|
+
// ../integrationservice-sdk/generated/folder-auth/src/runtime.ts
|
|
540
|
+
var BASE_PATH3 = "https://alpha.uipath.com/entity/Azure/elements_".replace(/\/+$/, "");
|
|
541
|
+
|
|
542
|
+
class Configuration3 {
|
|
543
|
+
configuration;
|
|
544
|
+
constructor(configuration = {}) {
|
|
545
|
+
this.configuration = configuration;
|
|
546
|
+
}
|
|
547
|
+
set config(configuration) {
|
|
548
|
+
this.configuration = configuration;
|
|
549
|
+
}
|
|
550
|
+
get basePath() {
|
|
551
|
+
return this.configuration.basePath != null ? this.configuration.basePath : BASE_PATH3;
|
|
552
|
+
}
|
|
553
|
+
get fetchApi() {
|
|
554
|
+
return this.configuration.fetchApi;
|
|
555
|
+
}
|
|
556
|
+
get middleware() {
|
|
557
|
+
return this.configuration.middleware || [];
|
|
558
|
+
}
|
|
559
|
+
get queryParamsStringify() {
|
|
560
|
+
return this.configuration.queryParamsStringify || querystring3;
|
|
561
|
+
}
|
|
562
|
+
get username() {
|
|
563
|
+
return this.configuration.username;
|
|
564
|
+
}
|
|
565
|
+
get password() {
|
|
566
|
+
return this.configuration.password;
|
|
567
|
+
}
|
|
568
|
+
get apiKey() {
|
|
569
|
+
const apiKey = this.configuration.apiKey;
|
|
570
|
+
if (apiKey) {
|
|
571
|
+
return typeof apiKey === "function" ? apiKey : () => apiKey;
|
|
572
|
+
}
|
|
573
|
+
return;
|
|
574
|
+
}
|
|
575
|
+
get accessToken() {
|
|
576
|
+
const accessToken = this.configuration.accessToken;
|
|
577
|
+
if (accessToken) {
|
|
578
|
+
return typeof accessToken === "function" ? accessToken : async () => accessToken;
|
|
579
|
+
}
|
|
580
|
+
return;
|
|
581
|
+
}
|
|
582
|
+
get headers() {
|
|
583
|
+
return this.configuration.headers;
|
|
584
|
+
}
|
|
585
|
+
get credentials() {
|
|
586
|
+
return this.configuration.credentials;
|
|
587
|
+
}
|
|
588
|
+
}
|
|
589
|
+
var DefaultConfig3 = new Configuration3;
|
|
590
|
+
|
|
591
|
+
class BaseAPI3 {
|
|
592
|
+
configuration;
|
|
593
|
+
static jsonRegex = new RegExp("^(:?application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(:?;.*)?$", "i");
|
|
594
|
+
middleware;
|
|
595
|
+
constructor(configuration = DefaultConfig3) {
|
|
596
|
+
this.configuration = configuration;
|
|
597
|
+
this.middleware = configuration.middleware;
|
|
598
|
+
}
|
|
599
|
+
withMiddleware(...middlewares) {
|
|
600
|
+
const next = this.clone();
|
|
601
|
+
next.middleware = next.middleware.concat(...middlewares);
|
|
602
|
+
return next;
|
|
603
|
+
}
|
|
604
|
+
withPreMiddleware(...preMiddlewares) {
|
|
605
|
+
const middlewares = preMiddlewares.map((pre) => ({ pre }));
|
|
606
|
+
return this.withMiddleware(...middlewares);
|
|
607
|
+
}
|
|
608
|
+
withPostMiddleware(...postMiddlewares) {
|
|
609
|
+
const middlewares = postMiddlewares.map((post) => ({ post }));
|
|
610
|
+
return this.withMiddleware(...middlewares);
|
|
611
|
+
}
|
|
612
|
+
isJsonMime(mime) {
|
|
613
|
+
if (!mime) {
|
|
614
|
+
return false;
|
|
615
|
+
}
|
|
616
|
+
return BaseAPI3.jsonRegex.test(mime);
|
|
617
|
+
}
|
|
618
|
+
async request(context, initOverrides) {
|
|
619
|
+
const { url, init } = await this.createFetchParams(context, initOverrides);
|
|
620
|
+
const response = await this.fetchApi(url, init);
|
|
621
|
+
if (response && (response.status >= 200 && response.status < 300)) {
|
|
622
|
+
return response;
|
|
623
|
+
}
|
|
624
|
+
throw new ResponseError3(response, "Response returned an error code");
|
|
625
|
+
}
|
|
626
|
+
async createFetchParams(context, initOverrides) {
|
|
627
|
+
let url = this.configuration.basePath + context.path;
|
|
628
|
+
if (context.query !== undefined && Object.keys(context.query).length !== 0) {
|
|
629
|
+
url += "?" + this.configuration.queryParamsStringify(context.query);
|
|
630
|
+
}
|
|
631
|
+
const headers = Object.assign({}, this.configuration.headers, context.headers);
|
|
632
|
+
Object.keys(headers).forEach((key) => headers[key] === undefined ? delete headers[key] : {});
|
|
633
|
+
const initOverrideFn = typeof initOverrides === "function" ? initOverrides : async () => initOverrides;
|
|
634
|
+
const initParams = {
|
|
635
|
+
method: context.method,
|
|
636
|
+
headers,
|
|
637
|
+
body: context.body,
|
|
638
|
+
credentials: this.configuration.credentials
|
|
639
|
+
};
|
|
640
|
+
const overriddenInit = {
|
|
641
|
+
...initParams,
|
|
642
|
+
...await initOverrideFn({
|
|
643
|
+
init: initParams,
|
|
644
|
+
context
|
|
645
|
+
})
|
|
646
|
+
};
|
|
647
|
+
let body;
|
|
648
|
+
if (isFormData3(overriddenInit.body) || overriddenInit.body instanceof URLSearchParams || isBlob3(overriddenInit.body)) {
|
|
649
|
+
body = overriddenInit.body;
|
|
650
|
+
} else if (this.isJsonMime(headers["Content-Type"])) {
|
|
651
|
+
body = JSON.stringify(overriddenInit.body);
|
|
652
|
+
} else {
|
|
653
|
+
body = overriddenInit.body;
|
|
654
|
+
}
|
|
655
|
+
const init = {
|
|
656
|
+
...overriddenInit,
|
|
657
|
+
body
|
|
658
|
+
};
|
|
659
|
+
return { url, init };
|
|
660
|
+
}
|
|
661
|
+
fetchApi = async (url, init) => {
|
|
662
|
+
let fetchParams = { url, init };
|
|
663
|
+
for (const middleware of this.middleware) {
|
|
664
|
+
if (middleware.pre) {
|
|
665
|
+
fetchParams = await middleware.pre({
|
|
666
|
+
fetch: this.fetchApi,
|
|
667
|
+
...fetchParams
|
|
668
|
+
}) || fetchParams;
|
|
669
|
+
}
|
|
670
|
+
}
|
|
671
|
+
let response = undefined;
|
|
672
|
+
try {
|
|
673
|
+
response = await (this.configuration.fetchApi || fetch)(fetchParams.url, fetchParams.init);
|
|
674
|
+
} catch (e) {
|
|
675
|
+
for (const middleware of this.middleware) {
|
|
676
|
+
if (middleware.onError) {
|
|
677
|
+
response = await middleware.onError({
|
|
678
|
+
fetch: this.fetchApi,
|
|
679
|
+
url: fetchParams.url,
|
|
680
|
+
init: fetchParams.init,
|
|
681
|
+
error: e,
|
|
682
|
+
response: response ? response.clone() : undefined
|
|
683
|
+
}) || response;
|
|
684
|
+
}
|
|
685
|
+
}
|
|
686
|
+
if (response === undefined) {
|
|
687
|
+
if (e instanceof Error) {
|
|
688
|
+
throw new FetchError3(e, "The request failed and the interceptors did not return an alternative response");
|
|
689
|
+
} else {
|
|
690
|
+
throw e;
|
|
691
|
+
}
|
|
692
|
+
}
|
|
693
|
+
}
|
|
694
|
+
for (const middleware of this.middleware) {
|
|
695
|
+
if (middleware.post) {
|
|
696
|
+
response = await middleware.post({
|
|
697
|
+
fetch: this.fetchApi,
|
|
698
|
+
url: fetchParams.url,
|
|
699
|
+
init: fetchParams.init,
|
|
700
|
+
response: response.clone()
|
|
701
|
+
}) || response;
|
|
702
|
+
}
|
|
703
|
+
}
|
|
704
|
+
return response;
|
|
705
|
+
};
|
|
706
|
+
clone() {
|
|
707
|
+
const constructor = this.constructor;
|
|
708
|
+
const next = new constructor(this.configuration);
|
|
709
|
+
next.middleware = this.middleware.slice();
|
|
710
|
+
return next;
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
function isBlob3(value) {
|
|
714
|
+
return typeof Blob !== "undefined" && value instanceof Blob;
|
|
715
|
+
}
|
|
716
|
+
function isFormData3(value) {
|
|
717
|
+
return typeof FormData !== "undefined" && value instanceof FormData;
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
class ResponseError3 extends Error {
|
|
721
|
+
response;
|
|
722
|
+
name = "ResponseError";
|
|
723
|
+
constructor(response, msg) {
|
|
724
|
+
super(msg);
|
|
725
|
+
this.response = response;
|
|
726
|
+
}
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
class FetchError3 extends Error {
|
|
730
|
+
cause;
|
|
731
|
+
name = "FetchError";
|
|
732
|
+
constructor(cause, msg) {
|
|
733
|
+
super(msg);
|
|
734
|
+
this.cause = cause;
|
|
735
|
+
}
|
|
736
|
+
}
|
|
737
|
+
function querystring3(params, prefix = "") {
|
|
738
|
+
return Object.keys(params).map((key) => querystringSingleKey3(key, params[key], prefix)).filter((part) => part.length > 0).join("&");
|
|
739
|
+
}
|
|
740
|
+
function querystringSingleKey3(key, value, keyPrefix = "") {
|
|
741
|
+
const fullKey = keyPrefix + (keyPrefix.length ? `[${key}]` : key);
|
|
742
|
+
if (value instanceof Array) {
|
|
743
|
+
const multiValue = value.map((singleValue) => encodeURIComponent(String(singleValue))).join(`&${encodeURIComponent(fullKey)}=`);
|
|
744
|
+
return `${encodeURIComponent(fullKey)}=${multiValue}`;
|
|
745
|
+
}
|
|
746
|
+
if (value instanceof Set) {
|
|
747
|
+
const valueAsArray = Array.from(value);
|
|
748
|
+
return querystringSingleKey3(key, valueAsArray, keyPrefix);
|
|
749
|
+
}
|
|
750
|
+
if (value instanceof Date) {
|
|
751
|
+
return `${encodeURIComponent(fullKey)}=${encodeURIComponent(value.toISOString())}`;
|
|
752
|
+
}
|
|
753
|
+
if (value instanceof Object) {
|
|
754
|
+
return querystring3(value, fullKey);
|
|
755
|
+
}
|
|
756
|
+
return `${encodeURIComponent(fullKey)}=${encodeURIComponent(String(value))}`;
|
|
757
|
+
}
|
|
538
758
|
// ../integrationservice-sdk/package.json
|
|
539
759
|
var package_default = {
|
|
540
760
|
name: "@uipath/integrationservice-sdk",
|
|
541
761
|
author: "UiPath",
|
|
542
762
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
543
|
-
version: "1.
|
|
763
|
+
version: "1.207.0-preview.305",
|
|
544
764
|
repository: {
|
|
545
765
|
type: "git",
|
|
546
766
|
url: "https://github.com/UiPath/cli.git",
|
|
@@ -599,6 +819,7 @@ var package_default = {
|
|
|
599
819
|
var SDK_USER_AGENT = getSdkUserAgentToken(package_default);
|
|
600
820
|
installSdkUserAgentHeader(BaseAPI, SDK_USER_AGENT);
|
|
601
821
|
installSdkUserAgentHeader(BaseAPI2, SDK_USER_AGENT);
|
|
822
|
+
installSdkUserAgentHeader(BaseAPI3, SDK_USER_AGENT);
|
|
602
823
|
|
|
603
824
|
// ../integrationservice-sdk/generated/connections/src/models/AccessTokenResponse.ts
|
|
604
825
|
function AccessTokenResponseFromJSON(json) {
|
|
@@ -1475,6 +1696,112 @@ function UpdatePollingIntervalRequestToJSONTyped(value, ignoreDiscriminator = fa
|
|
|
1475
1696
|
pollingIntervalInMinutes: value["pollingIntervalInMinutes"]
|
|
1476
1697
|
};
|
|
1477
1698
|
}
|
|
1699
|
+
// ../integrationservice-sdk/generated/connections/src/apis/ConnectionOperationsApi.ts
|
|
1700
|
+
class ConnectionOperationsApi extends BaseAPI {
|
|
1701
|
+
async apiV1ConnectionsConnectionIdOperationsGetRaw(requestParameters, initOverrides) {
|
|
1702
|
+
if (requestParameters["connectionId"] == null) {
|
|
1703
|
+
throw new RequiredError("connectionId", 'Required parameter "connectionId" was null or undefined when calling apiV1ConnectionsConnectionIdOperationsGet().');
|
|
1704
|
+
}
|
|
1705
|
+
const queryParameters = {};
|
|
1706
|
+
if (requestParameters["allFolders"] != null) {
|
|
1707
|
+
queryParameters["allFolders"] = requestParameters["allFolders"];
|
|
1708
|
+
}
|
|
1709
|
+
const headerParameters = {};
|
|
1710
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1711
|
+
const token = this.configuration.accessToken;
|
|
1712
|
+
const tokenString = await token("bearerAuth", []);
|
|
1713
|
+
if (tokenString) {
|
|
1714
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1715
|
+
}
|
|
1716
|
+
}
|
|
1717
|
+
let urlPath = `/api/v1/Connections/{connectionId}/operations`;
|
|
1718
|
+
urlPath = urlPath.replace(`{${"connectionId"}}`, encodeURIComponent(String(requestParameters["connectionId"])));
|
|
1719
|
+
const response = await this.request({
|
|
1720
|
+
path: urlPath,
|
|
1721
|
+
method: "GET",
|
|
1722
|
+
headers: headerParameters,
|
|
1723
|
+
query: queryParameters
|
|
1724
|
+
}, initOverrides);
|
|
1725
|
+
return new JSONApiResponse(response, (jsonValue) => jsonValue.map(EventOperationFromJSON));
|
|
1726
|
+
}
|
|
1727
|
+
async apiV1ConnectionsConnectionIdOperationsGet(requestParameters, initOverrides) {
|
|
1728
|
+
const response = await this.apiV1ConnectionsConnectionIdOperationsGetRaw(requestParameters, initOverrides);
|
|
1729
|
+
return await response.value();
|
|
1730
|
+
}
|
|
1731
|
+
async apiV1ConnectionsConnectionIdOperationsOperationNameObjectsObjectNameEventFieldsGetRaw(requestParameters, initOverrides) {
|
|
1732
|
+
if (requestParameters["connectionId"] == null) {
|
|
1733
|
+
throw new RequiredError("connectionId", 'Required parameter "connectionId" was null or undefined when calling apiV1ConnectionsConnectionIdOperationsOperationNameObjectsObjectNameEventFieldsGet().');
|
|
1734
|
+
}
|
|
1735
|
+
if (requestParameters["operationName"] == null) {
|
|
1736
|
+
throw new RequiredError("operationName", 'Required parameter "operationName" was null or undefined when calling apiV1ConnectionsConnectionIdOperationsOperationNameObjectsObjectNameEventFieldsGet().');
|
|
1737
|
+
}
|
|
1738
|
+
if (requestParameters["objectName"] == null) {
|
|
1739
|
+
throw new RequiredError("objectName", 'Required parameter "objectName" was null or undefined when calling apiV1ConnectionsConnectionIdOperationsOperationNameObjectsObjectNameEventFieldsGet().');
|
|
1740
|
+
}
|
|
1741
|
+
const queryParameters = {};
|
|
1742
|
+
if (requestParameters["allFolders"] != null) {
|
|
1743
|
+
queryParameters["allFolders"] = requestParameters["allFolders"];
|
|
1744
|
+
}
|
|
1745
|
+
const headerParameters = {};
|
|
1746
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1747
|
+
const token = this.configuration.accessToken;
|
|
1748
|
+
const tokenString = await token("bearerAuth", []);
|
|
1749
|
+
if (tokenString) {
|
|
1750
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1751
|
+
}
|
|
1752
|
+
}
|
|
1753
|
+
let urlPath = `/api/v1/Connections/{connectionId}/operations/{operationName}/objects/{objectName}/event-fields`;
|
|
1754
|
+
urlPath = urlPath.replace(`{${"connectionId"}}`, encodeURIComponent(String(requestParameters["connectionId"])));
|
|
1755
|
+
urlPath = urlPath.replace(`{${"operationName"}}`, encodeURIComponent(String(requestParameters["operationName"])));
|
|
1756
|
+
urlPath = urlPath.replace(`{${"objectName"}}`, encodeURIComponent(String(requestParameters["objectName"])));
|
|
1757
|
+
const response = await this.request({
|
|
1758
|
+
path: urlPath,
|
|
1759
|
+
method: "GET",
|
|
1760
|
+
headers: headerParameters,
|
|
1761
|
+
query: queryParameters
|
|
1762
|
+
}, initOverrides);
|
|
1763
|
+
return new JSONApiResponse(response, (jsonValue) => jsonValue.map(OperationObjectEventMetadataFieldFromJSON));
|
|
1764
|
+
}
|
|
1765
|
+
async apiV1ConnectionsConnectionIdOperationsOperationNameObjectsObjectNameEventFieldsGet(requestParameters, initOverrides) {
|
|
1766
|
+
const response = await this.apiV1ConnectionsConnectionIdOperationsOperationNameObjectsObjectNameEventFieldsGetRaw(requestParameters, initOverrides);
|
|
1767
|
+
return await response.value();
|
|
1768
|
+
}
|
|
1769
|
+
async apiV1ConnectionsConnectionIdOperationsOperationObjectsGetRaw(requestParameters, initOverrides) {
|
|
1770
|
+
if (requestParameters["connectionId"] == null) {
|
|
1771
|
+
throw new RequiredError("connectionId", 'Required parameter "connectionId" was null or undefined when calling apiV1ConnectionsConnectionIdOperationsOperationObjectsGet().');
|
|
1772
|
+
}
|
|
1773
|
+
if (requestParameters["operation"] == null) {
|
|
1774
|
+
throw new RequiredError("operation", 'Required parameter "operation" was null or undefined when calling apiV1ConnectionsConnectionIdOperationsOperationObjectsGet().');
|
|
1775
|
+
}
|
|
1776
|
+
const queryParameters = {};
|
|
1777
|
+
if (requestParameters["allFolders"] != null) {
|
|
1778
|
+
queryParameters["allFolders"] = requestParameters["allFolders"];
|
|
1779
|
+
}
|
|
1780
|
+
const headerParameters = {};
|
|
1781
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1782
|
+
const token = this.configuration.accessToken;
|
|
1783
|
+
const tokenString = await token("bearerAuth", []);
|
|
1784
|
+
if (tokenString) {
|
|
1785
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1786
|
+
}
|
|
1787
|
+
}
|
|
1788
|
+
let urlPath = `/api/v1/Connections/{connectionId}/operations/{operation}/objects`;
|
|
1789
|
+
urlPath = urlPath.replace(`{${"connectionId"}}`, encodeURIComponent(String(requestParameters["connectionId"])));
|
|
1790
|
+
urlPath = urlPath.replace(`{${"operation"}}`, encodeURIComponent(String(requestParameters["operation"])));
|
|
1791
|
+
const response = await this.request({
|
|
1792
|
+
path: urlPath,
|
|
1793
|
+
method: "GET",
|
|
1794
|
+
headers: headerParameters,
|
|
1795
|
+
query: queryParameters
|
|
1796
|
+
}, initOverrides);
|
|
1797
|
+
return new JSONApiResponse(response, (jsonValue) => jsonValue.map(OperationObjectFromJSON));
|
|
1798
|
+
}
|
|
1799
|
+
async apiV1ConnectionsConnectionIdOperationsOperationObjectsGet(requestParameters, initOverrides) {
|
|
1800
|
+
const response = await this.apiV1ConnectionsConnectionIdOperationsOperationObjectsGetRaw(requestParameters, initOverrides);
|
|
1801
|
+
return await response.value();
|
|
1802
|
+
}
|
|
1803
|
+
}
|
|
1804
|
+
|
|
1478
1805
|
// ../integrationservice-sdk/generated/connections/src/apis/ConnectionsApi.ts
|
|
1479
1806
|
class ConnectionsApi extends BaseAPI {
|
|
1480
1807
|
async apiV1ConnectionsBatchPostRaw(requestParameters, initOverrides) {
|
|
@@ -2227,112 +2554,6 @@ class ConnectorsApi extends BaseAPI {
|
|
|
2227
2554
|
}
|
|
2228
2555
|
}
|
|
2229
2556
|
|
|
2230
|
-
// ../integrationservice-sdk/generated/connections/src/apis/ConnectionOperationsApi.ts
|
|
2231
|
-
class ConnectionOperationsApi extends BaseAPI {
|
|
2232
|
-
async apiV1ConnectionsConnectionIdOperationsGetRaw(requestParameters, initOverrides) {
|
|
2233
|
-
if (requestParameters["connectionId"] == null) {
|
|
2234
|
-
throw new RequiredError("connectionId", 'Required parameter "connectionId" was null or undefined when calling apiV1ConnectionsConnectionIdOperationsGet().');
|
|
2235
|
-
}
|
|
2236
|
-
const queryParameters = {};
|
|
2237
|
-
if (requestParameters["allFolders"] != null) {
|
|
2238
|
-
queryParameters["allFolders"] = requestParameters["allFolders"];
|
|
2239
|
-
}
|
|
2240
|
-
const headerParameters = {};
|
|
2241
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
2242
|
-
const token = this.configuration.accessToken;
|
|
2243
|
-
const tokenString = await token("bearerAuth", []);
|
|
2244
|
-
if (tokenString) {
|
|
2245
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
2246
|
-
}
|
|
2247
|
-
}
|
|
2248
|
-
let urlPath = `/api/v1/Connections/{connectionId}/operations`;
|
|
2249
|
-
urlPath = urlPath.replace(`{${"connectionId"}}`, encodeURIComponent(String(requestParameters["connectionId"])));
|
|
2250
|
-
const response = await this.request({
|
|
2251
|
-
path: urlPath,
|
|
2252
|
-
method: "GET",
|
|
2253
|
-
headers: headerParameters,
|
|
2254
|
-
query: queryParameters
|
|
2255
|
-
}, initOverrides);
|
|
2256
|
-
return new JSONApiResponse(response, (jsonValue) => jsonValue.map(EventOperationFromJSON));
|
|
2257
|
-
}
|
|
2258
|
-
async apiV1ConnectionsConnectionIdOperationsGet(requestParameters, initOverrides) {
|
|
2259
|
-
const response = await this.apiV1ConnectionsConnectionIdOperationsGetRaw(requestParameters, initOverrides);
|
|
2260
|
-
return await response.value();
|
|
2261
|
-
}
|
|
2262
|
-
async apiV1ConnectionsConnectionIdOperationsOperationNameObjectsObjectNameEventFieldsGetRaw(requestParameters, initOverrides) {
|
|
2263
|
-
if (requestParameters["connectionId"] == null) {
|
|
2264
|
-
throw new RequiredError("connectionId", 'Required parameter "connectionId" was null or undefined when calling apiV1ConnectionsConnectionIdOperationsOperationNameObjectsObjectNameEventFieldsGet().');
|
|
2265
|
-
}
|
|
2266
|
-
if (requestParameters["operationName"] == null) {
|
|
2267
|
-
throw new RequiredError("operationName", 'Required parameter "operationName" was null or undefined when calling apiV1ConnectionsConnectionIdOperationsOperationNameObjectsObjectNameEventFieldsGet().');
|
|
2268
|
-
}
|
|
2269
|
-
if (requestParameters["objectName"] == null) {
|
|
2270
|
-
throw new RequiredError("objectName", 'Required parameter "objectName" was null or undefined when calling apiV1ConnectionsConnectionIdOperationsOperationNameObjectsObjectNameEventFieldsGet().');
|
|
2271
|
-
}
|
|
2272
|
-
const queryParameters = {};
|
|
2273
|
-
if (requestParameters["allFolders"] != null) {
|
|
2274
|
-
queryParameters["allFolders"] = requestParameters["allFolders"];
|
|
2275
|
-
}
|
|
2276
|
-
const headerParameters = {};
|
|
2277
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
2278
|
-
const token = this.configuration.accessToken;
|
|
2279
|
-
const tokenString = await token("bearerAuth", []);
|
|
2280
|
-
if (tokenString) {
|
|
2281
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
2282
|
-
}
|
|
2283
|
-
}
|
|
2284
|
-
let urlPath = `/api/v1/Connections/{connectionId}/operations/{operationName}/objects/{objectName}/event-fields`;
|
|
2285
|
-
urlPath = urlPath.replace(`{${"connectionId"}}`, encodeURIComponent(String(requestParameters["connectionId"])));
|
|
2286
|
-
urlPath = urlPath.replace(`{${"operationName"}}`, encodeURIComponent(String(requestParameters["operationName"])));
|
|
2287
|
-
urlPath = urlPath.replace(`{${"objectName"}}`, encodeURIComponent(String(requestParameters["objectName"])));
|
|
2288
|
-
const response = await this.request({
|
|
2289
|
-
path: urlPath,
|
|
2290
|
-
method: "GET",
|
|
2291
|
-
headers: headerParameters,
|
|
2292
|
-
query: queryParameters
|
|
2293
|
-
}, initOverrides);
|
|
2294
|
-
return new JSONApiResponse(response, (jsonValue) => jsonValue.map(OperationObjectEventMetadataFieldFromJSON));
|
|
2295
|
-
}
|
|
2296
|
-
async apiV1ConnectionsConnectionIdOperationsOperationNameObjectsObjectNameEventFieldsGet(requestParameters, initOverrides) {
|
|
2297
|
-
const response = await this.apiV1ConnectionsConnectionIdOperationsOperationNameObjectsObjectNameEventFieldsGetRaw(requestParameters, initOverrides);
|
|
2298
|
-
return await response.value();
|
|
2299
|
-
}
|
|
2300
|
-
async apiV1ConnectionsConnectionIdOperationsOperationObjectsGetRaw(requestParameters, initOverrides) {
|
|
2301
|
-
if (requestParameters["connectionId"] == null) {
|
|
2302
|
-
throw new RequiredError("connectionId", 'Required parameter "connectionId" was null or undefined when calling apiV1ConnectionsConnectionIdOperationsOperationObjectsGet().');
|
|
2303
|
-
}
|
|
2304
|
-
if (requestParameters["operation"] == null) {
|
|
2305
|
-
throw new RequiredError("operation", 'Required parameter "operation" was null or undefined when calling apiV1ConnectionsConnectionIdOperationsOperationObjectsGet().');
|
|
2306
|
-
}
|
|
2307
|
-
const queryParameters = {};
|
|
2308
|
-
if (requestParameters["allFolders"] != null) {
|
|
2309
|
-
queryParameters["allFolders"] = requestParameters["allFolders"];
|
|
2310
|
-
}
|
|
2311
|
-
const headerParameters = {};
|
|
2312
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
2313
|
-
const token = this.configuration.accessToken;
|
|
2314
|
-
const tokenString = await token("bearerAuth", []);
|
|
2315
|
-
if (tokenString) {
|
|
2316
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
2317
|
-
}
|
|
2318
|
-
}
|
|
2319
|
-
let urlPath = `/api/v1/Connections/{connectionId}/operations/{operation}/objects`;
|
|
2320
|
-
urlPath = urlPath.replace(`{${"connectionId"}}`, encodeURIComponent(String(requestParameters["connectionId"])));
|
|
2321
|
-
urlPath = urlPath.replace(`{${"operation"}}`, encodeURIComponent(String(requestParameters["operation"])));
|
|
2322
|
-
const response = await this.request({
|
|
2323
|
-
path: urlPath,
|
|
2324
|
-
method: "GET",
|
|
2325
|
-
headers: headerParameters,
|
|
2326
|
-
query: queryParameters
|
|
2327
|
-
}, initOverrides);
|
|
2328
|
-
return new JSONApiResponse(response, (jsonValue) => jsonValue.map(OperationObjectFromJSON));
|
|
2329
|
-
}
|
|
2330
|
-
async apiV1ConnectionsConnectionIdOperationsOperationObjectsGet(requestParameters, initOverrides) {
|
|
2331
|
-
const response = await this.apiV1ConnectionsConnectionIdOperationsOperationObjectsGetRaw(requestParameters, initOverrides);
|
|
2332
|
-
return await response.value();
|
|
2333
|
-
}
|
|
2334
|
-
}
|
|
2335
|
-
|
|
2336
2557
|
// ../integrationservice-sdk/generated/connections/src/apis/SessionsApi.ts
|
|
2337
2558
|
class SessionsApi extends BaseAPI {
|
|
2338
2559
|
async apiV1SessionsSessionIdGetRaw(requestParameters, initOverrides) {
|
|
@@ -6295,7 +6516,6 @@ class ElementsApi extends BaseAPI2 {
|
|
|
6295
6516
|
await this.upsertActivityPackVersionRaw(requestParameters, initOverrides);
|
|
6296
6517
|
}
|
|
6297
6518
|
}
|
|
6298
|
-
|
|
6299
6519
|
// ../integrationservice-sdk/src/client-factory.ts
|
|
6300
6520
|
var API_DOMAIN_MAP = new Map([
|
|
6301
6521
|
[ConnectorsApi, "connections"],
|
|
@@ -6343,7 +6563,6 @@ async function createConnectionsConfig(options) {
|
|
|
6343
6563
|
}, SDK_USER_AGENT)
|
|
6344
6564
|
});
|
|
6345
6565
|
}
|
|
6346
|
-
|
|
6347
6566
|
// ../integrationservice-sdk/src/connection-state.ts
|
|
6348
6567
|
var CONNECTION_STATE_NAMES = new Map([
|
|
6349
6568
|
[ConnectionState.Enabled, "Enabled"],
|
|
@@ -6432,4 +6651,4 @@ export {
|
|
|
6432
6651
|
getConnectionTarget
|
|
6433
6652
|
};
|
|
6434
6653
|
|
|
6435
|
-
//# debugId=
|
|
6654
|
+
//# debugId=7C64C911DAC3432B64756E2164756E21
|
|
@@ -2,12 +2,12 @@ import {
|
|
|
2
2
|
getSdkUserAgentToken,
|
|
3
3
|
addSdkUserAgentHeader,
|
|
4
4
|
installSdkUserAgentHeader
|
|
5
|
-
} from "./tool-
|
|
6
|
-
import"./tool-
|
|
5
|
+
} from "./tool-zmhrvrtj.js";
|
|
6
|
+
import"./tool-bzcphfa8.js";
|
|
7
7
|
import {
|
|
8
8
|
getAuthContext2
|
|
9
|
-
} from "./tool-
|
|
10
|
-
import"./tool-
|
|
9
|
+
} from "./tool-tgahyq1y.js";
|
|
10
|
+
import"./tool-x8dsz8c6.js";
|
|
11
11
|
|
|
12
12
|
// ../admin/identity-sdk/generated/src/runtime.ts
|
|
13
13
|
var BASE_PATH = "https://alpha.uipath.com/identity_".replace(/\/+$/, "");
|
|
@@ -263,7 +263,7 @@ var package_default = {
|
|
|
263
263
|
name: "@uipath/identity-sdk",
|
|
264
264
|
author: "UiPath",
|
|
265
265
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
266
|
-
version: "1.
|
|
266
|
+
version: "1.207.0",
|
|
267
267
|
repository: {
|
|
268
268
|
type: "git",
|
|
269
269
|
url: "https://github.com/UiPath/cli.git",
|
|
@@ -890,4 +890,4 @@ export {
|
|
|
890
890
|
findUsersByEmail
|
|
891
891
|
};
|
|
892
892
|
|
|
893
|
-
//# debugId=
|
|
893
|
+
//# debugId=E9A186586DD118E764756E2164756E21
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
PersonalWorkspacesApi2,
|
|
4
4
|
createOrchestratorConfig2,
|
|
5
5
|
createApiClient3
|
|
6
|
-
} from "./tool-
|
|
7
|
-
import"./tool-
|
|
8
|
-
import"./tool-
|
|
9
|
-
import"./tool-
|
|
10
|
-
import"./tool-
|
|
6
|
+
} from "./tool-4zw4j55j.js";
|
|
7
|
+
import"./tool-zmhrvrtj.js";
|
|
8
|
+
import"./tool-tgahyq1y.js";
|
|
9
|
+
import"./tool-bzcphfa8.js";
|
|
10
|
+
import"./tool-x8dsz8c6.js";
|
|
11
11
|
export {
|
|
12
12
|
FoldersApi2 as FoldersApi,
|
|
13
13
|
PersonalWorkspacesApi2 as PersonalWorkspacesApi,
|
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
SwaggerMcpServersApi2,
|
|
7
7
|
ToolsApi2,
|
|
8
8
|
createApiClient2
|
|
9
|
-
} from "./tool-
|
|
10
|
-
import"./tool-
|
|
11
|
-
import"./tool-
|
|
12
|
-
import"./tool-
|
|
13
|
-
import"./tool-
|
|
9
|
+
} from "./tool-g948yz9q.js";
|
|
10
|
+
import"./tool-zmhrvrtj.js";
|
|
11
|
+
import"./tool-tgahyq1y.js";
|
|
12
|
+
import"./tool-bzcphfa8.js";
|
|
13
|
+
import"./tool-x8dsz8c6.js";
|
|
14
14
|
export {
|
|
15
15
|
McpApi2 as McpApi,
|
|
16
16
|
PlatformApi2 as PlatformApi,
|
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
resolveSessionIdentity2,
|
|
3
3
|
getAuthContext2,
|
|
4
4
|
authenticate2
|
|
5
|
-
} from "./tool-
|
|
6
|
-
import"./tool-
|
|
7
|
-
import"./tool-
|
|
5
|
+
} from "./tool-tgahyq1y.js";
|
|
6
|
+
import"./tool-bzcphfa8.js";
|
|
7
|
+
import"./tool-x8dsz8c6.js";
|
|
8
8
|
export {
|
|
9
9
|
authenticate2 as authenticate,
|
|
10
10
|
getAuthContext2 as getAuthContext,
|
package/dist/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
|
-
import"./tool-
|
|
3
|
-
import"./tool-
|
|
4
|
-
import"./tool-
|
|
5
|
-
import"./tool-
|
|
6
|
-
import"./tool-
|
|
7
|
-
import"./tool-
|
|
2
|
+
import"./tool-4zw4j55j.js";
|
|
3
|
+
import"./tool-zmhrvrtj.js";
|
|
4
|
+
import"./tool-g948yz9q.js";
|
|
5
|
+
import"./tool-bzcphfa8.js";
|
|
6
|
+
import"./tool-tgahyq1y.js";
|
|
7
|
+
import"./tool-x8dsz8c6.js";
|
|
8
8
|
import {
|
|
9
9
|
createStandaloneProgram2
|
|
10
|
-
} from "./tool-
|
|
10
|
+
} from "./tool-5hpqbmpa.js";
|
|
11
11
|
|
|
12
12
|
// src/index.ts
|
|
13
13
|
var program = await createStandaloneProgram2();
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getFileSystem2
|
|
3
|
-
} from "./tool-
|
|
3
|
+
} from "./tool-x8dsz8c6.js";
|
|
4
4
|
import {
|
|
5
5
|
DEFAULT_AUTH_TIMEOUT_MS,
|
|
6
6
|
AUTH_TIMEOUT_ERROR_CODE,
|
|
7
7
|
AUTH_CANCELLED_ERROR_CODE,
|
|
8
8
|
AUTH_RECLAIMED_ERROR_CODE
|
|
9
|
-
} from "./tool-
|
|
9
|
+
} from "./tool-bzcphfa8.js";
|
|
10
10
|
import {
|
|
11
11
|
catchError2
|
|
12
12
|
} from "./tool-xd2w5pct.js";
|