@uipath/integrationservice-sdk 1.199.0 → 1.201.0-preview.115

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.
Files changed (94) hide show
  1. package/dist/generated/connections/src/models/TextBlockMessageSeverity.d.ts +3 -3
  2. package/dist/generated/connections/src/models/TextBlockPosition.d.ts +4 -4
  3. package/dist/generated/elements/src/apis/ElementsApi.d.ts +2 -2
  4. package/dist/generated/elements/src/models/AvailableVersions.d.ts +3 -3
  5. package/dist/generated/elements/src/models/Delete.d.ts +15 -15
  6. package/dist/generated/elements/src/models/DeleteOrBuilder.d.ts +15 -15
  7. package/dist/generated/elements/src/models/EditionDefault.d.ts +9 -9
  8. package/dist/generated/elements/src/models/EditionDefaultOrBuilder.d.ts +9 -9
  9. package/dist/generated/elements/src/models/ElementVersion.d.ts +3 -3
  10. package/dist/generated/elements/src/models/Encoding.d.ts +4 -4
  11. package/dist/generated/elements/src/models/ErrorMessage.d.ts +69 -69
  12. package/dist/generated/elements/src/models/ExtensionRangeOptions.d.ts +2 -2
  13. package/dist/generated/elements/src/models/ExtensionRangeOptionsOrBuilder.d.ts +2 -2
  14. package/dist/generated/elements/src/models/FeatureSet.d.ts +19 -19
  15. package/dist/generated/elements/src/models/FeatureSetOrBuilder.d.ts +19 -19
  16. package/dist/generated/elements/src/models/FieldDescriptor.d.ts +54 -54
  17. package/dist/generated/elements/src/models/FieldDescriptorProto.d.ts +21 -21
  18. package/dist/generated/elements/src/models/FieldDescriptorProtoOrBuilder.d.ts +21 -21
  19. package/dist/generated/elements/src/models/FieldOptions.d.ts +9 -9
  20. package/dist/generated/elements/src/models/FieldOptionsOrBuilder.d.ts +9 -9
  21. package/dist/generated/elements/src/models/FileDescriptor.d.ts +13 -13
  22. package/dist/generated/elements/src/models/FileDescriptorProto.d.ts +9 -9
  23. package/dist/generated/elements/src/models/FileOptions.d.ts +3 -3
  24. package/dist/generated/elements/src/models/FileOptionsOrBuilder.d.ts +3 -3
  25. package/dist/generated/elements/src/models/Get.d.ts +15 -15
  26. package/dist/generated/elements/src/models/GetById.d.ts +15 -15
  27. package/dist/generated/elements/src/models/GetByIdOrBuilder.d.ts +15 -15
  28. package/dist/generated/elements/src/models/GetOrBuilder.d.ts +15 -15
  29. package/dist/generated/elements/src/models/Header.d.ts +1 -1
  30. package/dist/generated/elements/src/models/MethodOptions.d.ts +3 -3
  31. package/dist/generated/elements/src/models/MethodOptionsOrBuilder.d.ts +3 -3
  32. package/dist/generated/elements/src/models/Parameter.d.ts +7 -7
  33. package/dist/generated/elements/src/models/Patch.d.ts +15 -15
  34. package/dist/generated/elements/src/models/PatchOrBuilder.d.ts +15 -15
  35. package/dist/generated/elements/src/models/Post.d.ts +15 -15
  36. package/dist/generated/elements/src/models/PostOrBuilder.d.ts +15 -15
  37. package/dist/generated/elements/src/models/Put.d.ts +15 -15
  38. package/dist/generated/elements/src/models/PutOrBuilder.d.ts +15 -15
  39. package/dist/generated/elements/src/models/RemapConfiguration.d.ts +12 -12
  40. package/dist/generated/elements/src/models/RemapConfigurationOrBuilder.d.ts +12 -12
  41. package/dist/generated/elements/src/models/SecurityScheme.d.ts +8 -8
  42. package/dist/generated/elements/src/models/StandardResource.d.ts +10 -10
  43. package/dist/generated/elements/src/models/StandardResourceBulkTypes.d.ts +4 -4
  44. package/dist/generated/elements/src/models/StandardResourceBulkTypesOrBuilder.d.ts +4 -4
  45. package/dist/generated/elements/src/models/StandardResourceEventTypes.d.ts +3 -3
  46. package/dist/generated/elements/src/models/StandardResourceEventTypesOrBuilder.d.ts +3 -3
  47. package/dist/generated/elements/src/models/StandardResourceField.d.ts +5 -5
  48. package/dist/generated/elements/src/models/StandardResourceFieldDesign.d.ts +4 -4
  49. package/dist/generated/elements/src/models/StandardResourceFieldDesignOrBuilder.d.ts +4 -4
  50. package/dist/generated/elements/src/models/StandardResourceFieldMethodDesign.d.ts +4 -4
  51. package/dist/generated/elements/src/models/StandardResourceFieldMethodDesignOrBuilder.d.ts +4 -4
  52. package/dist/generated/elements/src/models/StandardResourceOutputResponseOption.d.ts +4 -4
  53. package/dist/generated/elements/src/models/StandardResourceOutputResponseOptionOrBuilder.d.ts +4 -4
  54. package/dist/generated/elements/src/models/StandardResourceTextBlock.d.ts +9 -9
  55. package/dist/generated/elements/src/models/StandardResourceTextBlockOrBuilder.d.ts +9 -9
  56. package/dist/generated/elements/src/models/Tenancy.d.ts +5 -5
  57. package/dist/generated/elements/src/models/ValueOrBuilder.d.ts +9 -9
  58. package/dist/index.js +56298 -18136
  59. package/dist/src/connection-state.d.ts +1 -0
  60. package/dist/src/dap/essential-config.d.ts +64 -28
  61. package/dist/src/dap/filter-builder/field-metadata.d.ts +5 -21
  62. package/dist/src/dap/filter-builder/index.d.ts +44 -50
  63. package/dist/src/dap/index.d.ts +1 -9
  64. package/dist/src/dap/input-metadata.d.ts +5 -1
  65. package/dist/src/dap/live-connection-provider.d.ts +11 -0
  66. package/dist/src/dap/types.d.ts +7 -0
  67. package/dist/src/index.d.ts +2 -0
  68. package/package.json +5 -2
  69. package/dist/src/dap/filter-builder/filter-group-operator.d.ts +0 -4
  70. package/dist/src/dap/filter-builder/filter-operator.d.ts +0 -32
  71. package/dist/src/dap/filter-builder/filter-tree.d.ts +0 -12
  72. package/dist/src/dap/filter-builder/filter.d.ts +0 -11
  73. package/dist/src/dap/filter-builder/uuid.d.ts +0 -8
  74. package/dist/src/dap/filter-builder/workflow-value.d.ts +0 -9
  75. package/dist/src/dap/helpers/activity-configuration-extensions.d.ts +0 -21
  76. package/dist/src/dap/helpers/array-extensions.d.ts +0 -8
  77. package/dist/src/dap/helpers/clr-type-mock.d.ts +0 -21
  78. package/dist/src/dap/helpers/configuration-field.d.ts +0 -25
  79. package/dist/src/dap/helpers/constants.d.ts +0 -9
  80. package/dist/src/dap/helpers/enum-item.d.ts +0 -10
  81. package/dist/src/dap/helpers/event-field.d.ts +0 -20
  82. package/dist/src/dap/helpers/exceptions.d.ts +0 -11
  83. package/dist/src/dap/helpers/field-location.d.ts +0 -14
  84. package/dist/src/dap/helpers/field-object-helpers.d.ts +0 -16
  85. package/dist/src/dap/helpers/field-object-type.d.ts +0 -12
  86. package/dist/src/dap/helpers/field-object.d.ts +0 -18
  87. package/dist/src/dap/helpers/field-type-helper.d.ts +0 -9
  88. package/dist/src/dap/helpers/filter-builder/ceql-helper.d.ts +0 -39
  89. package/dist/src/dap/helpers/filter-builder/filter-helper.d.ts +0 -19
  90. package/dist/src/dap/helpers/filter-builder/jmes-helper.d.ts +0 -98
  91. package/dist/src/dap/helpers/mandatory-filter-builder.d.ts +0 -24
  92. package/dist/src/dap/helpers/string-extensions.d.ts +0 -9
  93. package/dist/src/dap/helpers/translation.d.ts +0 -16
  94. package/dist/src/dap/helpers/trim.d.ts +0 -6
