diff --git a/src/applySchemaTyping.ts b/src/applySchemaTyping.ts new file mode 100644 index 00000000..491d3569 --- /dev/null +++ b/src/applySchemaTyping.ts @@ -0,0 +1,51 @@ +import type {LinkedJSONSchema} from './types/JSONSchema' +import {Intersection, Parent, Types} from './types/JSONSchema' +import {typesOfSchema} from './typesOfSchema' + +export function applySchemaTyping(schema: LinkedJSONSchema) { + const types = typesOfSchema(schema) + + Object.defineProperty(schema, Types, { + enumerable: false, + value: types, + writable: false, + }) + + if (types.size === 1) { + return + } + + // Some schemas can be understood as multiple possible types (see related + // comment in `typesOfSchema.ts`). In such cases, we generate an `ALL_OF` + // intersection that will ultimately be used to generate a union type. + // + // The original schema's name, title, and description are hoisted to the + // new intersection schema to prevent duplication. + // + // If the original schema also contained its own `ALL_OF` property, it is + // also hoiested to the new intersection schema. + const intersection = { + [Parent]: schema, + [Types]: new Set(['ALL_OF']), + $id: schema.$id, + description: schema.description, + name: schema.name, + title: schema.title, + allOf: schema.allOf ?? [], + required: [], + additionalProperties: false, + } + + types.delete('ALL_OF') + delete schema.allOf + delete schema.$id + delete schema.description + delete schema.name + delete schema.title + + Object.defineProperty(schema, Intersection, { + enumerable: false, + value: intersection, + writable: false, + }) +} diff --git a/src/normalizer.ts b/src/normalizer.ts index 157d97f2..2d0d534d 100644 --- a/src/normalizer.ts +++ b/src/normalizer.ts @@ -1,6 +1,7 @@ import {JSONSchemaTypeName, LinkedJSONSchema, NormalizedJSONSchema, Parent} from './types/JSONSchema' import {appendToDescription, escapeBlockComment, isSchemaLike, justName, toSafeString, traverse} from './utils' import {Options} from './' +import {applySchemaTyping} from './applySchemaTyping' import {DereferencedPaths} from './resolver' import {isDeepStrictEqual} from 'util' @@ -231,6 +232,22 @@ rules.set('Add tsEnumNames to enum types', (schema, _, options) => { } }) +// Precalculation of the schema types is necessary because the ALL_OF type +// is implemented in a way that mutates the schema object. Detection of the +// NAMED_SCHEMA type relies on the presence of the $id property, which is +// hoisted to a parent schema object during the ALL_OF type implementation, +// and becomes unavailable if the same schema is used in multiple places. +// +// Precalculation of the `ALL_OF` intersection schema is necessary because +// the intersection schema needs to participate in the schema cache during +// the parsing step, so it cannot be re-calculated every time the schema +// is encountered. +rules.set('Pre-calculate schema types and intersections', schema => { + if (schema !== null && typeof schema === 'object') { + applySchemaTyping(schema) + } +}) + export function normalize( rootSchema: LinkedJSONSchema, dereferencedPaths: DereferencedPaths, diff --git a/src/parser.ts b/src/parser.ts index 22e585ac..92acdeb3 100644 --- a/src/parser.ts +++ b/src/parser.ts @@ -2,31 +2,19 @@ import {JSONSchema4Type, JSONSchema4TypeName} from 'json-schema' import {findKey, includes, isPlainObject, map, memoize, omit} from 'lodash' import {format} from 'util' import {Options} from './' -import {typesOfSchema} from './typesOfSchema' -import { - AST, - T_ANY, - T_ANY_ADDITIONAL_PROPERTIES, - TInterface, - TInterfaceParam, - TNamedInterface, - TTuple, - T_UNKNOWN, - T_UNKNOWN_ADDITIONAL_PROPERTIES, - TIntersection, -} from './types/AST' -import { +import {applySchemaTyping} from './applySchemaTyping' +import type {AST, TInterface, TInterfaceParam, TIntersection, TNamedInterface, TTuple} from './types/AST' +import {T_ANY, T_ANY_ADDITIONAL_PROPERTIES, T_UNKNOWN, T_UNKNOWN_ADDITIONAL_PROPERTIES} from './types/AST' +import type { EnumJSONSchema, - getRootSchema, - isBoolean, - isPrimitive, JSONSchemaWithDefinitions, + LinkedJSONSchema, NormalizedJSONSchema, - Parent, SchemaSchema, SchemaType, } from './types/JSONSchema' -import {generateName, log, maybeStripDefault, maybeStripNameHints} from './utils' +import {Intersection, Types, getRootSchema, isBoolean, isPrimitive} from './types/JSONSchema' +import {generateName, log, maybeStripDefault} from './utils' export type Processed = Map> @@ -47,40 +35,28 @@ export function parse( return parseLiteral(schema, keyName) } - const types = typesOfSchema(schema) - if (types.length === 1) { - const ast = parseAsTypeWithCache(schema, types[0], options, keyName, processed, usedNames) - log('blue', 'parser', 'Types:', types, 'Input:', schema, 'Output:', ast) + const intersection = schema[Intersection] + const types = schema[Types] + + if (intersection) { + const ast = parseAsTypeWithCache(intersection, 'ALL_OF', options, keyName, processed, usedNames) as TIntersection + + types.forEach(type => { + ast.params.push(parseAsTypeWithCache(schema, type, options, keyName, processed, usedNames)) + }) + + log('blue', 'parser', 'Types:', [...types], 'Input:', schema, 'Output:', ast) return ast } - // Be careful to first process the intersection before processing its params, - // so that it gets first pick for standalone name. - const ast = parseAsTypeWithCache( - { - [Parent]: schema[Parent], - $id: schema.$id, - additionalProperties: schema.additionalProperties, - allOf: [], - description: schema.description, - required: schema.required, - title: schema.title, - }, - 'ALL_OF', - options, - keyName, - processed, - usedNames, - ) as TIntersection - - ast.params = types.map(type => - // We hoist description (for comment) and id/title (for standaloneName) - // to the parent intersection type, so we remove it from the children. - parseAsTypeWithCache(maybeStripNameHints(schema), type, options, keyName, processed, usedNames), - ) - - log('blue', 'parser', 'Types:', types, 'Input:', schema, 'Output:', ast) - return ast + if (types.size === 1) { + const type = [...types][0] + const ast = parseAsTypeWithCache(schema, type, options, keyName, processed, usedNames) + log('blue', 'parser', 'Type:', type, 'Input:', schema, 'Output:', ast) + return ast + } + + throw new ReferenceError('Expected intersection schema. Please file an issue on GitHub.') } function parseAsTypeWithCache( @@ -293,13 +269,10 @@ function parseNonLiteral( keyName, standaloneName: standaloneName(schema, keyNameFromDefinition, usedNames, options), params: (schema.type as JSONSchema4TypeName[]).map(type => { - const member: NormalizedJSONSchema = { - ...omit(schema, '$id', 'description', 'title'), - type, - additionalProperties: schema.additionalProperties, - required: schema.required, - } - return parse(maybeStripDefault(member as any), options, undefined, processed, usedNames) + const member: LinkedJSONSchema = {...omit(schema, '$id', 'description', 'title'), type} + maybeStripDefault(member) + applySchemaTyping(member) + return parse(member, options, undefined, processed, usedNames) }), type: 'UNION', } diff --git a/src/types/JSONSchema.ts b/src/types/JSONSchema.ts index f9be9524..d4552f11 100644 --- a/src/types/JSONSchema.ts +++ b/src/types/JSONSchema.ts @@ -70,13 +70,18 @@ export interface LinkedJSONSchema extends JSONSchema { not?: LinkedJSONSchema } +export const Types = Symbol('Types') +export const Intersection = Symbol('Intersection') + /** * Normalized JSON schema. * * Note: `definitions` and `id` are removed by the normalizer. Use `$defs` and `$id` instead. */ export interface NormalizedJSONSchema extends Omit { + [Intersection]?: NormalizedJSONSchema [Parent]: NormalizedJSONSchema | null + [Types]: ReadonlySet additionalItems?: boolean | NormalizedJSONSchema additionalProperties: boolean | NormalizedJSONSchema diff --git a/src/typesOfSchema.ts b/src/typesOfSchema.ts index 7ba3f5d5..2d8b31be 100644 --- a/src/typesOfSchema.ts +++ b/src/typesOfSchema.ts @@ -9,26 +9,26 @@ import {isCompound, JSONSchema, SchemaType} from './types/JSONSchema' * types). The spec leaves it up to implementations to decide what to do with this * loosely-defined behavior. */ -export function typesOfSchema(schema: JSONSchema): readonly [SchemaType, ...SchemaType[]] { +export function typesOfSchema(schema: JSONSchema): Set { // tsType is an escape hatch that supercedes all other directives if (schema.tsType) { - return ['CUSTOM_TYPE'] + return new Set(['CUSTOM_TYPE']) } // Collect matched types - const matchedTypes: SchemaType[] = [] + const matchedTypes = new Set() for (const [schemaType, f] of Object.entries(matchers)) { if (f(schema)) { - matchedTypes.push(schemaType as SchemaType) + matchedTypes.add(schemaType as SchemaType) } } // Default to an unnamed schema - if (!matchedTypes.length) { - return ['UNNAMED_SCHEMA'] + if (!matchedTypes.size) { + matchedTypes.add('UNNAMED_SCHEMA') } - return matchedTypes as [SchemaType, ...SchemaType[]] + return matchedTypes } const matchers: Record boolean> = { diff --git a/src/utils.ts b/src/utils.ts index 9e26a35a..a91fc887 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -1,6 +1,6 @@ import {deburr, isPlainObject, trim, upperFirst} from 'lodash' import {basename, dirname, extname, normalize, sep, posix} from 'path' -import {JSONSchema, LinkedJSONSchema, NormalizedJSONSchema, Parent} from './types/JSONSchema' +import {Intersection, JSONSchema, LinkedJSONSchema, NormalizedJSONSchema, Parent} from './types/JSONSchema' import {JSONSchema4} from 'json-schema' import yaml from 'js-yaml' @@ -71,6 +71,26 @@ function traverseArray( arr.forEach((s, k) => traverse(s, callback, processed, k.toString())) } +function traverseIntersection( + schema: LinkedJSONSchema, + callback: (schema: LinkedJSONSchema, key: string | null) => void, + processed: Set, +) { + if (typeof schema !== 'object' || !schema) { + return + } + + const r = schema as unknown as Record + const intersection = r[Intersection] as NormalizedJSONSchema | undefined + if (!intersection) { + return + } + + if (Array.isArray(intersection.allOf)) { + traverseArray(intersection.allOf, callback, processed) + } +} + export function traverse( schema: LinkedJSONSchema, callback: (schema: LinkedJSONSchema, key: string | null) => void, @@ -130,6 +150,7 @@ export function traverse( if (schema.not) { traverse(schema.not, callback, processed) } + traverseIntersection(schema, callback, processed) // technically you can put definitions on any key Object.keys(schema) @@ -331,26 +352,6 @@ export function maybeStripDefault(schema: LinkedJSONSchema): LinkedJSONSchema { return schema } -/** - * Removes the schema's `$id`, `name`, and `description` properties - * if they exist. - * Useful when parsing intersections. - * - * Mutates `schema`. - */ -export function maybeStripNameHints(schema: NormalizedJSONSchema): NormalizedJSONSchema { - if ('$id' in schema) { - delete schema.$id - } - if ('description' in schema) { - delete schema.description - } - if ('name' in schema) { - delete schema.name - } - return schema -} - export function appendToDescription(existingDescription: string | undefined, ...values: string[]): string { if (existingDescription) { return `${existingDescription}\n\n${values.join('\n')}` diff --git a/test/__snapshots__/test/test.ts.md b/test/__snapshots__/test/test.ts.md index 0991ab2b..f47c43a5 100644 --- a/test/__snapshots__/test/test.ts.md +++ b/test/__snapshots__/test/test.ts.md @@ -1288,15 +1288,16 @@ Generated by [AVA](https://avajs.dev). * and run json-schema-to-typescript to regenerate this file.␊ */␊ ␊ - export type Intersection = (A & B) & {␊ - c: string;␊ - d: string;␊ - /**␊ - * This interface was referenced by \`undefined\`'s JSON-Schema definition␊ - * via the \`patternProperty\` "^x-".␊ - */␊ - [k: string]: unknown;␊ - };␊ + export type Intersection = A &␊ + B & {␊ + c: string;␊ + d: string;␊ + /**␊ + * This interface was referenced by \`undefined\`'s JSON-Schema definition␊ + * via the \`patternProperty\` "^x-".␊ + */␊ + [k: string]: unknown;␊ + };␊ ␊ export interface A {␊ a?: string;␊ @@ -1319,31 +1320,32 @@ Generated by [AVA](https://avajs.dev). * and run json-schema-to-typescript to regenerate this file.␊ */␊ ␊ - export type Parameter = Parameter1 & {␊ - name: string;␊ - in: string;␊ - description?: string;␊ - required?: boolean;␊ - deprecated?: boolean;␊ - allowEmptyValue?: boolean;␊ - style?: string;␊ - explode?: boolean;␊ - allowReserved?: boolean;␊ - schema?: Schema | Reference;␊ - content?: {␊ - [k: string]: MediaType;␊ - };␊ - example?: unknown;␊ - examples?: {␊ - [k: string]: Example | Reference;␊ + export type Parameter = ExampleXORExamples &␊ + SchemaXORContent &␊ + ParameterLocation & {␊ + name: string;␊ + in: string;␊ + description?: string;␊ + required?: boolean;␊ + deprecated?: boolean;␊ + allowEmptyValue?: boolean;␊ + style?: string;␊ + explode?: boolean;␊ + allowReserved?: boolean;␊ + schema?: Schema | Reference;␊ + content?: {␊ + [k: string]: MediaType;␊ + };␊ + example?: unknown;␊ + examples?: {␊ + [k: string]: Example | Reference;␊ + };␊ + /**␊ + * This interface was referenced by \`undefined\`'s JSON-Schema definition␊ + * via the \`patternProperty\` "^x-".␊ + */␊ + [k: string]: unknown;␊ };␊ - /**␊ - * This interface was referenced by \`undefined\`'s JSON-Schema definition␊ - * via the \`patternProperty\` "^x-".␊ - */␊ - [k: string]: unknown;␊ - };␊ - export type Parameter1 = ExampleXORExamples & SchemaXORContent & ParameterLocation;␊ /**␊ * Schema and content are mutually exclusive, at least one is required␊ */␊ @@ -1375,7 +1377,7 @@ Generated by [AVA](https://avajs.dev). style?: "form";␊ [k: string]: unknown;␊ };␊ - export type MediaType = MediaType1 & {␊ + export type MediaType = ExampleXORExamples & {␊ schema?: Schema | Reference;␊ example?: unknown;␊ examples?: {␊ @@ -1390,30 +1392,29 @@ Generated by [AVA](https://avajs.dev). */␊ [k: string]: unknown;␊ };␊ - export type MediaType1 = ExampleXORExamples;␊ - export type Header = Header1 & {␊ - description?: string;␊ - required?: boolean;␊ - deprecated?: boolean;␊ - allowEmptyValue?: boolean;␊ - style?: "simple";␊ - explode?: boolean;␊ - allowReserved?: boolean;␊ - schema?: Schema | Reference;␊ - content?: {␊ - [k: string]: MediaType1;␊ - };␊ - example?: unknown;␊ - examples?: {␊ - [k: string]: Example | Reference;␊ + export type Header = ExampleXORExamples &␊ + SchemaXORContent & {␊ + description?: string;␊ + required?: boolean;␊ + deprecated?: boolean;␊ + allowEmptyValue?: boolean;␊ + style?: "simple";␊ + explode?: boolean;␊ + allowReserved?: boolean;␊ + schema?: Schema | Reference;␊ + content?: {␊ + [k: string]: MediaType;␊ + };␊ + example?: unknown;␊ + examples?: {␊ + [k: string]: Example | Reference;␊ + };␊ + /**␊ + * This interface was referenced by \`undefined\`'s JSON-Schema definition␊ + * via the \`patternProperty\` "^x-".␊ + */␊ + [k: string]: unknown;␊ };␊ - /**␊ - * This interface was referenced by \`undefined\`'s JSON-Schema definition␊ - * via the \`patternProperty\` "^x-".␊ - */␊ - [k: string]: unknown;␊ - };␊ - export type Header1 = ExampleXORExamples & SchemaXORContent;␊ export type SecurityScheme =␊ | APIKeySecurityScheme␊ | HTTPSecurityScheme␊ @@ -1660,7 +1661,7 @@ Generated by [AVA](https://avajs.dev). description?: string;␊ externalDocs?: ExternalDocumentation;␊ operationId?: string;␊ - parameters?: (Parameter1 | Reference)[];␊ + parameters?: (Parameter | Reference)[];␊ requestBody?: RequestBody | Reference;␊ responses: Responses;␊ callbacks?: {␊ @@ -1678,7 +1679,7 @@ Generated by [AVA](https://avajs.dev). export interface RequestBody {␊ description?: string;␊ content: {␊ - [k: string]: MediaType1;␊ + [k: string]: MediaType;␊ };␊ required?: boolean;␊ /**␊ @@ -1693,10 +1694,10 @@ Generated by [AVA](https://avajs.dev). export interface Response {␊ description: string;␊ headers?: {␊ - [k: string]: Header1 | Reference;␊ + [k: string]: Header | Reference;␊ };␊ content?: {␊ - [k: string]: MediaType1;␊ + [k: string]: MediaType;␊ };␊ links?: {␊ [k: string]: Link | Reference;␊ @@ -1745,7 +1746,7 @@ Generated by [AVA](https://avajs.dev). * This interface was referenced by \`undefined\`'s JSON-Schema definition␊ * via the \`patternProperty\` "^[a-zA-Z0-9\\.\\-_]+$".␊ */␊ - [k: string]: Reference | Parameter1;␊ + [k: string]: Reference | Parameter;␊ };␊ examples?: {␊ /**␊ @@ -1766,7 +1767,7 @@ Generated by [AVA](https://avajs.dev). * This interface was referenced by \`undefined\`'s JSON-Schema definition␊ * via the \`patternProperty\` "^[a-zA-Z0-9\\.\\-_]+$".␊ */␊ - [k: string]: Reference | Header1;␊ + [k: string]: Reference | Header;␊ };␊ securitySchemes?: {␊ /**␊ @@ -1888,6 +1889,87 @@ Generated by [AVA](https://avajs.dev). }␊ ` +## intersection.4.js + +> Expected output to match snapshot for e2e test: intersection.4.js + + `/* eslint-disable */␊ + /**␊ + * This file was automatically generated by json-schema-to-typescript.␊ + * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,␊ + * and run json-schema-to-typescript to regenerate this file.␊ + */␊ + ␊ + export type Intersection = A | B;␊ + export type A = Base & {␊ + b?: B;␊ + };␊ + export type B = Base & {␊ + x?: string;␊ + };␊ + ␊ + export interface Base {␊ + y?: string;␊ + }␊ + ` + +## intersection.5.js + +> Expected output to match snapshot for e2e test: intersection.5.js + + `/* eslint-disable */␊ + /**␊ + * This file was automatically generated by json-schema-to-typescript.␊ + * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,␊ + * and run json-schema-to-typescript to regenerate this file.␊ + */␊ + ␊ + export type Intersection = A | B;␊ + export type A = Base & {␊ + b?: B;␊ + [k: string]: unknown;␊ + };␊ + export type B = Base & {␊ + x?: string;␊ + [k: string]: unknown;␊ + };␊ + ␊ + export interface Base {␊ + y?: string;␊ + }␊ + ` + +## intersection.6.js + +> Expected output to match snapshot for e2e test: intersection.6.js + + `/* eslint-disable */␊ + /**␊ + * This file was automatically generated by json-schema-to-typescript.␊ + * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,␊ + * and run json-schema-to-typescript to regenerate this file.␊ + */␊ + ␊ + export type Intersection = Car | Truck;␊ + export type Car = Vehicle & {␊ + numDoors: number;␊ + [k: string]: unknown;␊ + };␊ + export type Vehicle = Thing & {␊ + year: number;␊ + [k: string]: unknown;␊ + };␊ + export type Truck = Vehicle & {␊ + numAxles: number;␊ + [k: string]: unknown;␊ + };␊ + ␊ + export interface Thing {␊ + name: string;␊ + [k: string]: unknown;␊ + }␊ + ` + ## namedProperty.js > Expected output to match snapshot for e2e test: namedProperty.js @@ -4294,7 +4376,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Base class for specifying a clip time. Use sub classes of this class to specify the time position in the media.␊ */␊ - start?: (AbsoluteClipTime | string)␊ + start?: (ClipTime | string)␊ [k: string]: unknown␊ } & (JobInputAsset | JobInputHttp))␊ /**␊ @@ -5111,10 +5193,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Collection of rule conditions used by a rule.␊ */␊ - ruleConditions?: (({␊ - ruleConditionType?: ("FirewallPolicyRuleCondition" | string)␊ - [k: string]: unknown␊ - } | ApplicationRuleCondition | NetworkRuleCondition)[] | string)␊ + ruleConditions?: (FirewallPolicyRuleCondition[] | string)␊ ruleType: string␊ [k: string]: unknown␊ } & {␊ @@ -5250,10 +5329,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Collection of rule conditions used by a rule.␊ */␊ - ruleConditions?: (({␊ - ruleConditionType?: ("FirewallPolicyRuleCondition" | string)␊ - [k: string]: unknown␊ - } | ApplicationRuleCondition1 | NetworkRuleCondition1)[] | string)␊ + ruleConditions?: (FirewallPolicyRuleCondition1[] | string)␊ ruleType: string␊ [k: string]: unknown␊ } & {␊ @@ -5389,10 +5465,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Collection of rule conditions used by a rule.␊ */␊ - ruleConditions?: (({␊ - ruleConditionType?: ("FirewallPolicyRuleCondition" | string)␊ - [k: string]: unknown␊ - } | ApplicationRuleCondition2 | NetworkRuleCondition2)[] | string)␊ + ruleConditions?: (FirewallPolicyRuleCondition2[] | string)␊ ruleType: string␊ [k: string]: unknown␊ } & {␊ @@ -5528,10 +5601,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Collection of rule conditions used by a rule.␊ */␊ - ruleConditions?: (({␊ - ruleConditionType?: ("FirewallPolicyRuleCondition" | string)␊ - [k: string]: unknown␊ - } | ApplicationRuleCondition3 | NetworkRuleCondition3)[] | string)␊ + ruleConditions?: (FirewallPolicyRuleCondition3[] | string)␊ ruleType: string␊ [k: string]: unknown␊ } & {␊ @@ -5667,10 +5737,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Collection of rule conditions used by a rule.␊ */␊ - ruleConditions?: (({␊ - ruleConditionType?: ("FirewallPolicyRuleCondition" | string)␊ - [k: string]: unknown␊ - } | ApplicationRuleCondition4 | NetworkRuleCondition4)[] | string)␊ + ruleConditions?: (FirewallPolicyRuleCondition4[] | string)␊ ruleType: string␊ [k: string]: unknown␊ } & {␊ @@ -5876,10 +5943,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Collection of rule conditions used by a rule.␊ */␊ - ruleConditions?: (({␊ - ruleConditionType?: ("FirewallPolicyRuleCondition" | string)␊ - [k: string]: unknown␊ - } | ApplicationRuleCondition6 | NatRuleCondition1 | NetworkRuleCondition6)[] | string)␊ + ruleConditions?: (FirewallPolicyRuleCondition6[] | string)␊ ruleType: string␊ [k: string]: unknown␊ } & {␊ @@ -6065,10 +6129,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Collection of rule conditions used by a rule.␊ */␊ - ruleConditions?: (({␊ - ruleConditionType?: ("FirewallPolicyRuleCondition" | string)␊ - [k: string]: unknown␊ - } | ApplicationRuleCondition7 | NatRuleCondition2 | NetworkRuleCondition7)[] | string)␊ + ruleConditions?: (FirewallPolicyRuleCondition7[] | string)␊ ruleType: string␊ [k: string]: unknown␊ } & {␊ @@ -6258,10 +6319,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * List of rules included in a rule collection.␊ */␊ - rules?: (({␊ - ruleType?: ("FirewallPolicyRule" | string)␊ - [k: string]: unknown␊ - } | ApplicationRule | NatRule | NetworkRule)[] | string)␊ + rules?: (FirewallPolicyRule8[] | string)␊ ruleCollectionType: string␊ [k: string]: unknown␊ } & {␊ @@ -7163,17 +7221,11 @@ Generated by [AVA](https://avajs.dev). /**␊ * Backup schedule specified as part of backup policy.␊ */␊ - schedulePolicy?: (({␊ - schedulePolicyType?: ("SchedulePolicy" | string)␊ - [k: string]: unknown␊ - } | LogSchedulePolicy | LongTermSchedulePolicy | SimpleSchedulePolicy) | string)␊ + schedulePolicy?: (SchedulePolicy | string)␊ /**␊ * Retention policy with the details on backup copy retention ranges.␊ */␊ - retentionPolicy?: (({␊ - retentionPolicyType?: ("RetentionPolicy" | string)␊ - [k: string]: unknown␊ - } | LongTermRetentionPolicy | SimpleRetentionPolicy) | string)␊ + retentionPolicy?: (RetentionPolicy | string)␊ /**␊ * Instant RP retention policy range in days␊ */␊ @@ -7195,10 +7247,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Retention policy details.␊ */␊ - retentionPolicy?: (({␊ - retentionPolicyType?: ("RetentionPolicy" | string)␊ - [k: string]: unknown␊ - } | LongTermRetentionPolicy | SimpleRetentionPolicy) | string)␊ + retentionPolicy?: (RetentionPolicy | string)␊ backupManagementType: string␊ [k: string]: unknown␊ } & {␊ @@ -7256,17 +7305,11 @@ Generated by [AVA](https://avajs.dev). /**␊ * Backup schedule of backup policy.␊ */␊ - schedulePolicy?: (({␊ - schedulePolicyType?: ("SchedulePolicy" | string)␊ - [k: string]: unknown␊ - } | LogSchedulePolicy | LongTermSchedulePolicy | SimpleSchedulePolicy) | string)␊ + schedulePolicy?: (SchedulePolicy | string)␊ /**␊ * Retention policy details.␊ */␊ - retentionPolicy?: (({␊ - retentionPolicyType?: ("RetentionPolicy" | string)␊ - [k: string]: unknown␊ - } | LongTermRetentionPolicy | SimpleRetentionPolicy) | string)␊ + retentionPolicy?: (RetentionPolicy | string)␊ backupManagementType: string␊ [k: string]: unknown␊ } & {␊ @@ -17009,7 +17052,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Base class for all types of Route.␊ */␊ - routeConfigurationOverride?: ((ForwardingConfiguration2 | RedirectConfiguration2) | string)␊ + routeConfigurationOverride?: (RouteConfiguration2 | string)␊ [k: string]: unknown␊ }␊ /**␊ @@ -24518,7 +24561,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Properties related to Digital Twins Endpoint␊ */␊ - properties: ((ServiceBus | EventHub | EventGrid) | string)␊ + properties: (DigitalTwinsEndpointResourceProperties | string)␊ type: "Microsoft.DigitalTwins/digitalTwinsInstances/endpoints"␊ [k: string]: unknown␊ }␊ @@ -42053,7 +42096,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Machine Learning compute object.␊ */␊ - properties: ((AKS | AmlCompute | VirtualMachine | HDInsight | DataFactory | Databricks | DataLakeAnalytics) | string)␊ + properties: (Compute | string)␊ /**␊ * Contains resource tags defined as key/value pairs.␊ */␊ @@ -45067,7 +45110,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Base class for Content Key Policy key for token validation. A derived class must be used to create a token key.␊ */␊ - primaryVerificationKey: ((ContentKeyPolicySymmetricTokenKey | ContentKeyPolicyRsaTokenKey | ContentKeyPolicyX509CertificateTokenKey) | string)␊ + primaryVerificationKey: (ContentKeyPolicyRestrictionTokenKey | string)␊ /**␊ * A list of required token claims.␊ */␊ @@ -49343,7 +49386,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The service resource properties.␊ */␊ - properties: ((StatefulServiceProperties | StatelessServiceProperties) | string)␊ + properties: (ServiceResourceProperties | string)␊ type: "Microsoft.ServiceFabric/clusters/applications/services"␊ [k: string]: unknown␊ }␊ @@ -50883,7 +50926,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The service resource properties.␊ */␊ - properties: ((StatefulServiceProperties1 | StatelessServiceProperties1) | string)␊ + properties: (ServiceResourceProperties1 | string)␊ /**␊ * Azure resource tags.␊ */␊ @@ -67087,7 +67130,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Base properties for any build step.␊ */␊ - properties: (DockerBuildStep | string)␊ + properties: (BuildStepProperties | string)␊ type: "Microsoft.ContainerRegistry/registries/buildTasks/steps"␊ [k: string]: unknown␊ }␊ @@ -79185,7 +79228,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Describes how data from an input is serialized or how data is serialized when written to an output.␊ */␊ - serialization?: ((CsvSerialization | JsonSerialization | AvroSerialization) | string)␊ + serialization?: (Serialization | string)␊ [k: string]: unknown␊ }␊ /**␊ @@ -79603,7 +79646,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The properties that are associated with an input.␊ */␊ - properties: ((StreamInputProperties | ReferenceInputProperties) | string)␊ + properties: (InputProperties | string)␊ type: "inputs"␊ [k: string]: unknown␊ }␊ @@ -79651,7 +79694,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The properties that are associated with a function.␊ */␊ - properties: (ScalarFunctionProperties | string)␊ + properties: (FunctionProperties | string)␊ type: "functions"␊ [k: string]: unknown␊ }␊ @@ -79667,7 +79710,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The properties that are associated with a function.␊ */␊ - properties: (ScalarFunctionProperties | string)␊ + properties: (FunctionProperties | string)␊ type: "Microsoft.StreamAnalytics/streamingjobs/functions"␊ [k: string]: unknown␊ }␊ @@ -79683,7 +79726,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The properties that are associated with an input.␊ */␊ - properties: ((StreamInputProperties | ReferenceInputProperties) | string)␊ + properties: (InputProperties | string)␊ type: "Microsoft.StreamAnalytics/streamingjobs/inputs"␊ [k: string]: unknown␊ }␊ @@ -80380,7 +80423,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Machine Learning compute object.␊ */␊ - properties: ((AKS1 | BatchAI | VirtualMachine1 | HDInsight1 | DataFactory1) | string)␊ + properties: (Compute1 | string)␊ /**␊ * Contains resource tags defined as key/value pairs.␊ */␊ @@ -80788,7 +80831,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Machine Learning compute object.␊ */␊ - properties: ((AKS2 | AmlCompute1 | VirtualMachine2 | HDInsight2 | DataFactory2 | Databricks1 | DataLakeAnalytics1) | string)␊ + properties: (Compute2 | string)␊ /**␊ * Contains resource tags defined as key/value pairs.␊ */␊ @@ -81200,7 +81243,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Machine Learning compute object.␊ */␊ - properties: ((AKS3 | AmlCompute2 | VirtualMachine3 | HDInsight3 | DataFactory3 | Databricks2 | DataLakeAnalytics2) | string)␊ + properties: (Compute3 | string)␊ /**␊ * Contains resource tags defined as key/value pairs.␊ */␊ @@ -81634,7 +81677,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Machine Learning compute object.␊ */␊ - properties: ((AKS4 | AmlCompute3 | VirtualMachine4 | HDInsight4 | DataFactory4 | Databricks3 | DataLakeAnalytics3) | string)␊ + properties: (Compute4 | string)␊ /**␊ * Sku of the resource␊ */␊ @@ -82176,7 +82219,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Machine Learning compute object.␊ */␊ - properties: ((AKS5 | AmlCompute4 | VirtualMachine5 | HDInsight5 | DataFactory5 | Databricks4 | DataLakeAnalytics4) | string)␊ + properties: (Compute5 | string)␊ /**␊ * Sku of the resource␊ */␊ @@ -181470,7 +181513,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Collection of rule conditions used by a rule.␊ */␊ - ruleConditions?: ((ApplicationRuleCondition5 | NatRuleCondition | NetworkRuleCondition5)[] | string)␊ + ruleConditions?: (FirewallPolicyRuleCondition5[] | string)␊ ruleType: "FirewallPolicyFilterRule"␊ [k: string]: unknown␊ }␊ @@ -207119,7 +207162,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Defines the connection properties of a server␊ */␊ - targetConnectionInfo?: (SqlConnectionInfo | string)␊ + targetConnectionInfo?: (ConnectionInfo | string)␊ /**␊ * Target platform for the project.␊ */␊ @@ -207510,10 +207553,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Information for connecting to target␊ */␊ - targetConnectionInfo?: ((OracleConnectionInfo | MySqlConnectionInfo | {␊ - type?: "Unknown"␊ - [k: string]: unknown␊ - } | SqlConnectionInfo1) | string)␊ + targetConnectionInfo?: (ConnectionInfo1 | string)␊ /**␊ * List of DatabaseInfo␊ */␊ @@ -207584,10 +207624,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Information for connecting to target␊ */␊ - targetConnectionInfo: ({␊ - type?: "SqlConnectionInfo"␊ - [k: string]: unknown␊ - } | string)␊ + targetConnectionInfo: (SqlConnectionInfo1 | string)␊ /**␊ * Databases to migrate␊ */␊ @@ -207649,10 +207686,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Information for connecting to target␊ */␊ - targetConnectionInfo: ({␊ - type?: "SqlConnectionInfo"␊ - [k: string]: unknown␊ - } | string)␊ + targetConnectionInfo: (SqlConnectionInfo1 | string)␊ /**␊ * Databases to migrate␊ */␊ @@ -207675,17 +207709,11 @@ Generated by [AVA](https://avajs.dev). /**␊ * Information for connecting to source␊ */␊ - sourceConnectionInfo: ({␊ - type?: "SqlConnectionInfo"␊ - [k: string]: unknown␊ - } | string)␊ + sourceConnectionInfo: (SqlConnectionInfo1 | string)␊ /**␊ * Information for connecting to target␊ */␊ - targetConnectionInfo: ({␊ - type?: "SqlConnectionInfo"␊ - [k: string]: unknown␊ - } | string)␊ + targetConnectionInfo: (SqlConnectionInfo1 | string)␊ /**␊ * Databases to migrate␊ */␊ @@ -207699,17 +207727,11 @@ Generated by [AVA](https://avajs.dev). /**␊ * Information for connecting to source␊ */␊ - sourceConnectionInfo: ({␊ - type?: "SqlConnectionInfo"␊ - [k: string]: unknown␊ - } | string)␊ + sourceConnectionInfo: (SqlConnectionInfo1 | string)␊ /**␊ * Information for connecting to target␊ */␊ - targetConnectionInfo: ({␊ - type?: "SqlConnectionInfo"␊ - [k: string]: unknown␊ - } | string)␊ + targetConnectionInfo: (SqlConnectionInfo1 | string)␊ /**␊ * Databases to migrate␊ */␊ @@ -207771,17 +207793,11 @@ Generated by [AVA](https://avajs.dev). /**␊ * Information for connecting to source␊ */␊ - sourceConnectionInfo: ({␊ - type?: "SqlConnectionInfo"␊ - [k: string]: unknown␊ - } | string)␊ + sourceConnectionInfo: (SqlConnectionInfo1 | string)␊ /**␊ * Information for connecting to target␊ */␊ - targetConnectionInfo: ({␊ - type?: "SqlConnectionInfo"␊ - [k: string]: unknown␊ - } | string)␊ + targetConnectionInfo: (SqlConnectionInfo1 | string)␊ /**␊ * Databases to migrate␊ */␊ @@ -207818,10 +207834,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Connection information for target SQL Server␊ */␊ - targetConnectionInfo: ({␊ - type?: "SqlConnectionInfo"␊ - [k: string]: unknown␊ - } | string)␊ + targetConnectionInfo: (SqlConnectionInfo1 | string)␊ [k: string]: unknown␊ }␊ /**␊ @@ -207831,10 +207844,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Connection information for target SQL Server␊ */␊ - targetConnectionInfo: ({␊ - type?: "SqlConnectionInfo"␊ - [k: string]: unknown␊ - } | string)␊ + targetConnectionInfo: (SqlConnectionInfo1 | string)␊ [k: string]: unknown␊ }␊ /**␊ @@ -207844,10 +207854,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Connection information for SQL Server␊ */␊ - connectionInfo: ({␊ - type?: "SqlConnectionInfo"␊ - [k: string]: unknown␊ - } | string)␊ + connectionInfo: (SqlConnectionInfo1 | string)␊ /**␊ * List of database names to collect tables for␊ */␊ @@ -207861,10 +207868,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Connection information for target SQL DB␊ */␊ - targetConnectionInfo: ({␊ - type?: "SqlConnectionInfo"␊ - [k: string]: unknown␊ - } | string)␊ + targetConnectionInfo: (SqlConnectionInfo1 | string)␊ [k: string]: unknown␊ }␊ /**␊ @@ -207874,10 +207878,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Connection information for Source SQL Server␊ */␊ - sourceConnectionInfo: ({␊ - type?: "SqlConnectionInfo"␊ - [k: string]: unknown␊ - } | string)␊ + sourceConnectionInfo: (SqlConnectionInfo1 | string)␊ /**␊ * Permission group for validations.␊ */␊ @@ -207891,10 +207892,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Information for connecting to MySQL source␊ */␊ - sourceConnectionInfo: ({␊ - type?: "MySqlConnectionInfo"␊ - [k: string]: unknown␊ - } | string)␊ + sourceConnectionInfo: (MySqlConnectionInfo | string)␊ /**␊ * Permission group for validations.␊ */␊ @@ -207908,10 +207906,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Information for connecting to Oracle source␊ */␊ - sourceConnectionInfo: ({␊ - type?: "OracleConnectionInfo"␊ - [k: string]: unknown␊ - } | string)␊ + sourceConnectionInfo: (OracleConnectionInfo | string)␊ /**␊ * Permission group for validations.␊ */␊ @@ -207925,10 +207920,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Information for connecting to target␊ */␊ - targetConnectionInfo: ({␊ - type?: "SqlConnectionInfo"␊ - [k: string]: unknown␊ - } | string)␊ + targetConnectionInfo: (SqlConnectionInfo1 | string)␊ /**␊ * Target database name␊ */␊ @@ -207948,10 +207940,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Information for connecting to MySQL source␊ */␊ - sourceConnectionInfo: ({␊ - type?: "MySqlConnectionInfo"␊ - [k: string]: unknown␊ - } | string)␊ + sourceConnectionInfo: (MySqlConnectionInfo | string)␊ [k: string]: unknown␊ }␊ /**␊ @@ -207971,10 +207960,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Information for connecting to target␊ */␊ - targetConnectionInfo: ({␊ - type?: "SqlConnectionInfo"␊ - [k: string]: unknown␊ - } | string)␊ + targetConnectionInfo: (SqlConnectionInfo1 | string)␊ /**␊ * Target database name␊ */␊ @@ -207994,10 +207980,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Information for connecting to Oracle source␊ */␊ - sourceConnectionInfo: ({␊ - type?: "OracleConnectionInfo"␊ - [k: string]: unknown␊ - } | string)␊ + sourceConnectionInfo: (OracleConnectionInfo | string)␊ [k: string]: unknown␊ }␊ /**␊ @@ -209261,17 +209244,11 @@ Generated by [AVA](https://avajs.dev). /**␊ * Backup schedule specified as part of backup policy.␊ */␊ - schedulePolicy?: (({␊ - schedulePolicyType?: ("SchedulePolicy" | string)␊ - [k: string]: unknown␊ - } | LogSchedulePolicy | LongTermSchedulePolicy | SimpleSchedulePolicy) | string)␊ + schedulePolicy?: (SchedulePolicy | string)␊ /**␊ * Retention policy with the details on backup copy retention ranges.␊ */␊ - retentionPolicy?: (({␊ - retentionPolicyType?: ("RetentionPolicy" | string)␊ - [k: string]: unknown␊ - } | LongTermRetentionPolicy | SimpleRetentionPolicy) | string)␊ + retentionPolicy?: (RetentionPolicy | string)␊ [k: string]: unknown␊ }␊ /**␊ @@ -225174,7 +225151,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The list of custom alert time-window rules.␊ */␊ - timeWindowRules?: ((ActiveConnectionsNotInAllowedRange | AmqpC2DMessagesNotInAllowedRange | MqttC2DMessagesNotInAllowedRange | HttpC2DMessagesNotInAllowedRange | AmqpC2DRejectedMessagesNotInAllowedRange | MqttC2DRejectedMessagesNotInAllowedRange | HttpC2DRejectedMessagesNotInAllowedRange | AmqpD2CMessagesNotInAllowedRange | MqttD2CMessagesNotInAllowedRange | HttpD2CMessagesNotInAllowedRange | DirectMethodInvokesNotInAllowedRange | FailedLocalLoginsNotInAllowedRange | FileUploadsNotInAllowedRange | QueuePurgesNotInAllowedRange | TwinUpdatesNotInAllowedRange | UnauthorizedOperationsNotInAllowedRange)[] | string)␊ + timeWindowRules?: (TimeWindowCustomAlertRule[] | string)␊ [k: string]: unknown␊ }␊ /**␊ @@ -225747,7 +225724,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The list of custom alert time-window rules.␊ */␊ - timeWindowRules?: ((ActiveConnectionsNotInAllowedRange1 | AmqpC2DMessagesNotInAllowedRange1 | MqttC2DMessagesNotInAllowedRange1 | HttpC2DMessagesNotInAllowedRange1 | AmqpC2DRejectedMessagesNotInAllowedRange1 | MqttC2DRejectedMessagesNotInAllowedRange1 | HttpC2DRejectedMessagesNotInAllowedRange1 | AmqpD2CMessagesNotInAllowedRange1 | MqttD2CMessagesNotInAllowedRange1 | HttpD2CMessagesNotInAllowedRange1 | DirectMethodInvokesNotInAllowedRange1 | FailedLocalLoginsNotInAllowedRange1 | FileUploadsNotInAllowedRange1 | QueuePurgesNotInAllowedRange1 | TwinUpdatesNotInAllowedRange1 | UnauthorizedOperationsNotInAllowedRange1)[] | string)␊ + timeWindowRules?: (TimeWindowCustomAlertRule1[] | string)␊ [k: string]: unknown␊ }␊ /**␊ @@ -232410,7 +232387,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - servicePrincipalKey?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + servicePrincipalKey?: (SecretBase | string)␊ /**␊ * The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string).␊ */␊ @@ -232449,7 +232426,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + password?: (SecretBase | string)␊ /**␊ * The on-premises Windows authentication user name. Type: string (or Expression with resultType string).␊ */␊ @@ -232494,7 +232471,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - servicePrincipalKey?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + servicePrincipalKey?: (SecretBase | string)␊ /**␊ * The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string).␊ */␊ @@ -232521,7 +232498,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - accessKey?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + accessKey?: (SecretBase | string)␊ /**␊ * The Azure Batch account name. Type: string (or Expression with resultType string).␊ */␊ @@ -232648,7 +232625,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + password?: (SecretBase | string)␊ /**␊ * The port of on-premises Dynamics server. The property is required for on-prem and not allowed for online. Default is 443. Type: integer (or Expression with resultType integer), minimum: 0.␊ */␊ @@ -232707,7 +232684,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + password?: (SecretBase | string)␊ /**␊ * HDInsight cluster user name. Type: string (or Expression with resultType string).␊ */␊ @@ -232746,7 +232723,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + password?: (SecretBase | string)␊ /**␊ * User ID to logon the server. Type: string (or Expression with resultType string).␊ */␊ @@ -232831,7 +232808,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - connectionString: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + connectionString: (SecretBase | string)␊ /**␊ * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).␊ */␊ @@ -232858,7 +232835,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - connectionString: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + connectionString: (SecretBase | string)␊ /**␊ * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).␊ */␊ @@ -232901,7 +232878,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + password?: (SecretBase | string)␊ /**␊ * Schema name for connection. Type: string (or Expression with resultType string).␊ */␊ @@ -232956,7 +232933,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + password?: (SecretBase | string)␊ /**␊ * Server name for connection. Type: string (or Expression with resultType string).␊ */␊ @@ -232999,7 +232976,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + password?: (SecretBase | string)␊ /**␊ * Server name for connection. Type: string (or Expression with resultType string).␊ */␊ @@ -233032,7 +233009,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - apiKey: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + apiKey: (SecretBase | string)␊ /**␊ * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).␊ */␊ @@ -233054,7 +233031,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - servicePrincipalKey?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + servicePrincipalKey?: (SecretBase | string)␊ /**␊ * The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string).␊ */␊ @@ -233099,7 +233076,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - credential?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + credential?: (SecretBase | string)␊ /**␊ * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).␊ */␊ @@ -233109,7 +233086,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + password?: (SecretBase | string)␊ /**␊ * User name for Basic authentication. Type: string (or Expression with resultType string).␊ */␊ @@ -233148,7 +233125,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + password?: (SecretBase | string)␊ /**␊ * The URL of the HDFS service endpoint, e.g. http://myhostname:50070/webhdfs/v1 . Type: string (or Expression with resultType string).␊ */␊ @@ -233191,7 +233168,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + password?: (SecretBase | string)␊ /**␊ * The URL of the OData service endpoint. Type: string (or Expression with resultType string).␊ */␊ @@ -233232,7 +233209,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + password: (SecretBase | string)␊ /**␊ * User name for Basic authentication. Type: string (or Expression with resultType string).␊ */␊ @@ -233249,11 +233226,11 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + password: (SecretBase | string)␊ /**␊ * The base definition of a secret type.␊ */␊ - pfx: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + pfx: (SecretBase | string)␊ [k: string]: unknown␊ }␊ /**␊ @@ -233292,7 +233269,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + password?: (SecretBase | string)␊ /**␊ * The port for the connection. Type: integer (or Expression with resultType integer).␊ */␊ @@ -233359,7 +233336,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + password?: (SecretBase | string)␊ /**␊ * The TCP port number that the MongoDB server uses to listen for client connections. The default value is 27017. Type: integer (or Expression with resultType integer), minimum: 0.␊ */␊ @@ -233428,7 +233405,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - servicePrincipalKey?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + servicePrincipalKey?: (SecretBase | string)␊ /**␊ * Data Lake Store account subscription ID (if different from Data Factory account). Type: string (or Expression with resultType string).␊ */␊ @@ -233473,11 +233450,11 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + password?: (SecretBase | string)␊ /**␊ * The base definition of a secret type.␊ */␊ - securityToken?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + securityToken?: (SecretBase | string)␊ /**␊ * The username for Basic authentication of the Salesforce instance. Type: string (or Expression with resultType string).␊ */␊ @@ -233510,7 +233487,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + password?: (SecretBase | string)␊ /**␊ * The URL of SAP Cloud for Customer OData API. For example, '[https://[tenantname].crm.ondemand.com/sap/c4c/odata/v1]'. Type: string (or Expression with resultType string).␊ */␊ @@ -233547,7 +233524,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + password?: (SecretBase | string)␊ /**␊ * The URL of SAP ECC OData API. For example, '[https://hostname:port/sap/opu/odata/sap/servicename/]'. Type: string (or Expression with resultType string).␊ */␊ @@ -233588,7 +233565,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - secretAccessKey?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + secretAccessKey?: (SecretBase | string)␊ [k: string]: unknown␊ }␊ /**␊ @@ -233621,7 +233598,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + password?: (SecretBase | string)␊ /**␊ * The TCP port number that the Amazon Redshift server uses to listen for client connections. The default value is 5439. Type: integer (or Expression with resultType integer).␊ */␊ @@ -233679,7 +233656,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - key?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + key?: (SecretBase | string)␊ /**␊ * URL for Azure Search service. Type: string (or Expression with resultType string).␊ */␊ @@ -233734,7 +233711,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + password?: (SecretBase | string)␊ /**␊ * The base URL of the HTTP endpoint, e.g. https://www.microsoft.com. Type: string (or Expression with resultType string).␊ */␊ @@ -233795,7 +233772,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + password?: (SecretBase | string)␊ /**␊ * The TCP port number that the FTP server uses to listen for client connections. Default value is 21. Type: integer (or Expression with resultType integer), minimum: 0.␊ */␊ @@ -233850,11 +233827,11 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - passPhrase?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + passPhrase?: (SecretBase | string)␊ /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + password?: (SecretBase | string)␊ /**␊ * The TCP port number that the SFTP server uses to listen for client connections. Default value is 22. Type: integer (or Expression with resultType integer), minimum: 0.␊ */␊ @@ -233864,7 +233841,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - privateKeyContent?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + privateKeyContent?: (SecretBase | string)␊ /**␊ * The SSH private key file path for SshPublicKey authentication. Only valid for on-premises copy. For on-premises copy with SshPublicKey authentication, either PrivateKeyPath or PrivateKeyContent should be specified. SSH private key should be OpenSSH format. Type: string (or Expression with resultType string).␊ */␊ @@ -233915,7 +233892,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + password?: (SecretBase | string)␊ /**␊ * Host name of the SAP BW instance. Type: string (or Expression with resultType string).␊ */␊ @@ -233964,7 +233941,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + password?: (SecretBase | string)␊ /**␊ * Host name of the SAP HANA server. Type: string (or Expression with resultType string).␊ */␊ @@ -234021,11 +233998,11 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - mwsAuthToken?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + mwsAuthToken?: (SecretBase | string)␊ /**␊ * The base definition of a secret type.␊ */␊ - secretKey?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + secretKey?: (SecretBase | string)␊ /**␊ * The Amazon seller ID.␊ */␊ @@ -234111,7 +234088,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + password?: (SecretBase | string)␊ /**␊ * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true.␊ */␊ @@ -234226,7 +234203,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + password?: (SecretBase | string)␊ /**␊ * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true.␊ */␊ @@ -234281,11 +234258,11 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - clientId?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + clientId?: (SecretBase | string)␊ /**␊ * The base definition of a secret type.␊ */␊ - clientSecret?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + clientSecret?: (SecretBase | string)␊ /**␊ * The service account email ID that is used for ServiceAuthentication and can only be used on self-hosted IR.␊ */␊ @@ -234313,7 +234290,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - refreshToken?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + refreshToken?: (SecretBase | string)␊ /**␊ * Whether to request access to Google Drive. Allowing Google Drive access enables support for federated tables that combine BigQuery data with data from Google Drive. The default value is false.␊ */␊ @@ -234421,7 +234398,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + password?: (SecretBase | string)␊ /**␊ * The TCP port that the HBase instance uses to listen for client connections. The default value is 9090.␊ */␊ @@ -234500,7 +234477,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + password?: (SecretBase | string)␊ /**␊ * The TCP port that the Hive server uses to listen for client connections.␊ */␊ @@ -234571,7 +234548,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - accessToken?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + accessToken?: (SecretBase | string)␊ /**␊ * The client ID associated with your Hubspot application.␊ */␊ @@ -234581,7 +234558,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - clientSecret?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + clientSecret?: (SecretBase | string)␊ /**␊ * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).␊ */␊ @@ -234591,7 +234568,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - refreshToken?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + refreshToken?: (SecretBase | string)␊ /**␊ * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true.␊ */␊ @@ -234664,7 +234641,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + password?: (SecretBase | string)␊ /**␊ * The TCP port that the Impala server uses to listen for client connections. The default value is 21050.␊ */␊ @@ -234721,7 +234698,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + password?: (SecretBase | string)␊ /**␊ * The TCP port that the Jira server uses to listen for client connections. The default value is 443 if connecting through HTTPS, or 8080 if connecting through HTTP.␊ */␊ @@ -234772,7 +234749,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - accessToken?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + accessToken?: (SecretBase | string)␊ /**␊ * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).␊ */␊ @@ -234858,7 +234835,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - clientSecret?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + clientSecret?: (SecretBase | string)␊ /**␊ * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).␊ */␊ @@ -234915,7 +234892,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - clientSecret?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + clientSecret?: (SecretBase | string)␊ /**␊ * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).␊ */␊ @@ -235006,7 +234983,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + password?: (SecretBase | string)␊ /**␊ * The TCP port that the Phoenix server uses to listen for client connections. The default value is 8765.␊ */␊ @@ -235091,7 +235068,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + password?: (SecretBase | string)␊ /**␊ * The TCP port that the Presto server uses to listen for client connections. The default value is 8080.␊ */␊ @@ -235148,11 +235125,11 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - accessToken: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + accessToken: (SecretBase | string)␊ /**␊ * The base definition of a secret type.␊ */␊ - accessTokenSecret: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + accessTokenSecret: (SecretBase | string)␊ /**␊ * The company ID of the QuickBooks company to authorize.␊ */␊ @@ -235168,7 +235145,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - consumerSecret: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + consumerSecret: (SecretBase | string)␊ /**␊ * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).␊ */␊ @@ -235217,7 +235194,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - clientSecret?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + clientSecret?: (SecretBase | string)␊ /**␊ * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).␊ */␊ @@ -235233,7 +235210,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + password?: (SecretBase | string)␊ /**␊ * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true.␊ */␊ @@ -235278,7 +235255,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - accessToken?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + accessToken?: (SecretBase | string)␊ /**␊ * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).␊ */␊ @@ -235369,7 +235346,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + password?: (SecretBase | string)␊ /**␊ * The TCP port that the Spark server uses to listen for client connections.␊ */␊ @@ -235428,7 +235405,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - clientSecret?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + clientSecret?: (SecretBase | string)␊ /**␊ * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).␊ */␊ @@ -235485,7 +235462,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - consumerKey?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + consumerKey?: (SecretBase | string)␊ /**␊ * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).␊ */␊ @@ -235501,7 +235478,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - privateKey?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + privateKey?: (SecretBase | string)␊ /**␊ * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true.␊ */␊ @@ -235540,7 +235517,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - accessToken?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + accessToken?: (SecretBase | string)␊ /**␊ * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).␊ */␊ @@ -235655,7 +235632,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - clientSecret?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + clientSecret?: (SecretBase | string)␊ /**␊ * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).␊ */␊ @@ -235710,7 +235687,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - clusterPassword?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + clusterPassword?: (SecretBase | string)␊ /**␊ * The resource group where the cluster belongs. Type: string (or Expression with resultType string).␊ */␊ @@ -235726,7 +235703,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - clusterSshPassword?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + clusterSshPassword?: (SecretBase | string)␊ /**␊ * The username to SSH remotely connect to cluster’s node (for Linux). Type: string (or Expression with resultType string).␊ */␊ @@ -235822,7 +235799,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - servicePrincipalKey?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + servicePrincipalKey?: (SecretBase | string)␊ /**␊ * The version of spark if the cluster type is 'spark'. Type: string (or Expression with resultType string).␊ */␊ @@ -235915,7 +235892,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - servicePrincipalKey?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + servicePrincipalKey?: (SecretBase | string)␊ /**␊ * Data Lake Analytics account subscription ID (if different from Data Factory account). Type: string (or Expression with resultType string).␊ */␊ @@ -235948,7 +235925,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - accessToken: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + accessToken: (SecretBase | string)␊ /**␊ * .azuredatabricks.net, domain name of your Databricks deployment. Type: string (or Expression with resultType string).␊ */␊ @@ -236019,7 +235996,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - clientSecret?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + clientSecret?: (SecretBase | string)␊ /**␊ * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).␊ */␊ @@ -236201,7 +236178,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The compression method used on a dataset.␊ */␊ - compression?: ((DatasetBZip2Compression | DatasetGZipCompression | DatasetDeflateCompression | DatasetZipDeflateCompression) | string)␊ + compression?: (DatasetCompression | string)␊ /**␊ * The name of the Azure Blob. Type: string (or Expression with resultType string).␊ */␊ @@ -236388,7 +236365,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The compression method used on a dataset.␊ */␊ - compression?: ((DatasetBZip2Compression | DatasetGZipCompression | DatasetDeflateCompression | DatasetZipDeflateCompression) | string)␊ + compression?: (DatasetCompression | string)␊ /**␊ * The name of the file in the Azure Data Lake Store. Type: string (or Expression with resultType string).␊ */␊ @@ -236425,7 +236402,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The compression method used on a dataset.␊ */␊ - compression?: ((DatasetBZip2Compression | DatasetGZipCompression | DatasetDeflateCompression | DatasetZipDeflateCompression) | string)␊ + compression?: (DatasetCompression | string)␊ /**␊ * Specify a filter to be used to select a subset of files in the folderPath rather than all files. Type: string (or Expression with resultType string).␊ */␊ @@ -236735,7 +236712,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The compression method used on a dataset.␊ */␊ - compression?: ((DatasetBZip2Compression | DatasetGZipCompression | DatasetDeflateCompression | DatasetZipDeflateCompression) | string)␊ + compression?: (DatasetCompression | string)␊ /**␊ * The format definition of a storage.␊ */␊ @@ -237111,11 +237088,11 @@ Generated by [AVA](https://avajs.dev). /**␊ * List of activities to execute if expression is evaluated to false. This is an optional property and if not provided, the activity will exit without any action.␊ */␊ - ifFalseActivities?: ((ControlActivity | ExecutionActivity)[] | string)␊ + ifFalseActivities?: (Activity[] | string)␊ /**␊ * List of activities to execute if expression is evaluated to true. This is an optional property and if not provided, the activity will exit without any action.␊ */␊ - ifTrueActivities?: ((ControlActivity | ExecutionActivity)[] | string)␊ + ifTrueActivities?: (Activity[] | string)␊ [k: string]: unknown␊ }␊ /**␊ @@ -237150,7 +237127,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * List of activities to execute .␊ */␊ - activities: ((ControlActivity | ExecutionActivity)[] | string)␊ + activities: (Activity[] | string)␊ /**␊ * Batch count to be used for controlling the number of parallel execution (when isSequential is set to false).␊ */␊ @@ -237204,7 +237181,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * List of activities to execute.␊ */␊ - activities: ((ControlActivity | ExecutionActivity)[] | string)␊ + activities: (Activity[] | string)␊ /**␊ * Azure Data Factory expression definition.␊ */␊ @@ -237950,7 +237927,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + password: (SecretBase | string)␊ /**␊ * UseName for windows authentication.␊ */␊ @@ -238008,7 +237985,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - packagePassword?: ((SecureString | AzureKeyVaultSecretReference) | string)␊ + packagePassword?: (SecretBase | string)␊ [k: string]: unknown␊ }␊ /**␊ @@ -238503,7 +238480,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The Azure Data Factory nested object which identifies data within different data stores, such as tables, files, folders, and documents.␊ */␊ - properties: ((AmazonS3Dataset | AzureBlobDataset | AzureTableDataset | AzureSqlTableDataset | AzureSqlDWTableDataset | CassandraTableDataset | DocumentDbCollectionDataset | DynamicsEntityDataset | AzureDataLakeStoreDataset | FileShareDataset | MongoDbCollectionDataset | ODataResourceDataset | OracleTableDataset | AzureMySqlTableDataset | RelationalTableDataset | SalesforceObjectDataset | SapCloudForCustomerResourceDataset | SapEccResourceDataset | SqlServerTableDataset | WebTableDataset | AzureSearchIndexDataset | HttpDataset | AmazonMWSObjectDataset | AzurePostgreSqlTableDataset | ConcurObjectDataset | CouchbaseTableDataset | DrillTableDataset | EloquaObjectDataset | GoogleBigQueryObjectDataset | GreenplumTableDataset | HBaseObjectDataset | HiveObjectDataset | HubspotObjectDataset | ImpalaObjectDataset | JiraObjectDataset | MagentoObjectDataset | MariaDBTableDataset | MarketoObjectDataset | PaypalObjectDataset | PhoenixObjectDataset | PrestoObjectDataset | QuickBooksObjectDataset | ServiceNowObjectDataset | ShopifyObjectDataset | SparkObjectDataset | SquareObjectDataset | XeroObjectDataset | ZohoObjectDataset | NetezzaTableDataset | VerticaTableDataset | SalesforceMarketingCloudObjectDataset | ResponsysObjectDataset) | string)␊ + properties: (Dataset | string)␊ type: "Microsoft.DataFactory/factories/datasets"␊ [k: string]: unknown␊ }␊ @@ -238519,7 +238496,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Azure Data Factory nested object which serves as a compute resource for activities.␊ */␊ - properties: ((ManagedIntegrationRuntime | SelfHostedIntegrationRuntime) | string)␊ + properties: (IntegrationRuntime | string)␊ type: "Microsoft.DataFactory/factories/integrationRuntimes"␊ [k: string]: unknown␊ }␊ @@ -238535,7 +238512,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The Azure Data Factory nested object which contains the information and credential which can be used to connect with related store or compute resource.␊ */␊ - properties: ((AzureStorageLinkedService | AzureSqlDWLinkedService | SqlServerLinkedService | AzureSqlDatabaseLinkedService | AzureBatchLinkedService | AzureKeyVaultLinkedService | CosmosDbLinkedService | DynamicsLinkedService | HDInsightLinkedService | FileServerLinkedService | OracleLinkedService | AzureMySqlLinkedService | MySqlLinkedService | PostgreSqlLinkedService | SybaseLinkedService | Db2LinkedService | TeradataLinkedService | AzureMLLinkedService | OdbcLinkedService | HdfsLinkedService | ODataLinkedService | WebLinkedService | CassandraLinkedService | MongoDbLinkedService | AzureDataLakeStoreLinkedService | SalesforceLinkedService | SapCloudForCustomerLinkedService | SapEccLinkedService | AmazonS3LinkedService | AmazonRedshiftLinkedService | CustomDataSourceLinkedService | AzureSearchLinkedService | HttpLinkedService | FtpServerLinkedService | SftpServerLinkedService | SapBWLinkedService | SapHanaLinkedService | AmazonMWSLinkedService | AzurePostgreSqlLinkedService | ConcurLinkedService | CouchbaseLinkedService | DrillLinkedService | EloquaLinkedService | GoogleBigQueryLinkedService | GreenplumLinkedService | HBaseLinkedService | HiveLinkedService | HubspotLinkedService | ImpalaLinkedService | JiraLinkedService | MagentoLinkedService | MariaDBLinkedService | MarketoLinkedService | PaypalLinkedService | PhoenixLinkedService | PrestoLinkedService | QuickBooksLinkedService | ServiceNowLinkedService | ShopifyLinkedService | SparkLinkedService | SquareLinkedService | XeroLinkedService | ZohoLinkedService | VerticaLinkedService | NetezzaLinkedService | SalesforceMarketingCloudLinkedService | HDInsightOnDemandLinkedService | AzureDataLakeAnalyticsLinkedService | AzureDatabricksLinkedService | ResponsysLinkedService) | string)␊ + properties: (LinkedService | string)␊ type: "Microsoft.DataFactory/factories/linkedservices"␊ [k: string]: unknown␊ }␊ @@ -238567,7 +238544,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Azure data factory nested object which contains information about creating pipeline run␊ */␊ - properties: (MultiplePipelineTrigger | string)␊ + properties: (Trigger | string)␊ type: "Microsoft.DataFactory/factories/triggers"␊ [k: string]: unknown␊ }␊ @@ -239209,7 +239186,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - licenseKey?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + licenseKey?: (SecretBase1 | string)␊ [k: string]: unknown␊ }␊ /**␊ @@ -239455,7 +239432,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - servicePrincipalKey?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + servicePrincipalKey?: (SecretBase1 | string)␊ /**␊ * The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string).␊ */␊ @@ -239525,7 +239502,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - servicePrincipalKey?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + servicePrincipalKey?: (SecretBase1 | string)␊ /**␊ * The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string).␊ */␊ @@ -239568,7 +239545,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password?: (SecretBase1 | string)␊ /**␊ * The on-premises Windows authentication user name. Type: string (or Expression with resultType string).␊ */␊ @@ -239598,7 +239575,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - servicePrincipalKey?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + servicePrincipalKey?: (SecretBase1 | string)␊ [k: string]: unknown␊ }␊ /**␊ @@ -239635,7 +239612,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password?: (SecretBase1 | string)␊ /**␊ * The on-premises Windows authentication user name. Type: string (or Expression with resultType string).␊ */␊ @@ -239698,7 +239675,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - servicePrincipalKey?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + servicePrincipalKey?: (SecretBase1 | string)␊ /**␊ * The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string).␊ */␊ @@ -239761,7 +239738,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - servicePrincipalKey?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + servicePrincipalKey?: (SecretBase1 | string)␊ /**␊ * The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string).␊ */␊ @@ -239788,7 +239765,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - accessKey?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + accessKey?: (SecretBase1 | string)␊ /**␊ * The Azure Batch account name. Type: string (or Expression with resultType string).␊ */␊ @@ -239874,7 +239851,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - accountKey?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + accountKey?: (SecretBase1 | string)␊ /**␊ * Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string).␊ */␊ @@ -239910,7 +239887,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - servicePrincipalCredential?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + servicePrincipalCredential?: (SecretBase1 | string)␊ /**␊ * The service principal credential type to use in Server-To-Server authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or Expression with resultType string).␊ */␊ @@ -239981,7 +239958,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password?: (SecretBase1 | string)␊ /**␊ * The port of on-premises Dynamics server. The property is required for on-prem and not allowed for online. Default is 443. Type: integer (or Expression with resultType integer), minimum: 0.␊ */␊ @@ -239991,7 +239968,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - servicePrincipalCredential?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + servicePrincipalCredential?: (SecretBase1 | string)␊ /**␊ * The service principal credential type to use in Server-To-Server authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or Expression with resultType string).␊ */␊ @@ -240066,7 +240043,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password?: (SecretBase1 | string)␊ /**␊ * The port of on-premises Dynamics CRM server. The property is required for on-prem and not allowed for online. Default is 443. Type: integer (or Expression with resultType integer), minimum: 0.␊ */␊ @@ -240076,7 +240053,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - servicePrincipalCredential?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + servicePrincipalCredential?: (SecretBase1 | string)␊ /**␊ * The service principal credential type to use in Server-To-Server authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or Expression with resultType string).␊ */␊ @@ -240151,7 +240128,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password?: (SecretBase1 | string)␊ /**␊ * The port of on-premises Common Data Service for Apps server. The property is required for on-prem and not allowed for online. Default is 443. Type: integer (or Expression with resultType integer), minimum: 0.␊ */␊ @@ -240161,7 +240138,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - servicePrincipalCredential?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + servicePrincipalCredential?: (SecretBase1 | string)␊ /**␊ * The service principal credential type to use in Server-To-Server authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or Expression with resultType string).␊ */␊ @@ -240238,7 +240215,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password?: (SecretBase1 | string)␊ /**␊ * HDInsight cluster user name. Type: string (or Expression with resultType string).␊ */␊ @@ -240277,7 +240254,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password?: (SecretBase1 | string)␊ /**␊ * User ID to logon the server. Type: string (or Expression with resultType string).␊ */␊ @@ -240332,7 +240309,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password?: (SecretBase1 | string)␊ /**␊ * Azure Key Vault secret reference.␊ */␊ @@ -240393,7 +240370,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - secretAccessKey?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + secretAccessKey?: (SecretBase1 | string)␊ /**␊ * This value specifies the endpoint to access with the Amazon S3 Compatible Connector. This is an optional property; change it only if you want to try a different service endpoint or want to switch between https and http. Type: string (or Expression with resultType string).␊ */␊ @@ -240432,7 +240409,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - secretAccessKey?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + secretAccessKey?: (SecretBase1 | string)␊ /**␊ * This value specifies the endpoint to access with the Oracle Cloud Storage Connector. This is an optional property; change it only if you want to try a different service endpoint or want to switch between https and http. Type: string (or Expression with resultType string).␊ */␊ @@ -240471,7 +240448,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - secretAccessKey?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + secretAccessKey?: (SecretBase1 | string)␊ /**␊ * This value specifies the endpoint to access with the Google Cloud Storage Connector. This is an optional property; change it only if you want to try a different service endpoint or want to switch between https and http. Type: string (or Expression with resultType string).␊ */␊ @@ -240543,7 +240520,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password?: (SecretBase1 | string)␊ [k: string]: unknown␊ }␊ /**␊ @@ -240679,7 +240656,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password?: (SecretBase1 | string)␊ /**␊ * Schema name for connection. Type: string (or Expression with resultType string).␊ */␊ @@ -240752,7 +240729,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password?: (SecretBase1 | string)␊ /**␊ * Server name for connection. It is mutually exclusive with connectionString property. Type: string (or Expression with resultType string).␊ */␊ @@ -240801,7 +240778,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password?: (SecretBase1 | string)␊ /**␊ * Server name for connection. Type: string (or Expression with resultType string).␊ */␊ @@ -240834,7 +240811,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - apiKey: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + apiKey: (SecretBase1 | string)␊ /**␊ * Type of authentication (Required to specify MSI) used to connect to AzureML. Type: string (or Expression with resultType string).␊ */␊ @@ -240862,7 +240839,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - servicePrincipalKey?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + servicePrincipalKey?: (SecretBase1 | string)␊ /**␊ * The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string).␊ */␊ @@ -240919,7 +240896,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - servicePrincipalKey?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + servicePrincipalKey?: (SecretBase1 | string)␊ /**␊ * Azure ML Service workspace subscription ID. Type: string (or Expression with resultType string).␊ */␊ @@ -240964,7 +240941,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - credential?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + credential?: (SecretBase1 | string)␊ /**␊ * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).␊ */␊ @@ -240974,7 +240951,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password?: (SecretBase1 | string)␊ /**␊ * User name for Basic authentication. Type: string (or Expression with resultType string).␊ */␊ @@ -241013,7 +240990,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - credential?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + credential?: (SecretBase1 | string)␊ /**␊ * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).␊ */␊ @@ -241023,7 +241000,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password?: (SecretBase1 | string)␊ /**␊ * User name for Basic authentication. Type: string (or Expression with resultType string).␊ */␊ @@ -241062,7 +241039,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - credential?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + credential?: (SecretBase1 | string)␊ /**␊ * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).␊ */␊ @@ -241072,7 +241049,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password?: (SecretBase1 | string)␊ /**␊ * User name for Basic authentication. Type: string (or Expression with resultType string).␊ */␊ @@ -241111,7 +241088,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password?: (SecretBase1 | string)␊ /**␊ * The URL of the HDFS service endpoint, e.g. http://myhostname:50070/webhdfs/v1 . Type: string (or Expression with resultType string).␊ */␊ @@ -241176,15 +241153,15 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password?: (SecretBase1 | string)␊ /**␊ * The base definition of a secret type.␊ */␊ - servicePrincipalEmbeddedCert?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + servicePrincipalEmbeddedCert?: (SecretBase1 | string)␊ /**␊ * The base definition of a secret type.␊ */␊ - servicePrincipalEmbeddedCertPassword?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + servicePrincipalEmbeddedCertPassword?: (SecretBase1 | string)␊ /**␊ * Specify the application id of your application registered in Azure Active Directory. Type: string (or Expression with resultType string).␊ */␊ @@ -241194,7 +241171,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - servicePrincipalKey?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + servicePrincipalKey?: (SecretBase1 | string)␊ /**␊ * Specify the tenant information (domain name or tenant ID) under which your application resides. Type: string (or Expression with resultType string).␊ */␊ @@ -241241,7 +241218,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password: (SecretBase1 | string)␊ /**␊ * User name for Basic authentication. Type: string (or Expression with resultType string).␊ */␊ @@ -241258,11 +241235,11 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password: (SecretBase1 | string)␊ /**␊ * The base definition of a secret type.␊ */␊ - pfx: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + pfx: (SecretBase1 | string)␊ [k: string]: unknown␊ }␊ /**␊ @@ -241301,7 +241278,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password?: (SecretBase1 | string)␊ /**␊ * The port for the connection. Type: integer (or Expression with resultType integer).␊ */␊ @@ -241368,7 +241345,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password?: (SecretBase1 | string)␊ /**␊ * The TCP port number that the MongoDB server uses to listen for client connections. The default value is 27017. Type: integer (or Expression with resultType integer), minimum: 0.␊ */␊ @@ -241540,7 +241517,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - servicePrincipalKey?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + servicePrincipalKey?: (SecretBase1 | string)␊ /**␊ * Data Lake Store account subscription ID (if different from Data Factory account). Type: string (or Expression with resultType string).␊ */␊ @@ -241595,7 +241572,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - servicePrincipalCredential?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + servicePrincipalCredential?: (SecretBase1 | string)␊ /**␊ * The service principal credential type to use in Server-To-Server authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or Expression with resultType string).␊ */␊ @@ -241611,7 +241588,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - servicePrincipalKey?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + servicePrincipalKey?: (SecretBase1 | string)␊ /**␊ * The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string).␊ */␊ @@ -241662,7 +241639,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - servicePrincipalKey: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + servicePrincipalKey: (SecretBase1 | string)␊ /**␊ * Specify the tenant information under which your Azure AD web application resides. Type: string (or Expression with resultType string).␊ */␊ @@ -241707,11 +241684,11 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password?: (SecretBase1 | string)␊ /**␊ * The base definition of a secret type.␊ */␊ - securityToken?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + securityToken?: (SecretBase1 | string)␊ /**␊ * The username for Basic authentication of the Salesforce instance. Type: string (or Expression with resultType string).␊ */␊ @@ -241762,11 +241739,11 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password?: (SecretBase1 | string)␊ /**␊ * The base definition of a secret type.␊ */␊ - securityToken?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + securityToken?: (SecretBase1 | string)␊ /**␊ * The username for Basic authentication of the Salesforce instance. Type: string (or Expression with resultType string).␊ */␊ @@ -241799,7 +241776,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password?: (SecretBase1 | string)␊ /**␊ * The URL of SAP Cloud for Customer OData API. For example, '[https://[tenantname].crm.ondemand.com/sap/c4c/odata/v1]'. Type: string (or Expression with resultType string).␊ */␊ @@ -241836,7 +241813,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password?: (SecretBase1 | string)␊ /**␊ * The URL of SAP ECC OData API. For example, '[https://hostname:port/sap/opu/odata/sap/servicename/]'. Type: string (or Expression with resultType string).␊ */␊ @@ -241901,7 +241878,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password?: (SecretBase1 | string)␊ /**␊ * Host name of the SAP BW instance where the open hub destination is located. Type: string (or Expression with resultType string).␊ */␊ @@ -241982,7 +241959,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password?: (SecretBase1 | string)␊ /**␊ * Host name of the SAP instance where the table is located. Type: string (or Expression with resultType string).␊ */␊ @@ -242097,7 +242074,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - clientSecret?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + clientSecret?: (SecretBase1 | string)␊ /**␊ * Credential reference type.␊ */␊ @@ -242117,7 +242094,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password?: (SecretBase1 | string)␊ /**␊ * The target service or resource to which the access will be requested. Type: string (or Expression with resultType string).␊ */␊ @@ -242139,7 +242116,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - servicePrincipalKey?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + servicePrincipalKey?: (SecretBase1 | string)␊ /**␊ * The tenant information (domain name or tenant ID) used in AadServicePrincipal authentication type under which your application resides.␊ */␊ @@ -242184,7 +242161,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - apiToken?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + apiToken?: (SecretBase1 | string)␊ /**␊ * The authentication type to use.␊ */␊ @@ -242198,7 +242175,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password?: (SecretBase1 | string)␊ /**␊ * The url to connect TeamDesk source. Type: string (or Expression with resultType string).␊ */␊ @@ -242243,7 +242220,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - userToken: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + userToken: (SecretBase1 | string)␊ [k: string]: unknown␊ }␊ /**␊ @@ -242264,7 +242241,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - apiToken: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + apiToken: (SecretBase1 | string)␊ /**␊ * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).␊ */␊ @@ -242291,7 +242268,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - apiToken?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + apiToken?: (SecretBase1 | string)␊ /**␊ * The authentication type to use.␊ */␊ @@ -242305,7 +242282,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password?: (SecretBase1 | string)␊ /**␊ * The url to connect Zendesk source. Type: string (or Expression with resultType string).␊ */␊ @@ -242338,7 +242315,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - apiToken: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + apiToken: (SecretBase1 | string)␊ /**␊ * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).␊ */␊ @@ -242365,11 +242342,11 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - clientKey: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + clientKey: (SecretBase1 | string)␊ /**␊ * The base definition of a secret type.␊ */␊ - password: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password: (SecretBase1 | string)␊ /**␊ * The username of the Appfigures source.␊ */␊ @@ -242396,7 +242373,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - apiToken: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + apiToken: (SecretBase1 | string)␊ /**␊ * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).␊ */␊ @@ -242423,7 +242400,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password: (SecretBase1 | string)␊ /**␊ * The Account SID of Twilio service.␊ */␊ @@ -242468,7 +242445,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - secretAccessKey?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + secretAccessKey?: (SecretBase1 | string)␊ /**␊ * This value specifies the endpoint to access with the S3 Connector. This is an optional property; change it only if you want to try a different service endpoint or want to switch between https and http. Type: string (or Expression with resultType string).␊ */␊ @@ -242478,7 +242455,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - sessionToken?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + sessionToken?: (SecretBase1 | string)␊ [k: string]: unknown␊ }␊ /**␊ @@ -242511,7 +242488,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password?: (SecretBase1 | string)␊ /**␊ * The TCP port number that the Amazon Redshift server uses to listen for client connections. The default value is 5439. Type: integer (or Expression with resultType integer).␊ */␊ @@ -242569,7 +242546,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - key?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + key?: (SecretBase1 | string)␊ /**␊ * URL for Azure Search service. Type: string (or Expression with resultType string).␊ */␊ @@ -242630,7 +242607,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password?: (SecretBase1 | string)␊ /**␊ * The base URL of the HTTP endpoint, e.g. https://www.microsoft.com. Type: string (or Expression with resultType string).␊ */␊ @@ -242691,7 +242668,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password?: (SecretBase1 | string)␊ /**␊ * The TCP port number that the FTP server uses to listen for client connections. Default value is 21. Type: integer (or Expression with resultType integer), minimum: 0.␊ */␊ @@ -242746,11 +242723,11 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - passPhrase?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + passPhrase?: (SecretBase1 | string)␊ /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password?: (SecretBase1 | string)␊ /**␊ * The TCP port number that the SFTP server uses to listen for client connections. Default value is 22. Type: integer (or Expression with resultType integer), minimum: 0.␊ */␊ @@ -242760,7 +242737,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - privateKeyContent?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + privateKeyContent?: (SecretBase1 | string)␊ /**␊ * The SSH private key file path for SshPublicKey authentication. Only valid for on-premises copy. For on-premises copy with SshPublicKey authentication, either PrivateKeyPath or PrivateKeyContent should be specified. SSH private key should be OpenSSH format. Type: string (or Expression with resultType string).␊ */␊ @@ -242811,7 +242788,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password?: (SecretBase1 | string)␊ /**␊ * Host name of the SAP BW instance. Type: string (or Expression with resultType string).␊ */␊ @@ -242866,7 +242843,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password?: (SecretBase1 | string)␊ /**␊ * Host name of the SAP HANA server. Type: string (or Expression with resultType string).␊ */␊ @@ -242923,11 +242900,11 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - mwsAuthToken?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + mwsAuthToken?: (SecretBase1 | string)␊ /**␊ * The base definition of a secret type.␊ */␊ - secretKey?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + secretKey?: (SecretBase1 | string)␊ /**␊ * The Amazon seller ID.␊ */␊ @@ -243023,7 +243000,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password?: (SecretBase1 | string)␊ /**␊ * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true.␊ */␊ @@ -243146,7 +243123,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password?: (SecretBase1 | string)␊ /**␊ * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true.␊ */␊ @@ -243207,7 +243184,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - clientSecret?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + clientSecret?: (SecretBase1 | string)␊ /**␊ * The service account email ID that is used for ServiceAuthentication and can only be used on self-hosted IR.␊ */␊ @@ -243235,7 +243212,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - refreshToken?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + refreshToken?: (SecretBase1 | string)␊ /**␊ * Whether to request access to Google Drive. Allowing Google Drive access enables support for federated tables that combine BigQuery data with data from Google Drive. The default value is false.␊ */␊ @@ -243347,7 +243324,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password?: (SecretBase1 | string)␊ /**␊ * The TCP port that the HBase instance uses to listen for client connections. The default value is 9090.␊ */␊ @@ -243426,7 +243403,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password?: (SecretBase1 | string)␊ /**␊ * The TCP port that the Hive server uses to listen for client connections.␊ */␊ @@ -243497,7 +243474,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - accessToken?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + accessToken?: (SecretBase1 | string)␊ /**␊ * The client ID associated with your Hubspot application.␊ */␊ @@ -243507,7 +243484,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - clientSecret?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + clientSecret?: (SecretBase1 | string)␊ /**␊ * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).␊ */␊ @@ -243517,7 +243494,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - refreshToken?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + refreshToken?: (SecretBase1 | string)␊ /**␊ * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true.␊ */␊ @@ -243590,7 +243567,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password?: (SecretBase1 | string)␊ /**␊ * The TCP port that the Impala server uses to listen for client connections. The default value is 21050.␊ */␊ @@ -243647,7 +243624,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password?: (SecretBase1 | string)␊ /**␊ * The TCP port that the Jira server uses to listen for client connections. The default value is 443 if connecting through HTTPS, or 8080 if connecting through HTTP.␊ */␊ @@ -243698,7 +243675,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - accessToken?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + accessToken?: (SecretBase1 | string)␊ /**␊ * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).␊ */␊ @@ -243821,7 +243798,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - clientSecret?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + clientSecret?: (SecretBase1 | string)␊ /**␊ * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).␊ */␊ @@ -243878,7 +243855,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - clientSecret?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + clientSecret?: (SecretBase1 | string)␊ /**␊ * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).␊ */␊ @@ -243969,7 +243946,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password?: (SecretBase1 | string)␊ /**␊ * The TCP port that the Phoenix server uses to listen for client connections. The default value is 8765.␊ */␊ @@ -244054,7 +244031,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password?: (SecretBase1 | string)␊ /**␊ * The TCP port that the Presto server uses to listen for client connections. The default value is 8080.␊ */␊ @@ -244111,11 +244088,11 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - accessToken?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + accessToken?: (SecretBase1 | string)␊ /**␊ * The base definition of a secret type.␊ */␊ - accessTokenSecret?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + accessTokenSecret?: (SecretBase1 | string)␊ /**␊ * The company ID of the QuickBooks company to authorize.␊ */␊ @@ -244137,7 +244114,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - consumerSecret?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + consumerSecret?: (SecretBase1 | string)␊ /**␊ * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).␊ */␊ @@ -244186,7 +244163,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - clientSecret?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + clientSecret?: (SecretBase1 | string)␊ /**␊ * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).␊ */␊ @@ -244202,7 +244179,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password?: (SecretBase1 | string)␊ /**␊ * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true.␊ */␊ @@ -244247,7 +244224,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - accessToken?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + accessToken?: (SecretBase1 | string)␊ /**␊ * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).␊ */␊ @@ -244338,7 +244315,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password?: (SecretBase1 | string)␊ /**␊ * The TCP port that the Spark server uses to listen for client connections.␊ */␊ @@ -244397,7 +244374,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - clientSecret?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + clientSecret?: (SecretBase1 | string)␊ /**␊ * Properties used to connect to Square. It is mutually exclusive with any other properties in the linked service. Type: object.␊ */␊ @@ -244466,7 +244443,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - consumerKey?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + consumerKey?: (SecretBase1 | string)␊ /**␊ * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).␊ */␊ @@ -244482,7 +244459,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - privateKey?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + privateKey?: (SecretBase1 | string)␊ /**␊ * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true.␊ */␊ @@ -244521,7 +244498,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - accessToken?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + accessToken?: (SecretBase1 | string)␊ /**␊ * Properties used to connect to Zoho. It is mutually exclusive with any other properties in the linked service. Type: object.␊ */␊ @@ -244650,7 +244627,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - clientSecret?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + clientSecret?: (SecretBase1 | string)␊ /**␊ * Properties used to connect to Salesforce Marketing Cloud. It is mutually exclusive with any other properties in the linked service. Type: object.␊ */␊ @@ -244711,7 +244688,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - clusterPassword?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + clusterPassword?: (SecretBase1 | string)␊ /**␊ * The resource group where the cluster belongs. Type: string (or Expression with resultType string).␊ */␊ @@ -244727,7 +244704,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - clusterSshPassword?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + clusterSshPassword?: (SecretBase1 | string)␊ /**␊ * The username to SSH remotely connect to cluster’s node (for Linux). Type: string (or Expression with resultType string).␊ */␊ @@ -244831,7 +244808,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - servicePrincipalKey?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + servicePrincipalKey?: (SecretBase1 | string)␊ /**␊ * The version of spark if the cluster type is 'spark'. Type: string (or Expression with resultType string).␊ */␊ @@ -244960,7 +244937,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - servicePrincipalKey?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + servicePrincipalKey?: (SecretBase1 | string)␊ /**␊ * Data Lake Analytics account subscription ID (if different from Data Factory account). Type: string (or Expression with resultType string).␊ */␊ @@ -244993,7 +244970,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - accessToken?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + accessToken?: (SecretBase1 | string)␊ /**␊ * Required to specify MSI, if using Workspace resource id for databricks REST API. Type: string (or Expression with resultType string).␊ */␊ @@ -245126,7 +245103,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - accessToken?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + accessToken?: (SecretBase1 | string)␊ /**␊ * The id of an existing interactive cluster that will be used for all runs of this job. Type: string (or Expression with resultType string).␊ */␊ @@ -245181,7 +245158,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - clientSecret?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + clientSecret?: (SecretBase1 | string)␊ /**␊ * The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string (or Expression with resultType string).␊ */␊ @@ -245250,7 +245227,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - servicePrincipalKey: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + servicePrincipalKey: (SecretBase1 | string)␊ /**␊ * Specify the tenant information (domain name or tenant ID) under which your application resides. Retrieve it by hovering the mouse in the top-right corner of the Azure portal. Type: string (or Expression with resultType string).␊ */␊ @@ -245295,7 +245272,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password: (SecretBase1 | string)␊ /**␊ * Specifies whether the data source endpoints are encrypted using HTTPS. The default value is true. Type: boolean (or Expression with resultType boolean).␊ */␊ @@ -245356,7 +245333,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - clientSecret?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + clientSecret?: (SecretBase1 | string)␊ /**␊ * Properties used to connect to GoogleAds. It is mutually exclusive with any other properties in the linked service. Type: object.␊ */␊ @@ -245366,7 +245343,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - developerToken?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + developerToken?: (SecretBase1 | string)␊ /**␊ * The service account email ID that is used for ServiceAuthentication and can only be used on self-hosted IR.␊ */␊ @@ -245388,7 +245365,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - refreshToken?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + refreshToken?: (SecretBase1 | string)␊ /**␊ * The full path of the .pem file containing trusted CA certificates for verifying the server when connecting over SSL. This property can only be set when using SSL on self-hosted IR. The default value is the cacerts.pem file installed with the IR.␊ */␊ @@ -245457,7 +245434,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password?: (SecretBase1 | string)␊ /**␊ * Host name of the SAP instance where the table is located. Type: string (or Expression with resultType string).␊ */␊ @@ -245554,7 +245531,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - servicePrincipalKey?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + servicePrincipalKey?: (SecretBase1 | string)␊ /**␊ * The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string).␊ */␊ @@ -245603,7 +245580,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - functionKey?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + functionKey?: (SecretBase1 | string)␊ /**␊ * Allowed token audiences for azure function.␊ */␊ @@ -245675,7 +245652,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - servicePrincipalKey: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + servicePrincipalKey: (SecretBase1 | string)␊ /**␊ * The URL of the SharePoint Online site. For example, https://contoso.sharepoint.com/sites/siteName. Type: string (or Expression with resultType string).␊ */␊ @@ -246135,7 +246112,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Dataset location.␊ */␊ - location: ((AzureBlobStorageLocation | AzureBlobFSLocation | AzureDataLakeStoreLocation | AmazonS3Location | FileServerLocation | AzureFileStorageLocation | AmazonS3CompatibleLocation | OracleCloudStorageLocation | GoogleCloudStorageLocation | FtpServerLocation | SftpLocation | HttpServerLocation | HdfsLocation) | string)␊ + location: (DatasetLocation | string)␊ /**␊ * The null value string. Type: string (or Expression with resultType string).␊ */␊ @@ -246186,7 +246163,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Dataset location.␊ */␊ - location: ((AzureBlobStorageLocation | AzureBlobFSLocation | AzureDataLakeStoreLocation | AmazonS3Location | FileServerLocation | AzureFileStorageLocation | AmazonS3CompatibleLocation | OracleCloudStorageLocation | GoogleCloudStorageLocation | FtpServerLocation | SftpLocation | HttpServerLocation | HdfsLocation) | string)␊ + location: (DatasetLocation | string)␊ [k: string]: unknown␊ }␊ /**␊ @@ -246243,7 +246220,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Dataset location.␊ */␊ - location: ((AzureBlobStorageLocation | AzureBlobFSLocation | AzureDataLakeStoreLocation | AmazonS3Location | FileServerLocation | AzureFileStorageLocation | AmazonS3CompatibleLocation | OracleCloudStorageLocation | GoogleCloudStorageLocation | FtpServerLocation | SftpLocation | HttpServerLocation | HdfsLocation) | string)␊ + location: (DatasetLocation | string)␊ /**␊ * The null value string. Type: string (or Expression with resultType string).␊ */␊ @@ -246292,7 +246269,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Dataset location.␊ */␊ - location: ((AzureBlobStorageLocation | AzureBlobFSLocation | AzureDataLakeStoreLocation | AmazonS3Location | FileServerLocation | AzureFileStorageLocation | AmazonS3CompatibleLocation | OracleCloudStorageLocation | GoogleCloudStorageLocation | FtpServerLocation | SftpLocation | HttpServerLocation | HdfsLocation) | string)␊ + location: (DatasetLocation | string)␊ [k: string]: unknown␊ }␊ /**␊ @@ -246323,7 +246300,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Dataset location.␊ */␊ - location: ((AzureBlobStorageLocation | AzureBlobFSLocation | AzureDataLakeStoreLocation | AmazonS3Location | FileServerLocation | AzureFileStorageLocation | AmazonS3CompatibleLocation | OracleCloudStorageLocation | GoogleCloudStorageLocation | FtpServerLocation | SftpLocation | HttpServerLocation | HdfsLocation) | string)␊ + location: (DatasetLocation | string)␊ /**␊ * The null value string. Type: string (or Expression with resultType string).␊ */␊ @@ -246350,7 +246327,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Dataset location.␊ */␊ - location: ((AzureBlobStorageLocation | AzureBlobFSLocation | AzureDataLakeStoreLocation | AmazonS3Location | FileServerLocation | AzureFileStorageLocation | AmazonS3CompatibleLocation | OracleCloudStorageLocation | GoogleCloudStorageLocation | FtpServerLocation | SftpLocation | HttpServerLocation | HdfsLocation) | string)␊ + location: (DatasetLocation | string)␊ /**␊ * The data orcCompressionCodec. Type: string (or Expression with resultType string).␊ */␊ @@ -246381,7 +246358,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Dataset location.␊ */␊ - location: ((AzureBlobStorageLocation | AzureBlobFSLocation | AzureDataLakeStoreLocation | AmazonS3Location | FileServerLocation | AzureFileStorageLocation | AmazonS3CompatibleLocation | OracleCloudStorageLocation | GoogleCloudStorageLocation | FtpServerLocation | SftpLocation | HttpServerLocation | HdfsLocation) | string)␊ + location: (DatasetLocation | string)␊ [k: string]: unknown␊ }␊ /**␊ @@ -246418,7 +246395,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The format definition of a storage.␊ */␊ - format?: ((TextFormat | JsonFormat | AvroFormat | OrcFormat | ParquetFormat) | string)␊ + format?: (DatasetStorageFormat1 | string)␊ /**␊ * The end of Azure Blob's modified datetime. Type: string (or Expression with resultType string).␊ */␊ @@ -246758,7 +246735,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The format definition of a storage.␊ */␊ - format?: ((TextFormat | JsonFormat | AvroFormat | OrcFormat | ParquetFormat) | string)␊ + format?: (DatasetStorageFormat1 | string)␊ [k: string]: unknown␊ }␊ /**␊ @@ -246795,7 +246772,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The format definition of a storage.␊ */␊ - format?: ((TextFormat | JsonFormat | AvroFormat | OrcFormat | ParquetFormat) | string)␊ + format?: (DatasetStorageFormat1 | string)␊ [k: string]: unknown␊ }␊ /**␊ @@ -246867,7 +246844,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The format definition of a storage.␊ */␊ - format?: ((TextFormat | JsonFormat | AvroFormat | OrcFormat | ParquetFormat) | string)␊ + format?: (DatasetStorageFormat1 | string)␊ /**␊ * The end of file's modified datetime. Type: string (or Expression with resultType string).␊ */␊ @@ -247770,7 +247747,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The format definition of a storage.␊ */␊ - format?: ((TextFormat | JsonFormat | AvroFormat | OrcFormat | ParquetFormat) | string)␊ + format?: (DatasetStorageFormat1 | string)␊ /**␊ * The relative URL based on the URL in the HttpLinkedService refers to an HTTP file Type: string (or Expression with resultType string).␊ */␊ @@ -248758,11 +248735,11 @@ Generated by [AVA](https://avajs.dev). /**␊ * List of activities to execute if expression is evaluated to false. This is an optional property and if not provided, the activity will exit without any action.␊ */␊ - ifFalseActivities?: ((ControlActivity1 | ExecutionActivity1 | ExecuteWranglingDataflowActivity)[] | string)␊ + ifFalseActivities?: (Activity1[] | string)␊ /**␊ * List of activities to execute if expression is evaluated to true. This is an optional property and if not provided, the activity will exit without any action.␊ */␊ - ifTrueActivities?: ((ControlActivity1 | ExecutionActivity1 | ExecuteWranglingDataflowActivity)[] | string)␊ + ifTrueActivities?: (Activity1[] | string)␊ [k: string]: unknown␊ }␊ /**␊ @@ -248801,7 +248778,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * List of activities to execute if no case condition is satisfied. This is an optional property and if not provided, the activity will exit without any action.␊ */␊ - defaultActivities?: ((ControlActivity1 | ExecutionActivity1 | ExecuteWranglingDataflowActivity)[] | string)␊ + defaultActivities?: (Activity1[] | string)␊ /**␊ * Azure Data Factory expression definition.␊ */␊ @@ -248815,7 +248792,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * List of activities to execute for satisfied case condition.␊ */␊ - activities?: ((ControlActivity1 | ExecutionActivity1 | ExecuteWranglingDataflowActivity)[] | string)␊ + activities?: (Activity1[] | string)␊ /**␊ * Expected value that satisfies the expression result of the 'on' property.␊ */␊ @@ -248840,7 +248817,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * List of activities to execute .␊ */␊ - activities: ((ControlActivity1 | ExecutionActivity1 | ExecuteWranglingDataflowActivity)[] | string)␊ + activities: (Activity1[] | string)␊ /**␊ * Batch count to be used for controlling the number of parallel execution (when isSequential is set to false).␊ */␊ @@ -248925,7 +248902,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * List of activities to execute.␊ */␊ - activities: ((ControlActivity1 | ExecutionActivity1 | ExecuteWranglingDataflowActivity)[] | string)␊ + activities: (Activity1[] | string)␊ /**␊ * Azure Data Factory expression definition.␊ */␊ @@ -249148,11 +249125,11 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password?: (SecretBase1 | string)␊ /**␊ * The base definition of a secret type.␊ */␊ - pfx?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + pfx?: (SecretBase1 | string)␊ /**␊ * Resource for which Azure Auth token will be requested when using MSI Authentication. Type: string (or Expression with resultType string).␊ */␊ @@ -249568,7 +249545,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Connector write settings.␊ */␊ - storeSettings?: ((SftpWriteSettings | AzureBlobStorageWriteSettings | AzureBlobFSWriteSettings | AzureDataLakeStoreWriteSettings | FileServerWriteSettings | AzureFileStorageWriteSettings) | string)␊ + storeSettings?: (StoreWriteSettings | string)␊ type: "JsonSink"␊ [k: string]: unknown␊ }␊ @@ -249603,7 +249580,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Connector write settings.␊ */␊ - storeSettings?: ((SftpWriteSettings | AzureBlobStorageWriteSettings | AzureBlobFSWriteSettings | AzureDataLakeStoreWriteSettings | FileServerWriteSettings | AzureFileStorageWriteSettings) | string)␊ + storeSettings?: (StoreWriteSettings | string)␊ type: "OrcSink"␊ [k: string]: unknown␊ }␊ @@ -249805,7 +249782,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Connector write settings.␊ */␊ - storeSettings?: ((SftpWriteSettings | AzureBlobStorageWriteSettings | AzureBlobFSWriteSettings | AzureDataLakeStoreWriteSettings | FileServerWriteSettings | AzureFileStorageWriteSettings) | string)␊ + storeSettings?: (StoreWriteSettings | string)␊ type: "AvroSink"␊ [k: string]: unknown␊ }␊ @@ -249854,7 +249831,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Connector write settings.␊ */␊ - storeSettings?: ((SftpWriteSettings | AzureBlobStorageWriteSettings | AzureBlobFSWriteSettings | AzureDataLakeStoreWriteSettings | FileServerWriteSettings | AzureFileStorageWriteSettings) | string)␊ + storeSettings?: (StoreWriteSettings | string)␊ type: "ParquetSink"␊ [k: string]: unknown␊ }␊ @@ -249891,7 +249868,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Connector write settings.␊ */␊ - storeSettings?: ((SftpWriteSettings | AzureBlobStorageWriteSettings | AzureBlobFSWriteSettings | AzureDataLakeStoreWriteSettings | FileServerWriteSettings | AzureFileStorageWriteSettings) | string)␊ + storeSettings?: (StoreWriteSettings | string)␊ type: "BinarySink"␊ [k: string]: unknown␊ }␊ @@ -251620,7 +251597,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Connector read setting.␊ */␊ - storeSettings?: ((AzureBlobStorageReadSettings | AzureBlobFSReadSettings | AzureDataLakeStoreReadSettings | AmazonS3ReadSettings | FileServerReadSettings | AzureFileStorageReadSettings | AmazonS3CompatibleReadSettings | OracleCloudStorageReadSettings | GoogleCloudStorageReadSettings | FtpReadSettings | SftpReadSettings | HttpReadSettings | HdfsReadSettings) | string)␊ + storeSettings?: (StoreReadSettings | string)␊ type: "ExcelSource"␊ [k: string]: unknown␊ }␊ @@ -251637,7 +251614,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Connector read setting.␊ */␊ - storeSettings?: ((AzureBlobStorageReadSettings | AzureBlobFSReadSettings | AzureDataLakeStoreReadSettings | AmazonS3ReadSettings | FileServerReadSettings | AzureFileStorageReadSettings | AmazonS3CompatibleReadSettings | OracleCloudStorageReadSettings | GoogleCloudStorageReadSettings | FtpReadSettings | SftpReadSettings | HttpReadSettings | HdfsReadSettings) | string)␊ + storeSettings?: (StoreReadSettings | string)␊ type: "ParquetSource"␊ [k: string]: unknown␊ }␊ @@ -251658,7 +251635,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Connector read setting.␊ */␊ - storeSettings?: ((AzureBlobStorageReadSettings | AzureBlobFSReadSettings | AzureDataLakeStoreReadSettings | AmazonS3ReadSettings | FileServerReadSettings | AzureFileStorageReadSettings | AmazonS3CompatibleReadSettings | OracleCloudStorageReadSettings | GoogleCloudStorageReadSettings | FtpReadSettings | SftpReadSettings | HttpReadSettings | HdfsReadSettings) | string)␊ + storeSettings?: (StoreReadSettings | string)␊ type: "DelimitedTextSource"␊ [k: string]: unknown␊ }␊ @@ -251743,7 +251720,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Connector read setting.␊ */␊ - storeSettings?: ((AzureBlobStorageReadSettings | AzureBlobFSReadSettings | AzureDataLakeStoreReadSettings | AmazonS3ReadSettings | FileServerReadSettings | AzureFileStorageReadSettings | AmazonS3CompatibleReadSettings | OracleCloudStorageReadSettings | GoogleCloudStorageReadSettings | FtpReadSettings | SftpReadSettings | HttpReadSettings | HdfsReadSettings) | string)␊ + storeSettings?: (StoreReadSettings | string)␊ type: "JsonSource"␊ [k: string]: unknown␊ }␊ @@ -251762,7 +251739,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Compression read settings.␊ */␊ - compressionProperties?: ((ZipDeflateReadSettings | TarReadSettings | TarGZipReadSettings) | string)␊ + compressionProperties?: (CompressionReadSettings | string)␊ type: "JsonReadSettings"␊ [k: string]: unknown␊ }␊ @@ -251783,7 +251760,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Connector read setting.␊ */␊ - storeSettings?: ((AzureBlobStorageReadSettings | AzureBlobFSReadSettings | AzureDataLakeStoreReadSettings | AmazonS3ReadSettings | FileServerReadSettings | AzureFileStorageReadSettings | AmazonS3CompatibleReadSettings | OracleCloudStorageReadSettings | GoogleCloudStorageReadSettings | FtpReadSettings | SftpReadSettings | HttpReadSettings | HdfsReadSettings) | string)␊ + storeSettings?: (StoreReadSettings | string)␊ type: "XmlSource"␊ [k: string]: unknown␊ }␊ @@ -251802,7 +251779,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Compression read settings.␊ */␊ - compressionProperties?: ((ZipDeflateReadSettings | TarReadSettings | TarGZipReadSettings) | string)␊ + compressionProperties?: (CompressionReadSettings | string)␊ /**␊ * Indicates whether type detection is enabled when reading the xml files. Type: boolean (or Expression with resultType boolean).␊ */␊ @@ -251843,7 +251820,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Connector read setting.␊ */␊ - storeSettings?: ((AzureBlobStorageReadSettings | AzureBlobFSReadSettings | AzureDataLakeStoreReadSettings | AmazonS3ReadSettings | FileServerReadSettings | AzureFileStorageReadSettings | AmazonS3CompatibleReadSettings | OracleCloudStorageReadSettings | GoogleCloudStorageReadSettings | FtpReadSettings | SftpReadSettings | HttpReadSettings | HdfsReadSettings) | string)␊ + storeSettings?: (StoreReadSettings | string)␊ type: "OrcSource"␊ [k: string]: unknown␊ }␊ @@ -251858,7 +251835,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Connector read setting.␊ */␊ - storeSettings?: ((AzureBlobStorageReadSettings | AzureBlobFSReadSettings | AzureDataLakeStoreReadSettings | AmazonS3ReadSettings | FileServerReadSettings | AzureFileStorageReadSettings | AmazonS3CompatibleReadSettings | OracleCloudStorageReadSettings | GoogleCloudStorageReadSettings | FtpReadSettings | SftpReadSettings | HttpReadSettings | HdfsReadSettings) | string)␊ + storeSettings?: (StoreReadSettings | string)␊ type: "BinarySource"␊ [k: string]: unknown␊ }␊ @@ -251877,7 +251854,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Compression read settings.␊ */␊ - compressionProperties?: ((ZipDeflateReadSettings | TarReadSettings | TarGZipReadSettings) | string)␊ + compressionProperties?: (CompressionReadSettings | string)␊ type: "BinaryReadSettings"␊ [k: string]: unknown␊ }␊ @@ -254455,7 +254432,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - password: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + password: (SecretBase1 | string)␊ /**␊ * UseName for windows authentication.␊ */␊ @@ -254535,7 +254512,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - packagePassword?: ((SecureString1 | AzureKeyVaultSecretReference1) | string)␊ + packagePassword?: (SecretBase1 | string)␊ [k: string]: unknown␊ }␊ /**␊ @@ -254722,7 +254699,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Connector read setting.␊ */␊ - storeSettings?: ((AzureBlobStorageReadSettings | AzureBlobFSReadSettings | AzureDataLakeStoreReadSettings | AmazonS3ReadSettings | FileServerReadSettings | AzureFileStorageReadSettings | AmazonS3CompatibleReadSettings | OracleCloudStorageReadSettings | GoogleCloudStorageReadSettings | FtpReadSettings | SftpReadSettings | HttpReadSettings | HdfsReadSettings) | string)␊ + storeSettings?: (StoreReadSettings | string)␊ [k: string]: unknown␊ }␊ /**␊ @@ -254782,7 +254759,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * A copy activity source.␊ */␊ - source: ((AvroSource | ExcelSource | ParquetSource | DelimitedTextSource | JsonSource | XmlSource | OrcSource | BinarySource | TabularSource | BlobSource | DocumentDbCollectionSource | CosmosDbSqlApiSource | DynamicsSource | DynamicsCrmSource | CommonDataServiceForAppsSource | RelationalSource | MicrosoftAccessSource | ODataSource | SalesforceServiceCloudSource | RestSource | FileSystemSource | HdfsSource | AzureDataExplorerSource | OracleSource | AmazonRdsForOracleSource | WebSource | MongoDbSource | MongoDbAtlasSource | MongoDbV2Source | CosmosDbMongoDbApiSource | Office365Source | AzureDataLakeStoreSource | AzureBlobFSSource | HttpSource | SnowflakeSource | AzureDatabricksDeltaLakeSource | SharePointOnlineListSource) | string)␊ + source: (CopySource1 | string)␊ [k: string]: unknown␊ }␊ /**␊ @@ -254876,7 +254853,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Connector read setting.␊ */␊ - storeSettings?: ((AzureBlobStorageReadSettings | AzureBlobFSReadSettings | AzureDataLakeStoreReadSettings | AmazonS3ReadSettings | FileServerReadSettings | AzureFileStorageReadSettings | AmazonS3CompatibleReadSettings | OracleCloudStorageReadSettings | GoogleCloudStorageReadSettings | FtpReadSettings | SftpReadSettings | HttpReadSettings | HdfsReadSettings) | string)␊ + storeSettings?: (StoreReadSettings | string)␊ [k: string]: unknown␊ }␊ /**␊ @@ -256428,7 +256405,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Azure Data Factory nested object which contains a flow with data movements and transformations.␊ */␊ - properties: ((MappingDataFlow | Flowlet | WranglingDataFlow) | string)␊ + properties: (DataFlow | string)␊ type: "Microsoft.DataFactory/factories/dataflows"␊ [k: string]: unknown␊ }␊ @@ -256444,7 +256421,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The Azure Data Factory nested object which identifies data within different data stores, such as tables, files, folders, and documents.␊ */␊ - properties: ((AmazonS3Dataset1 | AvroDataset | ExcelDataset | ParquetDataset | DelimitedTextDataset | JsonDataset | XmlDataset | OrcDataset | BinaryDataset | AzureBlobDataset1 | AzureTableDataset1 | AzureSqlTableDataset1 | AzureSqlMITableDataset | AzureSqlDWTableDataset1 | CassandraTableDataset1 | CustomDataset | CosmosDbSqlApiCollectionDataset | DocumentDbCollectionDataset1 | DynamicsEntityDataset1 | DynamicsCrmEntityDataset | CommonDataServiceForAppsEntityDataset | AzureDataLakeStoreDataset1 | AzureBlobFSDataset | Office365Dataset | FileShareDataset1 | MongoDbCollectionDataset1 | MongoDbAtlasCollectionDataset | MongoDbV2CollectionDataset | CosmosDbMongoDbApiCollectionDataset | ODataResourceDataset1 | OracleTableDataset1 | AmazonRdsForOracleTableDataset | TeradataTableDataset | AzureMySqlTableDataset1 | AmazonRedshiftTableDataset | Db2TableDataset | RelationalTableDataset1 | InformixTableDataset | OdbcTableDataset | MySqlTableDataset | PostgreSqlTableDataset | MicrosoftAccessTableDataset | SalesforceObjectDataset1 | SalesforceServiceCloudObjectDataset | SybaseTableDataset | SapBwCubeDataset | SapCloudForCustomerResourceDataset1 | SapEccResourceDataset1 | SapHanaTableDataset | SapOpenHubTableDataset | SqlServerTableDataset1 | AmazonRdsForSqlServerTableDataset | RestResourceDataset | SapTableResourceDataset | SapOdpResourceDataset | WebTableDataset1 | AzureSearchIndexDataset1 | HttpDataset1 | AmazonMWSObjectDataset1 | AzurePostgreSqlTableDataset1 | ConcurObjectDataset1 | CouchbaseTableDataset1 | DrillTableDataset1 | EloquaObjectDataset1 | GoogleBigQueryObjectDataset1 | GreenplumTableDataset1 | HBaseObjectDataset1 | HiveObjectDataset1 | HubspotObjectDataset1 | ImpalaObjectDataset1 | JiraObjectDataset1 | MagentoObjectDataset1 | MariaDBTableDataset1 | AzureMariaDBTableDataset | MarketoObjectDataset1 | PaypalObjectDataset1 | PhoenixObjectDataset1 | PrestoObjectDataset1 | QuickBooksObjectDataset1 | ServiceNowObjectDataset1 | ShopifyObjectDataset1 | SparkObjectDataset1 | SquareObjectDataset1 | XeroObjectDataset1 | ZohoObjectDataset1 | NetezzaTableDataset1 | VerticaTableDataset1 | SalesforceMarketingCloudObjectDataset1 | ResponsysObjectDataset1 | DynamicsAXResourceDataset | OracleServiceCloudObjectDataset | AzureDataExplorerTableDataset | GoogleAdWordsObjectDataset | SnowflakeDataset | SharePointOnlineListResourceDataset | AzureDatabricksDeltaLakeDataset) | string)␊ + properties: (Dataset1 | string)␊ type: "Microsoft.DataFactory/factories/datasets"␊ [k: string]: unknown␊ }␊ @@ -256460,7 +256437,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Azure Data Factory nested object which serves as a compute resource for activities.␊ */␊ - properties: ((ManagedIntegrationRuntime1 | SelfHostedIntegrationRuntime1) | string)␊ + properties: (IntegrationRuntime1 | string)␊ type: "Microsoft.DataFactory/factories/integrationRuntimes"␊ [k: string]: unknown␊ }␊ @@ -256476,7 +256453,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The nested object which contains the information and credential which can be used to connect with related store or compute resource.␊ */␊ - properties: ((AzureStorageLinkedService1 | AzureBlobStorageLinkedService | AzureTableStorageLinkedService | AzureSqlDWLinkedService1 | SqlServerLinkedService1 | AmazonRdsForSqlServerLinkedService | AzureSqlDatabaseLinkedService1 | AzureSqlMILinkedService | AzureBatchLinkedService1 | AzureKeyVaultLinkedService1 | CosmosDbLinkedService1 | DynamicsLinkedService1 | DynamicsCrmLinkedService | CommonDataServiceForAppsLinkedService | HDInsightLinkedService1 | FileServerLinkedService1 | AzureFileStorageLinkedService | AmazonS3CompatibleLinkedService | OracleCloudStorageLinkedService | GoogleCloudStorageLinkedService | OracleLinkedService1 | AmazonRdsForOracleLinkedService | AzureMySqlLinkedService1 | MySqlLinkedService1 | PostgreSqlLinkedService1 | SybaseLinkedService1 | Db2LinkedService1 | TeradataLinkedService1 | AzureMLLinkedService1 | AzureMLServiceLinkedService | OdbcLinkedService1 | InformixLinkedService | MicrosoftAccessLinkedService | HdfsLinkedService1 | ODataLinkedService1 | WebLinkedService1 | CassandraLinkedService1 | MongoDbLinkedService1 | MongoDbAtlasLinkedService | MongoDbV2LinkedService | CosmosDbMongoDbApiLinkedService | AzureDataLakeStoreLinkedService1 | AzureBlobFSLinkedService | Office365LinkedService | SalesforceLinkedService1 | SalesforceServiceCloudLinkedService | SapCloudForCustomerLinkedService1 | SapEccLinkedService1 | SapOpenHubLinkedService | SapOdpLinkedService | RestServiceLinkedService | TeamDeskLinkedService | QuickbaseLinkedService | SmartsheetLinkedService | ZendeskLinkedService | DataworldLinkedService | AppFiguresLinkedService | AsanaLinkedService | TwilioLinkedService | AmazonS3LinkedService1 | AmazonRedshiftLinkedService1 | CustomDataSourceLinkedService1 | AzureSearchLinkedService1 | HttpLinkedService1 | FtpServerLinkedService1 | SftpServerLinkedService1 | SapBWLinkedService1 | SapHanaLinkedService1 | AmazonMWSLinkedService1 | AzurePostgreSqlLinkedService1 | ConcurLinkedService1 | CouchbaseLinkedService1 | DrillLinkedService1 | EloquaLinkedService1 | GoogleBigQueryLinkedService1 | GreenplumLinkedService1 | HBaseLinkedService1 | HiveLinkedService1 | HubspotLinkedService1 | ImpalaLinkedService1 | JiraLinkedService1 | MagentoLinkedService1 | MariaDBLinkedService1 | AzureMariaDBLinkedService | MarketoLinkedService1 | PaypalLinkedService1 | PhoenixLinkedService1 | PrestoLinkedService1 | QuickBooksLinkedService1 | ServiceNowLinkedService1 | ShopifyLinkedService1 | SparkLinkedService1 | SquareLinkedService1 | XeroLinkedService1 | ZohoLinkedService1 | VerticaLinkedService1 | NetezzaLinkedService1 | SalesforceMarketingCloudLinkedService1 | HDInsightOnDemandLinkedService1 | AzureDataLakeAnalyticsLinkedService1 | AzureDatabricksLinkedService1 | AzureDatabricksDeltaLakeLinkedService | ResponsysLinkedService1 | DynamicsAXLinkedService | OracleServiceCloudLinkedService | GoogleAdWordsLinkedService | SapTableLinkedService | AzureDataExplorerLinkedService | AzureFunctionLinkedService | SnowflakeLinkedService | SharePointOnlineListLinkedService) | string)␊ + properties: (LinkedService1 | string)␊ type: "Microsoft.DataFactory/factories/linkedservices"␊ [k: string]: unknown␊ }␊ @@ -256508,7 +256485,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * Azure data factory nested object which contains information about creating pipeline run␊ */␊ - properties: ((MultiplePipelineTrigger1 | TumblingWindowTrigger | RerunTumblingWindowTrigger | ChainingTrigger) | string)␊ + properties: (Trigger1 | string)␊ type: "Microsoft.DataFactory/factories/triggers"␊ [k: string]: unknown␊ }␊ @@ -257431,7 +257408,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * By default, Event Grid expects events to be in the Event Grid event schema. Specifying an input schema mapping enables publishing to Event Grid using a custom input schema. Currently, the only supported type of InputSchemaMapping is 'JsonInputSchemaMapping'.␊ */␊ - inputSchemaMapping?: (JsonInputSchemaMapping1 | string)␊ + inputSchemaMapping?: (InputSchemaMapping1 | string)␊ [k: string]: unknown␊ }␊ /**␊ @@ -258181,7 +258158,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * By default, Event Grid expects events to be in the Event Grid event schema. Specifying an input schema mapping enables publishing to Event Grid using a custom input schema. Currently, the only supported type of InputSchemaMapping is 'JsonInputSchemaMapping'.␊ */␊ - inputSchemaMapping?: (JsonInputSchemaMapping2 | string)␊ + inputSchemaMapping?: (InputSchemaMapping2 | string)␊ [k: string]: unknown␊ }␊ /**␊ @@ -263613,7 +263590,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * The base definition of a secret type.␊ */␊ - licenseKey?: (SecureString2 | string)␊ + licenseKey?: (SecretBase2 | string)␊ [k: string]: unknown␊ }␊ /**␊ @@ -264982,7 +264959,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved.␊ */␊ - actions?: ((RuleEmailAction | RuleWebhookAction)[] | string)␊ + actions?: (RuleAction[] | string)␊ /**␊ * The condition that results in the alert rule being activated.␊ */␊ @@ -267110,7 +267087,7 @@ Generated by [AVA](https://avajs.dev). /**␊ * the array of actions that are performed when the alert rule becomes active, and when an alert condition is resolved.␊ */␊ - actions?: ((RuleEmailAction1 | RuleWebhookAction1)[] | string)␊ + actions?: (RuleAction1[] | string)␊ /**␊ * The condition that results in the alert rule being activated.␊ */␊ @@ -444001,10 +443978,66 @@ Generated by [AVA](https://avajs.dev). * and run json-schema-to-typescript to regenerate this file.␊ */␊ ␊ - export type CoreSchemaMetaSchema = CoreSchemaMetaSchema1 & CoreSchemaMetaSchema2;␊ - export type NonNegativeInteger = number;␊ - export type NonNegativeIntegerDefault0 = NonNegativeInteger;␊ - export type CoreSchemaMetaSchema2 =␊ + export type CoreSchemaMetaSchema = {␊ + $id?: string;␊ + $schema?: string;␊ + $ref?: string;␊ + $comment?: string;␊ + title?: string;␊ + description?: string;␊ + default?: unknown;␊ + readOnly?: boolean;␊ + writeOnly?: boolean;␊ + examples?: unknown[];␊ + multipleOf?: number;␊ + maximum?: number;␊ + exclusiveMaximum?: number;␊ + minimum?: number;␊ + exclusiveMinimum?: number;␊ + maxLength?: NonNegativeInteger;␊ + minLength?: NonNegativeIntegerDefault0;␊ + pattern?: string;␊ + additionalItems?: CoreSchemaMetaSchema;␊ + items?: CoreSchemaMetaSchema | SchemaArray;␊ + maxItems?: NonNegativeInteger;␊ + minItems?: NonNegativeIntegerDefault0;␊ + uniqueItems?: boolean;␊ + contains?: CoreSchemaMetaSchema;␊ + maxProperties?: NonNegativeInteger;␊ + minProperties?: NonNegativeIntegerDefault0;␊ + required?: StringArray;␊ + additionalProperties?: CoreSchemaMetaSchema;␊ + definitions?: {␊ + [k: string]: CoreSchemaMetaSchema;␊ + };␊ + properties?: {␊ + [k: string]: CoreSchemaMetaSchema;␊ + };␊ + patternProperties?: {␊ + [k: string]: CoreSchemaMetaSchema;␊ + };␊ + dependencies?: {␊ + [k: string]: CoreSchemaMetaSchema | StringArray;␊ + };␊ + propertyNames?: CoreSchemaMetaSchema;␊ + const?: unknown;␊ + /**␊ + * @minItems 1␊ + */␊ + enum?: [unknown, ...unknown[]];␊ + type?: SimpleTypes | [SimpleTypes, ...SimpleTypes[]];␊ + format?: string;␊ + contentMediaType?: string;␊ + contentEncoding?: string;␊ + if?: CoreSchemaMetaSchema;␊ + then?: CoreSchemaMetaSchema;␊ + else?: CoreSchemaMetaSchema;␊ + allOf?: SchemaArray;␊ + anyOf?: SchemaArray;␊ + oneOf?: SchemaArray;␊ + not?: CoreSchemaMetaSchema;␊ + [k: string]: unknown;␊ + } & (␊ | {␊ $id?: string;␊ $schema?: string;␊ @@ -444024,29 +444057,29 @@ Generated by [AVA](https://avajs.dev). maxLength?: NonNegativeInteger;␊ minLength?: NonNegativeIntegerDefault0;␊ pattern?: string;␊ - additionalItems?: CoreSchemaMetaSchema2;␊ - items?: CoreSchemaMetaSchema2 | SchemaArray;␊ + additionalItems?: CoreSchemaMetaSchema;␊ + items?: CoreSchemaMetaSchema | SchemaArray;␊ maxItems?: NonNegativeInteger;␊ minItems?: NonNegativeIntegerDefault0;␊ uniqueItems?: boolean;␊ - contains?: CoreSchemaMetaSchema2;␊ + contains?: CoreSchemaMetaSchema;␊ maxProperties?: NonNegativeInteger;␊ minProperties?: NonNegativeIntegerDefault0;␊ required?: StringArray;␊ - additionalProperties?: CoreSchemaMetaSchema2;␊ + additionalProperties?: CoreSchemaMetaSchema;␊ definitions?: {␊ - [k: string]: CoreSchemaMetaSchema2;␊ + [k: string]: CoreSchemaMetaSchema;␊ };␊ properties?: {␊ - [k: string]: CoreSchemaMetaSchema2;␊ + [k: string]: CoreSchemaMetaSchema;␊ };␊ patternProperties?: {␊ - [k: string]: CoreSchemaMetaSchema2;␊ + [k: string]: CoreSchemaMetaSchema;␊ };␊ dependencies?: {␊ - [k: string]: CoreSchemaMetaSchema2 | StringArray;␊ + [k: string]: CoreSchemaMetaSchema | StringArray;␊ };␊ - propertyNames?: CoreSchemaMetaSchema2;␊ + propertyNames?: CoreSchemaMetaSchema;␊ const?: unknown;␊ /**␊ * @minItems 1␊ @@ -444056,83 +444089,25 @@ Generated by [AVA](https://avajs.dev). format?: string;␊ contentMediaType?: string;␊ contentEncoding?: string;␊ - if?: CoreSchemaMetaSchema2;␊ - then?: CoreSchemaMetaSchema2;␊ - else?: CoreSchemaMetaSchema2;␊ + if?: CoreSchemaMetaSchema;␊ + then?: CoreSchemaMetaSchema;␊ + else?: CoreSchemaMetaSchema;␊ allOf?: SchemaArray;␊ anyOf?: SchemaArray;␊ oneOf?: SchemaArray;␊ - not?: CoreSchemaMetaSchema2;␊ + not?: CoreSchemaMetaSchema;␊ [k: string]: unknown;␊ }␊ - | boolean;␊ + | boolean␊ + );␊ + export type NonNegativeInteger = number;␊ + export type NonNegativeIntegerDefault0 = NonNegativeInteger;␊ /**␊ * @minItems 1␊ */␊ - export type SchemaArray = [CoreSchemaMetaSchema2, ...CoreSchemaMetaSchema2[]];␊ + export type SchemaArray = [CoreSchemaMetaSchema, ...CoreSchemaMetaSchema[]];␊ export type StringArray = string[];␊ export type SimpleTypes = "array" | "boolean" | "integer" | "null" | "number" | "object" | "string";␊ - ␊ - export interface CoreSchemaMetaSchema1 {␊ - $id?: string;␊ - $schema?: string;␊ - $ref?: string;␊ - $comment?: string;␊ - title?: string;␊ - description?: string;␊ - default?: unknown;␊ - readOnly?: boolean;␊ - writeOnly?: boolean;␊ - examples?: unknown[];␊ - multipleOf?: number;␊ - maximum?: number;␊ - exclusiveMaximum?: number;␊ - minimum?: number;␊ - exclusiveMinimum?: number;␊ - maxLength?: NonNegativeInteger;␊ - minLength?: NonNegativeIntegerDefault0;␊ - pattern?: string;␊ - additionalItems?: CoreSchemaMetaSchema2;␊ - items?: CoreSchemaMetaSchema2 | SchemaArray;␊ - maxItems?: NonNegativeInteger;␊ - minItems?: NonNegativeIntegerDefault0;␊ - uniqueItems?: boolean;␊ - contains?: CoreSchemaMetaSchema2;␊ - maxProperties?: NonNegativeInteger;␊ - minProperties?: NonNegativeIntegerDefault0;␊ - required?: StringArray;␊ - additionalProperties?: CoreSchemaMetaSchema2;␊ - definitions?: {␊ - [k: string]: CoreSchemaMetaSchema2;␊ - };␊ - properties?: {␊ - [k: string]: CoreSchemaMetaSchema2;␊ - };␊ - patternProperties?: {␊ - [k: string]: CoreSchemaMetaSchema2;␊ - };␊ - dependencies?: {␊ - [k: string]: CoreSchemaMetaSchema2 | StringArray;␊ - };␊ - propertyNames?: CoreSchemaMetaSchema2;␊ - const?: unknown;␊ - /**␊ - * @minItems 1␊ - */␊ - enum?: [unknown, ...unknown[]];␊ - type?: SimpleTypes | [SimpleTypes, ...SimpleTypes[]];␊ - format?: string;␊ - contentMediaType?: string;␊ - contentEncoding?: string;␊ - if?: CoreSchemaMetaSchema2;␊ - then?: CoreSchemaMetaSchema2;␊ - else?: CoreSchemaMetaSchema2;␊ - allOf?: SchemaArray;␊ - anyOf?: SchemaArray;␊ - oneOf?: SchemaArray;␊ - not?: CoreSchemaMetaSchema2;␊ - [k: string]: unknown;␊ - }␊ ` ## realWorld.openapi.js @@ -444146,31 +444121,32 @@ Generated by [AVA](https://avajs.dev). * and run json-schema-to-typescript to regenerate this file.␊ */␊ ␊ - export type Parameter = Parameter1 & {␊ - name: string;␊ - in: string;␊ - description?: string;␊ - required?: boolean;␊ - deprecated?: boolean;␊ - allowEmptyValue?: boolean;␊ - style?: string;␊ - explode?: boolean;␊ - allowReserved?: boolean;␊ - schema?: Schema | Reference;␊ - content?: {␊ - [k: string]: MediaType;␊ - };␊ - example?: unknown;␊ - examples?: {␊ - [k: string]: Example | Reference;␊ + export type Parameter = ExampleXORExamples &␊ + SchemaXORContent &␊ + ParameterLocation & {␊ + name: string;␊ + in: string;␊ + description?: string;␊ + required?: boolean;␊ + deprecated?: boolean;␊ + allowEmptyValue?: boolean;␊ + style?: string;␊ + explode?: boolean;␊ + allowReserved?: boolean;␊ + schema?: Schema | Reference;␊ + content?: {␊ + [k: string]: MediaType;␊ + };␊ + example?: unknown;␊ + examples?: {␊ + [k: string]: Example | Reference;␊ + };␊ + /**␊ + * This interface was referenced by \`undefined\`'s JSON-Schema definition␊ + * via the \`patternProperty\` "^x-".␊ + */␊ + [k: string]: unknown;␊ };␊ - /**␊ - * This interface was referenced by \`undefined\`'s JSON-Schema definition␊ - * via the \`patternProperty\` "^x-".␊ - */␊ - [k: string]: unknown;␊ - };␊ - export type Parameter1 = ExampleXORExamples & SchemaXORContent & ParameterLocation;␊ /**␊ * Schema and content are mutually exclusive, at least one is required␊ */␊ @@ -444202,7 +444178,7 @@ Generated by [AVA](https://avajs.dev). style?: "form";␊ [k: string]: unknown;␊ };␊ - export type MediaType = MediaType1 & {␊ + export type MediaType = ExampleXORExamples & {␊ schema?: Schema | Reference;␊ example?: unknown;␊ examples?: {␊ @@ -444217,30 +444193,29 @@ Generated by [AVA](https://avajs.dev). */␊ [k: string]: unknown;␊ };␊ - export type MediaType1 = ExampleXORExamples;␊ - export type Header = Header1 & {␊ - description?: string;␊ - required?: boolean;␊ - deprecated?: boolean;␊ - allowEmptyValue?: boolean;␊ - style?: "simple";␊ - explode?: boolean;␊ - allowReserved?: boolean;␊ - schema?: Schema | Reference;␊ - content?: {␊ - [k: string]: MediaType1;␊ - };␊ - example?: unknown;␊ - examples?: {␊ - [k: string]: Example | Reference;␊ + export type Header = ExampleXORExamples &␊ + SchemaXORContent & {␊ + description?: string;␊ + required?: boolean;␊ + deprecated?: boolean;␊ + allowEmptyValue?: boolean;␊ + style?: "simple";␊ + explode?: boolean;␊ + allowReserved?: boolean;␊ + schema?: Schema | Reference;␊ + content?: {␊ + [k: string]: MediaType;␊ + };␊ + example?: unknown;␊ + examples?: {␊ + [k: string]: Example | Reference;␊ + };␊ + /**␊ + * This interface was referenced by \`undefined\`'s JSON-Schema definition␊ + * via the \`patternProperty\` "^x-".␊ + */␊ + [k: string]: unknown;␊ };␊ - /**␊ - * This interface was referenced by \`undefined\`'s JSON-Schema definition␊ - * via the \`patternProperty\` "^x-".␊ - */␊ - [k: string]: unknown;␊ - };␊ - export type Header1 = ExampleXORExamples & SchemaXORContent;␊ export type SecurityScheme =␊ | APIKeySecurityScheme␊ | HTTPSecurityScheme␊ @@ -444487,7 +444462,7 @@ Generated by [AVA](https://avajs.dev). description?: string;␊ externalDocs?: ExternalDocumentation;␊ operationId?: string;␊ - parameters?: (Parameter1 | Reference)[];␊ + parameters?: (Parameter | Reference)[];␊ requestBody?: RequestBody | Reference;␊ responses: Responses;␊ callbacks?: {␊ @@ -444505,7 +444480,7 @@ Generated by [AVA](https://avajs.dev). export interface RequestBody {␊ description?: string;␊ content: {␊ - [k: string]: MediaType1;␊ + [k: string]: MediaType;␊ };␊ required?: boolean;␊ /**␊ @@ -444520,10 +444495,10 @@ Generated by [AVA](https://avajs.dev). export interface Response {␊ description: string;␊ headers?: {␊ - [k: string]: Header1 | Reference;␊ + [k: string]: Header | Reference;␊ };␊ content?: {␊ - [k: string]: MediaType1;␊ + [k: string]: MediaType;␊ };␊ links?: {␊ [k: string]: Link | Reference;␊ @@ -444572,7 +444547,7 @@ Generated by [AVA](https://avajs.dev). * This interface was referenced by \`undefined\`'s JSON-Schema definition␊ * via the \`patternProperty\` "^[a-zA-Z0-9\\.\\-_]+$".␊ */␊ - [k: string]: Reference | Parameter1;␊ + [k: string]: Reference | Parameter;␊ };␊ examples?: {␊ /**␊ @@ -444593,7 +444568,7 @@ Generated by [AVA](https://avajs.dev). * This interface was referenced by \`undefined\`'s JSON-Schema definition␊ * via the \`patternProperty\` "^[a-zA-Z0-9\\.\\-_]+$".␊ */␊ - [k: string]: Reference | Header1;␊ + [k: string]: Reference | Header;␊ };␊ securitySchemes?: {␊ /**␊ @@ -447604,74 +447579,9 @@ Generated by [AVA](https://avajs.dev). * and run json-schema-to-typescript to regenerate this file.␊ */␊ ␊ - export type JSONSchemaForNPMPackageJsonFiles = JSONSchemaForNPMPackageJsonFiles1 & JSONSchemaForNPMPackageJsonFiles2;␊ - export type JSONSchemaForNPMPackageJsonFiles1 = {␊ - [k: string]: unknown;␊ - };␊ - /**␊ - * A person who has been involved in creating or maintaining this package.␊ - */␊ - export type Person = {␊ - name: string;␊ - url?: string;␊ - email?: string;␊ + export type JSONSchemaForNPMPackageJsonFiles = {␊ [k: string]: unknown;␊ - } & Person1;␊ - export type Person1 =␊ - | {␊ - name: string;␊ - url?: string;␊ - email?: string;␊ - [k: string]: unknown;␊ - }␊ - | string;␊ - export type PackageExportsEntry = PackageExportsEntryPath | PackageExportsEntryObject;␊ - /**␊ - * The module path that is resolved when this specifier is imported. Set to \`null\` to disallow importing this module.␊ - */␊ - export type PackageExportsEntryPath = string | null;␊ - /**␊ - * Used to allow fallbacks in case this environment doesn't support the preceding entries.␊ - */␊ - export type PackageExportsFallback = PackageExportsEntry[];␊ - /**␊ - * Used to allow fallbacks in case this environment doesn't support the preceding entries.␊ - */␊ - export type PackageExportsFallback1 = PackageExportsEntry[];␊ - /**␊ - * Run AFTER the package is published.␊ - */␊ - export type ScriptsPublishAfter = string;␊ - /**␊ - * Run AFTER the package is installed.␊ - */␊ - export type ScriptsInstallAfter = string;␊ - /**␊ - * Run BEFORE the package is uninstalled.␊ - */␊ - export type ScriptsUninstallBefore = string;␊ - /**␊ - * Run BEFORE bump the package version.␊ - */␊ - export type ScriptsVersionBefore = string;␊ - /**␊ - * Run by the 'npm test' command.␊ - */␊ - export type ScriptsTest = string;␊ - /**␊ - * Run by the 'npm stop' command.␊ - */␊ - export type ScriptsStop = string;␊ - /**␊ - * Run by the 'npm start' command.␊ - */␊ - export type ScriptsStart = string;␊ - /**␊ - * Run by the 'npm restart' command. Note: 'npm restart' will run the stop and start scripts if no restart script is provided.␊ - */␊ - export type ScriptsRestart = string;␊ - ␊ - export interface JSONSchemaForNPMPackageJsonFiles2 {␊ + } & {␊ /**␊ * The name of the package.␊ */␊ @@ -447724,11 +447634,11 @@ Generated by [AVA](https://avajs.dev). /**␊ * A list of people who contributed to this package.␊ */␊ - contributors?: Person1[];␊ + contributors?: Person[];␊ /**␊ * A list of people who maintains this package.␊ */␊ - maintainers?: Person1[];␊ + maintainers?: Person[];␊ /**␊ * The 'files' field is an array of files to include in your project. If you name a folder in the array, then it will also include the files inside that folder.␊ */␊ @@ -447988,15 +447898,78 @@ Generated by [AVA](https://avajs.dev). nohoist?: string[];␊ [k: string]: unknown;␊ };␊ - jspm?: JSONSchemaForNPMPackageJsonFiles1;␊ + jspm?: JSONSchemaForNPMPackageJsonFiles;␊ /**␊ * Any property starting with _ is valid.␊ *␊ - * This interface was referenced by \`JSONSchemaForNPMPackageJsonFiles2\`'s JSON-Schema definition␊ + * This interface was referenced by \`undefined\`'s JSON-Schema definition␊ * via the \`patternProperty\` "^_".␊ */␊ [k: string]: any;␊ - }␊ + };␊ + /**␊ + * A person who has been involved in creating or maintaining this package.␊ + */␊ + export type Person = {␊ + name: string;␊ + url?: string;␊ + email?: string;␊ + [k: string]: unknown;␊ + } & Person1;␊ + export type Person1 =␊ + | {␊ + name: string;␊ + url?: string;␊ + email?: string;␊ + [k: string]: unknown;␊ + }␊ + | string;␊ + export type PackageExportsEntry = PackageExportsEntryPath | PackageExportsEntryObject;␊ + /**␊ + * The module path that is resolved when this specifier is imported. Set to \`null\` to disallow importing this module.␊ + */␊ + export type PackageExportsEntryPath = string | null;␊ + /**␊ + * Used to allow fallbacks in case this environment doesn't support the preceding entries.␊ + */␊ + export type PackageExportsFallback = PackageExportsEntry[];␊ + /**␊ + * Used to allow fallbacks in case this environment doesn't support the preceding entries.␊ + */␊ + export type PackageExportsFallback1 = PackageExportsEntry[];␊ + /**␊ + * Run AFTER the package is published.␊ + */␊ + export type ScriptsPublishAfter = string;␊ + /**␊ + * Run AFTER the package is installed.␊ + */␊ + export type ScriptsInstallAfter = string;␊ + /**␊ + * Run BEFORE the package is uninstalled.␊ + */␊ + export type ScriptsUninstallBefore = string;␊ + /**␊ + * Run BEFORE bump the package version.␊ + */␊ + export type ScriptsVersionBefore = string;␊ + /**␊ + * Run by the 'npm test' command.␊ + */␊ + export type ScriptsTest = string;␊ + /**␊ + * Run by the 'npm stop' command.␊ + */␊ + export type ScriptsStop = string;␊ + /**␊ + * Run by the 'npm start' command.␊ + */␊ + export type ScriptsStart = string;␊ + /**␊ + * Run by the 'npm restart' command. Note: 'npm restart' will run the stop and start scripts if no restart script is provided.␊ + */␊ + export type ScriptsRestart = string;␊ + ␊ /**␊ * Used to specify conditional exports, note that Conditional exports are unsupported in older environments, so it's recommended to use the fallback array option if support for those environments is a concern.␊ */␊ @@ -448957,6 +448930,29 @@ Generated by [AVA](https://avajs.dev). export type Union = string | false;␊ ` +## union.5.js + +> Expected output to match snapshot for e2e test: union.5.js + + `/* eslint-disable */␊ + /**␊ + * This file was automatically generated by json-schema-to-typescript.␊ + * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,␊ + * and run json-schema-to-typescript to regenerate this file.␊ + */␊ + ␊ + export type Union = A | B;␊ + export type A = C | D;␊ + export type B = C | D;␊ + ␊ + export interface C {␊ + c?: string;␊ + }␊ + export interface D {␊ + d?: string;␊ + }␊ + ` + ## union.js > Expected output to match snapshot for e2e test: union.js @@ -448995,8 +448991,7 @@ Generated by [AVA](https://avajs.dev). * and run json-schema-to-typescript to regenerate this file.␊ */␊ ␊ - export type UnionWithProps = UnionWithProps1 & UnionWithProps2;␊ - export type UnionWithProps1 =␊ + export type UnionWithProps = (␊ | {␊ obj_type: "Foo";␊ foo_type?: string;␊ @@ -449008,13 +449003,12 @@ Generated by [AVA](https://avajs.dev). team: string;␊ health: number;␊ [k: string]: unknown;␊ - };␊ - ␊ - export interface UnionWithProps2 {␊ + }␊ + ) & {␊ coords: number;␊ id: number;␊ [k: string]: unknown;␊ - }␊ + };␊ ` ## unnamedSchema.js diff --git a/test/__snapshots__/test/test.ts.snap b/test/__snapshots__/test/test.ts.snap index 0545e964..4d85a28f 100644 Binary files a/test/__snapshots__/test/test.ts.snap and b/test/__snapshots__/test/test.ts.snap differ diff --git a/test/e2e/intersection.4.ts b/test/e2e/intersection.4.ts new file mode 100644 index 00000000..24daed1f --- /dev/null +++ b/test/e2e/intersection.4.ts @@ -0,0 +1,29 @@ +export const input = { + type: 'object', + oneOf: [{$ref: '#/definitions/A'}, {$ref: '#/definitions/B'}], + definitions: { + A: { + type: 'object', + allOf: [{$ref: '#/definitions/Base'}], + properties: { + b: {$ref: '#/definitions/B'}, + }, + additionalProperties: false, + }, + B: { + type: 'object', + allOf: [{$ref: '#/definitions/Base'}], + properties: { + x: {type: 'string'}, + }, + additionalProperties: false, + }, + Base: { + type: 'object', + properties: { + y: {type: 'string'}, + }, + additionalProperties: false, + }, + }, +} diff --git a/test/e2e/intersection.5.ts b/test/e2e/intersection.5.ts new file mode 100755 index 00000000..c42030dc --- /dev/null +++ b/test/e2e/intersection.5.ts @@ -0,0 +1,37 @@ +export const input = { + type: 'object', + oneOf: [{$ref: '#/definitions/A'}, {$ref: '#/definitions/B'}], + definitions: { + A: { + type: 'object', + allOf: [ + {$ref: '#/definitions/Base'}, + { + properties: { + b: {$ref: '#/definitions/B'}, + }, + }, + ], + additionalProperties: false, + }, + B: { + type: 'object', + allOf: [ + {$ref: '#/definitions/Base'}, + { + properties: { + x: {type: 'string'}, + }, + }, + ], + additionalProperties: false, + }, + Base: { + type: 'object', + properties: { + y: {type: 'string'}, + }, + additionalProperties: false, + }, + }, +} diff --git a/test/e2e/intersection.6.ts b/test/e2e/intersection.6.ts new file mode 100755 index 00000000..f58bbb5b --- /dev/null +++ b/test/e2e/intersection.6.ts @@ -0,0 +1,37 @@ +// From https://github.com/bcherny/json-schema-to-typescript/issues/597 +export const input = { + oneOf: [{$ref: '#/definitions/Car'}, {$ref: '#/definitions/Truck'}], + definitions: { + Thing: { + type: 'object', + properties: { + name: {type: 'string'}, + }, + required: ['name'], + }, + Vehicle: { + type: 'object', + allOf: [{$ref: '#/definitions/Thing'}], + properties: { + year: {type: 'integer'}, + }, + required: ['year'], + }, + Car: { + type: 'object', + allOf: [{$ref: '#/definitions/Vehicle'}], + properties: { + numDoors: {type: 'integer'}, + }, + required: ['numDoors'], + }, + Truck: { + type: 'object', + allOf: [{$ref: '#/definitions/Vehicle'}], + properties: { + numAxles: {type: 'integer'}, + }, + required: ['numAxles'], + }, + }, +} diff --git a/test/e2e/union.5.ts b/test/e2e/union.5.ts new file mode 100755 index 00000000..befc3f83 --- /dev/null +++ b/test/e2e/union.5.ts @@ -0,0 +1,43 @@ +export const input = { + type: 'object', + oneOf: [{$ref: '#/definitions/A'}, {$ref: '#/definitions/B'}], + definitions: { + A: { + oneOf: [ + { + $ref: '#/definitions/C', + }, + { + $ref: '#/definitions/D', + }, + ], + additionalProperties: false, + }, + B: { + type: 'object', + oneOf: [ + { + $ref: '#/definitions/C', + }, + { + $ref: '#/definitions/D', + }, + ], + additionalProperties: false, + }, + C: { + type: 'object', + properties: { + c: {type: 'string'}, + }, + additionalProperties: false, + }, + D: { + type: 'object', + properties: { + d: {type: 'string'}, + }, + additionalProperties: false, + }, + }, +}