@uipath/agent-tool 1.202.0 → 1.203.0-preview.160
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/THIRD-PARTY-NOTICES.md +41 -28
- package/dist/{agent-tool-OK5DK57D-zkbmhnmd.js → agent-tool-OK5DK57D-rjan4r3q.js} +2 -2
- package/dist/{de-5KVP66U6-1bnf4zt5.js → de-MUJPA4EB-209jpeqe.js} +14 -2
- package/dist/{index-4vpac2gy.js → embedded-file-reader-0sjt4nkj.js} +96 -17497
- package/dist/{en-X3S6IZ5J-nhkg6pwn.js → en-GN2ZGWUE-03z2df4k.js} +26 -2
- package/dist/{es-VFPNVMP5-bx2c337j.js → es-7SE7HX2X-qda7whn6.js} +14 -2
- package/dist/{es-MX-XAVLOQW3-q00km2y7.js → es-MX-2MYFZU7X-6v0q5rbn.js} +14 -2
- package/dist/executor-tool.js +2 -2
- package/dist/first-party-service-srxaftkn.js +27 -0
- package/dist/{fr-E5MDO4EG-c3mkty2t.js → fr-MDFKNZ4C-qmypp92m.js} +14 -2
- package/dist/index-kmp9fmhb.js +25 -0
- package/dist/index-s1mvhfbj.js +17598 -0
- package/dist/index.js +5 -5
- package/dist/{ja-DPO5PPLO-mysfmznx.js → ja-UTQEAP34-hvyf683h.js} +14 -2
- package/dist/{ko-ITOPNIYI-hmxd2asd.js → ko-AXCHW2OK-pkwdcbmx.js} +14 -2
- package/dist/{packager-tool-a42jnpy5.js → packager-tool-4mna26cc.js} +27 -3
- package/dist/packager-tool-53w8skv5.js +262 -0
- package/dist/packager-tool-abj3ftf8.js +1751 -0
- package/dist/{packager-tool-pst3whq5.js → packager-tool-byvnxap3.js} +1 -1
- package/dist/{packager-tool-wmd0pbnz.js → packager-tool-g5g8vyx2.js} +466 -2217
- package/dist/packager-tool-gdtpsdn7.js +342 -0
- package/dist/{packager-tool-0srzfhdr.js → packager-tool-mc1499dc.js} +2 -2
- package/dist/{packager-tool-p1yrrbpt.js → packager-tool-tnz82jk0.js} +301 -35
- package/dist/packager-tool.js +3 -3
- package/dist/{pt-YI4VE4YQ-wdkn2dcf.js → pt-3DIO5QWG-hb763vct.js} +14 -2
- package/dist/{pt-BR-BXURWX4W-bwfcwhk1.js → pt-BR-Y6K6XHXK-37a932vp.js} +14 -2
- package/dist/{ro-RKXZUG7Z-nndrrsq7.js → ro-BWR3ONRR-jmap5ajd.js} +14 -2
- package/dist/tool.js +5 -5
- package/dist/{tr-AA6O2WSR-86ba4bdf.js → tr-5IIHSFW5-stsb3dar.js} +14 -2
- package/dist/{zh-CN-R2KLHXQV-agqr45ds.js → zh-CN-R2KU4U5L-q4yhc33t.js} +14 -2
- package/dist/{zh-TW-RJGCQANM-w0x3qc1p.js → zh-TW-GNKMELBF-r4ay2475.js} +14 -2
- package/package.json +3 -2
- package/dist/packager-tool-kpf6eryr.js +0 -4241
package/dist/index.js
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import {
|
|
3
3
|
metadata,
|
|
4
4
|
registerCommands
|
|
5
|
-
} from "./packager-tool-
|
|
6
|
-
import"./packager-tool-
|
|
5
|
+
} from "./packager-tool-g5g8vyx2.js";
|
|
6
|
+
import"./packager-tool-4mna26cc.js";
|
|
7
7
|
import"./packager-tool-c23zrhj8.js";
|
|
8
|
-
import"./packager-tool-
|
|
8
|
+
import"./packager-tool-abj3ftf8.js";
|
|
9
9
|
import {
|
|
10
10
|
Command
|
|
11
|
-
} from "./packager-tool-
|
|
12
|
-
import"./packager-tool-
|
|
11
|
+
} from "./packager-tool-tnz82jk0.js";
|
|
12
|
+
import"./packager-tool-mc1499dc.js";
|
|
13
13
|
import"./packager-tool-b098y4a2.js";
|
|
14
14
|
import"./packager-tool-1yh8g550.js";
|
|
15
15
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import"./packager-tool-c23zrhj8.js";
|
|
2
2
|
import"./packager-tool-1yh8g550.js";
|
|
3
3
|
|
|
4
|
-
// ../../node_modules/@uipath/flow-schema/dist/ja-
|
|
4
|
+
// ../../node_modules/@uipath/flow-schema/dist/ja-UTQEAP34.js
|
|
5
5
|
var agentDuplicateToolNames_duplicateName_message = "ツール名「{{name}}」は、このエージェントの複数のツールで使用されています。各ツールには一意の名前が必要です。";
|
|
6
6
|
var agentEmptyVar_unwrittenVariable_message = "エージェントは「$vars.{{root}}」を使用しますが、どのノードも「{{root}}」に値を代入しないため、実行時には空になります。ノードの出力 (例: コネクタの「<node>.output」) にバインドするか、値のソースを指定してください。";
|
|
7
7
|
var agentInputRefs_ambiguousUnderscoreRoot_message = "プロンプトは「$vars.{{ref}}」を参照しますが、「{{rootSegment}}」という名前には「__」が含まれています。これはエージェント入力のエンコード区切り文字として予約されており、ラウンドトリップできません。名前を変更して 2 つのアンダースコアを削除してください。";
|
|
@@ -26,7 +26,11 @@ var dataTransform_mapNoMappings_message = "「{{nodeLabel}}」のマッピング
|
|
|
26
26
|
var dataTransform_missingCollection_message = "「{{nodeLabel}}」にコレクション変数がありません。";
|
|
27
27
|
var dataTransform_noOperations_message = "「{{nodeLabel}}」に演算が設定されていません。";
|
|
28
28
|
var doWhile_limitOutOfRange_message = "最大の反復処理回数を {{min}} から {{max}} 回の間に設定します。";
|
|
29
|
+
var entityQuery_emptyFilterExpression_message = "すべてのフィルターに式を記述するか、フィルターを削除してください。";
|
|
30
|
+
var entityQuery_emptyFilterValueList_message = "フィルターに少なくとも 1 つの値を追加するか、フィルターを削除してください。";
|
|
31
|
+
var entityQuery_uncarryableExpression_message = "この式は、変数に格納するか、スペース、引用符、バックスラッシュなしで記述します。";
|
|
29
32
|
var escalation_appRequired_message = "アクション アプリを選択";
|
|
33
|
+
var escalation_memoryArgumentRequired_message = "{{label}}: エージェント メモリに少なくとも 1 つの引数を追加するか、エージェント メモリをオフにしてください。";
|
|
30
34
|
var escalation_nameRequired_message = "{{label}}: エスカレーション名は必須です。";
|
|
31
35
|
var escalation_quickFormDuplicateFieldLabel_message = "{{label}}: 複数のフィールドに「{{fieldLabel}}」というラベルが付けられています。— エスカレーション タスクではそのうちの 1 つのみが保持されます。フィールドのラベルを一意にしてください。";
|
|
32
36
|
var escalation_recipientRequired_message = "{{label}}: エスカレーションの受信者は必須です。";
|
|
@@ -77,7 +81,11 @@ var ja_default = {
|
|
|
77
81
|
dataTransform_missingCollection_message,
|
|
78
82
|
dataTransform_noOperations_message,
|
|
79
83
|
doWhile_limitOutOfRange_message,
|
|
84
|
+
entityQuery_emptyFilterExpression_message,
|
|
85
|
+
entityQuery_emptyFilterValueList_message,
|
|
86
|
+
entityQuery_uncarryableExpression_message,
|
|
80
87
|
escalation_appRequired_message,
|
|
88
|
+
escalation_memoryArgumentRequired_message,
|
|
81
89
|
escalation_nameRequired_message,
|
|
82
90
|
escalation_quickFormDuplicateFieldLabel_message,
|
|
83
91
|
escalation_recipientRequired_message,
|
|
@@ -130,7 +138,11 @@ export {
|
|
|
130
138
|
dataTransform_noOperations_message,
|
|
131
139
|
ja_default as default,
|
|
132
140
|
doWhile_limitOutOfRange_message,
|
|
141
|
+
entityQuery_emptyFilterExpression_message,
|
|
142
|
+
entityQuery_emptyFilterValueList_message,
|
|
143
|
+
entityQuery_uncarryableExpression_message,
|
|
133
144
|
escalation_appRequired_message,
|
|
145
|
+
escalation_memoryArgumentRequired_message,
|
|
134
146
|
escalation_nameRequired_message,
|
|
135
147
|
escalation_quickFormDuplicateFieldLabel_message,
|
|
136
148
|
escalation_recipientRequired_message,
|
|
@@ -158,4 +170,4 @@ export {
|
|
|
158
170
|
triggerRequired_message
|
|
159
171
|
};
|
|
160
172
|
|
|
161
|
-
//# debugId=
|
|
173
|
+
//# debugId=9E5BAF7E0A2D50CD64756E2164756E21
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import"./packager-tool-c23zrhj8.js";
|
|
2
2
|
import"./packager-tool-1yh8g550.js";
|
|
3
3
|
|
|
4
|
-
// ../../node_modules/@uipath/flow-schema/dist/ko-
|
|
4
|
+
// ../../node_modules/@uipath/flow-schema/dist/ko-AXCHW2OK.js
|
|
5
5
|
var agentDuplicateToolNames_duplicateName_message = '도구 이름 "{{name}}" 이 에이전트의 여러 도구에서 사용됩니다. 각 도구에는 고유한 이름이 있어야 합니다.';
|
|
6
6
|
var agentEmptyVar_unwrittenVariable_message = '에이전트가 <$vars.{{root}}> "{{root}}"에 값을 할당하는 노드가 없으므로 런타임에 비어 있습니다. 노드 출력에 바인딩합니다(예: 커넥터의 "<node>.출력")에 값 소스를 제공하십시오.';
|
|
7
7
|
var agentInputRefs_ambiguousUnderscoreRoot_message = '프롬프트 참조 "$vars.{{ref}}", 하지만 이름 "{{rootSegment}}"에 "__"이(가) 포함되어 있으며, 이는 에이전트 입력 인코딩 구분자로 예약되어 있으므로 왕복할 수 없습니다. 이중 밑줄을 제거하려면 이름을 바꿉니다.';
|
|
@@ -26,7 +26,11 @@ var dataTransform_mapNoMappings_message = '원본 필드가 유지되지 않을
|
|
|
26
26
|
var dataTransform_missingCollection_message = '"{{nodeLabel}}"에 컬렉션 변수가 누락되었습니다';
|
|
27
27
|
var dataTransform_noOperations_message = '"{{nodeLabel}}"에 구성된 작업이 없습니다';
|
|
28
28
|
var doWhile_limitOutOfRange_message = "{{min}}과(와) {{max}}사이에서 최대 반복 설정";
|
|
29
|
+
var entityQuery_emptyFilterExpression_message = "모든 필터에 대한 표현식을 작성하거나 필터를 제거합니다.";
|
|
30
|
+
var entityQuery_emptyFilterValueList_message = "필터에 하나 이상의 값을 추가하거나 필터를 제거합니다.";
|
|
31
|
+
var entityQuery_uncarryableExpression_message = "이 표현식을 변수에 저장하거나 공백, 따옴표 또는 백슬래시 없이 작성하십시오.";
|
|
29
32
|
var escalation_appRequired_message = "액션 앱 선택";
|
|
33
|
+
var escalation_memoryArgumentRequired_message = "{{label}}: 에이전트 메모리에 대한 인수를 하나 이상 추가하거나 에이전트 메모리를 끕니다";
|
|
30
34
|
var escalation_nameRequired_message = "{{label}}: 에스컬레이션 이름은 필수입니다";
|
|
31
35
|
var escalation_quickFormDuplicateFieldLabel_message = '{{label}}: 여러 필드에 "{{fieldLabel}}"(이)라는 레이블이 지정되어 있습니다 — 에스컬레이션 태스크에서는 그 중 하나만 유지합니다. 필드 레이블을 고유하게 설정하십시오';
|
|
32
36
|
var escalation_recipientRequired_message = "{{label}}: 에스컬레이션 수신자는 필수입니다";
|
|
@@ -77,7 +81,11 @@ var ko_default = {
|
|
|
77
81
|
dataTransform_missingCollection_message,
|
|
78
82
|
dataTransform_noOperations_message,
|
|
79
83
|
doWhile_limitOutOfRange_message,
|
|
84
|
+
entityQuery_emptyFilterExpression_message,
|
|
85
|
+
entityQuery_emptyFilterValueList_message,
|
|
86
|
+
entityQuery_uncarryableExpression_message,
|
|
80
87
|
escalation_appRequired_message,
|
|
88
|
+
escalation_memoryArgumentRequired_message,
|
|
81
89
|
escalation_nameRequired_message,
|
|
82
90
|
escalation_quickFormDuplicateFieldLabel_message,
|
|
83
91
|
escalation_recipientRequired_message,
|
|
@@ -130,7 +138,11 @@ export {
|
|
|
130
138
|
dataTransform_noOperations_message,
|
|
131
139
|
ko_default as default,
|
|
132
140
|
doWhile_limitOutOfRange_message,
|
|
141
|
+
entityQuery_emptyFilterExpression_message,
|
|
142
|
+
entityQuery_emptyFilterValueList_message,
|
|
143
|
+
entityQuery_uncarryableExpression_message,
|
|
133
144
|
escalation_appRequired_message,
|
|
145
|
+
escalation_memoryArgumentRequired_message,
|
|
134
146
|
escalation_nameRequired_message,
|
|
135
147
|
escalation_quickFormDuplicateFieldLabel_message,
|
|
136
148
|
escalation_recipientRequired_message,
|
|
@@ -158,4 +170,4 @@ export {
|
|
|
158
170
|
triggerRequired_message
|
|
159
171
|
};
|
|
160
172
|
|
|
161
|
-
//# debugId=
|
|
173
|
+
//# debugId=8624A61FDC9042EE64756E2164756E21
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
// ../../node_modules/@uipath/flow-schema/dist/chunk-
|
|
1
|
+
// ../../node_modules/@uipath/flow-schema/dist/chunk-Y2ZHTUIR.js
|
|
2
2
|
var agentDuplicateToolNames_duplicateName_message = 'Tool name "{{name}}" is used by multiple tools on this agent. Each tool must have a unique name.';
|
|
3
3
|
var agentEmptyVar_unwrittenVariable_message = `Agent uses "$vars.{{root}}" but no node assigns a value to "{{root}}", so it will be empty at runtime. Bind it to a node output (e.g. a connector's "<node>.output") or give it a value source.`;
|
|
4
|
+
var agentFileNotAnalyzed_unconsumedFileVar_message = 'Agent uses the file variable "$vars.{{path}}" in its prompt, but it has no tool that can read files, so the agent gets only the file reference and not its contents. Add a file-reading tool such as Analyze Files.';
|
|
4
5
|
var agentInputRefs_ambiguousUnderscoreRoot_message = 'Prompt references "$vars.{{ref}}", but the name "{{rootSegment}}" contains "__", which is reserved as the agent-input encoding separator and cannot round-trip. Rename it to remove the double underscore.';
|
|
5
6
|
var agentInputRefs_reservedMetadataRoot_message = 'Prompt references "$vars.{{ref}}", but a variable or node named "metadata" collides with the "$metadata" namespace once serialized for the agent and cannot round-trip. Rename it to something other than "metadata".';
|
|
6
7
|
var agentInputRefs_reservedNamespace_message = '"$agent.{{ref}}" is a Flow-internal agent-runtime namespace and cannot be used directly in prompts. Reference the flow variable via "$vars.{{ref}}" or "$metadata.{{ref}}" instead.';
|
|
@@ -9,6 +10,8 @@ var conditionExpression_decisionWrapped_message = 'Invalid condition on "{{nodeL
|
|
|
9
10
|
var conditionExpression_incomplete_message = "Incomplete expression";
|
|
10
11
|
var conditionExpression_invalid_message = "Invalid expression";
|
|
11
12
|
var conditionExpression_required_message = "Add a condition";
|
|
13
|
+
var conversationalRequired_contextRequired_message = "{{label}}: Conversation context is required";
|
|
14
|
+
var conversationalRequired_conversationIdRequired_message = "{{label}}: Conversation ID is required";
|
|
12
15
|
var conversationalVoiceEndCall_callContextInvalid_message = "{{label}}: Call context must be bound to a call context object";
|
|
13
16
|
var conversationalVoice_callContextInvalid_message = "{{label}}: Call context must be bound to a call context object";
|
|
14
17
|
var conversationalVoice_callContextRequired_message = "{{label}}: Call context is required when voice is enabled";
|
|
@@ -23,6 +26,15 @@ var dataTransform_mapNoMappings_message = '"{{nodeLabel}}" map operation needs a
|
|
|
23
26
|
var dataTransform_missingCollection_message = '"{{nodeLabel}}" is missing a collection variable';
|
|
24
27
|
var dataTransform_noOperations_message = '"{{nodeLabel}}" has no operations configured';
|
|
25
28
|
var doWhile_limitOutOfRange_message = "Set maximum iterations between {{min}} and {{max}}";
|
|
29
|
+
var entityQuery_emptyFilterExpression_message = "Write an expression for every filter, or remove the filter";
|
|
30
|
+
var entityQuery_emptyFilterValueList_message = "Add at least one value to the filter, or remove the filter";
|
|
31
|
+
var entityQuery_incompleteSingleRecordRow_message = "Select a field and enter a value";
|
|
32
|
+
var entityQuery_uncarryableExpression_message = "Store this expression in a variable, or write it without spaces, quotes, or backslashes";
|
|
33
|
+
var entityQuery_uncarryableRelationPath_message = "{{path}} cannot be used as written. Remove any spaces, quotes or backslashes from the column name.";
|
|
34
|
+
var entityQuery_unfilteredSingleRecord_message = "Add a condition, or read multiple records instead";
|
|
35
|
+
var entityQuery_unresolvedRelation_message = "{{path}} is no longer available. Pick a field on this entity or one of its direct relations.";
|
|
36
|
+
var entityWrite_requiredFieldBlanked_message = "Set a value for {{fields}}, or remove them from the update";
|
|
37
|
+
var entityWrite_requiredFieldMissing_message = "Set a value for {{fields}}";
|
|
26
38
|
var escalation_appRequired_message = "Select an action app";
|
|
27
39
|
var escalation_memoryArgumentRequired_message = "{{label}}: Add at least one argument for agent memory, or turn agent memory off";
|
|
28
40
|
var escalation_nameRequired_message = "{{label}}: Escalation name is required";
|
|
@@ -53,6 +65,7 @@ var triggerRequired_message = "Process must have at least one trigger node";
|
|
|
53
65
|
var en_default = {
|
|
54
66
|
agentDuplicateToolNames_duplicateName_message,
|
|
55
67
|
agentEmptyVar_unwrittenVariable_message,
|
|
68
|
+
agentFileNotAnalyzed_unconsumedFileVar_message,
|
|
56
69
|
agentInputRefs_ambiguousUnderscoreRoot_message,
|
|
57
70
|
agentInputRefs_reservedMetadataRoot_message,
|
|
58
71
|
agentInputRefs_reservedNamespace_message,
|
|
@@ -61,6 +74,8 @@ var en_default = {
|
|
|
61
74
|
conditionExpression_incomplete_message,
|
|
62
75
|
conditionExpression_invalid_message,
|
|
63
76
|
conditionExpression_required_message,
|
|
77
|
+
conversationalRequired_contextRequired_message,
|
|
78
|
+
conversationalRequired_conversationIdRequired_message,
|
|
64
79
|
conversationalVoiceEndCall_callContextInvalid_message,
|
|
65
80
|
conversationalVoice_callContextInvalid_message,
|
|
66
81
|
conversationalVoice_callContextRequired_message,
|
|
@@ -75,6 +90,15 @@ var en_default = {
|
|
|
75
90
|
dataTransform_missingCollection_message,
|
|
76
91
|
dataTransform_noOperations_message,
|
|
77
92
|
doWhile_limitOutOfRange_message,
|
|
93
|
+
entityQuery_emptyFilterExpression_message,
|
|
94
|
+
entityQuery_emptyFilterValueList_message,
|
|
95
|
+
entityQuery_incompleteSingleRecordRow_message,
|
|
96
|
+
entityQuery_uncarryableExpression_message,
|
|
97
|
+
entityQuery_uncarryableRelationPath_message,
|
|
98
|
+
entityQuery_unfilteredSingleRecord_message,
|
|
99
|
+
entityQuery_unresolvedRelation_message,
|
|
100
|
+
entityWrite_requiredFieldBlanked_message,
|
|
101
|
+
entityWrite_requiredFieldMissing_message,
|
|
78
102
|
escalation_appRequired_message,
|
|
79
103
|
escalation_memoryArgumentRequired_message,
|
|
80
104
|
escalation_nameRequired_message,
|
|
@@ -104,6 +128,6 @@ var en_default = {
|
|
|
104
128
|
triggerRequired_message
|
|
105
129
|
};
|
|
106
130
|
|
|
107
|
-
export { agentDuplicateToolNames_duplicateName_message, agentEmptyVar_unwrittenVariable_message, agentInputRefs_ambiguousUnderscoreRoot_message, agentInputRefs_reservedMetadataRoot_message, agentInputRefs_reservedNamespace_message, agentInputRefs_unresolvedRef_message, conditionExpression_decisionWrapped_message, conditionExpression_incomplete_message, conditionExpression_invalid_message, conditionExpression_required_message, conversationalVoiceEndCall_callContextInvalid_message, conversationalVoice_callContextInvalid_message, conversationalVoice_callContextRequired_message, dataTransform_customScriptMissing_message, dataTransform_filterMissingField_message, dataTransform_filterNoConditions_message, dataTransform_groupByAggMissingField_message, dataTransform_groupByAggMissingOutputName_message, dataTransform_groupByMissingField_message, dataTransform_mapMissingField_message, dataTransform_mapNoMappings_message, dataTransform_missingCollection_message, dataTransform_noOperations_message, doWhile_limitOutOfRange_message, escalation_appRequired_message, escalation_memoryArgumentRequired_message, escalation_nameRequired_message, escalation_quickFormDuplicateFieldLabel_message, escalation_recipientRequired_message, governance_hitlRequired_message, governance_maxIterationsExceeded_message, governance_maxTokensExceeded_message, governance_modelNotAvailable_message, governance_noAllowedModel_message, governance_temperatureExceeded_message, hitlQuickForm_emptySchema_message, hitlQuickForm_fieldLabelRequired_message, ixpSchemaDraft_invalidWithDetail_message, ixpSchemaDraft_invalid_message, outputMapping_missing_message, schemaValidator_genericKeyword_message, schemaValidator_invalidEnum_message, schemaValidator_invalidField_message, schemaValidator_invalidPattern_message, schemaValidator_outOfRange_message, schemaValidator_required_message, schemaValidator_typeMismatch_message, schemaValidator_validation_genericError, scriptBody_mustache_message, singleConversationTrigger_message, triggerRequired_message, en_default };
|
|
131
|
+
export { agentDuplicateToolNames_duplicateName_message, agentEmptyVar_unwrittenVariable_message, agentFileNotAnalyzed_unconsumedFileVar_message, agentInputRefs_ambiguousUnderscoreRoot_message, agentInputRefs_reservedMetadataRoot_message, agentInputRefs_reservedNamespace_message, agentInputRefs_unresolvedRef_message, conditionExpression_decisionWrapped_message, conditionExpression_incomplete_message, conditionExpression_invalid_message, conditionExpression_required_message, conversationalRequired_contextRequired_message, conversationalRequired_conversationIdRequired_message, conversationalVoiceEndCall_callContextInvalid_message, conversationalVoice_callContextInvalid_message, conversationalVoice_callContextRequired_message, dataTransform_customScriptMissing_message, dataTransform_filterMissingField_message, dataTransform_filterNoConditions_message, dataTransform_groupByAggMissingField_message, dataTransform_groupByAggMissingOutputName_message, dataTransform_groupByMissingField_message, dataTransform_mapMissingField_message, dataTransform_mapNoMappings_message, dataTransform_missingCollection_message, dataTransform_noOperations_message, doWhile_limitOutOfRange_message, entityQuery_emptyFilterExpression_message, entityQuery_emptyFilterValueList_message, entityQuery_incompleteSingleRecordRow_message, entityQuery_uncarryableExpression_message, entityQuery_uncarryableRelationPath_message, entityQuery_unfilteredSingleRecord_message, entityQuery_unresolvedRelation_message, entityWrite_requiredFieldBlanked_message, entityWrite_requiredFieldMissing_message, escalation_appRequired_message, escalation_memoryArgumentRequired_message, escalation_nameRequired_message, escalation_quickFormDuplicateFieldLabel_message, escalation_recipientRequired_message, governance_hitlRequired_message, governance_maxIterationsExceeded_message, governance_maxTokensExceeded_message, governance_modelNotAvailable_message, governance_noAllowedModel_message, governance_temperatureExceeded_message, hitlQuickForm_emptySchema_message, hitlQuickForm_fieldLabelRequired_message, ixpSchemaDraft_invalidWithDetail_message, ixpSchemaDraft_invalid_message, outputMapping_missing_message, schemaValidator_genericKeyword_message, schemaValidator_invalidEnum_message, schemaValidator_invalidField_message, schemaValidator_invalidPattern_message, schemaValidator_outOfRange_message, schemaValidator_required_message, schemaValidator_typeMismatch_message, schemaValidator_validation_genericError, scriptBody_mustache_message, singleConversationTrigger_message, triggerRequired_message, en_default };
|
|
108
132
|
|
|
109
|
-
//# debugId=
|
|
133
|
+
//# debugId=BE545CD8F58A275064756E2164756E21
|
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
// ../../node_modules/@uipath/resource-builder-sdk/dist/clients/generated/first-party-service.js
|
|
2
|
+
var first_party_service_DeploymentAction = /* @__PURE__ */ function(DeploymentAction) {
|
|
3
|
+
DeploymentAction["Install"] = "Install";
|
|
4
|
+
DeploymentAction["Link"] = "Link";
|
|
5
|
+
DeploymentAction["Uninstall"] = "Uninstall";
|
|
6
|
+
DeploymentAction["Unlink"] = "Unlink";
|
|
7
|
+
DeploymentAction["Merge"] = "Merge";
|
|
8
|
+
DeploymentAction["UseExisting"] = "UseExisting";
|
|
9
|
+
DeploymentAction["Activate"] = "Activate";
|
|
10
|
+
return DeploymentAction;
|
|
11
|
+
}({});
|
|
12
|
+
var first_party_service_SolutionDeploymentAction = /* @__PURE__ */ function(SolutionDeploymentAction) {
|
|
13
|
+
SolutionDeploymentAction["Install"] = "Install";
|
|
14
|
+
SolutionDeploymentAction["Uninstall"] = "Uninstall";
|
|
15
|
+
SolutionDeploymentAction["Upgrade"] = "Upgrade";
|
|
16
|
+
SolutionDeploymentAction["Rollback"] = "Rollback";
|
|
17
|
+
SolutionDeploymentAction["Activate"] = "Activate";
|
|
18
|
+
return SolutionDeploymentAction;
|
|
19
|
+
}({});
|
|
20
|
+
var first_party_service_SolutionStatus = /* @__PURE__ */ function(SolutionStatus) {
|
|
21
|
+
SolutionStatus["Installed"] = "Installed";
|
|
22
|
+
SolutionStatus["Uninstalled"] = "Uninstalled";
|
|
23
|
+
SolutionStatus["Installing"] = "Installing";
|
|
24
|
+
SolutionStatus["Uninstalling"] = "Uninstalling";
|
|
25
|
+
SolutionStatus["InstallError"] = "InstallError";
|
|
26
|
+
SolutionStatus["UninstallError"] = "UninstallError";
|
|
27
|
+
SolutionStatus["Unknown"] = "Unknown";
|
|
28
|
+
return SolutionStatus;
|
|
29
|
+
}({});
|
|
30
|
+
var first_party_service_QueryOptions = /* @__PURE__ */ function(QueryOptions) {
|
|
31
|
+
QueryOptions["Contains"] = "Contains";
|
|
32
|
+
QueryOptions["Equals"] = "Equals";
|
|
33
|
+
return QueryOptions;
|
|
34
|
+
}({});
|
|
35
|
+
var first_party_service_DeploymentResourceValidationErrorLevel = /* @__PURE__ */ function(DeploymentResourceValidationErrorLevel) {
|
|
36
|
+
DeploymentResourceValidationErrorLevel["Error"] = "Error";
|
|
37
|
+
DeploymentResourceValidationErrorLevel["Warning"] = "Warning";
|
|
38
|
+
DeploymentResourceValidationErrorLevel["Info"] = "Info";
|
|
39
|
+
return DeploymentResourceValidationErrorLevel;
|
|
40
|
+
}({});
|
|
41
|
+
var first_party_service_DeploymentResourceValidationErrorKind = /* @__PURE__ */ function(DeploymentResourceValidationErrorKind) {
|
|
42
|
+
DeploymentResourceValidationErrorKind["Conflict"] = "Conflict";
|
|
43
|
+
DeploymentResourceValidationErrorKind["ConfigurationError"] = "ConfigurationError";
|
|
44
|
+
return DeploymentResourceValidationErrorKind;
|
|
45
|
+
}({});
|
|
46
|
+
var first_party_service_DeploymentResourceValidationAction = /* @__PURE__ */ function(DeploymentResourceValidationAction) {
|
|
47
|
+
DeploymentResourceValidationAction["RenameExisting"] = "RenameExisting";
|
|
48
|
+
DeploymentResourceValidationAction["RenameInSolution"] = "RenameInSolution";
|
|
49
|
+
DeploymentResourceValidationAction["UseExisting"] = "UseExisting";
|
|
50
|
+
DeploymentResourceValidationAction["FixConfiguration"] = "FixConfiguration";
|
|
51
|
+
DeploymentResourceValidationAction["Delete"] = "Delete";
|
|
52
|
+
DeploymentResourceValidationAction["SkipDelete"] = "SkipDelete";
|
|
53
|
+
DeploymentResourceValidationAction["MergeConfiguration"] = "MergeConfiguration";
|
|
54
|
+
DeploymentResourceValidationAction["Replace"] = "Replace";
|
|
55
|
+
return DeploymentResourceValidationAction;
|
|
56
|
+
}({});
|
|
57
|
+
var first_party_service_ContentType = /* @__PURE__ */ function(ContentType) {
|
|
58
|
+
ContentType["Json"] = "application/json";
|
|
59
|
+
ContentType["JsonApi"] = "application/vnd.api+json";
|
|
60
|
+
ContentType["FormData"] = "multipart/form-data";
|
|
61
|
+
ContentType["UrlEncoded"] = "application/x-www-form-urlencoded";
|
|
62
|
+
ContentType["Text"] = "text/plain";
|
|
63
|
+
return ContentType;
|
|
64
|
+
}({});
|
|
65
|
+
|
|
66
|
+
class HttpClient {
|
|
67
|
+
encodeQueryParam(key, value) {
|
|
68
|
+
const encodedKey = encodeURIComponent(key);
|
|
69
|
+
return `${encodedKey}=${encodeURIComponent(typeof value == "number" ? value : `${value}`)}`;
|
|
70
|
+
}
|
|
71
|
+
addQueryParam(query, key) {
|
|
72
|
+
return this.encodeQueryParam(key, query[key]);
|
|
73
|
+
}
|
|
74
|
+
addArrayQueryParam(query, key) {
|
|
75
|
+
const value = query[key];
|
|
76
|
+
return value.map((v) => this.encodeQueryParam(key, v)).join("&");
|
|
77
|
+
}
|
|
78
|
+
toQueryString(rawQuery) {
|
|
79
|
+
const query = rawQuery || {};
|
|
80
|
+
const keys = Object.keys(query).filter((key) => query[key] !== undefined);
|
|
81
|
+
return keys.map((key) => Array.isArray(query[key]) ? this.addArrayQueryParam(query, key) : this.addQueryParam(query, key)).join("&");
|
|
82
|
+
}
|
|
83
|
+
addQueryParams(rawQuery) {
|
|
84
|
+
const queryString = this.toQueryString(rawQuery);
|
|
85
|
+
return queryString ? `?${queryString}` : "";
|
|
86
|
+
}
|
|
87
|
+
mergeRequestParams(params1, params2) {
|
|
88
|
+
return {
|
|
89
|
+
...this.baseApiParams,
|
|
90
|
+
...params1,
|
|
91
|
+
...params2 || {},
|
|
92
|
+
headers: {
|
|
93
|
+
...this.baseApiParams.headers || {},
|
|
94
|
+
...params1.headers || {},
|
|
95
|
+
...params2 && params2.headers || {}
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
constructor(apiConfig = {}) {
|
|
100
|
+
this.baseUrl = "https://localhost:7008";
|
|
101
|
+
this.securityData = null;
|
|
102
|
+
this.abortControllers = new Map;
|
|
103
|
+
this.customFetch = (...fetchParams) => fetch(...fetchParams);
|
|
104
|
+
this.baseApiParams = {
|
|
105
|
+
credentials: "same-origin",
|
|
106
|
+
headers: {},
|
|
107
|
+
redirect: "follow",
|
|
108
|
+
referrerPolicy: "no-referrer"
|
|
109
|
+
};
|
|
110
|
+
this.setSecurityData = (data) => {
|
|
111
|
+
this.securityData = data;
|
|
112
|
+
};
|
|
113
|
+
this.contentFormatters = {
|
|
114
|
+
["application/json"]: (input) => input !== null && (typeof input == "object" || typeof input == "string") ? JSON.stringify(input) : input,
|
|
115
|
+
["application/vnd.api+json"]: (input) => input !== null && (typeof input == "object" || typeof input == "string") ? JSON.stringify(input) : input,
|
|
116
|
+
["text/plain"]: (input) => input !== null && typeof input != "string" ? JSON.stringify(input) : input,
|
|
117
|
+
["multipart/form-data"]: (input) => {
|
|
118
|
+
if (input instanceof FormData)
|
|
119
|
+
return input;
|
|
120
|
+
return Object.keys(input || {}).reduce((formData, key) => {
|
|
121
|
+
const property = input[key];
|
|
122
|
+
formData.append(key, property instanceof Blob ? property : typeof property == "object" && property !== null ? JSON.stringify(property) : `${property}`);
|
|
123
|
+
return formData;
|
|
124
|
+
}, new FormData);
|
|
125
|
+
},
|
|
126
|
+
["application/x-www-form-urlencoded"]: (input) => this.toQueryString(input)
|
|
127
|
+
};
|
|
128
|
+
this.createAbortSignal = (cancelToken) => {
|
|
129
|
+
if (this.abortControllers.has(cancelToken)) {
|
|
130
|
+
const abortController2 = this.abortControllers.get(cancelToken);
|
|
131
|
+
if (abortController2)
|
|
132
|
+
return abortController2.signal;
|
|
133
|
+
return;
|
|
134
|
+
}
|
|
135
|
+
const abortController = new AbortController;
|
|
136
|
+
this.abortControllers.set(cancelToken, abortController);
|
|
137
|
+
return abortController.signal;
|
|
138
|
+
};
|
|
139
|
+
this.abortRequest = (cancelToken) => {
|
|
140
|
+
const abortController = this.abortControllers.get(cancelToken);
|
|
141
|
+
if (abortController) {
|
|
142
|
+
abortController.abort();
|
|
143
|
+
this.abortControllers.delete(cancelToken);
|
|
144
|
+
}
|
|
145
|
+
};
|
|
146
|
+
this.request = async ({ body, secure, path, type, query, format, baseUrl, cancelToken, ...params }) => {
|
|
147
|
+
const secureParams = (typeof secure == "boolean" ? secure : this.baseApiParams.secure) && this.securityWorker && await this.securityWorker(this.securityData) || {};
|
|
148
|
+
const requestParams = this.mergeRequestParams(params, secureParams);
|
|
149
|
+
const queryString = query && this.toQueryString(query);
|
|
150
|
+
const payloadFormatter = this.contentFormatters[type || "application/json"];
|
|
151
|
+
const responseFormat = format || requestParams.format;
|
|
152
|
+
return this.customFetch(`${baseUrl || this.baseUrl || ""}${path}${queryString ? `?${queryString}` : ""}`, {
|
|
153
|
+
...requestParams,
|
|
154
|
+
headers: {
|
|
155
|
+
...requestParams.headers || {},
|
|
156
|
+
...type && type !== "multipart/form-data" ? {
|
|
157
|
+
"Content-Type": type
|
|
158
|
+
} : {}
|
|
159
|
+
},
|
|
160
|
+
signal: (cancelToken ? this.createAbortSignal(cancelToken) : requestParams.signal) || null,
|
|
161
|
+
body: body == null ? null : payloadFormatter(body)
|
|
162
|
+
}).then(async (response) => {
|
|
163
|
+
const r = response;
|
|
164
|
+
r.data = null;
|
|
165
|
+
r.error = null;
|
|
166
|
+
const responseToParse = responseFormat ? response.clone() : response;
|
|
167
|
+
const data = responseFormat ? await responseToParse[responseFormat]().then((data2) => {
|
|
168
|
+
if (r.ok)
|
|
169
|
+
r.data = data2;
|
|
170
|
+
else
|
|
171
|
+
r.error = data2;
|
|
172
|
+
return r;
|
|
173
|
+
}).catch((e) => {
|
|
174
|
+
r.error = e;
|
|
175
|
+
return r;
|
|
176
|
+
}) : r;
|
|
177
|
+
if (cancelToken)
|
|
178
|
+
this.abortControllers.delete(cancelToken);
|
|
179
|
+
if (!response.ok)
|
|
180
|
+
throw data;
|
|
181
|
+
return data.data;
|
|
182
|
+
});
|
|
183
|
+
};
|
|
184
|
+
Object.assign(this, apiConfig);
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
class FirstPartyServiceApi extends HttpClient {
|
|
189
|
+
constructor(...args) {
|
|
190
|
+
super(...args), this.v2 = {
|
|
191
|
+
automationSolutionsGetMetadata: (params = {}) => this.request({
|
|
192
|
+
path: "/v2/automationsolutions/metadata",
|
|
193
|
+
method: "GET",
|
|
194
|
+
...params
|
|
195
|
+
}),
|
|
196
|
+
automationSolutionsHeadMetadata: (params = {}) => this.request({
|
|
197
|
+
path: "/v2/automationsolutions/metadata",
|
|
198
|
+
method: "HEAD",
|
|
199
|
+
...params
|
|
200
|
+
}),
|
|
201
|
+
automationSolutionsSetState: (data, query, params = {}) => this.request({
|
|
202
|
+
path: "/v2/automationsolutions",
|
|
203
|
+
method: "PATCH",
|
|
204
|
+
query,
|
|
205
|
+
body: data,
|
|
206
|
+
type: "application/json",
|
|
207
|
+
...params
|
|
208
|
+
}),
|
|
209
|
+
automationSolutionsInstall: (data, query, params = {}) => this.request({
|
|
210
|
+
path: "/v2/automationsolutions",
|
|
211
|
+
method: "PUT",
|
|
212
|
+
query,
|
|
213
|
+
body: data,
|
|
214
|
+
format: "json",
|
|
215
|
+
...params
|
|
216
|
+
}),
|
|
217
|
+
automationSolutionsUninstall: (data, query, params = {}) => this.request({
|
|
218
|
+
path: "/v2/automationsolutions",
|
|
219
|
+
method: "DELETE",
|
|
220
|
+
query,
|
|
221
|
+
body: data,
|
|
222
|
+
type: "application/json",
|
|
223
|
+
format: "json",
|
|
224
|
+
...params
|
|
225
|
+
}),
|
|
226
|
+
automationSolutionsExport: (data, params = {}) => this.request({
|
|
227
|
+
path: "/v2/automationsolutions/export",
|
|
228
|
+
method: "POST",
|
|
229
|
+
body: data,
|
|
230
|
+
type: "application/json",
|
|
231
|
+
format: "json",
|
|
232
|
+
...params
|
|
233
|
+
}),
|
|
234
|
+
automationSolutionsGetTranslations: (query, params = {}) => this.request({
|
|
235
|
+
path: "/v2/automationsolutions/translations",
|
|
236
|
+
method: "GET",
|
|
237
|
+
query,
|
|
238
|
+
format: "json",
|
|
239
|
+
...params
|
|
240
|
+
}),
|
|
241
|
+
automationSolutionsValidate: (data, query, params = {}) => this.request({
|
|
242
|
+
path: "/v2/automationsolutions/validate",
|
|
243
|
+
method: "POST",
|
|
244
|
+
query,
|
|
245
|
+
body: data,
|
|
246
|
+
type: "application/json",
|
|
247
|
+
format: "json",
|
|
248
|
+
...params
|
|
249
|
+
}),
|
|
250
|
+
automationSolutionsLookup: (query, params = {}) => this.request({
|
|
251
|
+
path: "/v2/automationsolutions/lookup",
|
|
252
|
+
method: "GET",
|
|
253
|
+
query,
|
|
254
|
+
format: "json",
|
|
255
|
+
...params
|
|
256
|
+
})
|
|
257
|
+
};
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
export { first_party_service_DeploymentAction, first_party_service_SolutionDeploymentAction, first_party_service_SolutionStatus, first_party_service_QueryOptions, first_party_service_DeploymentResourceValidationErrorLevel, first_party_service_DeploymentResourceValidationErrorKind, first_party_service_DeploymentResourceValidationAction, first_party_service_ContentType, HttpClient, FirstPartyServiceApi };
|
|
261
|
+
|
|
262
|
+
//# debugId=AC88CC622210E15664756E2164756E21
|