@@ -1,18 +0,0 @@
1
- import type { WorkflowValue } from "../filter-builder/workflow-value.js";
2
- import type { FieldObjectType } from "./field-object-type.js";
3
- /**
4
- * Local shim for SW's `FieldObject` (mirrors
5
- * `@sw/.../runtime/models/field-object`). Represents a single field entry on
6
- * an activity's design-time state — keyed by the **sanitized** field id (post
7
- * `NamingHelper.getValidDesignPropertyName`).
8
- *
9
- * Mandatory-filter assembly inspects `type` to keep `FieldArgument` /
10
- * `FieldLiteral` entries (see SW PR #18040 — FieldLiteral was previously
11
- * dropped) and reads `value.value` only when `value.isLiteral` is true.
12
- */
13
- export declare class FieldObject {
14
- readonly id: string;
15
- readonly value: WorkflowValue | null;
16
- readonly type: FieldObjectType;
17
- constructor(id: string, value: WorkflowValue | null, type: FieldObjectType);
18
- }
@@ -1,9 +0,0 @@
1
- /**
2
- * Local shim for SW's `FieldTypeHelper` (mirrors
3
- * `@sw/.../runtime/helpers/field-type-helper`). Only the name-based array
4
- * detection used by `JmesHelper.buildMandatoryFilterExpression` is ported.
5
- */
6
- export declare class FieldTypeHelper {
7
- /** Returns true when the field name carries the `[*]` array marker. */
8
- static isArrayType(name: string): boolean;
9
- }
@@ -1,39 +0,0 @@
1
- /**
2
- * Ported verbatim from Studio Web:
3
- * src/Client/app/packages/connector-activity/is-activities/runtime/helpers/filter-builder/ceql-helper.ts
4
- *
5
- * Only import paths are rewritten to point at local shims / models. Method
6
- * bodies are kept identical to SW. The CLI filter-builder does not currently
7
- * emit CEQL (the JMESPath path is used for triggers); this file is carried
8
- * alongside for parity with SW so future CEQL work can reuse it.
9
- */
10
- import { FilterGroupOperator } from "../../filter-builder/filter-group-operator.js";
11
- import { FilterOperator } from "../../filter-builder/filter-operator.js";
12
- import type { FilterTree } from "../../filter-builder/filter-tree.js";
13
- import { ClrTypeMock } from "../clr-type-mock.js";
14
- /**
15
- * TEMP no-op shim for SW's `ConfigurationField`. The CEQL path is not yet
16
- * used by the CLI filter-builder; this carries just the fields `ceql-helper`
17
- * reads so the verbatim port compiles.
18
- */
19
- export type ConfigurationField = {
20
- id: string;
21
- name: string;
22
- clrType: ClrTypeMock;
23
- enum?: unknown[];
24
- searchableNames?: string[];
25
- mask?: string | null;
26
- };
27
- export declare class CeqlHelper {
28
- static readonly operatorMappings: Map<FilterOperator, string>;
29
- static readonly functionMappings: Map<FilterOperator, string>;
30
- static readonly logicalOperatorMappings: Map<FilterGroupOperator, string>;
31
- static buildCeqlFilterExpression(filters: FilterTree, filterCriteria: ConfigurationField[]): {
32
- ceqlExpression: string;
33
- isLiteral: boolean;
34
- };
35
- private static _composeCeqlPathExpression;
36
- private static _isStringValue;
37
- private static _getCeqlValueFromEnumValue;
38
- private static _composeSingleValueExpression;
39
- }
@@ -1,19 +0,0 @@
1
- /**
2
- * Ported verbatim from Studio Web:
3
- * src/Client/app/packages/connector-activity/is-activities/runtime/helpers/filter-builder/filter-helper.ts
4
- *
5
- * Only the import paths have been rewritten to point at local shims under
6
- * `./` — the method bodies are intentionally kept identical so the CLI and
7
- * SW stay in sync. TEMP no-ops are annotated inline.
8
- */
9
- import type { FilterGroupOperator } from "../../filter-builder/filter-group-operator.js";
10
- import type { WorkflowValue } from "../../filter-builder/workflow-value.js";
11
- import { ClrTypeMock } from "../clr-type-mock.js";
12
- export declare class FilterHelper {
13
- static supportsNumericFilter(type: ClrTypeMock): boolean;
14
- static serializeDateTimeOffset(value: unknown | null, _mask: string | null): string;
15
- static aggregateExpressions(expressions: string[], op: FilterGroupOperator, transformer: (input: string) => string, isGroup: boolean, logicalOperators: Map<FilterGroupOperator, string>): string;
16
- static resolveValuesCollection(value: WorkflowValue | null): unknown[];
17
- static convertCollectionToStringExpression(values: unknown[], quoteType?: string): string;
18
- static convertValueToStringExpression(value: unknown, quoteType?: string): string | null;
19
- }
@@ -1,98 +0,0 @@
1
- /**
2
- * Ported verbatim from Studio Web:
3
- * src/Client/app/packages/connector-activity/is-activities/runtime/helpers/filter-builder/jmes-helper.ts
4
- *
5
- * Only import paths are rewritten to local shims / models. Method bodies are
6
- * kept identical to SW so the two implementations produce byte-identical
7
- * JMESPath output. TEMP no-ops are annotated inline in their respective shims
8
- * (`addExpressionWrapper`, `FilterHelper.serializeDateTimeOffset`, `EventField.createFreeform`).
9
- */
10
- import { FilterGroupOperator } from "../../filter-builder/filter-group-operator.js";
11
- import { FilterOperator } from "../../filter-builder/filter-operator.js";
12
- import type { FilterTree } from "../../filter-builder/filter-tree.js";
13
- import type { WorkflowValue } from "../../filter-builder/workflow-value.js";
14
- import { ClrTypeMock } from "../clr-type-mock.js";
15
- import type { ConfigurationField } from "../configuration-field.js";
16
- import { EventField } from "../event-field.js";
17
- import { type TranslationConfiguration } from "../translation.js";
18
- /**
19
- * Options controlling how {@link JmesHelper.buildFilterExpression} handles filter rows whose
20
- * field name is not present in the supplied event-field schema.
21
- */
22
- type BuildFilterExpressionOptions = {
23
- /**
24
- * When true, a missing event-field is treated as a synthesized string-typed freeform field
25
- * rather than throwing {@link ArgumentNullException}. This is the mode used by connectors
26
- * that declare `hasStaticLeftOperandFilterBuilder` — they ship no schema and let the user
27
- * type the left-operand field name directly.
28
- */
29
- allowFreeformFields?: boolean;
30
- };
31
- export declare class JmesHelper {
32
- static readonly operatorMappings: Map<FilterOperator, string>;
33
- static readonly functionMappings: Map<FilterOperator, string>;
34
- static readonly logicalOperatorMappings: Map<FilterGroupOperator, string>;
35
- /**
36
- * Builds the mandatory filter JMES expression for trigger inputs that participate in event matching.
37
- * Array-shaped fields (name contains `[*]`) are routed through {@link composeArrayJmesPathExpression}
38
- * so curated event fields like `ParentFolders[*].ID` emit filter-projection syntax
39
- * (`ParentFolders[?ID=='INBOX']`) instead of an invalid scalar comparison.
40
- *
41
- * Mandatory values may be non-literal (workflow expressions). Non-literal RHS is wrapped via
42
- * {@link addExpressionWrapper} and embedded in JMES as a single-quoted string — same shape as
43
- * {@link composeJmesPathExpression}. The returned `isLiteral` flag is `false` whenever any
44
- * scalar entry is non-literal, so callers can decide whether to wrap the combined expression in
45
- * a runtime template literal.
46
- */
47
- static buildMandatoryFilterExpression(fieldArguments: Map<ConfigurationField, WorkflowValue>, translationConfiguration?: TranslationConfiguration): {
48
- jmesExpression: string;
49
- isLiteral: boolean;
50
- };
51
- /**
52
- * Format a literal scalar value as a JMES expression fragment.
53
- * Boolean and numeric types use backtick-wrapped JSON literals so JMES compares against the
54
- * underlying primitive; everything else falls back to single-quoted strings.
55
- * DateTimeOffset is handled by callers that also rewrite the LHS with `to_number(...)`.
56
- */
57
- private static readonly _booleanType;
58
- /**
59
- * Format a literal scalar value as a JMES expression fragment.
60
- * Boolean and numeric types use backtick-wrapped JSON literals so JMES compares against the
61
- * underlying primitive; everything else falls back to single-quoted strings.
62
- * DateTimeOffset is handled by callers that also rewrite the LHS with `to_number(...)`.
63
- */
64
- private static _formatLiteral;
65
- /** Convert the filter tree to JMES string */
66
- static buildFilterExpression(filters: FilterTree, filterCriteria: EventField[], translationConfiguration?: TranslationConfiguration, options?: BuildFilterExpressionOptions): {
67
- jmesExpression: string;
68
- isLiteral: boolean;
69
- };
70
- /**
71
- * Builds the JMES fragments for a single group's filters. Rows whose field name is missing
72
- * in the supplied schema are either synthesized as freeform string fields (when
73
- * `allowFreeformFields` is on) or rejected via {@link ArgumentNullException}. Rows without
74
- * an operator or without an id are skipped — these represent UI-only in-progress rows that
75
- * must not appear in the persisted expression.
76
- */
77
- private static _buildGroupConditions;
78
- /** Converts a filter field to a corresponding JMESPath expression. */
79
- private static _buildJmesPathExpression;
80
- /** Compose an array filter for In/NotIn. */
81
- static composeArrayInExpression(field: string, values: unknown[], isNumeric: boolean, negate: boolean): string;
82
- static composeArrayJmesPathExpression(field: string, op: FilterOperator, value: unknown | null, fieldType: ClrTypeMock, mask?: string | null): string;
83
- private static _composeArrayExpression;
84
- static is(field: string, value: boolean): string;
85
- static isNot(field: string, value: boolean): string;
86
- static isEmpty(field: string): string;
87
- static isNotEmpty(field: string): string;
88
- static isOneOf(field: string, values: unknown[], isNumeric: boolean): string;
89
- static isNotOneOf(field: string, values: unknown[], isNumeric: boolean): string;
90
- private static _toJsonArray;
91
- static composeJmesPathExpression(field: string, op: FilterOperator, value: WorkflowValue | null, fieldType: ClrTypeMock, mask?: string | null, translationConfiguration?: TranslationConfiguration): string;
92
- private static _composeSingleValueExpression;
93
- static aggregateExpressions(expressions: string[], op: FilterGroupOperator): string;
94
- static aggregateExpressionGroup(expressions: string[], op: FilterGroupOperator): string;
95
- static aggregateFinalExpressions(expressions: string[], op: FilterGroupOperator): string;
96
- private static _getSubExpression;
97
- }
98
- export {};
@@ -1,24 +0,0 @@
1
- /**
2
- * Ported from Studio Web:
3
- * src/Client/app/packages/connector-activity/is-activities/design-time/view-models/connector-trigger-view-model.ts
4
- * `_setMandatoryFilterExpression()`
5
- *
6
- * SW's caller is an instance method on `ConnectorTriggerViewModel`; the CLI
7
- * has no view-model layer, so the body is exposed as a free function with the
8
- * inputs (`mandatoryFields`, `fieldObjects`) lifted to parameters. The lookup
9
- * + literal-acceptance semantics are kept identical so future CLI callers
10
- * inherit the SW PR #18040 fix.
11
- */
12
- import type { ConfigurationField } from "./configuration-field.js";
13
- import type { FieldObject } from "./field-object.js";
14
- /**
15
- * Build the trigger's mandatory-filter JMES expression, or `null` when no
16
- * mandatory field resolves to a value.
17
- *
18
- * Mirrors SW `_setMandatoryFilterExpression` (post PR #18081):
19
- * - looks up `FieldObject` by sanitized `field.id` (not raw `field.name`);
20
- * - accepts `FieldArgument` and `FieldLiteral`, skips `FieldExpression`;
21
- * - passes `WorkflowValue` objects to `JmesHelper.buildMandatoryFilterExpression`,
22
- * which handles both literal values and workflow expressions.
23
- */
24
- export declare function buildMandatoryFilterExpression(mandatoryFields: readonly ConfigurationField[], fieldObjects: readonly FieldObject[]): string | null;
@@ -1,9 +0,0 @@
1
- /**
2
- * Local shim for SW's `StringExtensions`. Covers only the members the
3
- * filter-builder helpers use. Mirrors `@sw/.../extension-methods/string-extensions`.
4
- */
5
- export declare class StringExtensions {
6
- static readonly empty = "";
7
- static isNullOrEmpty(s: string | null | undefined): boolean;
8
- static isNullOrWhiteSpace(s: string | null | undefined): boolean;
9
- }
@@ -1,16 +0,0 @@
1
- /**
2
- * Shims for SW translation utilities (ported for PR #18081 support):
3
- * - `TranslationConfiguration` from `@uipath/studio-web-unified-build`
4
- * - `addExpressionWrapper` from `@sw/translation/translators/utils-translators`
5
- *
6
- * Post PR #18081, the CLI filter-builder supports non-literal (workflow expression)
7
- * values in mandatory filters, which require wrapping for runtime template literal
8
- * substitution.
9
- */
10
- export type TranslationConfiguration = unknown;
11
- /**
12
- * Wrap a workflow expression for runtime template literal evaluation.
13
- * SW's real implementation uses translator-specific syntax; the CLI default
14
- * matches SW's template-literal format: `${expression}`.
15
- */
16
- export declare function addExpressionWrapper(value: string | undefined, _translationConfiguration?: TranslationConfiguration): string;
@@ -1,6 +0,0 @@
1
- /**
2
- * Local shim for `lodash-es`'s `trim(string, chars)` — avoids pulling lodash
3
- * into the SDK bundle. Strips any leading/trailing occurrence of any character
4
- * in `chars`; if `chars` is omitted, trims whitespace like native `String.trim`.
5
- */
6
- export declare function trim(value: string, chars?: string): string;