From d6277e8fe21c1845bbd520e90e6b4bd4348ce316 Mon Sep 17 00:00:00 2001 From: Niels Swimberghe <3382717+Swimburger@users.noreply.github.com> Date: Thu, 21 Nov 2024 13:00:40 -0500 Subject: [PATCH 01/20] Allow inline type reference inside Fern def object properties --- api-yml.schema.json | 10 + fern.schema.json | 40 + .../apis/fern-definition/definition/types.yml | 195 ++-- generators-yml.schema.json | 10 + .../__test__/__snapshots__/ir.test.ts.snap | 2 + package-yml.schema.json | 40 + .../test-definitions/inline-types.json | 470 ++++++++++ .../inline-types/type__InlineType1.json | 34 + .../inline-types/type__MixedInlineType1.json | 17 + .../inline-types/type__NestedInlineType1.json | 17 + .../inline-types/type__RootType1.json | 70 ++ .../inline-types/type__RootType2.json | 34 + .../types/TypeReferenceDeclarationWithName.ts | 1 + .../types/TypeReferenceDeclarationWithName.ts | 2 + .../ast/visitors/services/visitHttpService.ts | 3 + .../src/ast/visitors/visitTypeDeclarations.ts | 1 + .../src/ast/visitors/visitWebhooks.ts | 2 + .../ir-generator/src/FernFileContext.ts | 16 +- .../src/__test__/parseInlineType.test.ts | 1 + .../test-definitions/inline-types.json | 848 ++++++++++++++++++ .../src/generateIntermediateRepresentation.ts | 52 +- .../src/resolvers/TypeResolver.ts | 1 + .../ir-generator/src/utils/parseInlineType.ts | 19 +- .../src/api-yml.schema.json | 10 + .../lazy-fern-workspace/src/fern.schema.json | 40 + .../src/package-yml.schema.json | 40 + .../__test__/__snapshots__/inline-types.json | 171 ++++ .../src/validateAgainstJsonSchema.ts | 4 +- pnpm-lock.yaml | 2 + .../inline-types/definition/__package__.yml | 33 + .../fern/apis/inline-types/definition/api.yml | 1 + .../fern/apis/inline-types/generators.yml | 1 + 32 files changed, 2076 insertions(+), 111 deletions(-) create mode 100644 packages/cli/dynamic-snippets/src/__test__/test-definitions/inline-types.json create mode 100644 packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__InlineType1.json create mode 100644 packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__MixedInlineType1.json create mode 100644 packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__NestedInlineType1.json create mode 100644 packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__RootType1.json create mode 100644 packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__RootType2.json create mode 100644 packages/cli/generation/ir-generator/src/__test__/test-definitions/inline-types.json create mode 100644 packages/cli/register/src/ir-to-fdr-converter/__test__/__snapshots__/inline-types.json create mode 100644 test-definitions/fern/apis/inline-types/definition/__package__.yml create mode 100644 test-definitions/fern/apis/inline-types/definition/api.yml create mode 100644 test-definitions/fern/apis/inline-types/generators.yml diff --git a/api-yml.schema.json b/api-yml.schema.json index 8f0be5f7c4a..fd82803541f 100644 --- a/api-yml.schema.json +++ b/api-yml.schema.json @@ -1015,6 +1015,16 @@ "type": { "type": "string" }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "default": { "oneOf": [ { diff --git a/fern.schema.json b/fern.schema.json index 349f5983914..72a65edf562 100644 --- a/fern.schema.json +++ b/fern.schema.json @@ -441,6 +441,16 @@ }, "type": { "type": "string" + }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] } }, "required": [ @@ -1434,6 +1444,16 @@ "type": { "type": "string" }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "default": { "oneOf": [ { @@ -1546,6 +1566,16 @@ "type": { "type": "string" }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "default": { "oneOf": [ { @@ -1683,6 +1713,16 @@ "type": { "type": "string" }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "default": { "oneOf": [ { diff --git a/fern/apis/fern-definition/definition/types.yml b/fern/apis/fern-definition/definition/types.yml index 0b78c7b030d..0cf09c4a8b2 100644 --- a/fern/apis/fern-definition/definition/types.yml +++ b/fern/apis/fern-definition/definition/types.yml @@ -1,151 +1,152 @@ -imports: +imports: commons: commons.yml encoding: encoding.yml validation: validation.yml examples: examples.yml source: source.yml -types: - TypeDeclarationSchema: +types: + TypeDeclarationSchema: discriminated: false - union: + union: - string - ObjectSchema - EnumSchema - DiscriminatedUnionSchema - UndiscriminatedUnionSchema - AliasSchema - - # InlinedTypeDeclaration: + + # InlinedTypeDeclaration: # discriminated: false - # union: + # union: # - InlinedObjectSchema # - InlinedEnumSchema # - InlinedDiscriminatedUnionSchema # - InlinedUndiscriminatedUnionSchema - - # InlinedObjectSchema: + + # InlinedObjectSchema: # extends: ObjectSchema - # properties: + # properties: # name: string - # InlinedEnumSchema: + # InlinedEnumSchema: # extends: EnumSchema - # properties: + # properties: # name: string - - # InlinedDiscriminatedUnionSchema: + + # InlinedDiscriminatedUnionSchema: # extends: DiscriminatedUnionSchema - # properties: - # name: string + # properties: + # name: string - # InlinedUndiscriminatedUnionSchema: + # InlinedUndiscriminatedUnionSchema: # extends: UndiscriminatedUnionSchema - # properties: - # name: string + # properties: + # name: string - TypeReferenceSchema: + TypeReferenceSchema: discriminated: false - union: + union: - string - TypeReferenceDetailedSchema - - BaseTypeReferenceSchema: - extends: + + BaseTypeReferenceSchema: + extends: - commons.WithDocsSchema - commons.WithAvailability - properties: + properties: default: optional encoding: optional validation: optional - - TypeReferenceDetailedSchema: - extends: + + TypeReferenceDetailedSchema: + extends: - BaseTypeReferenceSchema - commons.WithName - commons.WithAudiences - properties: + properties: type: string - TypeReferenceDeclarationWithNameSchema: + TypeReferenceDeclarationWithNameSchema: discriminated: false - union: + union: - string - TypeReferenceDeclarationWithName - + TypeReferenceDeclarationWithName: - extends: + extends: - BaseTypeReferenceSchema - commons.WithName - commons.WithAudiences - properties: + properties: type: string - - BaseTypeDeclarationSchema: - extends: + inline: optional + + BaseTypeDeclarationSchema: + extends: - commons.WithDocsSchema - commons.WithAvailability - commons.WithAudiences - properties: + properties: examples: optional> encoding: optional source: optional - - ### Aliases #### - AliasSchema: + ### Aliases #### + + AliasSchema: extends: BaseTypeDeclarationSchema - properties: + properties: type: string validation: optional - + #### Objects #### - ObjectSchema: + ObjectSchema: extends: BaseTypeDeclarationSchema - properties: + properties: extends: optional properties: optional> extra-properties: optional - + ObjectPropertySchema: TypeReferenceDeclarationWithNameSchema - - ObjectExtendsSchema: + + ObjectExtendsSchema: discriminated: false - union: + union: - string - list # ObjectPropertyDeclaration: - # discriminated: false - # union: + # discriminated: false + # union: # - TypeReference # - InlinedTypeDeclaration - + #### Enums #### - - EnumSchema: + + EnumSchema: extends: BaseTypeDeclarationSchema - properties: + properties: default: optional enum: list - + EnumValue: discriminated: false - union: + union: - string - EnumValueSchema - - EnumValueSchema: - extends: + + EnumValueSchema: + extends: - commons.WithDocsSchema - commons.WithName - properties: + properties: value: string casing: optional - - CasingOverridesSchema: - properties: + + CasingOverridesSchema: + properties: camel: optional snake: optional pascal: optional @@ -153,71 +154,71 @@ types: #### Discriminated Union #### - SingleUnionTypeSchema: + SingleUnionTypeSchema: discriminated: false - union: + union: - string - - SingleUnionTypeDetailedSchema - - SingleUnionTypeDetailedSchema: - extends: + - SingleUnionTypeDetailedSchema + + SingleUnionTypeDetailedSchema: + extends: - commons.WithDocsSchema - commons.WithName - commons.WithAvailability - commons.WithDisplayName - properties: + properties: type: optional key: optional - - SingleUnionTypeKey: + + SingleUnionTypeKey: discriminated: false - union: + union: - string - SingleUnionTypeKeySchema - SingleUnionTypeKeySchema: - extends: + SingleUnionTypeKeySchema: + extends: - commons.WithName - properties: + properties: value: string - - DiscriminatedUnionSchema: + + DiscriminatedUnionSchema: extends: BaseTypeDeclarationSchema - properties: + properties: discriminant: optional extends: optional base-properties: optional> union: map - - UnionDiscriminant: + + UnionDiscriminant: discriminated: false - union: + union: - string - UnionDiscriminantSchema - - UnionDiscriminantSchema: - extends: + + UnionDiscriminantSchema: + extends: - commons.WithName - properties: + properties: value: string -#### Undiscriminated Union #### + #### Undiscriminated Union #### - UndiscriminatedUnionSchema: + UndiscriminatedUnionSchema: extends: BaseTypeDeclarationSchema - properties: + properties: discriminated: literal union: list - - SingleUndiscriminatedUnionTypeSchema: + + SingleUndiscriminatedUnionTypeSchema: discriminated: false - union: + union: - string - SingleUndiscriminatedUnionTypeDetailedSchema - + SingleUndiscriminatedUnionTypeDetailedSchema: - extends: + extends: - commons.WithDocsSchema - commons.WithDisplayName - properties: - type: string \ No newline at end of file + properties: + type: string diff --git a/generators-yml.schema.json b/generators-yml.schema.json index fce053dcbd7..5f0130aaf20 100644 --- a/generators-yml.schema.json +++ b/generators-yml.schema.json @@ -1007,6 +1007,16 @@ "type": { "type": "string" }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "default": { "oneOf": [ { diff --git a/generators/go-v2/dynamic-snippets/src/__test__/__snapshots__/ir.test.ts.snap b/generators/go-v2/dynamic-snippets/src/__test__/__snapshots__/ir.test.ts.snap index f119ecbe5a9..6011e18e6a9 100644 --- a/generators/go-v2/dynamic-snippets/src/__test__/__snapshots__/ir.test.ts.snap +++ b/generators/go-v2/dynamic-snippets/src/__test__/__snapshots__/ir.test.ts.snap @@ -3644,6 +3644,8 @@ func do() { " `; +exports[`test definitions > inline-types 1`] = `""`; + exports[`test definitions > license 1`] = ` "package example diff --git a/package-yml.schema.json b/package-yml.schema.json index ea25e26f1c9..b1d3bc19759 100644 --- a/package-yml.schema.json +++ b/package-yml.schema.json @@ -461,6 +461,16 @@ }, "type": { "type": "string" + }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] } }, "required": [ @@ -1454,6 +1464,16 @@ "type": { "type": "string" }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "default": { "oneOf": [ { @@ -1566,6 +1586,16 @@ "type": { "type": "string" }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "default": { "oneOf": [ { @@ -1703,6 +1733,16 @@ "type": { "type": "string" }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "default": { "oneOf": [ { diff --git a/packages/cli/dynamic-snippets/src/__test__/test-definitions/inline-types.json b/packages/cli/dynamic-snippets/src/__test__/test-definitions/inline-types.json new file mode 100644 index 00000000000..9472c688900 --- /dev/null +++ b/packages/cli/dynamic-snippets/src/__test__/test-definitions/inline-types.json @@ -0,0 +1,470 @@ +{ + "version": "1.0.0", + "types": { + "type_:RootType1": { + "type": "object", + "declaration": { + "name": { + "originalName": "RootType1", + "camelCase": { + "unsafeName": "rootType1", + "safeName": "rootType1" + }, + "snakeCase": { + "unsafeName": "root_type1", + "safeName": "root_type1" + }, + "screamingSnakeCase": { + "unsafeName": "ROOT_TYPE1", + "safeName": "ROOT_TYPE1" + }, + "pascalCase": { + "unsafeName": "RootType1", + "safeName": "RootType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + } + }, + "properties": [ + { + "name": { + "name": { + "originalName": "foo", + "camelCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "snakeCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "screamingSnakeCase": { + "unsafeName": "FOO", + "safeName": "FOO" + }, + "pascalCase": { + "unsafeName": "Foo", + "safeName": "Foo" + } + }, + "wireValue": "foo" + }, + "typeReference": { + "_type": "primitive", + "value": "STRING" + } + }, + { + "name": { + "name": { + "originalName": "bar", + "camelCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "snakeCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "screamingSnakeCase": { + "unsafeName": "BAR", + "safeName": "BAR" + }, + "pascalCase": { + "unsafeName": "Bar", + "safeName": "Bar" + } + }, + "wireValue": "bar" + }, + "typeReference": { + "_type": "named", + "value": "type_:InlineType1" + } + }, + { + "name": { + "name": { + "originalName": "two", + "camelCase": { + "unsafeName": "two", + "safeName": "two" + }, + "snakeCase": { + "unsafeName": "two", + "safeName": "two" + }, + "screamingSnakeCase": { + "unsafeName": "TWO", + "safeName": "TWO" + }, + "pascalCase": { + "unsafeName": "Two", + "safeName": "Two" + } + }, + "wireValue": "two" + }, + "typeReference": { + "_type": "named", + "value": "type_:MixedInlineType1" + } + } + ] + }, + "type_:RootType2": { + "type": "object", + "declaration": { + "name": { + "originalName": "RootType2", + "camelCase": { + "unsafeName": "rootType2", + "safeName": "rootType2" + }, + "snakeCase": { + "unsafeName": "root_type2", + "safeName": "root_type2" + }, + "screamingSnakeCase": { + "unsafeName": "ROOT_TYPE2", + "safeName": "ROOT_TYPE2" + }, + "pascalCase": { + "unsafeName": "RootType2", + "safeName": "RootType2" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + } + }, + "properties": [ + { + "name": { + "name": { + "originalName": "one", + "camelCase": { + "unsafeName": "one", + "safeName": "one" + }, + "snakeCase": { + "unsafeName": "one", + "safeName": "one" + }, + "screamingSnakeCase": { + "unsafeName": "ONE", + "safeName": "ONE" + }, + "pascalCase": { + "unsafeName": "One", + "safeName": "One" + } + }, + "wireValue": "one" + }, + "typeReference": { + "_type": "primitive", + "value": "INTEGER" + } + }, + { + "name": { + "name": { + "originalName": "two", + "camelCase": { + "unsafeName": "two", + "safeName": "two" + }, + "snakeCase": { + "unsafeName": "two", + "safeName": "two" + }, + "screamingSnakeCase": { + "unsafeName": "TWO", + "safeName": "TWO" + }, + "pascalCase": { + "unsafeName": "Two", + "safeName": "Two" + } + }, + "wireValue": "two" + }, + "typeReference": { + "_type": "named", + "value": "type_:MixedInlineType1" + } + } + ] + }, + "type_:InlineType1": { + "type": "object", + "declaration": { + "name": { + "originalName": "InlineType1", + "camelCase": { + "unsafeName": "inlineType1", + "safeName": "inlineType1" + }, + "snakeCase": { + "unsafeName": "inline_type1", + "safeName": "inline_type1" + }, + "screamingSnakeCase": { + "unsafeName": "INLINE_TYPE1", + "safeName": "INLINE_TYPE1" + }, + "pascalCase": { + "unsafeName": "InlineType1", + "safeName": "InlineType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + } + }, + "properties": [ + { + "name": { + "name": { + "originalName": "foo", + "camelCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "snakeCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "screamingSnakeCase": { + "unsafeName": "FOO", + "safeName": "FOO" + }, + "pascalCase": { + "unsafeName": "Foo", + "safeName": "Foo" + } + }, + "wireValue": "foo" + }, + "typeReference": { + "_type": "primitive", + "value": "STRING" + } + }, + { + "name": { + "name": { + "originalName": "bar", + "camelCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "snakeCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "screamingSnakeCase": { + "unsafeName": "BAR", + "safeName": "BAR" + }, + "pascalCase": { + "unsafeName": "Bar", + "safeName": "Bar" + } + }, + "wireValue": "bar" + }, + "typeReference": { + "_type": "named", + "value": "type_:NestedInlineType1" + } + } + ] + }, + "type_:NestedInlineType1": { + "type": "object", + "declaration": { + "name": { + "originalName": "NestedInlineType1", + "camelCase": { + "unsafeName": "nestedInlineType1", + "safeName": "nestedInlineType1" + }, + "snakeCase": { + "unsafeName": "nested_inline_type1", + "safeName": "nested_inline_type1" + }, + "screamingSnakeCase": { + "unsafeName": "NESTED_INLINE_TYPE1", + "safeName": "NESTED_INLINE_TYPE1" + }, + "pascalCase": { + "unsafeName": "NestedInlineType1", + "safeName": "NestedInlineType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + } + }, + "properties": [ + { + "name": { + "name": { + "originalName": "foo", + "camelCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "snakeCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "screamingSnakeCase": { + "unsafeName": "FOO", + "safeName": "FOO" + }, + "pascalCase": { + "unsafeName": "Foo", + "safeName": "Foo" + } + }, + "wireValue": "foo" + }, + "typeReference": { + "_type": "primitive", + "value": "STRING" + } + }, + { + "name": { + "name": { + "originalName": "bar", + "camelCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "snakeCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "screamingSnakeCase": { + "unsafeName": "BAR", + "safeName": "BAR" + }, + "pascalCase": { + "unsafeName": "Bar", + "safeName": "Bar" + } + }, + "wireValue": "bar" + }, + "typeReference": { + "_type": "primitive", + "value": "STRING" + } + } + ] + }, + "type_:MixedInlineType1": { + "type": "object", + "declaration": { + "name": { + "originalName": "MixedInlineType1", + "camelCase": { + "unsafeName": "mixedInlineType1", + "safeName": "mixedInlineType1" + }, + "snakeCase": { + "unsafeName": "mixed_inline_type1", + "safeName": "mixed_inline_type1" + }, + "screamingSnakeCase": { + "unsafeName": "MIXED_INLINE_TYPE1", + "safeName": "MIXED_INLINE_TYPE1" + }, + "pascalCase": { + "unsafeName": "MixedInlineType1", + "safeName": "MixedInlineType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + } + }, + "properties": [ + { + "name": { + "name": { + "originalName": "foo", + "camelCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "snakeCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "screamingSnakeCase": { + "unsafeName": "FOO", + "safeName": "FOO" + }, + "pascalCase": { + "unsafeName": "Foo", + "safeName": "Foo" + } + }, + "wireValue": "foo" + }, + "typeReference": { + "_type": "primitive", + "value": "STRING" + } + }, + { + "name": { + "name": { + "originalName": "bar", + "camelCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "snakeCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "screamingSnakeCase": { + "unsafeName": "BAR", + "safeName": "BAR" + }, + "pascalCase": { + "unsafeName": "Bar", + "safeName": "Bar" + } + }, + "wireValue": "bar" + }, + "typeReference": { + "_type": "primitive", + "value": "STRING" + } + } + ] + } + }, + "headers": [], + "endpoints": {} +} \ No newline at end of file diff --git a/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__InlineType1.json b/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__InlineType1.json new file mode 100644 index 00000000000..0f687ba769b --- /dev/null +++ b/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__InlineType1.json @@ -0,0 +1,34 @@ +{ + "type": "object", + "properties": { + "foo": { + "type": "string" + }, + "bar": { + "$ref": "#/definitions/NestedInlineType1" + } + }, + "required": [ + "foo", + "bar" + ], + "additionalProperties": false, + "definitions": { + "NestedInlineType1": { + "type": "object", + "properties": { + "foo": { + "type": "string" + }, + "bar": { + "type": "string" + } + }, + "required": [ + "foo", + "bar" + ], + "additionalProperties": false + } + } +} \ No newline at end of file diff --git a/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__MixedInlineType1.json b/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__MixedInlineType1.json new file mode 100644 index 00000000000..a86a97251cf --- /dev/null +++ b/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__MixedInlineType1.json @@ -0,0 +1,17 @@ +{ + "type": "object", + "properties": { + "foo": { + "type": "string" + }, + "bar": { + "type": "string" + } + }, + "required": [ + "foo", + "bar" + ], + "additionalProperties": false, + "definitions": {} +} \ No newline at end of file diff --git a/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__NestedInlineType1.json b/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__NestedInlineType1.json new file mode 100644 index 00000000000..a86a97251cf --- /dev/null +++ b/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__NestedInlineType1.json @@ -0,0 +1,17 @@ +{ + "type": "object", + "properties": { + "foo": { + "type": "string" + }, + "bar": { + "type": "string" + } + }, + "required": [ + "foo", + "bar" + ], + "additionalProperties": false, + "definitions": {} +} \ No newline at end of file diff --git a/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__RootType1.json b/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__RootType1.json new file mode 100644 index 00000000000..a2690915414 --- /dev/null +++ b/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__RootType1.json @@ -0,0 +1,70 @@ +{ + "type": "object", + "properties": { + "foo": { + "type": "string" + }, + "bar": { + "$ref": "#/definitions/InlineType1" + }, + "two": { + "$ref": "#/definitions/MixedInlineType1" + } + }, + "required": [ + "foo", + "bar", + "two" + ], + "additionalProperties": false, + "definitions": { + "NestedInlineType1": { + "type": "object", + "properties": { + "foo": { + "type": "string" + }, + "bar": { + "type": "string" + } + }, + "required": [ + "foo", + "bar" + ], + "additionalProperties": false + }, + "InlineType1": { + "type": "object", + "properties": { + "foo": { + "type": "string" + }, + "bar": { + "$ref": "#/definitions/NestedInlineType1" + } + }, + "required": [ + "foo", + "bar" + ], + "additionalProperties": false + }, + "MixedInlineType1": { + "type": "object", + "properties": { + "foo": { + "type": "string" + }, + "bar": { + "type": "string" + } + }, + "required": [ + "foo", + "bar" + ], + "additionalProperties": false + } + } +} \ No newline at end of file diff --git a/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__RootType2.json b/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__RootType2.json new file mode 100644 index 00000000000..326461285ac --- /dev/null +++ b/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__RootType2.json @@ -0,0 +1,34 @@ +{ + "type": "object", + "properties": { + "one": { + "type": "integer" + }, + "two": { + "$ref": "#/definitions/MixedInlineType1" + } + }, + "required": [ + "one", + "two" + ], + "additionalProperties": false, + "definitions": { + "MixedInlineType1": { + "type": "object", + "properties": { + "foo": { + "type": "string" + }, + "bar": { + "type": "string" + } + }, + "required": [ + "foo", + "bar" + ], + "additionalProperties": false + } + } +} \ No newline at end of file diff --git a/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/TypeReferenceDeclarationWithName.ts b/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/TypeReferenceDeclarationWithName.ts index c1b46cc6ebb..c889ff35449 100644 --- a/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/TypeReferenceDeclarationWithName.ts +++ b/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/TypeReferenceDeclarationWithName.ts @@ -9,4 +9,5 @@ export interface TypeReferenceDeclarationWithName FernDefinition.WithName, FernDefinition.WithAudiences { type: string; + inline?: boolean; } diff --git a/packages/cli/fern-definition/schema/src/schemas/serialization/resources/types/types/TypeReferenceDeclarationWithName.ts b/packages/cli/fern-definition/schema/src/schemas/serialization/resources/types/types/TypeReferenceDeclarationWithName.ts index 9149fcbc1f3..378f2e26248 100644 --- a/packages/cli/fern-definition/schema/src/schemas/serialization/resources/types/types/TypeReferenceDeclarationWithName.ts +++ b/packages/cli/fern-definition/schema/src/schemas/serialization/resources/types/types/TypeReferenceDeclarationWithName.ts @@ -15,6 +15,7 @@ export const TypeReferenceDeclarationWithName: core.serialization.ObjectSchema< > = core.serialization .object({ type: core.serialization.string(), + inline: core.serialization.boolean().optional(), }) .extend(BaseTypeReferenceSchema) .extend(WithName) @@ -23,5 +24,6 @@ export const TypeReferenceDeclarationWithName: core.serialization.ObjectSchema< export declare namespace TypeReferenceDeclarationWithName { interface Raw extends BaseTypeReferenceSchema.Raw, WithName.Raw, WithAudiences.Raw { type: string; + inline?: boolean | null; } } diff --git a/packages/cli/fern-definition/validator/src/ast/visitors/services/visitHttpService.ts b/packages/cli/fern-definition/validator/src/ast/visitors/services/visitHttpService.ts index c07962551ee..f78a9134651 100644 --- a/packages/cli/fern-definition/validator/src/ast/visitors/services/visitHttpService.ts +++ b/packages/cli/fern-definition/validator/src/ast/visitors/services/visitHttpService.ts @@ -140,6 +140,7 @@ async function visitEndpoint({ validation: queryParameter.validation }); }, + inline: noop, "allow-multiple": noop, audiences: noop, encoding: noop, @@ -207,6 +208,7 @@ async function visitEndpoint({ validation: property.validation }); }, + inline: noop, "content-type": noop, audiences: noop, encoding: noop, @@ -563,6 +565,7 @@ async function visitHeaders({ validation: header.validation }); }, + inline: noop, docs: createDocsVisitor(visitor, nodePathForHeader), audiences: noop, encoding: noop, diff --git a/packages/cli/fern-definition/validator/src/ast/visitors/visitTypeDeclarations.ts b/packages/cli/fern-definition/validator/src/ast/visitors/visitTypeDeclarations.ts index c23f7dff567..2809ef9b516 100644 --- a/packages/cli/fern-definition/validator/src/ast/visitors/visitTypeDeclarations.ts +++ b/packages/cli/fern-definition/validator/src/ast/visitors/visitTypeDeclarations.ts @@ -109,6 +109,7 @@ export async function visitTypeDeclaration({ validation: property.validation }); }, + inline: noop, audiences: noop, encoding: noop, default: noop, diff --git a/packages/cli/fern-definition/validator/src/ast/visitors/visitWebhooks.ts b/packages/cli/fern-definition/validator/src/ast/visitors/visitWebhooks.ts index 5bf7d51e07b..a350a094ce3 100644 --- a/packages/cli/fern-definition/validator/src/ast/visitors/visitWebhooks.ts +++ b/packages/cli/fern-definition/validator/src/ast/visitors/visitWebhooks.ts @@ -82,6 +82,7 @@ export async function visitWebhooks({ location: TypeReferenceLocation.InlinedRequestProperty }); }, + inline: noop, audiences: noop, encoding: noop, default: noop, @@ -130,6 +131,7 @@ async function visitHeaders({ validation: header.validation }); }, + inline: noop, docs: createDocsVisitor(visitor, nodePathForHeader), audiences: noop, encoding: noop, diff --git a/packages/cli/generation/ir-generator/src/FernFileContext.ts b/packages/cli/generation/ir-generator/src/FernFileContext.ts index cdde0bc824b..6a0cd2349a5 100644 --- a/packages/cli/generation/ir-generator/src/FernFileContext.ts +++ b/packages/cli/generation/ir-generator/src/FernFileContext.ts @@ -16,7 +16,7 @@ export interface FernFileContext { imports: Record; definitionFile: DefinitionFileSchema; parseTypeReference: ( - type: string | { type: string; default?: unknown; validation?: RawSchemas.ValidationSchema } + type: string | { type: string; inline?: boolean; default?: unknown; validation?: RawSchemas.ValidationSchema } ) => TypeReference; casingsGenerator: CasingsGenerator; rootApiFile: RootApiFileSchema; @@ -59,10 +59,16 @@ export function constructFernFileContext({ imports: mapValues(definitionFile.imports ?? {}, RelativeFilePath.of), definitionFile, parseTypeReference: (type) => { - const typeAsString = typeof type === "string" ? type : type.type; - const _default = typeof type === "string" ? undefined : type.default; - const validation = typeof type === "string" ? undefined : type.validation; - return parseInlineType({ type: typeAsString, _default, validation, file }); + if (typeof type === "string") { + return parseInlineType({ type, inline: undefined, _default: undefined, validation: undefined, file }); + } + return parseInlineType({ + type: type.type, + inline: type.inline, + _default: type.default, + validation: type.validation, + file + }); }, casingsGenerator, rootApiFile diff --git a/packages/cli/generation/ir-generator/src/__test__/parseInlineType.test.ts b/packages/cli/generation/ir-generator/src/__test__/parseInlineType.test.ts index 34f73734878..3d8690b6212 100644 --- a/packages/cli/generation/ir-generator/src/__test__/parseInlineType.test.ts +++ b/packages/cli/generation/ir-generator/src/__test__/parseInlineType.test.ts @@ -17,6 +17,7 @@ describe("parse inline types", () => { const dummyFilepath = RelativeFilePath.of("a/b/c"); const parsedTypeReference = parseInlineType({ type: "optional>", + inline: undefined, _default: undefined, validation: undefined, file: constructFernFileContext({ diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/inline-types.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/inline-types.json new file mode 100644 index 00000000000..26a7fcef139 --- /dev/null +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/inline-types.json @@ -0,0 +1,848 @@ +{ + "fdrApiDefinitionId": null, + "apiVersion": null, + "apiName": { + "originalName": "object", + "camelCase": { + "unsafeName": "object", + "safeName": "object" + }, + "snakeCase": { + "unsafeName": "object", + "safeName": "object" + }, + "screamingSnakeCase": { + "unsafeName": "OBJECT", + "safeName": "OBJECT" + }, + "pascalCase": { + "unsafeName": "Object", + "safeName": "Object" + } + }, + "apiDisplayName": null, + "apiDocs": null, + "auth": { + "requirement": "ALL", + "schemes": [], + "docs": null + }, + "headers": [], + "idempotencyHeaders": [], + "types": { + "type_:RootType1": { + "inline": false, + "name": { + "name": { + "originalName": "RootType1", + "camelCase": { + "unsafeName": "rootType1", + "safeName": "rootType1" + }, + "snakeCase": { + "unsafeName": "root_type1", + "safeName": "root_type1" + }, + "screamingSnakeCase": { + "unsafeName": "ROOT_TYPE1", + "safeName": "ROOT_TYPE1" + }, + "pascalCase": { + "unsafeName": "RootType1", + "safeName": "RootType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:RootType1" + }, + "shape": { + "_type": "object", + "extends": [], + "properties": [ + { + "name": { + "name": { + "originalName": "foo", + "camelCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "snakeCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "screamingSnakeCase": { + "unsafeName": "FOO", + "safeName": "FOO" + }, + "pascalCase": { + "unsafeName": "Foo", + "safeName": "Foo" + } + }, + "wireValue": "foo" + }, + "valueType": { + "_type": "primitive", + "primitive": { + "v1": "STRING", + "v2": { + "type": "string", + "default": null, + "validation": null + } + } + }, + "availability": null, + "docs": null + }, + { + "name": { + "name": { + "originalName": "bar", + "camelCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "snakeCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "screamingSnakeCase": { + "unsafeName": "BAR", + "safeName": "BAR" + }, + "pascalCase": { + "unsafeName": "Bar", + "safeName": "Bar" + } + }, + "wireValue": "bar" + }, + "valueType": { + "_type": "named", + "name": { + "originalName": "InlineType1", + "camelCase": { + "unsafeName": "inlineType1", + "safeName": "inlineType1" + }, + "snakeCase": { + "unsafeName": "inline_type1", + "safeName": "inline_type1" + }, + "screamingSnakeCase": { + "unsafeName": "INLINE_TYPE1", + "safeName": "INLINE_TYPE1" + }, + "pascalCase": { + "unsafeName": "InlineType1", + "safeName": "InlineType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:InlineType1", + "default": null, + "inline": true + }, + "availability": null, + "docs": null + }, + { + "name": { + "name": { + "originalName": "two", + "camelCase": { + "unsafeName": "two", + "safeName": "two" + }, + "snakeCase": { + "unsafeName": "two", + "safeName": "two" + }, + "screamingSnakeCase": { + "unsafeName": "TWO", + "safeName": "TWO" + }, + "pascalCase": { + "unsafeName": "Two", + "safeName": "Two" + } + }, + "wireValue": "two" + }, + "valueType": { + "_type": "named", + "name": { + "originalName": "MixedInlineType1", + "camelCase": { + "unsafeName": "mixedInlineType1", + "safeName": "mixedInlineType1" + }, + "snakeCase": { + "unsafeName": "mixed_inline_type1", + "safeName": "mixed_inline_type1" + }, + "screamingSnakeCase": { + "unsafeName": "MIXED_INLINE_TYPE1", + "safeName": "MIXED_INLINE_TYPE1" + }, + "pascalCase": { + "unsafeName": "MixedInlineType1", + "safeName": "MixedInlineType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:MixedInlineType1", + "default": null, + "inline": null + }, + "availability": null, + "docs": null + } + ], + "extra-properties": false, + "extendedProperties": [] + }, + "referencedTypes": [ + "type_:InlineType1", + "type_:NestedInlineType1", + "type_:MixedInlineType1" + ], + "encoding": { + "json": {}, + "proto": null + }, + "source": null, + "userProvidedExamples": [], + "autogeneratedExamples": [], + "availability": null, + "docs": null + }, + "type_:RootType2": { + "inline": false, + "name": { + "name": { + "originalName": "RootType2", + "camelCase": { + "unsafeName": "rootType2", + "safeName": "rootType2" + }, + "snakeCase": { + "unsafeName": "root_type2", + "safeName": "root_type2" + }, + "screamingSnakeCase": { + "unsafeName": "ROOT_TYPE2", + "safeName": "ROOT_TYPE2" + }, + "pascalCase": { + "unsafeName": "RootType2", + "safeName": "RootType2" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:RootType2" + }, + "shape": { + "_type": "object", + "extends": [], + "properties": [ + { + "name": { + "name": { + "originalName": "one", + "camelCase": { + "unsafeName": "one", + "safeName": "one" + }, + "snakeCase": { + "unsafeName": "one", + "safeName": "one" + }, + "screamingSnakeCase": { + "unsafeName": "ONE", + "safeName": "ONE" + }, + "pascalCase": { + "unsafeName": "One", + "safeName": "One" + } + }, + "wireValue": "one" + }, + "valueType": { + "_type": "primitive", + "primitive": { + "v1": "INTEGER", + "v2": { + "type": "integer", + "default": null, + "validation": null + } + } + }, + "availability": null, + "docs": null + }, + { + "name": { + "name": { + "originalName": "two", + "camelCase": { + "unsafeName": "two", + "safeName": "two" + }, + "snakeCase": { + "unsafeName": "two", + "safeName": "two" + }, + "screamingSnakeCase": { + "unsafeName": "TWO", + "safeName": "TWO" + }, + "pascalCase": { + "unsafeName": "Two", + "safeName": "Two" + } + }, + "wireValue": "two" + }, + "valueType": { + "_type": "named", + "name": { + "originalName": "MixedInlineType1", + "camelCase": { + "unsafeName": "mixedInlineType1", + "safeName": "mixedInlineType1" + }, + "snakeCase": { + "unsafeName": "mixed_inline_type1", + "safeName": "mixed_inline_type1" + }, + "screamingSnakeCase": { + "unsafeName": "MIXED_INLINE_TYPE1", + "safeName": "MIXED_INLINE_TYPE1" + }, + "pascalCase": { + "unsafeName": "MixedInlineType1", + "safeName": "MixedInlineType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:MixedInlineType1", + "default": null, + "inline": true + }, + "availability": null, + "docs": null + } + ], + "extra-properties": false, + "extendedProperties": [] + }, + "referencedTypes": [ + "type_:MixedInlineType1" + ], + "encoding": { + "json": {}, + "proto": null + }, + "source": null, + "userProvidedExamples": [], + "autogeneratedExamples": [], + "availability": null, + "docs": null + }, + "type_:InlineType1": { + "inline": true, + "name": { + "name": { + "originalName": "InlineType1", + "camelCase": { + "unsafeName": "inlineType1", + "safeName": "inlineType1" + }, + "snakeCase": { + "unsafeName": "inline_type1", + "safeName": "inline_type1" + }, + "screamingSnakeCase": { + "unsafeName": "INLINE_TYPE1", + "safeName": "INLINE_TYPE1" + }, + "pascalCase": { + "unsafeName": "InlineType1", + "safeName": "InlineType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:InlineType1" + }, + "shape": { + "_type": "object", + "extends": [], + "properties": [ + { + "name": { + "name": { + "originalName": "foo", + "camelCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "snakeCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "screamingSnakeCase": { + "unsafeName": "FOO", + "safeName": "FOO" + }, + "pascalCase": { + "unsafeName": "Foo", + "safeName": "Foo" + } + }, + "wireValue": "foo" + }, + "valueType": { + "_type": "primitive", + "primitive": { + "v1": "STRING", + "v2": { + "type": "string", + "default": null, + "validation": null + } + } + }, + "availability": null, + "docs": null + }, + { + "name": { + "name": { + "originalName": "bar", + "camelCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "snakeCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "screamingSnakeCase": { + "unsafeName": "BAR", + "safeName": "BAR" + }, + "pascalCase": { + "unsafeName": "Bar", + "safeName": "Bar" + } + }, + "wireValue": "bar" + }, + "valueType": { + "_type": "named", + "name": { + "originalName": "NestedInlineType1", + "camelCase": { + "unsafeName": "nestedInlineType1", + "safeName": "nestedInlineType1" + }, + "snakeCase": { + "unsafeName": "nested_inline_type1", + "safeName": "nested_inline_type1" + }, + "screamingSnakeCase": { + "unsafeName": "NESTED_INLINE_TYPE1", + "safeName": "NESTED_INLINE_TYPE1" + }, + "pascalCase": { + "unsafeName": "NestedInlineType1", + "safeName": "NestedInlineType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:NestedInlineType1", + "default": null, + "inline": true + }, + "availability": null, + "docs": null + } + ], + "extra-properties": false, + "extendedProperties": [] + }, + "referencedTypes": [ + "type_:NestedInlineType1" + ], + "encoding": { + "json": {}, + "proto": null + }, + "source": null, + "userProvidedExamples": [], + "autogeneratedExamples": [], + "availability": null, + "docs": null + }, + "type_:NestedInlineType1": { + "inline": true, + "name": { + "name": { + "originalName": "NestedInlineType1", + "camelCase": { + "unsafeName": "nestedInlineType1", + "safeName": "nestedInlineType1" + }, + "snakeCase": { + "unsafeName": "nested_inline_type1", + "safeName": "nested_inline_type1" + }, + "screamingSnakeCase": { + "unsafeName": "NESTED_INLINE_TYPE1", + "safeName": "NESTED_INLINE_TYPE1" + }, + "pascalCase": { + "unsafeName": "NestedInlineType1", + "safeName": "NestedInlineType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:NestedInlineType1" + }, + "shape": { + "_type": "object", + "extends": [], + "properties": [ + { + "name": { + "name": { + "originalName": "foo", + "camelCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "snakeCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "screamingSnakeCase": { + "unsafeName": "FOO", + "safeName": "FOO" + }, + "pascalCase": { + "unsafeName": "Foo", + "safeName": "Foo" + } + }, + "wireValue": "foo" + }, + "valueType": { + "_type": "primitive", + "primitive": { + "v1": "STRING", + "v2": { + "type": "string", + "default": null, + "validation": null + } + } + }, + "availability": null, + "docs": null + }, + { + "name": { + "name": { + "originalName": "bar", + "camelCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "snakeCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "screamingSnakeCase": { + "unsafeName": "BAR", + "safeName": "BAR" + }, + "pascalCase": { + "unsafeName": "Bar", + "safeName": "Bar" + } + }, + "wireValue": "bar" + }, + "valueType": { + "_type": "primitive", + "primitive": { + "v1": "STRING", + "v2": { + "type": "string", + "default": null, + "validation": null + } + } + }, + "availability": null, + "docs": null + } + ], + "extra-properties": false, + "extendedProperties": [] + }, + "referencedTypes": [], + "encoding": { + "json": {}, + "proto": null + }, + "source": null, + "userProvidedExamples": [], + "autogeneratedExamples": [], + "availability": null, + "docs": null + }, + "type_:MixedInlineType1": { + "inline": false, + "name": { + "name": { + "originalName": "MixedInlineType1", + "camelCase": { + "unsafeName": "mixedInlineType1", + "safeName": "mixedInlineType1" + }, + "snakeCase": { + "unsafeName": "mixed_inline_type1", + "safeName": "mixed_inline_type1" + }, + "screamingSnakeCase": { + "unsafeName": "MIXED_INLINE_TYPE1", + "safeName": "MIXED_INLINE_TYPE1" + }, + "pascalCase": { + "unsafeName": "MixedInlineType1", + "safeName": "MixedInlineType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:MixedInlineType1" + }, + "shape": { + "_type": "object", + "extends": [], + "properties": [ + { + "name": { + "name": { + "originalName": "foo", + "camelCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "snakeCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "screamingSnakeCase": { + "unsafeName": "FOO", + "safeName": "FOO" + }, + "pascalCase": { + "unsafeName": "Foo", + "safeName": "Foo" + } + }, + "wireValue": "foo" + }, + "valueType": { + "_type": "primitive", + "primitive": { + "v1": "STRING", + "v2": { + "type": "string", + "default": null, + "validation": null + } + } + }, + "availability": null, + "docs": null + }, + { + "name": { + "name": { + "originalName": "bar", + "camelCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "snakeCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "screamingSnakeCase": { + "unsafeName": "BAR", + "safeName": "BAR" + }, + "pascalCase": { + "unsafeName": "Bar", + "safeName": "Bar" + } + }, + "wireValue": "bar" + }, + "valueType": { + "_type": "primitive", + "primitive": { + "v1": "STRING", + "v2": { + "type": "string", + "default": null, + "validation": null + } + } + }, + "availability": null, + "docs": null + } + ], + "extra-properties": false, + "extendedProperties": [] + }, + "referencedTypes": [], + "encoding": { + "json": {}, + "proto": null + }, + "source": null, + "userProvidedExamples": [], + "autogeneratedExamples": [], + "availability": null, + "docs": null + } + }, + "errors": {}, + "services": {}, + "constants": { + "errorInstanceIdKey": { + "name": { + "originalName": "errorInstanceId", + "camelCase": { + "unsafeName": "errorInstanceID", + "safeName": "errorInstanceID" + }, + "snakeCase": { + "unsafeName": "error_instance_id", + "safeName": "error_instance_id" + }, + "screamingSnakeCase": { + "unsafeName": "ERROR_INSTANCE_ID", + "safeName": "ERROR_INSTANCE_ID" + }, + "pascalCase": { + "unsafeName": "ErrorInstanceID", + "safeName": "ErrorInstanceID" + } + }, + "wireValue": "errorInstanceId" + } + }, + "environments": null, + "errorDiscriminationStrategy": { + "type": "statusCode" + }, + "basePath": null, + "pathParameters": [], + "variables": [], + "serviceTypeReferenceInfo": { + "typesReferencedOnlyByService": {}, + "sharedTypes": [ + "type_:RootType1", + "type_:RootType2", + "type_:InlineType1", + "type_:NestedInlineType1", + "type_:MixedInlineType1" + ] + }, + "webhookGroups": {}, + "websocketChannels": {}, + "readmeConfig": null, + "sourceConfig": null, + "publishConfig": null, + "subpackages": {}, + "rootPackage": { + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "websocket": null, + "service": null, + "types": [ + "type_:RootType1", + "type_:RootType2", + "type_:InlineType1", + "type_:NestedInlineType1", + "type_:MixedInlineType1" + ], + "errors": [], + "subpackages": [], + "webhooks": null, + "navigationConfig": null, + "hasEndpointsInTree": false, + "docs": null + }, + "sdkConfig": { + "isAuthMandatory": false, + "hasStreamingEndpoints": false, + "hasPaginatedEndpoints": false, + "hasFileDownloadEndpoints": false, + "platformHeaders": { + "language": "X-Fern-Language", + "sdkName": "X-Fern-SDK-Name", + "sdkVersion": "X-Fern-SDK-Version", + "userAgent": null + } + } +} \ No newline at end of file diff --git a/packages/cli/generation/ir-generator/src/generateIntermediateRepresentation.ts b/packages/cli/generation/ir-generator/src/generateIntermediateRepresentation.ts index b26d230c10a..4b300c00995 100644 --- a/packages/cli/generation/ir-generator/src/generateIntermediateRepresentation.ts +++ b/packages/cli/generation/ir-generator/src/generateIntermediateRepresentation.ts @@ -1,16 +1,19 @@ import { Audiences, FERN_PACKAGE_MARKER_FILENAME, generatorsYml } from "@fern-api/configuration"; -import { noop, visitObject } from "@fern-api/core-utils"; +import { assertNever, noop, visitObject } from "@fern-api/core-utils"; import { dirname, join, RelativeFilePath } from "@fern-api/fs-utils"; import { ExampleType, HttpEndpoint, IntermediateRepresentation, + ObjectProperty, PathParameterLocation, ResponseErrors, ServiceId, ServiceTypeReferenceInfo, Type, + TypeDeclaration, TypeId, + TypeReference, Webhook } from "@fern-api/ir-sdk"; import { TaskContext } from "@fern-api/task-context"; @@ -492,6 +495,7 @@ export async function generateIntermediateRepresentation({ readme != null ? convertReadmeConfig({ readme, services: intermediateRepresentation.services }) : undefined; const { types, services } = addExtendedPropertiesToIr(intermediateRepresentationForAudiences); + markInlineTypes(types); return { ...intermediateRepresentationForAudiences, @@ -727,3 +731,49 @@ function filterServiceTypeReferenceInfoForAudiences( typesReferencedOnlyByService: filteredTypesReferencedOnlyByService }; } + +type NamedObjectProperty = ObjectProperty & { valueType: TypeReference.Named }; +function markInlineTypes(types: Record) { + // find types that have properties containing inline types + const namedProps = Object.values(types).flatMap((type) => { + if (type.shape.type !== "object") { + return []; + } + + return Object.values(type.shape.properties).filter((prop): prop is NamedObjectProperty => { + switch (prop.valueType.type) { + case "container": + case "primitive": + case "unknown": + return false; + case "named": + return true; + default: + assertNever(prop.valueType); + } + }); + }); + // split props into inline and non-inline using reduce + const [inlineProps, nonInlineProps] = namedProps.reduce( + (splitArray, prop) => { + const [inline, nonInline] = splitArray; + if (prop.valueType.inline === true) { + inline.push(prop); + } else { + nonInline.push(prop); + } + return splitArray; + }, + [[], []] as [NamedObjectProperty[], NamedObjectProperty[]] + ); + + const inlinePropTypeIds = new Set(inlineProps.map((prop) => prop.valueType.typeId)); + const nonInlinePropTypeIds = new Set(nonInlineProps.map((prop) => prop.valueType.typeId)); + for (const [typeId, type] of Object.entries(types)) { + if (nonInlinePropTypeIds.has(typeId)) { + type.inline = false; + continue; + } + type.inline = inlinePropTypeIds.has(typeId); + } +} diff --git a/packages/cli/generation/ir-generator/src/resolvers/TypeResolver.ts b/packages/cli/generation/ir-generator/src/resolvers/TypeResolver.ts index 4a98c682068..e9b065cde4d 100644 --- a/packages/cli/generation/ir-generator/src/resolvers/TypeResolver.ts +++ b/packages/cli/generation/ir-generator/src/resolvers/TypeResolver.ts @@ -296,6 +296,7 @@ export class TypeResolverImpl implements TypeResolver { const parsedTypeReference = parseInlineType({ type: referenceToNamedType, + inline: undefined, _default: undefined, validation: undefined, file: referencedIn diff --git a/packages/cli/generation/ir-generator/src/utils/parseInlineType.ts b/packages/cli/generation/ir-generator/src/utils/parseInlineType.ts index 6751be0210e..6b85acfbdfd 100644 --- a/packages/cli/generation/ir-generator/src/utils/parseInlineType.ts +++ b/packages/cli/generation/ir-generator/src/utils/parseInlineType.ts @@ -6,13 +6,14 @@ import { parseTypeName } from "./parseTypeName"; export declare namespace parseInlineType { export interface Args { type: string; + inline: boolean | undefined; file: FernFileContext; _default: unknown | undefined; validation: RawSchemas.ValidationSchema | undefined; } } -export function parseInlineType({ type, file, _default, validation }: parseInlineType.Args): TypeReference { +export function parseInlineType({ type, inline, file, _default, validation }: parseInlineType.Args): TypeReference { return recursivelyVisitRawTypeReference({ type, _default, @@ -32,7 +33,7 @@ export function parseInlineType({ type, file, _default, validation }: parseInlin file }), default: undefined, - inline: undefined + inline }) } }); @@ -42,9 +43,15 @@ export type TypeReferenceParser = (type: RawSchemas.TypeReferenceSchema) => Type export function createTypeReferenceParser(file: FernFileContext): TypeReferenceParser { return (type) => { - const typeAsString = typeof type === "string" ? type : type.type; - const _default = typeof type === "string" ? undefined : type.default; - const validation = typeof type === "string" ? undefined : type.validation; - return parseInlineType({ type: typeAsString, _default, validation, file }); + if (typeof type === "string") { + return parseInlineType({ type, inline: undefined, _default: undefined, validation: undefined, file }); + } + return parseInlineType({ + type: type.type, + inline: undefined, // TODO: check if this is correct + _default: type.default, + validation: type.validation, + file + }); }; } diff --git a/packages/cli/lazy-fern-workspace/src/api-yml.schema.json b/packages/cli/lazy-fern-workspace/src/api-yml.schema.json index 8f0be5f7c4a..fd82803541f 100644 --- a/packages/cli/lazy-fern-workspace/src/api-yml.schema.json +++ b/packages/cli/lazy-fern-workspace/src/api-yml.schema.json @@ -1015,6 +1015,16 @@ "type": { "type": "string" }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "default": { "oneOf": [ { diff --git a/packages/cli/lazy-fern-workspace/src/fern.schema.json b/packages/cli/lazy-fern-workspace/src/fern.schema.json index 349f5983914..72a65edf562 100644 --- a/packages/cli/lazy-fern-workspace/src/fern.schema.json +++ b/packages/cli/lazy-fern-workspace/src/fern.schema.json @@ -441,6 +441,16 @@ }, "type": { "type": "string" + }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] } }, "required": [ @@ -1434,6 +1444,16 @@ "type": { "type": "string" }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "default": { "oneOf": [ { @@ -1546,6 +1566,16 @@ "type": { "type": "string" }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "default": { "oneOf": [ { @@ -1683,6 +1713,16 @@ "type": { "type": "string" }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "default": { "oneOf": [ { diff --git a/packages/cli/lazy-fern-workspace/src/package-yml.schema.json b/packages/cli/lazy-fern-workspace/src/package-yml.schema.json index ea25e26f1c9..b1d3bc19759 100644 --- a/packages/cli/lazy-fern-workspace/src/package-yml.schema.json +++ b/packages/cli/lazy-fern-workspace/src/package-yml.schema.json @@ -461,6 +461,16 @@ }, "type": { "type": "string" + }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] } }, "required": [ @@ -1454,6 +1464,16 @@ "type": { "type": "string" }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "default": { "oneOf": [ { @@ -1566,6 +1586,16 @@ "type": { "type": "string" }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "default": { "oneOf": [ { @@ -1703,6 +1733,16 @@ "type": { "type": "string" }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "default": { "oneOf": [ { diff --git a/packages/cli/register/src/ir-to-fdr-converter/__test__/__snapshots__/inline-types.json b/packages/cli/register/src/ir-to-fdr-converter/__test__/__snapshots__/inline-types.json new file mode 100644 index 00000000000..99bed9f4c26 --- /dev/null +++ b/packages/cli/register/src/ir-to-fdr-converter/__test__/__snapshots__/inline-types.json @@ -0,0 +1,171 @@ +{ + "types": { + "type_:RootType1": { + "name": "RootType1", + "shape": { + "type": "object", + "extends": [], + "properties": [ + { + "key": "foo", + "valueType": { + "type": "primitive", + "value": { + "type": "string" + } + } + }, + { + "key": "bar", + "valueType": { + "type": "id", + "value": "type_:InlineType1" + } + }, + { + "key": "two", + "valueType": { + "type": "id", + "value": "type_:MixedInlineType1" + } + } + ], + "extraProperties": { + "type": "unknown" + } + } + }, + "type_:RootType2": { + "name": "RootType2", + "shape": { + "type": "object", + "extends": [], + "properties": [ + { + "key": "one", + "valueType": { + "type": "primitive", + "value": { + "type": "integer" + } + } + }, + { + "key": "two", + "valueType": { + "type": "id", + "value": "type_:MixedInlineType1" + } + } + ], + "extraProperties": { + "type": "unknown" + } + } + }, + "type_:InlineType1": { + "name": "InlineType1", + "shape": { + "type": "object", + "extends": [], + "properties": [ + { + "key": "foo", + "valueType": { + "type": "primitive", + "value": { + "type": "string" + } + } + }, + { + "key": "bar", + "valueType": { + "type": "id", + "value": "type_:NestedInlineType1" + } + } + ], + "extraProperties": { + "type": "unknown" + } + } + }, + "type_:NestedInlineType1": { + "name": "NestedInlineType1", + "shape": { + "type": "object", + "extends": [], + "properties": [ + { + "key": "foo", + "valueType": { + "type": "primitive", + "value": { + "type": "string" + } + } + }, + { + "key": "bar", + "valueType": { + "type": "primitive", + "value": { + "type": "string" + } + } + } + ], + "extraProperties": { + "type": "unknown" + } + } + }, + "type_:MixedInlineType1": { + "name": "MixedInlineType1", + "shape": { + "type": "object", + "extends": [], + "properties": [ + { + "key": "foo", + "valueType": { + "type": "primitive", + "value": { + "type": "string" + } + } + }, + { + "key": "bar", + "valueType": { + "type": "primitive", + "value": { + "type": "string" + } + } + } + ], + "extraProperties": { + "type": "unknown" + } + } + } + }, + "subpackages": {}, + "rootPackage": { + "endpoints": [], + "webhooks": [], + "websockets": [], + "types": [ + "type_:RootType1", + "type_:RootType2", + "type_:InlineType1", + "type_:NestedInlineType1", + "type_:MixedInlineType1" + ], + "subpackages": [] + }, + "snippetsConfiguration": {}, + "globalHeaders": [] +} \ No newline at end of file diff --git a/packages/commons/core-utils/src/validateAgainstJsonSchema.ts b/packages/commons/core-utils/src/validateAgainstJsonSchema.ts index 527707990a8..4009b172609 100644 --- a/packages/commons/core-utils/src/validateAgainstJsonSchema.ts +++ b/packages/commons/core-utils/src/validateAgainstJsonSchema.ts @@ -54,7 +54,7 @@ export function validateAgainstJsonSchema( return { success: false, error: { - message: "Failed to parse", + message: "Failed to parse because JSON schema validation failed", keyword: "unknown", instancePath: "", schemaPath: "", @@ -65,7 +65,7 @@ export function validateAgainstJsonSchema( return { success: false, error: { - message: "Failed to parse", + message: "Failed to parse because JSON schema validation failed", keyword: "unknown", instancePath: "", schemaPath: "", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5cf846b32a6..fe260eff5fd 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4068,6 +4068,8 @@ importers: specifier: ^2.0.5 version: 2.0.5(@types/node@18.7.18)(jsdom@20.0.3)(sass@1.72.0)(terser@5.31.5) + packages/cli/cli/dist/local: {} + packages/cli/configuration: dependencies: '@fern-api/core-utils': diff --git a/test-definitions/fern/apis/inline-types/definition/__package__.yml b/test-definitions/fern/apis/inline-types/definition/__package__.yml new file mode 100644 index 00000000000..5c4fd6e3860 --- /dev/null +++ b/test-definitions/fern/apis/inline-types/definition/__package__.yml @@ -0,0 +1,33 @@ +types: + RootType1: + properties: + foo: string + bar: + type: InlineType1 + inline: true + two: + type: MixedInlineType1 + + RootType2: + properties: + one: integer + two: + type: MixedInlineType1 + inline: true + + InlineType1: + properties: + foo: string + bar: + type: NestedInlineType1 + inline: true + + NestedInlineType1: + properties: + foo: string + bar: string + + MixedInlineType1: + properties: + foo: string + bar: string diff --git a/test-definitions/fern/apis/inline-types/definition/api.yml b/test-definitions/fern/apis/inline-types/definition/api.yml new file mode 100644 index 00000000000..a82930c145b --- /dev/null +++ b/test-definitions/fern/apis/inline-types/definition/api.yml @@ -0,0 +1 @@ +name: object diff --git a/test-definitions/fern/apis/inline-types/generators.yml b/test-definitions/fern/apis/inline-types/generators.yml new file mode 100644 index 00000000000..0967ef424bc --- /dev/null +++ b/test-definitions/fern/apis/inline-types/generators.yml @@ -0,0 +1 @@ +{} From c54be620ec5b8557e780bdcaedd70f79884be2d9 Mon Sep 17 00:00:00 2001 From: Niels Swimberghe <3382717+Swimburger@users.noreply.github.com> Date: Thu, 21 Nov 2024 16:10:21 -0500 Subject: [PATCH 02/20] Add inline support for OpenAPI parser to fern --- .../v3/converters/ExampleEndpointFactory.ts | 3 +- .../src/schema/convertObject.ts | 5 +- .../utils/convertSchemaToSchemaWithExample.ts | 3 +- .../utils/convertSchemaWithExampleToSchema.ts | 3 +- .../schema/utils/isInlineObjectProperty.ts | 12 + .../__snapshots__/openapi-docs/apiture.json | 2 + .../__snapshots__/openapi-docs/aries.json | 88 + .../__snapshots__/openapi-docs/assembly.json | 3 + .../__snapshots__/openapi-docs/axle.json | 18 +- .../__snapshots__/openapi-docs/belvo.json | 26 + .../__snapshots__/openapi-docs/buzzshot.json | 18 +- .../__snapshots__/openapi-docs/deel.json | 453 +++- .../__snapshots__/openapi-docs/flagright.json | 2 + .../__snapshots__/openapi-docs/flexport.json | 185 +- .../__snapshots__/openapi-docs/hathora.json | 36 +- .../__snapshots__/openapi-docs/hookdeck.json | 11 +- .../__snapshots__/openapi-docs/humanloop.json | 2 + .../__snapshots__/openapi-docs/intercom.json | 30 + .../__snapshots__/openapi-docs/merge.json | 2 + .../only-include-referenced-schemas.json | 28 + .../__snapshots__/openapi-docs/permit.json | 1 + .../openapi-docs/query-params.json | 18 +- .../openapi-docs/rightbrain.json | 1 + .../__snapshots__/openapi-docs/seam.json | 637 ++++- .../__snapshots__/openapi-docs/squidex.json | 9 + .../openapi-docs/uploadcare.json | 11 + .../__snapshots__/openapi-docs/valtown.json | 67 +- .../__snapshots__/openapi-docs/webflow.json | 563 +++- .../openapi-docs/x-fern-audiences.json | 1 + .../openapi-docs/x-fern-property-name.json | 1 + .../__snapshots__/openapi-ir/aries.json | 144 +- .../__snapshots__/openapi-ir/axle.json | 6 +- .../__snapshots__/openapi-ir/buzzshot.json | 6 +- .../__snapshots__/openapi-ir/deel.json | 189 +- .../__snapshots__/openapi-ir/flagright.json | 3 +- .../__snapshots__/openapi-ir/flexport.json | 63 +- .../__snapshots__/openapi-ir/hathora.json | 12 +- .../__snapshots__/openapi-ir/hookdeck.json | 6 +- .../__snapshots__/openapi-ir/intercom.json | 60 +- .../only-include-referenced-schemas.json | 60 +- .../openapi-ir/query-params.json | 6 +- .../__snapshots__/openapi-ir/seam.json | 252 +- .../__snapshots__/openapi-ir/uploadcare.json | 15 +- .../__snapshots__/openapi-ir/valtown.json | 27 +- .../__snapshots__/openapi-ir/webflow.json | 369 ++- .../__snapshots__/openapi/apiture.json | 2 + .../__test__/__snapshots__/openapi/aries.json | 88 + .../__snapshots__/openapi/assembly.json | 3 + .../__test__/__snapshots__/openapi/axle.json | 18 +- .../__test__/__snapshots__/openapi/belvo.json | 26 + .../__snapshots__/openapi/buzzshot.json | 18 +- .../__test__/__snapshots__/openapi/deel.json | 453 +++- .../__snapshots__/openapi/flagright.json | 2 + .../__snapshots__/openapi/flexport.json | 185 +- .../__snapshots__/openapi/hathora.json | 36 +- .../__snapshots__/openapi/hookdeck.json | 11 +- .../__snapshots__/openapi/humanloop.json | 2 + .../__snapshots__/openapi/intercom.json | 30 + .../__test__/__snapshots__/openapi/merge.json | 2 + .../only-include-referenced-schemas.json | 28 + .../__snapshots__/openapi/permit.json | 1 + .../__snapshots__/openapi/query-params.json | 18 +- .../__snapshots__/openapi/rightbrain.json | 1 + .../__test__/__snapshots__/openapi/seam.json | 637 ++++- .../__snapshots__/openapi/squidex.json | 9 + .../__snapshots__/openapi/uploadcare.json | 11 + .../__snapshots__/openapi/valtown.json | 67 +- .../__snapshots__/openapi/webflow.json | 563 +++- .../openapi/x-fern-audiences.json | 1 + .../openapi/x-fern-property-name.json | 1 + .../src/buildTypeDeclaration.ts | 33 +- .../openapi-ir/fern/definition/finalIr.yml | 1 + .../openapi-ir/fern/definition/parseIr.yml | 3 +- .../resources/finalIr/types/ObjectProperty.ts | 1 + .../types/ObjectPropertyWithExample.ts | 1 + .../resources/finalIr/types/ObjectProperty.ts | 2 + .../types/ObjectPropertyWithExample.ts | 2 + .../inline-schema-reference.json | 2401 +++++++++++++++-- .../apis/inline-schema-reference/openapi.yml | 30 +- 79 files changed, 6659 insertions(+), 1485 deletions(-) create mode 100644 packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/utils/isInlineObjectProperty.ts diff --git a/packages/cli/api-importers/openapi/openapi-ir-parser/src/openapi/v3/converters/ExampleEndpointFactory.ts b/packages/cli/api-importers/openapi/openapi-ir-parser/src/openapi/v3/converters/ExampleEndpointFactory.ts index 918e0e9de61..1a63a057b4f 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-parser/src/openapi/v3/converters/ExampleEndpointFactory.ts +++ b/packages/cli/api-importers/openapi/openapi-ir-parser/src/openapi/v3/converters/ExampleEndpointFactory.ts @@ -571,7 +571,8 @@ function convertMultipartRequestToSchema(request: RequestWithExample.Multipart): generatedName: property.key, nameOverride: undefined, availability: undefined, - readonly: undefined + readonly: undefined, + inline: undefined }; }) .filter(isNonNullish), diff --git a/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/convertObject.ts b/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/convertObject.ts index be636225c99..65411128874 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/convertObject.ts +++ b/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/convertObject.ts @@ -20,6 +20,7 @@ import { convertSchema, convertToReferencedSchema, getSchemaIdFromReference } fr import { SchemaParserContext } from "./SchemaParserContext"; import { getBreadcrumbsFromReference } from "./utils/getBreadcrumbsFromReference"; import { getGeneratedPropertyName } from "./utils/getSchemaName"; +import { isInlineObjectProperty } from "./utils/isInlineObjectProperty"; import { isReferenceObject } from "./utils/isReferenceObject"; import { isSchemaWithExampleEqual } from "./utils/isSchemaEqual"; @@ -174,6 +175,7 @@ export function convertObject({ const availability = convertAvailability(propertySchema); const readonly = isReferenceObject(propertySchema) ? false : propertySchema.readOnly; + const inline = isInlineObjectProperty(propertySchema); const propertyNameOverride = getExtension( propertySchema, @@ -211,7 +213,8 @@ export function convertObject({ conflict: conflicts, generatedName: getGeneratedPropertyName([...breadcrumbs, propertyName]), availability, - readonly + readonly, + inline: inline || undefined }; } ); diff --git a/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/utils/convertSchemaToSchemaWithExample.ts b/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/utils/convertSchemaToSchemaWithExample.ts index 5c15ae4f6d0..aba83f63dfe 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/utils/convertSchemaToSchemaWithExample.ts +++ b/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/utils/convertSchemaToSchemaWithExample.ts @@ -319,6 +319,7 @@ function convertToObjectProperty(objectProperty: ObjectProperty): ObjectProperty audiences: objectProperty.audiences, nameOverride: objectProperty.nameOverride, availability: objectProperty.availability, - readonly: objectProperty.readonly + readonly: objectProperty.readonly, + inline: objectProperty.inline }; } diff --git a/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/utils/convertSchemaWithExampleToSchema.ts b/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/utils/convertSchemaWithExampleToSchema.ts index 108ff6b3063..b0be53cd36e 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/utils/convertSchemaWithExampleToSchema.ts +++ b/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/utils/convertSchemaWithExampleToSchema.ts @@ -255,6 +255,7 @@ function convertToObjectProperty(objectProperty: ObjectPropertyWithExample): Obj audiences: objectProperty.audiences, nameOverride: objectProperty.nameOverride, availability: objectProperty.availability, - readonly: objectProperty.readonly + readonly: objectProperty.readonly, + inline: objectProperty.inline }; } diff --git a/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/utils/isInlineObjectProperty.ts b/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/utils/isInlineObjectProperty.ts new file mode 100644 index 00000000000..cb011065108 --- /dev/null +++ b/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/utils/isInlineObjectProperty.ts @@ -0,0 +1,12 @@ +import { OpenAPIV3 } from "openapi-types"; + +export function isInlineObjectProperty( + property: OpenAPIV3.ReferenceObject | OpenAPIV3.SchemaObject +): property is OpenAPIV3.NonArraySchemaObject & { type: "object" } { + return ( + "type" in property && + property.type === "object" && + !("additionalProperties" in property) && + "properties" in property + ); +} diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/apiture.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/apiture.json index 813246030a3..3d71f4471ae 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/apiture.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/apiture.json @@ -5812,6 +5812,7 @@ The client can use this value to localize the `items[].time` values to the local "createdOn": { "availability": "deprecated", "docs": "The date when the transaction occurred in `YYYY-MM-DD` [RFC 3339](https://tools.ietf.org/html/rfc3339) `date` format. This is derived and immutable.
**Warning**: The property `createdOn` was deprecated on version `v2.1.0` of the schema. Use the `occurredOn` property instead. `createdOn` will be removed on version `v3.0.0` of the schema.", + "inline": undefined, "type": "optional", "validation": { "format": "date", @@ -5870,6 +5871,7 @@ The client can use this value to localize the `items[].time` values to the local "postedOn": { "availability": "deprecated", "docs": "The date when this transaction was posted (cleared and applied to the account balance) in [RFC 3339](https://tools.ietf.org/html/rfc3339) date `YYYY-MM-DD` format, UTC. This is derived and immutable and only present if `posted` is `true`.
**Warning**: The property `postedOn` was deprecated on version `v2.1.0` of the schema. Use the `occurredOn` property instead. `postedOn` will be removed on version `v3.0.0` of the schema.", + "inline": undefined, "type": "optional", "validation": { "format": "date", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/aries.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/aries.json index a2ba8aa0d7c..a916f8ae779 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/aries.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/aries.json @@ -125,6 +125,7 @@ "properties": { "config": { "docs": "Configuration settings", + "inline": true, "type": "optional", }, }, @@ -158,6 +159,7 @@ "properties": { "conductor": { "docs": "Conductor statistics", + "inline": true, "type": "optional", }, "label": { @@ -166,6 +168,7 @@ }, "timing": { "docs": "Timing results", + "inline": true, "type": "optional", }, "version": { @@ -431,21 +434,27 @@ "docs": undefined, "properties": { "jwt": { + "inline": true, "type": "optional", }, "jwt_vc": { + "inline": true, "type": "optional", }, "jwt_vp": { + "inline": true, "type": "optional", }, "ldp": { + "inline": true, "type": "optional", }, "ldp_vc": { + "inline": true, "type": "optional", }, "ldp_vp": { + "inline": true, "type": "optional", }, }, @@ -723,6 +732,7 @@ "properties": { "results": { "docs": "Dictionary of metadata associated with connection.", + "inline": true, "type": "optional", }, }, @@ -889,6 +899,7 @@ }, "settings": { "docs": "Settings for this wallet.", + "inline": true, "type": "optional", }, "state": { @@ -1085,6 +1096,7 @@ "properties": { "rev_reg_delta": { "docs": "Indy revocation registry delta", + "inline": true, "type": "optional", }, }, @@ -1589,10 +1601,12 @@ }, "record_ids": { "docs": "Mapping of input_descriptor id to list of stored W3C credential record_id", + "inline": true, "type": "optional", }, "reveal_doc": { "docs": "reveal doc [JSON-LD frame] dict used to derive the credential when selective disclosure is required", + "inline": true, "type": "optional", }, }, @@ -1726,6 +1740,7 @@ "properties": { "credential": { "docs": "Credential to sign", + "inline": true, "type": "DocCredential", }, "options": "DocOptions", @@ -2093,10 +2108,12 @@ "properties": { "blinded_ms": { "docs": "Blinded master secret", + "inline": true, "type": "IndyCredRequestBlindedMs", }, "blinded_ms_correctness_proof": { "docs": "Blinded master secret correctness proof", + "inline": true, "type": "IndyCredRequestBlindedMsCorrectnessProof", }, "cred_def_id": { @@ -2163,6 +2180,7 @@ }, "rev_reg": { "docs": "Revocation registry state", + "inline": true, "type": "optional", }, "rev_reg_id": { @@ -2187,10 +2205,12 @@ }, "signature": { "docs": "Credential signature", + "inline": true, "type": "signature", }, "signature_correctness_proof": { "docs": "Credential signature correctness proof", + "inline": true, "type": "IndyCredentialSignatureCorrectnessProof", }, "values": { @@ -2199,6 +2219,7 @@ }, "witness": { "docs": "Witness for revocation proof", + "inline": true, "type": "optional", }, }, @@ -2908,10 +2929,12 @@ }, "self_attested_attrs": { "docs": "Proof requested proof self-attested attributes", + "inline": true, "type": "optional", }, "unrevealed_attrs": { "docs": "Unrevealed attributes", + "inline": true, "type": "optional", }, }, @@ -3194,6 +3217,7 @@ }, "metadata": { "docs": "Metadata dictionary", + "inline": true, "type": "optional", }, "name": { @@ -3551,6 +3575,7 @@ }, "filter": { "docs": "Query dictionary object", + "inline": true, "type": "optional", }, "paginate": { @@ -4355,10 +4380,12 @@ "properties": { "did_document": { "docs": "DID Document", + "inline": true, "type": "ResolutionResultDidDocument", }, "metadata": { "docs": "Resolution metadata", + "inline": true, "type": "ResolutionResultMetadata", }, }, @@ -4415,14 +4442,17 @@ "properties": { "accum_calculated": { "docs": "Calculated accumulator for phantom revocations", + "inline": true, "type": "optional", }, "accum_fixed": { "docs": "Applied ledger transaction to fix revocations", + "inline": true, "type": "optional", }, "rev_reg_delta": { "docs": "Indy revocation registry delta", + "inline": true, "type": "optional", }, }, @@ -4676,6 +4706,7 @@ }, "signed_doc": { "docs": "Signed document", + "inline": true, "type": "optional", }, }, @@ -4923,6 +4954,7 @@ "type": "optional>", }, "meta_data": { + "inline": true, "type": "optional", }, "signature_request": { @@ -4940,6 +4972,7 @@ "type": "optional", }, "timing": { + "inline": true, "type": "optional", }, "trace": { @@ -5163,6 +5196,7 @@ }, "credential_request_metadata": { "docs": "(Indy) credential request metadata", + "inline": true, "type": "optional", }, "error_msg": { @@ -5679,15 +5713,19 @@ "docs": undefined, "properties": { "cred_issue": { + "inline": true, "type": "optional", }, "cred_offer": { + "inline": true, "type": "optional", }, "cred_proposal": { + "inline": true, "type": "optional", }, "cred_request": { + "inline": true, "type": "optional", }, }, @@ -5791,6 +5829,7 @@ }, "cred_request_metadata": { "docs": "Credential request metadata for indy holder", + "inline": true, "type": "optional", }, "cred_rev_id": { @@ -6412,12 +6451,15 @@ "docs": undefined, "properties": { "pres": { + "inline": true, "type": "optional", }, "pres_proposal": { + "inline": true, "type": "optional", }, "pres_request": { + "inline": true, "type": "optional", }, }, @@ -6666,6 +6708,7 @@ }, "cred_value": { "docs": "(JSON-serializable) credential value", + "inline": true, "type": "optional", }, "expanded_types": { @@ -6764,6 +6807,7 @@ }, "settings": { "docs": "Settings for this wallet.", + "inline": true, "type": "optional", }, "state": { @@ -6983,6 +7027,7 @@ types: config: type: optional docs: Configuration settings + inline: true source: openapi: ../openapi.yml AdminModules: @@ -7009,12 +7054,14 @@ types: conductor: type: optional docs: Conductor statistics + inline: true label: type: optional docs: Default label timing: type: optional docs: Timing results + inline: true version: type: optional docs: Version code @@ -7183,16 +7230,22 @@ types: properties: jwt: type: optional + inline: true jwt_vc: type: optional + inline: true jwt_vp: type: optional + inline: true ldp: type: optional + inline: true ldp_vc: type: optional + inline: true ldp_vp: type: optional + inline: true source: openapi: ../openapi.yml ConnRecordAccept: @@ -7366,6 +7419,7 @@ types: results: type: optional docs: Dictionary of metadata associated with connection. + inline: true source: openapi: ../openapi.yml ConnectionModuleResponse: map @@ -7480,6 +7534,7 @@ types: settings: type: optional docs: Settings for this wallet. + inline: true state: type: optional docs: Current record state @@ -7590,6 +7645,7 @@ types: rev_reg_delta: type: optional docs: Indy revocation registry delta + inline: true source: openapi: ../openapi.yml CredRevRecordDetailsResult: @@ -7950,11 +8006,13 @@ types: docs: >- Mapping of input_descriptor id to list of stored W3C credential record_id + inline: true reveal_doc: type: optional docs: >- reveal doc [JSON-LD frame] dict used to derive the credential when selective disclosure is required + inline: true source: openapi: ../openapi.yml DIFProofProposal: @@ -8009,6 +8067,7 @@ types: credential: type: DocCredential docs: Credential to sign + inline: true options: DocOptions source: openapi: ../openapi.yml @@ -8224,9 +8283,11 @@ types: blinded_ms: type: IndyCredRequestBlindedMs docs: Blinded master secret + inline: true blinded_ms_correctness_proof: type: IndyCredRequestBlindedMsCorrectnessProof docs: Blinded master secret correctness proof + inline: true cred_def_id: type: string docs: Credential definition identifier @@ -8277,6 +8338,7 @@ types: rev_reg: type: optional docs: Revocation registry state + inline: true rev_reg_id: type: optional docs: Revocation registry identifier @@ -8292,15 +8354,18 @@ types: signature: type: signature docs: Credential signature + inline: true signature_correctness_proof: type: IndyCredentialSignatureCorrectnessProof docs: Credential signature correctness proof + inline: true values: type: map docs: Credential attributes witness: type: optional docs: Witness for revocation proof + inline: true source: openapi: ../openapi.yml IndyEQProof: @@ -8711,9 +8776,11 @@ types: self_attested_attrs: type: optional docs: Proof requested proof self-attested attributes + inline: true unrevealed_attrs: type: optional docs: Unrevealed attributes + inline: true source: openapi: ../openapi.yml IndyProofRequestedProofPredicate: @@ -8883,6 +8950,7 @@ types: metadata: type: optional docs: Metadata dictionary + inline: true name: type: optional docs: Name @@ -9116,6 +9184,7 @@ types: filter: type: optional docs: Query dictionary object + inline: true paginate: type: optional source: @@ -9652,9 +9721,11 @@ types: did_document: type: ResolutionResultDidDocument docs: DID Document + inline: true metadata: type: ResolutionResultMetadata docs: Resolution metadata + inline: true source: openapi: ../openapi.yml RevRegIssuedResult: @@ -9692,12 +9763,15 @@ types: accum_calculated: type: optional docs: Calculated accumulator for phantom revocations + inline: true accum_fixed: type: optional docs: Applied ledger transaction to fix revocations + inline: true rev_reg_delta: type: optional docs: Indy revocation registry delta + inline: true source: openapi: ../openapi.yml RevRegsCreated: @@ -9837,6 +9911,7 @@ types: signed_doc: type: optional docs: Signed document + inline: true source: openapi: ../openapi.yml SignatureOptions: @@ -10011,6 +10086,7 @@ types: type: optional> meta_data: type: optional + inline: true signature_request: type: optional> signature_response: @@ -10023,6 +10099,7 @@ types: docs: Thread Identifier timing: type: optional + inline: true trace: type: optional docs: Record trace information, based on agent configuration @@ -10144,6 +10221,7 @@ types: credential_request_metadata: type: optional docs: (Indy) credential request metadata + inline: true error_msg: type: optional docs: Error message @@ -10493,12 +10571,16 @@ types: properties: cred_issue: type: optional + inline: true cred_offer: type: optional + inline: true cred_proposal: type: optional + inline: true cred_request: type: optional + inline: true source: openapi: ../openapi.yml V20CredExRecordDetail: @@ -10537,6 +10619,7 @@ types: cred_request_metadata: type: optional docs: Credential request metadata for indy holder + inline: true cred_rev_id: type: optional docs: Credential revocation identifier within revocation registry @@ -10934,10 +11017,13 @@ types: properties: pres: type: optional + inline: true pres_proposal: type: optional + inline: true pres_request: type: optional + inline: true source: openapi: ../openapi.yml V20PresExRecordList: @@ -11027,6 +11113,7 @@ types: cred_value: type: optional docs: (JSON-serializable) credential value + inline: true expanded_types: type: optional> given_id: @@ -11095,6 +11182,7 @@ types: settings: type: optional docs: Settings for this wallet. + inline: true state: type: optional docs: Current record state diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/assembly.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/assembly.json index ceec06cc76d..d05950b22be 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/assembly.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/assembly.json @@ -2258,6 +2258,7 @@ Can be any value between 0.0 and 1.0 inclusive. "acoustic_model": { "availability": "deprecated", "docs": "The acoustic model that was used for the transcription", + "inline": undefined, "type": "string", }, "audio_duration": { @@ -2385,6 +2386,7 @@ The default value is 'en_us'. "language_model": { "availability": "deprecated", "docs": "The language model that was used for the transcription", + "inline": undefined, "type": "string", }, "punctuate": { @@ -2444,6 +2446,7 @@ Valid values are in the range [0, 1] inclusive. "speed_boost": { "availability": "deprecated", "docs": "Whether speed boost was enabled in the transcription request", + "inline": undefined, "type": "optional", }, "status": { diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/axle.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/axle.json index e30fe4b42d1..d1e6db18881 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/axle.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/axle.json @@ -941,7 +941,10 @@ service: "StartIgnitionResponse": { "docs": "", "properties": { - "data": "StartIgnitionResponseData", + "data": { + "inline": true, + "type": "StartIgnitionResponseData", + }, "success": { "type": "root.Success", }, @@ -986,7 +989,9 @@ types: properties: success: type: root.Success - data: StartIgnitionResponseData + data: + type: StartIgnitionResponseData + inline: true source: openapi: ../openapi.yml service: @@ -1356,7 +1361,10 @@ Auth codes are ephemeral and expire after 10 minutes, while accessTokens do not "ExchangeTokenResponse": { "docs": "", "properties": { - "data": "ExchangeTokenResponseData", + "data": { + "inline": true, + "type": "ExchangeTokenResponseData", + }, "success": { "type": "root.Success", }, @@ -1413,7 +1421,9 @@ types: properties: success: type: root.Success - data: ExchangeTokenResponseData + data: + type: ExchangeTokenResponseData + inline: true source: openapi: ../openapi.yml service: diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/belvo.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/belvo.json index e73e25ef8e9..cb0a6008f23 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/belvo.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/belvo.json @@ -5206,6 +5206,7 @@ For `access_to_resource_denied` errors, the description is: *The institution's product ID for the account type.* ", + "inline": undefined, "type": "optional", }, "category": "optional", @@ -5248,6 +5249,7 @@ For `access_to_resource_denied` errors, the description is: *The institution's internal identification for the account.* ", + "inline": undefined, "type": "optional", }, "last_accessed_at": { @@ -5349,6 +5351,7 @@ The amount remaining to pay on the users's loan (same as `loan_data.outstanding_ "availability": "deprecated", "docs": "*This field has been deprecated.* ", + "inline": undefined, "type": "optional", }, "interest_rate": { @@ -5362,6 +5365,7 @@ The amount remaining to pay on the users's loan (same as `loan_data.outstanding_ *The date when the last credit payment was made.* ", + "inline": undefined, "type": "optional", }, "minimum_payment": { @@ -5374,6 +5378,7 @@ The amount remaining to pay on the users's loan (same as `loan_data.outstanding_ *The recurrent monthly payment, if applicable.* ", + "inline": undefined, "type": "optional", }, "next_payment_date": { @@ -5478,6 +5483,7 @@ The amount remaining to pay on the users's loan (same as `loan_data.outstanding_ Please see `principal` instead. ", + "inline": undefined, "type": "optional", }, "cutting_date": { @@ -5486,6 +5492,7 @@ Please see `principal` instead. The closing date of the loan period. ", + "inline": undefined, "type": "optional", }, "cutting_day": { @@ -5494,6 +5501,7 @@ The closing date of the loan period. The closing day of the month for the loan. ", + "inline": undefined, "type": "optional", }, "fees": { @@ -5506,6 +5514,7 @@ The closing day of the month for the loan. Please see the `interest_rates` object instead. ", + "inline": undefined, "type": "optional", }, "interest_rates": { @@ -5518,6 +5527,7 @@ Please see the `interest_rates` object instead. The date when the last loan payment was made. ", + "inline": undefined, "type": "optional", }, "last_period_balance": { @@ -5526,6 +5536,7 @@ The date when the last loan payment was made. Please see `outstanding_balance` instead. ", + "inline": undefined, "type": "optional", }, "limit_day": { @@ -5534,6 +5545,7 @@ Please see `outstanding_balance` instead. Please see `payment_day` instead. ", + "inline": undefined, "type": "optional", }, "loan_type": { @@ -5550,6 +5562,7 @@ Please see `payment_day` instead. The minimum amount required to pay to avoid generating interest. ", + "inline": undefined, "type": "optional", }, "number_of_installments_outstanding": { @@ -5838,12 +5851,14 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro The ISO-8601 timestamp when the data point was collected. ", + "inline": undefined, "type": "optional", }, "current_balance": { "availability": "deprecated", "docs": "*This field has been deprecated. Please use the `balance` field instead.* ", + "inline": undefined, "type": "optional", }, "id": { @@ -5862,6 +5877,7 @@ The ISO-8601 timestamp when the data point was collected. *The ID of the banking statement used to extract the `balance`.* ", + "inline": undefined, "type": "optional", }, "value_date": { @@ -10189,6 +10205,7 @@ For example: If the invoice is paid in installments, this field indicates the da "availability": "deprecated", "docs": "The description of the payment method used for this invoice. ", + "inline": undefined, "type": "optional", }, "payment_type": { @@ -10494,6 +10511,7 @@ For detailed information regarding DIAN's tax schemes, please see their [officia *The description of the payment method used for this invoice.* ", + "inline": undefined, "type": "optional", }, "payment_type": { @@ -10507,6 +10525,7 @@ For detailed information regarding DIAN's tax schemes, please see their [officia "availability": "deprecated", "docs": "*This field has been deprecated.* ", + "inline": undefined, "type": "optional", }, "payments": { @@ -10524,6 +10543,7 @@ For detailed information regarding DIAN's tax schemes, please see their [officia "availability": "deprecated", "docs": "This field has been deprecated. Please use `receiver_tax_fraud_status` instead. ", + "inline": undefined, "type": "optional", }, "receiver_id": { @@ -10546,6 +10566,7 @@ Possible statuses are: "availability": "deprecated", "docs": "This field has been deprecated. Please use `sender_tax_fraud_status` instead. ", + "inline": undefined, "type": "optional", }, "sender_id": { @@ -11675,6 +11696,7 @@ For `not_found` errors, the description is: *The first name of the account owner.* ", + "inline": undefined, "type": "optional", }, "id": { @@ -11697,6 +11719,7 @@ For `not_found` errors, the description is: *The last name of the account owner.* ", + "inline": undefined, "type": "optional", }, "link": { @@ -11719,6 +11742,7 @@ For `not_found` errors, the description is: *The second last name of the account owner.* ", + "inline": undefined, "type": "optional", }, }, @@ -12021,6 +12045,7 @@ When set to `false`, the data won't be persisted and we return a 200 OK response "docs": "An array of charge objects related to this paymnet intent. If no charges are associated, we return an empty array. **Note**: The charges resource will be deprecated and removed from our API by end of Q1 2023. We recommend not using any data from this resource.", + "inline": undefined, "type": "optional>", }, "created_at": { @@ -12321,6 +12346,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro "docs": "An array of charge objects related to this paymnet intent. If no charges are associated, we return an empty array. **Note**: The charges resource will be deprecated and removed from our API by end of Q1 2023. We recommend not using any data from this resource.", + "inline": undefined, "type": "optional>", }, "created_at": { diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/buzzshot.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/buzzshot.json index 52ae34cb367..771f63d4430 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/buzzshot.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/buzzshot.json @@ -10,7 +10,10 @@ "docs": undefined, "properties": { "added_at": "optional", - "complete": "GameComplete", + "complete": { + "inline": true, + "type": "GameComplete", + }, "date": { "type": "string", "validation": { @@ -126,7 +129,10 @@ "docs": undefined, "properties": { "added_at": "optional", - "complete": "GroupGamesItemComplete", + "complete": { + "inline": true, + "type": "GroupGamesItemComplete", + }, "date": { "type": "string", "validation": { @@ -429,7 +435,9 @@ room: optional photos: optional> extra_fields: list - complete: GameComplete + complete: + type: GameComplete + inline: true source: openapi: ../openapi.yml GroupGamesItemExtraFieldsItem: @@ -466,7 +474,9 @@ start_at: optional room: optional extra_fields: list - complete: GroupGamesItemComplete + complete: + type: GroupGamesItemComplete + inline: true source: openapi: ../openapi.yml GroupPlayersItemExtraFieldsItem: diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/deel.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/deel.json index 29c25191d2f..d39f493bbe3 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/deel.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/deel.json @@ -6522,10 +6522,19 @@ "properties": { "agreement_title": "string", "agreement_type": "string", - "client_legal_entity": "AgreementClientLegalEntity", + "client_legal_entity": { + "inline": true, + "type": "AgreementClientLegalEntity", + }, "id": "double", - "msa": "AgreementMsa", - "provider_legal_entity": "AgreementProviderLegalEntity", + "msa": { + "inline": true, + "type": "AgreementMsa", + }, + "provider_legal_entity": { + "inline": true, + "type": "AgreementProviderLegalEntity", + }, }, "source": { "openapi": "../openapi.yml", @@ -6713,23 +6722,38 @@ "docs": undefined, "properties": { "attachment": "optional", - "contract": "BasicInvoiceAdjustmentContract", + "contract": { + "inline": true, + "type": "BasicInvoiceAdjustmentContract", + }, "created_at": "optional", "currency_code": "CurrencyCodeRequired", "custom_scale": "optional", "date_submitted": "optional", "description": "string", "id": "UniqueObjectIdentifier", - "payment_cycle": "BasicInvoiceAdjustmentPaymentCycle", + "payment_cycle": { + "inline": true, + "type": "BasicInvoiceAdjustmentPaymentCycle", + }, "public_id": "optional", "quantity": "optional", - "reported_by": "BasicInvoiceAdjustmentReportedBy", - "reviewed_by": "optional", + "reported_by": { + "inline": true, + "type": "BasicInvoiceAdjustmentReportedBy", + }, + "reviewed_by": { + "inline": true, + "type": "optional", + }, "scale": "optional", "status": "optional", "total_amount": "string", "type": "InvoiceAdjustmentTypeEnum", - "worksheet": "optional", + "worksheet": { + "inline": true, + "type": "optional", + }, }, "source": { "openapi": "../openapi.yml", @@ -6878,18 +6902,30 @@ "docs": undefined, "properties": { "attachment": "optional", - "contract": "BasicTimesheetContract", + "contract": { + "inline": true, + "type": "BasicTimesheetContract", + }, "created_at": "string", "currency_code": "CurrencyCodeRequired", "custom_scale": "optional", "date_submitted": "optional", "description": "string", "id": "UniqueObjectIdentifier", - "payment_cycle": "optional", + "payment_cycle": { + "inline": true, + "type": "optional", + }, "public_id": "optional", "quantity": "optional", - "reported_by": "BasicTimesheetReportedBy", - "reviewed_by": "optional", + "reported_by": { + "inline": true, + "type": "BasicTimesheetReportedBy", + }, + "reviewed_by": { + "inline": true, + "type": "optional", + }, "scale": "optional", "status": "optional", "total_amount": { @@ -6900,7 +6936,10 @@ "docs": "Deprecated - it is always "work"", "type": "string", }, - "worksheet": "optional", + "worksheet": { + "inline": true, + "type": "optional", + }, }, "source": { "openapi": "../openapi.yml", @@ -7800,7 +7839,10 @@ "ContractToCreateShared": { "docs": "Details of contract to create", "properties": { - "client": "ContractToCreateSharedClient", + "client": { + "inline": true, + "type": "ContractToCreateSharedClient", + }, "country_code": "optional", "external_id": { "docs": "External Id.", @@ -7808,6 +7850,7 @@ }, "job_title": { "docs": "Worker's job title. You can enter a custom job title or use a pre-defiled job title using the Id retrieved in job-titles endpoint.", + "inline": true, "type": "ContractToCreateSharedJobTitle", }, "meta": "MetaDataOfContractToCreate", @@ -7818,6 +7861,7 @@ }, "seniority": { "docs": "Job seniority level. Please use the seniority levels endpoint to retrieve the list of seniority levels.", + "inline": true, "type": "optional", }, "special_clause": { @@ -7837,6 +7881,7 @@ "who_reports": "optional", "worker": { "docs": "Worker properties", + "inline": true, "type": "optional", }, }, @@ -7849,10 +7894,12 @@ "properties": { "legal_entity": { "docs": "Choose the Deel legal entity for this contract. Use legal entity endpoint to retrieve a list of legal entities in your organization.", + "inline": true, "type": "ContractToCreateSharedClientLegalEntity", }, "team": { "docs": "Choose the Deel team for this contract. Use teams endpoint to retrieve a list of teams in your organization.", + "inline": true, "type": "ContractToCreateSharedClientTeam", }, }, @@ -8256,7 +8303,10 @@ "docs": undefined, "properties": { "birth_date": "optional", - "client_legal_entity": "optional", + "client_legal_entity": { + "inline": true, + "type": "optional", + }, "completion_date": "optional", "country": "optional", "email": "optional", @@ -8268,7 +8318,10 @@ "id": "optional", "job_title": "optional", "last_name": "optional", - "monthly_payment": "optional", + "monthly_payment": { + "inline": true, + "type": "optional", + }, "payments": "optional>", "personal_email": "optional", "pic_url": "optional", @@ -8491,12 +8544,27 @@ "EorContractCreated": { "docs": undefined, "properties": { - "client": "optional", - "compensation_details": "optional", + "client": { + "inline": true, + "type": "optional", + }, + "compensation_details": { + "inline": true, + "type": "optional", + }, "created_at": "optional", - "employee": "optional", - "employment": "optional", - "health_plan": "optional", + "employee": { + "inline": true, + "type": "optional", + }, + "employment": { + "inline": true, + "type": "optional", + }, + "health_plan": { + "inline": true, + "type": "optional", + }, "id": { "docs": "Id of the contract quote created", "type": "optional", @@ -8516,7 +8584,10 @@ "EorContractCreatedClient": { "docs": undefined, "properties": { - "legal_entity": "optional", + "legal_entity": { + "inline": true, + "type": "optional", + }, }, "source": { "openapi": "../openapi.yml", @@ -8648,10 +8719,22 @@ "EorContractToCreate": { "docs": undefined, "properties": { - "client": "EorContractToCreateClient", - "compensation_details": "EorContractToCreateCompensationDetails", - "employee": "optional", - "employment": "EorContractToCreateEmployment", + "client": { + "inline": true, + "type": "EorContractToCreateClient", + }, + "compensation_details": { + "inline": true, + "type": "EorContractToCreateCompensationDetails", + }, + "employee": { + "inline": true, + "type": "optional", + }, + "employment": { + "inline": true, + "type": "EorContractToCreateEmployment", + }, "health_plan_id": { "docs": "Healthare plan Id. You can see available healthcare plans in the country guide endpoint.", "type": "optional", @@ -8662,9 +8745,13 @@ }, "quote_additional_fields": { "docs": "Some countries require additional employee information for employment contracts.", + "inline": true, "type": "optional", }, - "seniority": "EorContractToCreateSeniority", + "seniority": { + "inline": true, + "type": "EorContractToCreateSeniority", + }, }, "source": { "openapi": "../openapi.yml", @@ -8673,8 +8760,14 @@ "EorContractToCreateClient": { "docs": undefined, "properties": { - "legal_entity": "optional", - "team": "optional", + "legal_entity": { + "inline": true, + "type": "optional", + }, + "team": { + "inline": true, + "type": "optional", + }, }, "source": { "openapi": "../openapi.yml", @@ -8731,7 +8824,10 @@ "EorContractToCreateEmployee": { "docs": undefined, "properties": { - "address": "optional", + "address": { + "inline": true, + "type": "optional", + }, "email": { "docs": "Employee's email address.", "type": "optional", @@ -8899,15 +8995,20 @@ }, "definite_contract": { "docs": "Conditions to make definitive contract.", + "inline": true, "type": "optional", }, - "health_insurance": "optional", + "health_insurance": { + "inline": true, + "type": "optional", + }, "hiring_guide_country_name": { "docs": "Country name.", "type": "optional", }, "holiday": { "docs": "Range of the number of holidays.", + "inline": true, "type": "optional", }, "insurance_fee": { @@ -8916,27 +9017,35 @@ }, "part_time_holiday": { "docs": "Holiday type and range for part-time contracts.", + "inline": true, "type": "optional", }, "part_time_probation": { "docs": "Probation period range for part-time contracts.", + "inline": true, "type": "optional", }, "probation": { "docs": "Probation period range.", + "inline": true, "type": "optional", }, "salary": { "docs": "Salary range.", + "inline": true, "type": "optional", }, - "sick_days": "optional", + "sick_days": { + "inline": true, + "type": "optional", + }, "start_date_buffer": { "docs": "Calculate employee's minimum start date using the start date buffer. Today's date + (number of business days x start_date_buffer) = Minimum start date.", "type": "optional", }, "work_schedule": { "docs": "Employee's Work schedule in days and hours.", + "inline": true, "type": "optional", }, }, @@ -9085,8 +9194,14 @@ "EorCountryValidationsWorkSchedule": { "docs": "Employee's Work schedule in days and hours.", "properties": { - "days": "optional", - "hours": "optional", + "days": { + "inline": true, + "type": "optional", + }, + "hours": { + "inline": true, + "type": "optional", + }, }, "source": { "openapi": "../openapi.yml", @@ -9367,7 +9482,10 @@ "EstimateFirstPayment": { "docs": "Details of pro rata payment to create.", "properties": { - "compensation_details": "EstimateFirstPaymentCompensationDetails", + "compensation_details": { + "inline": true, + "type": "EstimateFirstPaymentCompensationDetails", + }, "country_code": "CountryCode", "start_date": "DateStringRequired", "type": "ContractTypeEnum", @@ -9613,7 +9731,10 @@ "GenericResultCreated": { "docs": undefined, "properties": { - "data": "GenericResultCreatedData", + "data": { + "inline": true, + "type": "GenericResultCreatedData", + }, }, "source": { "openapi": "../openapi.yml", @@ -9631,7 +9752,10 @@ "GenericResultDeleted": { "docs": undefined, "properties": { - "data": "GenericResultDeletedData", + "data": { + "inline": true, + "type": "GenericResultDeletedData", + }, }, "source": { "openapi": "../openapi.yml", @@ -9652,7 +9776,10 @@ "GenericResultUpdated": { "docs": undefined, "properties": { - "data": "GenericResultUpdatedData", + "data": { + "inline": true, + "type": "GenericResultUpdatedData", + }, }, "source": { "openapi": "../openapi.yml", @@ -9837,7 +9964,10 @@ "employee_details": "HrisDirectEmployeeDetails", "job_information": "HrisDirectEmployeeJobInformation", "team_information": "HrisTeamInformation", - "vacation_info": "optional", + "vacation_info": { + "inline": true, + "type": "optional", + }, }, "source": { "openapi": "../openapi.yml", @@ -10046,7 +10176,10 @@ "InputToShieldContract": { "docs": undefined, "properties": { - "data": "InputToShieldContractData", + "data": { + "inline": true, + "type": "InputToShieldContractData", + }, }, "source": { "openapi": "../openapi.yml", @@ -10604,7 +10737,10 @@ "docs": undefined, "properties": { "data": "JobTitleList", - "page": "JobTitleListContainerPage", + "page": { + "inline": true, + "type": "JobTitleListContainerPage", + }, }, "source": { "openapi": "../openapi.yml", @@ -10678,10 +10814,12 @@ }, "reported_by": { "docs": "Milestone creator.", + "inline": true, "type": "MilestoneReportedBy", }, "reviewed_by": { "docs": "Reviewer's information.", + "inline": true, "type": "optional", }, "status": { @@ -10940,8 +11078,14 @@ }, "id": "UniqueObjectIdentifier", "public_id": "optional", - "reported_by": "OffCyclePaymentReportedBy", - "reviewed_by": "optional", + "reported_by": { + "inline": true, + "type": "OffCyclePaymentReportedBy", + }, + "reviewed_by": { + "inline": true, + "type": "optional", + }, "status": "optional", }, "source": { @@ -11694,9 +11838,18 @@ "docs": "Deel Premium plan id.", "type": "string", }, - "misclassification_guarantee": "PremiumResultAddedMisclassificationGuarantee", - "penalties": "PremiumResultAddedPenalties", - "third_party_liabilities": "PremiumResultAddedThirdPartyLiabilities", + "misclassification_guarantee": { + "inline": true, + "type": "PremiumResultAddedMisclassificationGuarantee", + }, + "penalties": { + "inline": true, + "type": "PremiumResultAddedPenalties", + }, + "third_party_liabilities": { + "inline": true, + "type": "PremiumResultAddedThirdPartyLiabilities", + }, }, "source": { "openapi": "../openapi.yml", @@ -12185,7 +12338,10 @@ "docs": undefined, "properties": { "integration": "string", - "mapping_category": "optional", + "mapping_category": { + "inline": true, + "type": "optional", + }, }, "source": { "openapi": "../openapi.yml", @@ -13386,11 +13542,13 @@ docs: >- Choose the Deel legal entity for this contract. Use legal entity endpoint to retrieve a list of legal entities in your organization. + inline: true team: type: ContractToCreateSharedClientTeam docs: >- Choose the Deel team for this contract. Use teams endpoint to retrieve a list of teams in your organization. + inline: true source: openapi: ../openapi.yml ContractToCreateSharedJobTitle: @@ -13452,17 +13610,21 @@ docs: Enter any special clause you may have. start_date: optional termination_date: optional - client: ContractToCreateSharedClient + client: + type: ContractToCreateSharedClient + inline: true job_title: type: ContractToCreateSharedJobTitle docs: >- Worker's job title. You can enter a custom job title or use a pre-defiled job title using the Id retrieved in job-titles endpoint. + inline: true seniority: type: optional docs: >- Job seniority level. Please use the seniority levels endpoint to retrieve the list of seniority levels. + inline: true notice_period: optional who_reports: optional meta: MetaDataOfContractToCreate @@ -13472,6 +13634,7 @@ worker: type: optional docs: Worker properties + inline: true source: openapi: ../openapi.yml MetaDataOfContractToCreate: @@ -13747,11 +13910,21 @@ scale: optional custom_scale: optional attachment: optional - worksheet: optional - reviewed_by: optional - contract: BasicTimesheetContract - payment_cycle: optional - reported_by: BasicTimesheetReportedBy + worksheet: + type: optional + inline: true + reviewed_by: + type: optional + inline: true + contract: + type: BasicTimesheetContract + inline: true + payment_cycle: + type: optional + inline: true + reported_by: + type: BasicTimesheetReportedBy + inline: true source: openapi: ../openapi.yml TimesheetContainer: @@ -13956,7 +14129,9 @@ TimesheetAccountingRefsItem: properties: integration: string - mapping_category: optional + mapping_category: + type: optional + inline: true source: openapi: ../openapi.yml TimesheetAccountingRefs: optional> @@ -14087,11 +14262,21 @@ scale: optional custom_scale: optional attachment: optional - worksheet: optional - reviewed_by: optional - contract: BasicInvoiceAdjustmentContract - payment_cycle: BasicInvoiceAdjustmentPaymentCycle - reported_by: BasicInvoiceAdjustmentReportedBy + worksheet: + type: optional + inline: true + reviewed_by: + type: optional + inline: true + contract: + type: BasicInvoiceAdjustmentContract + inline: true + payment_cycle: + type: BasicInvoiceAdjustmentPaymentCycle + inline: true + reported_by: + type: BasicInvoiceAdjustmentReportedBy + inline: true source: openapi: ../openapi.yml InvoiceAdjustmentContainer: @@ -14213,7 +14398,9 @@ openapi: ../openapi.yml GenericResultCreated: properties: - data: GenericResultCreatedData + data: + type: GenericResultCreatedData + inline: true source: openapi: ../openapi.yml ContractExternalIdPatchedResponseContainer: ContractExternalIdToPatch @@ -14229,7 +14416,9 @@ openapi: ../openapi.yml GenericResultUpdated: properties: - data: GenericResultUpdatedData + data: + type: GenericResultUpdatedData + inline: true source: openapi: ../openapi.yml GenericResultDeletedData: @@ -14241,7 +14430,9 @@ openapi: ../openapi.yml GenericResultDeleted: properties: - data: GenericResultDeletedData + data: + type: GenericResultDeletedData + inline: true source: openapi: ../openapi.yml ContractTypeEnumList: @@ -14506,7 +14697,9 @@ JobTitleListContainer: properties: data: JobTitleList - page: JobTitleListContainerPage + page: + type: JobTitleListContainerPage + inline: true source: openapi: ../openapi.yml JobTitleList: list @@ -14754,9 +14947,11 @@ reviewed_by: type: optional docs: Reviewer's information. + inline: true reported_by: type: MilestoneReportedBy docs: Milestone creator. + inline: true title: type: string docs: Title of milestone. @@ -14857,7 +15052,9 @@ type: ContractTypeEnum country_code: CountryCode start_date: DateStringRequired - compensation_details: EstimateFirstPaymentCompensationDetails + compensation_details: + type: EstimateFirstPaymentCompensationDetails + inline: true source: openapi: ../openapi.yml ProRataCalculationType: @@ -14953,8 +15150,12 @@ type: string docs: Amount of off-cycle payment. created_at: optional - reviewed_by: optional - reported_by: OffCyclePaymentReportedBy + reviewed_by: + type: optional + inline: true + reported_by: + type: OffCyclePaymentReportedBy + inline: true source: openapi: ../openapi.yml FileAttachmentInfo: @@ -15114,9 +15315,15 @@ id: double agreement_title: string agreement_type: string - msa: AgreementMsa - client_legal_entity: AgreementClientLegalEntity - provider_legal_entity: AgreementProviderLegalEntity + msa: + type: AgreementMsa + inline: true + client_legal_entity: + type: AgreementClientLegalEntity + inline: true + provider_legal_entity: + type: AgreementProviderLegalEntity + inline: true source: openapi: ../openapi.yml InputToShieldContractData: @@ -15128,7 +15335,9 @@ openapi: ../openapi.yml InputToShieldContract: properties: - data: InputToShieldContractData + data: + type: InputToShieldContractData + inline: true source: openapi: ../openapi.yml PremiumToAdd: @@ -15264,9 +15473,15 @@ calculated_premium: type: double docs: Cost for Deel Premium. - misclassification_guarantee: PremiumResultAddedMisclassificationGuarantee - penalties: PremiumResultAddedPenalties - third_party_liabilities: PremiumResultAddedThirdPartyLiabilities + misclassification_guarantee: + type: PremiumResultAddedMisclassificationGuarantee + inline: true + penalties: + type: PremiumResultAddedPenalties + inline: true + third_party_liabilities: + type: PremiumResultAddedThirdPartyLiabilities + inline: true source: openapi: ../openapi.yml EorEntitlements: @@ -15435,7 +15650,9 @@ nationality: type: string docs: Employee's nationality. - address: optional + address: + type: optional + inline: true source: openapi: ../openapi.yml EorContractToCreateEmploymentType: @@ -15523,8 +15740,12 @@ openapi: ../openapi.yml EorContractToCreateClient: properties: - legal_entity: optional - team: optional + legal_entity: + type: optional + inline: true + team: + type: optional + inline: true source: openapi: ../openapi.yml EorContractToCreateCompensationDetails: @@ -15572,19 +15793,30 @@ openapi: ../openapi.yml EorContractToCreate: properties: - employee: optional - employment: EorContractToCreateEmployment + employee: + type: optional + inline: true + employment: + type: EorContractToCreateEmployment + inline: true job_title: type: optional docs: Employee's job title. - seniority: EorContractToCreateSeniority - client: EorContractToCreateClient - compensation_details: EorContractToCreateCompensationDetails + seniority: + type: EorContractToCreateSeniority + inline: true + client: + type: EorContractToCreateClient + inline: true + compensation_details: + type: EorContractToCreateCompensationDetails + inline: true quote_additional_fields: type: optional docs: >- Some countries require additional employee information for employment contracts. + inline: true health_plan_id: type: optional docs: >- @@ -15633,7 +15865,9 @@ openapi: ../openapi.yml EorContractCreatedClient: properties: - legal_entity: optional + legal_entity: + type: optional + inline: true source: openapi: ../openapi.yml EorContractCreatedCompensationDetails: @@ -15689,11 +15923,21 @@ job_title: type: optional docs: Employee's job title. - employment: optional - client: optional - compensation_details: optional - employee: optional - health_plan: optional + employment: + type: optional + inline: true + client: + type: optional + inline: true + compensation_details: + type: optional + inline: true + employee: + type: optional + inline: true + health_plan: + type: optional + inline: true seniority: optional source: openapi: ../openapi.yml @@ -15777,8 +16021,12 @@ EorCountryValidationsWorkSchedule: docs: Employee's Work schedule in days and hours. properties: - days: optional - hours: optional + days: + type: optional + inline: true + hours: + type: optional + inline: true source: openapi: ../openapi.yml EorCountryValidationsDefiniteContractType: @@ -15806,22 +16054,30 @@ holiday: type: optional docs: Range of the number of holidays. + inline: true part_time_holiday: type: optional docs: Holiday type and range for part-time contracts. - sick_days: optional + inline: true + sick_days: + type: optional + inline: true salary: type: optional docs: Salary range. + inline: true probation: type: optional docs: Probation period range. + inline: true part_time_probation: type: optional docs: Probation period range for part-time contracts. + inline: true work_schedule: type: optional docs: Employee's Work schedule in days and hours. + inline: true insurance_fee: type: optional docs: Insurance fee. @@ -15840,10 +16096,13 @@ definite_contract: type: optional docs: Conditions to make definitive contract. + inline: true adjustments_information_box: type: optional docs: Country specific notes and information. - health_insurance: optional + health_insurance: + type: optional + inline: true source: openapi: ../openapi.yml HealthInsuranceProviderAttachmentsItem: @@ -16216,12 +16475,16 @@ job_title: optional payments: optional> hourly_report_total: optional - client_legal_entity: optional + client_legal_entity: + type: optional + inline: true state: optional seniority: optional completion_date: optional hiring_status: optional - monthly_payment: optional + monthly_payment: + type: optional + inline: true source: openapi: ../openapi.yml WebhookItemStatus: @@ -16626,7 +16889,9 @@ job_information: HrisDirectEmployeeJobInformation compensation: HrisCompensation contract: HrisDirectEmployeeContract - vacation_info: optional + vacation_info: + type: optional + inline: true source: openapi: ../openapi.yml HrisDirectEmployeeResponse: diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/flagright.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/flagright.json index f6177b841cc..3fcf34ffef2 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/flagright.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/flagright.json @@ -4676,6 +4676,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu "type": "optional", }, "paymentMethodLimits": { + "inline": true, "type": "optional", }, }, @@ -6363,6 +6364,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu type: optional paymentMethodLimits: type: optional + inline: true source: openapi: ../openapi.yml RuleAction: diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/flexport.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/flexport.json index cd360552ce7..0c585541513 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/flexport.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/flexport.json @@ -1781,6 +1781,7 @@ }, "company": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": true, "type": "optional", }, "email": "optional", @@ -2101,6 +2102,7 @@ "manufacturer_ref": { "availability": "deprecated", "docs": "[DEPRECATED] Your custom string used to refer to a manufacturer location.", + "inline": undefined, "type": "optional", }, "metadata": "optional", @@ -4329,6 +4331,7 @@ "country_of_origin": { "availability": "deprecated", "docs": "[DEPRECATED] - Use the country_of_origin on the supplier field. The country the product was manufactured", + "inline": undefined, "type": "optional", }, "description": { @@ -4338,6 +4341,7 @@ "hs_codes": { "availability": "deprecated", "docs": "DEPRECATED - HS codes can be found in the classifications array", + "inline": undefined, "type": "optional>", }, "id": { @@ -8671,6 +8675,7 @@ company: type: optional docs: '[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)' + inline: true source: openapi: ../openapi.yml Location: @@ -11412,7 +11417,10 @@ errors: "docs": undefined, "properties": { "_object": "optional", - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, "self": "optional", "version": "optional", }, @@ -11478,7 +11486,9 @@ errors: _object: optional self: optional version: optional - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml CreateBookingDeclaredAsStrategy: @@ -13297,7 +13307,10 @@ docs: >- "docs": undefined, "properties": { "_object": "optional", - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, "self": "optional", "version": "optional", }, @@ -13352,7 +13365,9 @@ docs: >- _object: optional self: optional version: optional - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml BookingLineItemCreateResponse: @@ -14667,7 +14682,10 @@ docs: Endpoints relating to Carbon Calculations "docs": undefined, "properties": { "_object": "optional", - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, "self": "optional", "version": "optional", }, @@ -14729,7 +14747,9 @@ types: _object: optional self: optional version: optional - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml CommercialInvoicesCreateResponse: @@ -15841,7 +15861,10 @@ docs: Endpoints relating to Commercial Invoice objects "docs": undefined, "properties": { "_object": "optional", - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, "self": "optional", "version": "optional", }, @@ -15917,7 +15940,9 @@ types: _object: optional self: optional version: optional - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml NetworkCompanyCreateResponse: @@ -16707,7 +16732,10 @@ docs: Endpoints relating to Company objects "docs": undefined, "properties": { "_object": "optional", - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, "self": "optional", "version": "optional", }, @@ -16783,7 +16811,9 @@ types: _object: optional self: optional version: optional - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml NetworkCompanyEntityCreateResponse: @@ -17434,7 +17464,10 @@ docs: Endpoints relating to CompanyEntity objects "docs": undefined, "properties": { "_object": "optional", - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, "self": "optional", "version": "optional", }, @@ -17498,7 +17531,9 @@ types: _object: optional self: optional version: optional - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml NetworkContactCreateResponse: @@ -18032,7 +18067,10 @@ docs: Endpoints relating to Contact objects "docs": undefined, "properties": { "_object": "optional", - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, "self": "optional", "version": "optional", }, @@ -18082,7 +18120,9 @@ types: _object: optional self: optional version: optional - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml ContainerShowResponse: @@ -18482,7 +18522,10 @@ docs: Endpoints relating to Container objects "docs": undefined, "properties": { "_object": "optional", - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, "self": "optional", "version": "optional", }, @@ -18532,7 +18575,9 @@ types: _object: optional self: optional version: optional - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml OceanContainerLegsShowResponse: @@ -18834,7 +18879,10 @@ docs: Endpoints relating to ContainerLeg objects "docs": undefined, "properties": { "_object": "optional", - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, "self": "optional", "version": "optional", }, @@ -18872,7 +18920,9 @@ types: _object: optional self: optional version: optional - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml CustomsEntriesShowResponse: @@ -19269,7 +19319,10 @@ docs: Endpoints relating to Customs Entry objects "docs": undefined, "properties": { "_object": "optional", - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, "self": "optional", "version": "optional", }, @@ -19321,7 +19374,9 @@ types: _object: optional self: optional version: optional - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml DocumentsCreateResponse: @@ -19788,7 +19843,10 @@ docs: Endpoints relating to Document objects "docs": undefined, "properties": { "_object": "optional", - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, "self": "optional", "version": "optional", }, @@ -19852,7 +19910,9 @@ docs: Endpoints relating to Document objects _object: optional self: optional version: optional - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml EventsShowResponse: @@ -20691,7 +20751,10 @@ Other details about this invoice", "docs": undefined, "properties": { "_object": "optional", - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, "self": "optional", "version": "optional", }, @@ -20754,7 +20817,9 @@ Other details about this invoice", _object: optional self: optional version: optional - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml InvoicesShowResponse: @@ -21689,7 +21754,10 @@ docs: Endpoints relating to Invoice objects "docs": undefined, "properties": { "_object": "optional", - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, "self": "optional", "version": "optional", }, @@ -21765,7 +21833,9 @@ types: _object: optional self: optional version: optional - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml NetworkLocationCreateResponse: @@ -22279,7 +22349,10 @@ docs: Endpoints relating to Location objects "docs": undefined, "properties": { "_object": "optional", - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, "self": "optional", "version": "optional", }, @@ -22325,7 +22398,9 @@ docs: Endpoints relating to Location objects _object: optional self: optional version: optional - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml imports: @@ -22867,7 +22942,10 @@ docs: Endpoints relating to Ports objects "docs": undefined, "properties": { "_object": "optional", - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, "self": "optional", "version": "optional", }, @@ -22929,7 +23007,9 @@ types: _object: optional self: optional version: optional - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml ProductCreateResponse: @@ -24323,7 +24403,10 @@ docs: Endpoints relating to Product objects "docs": undefined, "properties": { "_object": "optional", - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, "self": "optional", "version": "optional", }, @@ -24401,7 +24484,9 @@ docs: Endpoints relating to Product objects _object: optional self: optional version: optional - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml PurchaseOrderShowResponse: @@ -25603,7 +25688,10 @@ docs: >- "docs": undefined, "properties": { "_object": "optional", - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, "self": "optional", "version": "optional", }, @@ -25658,7 +25746,9 @@ docs: >- _object: optional self: optional version: optional - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml PurchaseOrderLineItemShowResponse: @@ -27223,7 +27313,10 @@ docs: >- "docs": undefined, "properties": { "_object": "optional", - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, "self": "optional", "version": "optional", }, @@ -27271,7 +27364,10 @@ docs: >- "docs": undefined, "properties": { "_object": "optional", - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, "self": "optional", "version": "optional", }, @@ -27333,7 +27429,9 @@ docs: >- _object: optional self: optional version: optional - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml ShipmentShowResponse: @@ -27370,7 +27468,9 @@ docs: >- _object: optional self: optional version: optional - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml imports: @@ -28790,7 +28890,10 @@ docs: Endpoints relating to Shipment objects "docs": undefined, "properties": { "_object": "optional", - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, "self": "optional", "version": "optional", }, @@ -28840,7 +28943,9 @@ types: _object: optional self: optional version: optional - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml ShipmentLegShowResponse: diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/hathora.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/hathora.json index 4ded7d5271e..721aedad1b8 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/hathora.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/hathora.json @@ -1004,7 +1004,10 @@ "pattern": "^[a-z0-9-]+$", }, }, - "authConfiguration": "AppConfigAuthConfiguration", + "authConfiguration": { + "inline": true, + "type": "AppConfigAuthConfiguration", + }, }, "source": { "openapi": "../openapi.json", @@ -1014,7 +1017,10 @@ "docs": undefined, "properties": { "anonymous": "optional", - "google": "optional", + "google": { + "inline": true, + "type": "optional", + }, "nickname": "optional", }, "source": { @@ -1037,7 +1043,10 @@ "appId": "string", "appName": "string", "appSecret": "string", - "authConfiguration": "ApplicationAuthConfiguration", + "authConfiguration": { + "inline": true, + "type": "ApplicationAuthConfiguration", + }, "createdAt": "datetime", "createdBy": "string", "deletedAt": "optional", @@ -1052,7 +1061,10 @@ "docs": undefined, "properties": { "anonymous": "optional", - "google": "optional", + "google": { + "inline": true, + "type": "optional", + }, "nickname": "optional", }, "source": { @@ -1944,7 +1956,9 @@ types: openapi: ../openapi.json ApplicationAuthConfiguration: properties: - google: optional + google: + type: optional + inline: true nickname: optional anonymous: optional source: @@ -1956,7 +1970,9 @@ types: createdAt: datetime createdBy: string orgId: OrgId - authConfiguration: ApplicationAuthConfiguration + authConfiguration: + type: ApplicationAuthConfiguration + inline: true appSecret: string appId: string appName: string @@ -2038,14 +2054,18 @@ types: openapi: ../openapi.json AppConfigAuthConfiguration: properties: - google: optional + google: + type: optional + inline: true nickname: optional anonymous: optional source: openapi: ../openapi.json AppConfig: properties: - authConfiguration: AppConfigAuthConfiguration + authConfiguration: + type: AppConfigAuthConfiguration + inline: true appName: type: string validation: diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/hookdeck.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/hookdeck.json index 3027d419245..35fff7bce5f 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/hookdeck.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/hookdeck.json @@ -2498,7 +2498,10 @@ "docs": "Error code", "type": "string", }, - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, "message": { "docs": "Error description", "type": "string", @@ -3211,6 +3214,7 @@ }, "body": { "docs": "Response body from the destination", + "inline": true, "type": "optional", }, "bulk_retry_id": { @@ -6411,7 +6415,9 @@ types: message: type: string docs: Error description - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml DeletedIssueTriggerResponse: @@ -6500,6 +6506,7 @@ types: body: type: optional docs: Response body from the destination + inline: true requested_url: type: optional docs: URL of the destination where delivery was attempted diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/humanloop.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/humanloop.json index 5e200c13003..a4ff169db3c 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/humanloop.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/humanloop.json @@ -818,6 +818,7 @@ in the Evaluation Report.", "tool_call": { "availability": "deprecated", "docs": "NB: Deprecated in favour of tool_calls. A tool call requested by the assistant.", + "inline": undefined, "type": "optional", }, "tool_call_id": { @@ -2421,6 +2422,7 @@ Contains fields that are common to all (i.e. both chat and complete) endpoints." "tool_configs": { "availability": "deprecated", "docs": "NB: Deprecated with tools field. Definition of tools shown to the model.", + "inline": undefined, "type": "optional>", }, "tools": { diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/intercom.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/intercom.json index f274f4bfc5f..faa83349da5 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/intercom.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/intercom.json @@ -3964,6 +3964,7 @@ }, "performed_by": { "docs": "Details about the Admin involved in the activity.", + "inline": true, "type": "optional", }, }, @@ -4173,6 +4174,7 @@ }, "avatar": { "docs": "This object represents the avatar associated with the admin.", + "inline": true, "type": "optional", }, "away_mode_enabled": { @@ -5938,6 +5940,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "pages": { "docs": "Pagination", + "inline": true, "type": "optional", }, "type": { @@ -7754,9 +7757,11 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( "type": "optional", }, "avatar": { + "inline": true, "type": "optional", }, "companies": { + "inline": true, "type": "optional", }, "created_at": { @@ -7794,6 +7799,7 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( "type": "optional", }, "location_data": { + "inline": true, "type": "optional", }, "marked_email_as_spam": { @@ -7825,6 +7831,7 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( "type": "optional", }, "segments": { + "inline": true, "type": "optional", }, "session_count": { @@ -7836,9 +7843,11 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( "type": "optional", }, "social_profiles": { + "inline": true, "type": "optional", }, "tags": { + "inline": true, "type": "optional", }, "type": { @@ -10370,6 +10379,7 @@ types: performed_by: type: optional docs: Details about the Admin involved in the activity. + inline: true metadata: type: optional created_at: @@ -10616,6 +10626,7 @@ types: avatar: type: optional docs: This object represents the avatar associated with the admin. + inline: true email_verified: type: optional docs: Identifies if this admin's email is verified. @@ -11893,6 +11904,7 @@ types: pages: type: optional docs: Pagination + inline: true source: openapi: ../openapi.yml DataEventSummary: @@ -13349,13 +13361,16 @@ types: docs: The pseudonym of the visitor. avatar: type: optional + inline: true app_id: type: optional docs: The id of the app the visitor is associated with. companies: type: optional + inline: true location_data: type: optional + inline: true las_request_at: type: optional docs: The time the Lead last recorded making a request. @@ -13376,6 +13391,7 @@ types: docs: The number of sessions the Visitor has had. social_profiles: type: optional + inline: true owner_id: type: optional docs: The id of the admin that owns the Visitor. @@ -13390,8 +13406,10 @@ types: docs: Identifies if this visitor has had a hard bounce. tags: type: optional + inline: true segments: type: optional + inline: true custom_attributes: type: optional> docs: The custom attributes you have set on the Visitor. @@ -17108,6 +17126,7 @@ imports: "properties": { "data": { "docs": "An object containing the results of the search.", + "inline": true, "type": "optional", }, "pages": { @@ -19663,6 +19682,7 @@ types: data: type: optional docs: An object containing the results of the search. + inline: true pages: type: optional source: @@ -20818,6 +20838,7 @@ You can fetch all companies and filter by `segment_id` or `tag_id` as a query pa "type": "optional", }, "plan": { + "inline": true, "type": "optional", }, "remote_created_at": { @@ -20826,6 +20847,7 @@ You can fetch all companies and filter by `segment_id` or `tag_id` as a query pa }, "segments": { "docs": "The list of segments associated with the company", + "inline": true, "type": "optional", }, "session_count": { @@ -20838,6 +20860,7 @@ You can fetch all companies and filter by `segment_id` or `tag_id` as a query pa }, "tags": { "docs": "The list of tags associated with the company", + "inline": true, "type": "optional", }, "type": { @@ -21797,6 +21820,7 @@ types: to. plan: type: optional + inline: true company_id: type: optional docs: The company id you have defined for the company. @@ -21836,9 +21860,11 @@ types: tags: type: optional docs: The list of tags associated with the company + inline: true segments: type: optional docs: The list of segments associated with the company + inline: true source: openapi: ../openapi.yml ", @@ -23172,6 +23198,7 @@ The data property will show a combined list of: "type": "optional", }, "avatar": { + "inline": true, "type": "optional", }, "browser": { @@ -24625,6 +24652,7 @@ types: docs: The custom attributes which are set for the contact. avatar: type: optional + inline: true tags: type: optional notes: @@ -42002,6 +42030,7 @@ types: }, "contact": { "docs": "Represents the contact that the note was created about.", + "inline": true, "type": "optional", }, "created_at": { @@ -42338,6 +42367,7 @@ types: contact: type: optional docs: Represents the contact that the note was created about. + inline: true author: type: optional docs: Optional. Represents the Admin that created the note. diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/merge.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/merge.json index 95f50fc2068..da62e8f69b8 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/merge.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/merge.json @@ -1322,6 +1322,7 @@ Fetch from the `LIST Employee` endpoint and filter by `ID` to show all employees "hire_date": { "availability": "deprecated", "docs": "The date that the employee was hired, usually the day that an offer letter is signed. If an employee has multiple hire dates from previous employments, this represents the most recent hire date. Note: If you're looking for the employee's start date, refer to the start_date field.", + "inline": undefined, "type": "optional", }, "home_location": { @@ -1633,6 +1634,7 @@ Fetch from the `LIST Employee` endpoint and filter by `ID` to show all employees "hire_date": { "availability": "deprecated", "docs": "The date that the employee was hired, usually the day that an offer letter is signed. If an employee has multiple hire dates from previous employments, this represents the most recent hire date. Note: If you're looking for the employee's start date, refer to the start_date field.", + "inline": undefined, "type": "optional", }, "home_location": { diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/only-include-referenced-schemas.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/only-include-referenced-schemas.json index 1af8e788077..10200d4b307 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/only-include-referenced-schemas.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/only-include-referenced-schemas.json @@ -3963,6 +3963,7 @@ }, "performed_by": { "docs": "Details about the Admin involved in the activity.", + "inline": true, "type": "optional", }, }, @@ -4172,6 +4173,7 @@ }, "avatar": { "docs": "This object represents the avatar associated with the admin.", + "inline": true, "type": "optional", }, "away_mode_enabled": { @@ -7487,9 +7489,11 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( "type": "optional", }, "avatar": { + "inline": true, "type": "optional", }, "companies": { + "inline": true, "type": "optional", }, "created_at": { @@ -7527,6 +7531,7 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( "type": "optional", }, "location_data": { + "inline": true, "type": "optional", }, "marked_email_as_spam": { @@ -7558,6 +7563,7 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( "type": "optional", }, "segments": { + "inline": true, "type": "optional", }, "session_count": { @@ -7569,9 +7575,11 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( "type": "optional", }, "social_profiles": { + "inline": true, "type": "optional", }, "tags": { + "inline": true, "type": "optional", }, "type": { @@ -10083,6 +10091,7 @@ types: performed_by: type: optional docs: Details about the Admin involved in the activity. + inline: true metadata: type: optional created_at: @@ -10329,6 +10338,7 @@ types: avatar: type: optional docs: This object represents the avatar associated with the admin. + inline: true email_verified: type: optional docs: Identifies if this admin's email is verified. @@ -12857,13 +12867,16 @@ types: docs: The pseudonym of the visitor. avatar: type: optional + inline: true app_id: type: optional docs: The id of the app the visitor is associated with. companies: type: optional + inline: true location_data: type: optional + inline: true las_request_at: type: optional docs: The time the Lead last recorded making a request. @@ -12884,6 +12897,7 @@ types: docs: The number of sessions the Visitor has had. social_profiles: type: optional + inline: true owner_id: type: optional docs: The id of the admin that owns the Visitor. @@ -12898,8 +12912,10 @@ types: docs: Identifies if this visitor has had a hard bounce. tags: type: optional + inline: true segments: type: optional + inline: true custom_attributes: type: optional> docs: The custom attributes you have set on the Visitor. @@ -16601,6 +16617,7 @@ imports: "properties": { "data": { "docs": "An object containing the results of the search.", + "inline": true, "type": "optional", }, "pages": { @@ -19156,6 +19173,7 @@ types: data: type: optional docs: An object containing the results of the search. + inline: true pages: type: optional source: @@ -20311,6 +20329,7 @@ You can fetch all companies and filter by `segment_id` or `tag_id` as a query pa "type": "optional", }, "plan": { + "inline": true, "type": "optional", }, "remote_created_at": { @@ -20319,6 +20338,7 @@ You can fetch all companies and filter by `segment_id` or `tag_id` as a query pa }, "segments": { "docs": "The list of segments associated with the company", + "inline": true, "type": "optional", }, "session_count": { @@ -20331,6 +20351,7 @@ You can fetch all companies and filter by `segment_id` or `tag_id` as a query pa }, "tags": { "docs": "The list of tags associated with the company", + "inline": true, "type": "optional", }, "type": { @@ -21290,6 +21311,7 @@ types: to. plan: type: optional + inline: true company_id: type: optional docs: The company id you have defined for the company. @@ -21329,9 +21351,11 @@ types: tags: type: optional docs: The list of tags associated with the company + inline: true segments: type: optional docs: The list of segments associated with the company + inline: true source: openapi: ../openapi.yml ", @@ -22665,6 +22689,7 @@ The data property will show a combined list of: "type": "optional", }, "avatar": { + "inline": true, "type": "optional", }, "browser": { @@ -24118,6 +24143,7 @@ types: docs: The custom attributes which are set for the contact. avatar: type: optional + inline: true tags: type: optional notes: @@ -41420,6 +41446,7 @@ types: }, "contact": { "docs": "Represents the contact that the note was created about.", + "inline": true, "type": "optional", }, "created_at": { @@ -41756,6 +41783,7 @@ types: contact: type: optional docs: Represents the contact that the note was created about. + inline: true author: type: optional docs: Optional. Represents the Admin that created the note. diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/permit.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/permit.json index a3fa41b127e..f6ffd9a1a54 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/permit.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/permit.json @@ -3749,6 +3749,7 @@ The actions represents the ways you can interact with a protected resource.", }, "roles": { "availability": "deprecated", + "inline": undefined, "type": "optional>", }, }, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/query-params.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/query-params.json index 8106b4ca053..14a37c51036 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/query-params.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/query-params.json @@ -56,7 +56,10 @@ "docs": undefined, "properties": { "age": "optional", - "location": "optional", + "location": { + "inline": true, + "type": "optional", + }, "name": "optional", }, "source": { @@ -67,7 +70,10 @@ "docs": undefined, "properties": { "city": "optional", - "coordinates": "optional", + "coordinates": { + "inline": true, + "type": "optional", + }, "country": "optional", }, "source": { @@ -115,14 +121,18 @@ properties: city: optional country: optional - coordinates: optional + coordinates: + type: optional + inline: true source: openapi: ../openapi.yml SearchRequestFilter: properties: name: optional age: optional - location: optional + location: + type: optional + inline: true source: openapi: ../openapi.yml SearchRequestSort: diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/rightbrain.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/rightbrain.json index be2c6d41b94..a66844bb13a 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/rightbrain.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/rightbrain.json @@ -10126,6 +10126,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", ], "availability": "pre-release", "docs": "**Note: This is a Paid Tier feature.** Provide additional domain specific input to the LLM so that it is able to reference user specific information when executing the Task. Examples of this could be a product catalogue, terms and conditions or a user manual.", + "inline": undefined, "type": "optional", }, "system_prompt": "unknown", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/seam.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/seam.json index 6390c88dce5..3c70836f93c 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/seam.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/seam.json @@ -1560,7 +1560,10 @@ }, }, "starts_at": "optional", - "visionline_metadata": "optional", + "visionline_metadata": { + "inline": true, + "type": "optional", + }, "warnings": "list", "workspace_id": { "type": "string", @@ -1754,8 +1757,14 @@ "created_at": "datetime", "display_name": "string", "errors": "list", - "latch_metadata": "optional", - "visionline_metadata": "optional", + "latch_metadata": { + "inline": true, + "type": "optional", + }, + "visionline_metadata": { + "inline": true, + "type": "optional", + }, }, "source": { "openapi": "../openapi.json", @@ -1966,7 +1975,10 @@ "AcsUser": { "docs": undefined, "properties": { - "access_schedule": "optional", + "access_schedule": { + "inline": true, + "type": "optional", + }, "acs_system_id": { "type": "string", "validation": { @@ -2210,7 +2222,10 @@ }, }, "action_type": "literal<"UPDATE_NOISE_THRESHOLD">", - "error": "ActionAttemptActionAttemptIdError", + "error": { + "inline": true, + "type": "ActionAttemptActionAttemptIdError", + }, "result": "optional", "status": "literal<"error">", }, @@ -2247,7 +2262,10 @@ }, }, "action_type": "literal<"RESET_SANDBOX_WORKSPACE">", - "error": "ActionAttemptEightError", + "error": { + "inline": true, + "type": "ActionAttemptEightError", + }, "result": "optional", "status": "literal<"error">", }, @@ -2311,7 +2329,10 @@ }, }, "action_type": "literal<"SET_COOL">", - "error": "ActionAttemptElevenError", + "error": { + "inline": true, + "type": "ActionAttemptElevenError", + }, "result": "optional", "status": "literal<"error">", }, @@ -2375,7 +2396,10 @@ }, }, "action_type": "literal<"UNLOCK_DOOR">", - "error": "ActionAttemptFiveError", + "error": { + "inline": true, + "type": "ActionAttemptFiveError", + }, "result": "optional", "status": "literal<"error">", }, @@ -2439,7 +2463,10 @@ }, }, "action_type": "literal<"DELETE_NOISE_THRESHOLD">", - "error": "ActionAttemptFortyOneError", + "error": { + "inline": true, + "type": "ActionAttemptFortyOneError", + }, "result": "optional", "status": "literal<"error">", }, @@ -2531,7 +2558,10 @@ }, "action_type": "literal<"UNLOCK_DOOR">", "error": "optional", - "result": "ActionAttemptFourResult", + "result": { + "inline": true, + "type": "ActionAttemptFourResult", + }, "status": "literal<"success">", }, "source": { @@ -2564,7 +2594,10 @@ }, }, "action_type": "literal<"SET_HEAT">", - "error": "ActionAttemptFourteenError", + "error": { + "inline": true, + "type": "ActionAttemptFourteenError", + }, "result": "optional", "status": "literal<"error">", }, @@ -2629,7 +2662,10 @@ }, "action_type": "literal<"SET_FAN_MODE">", "error": "optional", - "result": "ActionAttemptNineteenResult", + "result": { + "inline": true, + "type": "ActionAttemptNineteenResult", + }, "status": "literal<"success">", }, "source": { @@ -2663,7 +2699,10 @@ }, "action_type": "literal<"LOCK_DOOR">", "error": "optional", - "result": "ActionAttemptOneResult", + "result": { + "inline": true, + "type": "ActionAttemptOneResult", + }, "status": "literal<"success">", }, "source": { @@ -2697,7 +2736,10 @@ }, "action_type": "literal<"RESET_SANDBOX_WORKSPACE">", "error": "optional", - "result": "ActionAttemptSevenResult", + "result": { + "inline": true, + "type": "ActionAttemptSevenResult", + }, "status": "literal<"success">", }, "source": { @@ -2730,7 +2772,10 @@ }, }, "action_type": "literal<"SET_HEAT_COOL">", - "error": "ActionAttemptSeventeenError", + "error": { + "inline": true, + "type": "ActionAttemptSeventeenError", + }, "result": "optional", "status": "literal<"error">", }, @@ -2795,7 +2840,10 @@ }, "action_type": "literal<"SET_HEAT_COOL">", "error": "optional", - "result": "ActionAttemptSixteenResult", + "result": { + "inline": true, + "type": "ActionAttemptSixteenResult", + }, "status": "literal<"success">", }, "source": { @@ -2829,7 +2877,10 @@ }, "action_type": "literal<"SET_COOL">", "error": "optional", - "result": "ActionAttemptTenResult", + "result": { + "inline": true, + "type": "ActionAttemptTenResult", + }, "status": "literal<"success">", }, "source": { @@ -2863,7 +2914,10 @@ }, "action_type": "literal<"SET_HEAT">", "error": "optional", - "result": "ActionAttemptThirteenResult", + "result": { + "inline": true, + "type": "ActionAttemptThirteenResult", + }, "status": "literal<"success">", }, "source": { @@ -2923,7 +2977,10 @@ }, }, "action_type": "literal<"CREATE_NOISE_THRESHOLD">", - "error": "ActionAttemptThirtyEightError", + "error": { + "inline": true, + "type": "ActionAttemptThirtyEightError", + }, "result": "optional", "status": "literal<"error">", }, @@ -2960,7 +3017,10 @@ }, }, "action_type": "literal<"UPDATE_ACCESS_CODE">", - "error": "ActionAttemptThirtyFiveError", + "error": { + "inline": true, + "type": "ActionAttemptThirtyFiveError", + }, "result": "optional", "status": "literal<"error">", }, @@ -3159,7 +3219,10 @@ }, }, "action_type": "literal<"DELETE_ACCESS_CODE">", - "error": "ActionAttemptThirtyTwoError", + "error": { + "inline": true, + "type": "ActionAttemptThirtyTwoError", + }, "result": "optional", "status": "literal<"error">", }, @@ -3250,7 +3313,10 @@ }, }, "action_type": "literal<"SET_FAN_MODE">", - "error": "ActionAttemptTwentyError", + "error": { + "inline": true, + "type": "ActionAttemptTwentyError", + }, "result": "optional", "status": "literal<"error">", }, @@ -3368,7 +3434,10 @@ }, }, "action_type": "literal<"CREATE_ACCESS_CODE">", - "error": "ActionAttemptTwentyNineError", + "error": { + "inline": true, + "type": "ActionAttemptTwentyNineError", + }, "result": "optional", "status": "literal<"error">", }, @@ -3459,7 +3528,10 @@ }, }, "action_type": "literal<"SYNC_ACCESS_CODES">", - "error": "ActionAttemptTwentySixError", + "error": { + "inline": true, + "type": "ActionAttemptTwentySixError", + }, "result": "optional", "status": "literal<"error">", }, @@ -3496,7 +3568,10 @@ }, }, "action_type": "literal<"SET_THERMOSTAT_OFF">", - "error": "ActionAttemptTwentyThreeError", + "error": { + "inline": true, + "type": "ActionAttemptTwentyThreeError", + }, "result": "optional", "status": "literal<"error">", }, @@ -3534,7 +3609,10 @@ }, "action_type": "literal<"SET_THERMOSTAT_OFF">", "error": "optional", - "result": "ActionAttemptTwentyTwoResult", + "result": { + "inline": true, + "type": "ActionAttemptTwentyTwoResult", + }, "status": "literal<"success">", }, "source": { @@ -3567,7 +3645,10 @@ }, }, "action_type": "literal<"LOCK_DOOR">", - "error": "ActionAttemptTwoError", + "error": { + "inline": true, + "type": "ActionAttemptTwoError", + }, "result": "optional", "status": "literal<"error">", }, @@ -3835,7 +3916,10 @@ "created_at": "optional", "custom_metadata": "map", "errors": "optional", - "user_identifier": "optional", + "user_identifier": { + "inline": true, + "type": "optional", + }, "warnings": "optional", }, "source": { @@ -3924,6 +4008,7 @@ }, "location": { "docs": "Location information for the device.", + "inline": true, "type": "optional", }, "nickname": { @@ -4051,14 +4136,28 @@ "_experimental_supported_code_from_access_codes_lengths": "optional>", "accessory_keypad": { "docs": "Represents the accessory keypad state.", + "inline": true, "type": "optional", }, - "appearance": "DevicePropertiesAppearance", - "assa_abloy_credential_service_metadata": "optional", - "august_metadata": "optional", - "avigilon_alta_metadata": "optional", + "appearance": { + "inline": true, + "type": "DevicePropertiesAppearance", + }, + "assa_abloy_credential_service_metadata": { + "inline": true, + "type": "optional", + }, + "august_metadata": { + "inline": true, + "type": "optional", + }, + "avigilon_alta_metadata": { + "inline": true, + "type": "optional", + }, "battery": { "docs": "Represents the current status of the battery charge level. Values are "critical," which indicates an extremely low level, suggesting imminent shutdown or an urgent need for charging; "low," which signifies that the battery is under the preferred threshold and should be charged soon; "good," which denotes a satisfactory charge level, adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage.", + "inline": true, "type": "optional", }, "battery_level": { @@ -4072,27 +4171,57 @@ "multipleOf": undefined, }, }, - "brivo_metadata": "optional", + "brivo_metadata": { + "inline": true, + "type": "optional", + }, "code_constraints": "optional>", - "controlbyweb_metadata": "optional", + "controlbyweb_metadata": { + "inline": true, + "type": "optional", + }, "currently_triggering_noise_threshold_ids": { "docs": "Array of noise threshold IDs that are currently triggering.", "type": "optional>", }, "door_open": "optional", - "dormakaba_oracode_metadata": "optional", - "ecobee_metadata": "optional", - "four_suites_metadata": "optional", - "genie_metadata": "optional", + "dormakaba_oracode_metadata": { + "inline": true, + "type": "optional", + }, + "ecobee_metadata": { + "inline": true, + "type": "optional", + }, + "four_suites_metadata": { + "inline": true, + "type": "optional", + }, + "genie_metadata": { + "inline": true, + "type": "optional", + }, "has_direct_power": { "docs": "Indicates whether the device has direct power.", "type": "optional", }, "has_native_entry_events": "optional", - "honeywell_resideo_metadata": "optional", - "hubitat_metadata": "optional", - "igloo_metadata": "optional", - "igloohome_metadata": "optional", + "honeywell_resideo_metadata": { + "inline": true, + "type": "optional", + }, + "hubitat_metadata": { + "inline": true, + "type": "optional", + }, + "igloo_metadata": { + "inline": true, + "type": "optional", + }, + "igloohome_metadata": { + "inline": true, + "type": "optional", + }, "image_alt_text": { "docs": "Alt text for the device image.", "type": "optional", @@ -4107,17 +4236,32 @@ "pattern": undefined, }, }, - "keypad_battery": "optional", - "kwikset_metadata": "optional", + "keypad_battery": { + "inline": true, + "type": "optional", + }, + "kwikset_metadata": { + "inline": true, + "type": "optional", + }, "locked": "optional", - "lockly_metadata": "optional", + "lockly_metadata": { + "inline": true, + "type": "optional", + }, "manufacturer": { "docs": "Manufacturer of the device.", "type": "optional", }, "max_active_codes_supported": "optional", - "minut_metadata": "optional", - "model": "DevicePropertiesModel", + "minut_metadata": { + "inline": true, + "type": "optional", + }, + "model": { + "inline": true, + "type": "DevicePropertiesModel", + }, "name": { "docs": " --- @@ -4127,13 +4271,22 @@ ", "type": "string", }, - "nest_metadata": "optional", + "nest_metadata": { + "inline": true, + "type": "optional", + }, "noise_level_decibels": { "docs": "Indicates current noise level in decibels, if the device supports noise detection.", "type": "optional", }, - "noiseaware_metadata": "optional", - "nuki_metadata": "optional", + "noiseaware_metadata": { + "inline": true, + "type": "optional", + }, + "nuki_metadata": { + "inline": true, + "type": "optional", + }, "offline_access_codes_enabled": { "docs": "Indicates whether it is currently possible to use offline access codes for the device.", "type": "optional", @@ -4146,14 +4299,26 @@ "docs": "Indicates whether it is currently possible to use online access codes for the device.", "type": "optional", }, - "salto_metadata": "optional", - "schlage_metadata": "optional", - "seam_bridge_metadata": "optional", + "salto_metadata": { + "inline": true, + "type": "optional", + }, + "schlage_metadata": { + "inline": true, + "type": "optional", + }, + "seam_bridge_metadata": { + "inline": true, + "type": "optional", + }, "serial_number": { "docs": "Serial number of the device.", "type": "optional", }, - "smartthings_metadata": "optional", + "smartthings_metadata": { + "inline": true, + "type": "optional", + }, "supported_code_lengths": "optional>", "supports_accessory_keypad": { "docs": " @@ -4172,10 +4337,22 @@ ", "type": "optional", }, - "tedee_metadata": "optional", - "ttlock_metadata": "optional", - "two_n_metadata": "optional", - "wyze_metadata": "optional", + "tedee_metadata": { + "inline": true, + "type": "optional", + }, + "ttlock_metadata": { + "inline": true, + "type": "optional", + }, + "two_n_metadata": { + "inline": true, + "type": "optional", + }, + "wyze_metadata": { + "inline": true, + "type": "optional", + }, }, "source": { "openapi": "../openapi.json", @@ -4186,6 +4363,7 @@ "properties": { "battery": { "docs": "Indicates if the keypad battery properties.", + "inline": true, "type": "optional", }, "is_connected": { @@ -4538,7 +4716,10 @@ "properties": { "device_id": "string", "device_name": "string", - "latest_sensor_values": "DevicePropertiesMinutMetadataLatestSensorValues", + "latest_sensor_values": { + "inline": true, + "type": "DevicePropertiesMinutMetadataLatestSensorValues", + }, }, "source": { "openapi": "../openapi.json", @@ -4547,11 +4728,26 @@ "DevicePropertiesMinutMetadataLatestSensorValues": { "docs": undefined, "properties": { - "accelerometer_z": "DevicePropertiesMinutMetadataLatestSensorValuesAccelerometerZ", - "humidity": "DevicePropertiesMinutMetadataLatestSensorValuesHumidity", - "pressure": "DevicePropertiesMinutMetadataLatestSensorValuesPressure", - "sound": "DevicePropertiesMinutMetadataLatestSensorValuesSound", - "temperature": "DevicePropertiesMinutMetadataLatestSensorValuesTemperature", + "accelerometer_z": { + "inline": true, + "type": "DevicePropertiesMinutMetadataLatestSensorValuesAccelerometerZ", + }, + "humidity": { + "inline": true, + "type": "DevicePropertiesMinutMetadataLatestSensorValuesHumidity", + }, + "pressure": { + "inline": true, + "type": "DevicePropertiesMinutMetadataLatestSensorValuesPressure", + }, + "sound": { + "inline": true, + "type": "DevicePropertiesMinutMetadataLatestSensorValuesSound", + }, + "temperature": { + "inline": true, + "type": "DevicePropertiesMinutMetadataLatestSensorValuesTemperature", + }, }, "source": { "openapi": "../openapi.json", @@ -5121,13 +5317,17 @@ }, "location": { "docs": "Location information for the device.", + "inline": true, "type": "optional", }, "nickname": { "docs": "Optional nickname to describe the device, settable through Seam", "type": "optional", }, - "properties": "PhoneProperties", + "properties": { + "inline": true, + "type": "PhoneProperties", + }, "warnings": { "docs": "Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it.", "type": "list", @@ -5210,7 +5410,10 @@ "PhoneProperties": { "docs": undefined, "properties": { - "assa_abloy_credential_service_metadata": "optional", + "assa_abloy_credential_service_metadata": { + "inline": true, + "type": "optional", + }, }, "source": { "openapi": "../openapi.json", @@ -5380,7 +5583,10 @@ "type": "list", }, "is_managed": "boolean", - "properties": "UnmanagedDeviceProperties", + "properties": { + "inline": true, + "type": "UnmanagedDeviceProperties", + }, "warnings": { "docs": "Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it.", "type": "list", @@ -5469,10 +5675,12 @@ "properties": { "accessory_keypad": { "docs": "Represents the accessory keypad state.", + "inline": true, "type": "optional", }, "battery": { "docs": "Represents the current status of the battery charge level. Values are "critical," which indicates an extremely low level, suggesting imminent shutdown or an urgent need for charging; "low," which signifies that the battery is under the preferred threshold and should be charged soon; "good," which denotes a satisfactory charge level, adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage.", + "inline": true, "type": "optional", }, "battery_level": { @@ -5504,7 +5712,10 @@ "docs": "Manufacturer of the device.", "type": "optional", }, - "model": "UnmanagedDevicePropertiesModel", + "model": { + "inline": true, + "type": "UnmanagedDevicePropertiesModel", + }, "name": { "docs": " --- @@ -5536,6 +5747,7 @@ "properties": { "battery": { "docs": "Indicates if the keypad battery properties.", + "inline": true, "type": "optional", }, "is_connected": { @@ -6978,7 +7190,9 @@ types: status: literal<"success"> error: optional action_type: literal<"LOCK_DOOR"> - result: ActionAttemptOneResult + result: + type: ActionAttemptOneResult + inline: true source: openapi: ../openapi.json ActionAttemptTwoError: @@ -7004,7 +7218,9 @@ types: status: literal<"error"> result: optional action_type: literal<"LOCK_DOOR"> - error: ActionAttemptTwoError + error: + type: ActionAttemptTwoError + inline: true source: openapi: ../openapi.json ActionAttemptThree: @@ -7048,7 +7264,9 @@ types: status: literal<"success"> error: optional action_type: literal<"UNLOCK_DOOR"> - result: ActionAttemptFourResult + result: + type: ActionAttemptFourResult + inline: true source: openapi: ../openapi.json ActionAttemptFiveError: @@ -7074,7 +7292,9 @@ types: status: literal<"error"> result: optional action_type: literal<"UNLOCK_DOOR"> - error: ActionAttemptFiveError + error: + type: ActionAttemptFiveError + inline: true source: openapi: ../openapi.json ActionAttemptSix: @@ -7118,7 +7338,9 @@ types: status: literal<"success"> error: optional action_type: literal<"RESET_SANDBOX_WORKSPACE"> - result: ActionAttemptSevenResult + result: + type: ActionAttemptSevenResult + inline: true source: openapi: ../openapi.json ActionAttemptEightError: @@ -7144,7 +7366,9 @@ types: status: literal<"error"> result: optional action_type: literal<"RESET_SANDBOX_WORKSPACE"> - error: ActionAttemptEightError + error: + type: ActionAttemptEightError + inline: true source: openapi: ../openapi.json ActionAttemptNine: @@ -7188,7 +7412,9 @@ types: status: literal<"success"> error: optional action_type: literal<"SET_COOL"> - result: ActionAttemptTenResult + result: + type: ActionAttemptTenResult + inline: true source: openapi: ../openapi.json ActionAttemptElevenError: @@ -7214,7 +7440,9 @@ types: status: literal<"error"> result: optional action_type: literal<"SET_COOL"> - error: ActionAttemptElevenError + error: + type: ActionAttemptElevenError + inline: true source: openapi: ../openapi.json ActionAttemptTwelve: @@ -7258,7 +7486,9 @@ types: status: literal<"success"> error: optional action_type: literal<"SET_HEAT"> - result: ActionAttemptThirteenResult + result: + type: ActionAttemptThirteenResult + inline: true source: openapi: ../openapi.json ActionAttemptFourteenError: @@ -7284,7 +7514,9 @@ types: status: literal<"error"> result: optional action_type: literal<"SET_HEAT"> - error: ActionAttemptFourteenError + error: + type: ActionAttemptFourteenError + inline: true source: openapi: ../openapi.json ActionAttemptFifteen: @@ -7328,7 +7560,9 @@ types: status: literal<"success"> error: optional action_type: literal<"SET_HEAT_COOL"> - result: ActionAttemptSixteenResult + result: + type: ActionAttemptSixteenResult + inline: true source: openapi: ../openapi.json ActionAttemptSeventeenError: @@ -7354,7 +7588,9 @@ types: status: literal<"error"> result: optional action_type: literal<"SET_HEAT_COOL"> - error: ActionAttemptSeventeenError + error: + type: ActionAttemptSeventeenError + inline: true source: openapi: ../openapi.json ActionAttemptEighteen: @@ -7398,7 +7634,9 @@ types: status: literal<"success"> error: optional action_type: literal<"SET_FAN_MODE"> - result: ActionAttemptNineteenResult + result: + type: ActionAttemptNineteenResult + inline: true source: openapi: ../openapi.json ActionAttemptTwentyError: @@ -7424,7 +7662,9 @@ types: status: literal<"error"> result: optional action_type: literal<"SET_FAN_MODE"> - error: ActionAttemptTwentyError + error: + type: ActionAttemptTwentyError + inline: true source: openapi: ../openapi.json ActionAttemptTwentyOne: @@ -7468,7 +7708,9 @@ types: status: literal<"success"> error: optional action_type: literal<"SET_THERMOSTAT_OFF"> - result: ActionAttemptTwentyTwoResult + result: + type: ActionAttemptTwentyTwoResult + inline: true source: openapi: ../openapi.json ActionAttemptTwentyThreeError: @@ -7494,7 +7736,9 @@ types: status: literal<"error"> result: optional action_type: literal<"SET_THERMOSTAT_OFF"> - error: ActionAttemptTwentyThreeError + error: + type: ActionAttemptTwentyThreeError + inline: true source: openapi: ../openapi.json ActionAttemptTwentyFour: @@ -7557,7 +7801,9 @@ types: status: literal<"error"> result: optional action_type: literal<"SYNC_ACCESS_CODES"> - error: ActionAttemptTwentySixError + error: + type: ActionAttemptTwentySixError + inline: true source: openapi: ../openapi.json ActionAttemptTwentySeven: @@ -7620,7 +7866,9 @@ types: status: literal<"error"> result: optional action_type: literal<"CREATE_ACCESS_CODE"> - error: ActionAttemptTwentyNineError + error: + type: ActionAttemptTwentyNineError + inline: true source: openapi: ../openapi.json ActionAttemptThirty: @@ -7683,7 +7931,9 @@ types: status: literal<"error"> result: optional action_type: literal<"DELETE_ACCESS_CODE"> - error: ActionAttemptThirtyTwoError + error: + type: ActionAttemptThirtyTwoError + inline: true source: openapi: ../openapi.json ActionAttemptThirtyThree: @@ -7746,7 +7996,9 @@ types: status: literal<"error"> result: optional action_type: literal<"UPDATE_ACCESS_CODE"> - error: ActionAttemptThirtyFiveError + error: + type: ActionAttemptThirtyFiveError + inline: true source: openapi: ../openapi.json ActionAttemptThirtySix: @@ -7809,7 +8061,9 @@ types: status: literal<"error"> result: optional action_type: literal<"CREATE_NOISE_THRESHOLD"> - error: ActionAttemptThirtyEightError + error: + type: ActionAttemptThirtyEightError + inline: true source: openapi: ../openapi.json ActionAttemptThirtyNine: @@ -7872,7 +8126,9 @@ types: status: literal<"error"> result: optional action_type: literal<"DELETE_NOISE_THRESHOLD"> - error: ActionAttemptFortyOneError + error: + type: ActionAttemptFortyOneError + inline: true source: openapi: ../openapi.json ActionAttemptFortyTwo: @@ -7935,7 +8191,9 @@ types: status: literal<"error"> result: optional action_type: literal<"UPDATE_NOISE_THRESHOLD"> - error: ActionAttemptActionAttemptIdError + error: + type: ActionAttemptActionAttemptIdError + inline: true source: openapi: ../openapi.json ActionAttempt: @@ -8164,7 +8422,9 @@ types: validation: format: uuid created_at: optional - user_identifier: optional + user_identifier: + type: optional + inline: true account_type: optional account_type_display_name: string errors: optional @@ -8240,6 +8500,7 @@ types: battery: type: optional docs: Indicates if the keypad battery properties. + inline: true source: openapi: ../openapi.json DevicePropertiesAppearance: @@ -8457,18 +8718,30 @@ types: openapi: ../openapi.json DevicePropertiesMinutMetadataLatestSensorValues: properties: - temperature: DevicePropertiesMinutMetadataLatestSensorValuesTemperature - sound: DevicePropertiesMinutMetadataLatestSensorValuesSound - humidity: DevicePropertiesMinutMetadataLatestSensorValuesHumidity - pressure: DevicePropertiesMinutMetadataLatestSensorValuesPressure - accelerometer_z: DevicePropertiesMinutMetadataLatestSensorValuesAccelerometerZ + temperature: + type: DevicePropertiesMinutMetadataLatestSensorValuesTemperature + inline: true + sound: + type: DevicePropertiesMinutMetadataLatestSensorValuesSound + inline: true + humidity: + type: DevicePropertiesMinutMetadataLatestSensorValuesHumidity + inline: true + pressure: + type: DevicePropertiesMinutMetadataLatestSensorValuesPressure + inline: true + accelerometer_z: + type: DevicePropertiesMinutMetadataLatestSensorValuesAccelerometerZ + inline: true source: openapi: ../openapi.json DevicePropertiesMinutMetadata: properties: device_id: string device_name: string - latest_sensor_values: DevicePropertiesMinutMetadataLatestSensorValues + latest_sensor_values: + type: DevicePropertiesMinutMetadataLatestSensorValues + inline: true source: openapi: ../openapi.json DevicePropertiesFourSuitesMetadata: @@ -8660,8 +8933,13 @@ types: accessory_keypad: type: optional docs: Represents the accessory keypad state. - appearance: DevicePropertiesAppearance - model: DevicePropertiesModel + inline: true + appearance: + type: DevicePropertiesAppearance + inline: true + model: + type: DevicePropertiesModel + inline: true has_direct_power: type: optional docs: Indicates whether the device has direct power. @@ -8684,6 +8962,7 @@ types: adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage. + inline: true manufacturer: type: optional docs: Manufacturer of the device. @@ -8732,33 +9011,87 @@ types: currently_triggering_noise_threshold_ids: type: optional> docs: Array of noise threshold IDs that are currently triggering. - assa_abloy_credential_service_metadata: optional - august_metadata: optional - avigilon_alta_metadata: optional - schlage_metadata: optional - smartthings_metadata: optional - lockly_metadata: optional - nuki_metadata: optional - kwikset_metadata: optional - salto_metadata: optional - genie_metadata: optional - brivo_metadata: optional - igloo_metadata: optional - noiseaware_metadata: optional - minut_metadata: optional - four_suites_metadata: optional - two_n_metadata: optional - controlbyweb_metadata: optional - ttlock_metadata: optional - seam_bridge_metadata: optional - igloohome_metadata: optional - nest_metadata: optional - ecobee_metadata: optional - honeywell_resideo_metadata: optional - hubitat_metadata: optional - dormakaba_oracode_metadata: optional - wyze_metadata: optional - tedee_metadata: optional + assa_abloy_credential_service_metadata: + type: optional + inline: true + august_metadata: + type: optional + inline: true + avigilon_alta_metadata: + type: optional + inline: true + schlage_metadata: + type: optional + inline: true + smartthings_metadata: + type: optional + inline: true + lockly_metadata: + type: optional + inline: true + nuki_metadata: + type: optional + inline: true + kwikset_metadata: + type: optional + inline: true + salto_metadata: + type: optional + inline: true + genie_metadata: + type: optional + inline: true + brivo_metadata: + type: optional + inline: true + igloo_metadata: + type: optional + inline: true + noiseaware_metadata: + type: optional + inline: true + minut_metadata: + type: optional + inline: true + four_suites_metadata: + type: optional + inline: true + two_n_metadata: + type: optional + inline: true + controlbyweb_metadata: + type: optional + inline: true + ttlock_metadata: + type: optional + inline: true + seam_bridge_metadata: + type: optional + inline: true + igloohome_metadata: + type: optional + inline: true + nest_metadata: + type: optional + inline: true + ecobee_metadata: + type: optional + inline: true + honeywell_resideo_metadata: + type: optional + inline: true + hubitat_metadata: + type: optional + inline: true + dormakaba_oracode_metadata: + type: optional + inline: true + wyze_metadata: + type: optional + inline: true + tedee_metadata: + type: optional + inline: true _experimental_supported_code_from_access_codes_lengths: optional> code_constraints: optional> supported_code_lengths: optional> @@ -8766,7 +9099,9 @@ types: supports_backup_access_code_pool: optional has_native_entry_events: optional locked: optional - keypad_battery: optional + keypad_battery: + type: optional + inline: true door_open: optional source: openapi: ../openapi.json @@ -8839,6 +9174,7 @@ types: location: type: optional docs: Location information for the device. + inline: true connected_account_id: type: string docs: Unique identifier for the account associated with the device. @@ -8962,6 +9298,7 @@ types: battery: type: optional docs: Indicates if the keypad battery properties. + inline: true source: openapi: ../openapi.json UnmanagedDevicePropertiesBatteryStatus: @@ -9027,6 +9364,7 @@ types: accessory_keypad: type: optional docs: Represents the accessory keypad state. + inline: true name: type: string docs: |2- @@ -9069,6 +9407,7 @@ types: adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage. + inline: true online_access_codes_enabled: type: optional docs: >- @@ -9079,7 +9418,9 @@ types: docs: >- Indicates whether it is currently possible to use offline access codes for the device. - model: UnmanagedDevicePropertiesModel + model: + type: UnmanagedDevicePropertiesModel + inline: true source: openapi: ../openapi.json UnmanagedDevice: @@ -9137,7 +9478,9 @@ types: type: datetime docs: Date and time at which the device object was created. is_managed: boolean - properties: UnmanagedDeviceProperties + properties: + type: UnmanagedDeviceProperties + inline: true can_remotely_unlock: optional can_remotely_lock: optional can_program_offline_access_codes: optional @@ -9498,7 +9841,9 @@ types: external_type: optional external_type_display_name: optional is_suspended: boolean - access_schedule: optional + access_schedule: + type: optional + inline: true user_identity_id: optional user_identity_full_name: optional user_identity_email_address: optional @@ -9579,8 +9924,12 @@ types: created_at: datetime display_name: string errors: list - latch_metadata: optional - visionline_metadata: optional + latch_metadata: + type: optional + inline: true + visionline_metadata: + type: optional + inline: true source: openapi: ../openapi.json AcsCredentialProvisioningAutomation: @@ -9710,7 +10059,9 @@ types: is_multi_phone_sync_credential: optional is_latest_desired_state_synced_with_provider: optional latest_desired_state_synced_with_provider_at: optional - visionline_metadata: optional + visionline_metadata: + type: optional + inline: true source: openapi: ../openapi.json EnrollmentAutomation: @@ -9764,7 +10115,9 @@ types: openapi: ../openapi.json PhoneProperties: properties: - assa_abloy_credential_service_metadata: optional + assa_abloy_credential_service_metadata: + type: optional + inline: true source: openapi: ../openapi.json PhoneLocation: @@ -9828,10 +10181,13 @@ types: "battery," which indicates that the device can manage battery life and health. type: list - properties: PhoneProperties + properties: + type: PhoneProperties + inline: true location: type: optional docs: Location information for the device. + inline: true workspace_id: type: string docs: Unique identifier for the Seam workspace associated with the device. @@ -31354,7 +31710,10 @@ service: "EnrollmentAutomationsLaunchResponse": { "docs": undefined, "properties": { - "enrollment_automation": "EnrollmentAutomationsLaunchResponseEnrollmentAutomation", + "enrollment_automation": { + "inline": true, + "type": "EnrollmentAutomationsLaunchResponseEnrollmentAutomation", + }, "ok": "boolean", }, "source": { @@ -31466,7 +31825,9 @@ service: openapi: ../openapi.json EnrollmentAutomationsLaunchResponse: properties: - enrollment_automation: EnrollmentAutomationsLaunchResponseEnrollmentAutomation + enrollment_automation: + type: EnrollmentAutomationsLaunchResponseEnrollmentAutomation + inline: true ok: boolean source: openapi: ../openapi.json diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/squidex.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/squidex.json index 33b57d2f7cc..f2823a0b544 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/squidex.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/squidex.json @@ -5553,6 +5553,7 @@ "canAccessApi": { "availability": "deprecated", "docs": "Indicates if the user can access the api.", + "inline": undefined, "type": "boolean", }, "canAccessContent": { @@ -5772,6 +5773,7 @@ "isImage": { "availability": "deprecated", "docs": "Determines of the created file is an image.", + "inline": undefined, "type": "boolean", }, "isProtected": { @@ -5805,11 +5807,13 @@ "pixelHeight": { "availability": "deprecated", "docs": "The height of the image in pixels if the asset is an image.", + "inline": undefined, "type": "optional", }, "pixelWidth": { "availability": "deprecated", "docs": "The width of the image in pixels if the asset is an image.", + "inline": undefined, "type": "optional", }, "slug": { @@ -6061,6 +6065,7 @@ "mustBeImage": { "availability": "deprecated", "docs": "True to resolve first image in the content list.", + "inline": undefined, "type": "boolean", }, "previewFormat": { @@ -6078,6 +6083,7 @@ "resolveImage": { "availability": "deprecated", "docs": "True to resolve first image in the content list.", + "inline": undefined, "type": "boolean", }, }, @@ -6233,6 +6239,7 @@ "contentId": { "availability": "deprecated", "docs": "The ID of the entity that has been handled successfully or not.", + "inline": undefined, "type": "optional", }, "error": { @@ -8343,6 +8350,7 @@ "lastExecuted": { "availability": "deprecated", "docs": "The date and time when the rule was executed the last time.", + "inline": undefined, "type": "optional", }, "lastModified": { @@ -8696,6 +8704,7 @@ "isSingleton": { "availability": "deprecated", "docs": "Indicates if the schema is a singleton.", + "inline": undefined, "type": "boolean", }, "lastModified": { diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/uploadcare.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/uploadcare.json index bbb088c9c6a..38c775415ad 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/uploadcare.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/uploadcare.json @@ -928,6 +928,7 @@ "image": "optional", "mime": { "docs": "MIME type.", + "inline": true, "type": "optional", }, "video": "optional", @@ -1381,6 +1382,7 @@ that are tool old (or that have not been created at all). "datetime_stored": { "availability": "deprecated", "docs": "ISO-8601 date and time when the group was marked as stored.", + "inline": undefined, "type": "optional", }, "files": { @@ -1438,6 +1440,7 @@ that are tool old (or that have not been created at all). }, "geo_location": { "docs": "Geo-location of image from EXIF.", + "inline": true, "type": "optional", }, "height": { @@ -1508,6 +1511,7 @@ that are tool old (or that have not been created at all). "properties": { "audio": { "docs": "Audio stream's metadata.", + "inline": true, "type": "optional", }, "bitrate": { @@ -1524,6 +1528,7 @@ that are tool old (or that have not been created at all). }, "video": { "docs": "Video stream's metadata.", + "inline": true, "type": "optional", }, }, @@ -1762,6 +1767,7 @@ See [docs](https://uploadcare.com/docs/file-metadata/) and [REST API v0.7](/api- }, "geo_location": { "docs": "Geo-location of image from EXIF.", + "inline": true, "type": "optional", }, "height": { @@ -2646,6 +2652,7 @@ change the value to `auto`. geo_location: type: optional docs: Geo-location of image from EXIF. + inline: true datetime_original: type: optional docs: >- @@ -2708,9 +2715,11 @@ change the value to `auto`. audio: type: optional docs: Audio stream's metadata. + inline: true video: type: optional docs: Video stream's metadata. + inline: true source: openapi: ../openapi.json SchemasImageInfoColorMode: @@ -2767,6 +2776,7 @@ change the value to `auto`. geo_location: type: optional docs: Geo-location of image from EXIF. + inline: true datetime_original: type: optional docs: >- @@ -2850,6 +2860,7 @@ change the value to `auto`. mime: type: optional docs: MIME type. + inline: true image: optional video: optional source: diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/valtown.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/valtown.json index cb5e76975ef..ad573176833 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/valtown.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/valtown.json @@ -106,7 +106,10 @@ "pattern": undefined, }, }, - "links": "BasicValLinks", + "links": { + "inline": true, + "type": "BasicValLinks", + }, "name": { "docs": "The name of this val", "type": "string", @@ -293,7 +296,10 @@ "multipleOf": undefined, }, }, - "links": "ExtendedValLinks", + "links": { + "inline": true, + "type": "ExtendedValLinks", + }, "name": { "docs": "The name of this val", "type": "string", @@ -541,7 +547,10 @@ This value is not specified if the SQL statement was not an INSERT or if the tab "pattern": undefined, }, }, - "links": "UserLinks", + "links": { + "inline": true, + "type": "UserLinks", + }, "profileImageUrl": { "docs": "URL that points to the user’s profile image, if one exists", "type": "optional", @@ -645,7 +654,9 @@ This value is not specified if the SQL statement was not an INSERT or if the tab docs: URL of this user’s profile on Val Town’s website validation: format: uri - links: UserLinks + links: + type: UserLinks + inline: true source: openapi: ../openapi.yml ResultSetLastInsertRowid: @@ -797,7 +808,9 @@ This value is not specified if the SQL statement was not an INSERT or if the tab docs: The URL of this val on the Val Town website validation: format: uri - links: ExtendedValLinks + links: + type: ExtendedValLinks + inline: true author: type: optional docs: The user who created this val @@ -908,7 +921,9 @@ This value is not specified if the SQL statement was not an INSERT or if the tab docs: The URL of this val on the Val Town website validation: format: uri - links: BasicValLinks + links: + type: BasicValLinks + inline: true author: type: optional docs: The user who created this val @@ -1134,7 +1149,10 @@ API endpoints", "multipleOf": undefined, }, }, - "links": "AliasValResponseLinks", + "links": { + "inline": true, + "type": "AliasValResponseLinks", + }, "name": { "docs": "The name of this val", "type": "string", @@ -1452,7 +1470,9 @@ types: docs: The URL of this val on the Val Town website validation: format: uri - links: AliasValResponseLinks + links: + type: AliasValResponseLinks + inline: true author: type: optional docs: The user who created this val @@ -2338,7 +2358,10 @@ give access to details and data from the requesting user.", "MeCommentsResponseDataItem": { "docs": undefined, "properties": { - "author": "MeCommentsResponseDataItemAuthor", + "author": { + "inline": true, + "type": "MeCommentsResponseDataItemAuthor", + }, "comment": { "docs": "Text of the given comment, in Markdown", "type": "string", @@ -2354,7 +2377,10 @@ give access to details and data from the requesting user.", "pattern": undefined, }, }, - "val": "MeCommentsResponseDataItemVal", + "val": { + "inline": true, + "type": "MeCommentsResponseDataItemVal", + }, }, "source": { "openapi": "../openapi.yml", @@ -2467,7 +2493,10 @@ give access to details and data from the requesting user.", "pattern": undefined, }, }, - "links": "MeGetResponseLinks", + "links": { + "inline": true, + "type": "MeGetResponseLinks", + }, "profileImageUrl": { "docs": "URL that points to the user’s profile image, if one exists", "type": "optional", @@ -2554,10 +2583,12 @@ give access to details and data from the requesting user.", "properties": { "dependsOn": { "docs": "A val in a dependency relationship", + "inline": true, "type": "MeReferencesResponseDataItemDependsOn", }, "reference": { "docs": "A val in a dependency relationship", + "inline": true, "type": "MeReferencesResponseDataItemReference", }, "referencedAt": "datetime", @@ -2683,7 +2714,9 @@ give access to details and data from the requesting user.", docs: URL of this user’s profile on Val Town’s website validation: format: uri - links: MeGetResponseLinks + links: + type: MeGetResponseLinks + inline: true tier: type: optional docs: Your account tier @@ -2770,8 +2803,12 @@ give access to details and data from the requesting user.", validation: format: uuid createdAt: datetime - author: MeCommentsResponseDataItemAuthor - val: MeCommentsResponseDataItemVal + author: + type: MeCommentsResponseDataItemAuthor + inline: true + val: + type: MeCommentsResponseDataItemVal + inline: true source: openapi: ../openapi.yml MeCommentsResponse: @@ -2831,9 +2868,11 @@ give access to details and data from the requesting user.", reference: type: MeReferencesResponseDataItemReference docs: A val in a dependency relationship + inline: true dependsOn: type: MeReferencesResponseDataItemDependsOn docs: A val in a dependency relationship + inline: true referencedAt: datetime source: openapi: ../openapi.yml diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/webflow.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/webflow.json index c777f33b6e3..e6a84a7cbd1 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/webflow.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/webflow.json @@ -9576,6 +9576,7 @@ service: }, "uploadDetails": { "docs": "Metadata for uploading the asset binary", + "inline": true, "type": "optional", }, "uploadUrl": { @@ -9757,6 +9758,7 @@ service: }, "pagination": { "docs": "Pagination object", + "inline": true, "type": "optional", }, }, @@ -10128,6 +10130,7 @@ service: uploadDetails: type: optional docs: Metadata for uploading the asset binary + inline: true contentType: optional id: optional parentFolder: @@ -10343,6 +10346,7 @@ service: pagination: type: optional docs: Pagination object + inline: true source: openapi: ../openapi.yml AssetsCreateFolderResponse: @@ -13586,7 +13590,10 @@ service: "docs": "List of Items within the collection", "type": "optional>", }, - "pagination": "optional", + "pagination": { + "inline": true, + "type": "optional", + }, }, "source": { "openapi": "../openapi.yml", @@ -13697,7 +13704,10 @@ service: "docs": "List of Items within the collection", "type": "optional>", }, - "pagination": "optional", + "pagination": { + "inline": true, + "type": "optional", + }, }, "source": { "openapi": "../openapi.yml", @@ -14023,7 +14033,9 @@ service: items: type: optional> docs: List of Items within the collection - pagination: optional + pagination: + type: optional + inline: true source: openapi: ../openapi.yml ItemsCreateItemRequestFieldData: @@ -14165,7 +14177,9 @@ service: items: type: optional> docs: List of Items within the collection - pagination: optional + pagination: + type: optional + inline: true source: openapi: ../openapi.yml ItemsCreateItemLiveRequestFieldData: @@ -15800,6 +15814,7 @@ service: "properties": { "payload": { "docs": "The payload of data sent from Webflow", + "inline": true, "type": "optional", }, "triggerType": { @@ -15888,6 +15903,7 @@ service: }, "responseSettings": { "docs": "Settings for form responses", + "inline": true, "type": "optional", }, "siteDomainId": { @@ -16006,6 +16022,7 @@ service: "forms": "optional>", "pagination": { "docs": "Pagination object", + "inline": true, "type": "optional", }, }, @@ -16050,6 +16067,7 @@ service: }, "responseSettings": { "docs": "Settings for form responses", + "inline": true, "type": "optional", }, "siteDomainId": { @@ -16156,6 +16174,7 @@ service: "formSubmissions": "optional>", "pagination": { "docs": "Pagination object", + "inline": true, "type": "optional", }, }, @@ -16369,6 +16388,7 @@ service: responseSettings: type: optional docs: Settings for form responses + inline: true id: type: optional docs: The unique id for the Form @@ -16413,6 +16433,7 @@ service: pagination: type: optional docs: Pagination object + inline: true source: openapi: ../openapi.yml FormsGetResponseFieldsValueType: @@ -16477,6 +16498,7 @@ service: responseSettings: type: optional docs: Settings for form responses + inline: true id: type: optional docs: The unique id for the Form @@ -16543,6 +16565,7 @@ service: pagination: type: optional docs: Pagination object + inline: true source: openapi: ../openapi.yml FormsGetSubmissionResponse: @@ -16629,6 +16652,7 @@ service: payload: type: optional docs: The payload of data sent from Webflow + inline: true source: openapi: ../openapi.yml imports: @@ -17554,6 +17578,7 @@ webhooks: "properties": { "payload": { "docs": "The payload of data sent from Webflow", + "inline": true, "type": "optional", }, "triggerType": { @@ -17594,6 +17619,7 @@ webhooks: "properties": { "payload": { "docs": "The payload of data sent from Webflow", + "inline": true, "type": "optional", }, "triggerType": { @@ -17851,6 +17877,7 @@ webhooks: payload: type: optional docs: The payload of data sent from Webflow + inline: true source: openapi: ../openapi.yml CollectionItemUnpublishedPayloadPayload: @@ -17878,6 +17905,7 @@ webhooks: payload: type: optional docs: The payload of data sent from Webflow + inline: true source: openapi: ../openapi.yml webhooks: @@ -19958,7 +19986,10 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "metadata": "optional", + "metadata": { + "inline": true, + "type": "optional", + }, "netAmount": { "docs": "The net amount after application fees", "type": "optional", @@ -19977,7 +20008,10 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "paypalDetails": "optional", + "paypalDetails": { + "inline": true, + "type": "optional", + }, "purchasedItems": { "docs": "An array of all things that the Customer purchased.", "type": "optional>", @@ -20418,7 +20452,10 @@ Required scope | `ecommerce:write` "EcommNewOrderPayloadPurchasedItemsItemVariantImage": { "docs": undefined, "properties": { - "file": "optional", + "file": { + "inline": true, + "type": "optional", + }, "url": { "docs": "The hosted location for the Variant's image", "type": "optional", @@ -20613,6 +20650,7 @@ Required scope | `ecommerce:write` }, "expires": { "docs": "The card's expiration date.", + "inline": true, "type": "optional", }, "last4": { @@ -20899,7 +20937,10 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "metadata": "optional", + "metadata": { + "inline": true, + "type": "optional", + }, "netAmount": { "docs": "The net amount after application fees", "type": "optional", @@ -20918,7 +20959,10 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "paypalDetails": "optional", + "paypalDetails": { + "inline": true, + "type": "optional", + }, "purchasedItems": { "docs": "An array of all things that the Customer purchased.", "type": "optional>", @@ -21359,7 +21403,10 @@ Required scope | `ecommerce:write` "EcommOrderChangedPayloadPurchasedItemsItemVariantImage": { "docs": undefined, "properties": { - "file": "optional", + "file": { + "inline": true, + "type": "optional", + }, "url": { "docs": "The hosted location for the Variant's image", "type": "optional", @@ -21554,6 +21601,7 @@ Required scope | `ecommerce:write` }, "expires": { "docs": "The card's expiration date.", + "inline": true, "type": "optional", }, "last4": { @@ -21840,7 +21888,10 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "metadata": "optional", + "metadata": { + "inline": true, + "type": "optional", + }, "netAmount": { "docs": "The net amount after application fees", "type": "optional", @@ -21859,7 +21910,10 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "paypalDetails": "optional", + "paypalDetails": { + "inline": true, + "type": "optional", + }, "purchasedItems": { "docs": "An array of all things that the Customer purchased.", "type": "optional>", @@ -22300,7 +22354,10 @@ Required scope | `ecommerce:write` "OrdersGetResponsePurchasedItemsItemVariantImage": { "docs": undefined, "properties": { - "file": "optional", + "file": { + "inline": true, + "type": "optional", + }, "url": { "docs": "The hosted location for the Variant's image", "type": "optional", @@ -22495,6 +22552,7 @@ Required scope | `ecommerce:write` }, "expires": { "docs": "The card's expiration date.", + "inline": true, "type": "optional", }, "last4": { @@ -22731,6 +22789,7 @@ Required scope | `ecommerce:write` }, "pagination": { "docs": "Pagination object", + "inline": true, "type": "optional", }, }, @@ -22813,7 +22872,10 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "metadata": "optional", + "metadata": { + "inline": true, + "type": "optional", + }, "netAmount": { "docs": "The net amount after application fees", "type": "optional", @@ -22832,7 +22894,10 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "paypalDetails": "optional", + "paypalDetails": { + "inline": true, + "type": "optional", + }, "purchasedItems": { "docs": "An array of all things that the Customer purchased.", "type": "optional>", @@ -23273,7 +23338,10 @@ Required scope | `ecommerce:write` "OrdersListResponseOrdersItemPurchasedItemsItemVariantImage": { "docs": undefined, "properties": { - "file": "optional", + "file": { + "inline": true, + "type": "optional", + }, "url": { "docs": "The hosted location for the Variant's image", "type": "optional", @@ -23468,6 +23536,7 @@ Required scope | `ecommerce:write` }, "expires": { "docs": "The card's expiration date.", + "inline": true, "type": "optional", }, "last4": { @@ -23785,7 +23854,10 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "metadata": "optional", + "metadata": { + "inline": true, + "type": "optional", + }, "netAmount": { "docs": "The net amount after application fees", "type": "optional", @@ -23804,7 +23876,10 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "paypalDetails": "optional", + "paypalDetails": { + "inline": true, + "type": "optional", + }, "purchasedItems": { "docs": "An array of all things that the Customer purchased.", "type": "optional>", @@ -24245,7 +24320,10 @@ Required scope | `ecommerce:write` "OrdersRefundResponsePurchasedItemsItemVariantImage": { "docs": undefined, "properties": { - "file": "optional", + "file": { + "inline": true, + "type": "optional", + }, "url": { "docs": "The hosted location for the Variant's image", "type": "optional", @@ -24440,6 +24518,7 @@ Required scope | `ecommerce:write` }, "expires": { "docs": "The card's expiration date.", + "inline": true, "type": "optional", }, "last4": { @@ -24726,7 +24805,10 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "metadata": "optional", + "metadata": { + "inline": true, + "type": "optional", + }, "netAmount": { "docs": "The net amount after application fees", "type": "optional", @@ -24745,7 +24827,10 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "paypalDetails": "optional", + "paypalDetails": { + "inline": true, + "type": "optional", + }, "purchasedItems": { "docs": "An array of all things that the Customer purchased.", "type": "optional>", @@ -25186,7 +25271,10 @@ Required scope | `ecommerce:write` "OrdersUpdateFulfillResponsePurchasedItemsItemVariantImage": { "docs": undefined, "properties": { - "file": "optional", + "file": { + "inline": true, + "type": "optional", + }, "url": { "docs": "The hosted location for the Variant's image", "type": "optional", @@ -25381,6 +25469,7 @@ Required scope | `ecommerce:write` }, "expires": { "docs": "The card's expiration date.", + "inline": true, "type": "optional", }, "last4": { @@ -25667,7 +25756,10 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "metadata": "optional", + "metadata": { + "inline": true, + "type": "optional", + }, "netAmount": { "docs": "The net amount after application fees", "type": "optional", @@ -25686,7 +25778,10 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "paypalDetails": "optional", + "paypalDetails": { + "inline": true, + "type": "optional", + }, "purchasedItems": { "docs": "An array of all things that the Customer purchased.", "type": "optional>", @@ -26127,7 +26222,10 @@ Required scope | `ecommerce:write` "OrdersUpdateResponsePurchasedItemsItemVariantImage": { "docs": undefined, "properties": { - "file": "optional", + "file": { + "inline": true, + "type": "optional", + }, "url": { "docs": "The hosted location for the Variant's image", "type": "optional", @@ -26322,6 +26420,7 @@ Required scope | `ecommerce:write` }, "expires": { "docs": "The card's expiration date.", + "inline": true, "type": "optional", }, "last4": { @@ -26608,7 +26707,10 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "metadata": "optional", + "metadata": { + "inline": true, + "type": "optional", + }, "netAmount": { "docs": "The net amount after application fees", "type": "optional", @@ -26627,7 +26729,10 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "paypalDetails": "optional", + "paypalDetails": { + "inline": true, + "type": "optional", + }, "purchasedItems": { "docs": "An array of all things that the Customer purchased.", "type": "optional>", @@ -27068,7 +27173,10 @@ Required scope | `ecommerce:write` "OrdersUpdateUnfulfillResponsePurchasedItemsItemVariantImage": { "docs": undefined, "properties": { - "file": "optional", + "file": { + "inline": true, + "type": "optional", + }, "url": { "docs": "The hosted location for the Variant's image", "type": "optional", @@ -27263,6 +27371,7 @@ Required scope | `ecommerce:write` }, "expires": { "docs": "The card's expiration date.", + "inline": true, "type": "optional", }, "last4": { @@ -28241,7 +28350,10 @@ Required scope | `ecommerce:write` docs: The hosted location for the Variant's image validation: format: uri - file: optional + file: + type: >- + optional + inline: true source: openapi: ../openapi.yml OrdersListResponseOrdersItemPurchasedItemsItemVariantPrice: @@ -28379,6 +28491,7 @@ Required scope | `ecommerce:write` expires: type: optional docs: The card's expiration date. + inline: true source: openapi: ../openapi.yml OrdersListResponseOrdersItemPaypalDetails: @@ -28607,14 +28720,18 @@ Required scope | `ecommerce:write` docs: > Details on the card used to fulfill this order, if this order was finalized with Stripe. - paypalDetails: optional + paypalDetails: + type: optional + inline: true customData: type: optional>> docs: > An array of additional inputs for custom order data gathering. Each object in the array represents an input with a name, and a textInput, textArea, or checkbox value. - metadata: optional + metadata: + type: optional + inline: true isCustomerDeleted: type: optional docs: > @@ -28665,6 +28782,7 @@ Required scope | `ecommerce:write` pagination: type: optional docs: Pagination object + inline: true source: openapi: ../openapi.yml OrdersGetResponseStatus: @@ -28966,7 +29084,9 @@ Required scope | `ecommerce:write` docs: The hosted location for the Variant's image validation: format: uri - file: optional + file: + type: optional + inline: true source: openapi: ../openapi.yml OrdersGetResponsePurchasedItemsItemVariantPrice: @@ -29104,6 +29224,7 @@ Required scope | `ecommerce:write` expires: type: optional docs: The card's expiration date. + inline: true source: openapi: ../openapi.yml OrdersGetResponsePaypalDetails: @@ -29332,14 +29453,18 @@ Required scope | `ecommerce:write` docs: > Details on the card used to fulfill this order, if this order was finalized with Stripe. - paypalDetails: optional + paypalDetails: + type: optional + inline: true customData: type: optional>> docs: > An array of additional inputs for custom order data gathering. Each object in the array represents an input with a name, and a textInput, textArea, or checkbox value. - metadata: optional + metadata: + type: optional + inline: true isCustomerDeleted: type: optional docs: > @@ -29666,7 +29791,9 @@ Required scope | `ecommerce:write` docs: The hosted location for the Variant's image validation: format: uri - file: optional + file: + type: optional + inline: true source: openapi: ../openapi.yml OrdersUpdateResponsePurchasedItemsItemVariantPrice: @@ -29804,6 +29931,7 @@ Required scope | `ecommerce:write` expires: type: optional docs: The card's expiration date. + inline: true source: openapi: ../openapi.yml OrdersUpdateResponsePaypalDetails: @@ -30032,14 +30160,18 @@ Required scope | `ecommerce:write` docs: > Details on the card used to fulfill this order, if this order was finalized with Stripe. - paypalDetails: optional + paypalDetails: + type: optional + inline: true customData: type: optional>> docs: > An array of additional inputs for custom order data gathering. Each object in the array represents an input with a name, and a textInput, textArea, or checkbox value. - metadata: optional + metadata: + type: optional + inline: true isCustomerDeleted: type: optional docs: > @@ -30366,7 +30498,10 @@ Required scope | `ecommerce:write` docs: The hosted location for the Variant's image validation: format: uri - file: optional + file: + type: >- + optional + inline: true source: openapi: ../openapi.yml OrdersUpdateFulfillResponsePurchasedItemsItemVariantPrice: @@ -30504,6 +30639,7 @@ Required scope | `ecommerce:write` expires: type: optional docs: The card's expiration date. + inline: true source: openapi: ../openapi.yml OrdersUpdateFulfillResponsePaypalDetails: @@ -30732,14 +30868,18 @@ Required scope | `ecommerce:write` docs: > Details on the card used to fulfill this order, if this order was finalized with Stripe. - paypalDetails: optional + paypalDetails: + type: optional + inline: true customData: type: optional>> docs: > An array of additional inputs for custom order data gathering. Each object in the array represents an input with a name, and a textInput, textArea, or checkbox value. - metadata: optional + metadata: + type: optional + inline: true isCustomerDeleted: type: optional docs: > @@ -31066,8 +31206,10 @@ Required scope | `ecommerce:write` docs: The hosted location for the Variant's image validation: format: uri - file: >- - optional + file: + type: >- + optional + inline: true source: openapi: ../openapi.yml OrdersUpdateUnfulfillResponsePurchasedItemsItemVariantPrice: @@ -31205,6 +31347,7 @@ Required scope | `ecommerce:write` expires: type: optional docs: The card's expiration date. + inline: true source: openapi: ../openapi.yml OrdersUpdateUnfulfillResponsePaypalDetails: @@ -31433,14 +31576,18 @@ Required scope | `ecommerce:write` docs: > Details on the card used to fulfill this order, if this order was finalized with Stripe. - paypalDetails: optional + paypalDetails: + type: optional + inline: true customData: type: optional>> docs: > An array of additional inputs for custom order data gathering. Each object in the array represents an input with a name, and a textInput, textArea, or checkbox value. - metadata: optional + metadata: + type: optional + inline: true isCustomerDeleted: type: optional docs: > @@ -31775,7 +31922,9 @@ Required scope | `ecommerce:write` docs: The hosted location for the Variant's image validation: format: uri - file: optional + file: + type: optional + inline: true source: openapi: ../openapi.yml OrdersRefundResponsePurchasedItemsItemVariantPrice: @@ -31913,6 +32062,7 @@ Required scope | `ecommerce:write` expires: type: optional docs: The card's expiration date. + inline: true source: openapi: ../openapi.yml OrdersRefundResponsePaypalDetails: @@ -32141,14 +32291,18 @@ Required scope | `ecommerce:write` docs: > Details on the card used to fulfill this order, if this order was finalized with Stripe. - paypalDetails: optional + paypalDetails: + type: optional + inline: true customData: type: optional>> docs: > An array of additional inputs for custom order data gathering. Each object in the array represents an input with a name, and a textInput, textArea, or checkbox value. - metadata: optional + metadata: + type: optional + inline: true isCustomerDeleted: type: optional docs: > @@ -32475,7 +32629,9 @@ Required scope | `ecommerce:write` docs: The hosted location for the Variant's image validation: format: uri - file: optional + file: + type: optional + inline: true source: openapi: ../openapi.yml EcommNewOrderPayloadPurchasedItemsItemVariantPrice: @@ -32613,6 +32769,7 @@ Required scope | `ecommerce:write` expires: type: optional docs: The card's expiration date. + inline: true source: openapi: ../openapi.yml EcommNewOrderPayloadPaypalDetails: @@ -32841,14 +32998,18 @@ Required scope | `ecommerce:write` docs: > Details on the card used to fulfill this order, if this order was finalized with Stripe. - paypalDetails: optional + paypalDetails: + type: optional + inline: true customData: type: optional>> docs: > An array of additional inputs for custom order data gathering. Each object in the array represents an input with a name, and a textInput, textArea, or checkbox value. - metadata: optional + metadata: + type: optional + inline: true isCustomerDeleted: type: optional docs: > @@ -33175,7 +33336,9 @@ Required scope | `ecommerce:write` docs: The hosted location for the Variant's image validation: format: uri - file: optional + file: + type: optional + inline: true source: openapi: ../openapi.yml EcommOrderChangedPayloadPurchasedItemsItemVariantPrice: @@ -33313,6 +33476,7 @@ Required scope | `ecommerce:write` expires: type: optional docs: The card's expiration date. + inline: true source: openapi: ../openapi.yml EcommOrderChangedPayloadPaypalDetails: @@ -33541,14 +33705,18 @@ Required scope | `ecommerce:write` docs: > Details on the card used to fulfill this order, if this order was finalized with Stripe. - paypalDetails: optional + paypalDetails: + type: optional + inline: true customData: type: optional>> docs: > An array of additional inputs for custom order data gathering. Each object in the array represents an input with a name, and a textInput, textArea, or checkbox value. - metadata: optional + metadata: + type: optional + inline: true isCustomerDeleted: type: optional docs: > @@ -36005,6 +36173,7 @@ Required scope | `pages:write` "properties": { "payload": { "docs": "The payload of data sent from Webflow", + "inline": true, "type": "optional", }, "triggerType": { @@ -36033,6 +36202,7 @@ Required scope | `pages:write` "properties": { "payload": { "docs": "The payload of data sent from Webflow", + "inline": true, "type": "optional", }, "triggerType": { @@ -36061,6 +36231,7 @@ Required scope | `pages:write` "properties": { "payload": { "docs": "The payload of data sent from Webflow", + "inline": true, "type": "optional", }, "triggerType": { @@ -36095,6 +36266,7 @@ Required scope | `pages:write` }, "pagination": { "docs": "Pagination object", + "inline": true, "type": "optional", }, }, @@ -36117,11 +36289,13 @@ Required scope | `pages:write` "image": { "docs": "Represents an image within the DOM. It contains details about the image, such as its alternative text (alt) for accessibility and an asset identifier for fetching the actual image resource. Additional attributes can be associated with the image for styling or other purposes. ", + "inline": true, "type": "optional", }, "text": { "docs": "Represents textual content within the DOM. It contains both the raw text and its HTML representation, allowing for flexibility in rendering and processing. Additional attributes can be associated with the text for styling or other purposes. ", + "inline": true, "type": "optional", }, "type": "optional", @@ -36226,6 +36400,7 @@ Required scope | `pages:write` }, "openGraph": { "docs": "Open Graph fields for the Page", + "inline": true, "type": "optional", }, "parentId": { @@ -36238,6 +36413,7 @@ Required scope | `pages:write` }, "seo": { "docs": "SEO-related fields for the Page", + "inline": true, "type": "optional", }, "siteId": { @@ -36305,6 +36481,7 @@ Required scope | `pages:write` "pages": "optional>", "pagination": { "docs": "Pagination object", + "inline": true, "type": "optional", }, }, @@ -36357,6 +36534,7 @@ Required scope | `pages:write` }, "openGraph": { "docs": "Open Graph fields for the Page", + "inline": true, "type": "optional", }, "parentId": { @@ -36369,6 +36547,7 @@ Required scope | `pages:write` }, "seo": { "docs": "SEO-related fields for the Page", + "inline": true, "type": "optional", }, "siteId": { @@ -36537,6 +36716,7 @@ Required scope | `pages:write` }, "openGraph": { "docs": "Open Graph fields for the Page", + "inline": true, "type": "optional", }, "parentId": { @@ -36549,6 +36729,7 @@ Required scope | `pages:write` }, "seo": { "docs": "SEO-related fields for the Page", + "inline": true, "type": "optional", }, "siteId": { @@ -36799,9 +36980,11 @@ Required scope | `pages:write` seo: type: optional docs: SEO-related fields for the Page + inline: true openGraph: type: optional docs: Open Graph fields for the Page + inline: true localeId: type: optional docs: Unique ID of the page locale @@ -36831,6 +37014,7 @@ Required scope | `pages:write` pagination: type: optional docs: Pagination object + inline: true source: openapi: ../openapi.yml PagesGetMetadataResponseSeo: @@ -36917,9 +37101,11 @@ Required scope | `pages:write` seo: type: optional docs: SEO-related fields for the Page + inline: true openGraph: type: optional docs: Open Graph fields for the Page + inline: true localeId: type: optional docs: Unique ID of the page locale @@ -37044,9 +37230,11 @@ Required scope | `pages:write` seo: type: optional docs: SEO-related fields for the Page + inline: true openGraph: type: optional docs: Open Graph fields for the Page + inline: true localeId: type: optional docs: Unique ID of the page locale @@ -37100,6 +37288,7 @@ Required scope | `pages:write` text and its HTML representation, allowing for flexibility in rendering and processing. Additional attributes can be associated with the text for styling or other purposes. + inline: true image: type: optional docs: > @@ -37108,6 +37297,7 @@ Required scope | `pages:write` asset identifier for fetching the actual image resource. Additional attributes can be associated with the image for styling or other purposes. + inline: true attributes: type: optional> docs: The custom attributes of the node @@ -37143,6 +37333,7 @@ Required scope | `pages:write` pagination: type: optional docs: Pagination object + inline: true source: openapi: ../openapi.yml UpdateStaticContentRequestNodesItem: @@ -37182,6 +37373,7 @@ Required scope | `pages:write` payload: type: optional docs: The payload of data sent from Webflow + inline: true source: openapi: ../openapi.yml PageMetadataUpdatedPayloadPayload: @@ -37202,6 +37394,7 @@ Required scope | `pages:write` payload: type: optional docs: The payload of data sent from Webflow + inline: true source: openapi: ../openapi.yml PageDeletedPayloadPayload: @@ -37222,6 +37415,7 @@ Required scope | `pages:write` payload: type: optional docs: The payload of data sent from Webflow + inline: true source: openapi: ../openapi.yml imports: @@ -39371,16 +39565,21 @@ Required scope | `ecommerce:write` "properties": { "compare-at-price": { "docs": "comparison price of SKU", + "inline": true, "type": "optional", }, "ec-sku-billing-method": "optional", - "ec-sku-subscription-plan": "optional", + "ec-sku-subscription-plan": { + "inline": true, + "type": "optional", + }, "name": { "docs": "Name of the Product", "type": "string", }, "price": { "docs": "price of SKU", + "inline": true, "type": "ProductsCreateRequestSkuFieldDataPrice", }, "quantity": { @@ -39519,6 +39718,7 @@ Required scope | `ecommerce:write` "properties": { "product": { "docs": "The Product object", + "inline": true, "type": "optional", }, "skus": { @@ -39826,16 +40026,21 @@ Required scope | `ecommerce:write` "properties": { "compare-at-price": { "docs": "comparison price of SKU", + "inline": true, "type": "optional", }, "ec-sku-billing-method": "optional", - "ec-sku-subscription-plan": "optional", + "ec-sku-subscription-plan": { + "inline": true, + "type": "optional", + }, "name": { "docs": "Name of the Product", "type": "string", }, "price": { "docs": "price of SKU", + "inline": true, "type": "ProductsCreateResponseSkusItemFieldDataPrice", }, "quantity": { @@ -40017,16 +40222,21 @@ Required scope | `ecommerce:write` "properties": { "compare-at-price": { "docs": "comparison price of SKU", + "inline": true, "type": "optional", }, "ec-sku-billing-method": "optional", - "ec-sku-subscription-plan": "optional", + "ec-sku-subscription-plan": { + "inline": true, + "type": "optional", + }, "name": { "docs": "Name of the Product", "type": "string", }, "price": { "docs": "price of SKU", + "inline": true, "type": "ProductsCreateSkuRequestSkusItemFieldDataPrice", }, "quantity": { @@ -40206,16 +40416,21 @@ Required scope | `ecommerce:write` "properties": { "compare-at-price": { "docs": "comparison price of SKU", + "inline": true, "type": "optional", }, "ec-sku-billing-method": "optional", - "ec-sku-subscription-plan": "optional", + "ec-sku-subscription-plan": { + "inline": true, + "type": "optional", + }, "name": { "docs": "Name of the Product", "type": "string", }, "price": { "docs": "price of SKU", + "inline": true, "type": "ProductsCreateSkuResponseSkusItemFieldDataPrice", }, "quantity": { @@ -40354,6 +40569,7 @@ Required scope | `ecommerce:write` "properties": { "product": { "docs": "The Product object", + "inline": true, "type": "optional", }, "skus": { @@ -40661,16 +40877,21 @@ Required scope | `ecommerce:write` "properties": { "compare-at-price": { "docs": "comparison price of SKU", + "inline": true, "type": "optional", }, "ec-sku-billing-method": "optional", - "ec-sku-subscription-plan": "optional", + "ec-sku-subscription-plan": { + "inline": true, + "type": "optional", + }, "name": { "docs": "Name of the Product", "type": "string", }, "price": { "docs": "price of SKU", + "inline": true, "type": "ProductsGetResponseSkusItemFieldDataPrice", }, "quantity": { @@ -40813,6 +41034,7 @@ Required scope | `ecommerce:write` }, "pagination": { "docs": "Pagination object", + "inline": true, "type": "optional", }, }, @@ -40825,6 +41047,7 @@ Required scope | `ecommerce:write` "properties": { "product": { "docs": "The Product object", + "inline": true, "type": "optional", }, "skus": { @@ -41132,16 +41355,21 @@ Required scope | `ecommerce:write` "properties": { "compare-at-price": { "docs": "comparison price of SKU", + "inline": true, "type": "optional", }, "ec-sku-billing-method": "optional", - "ec-sku-subscription-plan": "optional", + "ec-sku-subscription-plan": { + "inline": true, + "type": "optional", + }, "name": { "docs": "Name of the Product", "type": "string", }, "price": { "docs": "price of SKU", + "inline": true, "type": "ProductsListResponseItemsItemSkusItemFieldDataPrice", }, "quantity": { @@ -41602,16 +41830,21 @@ Required scope | `ecommerce:write` "properties": { "compare-at-price": { "docs": "comparison price of SKU", + "inline": true, "type": "optional", }, "ec-sku-billing-method": "optional", - "ec-sku-subscription-plan": "optional", + "ec-sku-subscription-plan": { + "inline": true, + "type": "optional", + }, "name": { "docs": "Name of the Product", "type": "string", }, "price": { "docs": "price of SKU", + "inline": true, "type": "ProductsUpdateRequestSkuFieldDataPrice", }, "quantity": { @@ -42052,16 +42285,21 @@ Required scope | `ecommerce:write` "properties": { "compare-at-price": { "docs": "comparison price of SKU", + "inline": true, "type": "optional", }, "ec-sku-billing-method": "optional", - "ec-sku-subscription-plan": "optional", + "ec-sku-subscription-plan": { + "inline": true, + "type": "optional", + }, "name": { "docs": "Name of the Product", "type": "string", }, "price": { "docs": "price of SKU", + "inline": true, "type": "ProductsUpdateSkuRequestSkuFieldDataPrice", }, "quantity": { @@ -42232,16 +42470,21 @@ Required scope | `ecommerce:write` "properties": { "compare-at-price": { "docs": "comparison price of SKU", + "inline": true, "type": "optional", }, "ec-sku-billing-method": "optional", - "ec-sku-subscription-plan": "optional", + "ec-sku-subscription-plan": { + "inline": true, + "type": "optional", + }, "name": { "docs": "Name of the Product", "type": "string", }, "price": { "docs": "price of SKU", + "inline": true, "type": "ProductsUpdateSkuResponseFieldDataPrice", }, "quantity": { @@ -42651,13 +42894,17 @@ Required scope | `ecommerce:write` price: type: ProductsListResponseItemsItemSkusItemFieldDataPrice docs: price of SKU + inline: true compare-at-price: type: optional docs: comparison price of SKU + inline: true ec-sku-billing-method: >- optional - ec-sku-subscription-plan: >- - optional + ec-sku-subscription-plan: + type: >- + optional + inline: true track-inventory: type: optional docs: >- @@ -42698,6 +42945,7 @@ Required scope | `ecommerce:write` product: type: optional docs: The Product object + inline: true skus: type: optional> docs: A list of SKU Objects @@ -42728,6 +42976,7 @@ Required scope | `ecommerce:write` pagination: type: optional docs: Pagination object + inline: true source: openapi: ../openapi.yml ProductsCreateRequestPublishStatus: @@ -42986,11 +43235,15 @@ Required scope | `ecommerce:write` price: type: ProductsCreateRequestSkuFieldDataPrice docs: price of SKU + inline: true compare-at-price: type: optional docs: comparison price of SKU + inline: true ec-sku-billing-method: optional - ec-sku-subscription-plan: optional + ec-sku-subscription-plan: + type: optional + inline: true track-inventory: type: optional docs: >- @@ -43297,11 +43550,15 @@ Required scope | `ecommerce:write` price: type: ProductsCreateResponseSkusItemFieldDataPrice docs: price of SKU + inline: true compare-at-price: type: optional docs: comparison price of SKU + inline: true ec-sku-billing-method: optional - ec-sku-subscription-plan: optional + ec-sku-subscription-plan: + type: optional + inline: true track-inventory: type: optional docs: >- @@ -43342,6 +43599,7 @@ Required scope | `ecommerce:write` product: type: optional docs: The Product object + inline: true skus: type: optional> docs: A list of SKU Objects @@ -43618,11 +43876,15 @@ Required scope | `ecommerce:write` price: type: ProductsGetResponseSkusItemFieldDataPrice docs: price of SKU + inline: true compare-at-price: type: optional docs: comparison price of SKU + inline: true ec-sku-billing-method: optional - ec-sku-subscription-plan: optional + ec-sku-subscription-plan: + type: optional + inline: true track-inventory: type: optional docs: >- @@ -43663,6 +43925,7 @@ Required scope | `ecommerce:write` product: type: optional docs: The Product object + inline: true skus: type: optional> docs: A list of SKU Objects @@ -43947,11 +44210,15 @@ Required scope | `ecommerce:write` price: type: ProductsUpdateRequestSkuFieldDataPrice docs: price of SKU + inline: true compare-at-price: type: optional docs: comparison price of SKU + inline: true ec-sku-billing-method: optional - ec-sku-subscription-plan: optional + ec-sku-subscription-plan: + type: optional + inline: true track-inventory: type: optional docs: >- @@ -44265,11 +44532,16 @@ Required scope | `ecommerce:write` price: type: ProductsCreateSkuRequestSkusItemFieldDataPrice docs: price of SKU + inline: true compare-at-price: type: optional docs: comparison price of SKU + inline: true ec-sku-billing-method: optional - ec-sku-subscription-plan: optional + ec-sku-subscription-plan: + type: >- + optional + inline: true track-inventory: type: optional docs: >- @@ -44397,12 +44669,16 @@ Required scope | `ecommerce:write` price: type: ProductsCreateSkuResponseSkusItemFieldDataPrice docs: price of SKU + inline: true compare-at-price: type: optional docs: comparison price of SKU + inline: true ec-sku-billing-method: optional - ec-sku-subscription-plan: >- - optional + ec-sku-subscription-plan: + type: >- + optional + inline: true track-inventory: type: optional docs: >- @@ -44543,11 +44819,15 @@ Required scope | `ecommerce:write` price: type: ProductsUpdateSkuRequestSkuFieldDataPrice docs: price of SKU + inline: true compare-at-price: type: optional docs: comparison price of SKU + inline: true ec-sku-billing-method: optional - ec-sku-subscription-plan: optional + ec-sku-subscription-plan: + type: optional + inline: true track-inventory: type: optional docs: >- @@ -44675,11 +44955,15 @@ Required scope | `ecommerce:write` price: type: ProductsUpdateSkuResponseFieldDataPrice docs: price of SKU + inline: true compare-at-price: type: optional docs: comparison price of SKU + inline: true ec-sku-billing-method: optional - ec-sku-subscription-plan: optional + ec-sku-subscription-plan: + type: optional + inline: true track-inventory: type: optional docs: >- @@ -46437,6 +46721,7 @@ service: "properties": { "payload": { "docs": "The payload of data sent from Webflow", + "inline": true, "type": "optional", }, "triggerType": { @@ -46521,7 +46806,10 @@ service: "docs": "Date the Site was last updated", "type": "optional", }, - "locales": "optional", + "locales": { + "inline": true, + "type": "optional", + }, "parentFolderId": { "docs": "The ID of the parent folder the Site exists in", "type": "optional", @@ -46574,6 +46862,7 @@ service: "properties": { "primary": { "docs": "The primary locale for the site or application.", + "inline": true, "type": "optional", }, "secondary": { @@ -46698,7 +46987,10 @@ service: "docs": "Date the Site was last updated", "type": "optional", }, - "locales": "optional", + "locales": { + "inline": true, + "type": "optional", + }, "parentFolderId": { "docs": "The ID of the parent folder the Site exists in", "type": "optional", @@ -46751,6 +47043,7 @@ service: "properties": { "primary": { "docs": "The primary locale for the site or application.", + "inline": true, "type": "optional", }, "secondary": { @@ -46984,6 +47277,7 @@ service: primary: type: optional docs: The primary locale for the site or application. + inline: true secondary: type: optional> docs: A list of secondary locales available for the site or application. @@ -47024,7 +47318,9 @@ service: type: optional docs: The ID of the parent folder the Site exists in customDomains: optional> - locales: optional + locales: + type: optional + inline: true source: openapi: ../openapi.yml SitesListResponse: @@ -47108,6 +47404,7 @@ service: primary: type: optional docs: The primary locale for the site or application. + inline: true secondary: type: optional> docs: A list of secondary locales available for the site or application. @@ -47148,7 +47445,9 @@ service: type: optional docs: The ID of the parent folder the Site exists in customDomains: optional> - locales: optional + locales: + type: optional + inline: true source: openapi: ../openapi.yml SitesGetCustomDomainResponseCustomDomainsItem: @@ -47213,6 +47512,7 @@ service: payload: type: optional docs: The payload of data sent from Webflow + inline: true source: openapi: ../openapi.yml imports: @@ -47605,6 +47905,7 @@ webhooks: "items": "optional>", "pagination": { "docs": "Pagination object", + "inline": true, "type": "optional", }, }, @@ -47625,7 +47926,10 @@ webhooks: "resourceId": "optional", "resourceName": "optional", "resourceOperation": "optional", - "user": "optional", + "user": { + "inline": true, + "type": "optional", + }, }, "source": { "openapi": "../openapi.yml", @@ -47698,7 +48002,9 @@ webhooks: lastUpdated: optional event: optional resourceOperation: optional - user: optional + user: + type: optional + inline: true resourceId: optional resourceName: optional newValue: optional @@ -47726,6 +48032,7 @@ webhooks: pagination: type: optional docs: Pagination object + inline: true source: openapi: ../openapi.yml imports: @@ -48159,6 +48466,7 @@ service: "blocks": "optional>", "pagination": { "docs": "Pagination object", + "inline": true, "type": "optional", }, }, @@ -48563,6 +48871,7 @@ service: pagination: type: optional docs: Pagination object + inline: true source: openapi: ../openapi.yml imports: @@ -48919,6 +49228,7 @@ service: "application": "optional", "authorization": { "docs": "The Authorization object", + "inline": true, "type": "optional", }, }, @@ -48929,7 +49239,10 @@ service: "TokenIntrospectResponseAuthorization": { "docs": "The Authorization object", "properties": { - "authorizedTo": "optional", + "authorizedTo": { + "inline": true, + "type": "optional", + }, "createdOn": { "docs": "The date the Authorization was created", "type": "optional", @@ -49034,7 +49347,9 @@ service: scope: type: optional docs: Comma separted list of OAuth scopes corresponding to the Authorization - authorizedTo: optional + authorizedTo: + type: optional + inline: true source: openapi: ../openapi.yml TokenIntrospectResponse: @@ -49042,6 +49357,7 @@ service: authorization: type: optional docs: The Authorization object + inline: true application: optional source: openapi: ../openapi.yml @@ -49605,6 +49921,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "data": { "docs": "An object containing the User's basic info and custom fields", + "inline": true, "type": "optional", }, "id": { @@ -49671,7 +49988,10 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) "UserAccountAddedPayloadPayloadData": { "docs": "An object containing the User's basic info and custom fields", "properties": { - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, }, "source": { "openapi": "../openapi.yml", @@ -49762,6 +50082,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "data": { "docs": "An object containing the User's basic info and custom fields", + "inline": true, "type": "optional", }, "id": { @@ -49828,7 +50149,10 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) "UserAccountDeletedPayloadPayloadData": { "docs": "An object containing the User's basic info and custom fields", "properties": { - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, }, "source": { "openapi": "../openapi.yml", @@ -49919,6 +50243,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "data": { "docs": "An object containing the User's basic info and custom fields", + "inline": true, "type": "optional", }, "id": { @@ -49985,7 +50310,10 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) "UserAccountUpdatedPayloadPayloadData": { "docs": "An object containing the User's basic info and custom fields", "properties": { - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, }, "source": { "openapi": "../openapi.yml", @@ -50059,6 +50387,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "data": { "docs": "An object containing the User's basic info and custom fields", + "inline": true, "type": "optional", }, "id": { @@ -50125,7 +50454,10 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) "UsersGetResponseData": { "docs": "An object containing the User's basic info and custom fields", "properties": { - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, }, "source": { "openapi": "../openapi.yml", @@ -50188,6 +50520,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "data": { "docs": "An object containing the User's basic info and custom fields", + "inline": true, "type": "optional", }, "id": { @@ -50254,7 +50587,10 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) "UsersInviteResponseData": { "docs": "An object containing the User's basic info and custom fields", "properties": { - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, }, "source": { "openapi": "../openapi.yml", @@ -50404,6 +50740,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "data": { "docs": "An object containing the User's basic info and custom fields", + "inline": true, "type": "optional", }, "id": { @@ -50470,7 +50807,10 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) "UsersListResponseUsersItemData": { "docs": "An object containing the User's basic info and custom fields", "properties": { - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, }, "source": { "openapi": "../openapi.yml", @@ -50556,6 +50896,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "data": { "docs": "An object containing the User's basic info and custom fields", + "inline": true, "type": "optional", }, "id": { @@ -50622,7 +50963,10 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) "UsersUpdateResponseData": { "docs": "An object containing the User's basic info and custom fields", "properties": { - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, }, "source": { "openapi": "../openapi.yml", @@ -50855,7 +51199,9 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) UsersListResponseUsersItemData: docs: An object containing the User's basic info and custom fields properties: - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml UsersListResponseUsersItem: @@ -50892,6 +51238,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) data: type: optional docs: An object containing the User's basic info and custom fields + inline: true source: openapi: ../openapi.yml UsersListResponse: @@ -50974,7 +51321,9 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) UsersGetResponseData: docs: An object containing the User's basic info and custom fields properties: - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml UsersGetResponse: @@ -51011,6 +51360,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) data: type: optional docs: An object containing the User's basic info and custom fields + inline: true source: openapi: ../openapi.yml UsersUpdateRequestData: @@ -51087,7 +51437,9 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) UsersUpdateResponseData: docs: An object containing the User's basic info and custom fields properties: - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml UsersUpdateResponse: @@ -51124,6 +51476,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) data: type: optional docs: An object containing the User's basic info and custom fields + inline: true source: openapi: ../openapi.yml UsersInviteResponseStatus: @@ -51184,7 +51537,9 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) UsersInviteResponseData: docs: An object containing the User's basic info and custom fields properties: - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml UsersInviteResponse: @@ -51221,6 +51576,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) data: type: optional docs: An object containing the User's basic info and custom fields + inline: true source: openapi: ../openapi.yml UserAccountAddedPayloadTriggerType: @@ -51289,7 +51645,9 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) UserAccountAddedPayloadPayloadData: docs: An object containing the User's basic info and custom fields properties: - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml UserAccountAddedPayloadPayload: @@ -51326,6 +51684,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) data: type: optional docs: An object containing the User's basic info and custom fields + inline: true source: openapi: ../openapi.yml UserAccountAddedPayload: @@ -51408,7 +51767,9 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) UserAccountUpdatedPayloadPayloadData: docs: An object containing the User's basic info and custom fields properties: - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml UserAccountUpdatedPayloadPayload: @@ -51445,6 +51806,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) data: type: optional docs: An object containing the User's basic info and custom fields + inline: true source: openapi: ../openapi.yml UserAccountUpdatedPayload: @@ -51527,7 +51889,9 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) UserAccountDeletedPayloadPayloadData: docs: An object containing the User's basic info and custom fields properties: - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml UserAccountDeletedPayloadPayload: @@ -51564,6 +51928,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) data: type: optional docs: An object containing the User's basic info and custom fields + inline: true source: openapi: ../openapi.yml UserAccountDeletedPayload: @@ -52292,6 +52657,7 @@ webhooks: }, "filter": { "docs": "Only supported for the `form_submission` trigger type. Filter for the form you want Webhooks to be sent for. ", + "inline": true, "type": "optional", }, "id": { @@ -52397,6 +52763,7 @@ webhooks: }, "filter": { "docs": "Only supported for the `form_submission` trigger type. Filter for the form you want Webhooks to be sent for. ", + "inline": true, "type": "optional", }, "id": { @@ -52498,6 +52865,7 @@ webhooks: "properties": { "pagination": { "docs": "Pagination object", + "inline": true, "type": "optional", }, "webhooks": "optional>", @@ -52535,6 +52903,7 @@ webhooks: }, "filter": { "docs": "Only supported for the `form_submission` trigger type. Filter for the form you want Webhooks to be sent for. ", + "inline": true, "type": "optional", }, "id": { @@ -52781,6 +53150,7 @@ webhooks: docs: >- Only supported for the `form_submission` trigger type. Filter for the form you want Webhooks to be sent for. + inline: true lastTriggered: type: optional docs: Date the Webhook instance was last triggered @@ -52794,6 +53164,7 @@ webhooks: pagination: type: optional docs: Pagination object + inline: true webhooks: optional> source: openapi: ../openapi.yml @@ -53000,6 +53371,7 @@ webhooks: docs: >- Only supported for the `form_submission` trigger type. Filter for the form you want Webhooks to be sent for. + inline: true lastTriggered: type: optional docs: Date the Webhook instance was last triggered @@ -53141,6 +53513,7 @@ webhooks: docs: >- Only supported for the `form_submission` trigger type. Filter for the form you want Webhooks to be sent for. + inline: true lastTriggered: type: optional docs: Date the Webhook instance was last triggered diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-audiences.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-audiences.json index 9ea17ce95a6..d4e90646a7b 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-audiences.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-audiences.json @@ -56,6 +56,7 @@ "audiences": [ "public", ], + "inline": undefined, "type": "optional", "validation": { "format": "uuid", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-property-name.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-property-name.json index 6adeac7a1c8..440124a54b1 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-property-name.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-property-name.json @@ -10,6 +10,7 @@ "docs": undefined, "properties": { "id": { + "inline": undefined, "name": "renamed_id", "type": "optional", "validation": { diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/aries.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/aries.json index 9827abc0503..7c1c3ae54a3 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/aries.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/aries.json @@ -66099,7 +66099,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -66292,7 +66293,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -66347,7 +66349,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -67193,7 +67196,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -67220,7 +67224,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -67247,7 +67252,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -67275,7 +67281,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -67302,7 +67309,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -67329,7 +67337,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -68265,7 +68274,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -68301,7 +68311,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -68952,7 +68963,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -69433,7 +69445,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -70236,7 +70249,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -72539,7 +72553,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -72567,7 +72582,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -72940,7 +72956,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -74158,7 +74175,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -74179,7 +74197,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -74303,7 +74322,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -74375,7 +74395,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -74396,7 +74417,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -74464,7 +74486,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -76988,7 +77011,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -77016,7 +77040,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -78011,7 +78036,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -78272,7 +78298,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -79677,7 +79704,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -79743,7 +79771,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -83551,7 +83580,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -83571,7 +83601,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -83791,7 +83822,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -83818,7 +83850,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -83845,7 +83878,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -85107,7 +85141,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -86230,7 +86265,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -86364,7 +86400,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -87616,7 +87653,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -90791,7 +90829,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -90817,7 +90856,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -90843,7 +90883,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -90869,7 +90910,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -91080,7 +91122,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -94174,7 +94217,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -94200,7 +94244,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -94226,7 +94271,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -95242,7 +95288,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -95980,7 +96027,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/axle.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/axle.json index 2db562985f3..245778f185d 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/axle.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/axle.json @@ -252,7 +252,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -546,7 +547,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/buzzshot.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/buzzshot.json index 04b8bd82c58..aa665439005 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/buzzshot.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/buzzshot.json @@ -3764,7 +3764,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -4296,7 +4297,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/deel.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/deel.json index 31a8fe37f28..c72e38c6d94 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/deel.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/deel.json @@ -37693,7 +37693,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -37728,7 +37729,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -37741,7 +37743,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -37815,7 +37818,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -37871,7 +37875,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -38064,7 +38069,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -39512,7 +39518,8 @@ "groupName": [], "type": "nullable" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -39596,7 +39603,8 @@ "groupName": [], "type": "nullable" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -39660,7 +39668,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -39727,7 +39736,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -39777,7 +39787,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -41102,7 +41113,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -41816,7 +41828,8 @@ "groupName": [], "type": "nullable" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -41900,7 +41913,8 @@ "groupName": [], "type": "nullable" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -41964,7 +41978,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -42016,7 +42031,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -42066,7 +42082,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -42928,7 +42945,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -43015,7 +43033,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -43064,7 +43083,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -44174,7 +44194,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -45304,7 +45325,8 @@ "groupName": [], "type": "nullable" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -45357,7 +45379,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -46105,7 +46128,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -46652,7 +46676,8 @@ "groupName": [], "type": "nullable" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -46704,7 +46729,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -46878,7 +46904,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -47650,7 +47677,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -47698,7 +47726,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -47747,7 +47776,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -47796,7 +47826,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -48374,7 +48405,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -48434,7 +48466,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -48494,7 +48527,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -49614,7 +49648,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -49630,7 +49665,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -49898,7 +49934,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -49959,7 +49996,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -50011,7 +50049,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -50062,7 +50101,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -50075,7 +50115,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -50187,7 +50228,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -50292,7 +50334,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -50650,7 +50693,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -50704,7 +50748,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -50720,7 +50765,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -50831,7 +50877,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -50936,7 +50983,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -51006,7 +51054,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -51088,7 +51137,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -51172,7 +51222,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -51239,7 +51290,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -51307,7 +51359,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -51375,7 +51428,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -51443,7 +51497,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -51497,7 +51552,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -51542,7 +51598,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -51559,7 +51616,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -51726,7 +51784,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -51823,7 +51882,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -54595,7 +54655,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -54720,7 +54781,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -57803,7 +57865,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/flagright.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/flagright.json index f928c13278a..56ef2030144 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/flagright.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/flagright.json @@ -13970,7 +13970,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/flexport.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/flexport.json index fa7d8717d5b..c7f760dffc9 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/flexport.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/flexport.json @@ -2083,7 +2083,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -4164,7 +4165,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -11041,7 +11043,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -15219,7 +15222,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -16461,7 +16465,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -18403,7 +18408,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -20182,7 +20188,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -23968,7 +23975,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -26839,7 +26847,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -29284,7 +29293,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -31564,7 +31574,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -34921,7 +34932,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -36140,7 +36152,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -37986,7 +37999,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -38929,7 +38943,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -41506,7 +41521,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -44415,7 +44431,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -51076,7 +51093,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -54470,7 +54488,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -61243,7 +61262,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -79437,7 +79457,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/hathora.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/hathora.json index b0bee722ce1..b7a278033c9 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/hathora.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/hathora.json @@ -9843,7 +9843,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -9898,7 +9899,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -10384,7 +10386,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -10439,7 +10442,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/hookdeck.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/hookdeck.json index 21b37f8e33c..20e2ff39c28 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/hookdeck.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/hookdeck.json @@ -57307,7 +57307,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -57745,7 +57746,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/intercom.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/intercom.json index e721eefc875..736c277e8ad 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/intercom.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/intercom.json @@ -105710,7 +105710,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -107749,7 +107750,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -109481,7 +109483,8 @@ ], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -111668,7 +111671,8 @@ ], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -112051,7 +112055,8 @@ ], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -112127,7 +112132,8 @@ ], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -113836,7 +113842,8 @@ ], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -118549,7 +118556,8 @@ "generatedName": "ConvertVisitorRequestUserOne", "type": "unknown" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -118559,7 +118567,8 @@ "generatedName": "ConvertVisitorRequestVisitorTwo", "type": "unknown" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -118981,7 +118990,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -119328,7 +119338,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -121680,7 +121691,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -126196,7 +126208,8 @@ ], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -132797,7 +132810,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -133517,7 +133531,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -133613,7 +133628,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -133809,7 +133825,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -134019,7 +134036,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -134258,7 +134276,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -134330,7 +134349,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/only-include-referenced-schemas.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/only-include-referenced-schemas.json index e721eefc875..736c277e8ad 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/only-include-referenced-schemas.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/only-include-referenced-schemas.json @@ -105710,7 +105710,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -107749,7 +107750,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -109481,7 +109483,8 @@ ], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -111668,7 +111671,8 @@ ], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -112051,7 +112055,8 @@ ], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -112127,7 +112132,8 @@ ], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -113836,7 +113842,8 @@ ], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -118549,7 +118556,8 @@ "generatedName": "ConvertVisitorRequestUserOne", "type": "unknown" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -118559,7 +118567,8 @@ "generatedName": "ConvertVisitorRequestVisitorTwo", "type": "unknown" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -118981,7 +118990,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -119328,7 +119338,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -121680,7 +121691,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -126196,7 +126208,8 @@ ], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -132797,7 +132810,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -133517,7 +133531,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -133613,7 +133628,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -133809,7 +133825,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -134019,7 +134036,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -134258,7 +134276,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -134330,7 +134349,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/query-params.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/query-params.json index d712c32cd7d..b866af652d6 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/query-params.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/query-params.json @@ -165,7 +165,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -181,7 +182,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/seam.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/seam.json index 34a3f589b69..8909b81d7cf 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/seam.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/seam.json @@ -12568,7 +12568,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -24421,7 +24422,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -34008,7 +34010,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -39007,7 +39010,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -41308,7 +41312,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -45831,7 +45836,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -45976,7 +45982,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -48932,7 +48939,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -50200,7 +50208,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -50329,7 +50338,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -50530,7 +50540,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -50659,7 +50670,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -50860,7 +50872,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -50989,7 +51002,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -51190,7 +51204,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -51319,7 +51334,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -51520,7 +51536,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -51649,7 +51666,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -51850,7 +51868,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -51979,7 +51998,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -52180,7 +52200,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -52309,7 +52330,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -52510,7 +52532,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -52639,7 +52662,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -52963,7 +52987,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -53286,7 +53311,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -53609,7 +53635,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -53932,7 +53959,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -54255,7 +54283,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -54578,7 +54607,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -54901,7 +54931,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -55953,7 +55984,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -56483,7 +56515,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -56500,7 +56533,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -56535,7 +56569,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -56685,7 +56720,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -56806,7 +56842,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -57104,7 +57141,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -57242,7 +57280,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -57365,7 +57404,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -57456,7 +57496,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -57547,7 +57588,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -57619,7 +57661,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -57729,7 +57772,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -57796,7 +57840,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -57910,7 +57955,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -57963,7 +58009,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -58002,7 +58049,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -58074,7 +58122,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -58182,7 +58231,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -58274,7 +58324,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -58322,7 +58373,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -58370,7 +58422,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -58418,7 +58471,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -58466,7 +58520,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -58479,7 +58534,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -58495,7 +58551,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -58562,7 +58619,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -58615,7 +58673,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -58687,7 +58746,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -58754,7 +58814,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -58839,7 +58900,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -58949,7 +59011,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -59016,7 +59079,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -59069,7 +59133,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -59122,7 +59187,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -59189,7 +59255,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -59493,7 +59560,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -59640,7 +59708,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -59768,7 +59837,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -60116,7 +60186,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -60216,7 +60287,8 @@ "groupName": [], "type": "nullable" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -61076,7 +61148,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -61093,7 +61166,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -61285,7 +61359,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -61475,7 +61550,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -61488,7 +61564,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -63448,7 +63525,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -63829,7 +63907,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -63986,7 +64065,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -64784,7 +64864,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -65116,7 +65197,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -65129,7 +65211,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -65196,7 +65279,8 @@ "groupName": [], "type": "nullable" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/uploadcare.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/uploadcare.json index b3a1535c918..429a09e2576 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/uploadcare.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/uploadcare.json @@ -10717,7 +10717,8 @@ "groupName": [], "type": "nullable" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -10989,7 +10990,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -11120,7 +11122,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -11368,7 +11371,8 @@ "groupName": [], "type": "nullable" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -11815,7 +11819,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/valtown.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/valtown.json index 32ddbd6aa94..53a5c2e1695 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/valtown.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/valtown.json @@ -822,7 +822,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -1268,7 +1269,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -1968,7 +1970,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -2126,7 +2129,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -2529,7 +2533,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -2622,7 +2627,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -8997,7 +9003,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -9423,7 +9430,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -9815,7 +9823,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/webflow.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/webflow.json index e932e71b8f7..3758e6612db 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/webflow.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/webflow.json @@ -659,7 +659,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -676,7 +677,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -1428,7 +1430,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -1648,7 +1651,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -3103,7 +3107,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -3323,7 +3328,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -4953,7 +4959,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -5191,7 +5198,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -10463,7 +10471,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -12333,7 +12342,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -18890,7 +18900,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -19002,7 +19013,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -19163,7 +19175,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -20141,7 +20154,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -20253,7 +20267,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -21084,7 +21099,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -21196,7 +21212,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -21604,7 +21621,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -21716,7 +21734,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -22488,7 +22507,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -22557,7 +22577,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -22700,7 +22721,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -29290,7 +29312,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -30983,7 +31006,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -33804,7 +33828,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -35307,7 +35332,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -35552,7 +35578,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -36339,7 +36366,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -36641,7 +36669,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -37263,7 +37292,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -38267,7 +38297,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -38535,7 +38566,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -39489,7 +39521,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -40409,7 +40442,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -42547,7 +42581,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -42564,7 +42599,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -44103,7 +44139,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -44120,7 +44157,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -46007,7 +46045,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -46024,7 +46063,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -47271,7 +47311,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -47288,7 +47329,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -50144,7 +50186,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -50400,7 +50443,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -50468,7 +50512,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -50720,7 +50765,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -50910,7 +50956,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -52780,7 +52827,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -52848,7 +52896,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -53100,7 +53149,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -53176,7 +53226,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -53884,7 +53935,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -54140,7 +54192,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -54208,7 +54261,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -54460,7 +54514,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -56268,7 +56323,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -56524,7 +56580,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -56592,7 +56649,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -56844,7 +56902,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -58695,7 +58754,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -58949,7 +59009,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -59017,7 +59078,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -59269,7 +59331,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -59345,7 +59408,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -61261,7 +61325,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -61329,7 +61394,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -61581,7 +61647,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -61939,7 +62006,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -62007,7 +62075,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -62259,7 +62328,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -63388,7 +63458,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -63456,7 +63527,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -63708,7 +63780,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -63781,7 +63854,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -64052,7 +64126,8 @@ }, "type": "object" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -64120,7 +64195,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -64372,7 +64448,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -67379,7 +67456,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -68062,7 +68140,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -68230,7 +68309,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -68309,7 +68389,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -69007,7 +69088,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -73908,7 +73990,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -74591,7 +74674,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -74759,7 +74843,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -74838,7 +74923,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -79423,7 +79509,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -80106,7 +80193,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -80274,7 +80362,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -80353,7 +80442,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -84879,7 +84969,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -85562,7 +85653,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -85730,7 +85822,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -85809,7 +85902,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -90289,7 +90383,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -90972,7 +91067,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -91140,7 +91236,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -91219,7 +91316,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -95758,7 +95856,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -96441,7 +96540,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -96609,7 +96709,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -96688,7 +96789,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -101511,7 +101613,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -102009,7 +102112,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -104164,7 +104268,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -104847,7 +104952,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -105015,7 +105121,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -105094,7 +105201,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -108914,7 +109022,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -109597,7 +109706,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -109765,7 +109875,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -109844,7 +109955,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true }, { "conflict": {}, @@ -112168,7 +112280,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -112185,7 +112298,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -112744,7 +112858,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -112761,7 +112876,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -113320,7 +113436,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -113337,7 +113454,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -114241,7 +114359,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -114454,7 +114573,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -114659,7 +114779,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -114865,7 +114986,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], @@ -115070,7 +115192,8 @@ "groupName": [], "type": "optional" }, - "audiences": [] + "audiences": [], + "inline": true } ], "allOfPropertyConflicts": [], diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/apiture.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/apiture.json index 0c12db90011..79f78211b7f 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/apiture.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/apiture.json @@ -2095,6 +2095,7 @@ The client can use this value to localize the `items[].time` values to the local "createdOn": { "availability": "deprecated", "docs": "The date when the transaction occurred in `YYYY-MM-DD` [RFC 3339](https://tools.ietf.org/html/rfc3339) `date` format. This is derived and immutable.
**Warning**: The property `createdOn` was deprecated on version `v2.1.0` of the schema. Use the `occurredOn` property instead. `createdOn` will be removed on version `v3.0.0` of the schema.", + "inline": undefined, "type": "optional", "validation": { "format": "date", @@ -2153,6 +2154,7 @@ The client can use this value to localize the `items[].time` values to the local "postedOn": { "availability": "deprecated", "docs": "The date when this transaction was posted (cleared and applied to the account balance) in [RFC 3339](https://tools.ietf.org/html/rfc3339) date `YYYY-MM-DD` format, UTC. This is derived and immutable and only present if `posted` is `true`.
**Warning**: The property `postedOn` was deprecated on version `v2.1.0` of the schema. Use the `occurredOn` property instead. `postedOn` will be removed on version `v3.0.0` of the schema.", + "inline": undefined, "type": "optional", "validation": { "format": "date", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/aries.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/aries.json index a2ba8aa0d7c..a916f8ae779 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/aries.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/aries.json @@ -125,6 +125,7 @@ "properties": { "config": { "docs": "Configuration settings", + "inline": true, "type": "optional", }, }, @@ -158,6 +159,7 @@ "properties": { "conductor": { "docs": "Conductor statistics", + "inline": true, "type": "optional", }, "label": { @@ -166,6 +168,7 @@ }, "timing": { "docs": "Timing results", + "inline": true, "type": "optional", }, "version": { @@ -431,21 +434,27 @@ "docs": undefined, "properties": { "jwt": { + "inline": true, "type": "optional", }, "jwt_vc": { + "inline": true, "type": "optional", }, "jwt_vp": { + "inline": true, "type": "optional", }, "ldp": { + "inline": true, "type": "optional", }, "ldp_vc": { + "inline": true, "type": "optional", }, "ldp_vp": { + "inline": true, "type": "optional", }, }, @@ -723,6 +732,7 @@ "properties": { "results": { "docs": "Dictionary of metadata associated with connection.", + "inline": true, "type": "optional", }, }, @@ -889,6 +899,7 @@ }, "settings": { "docs": "Settings for this wallet.", + "inline": true, "type": "optional", }, "state": { @@ -1085,6 +1096,7 @@ "properties": { "rev_reg_delta": { "docs": "Indy revocation registry delta", + "inline": true, "type": "optional", }, }, @@ -1589,10 +1601,12 @@ }, "record_ids": { "docs": "Mapping of input_descriptor id to list of stored W3C credential record_id", + "inline": true, "type": "optional", }, "reveal_doc": { "docs": "reveal doc [JSON-LD frame] dict used to derive the credential when selective disclosure is required", + "inline": true, "type": "optional", }, }, @@ -1726,6 +1740,7 @@ "properties": { "credential": { "docs": "Credential to sign", + "inline": true, "type": "DocCredential", }, "options": "DocOptions", @@ -2093,10 +2108,12 @@ "properties": { "blinded_ms": { "docs": "Blinded master secret", + "inline": true, "type": "IndyCredRequestBlindedMs", }, "blinded_ms_correctness_proof": { "docs": "Blinded master secret correctness proof", + "inline": true, "type": "IndyCredRequestBlindedMsCorrectnessProof", }, "cred_def_id": { @@ -2163,6 +2180,7 @@ }, "rev_reg": { "docs": "Revocation registry state", + "inline": true, "type": "optional", }, "rev_reg_id": { @@ -2187,10 +2205,12 @@ }, "signature": { "docs": "Credential signature", + "inline": true, "type": "signature", }, "signature_correctness_proof": { "docs": "Credential signature correctness proof", + "inline": true, "type": "IndyCredentialSignatureCorrectnessProof", }, "values": { @@ -2199,6 +2219,7 @@ }, "witness": { "docs": "Witness for revocation proof", + "inline": true, "type": "optional", }, }, @@ -2908,10 +2929,12 @@ }, "self_attested_attrs": { "docs": "Proof requested proof self-attested attributes", + "inline": true, "type": "optional", }, "unrevealed_attrs": { "docs": "Unrevealed attributes", + "inline": true, "type": "optional", }, }, @@ -3194,6 +3217,7 @@ }, "metadata": { "docs": "Metadata dictionary", + "inline": true, "type": "optional", }, "name": { @@ -3551,6 +3575,7 @@ }, "filter": { "docs": "Query dictionary object", + "inline": true, "type": "optional", }, "paginate": { @@ -4355,10 +4380,12 @@ "properties": { "did_document": { "docs": "DID Document", + "inline": true, "type": "ResolutionResultDidDocument", }, "metadata": { "docs": "Resolution metadata", + "inline": true, "type": "ResolutionResultMetadata", }, }, @@ -4415,14 +4442,17 @@ "properties": { "accum_calculated": { "docs": "Calculated accumulator for phantom revocations", + "inline": true, "type": "optional", }, "accum_fixed": { "docs": "Applied ledger transaction to fix revocations", + "inline": true, "type": "optional", }, "rev_reg_delta": { "docs": "Indy revocation registry delta", + "inline": true, "type": "optional", }, }, @@ -4676,6 +4706,7 @@ }, "signed_doc": { "docs": "Signed document", + "inline": true, "type": "optional", }, }, @@ -4923,6 +4954,7 @@ "type": "optional>", }, "meta_data": { + "inline": true, "type": "optional", }, "signature_request": { @@ -4940,6 +4972,7 @@ "type": "optional", }, "timing": { + "inline": true, "type": "optional", }, "trace": { @@ -5163,6 +5196,7 @@ }, "credential_request_metadata": { "docs": "(Indy) credential request metadata", + "inline": true, "type": "optional", }, "error_msg": { @@ -5679,15 +5713,19 @@ "docs": undefined, "properties": { "cred_issue": { + "inline": true, "type": "optional", }, "cred_offer": { + "inline": true, "type": "optional", }, "cred_proposal": { + "inline": true, "type": "optional", }, "cred_request": { + "inline": true, "type": "optional", }, }, @@ -5791,6 +5829,7 @@ }, "cred_request_metadata": { "docs": "Credential request metadata for indy holder", + "inline": true, "type": "optional", }, "cred_rev_id": { @@ -6412,12 +6451,15 @@ "docs": undefined, "properties": { "pres": { + "inline": true, "type": "optional", }, "pres_proposal": { + "inline": true, "type": "optional", }, "pres_request": { + "inline": true, "type": "optional", }, }, @@ -6666,6 +6708,7 @@ }, "cred_value": { "docs": "(JSON-serializable) credential value", + "inline": true, "type": "optional", }, "expanded_types": { @@ -6764,6 +6807,7 @@ }, "settings": { "docs": "Settings for this wallet.", + "inline": true, "type": "optional", }, "state": { @@ -6983,6 +7027,7 @@ types: config: type: optional docs: Configuration settings + inline: true source: openapi: ../openapi.yml AdminModules: @@ -7009,12 +7054,14 @@ types: conductor: type: optional docs: Conductor statistics + inline: true label: type: optional docs: Default label timing: type: optional docs: Timing results + inline: true version: type: optional docs: Version code @@ -7183,16 +7230,22 @@ types: properties: jwt: type: optional + inline: true jwt_vc: type: optional + inline: true jwt_vp: type: optional + inline: true ldp: type: optional + inline: true ldp_vc: type: optional + inline: true ldp_vp: type: optional + inline: true source: openapi: ../openapi.yml ConnRecordAccept: @@ -7366,6 +7419,7 @@ types: results: type: optional docs: Dictionary of metadata associated with connection. + inline: true source: openapi: ../openapi.yml ConnectionModuleResponse: map @@ -7480,6 +7534,7 @@ types: settings: type: optional docs: Settings for this wallet. + inline: true state: type: optional docs: Current record state @@ -7590,6 +7645,7 @@ types: rev_reg_delta: type: optional docs: Indy revocation registry delta + inline: true source: openapi: ../openapi.yml CredRevRecordDetailsResult: @@ -7950,11 +8006,13 @@ types: docs: >- Mapping of input_descriptor id to list of stored W3C credential record_id + inline: true reveal_doc: type: optional docs: >- reveal doc [JSON-LD frame] dict used to derive the credential when selective disclosure is required + inline: true source: openapi: ../openapi.yml DIFProofProposal: @@ -8009,6 +8067,7 @@ types: credential: type: DocCredential docs: Credential to sign + inline: true options: DocOptions source: openapi: ../openapi.yml @@ -8224,9 +8283,11 @@ types: blinded_ms: type: IndyCredRequestBlindedMs docs: Blinded master secret + inline: true blinded_ms_correctness_proof: type: IndyCredRequestBlindedMsCorrectnessProof docs: Blinded master secret correctness proof + inline: true cred_def_id: type: string docs: Credential definition identifier @@ -8277,6 +8338,7 @@ types: rev_reg: type: optional docs: Revocation registry state + inline: true rev_reg_id: type: optional docs: Revocation registry identifier @@ -8292,15 +8354,18 @@ types: signature: type: signature docs: Credential signature + inline: true signature_correctness_proof: type: IndyCredentialSignatureCorrectnessProof docs: Credential signature correctness proof + inline: true values: type: map docs: Credential attributes witness: type: optional docs: Witness for revocation proof + inline: true source: openapi: ../openapi.yml IndyEQProof: @@ -8711,9 +8776,11 @@ types: self_attested_attrs: type: optional docs: Proof requested proof self-attested attributes + inline: true unrevealed_attrs: type: optional docs: Unrevealed attributes + inline: true source: openapi: ../openapi.yml IndyProofRequestedProofPredicate: @@ -8883,6 +8950,7 @@ types: metadata: type: optional docs: Metadata dictionary + inline: true name: type: optional docs: Name @@ -9116,6 +9184,7 @@ types: filter: type: optional docs: Query dictionary object + inline: true paginate: type: optional source: @@ -9652,9 +9721,11 @@ types: did_document: type: ResolutionResultDidDocument docs: DID Document + inline: true metadata: type: ResolutionResultMetadata docs: Resolution metadata + inline: true source: openapi: ../openapi.yml RevRegIssuedResult: @@ -9692,12 +9763,15 @@ types: accum_calculated: type: optional docs: Calculated accumulator for phantom revocations + inline: true accum_fixed: type: optional docs: Applied ledger transaction to fix revocations + inline: true rev_reg_delta: type: optional docs: Indy revocation registry delta + inline: true source: openapi: ../openapi.yml RevRegsCreated: @@ -9837,6 +9911,7 @@ types: signed_doc: type: optional docs: Signed document + inline: true source: openapi: ../openapi.yml SignatureOptions: @@ -10011,6 +10086,7 @@ types: type: optional> meta_data: type: optional + inline: true signature_request: type: optional> signature_response: @@ -10023,6 +10099,7 @@ types: docs: Thread Identifier timing: type: optional + inline: true trace: type: optional docs: Record trace information, based on agent configuration @@ -10144,6 +10221,7 @@ types: credential_request_metadata: type: optional docs: (Indy) credential request metadata + inline: true error_msg: type: optional docs: Error message @@ -10493,12 +10571,16 @@ types: properties: cred_issue: type: optional + inline: true cred_offer: type: optional + inline: true cred_proposal: type: optional + inline: true cred_request: type: optional + inline: true source: openapi: ../openapi.yml V20CredExRecordDetail: @@ -10537,6 +10619,7 @@ types: cred_request_metadata: type: optional docs: Credential request metadata for indy holder + inline: true cred_rev_id: type: optional docs: Credential revocation identifier within revocation registry @@ -10934,10 +11017,13 @@ types: properties: pres: type: optional + inline: true pres_proposal: type: optional + inline: true pres_request: type: optional + inline: true source: openapi: ../openapi.yml V20PresExRecordList: @@ -11027,6 +11113,7 @@ types: cred_value: type: optional docs: (JSON-serializable) credential value + inline: true expanded_types: type: optional> given_id: @@ -11095,6 +11182,7 @@ types: settings: type: optional docs: Settings for this wallet. + inline: true state: type: optional docs: Current record state diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/assembly.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/assembly.json index 873ec3fce50..37e3055f359 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/assembly.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/assembly.json @@ -1058,6 +1058,7 @@ Can be any value between 0.0 and 1.0 inclusive. "acoustic_model": { "availability": "deprecated", "docs": "The acoustic model that was used for the transcription", + "inline": undefined, "type": "string", }, "audio_duration": { @@ -1185,6 +1186,7 @@ The default value is 'en_us'. "language_model": { "availability": "deprecated", "docs": "The language model that was used for the transcription", + "inline": undefined, "type": "string", }, "punctuate": { @@ -1244,6 +1246,7 @@ Valid values are in the range [0, 1] inclusive. "speed_boost": { "availability": "deprecated", "docs": "Whether speed boost was enabled in the transcription request", + "inline": undefined, "type": "optional", }, "status": { diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/axle.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/axle.json index e30fe4b42d1..d1e6db18881 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/axle.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/axle.json @@ -941,7 +941,10 @@ service: "StartIgnitionResponse": { "docs": "", "properties": { - "data": "StartIgnitionResponseData", + "data": { + "inline": true, + "type": "StartIgnitionResponseData", + }, "success": { "type": "root.Success", }, @@ -986,7 +989,9 @@ types: properties: success: type: root.Success - data: StartIgnitionResponseData + data: + type: StartIgnitionResponseData + inline: true source: openapi: ../openapi.yml service: @@ -1356,7 +1361,10 @@ Auth codes are ephemeral and expire after 10 minutes, while accessTokens do not "ExchangeTokenResponse": { "docs": "", "properties": { - "data": "ExchangeTokenResponseData", + "data": { + "inline": true, + "type": "ExchangeTokenResponseData", + }, "success": { "type": "root.Success", }, @@ -1413,7 +1421,9 @@ types: properties: success: type: root.Success - data: ExchangeTokenResponseData + data: + type: ExchangeTokenResponseData + inline: true source: openapi: ../openapi.yml service: diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/belvo.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/belvo.json index 2654a04520c..cfb4eda0f63 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/belvo.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/belvo.json @@ -187,6 +187,7 @@ For `access_to_resource_denied` errors, the description is: *The institution's product ID for the account type.* ", + "inline": undefined, "type": "optional", }, "category": "optional", @@ -229,6 +230,7 @@ For `access_to_resource_denied` errors, the description is: *The institution's internal identification for the account.* ", + "inline": undefined, "type": "optional", }, "last_accessed_at": { @@ -330,6 +332,7 @@ The amount remaining to pay on the users's loan (same as `loan_data.outstanding_ "availability": "deprecated", "docs": "*This field has been deprecated.* ", + "inline": undefined, "type": "optional", }, "interest_rate": { @@ -343,6 +346,7 @@ The amount remaining to pay on the users's loan (same as `loan_data.outstanding_ *The date when the last credit payment was made.* ", + "inline": undefined, "type": "optional", }, "minimum_payment": { @@ -355,6 +359,7 @@ The amount remaining to pay on the users's loan (same as `loan_data.outstanding_ *The recurrent monthly payment, if applicable.* ", + "inline": undefined, "type": "optional", }, "next_payment_date": { @@ -459,6 +464,7 @@ The amount remaining to pay on the users's loan (same as `loan_data.outstanding_ Please see `principal` instead. ", + "inline": undefined, "type": "optional", }, "cutting_date": { @@ -467,6 +473,7 @@ Please see `principal` instead. The closing date of the loan period. ", + "inline": undefined, "type": "optional", }, "cutting_day": { @@ -475,6 +482,7 @@ The closing date of the loan period. The closing day of the month for the loan. ", + "inline": undefined, "type": "optional", }, "fees": { @@ -487,6 +495,7 @@ The closing day of the month for the loan. Please see the `interest_rates` object instead. ", + "inline": undefined, "type": "optional", }, "interest_rates": { @@ -499,6 +508,7 @@ Please see the `interest_rates` object instead. The date when the last loan payment was made. ", + "inline": undefined, "type": "optional", }, "last_period_balance": { @@ -507,6 +517,7 @@ The date when the last loan payment was made. Please see `outstanding_balance` instead. ", + "inline": undefined, "type": "optional", }, "limit_day": { @@ -515,6 +526,7 @@ Please see `outstanding_balance` instead. Please see `payment_day` instead. ", + "inline": undefined, "type": "optional", }, "loan_type": { @@ -531,6 +543,7 @@ Please see `payment_day` instead. The minimum amount required to pay to avoid generating interest. ", + "inline": undefined, "type": "optional", }, "number_of_installments_outstanding": { @@ -819,12 +832,14 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro The ISO-8601 timestamp when the data point was collected. ", + "inline": undefined, "type": "optional", }, "current_balance": { "availability": "deprecated", "docs": "*This field has been deprecated. Please use the `balance` field instead.* ", + "inline": undefined, "type": "optional", }, "id": { @@ -843,6 +858,7 @@ The ISO-8601 timestamp when the data point was collected. *The ID of the banking statement used to extract the `balance`.* ", + "inline": undefined, "type": "optional", }, "value_date": { @@ -5170,6 +5186,7 @@ For example: If the invoice is paid in installments, this field indicates the da "availability": "deprecated", "docs": "The description of the payment method used for this invoice. ", + "inline": undefined, "type": "optional", }, "payment_type": { @@ -5475,6 +5492,7 @@ For detailed information regarding DIAN's tax schemes, please see their [officia *The description of the payment method used for this invoice.* ", + "inline": undefined, "type": "optional", }, "payment_type": { @@ -5488,6 +5506,7 @@ For detailed information regarding DIAN's tax schemes, please see their [officia "availability": "deprecated", "docs": "*This field has been deprecated.* ", + "inline": undefined, "type": "optional", }, "payments": { @@ -5505,6 +5524,7 @@ For detailed information regarding DIAN's tax schemes, please see their [officia "availability": "deprecated", "docs": "This field has been deprecated. Please use `receiver_tax_fraud_status` instead. ", + "inline": undefined, "type": "optional", }, "receiver_id": { @@ -5527,6 +5547,7 @@ Possible statuses are: "availability": "deprecated", "docs": "This field has been deprecated. Please use `sender_tax_fraud_status` instead. ", + "inline": undefined, "type": "optional", }, "sender_id": { @@ -6656,6 +6677,7 @@ For `not_found` errors, the description is: *The first name of the account owner.* ", + "inline": undefined, "type": "optional", }, "id": { @@ -6678,6 +6700,7 @@ For `not_found` errors, the description is: *The last name of the account owner.* ", + "inline": undefined, "type": "optional", }, "link": { @@ -6700,6 +6723,7 @@ For `not_found` errors, the description is: *The second last name of the account owner.* ", + "inline": undefined, "type": "optional", }, }, @@ -7002,6 +7026,7 @@ When set to `false`, the data won't be persisted and we return a 200 OK response "docs": "An array of charge objects related to this paymnet intent. If no charges are associated, we return an empty array. **Note**: The charges resource will be deprecated and removed from our API by end of Q1 2023. We recommend not using any data from this resource.", + "inline": undefined, "type": "optional>", }, "created_at": { @@ -7302,6 +7327,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro "docs": "An array of charge objects related to this paymnet intent. If no charges are associated, we return an empty array. **Note**: The charges resource will be deprecated and removed from our API by end of Q1 2023. We recommend not using any data from this resource.", + "inline": undefined, "type": "optional>", }, "created_at": { diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/buzzshot.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/buzzshot.json index 52ae34cb367..771f63d4430 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/buzzshot.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/buzzshot.json @@ -10,7 +10,10 @@ "docs": undefined, "properties": { "added_at": "optional", - "complete": "GameComplete", + "complete": { + "inline": true, + "type": "GameComplete", + }, "date": { "type": "string", "validation": { @@ -126,7 +129,10 @@ "docs": undefined, "properties": { "added_at": "optional", - "complete": "GroupGamesItemComplete", + "complete": { + "inline": true, + "type": "GroupGamesItemComplete", + }, "date": { "type": "string", "validation": { @@ -429,7 +435,9 @@ room: optional photos: optional> extra_fields: list - complete: GameComplete + complete: + type: GameComplete + inline: true source: openapi: ../openapi.yml GroupGamesItemExtraFieldsItem: @@ -466,7 +474,9 @@ start_at: optional room: optional extra_fields: list - complete: GroupGamesItemComplete + complete: + type: GroupGamesItemComplete + inline: true source: openapi: ../openapi.yml GroupPlayersItemExtraFieldsItem: diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/deel.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/deel.json index 15bfe45a120..271209d9cc8 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/deel.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/deel.json @@ -102,10 +102,19 @@ "properties": { "agreement_title": "string", "agreement_type": "string", - "client_legal_entity": "AgreementClientLegalEntity", + "client_legal_entity": { + "inline": true, + "type": "AgreementClientLegalEntity", + }, "id": "double", - "msa": "AgreementMsa", - "provider_legal_entity": "AgreementProviderLegalEntity", + "msa": { + "inline": true, + "type": "AgreementMsa", + }, + "provider_legal_entity": { + "inline": true, + "type": "AgreementProviderLegalEntity", + }, }, "source": { "openapi": "../openapi.yml", @@ -293,23 +302,38 @@ "docs": undefined, "properties": { "attachment": "optional", - "contract": "BasicInvoiceAdjustmentContract", + "contract": { + "inline": true, + "type": "BasicInvoiceAdjustmentContract", + }, "created_at": "optional", "currency_code": "CurrencyCodeRequired", "custom_scale": "optional", "date_submitted": "optional", "description": "string", "id": "UniqueObjectIdentifier", - "payment_cycle": "BasicInvoiceAdjustmentPaymentCycle", + "payment_cycle": { + "inline": true, + "type": "BasicInvoiceAdjustmentPaymentCycle", + }, "public_id": "optional", "quantity": "optional", - "reported_by": "BasicInvoiceAdjustmentReportedBy", - "reviewed_by": "optional", + "reported_by": { + "inline": true, + "type": "BasicInvoiceAdjustmentReportedBy", + }, + "reviewed_by": { + "inline": true, + "type": "optional", + }, "scale": "optional", "status": "optional", "total_amount": "string", "type": "InvoiceAdjustmentTypeEnum", - "worksheet": "optional", + "worksheet": { + "inline": true, + "type": "optional", + }, }, "source": { "openapi": "../openapi.yml", @@ -458,18 +482,30 @@ "docs": undefined, "properties": { "attachment": "optional", - "contract": "BasicTimesheetContract", + "contract": { + "inline": true, + "type": "BasicTimesheetContract", + }, "created_at": "string", "currency_code": "CurrencyCodeRequired", "custom_scale": "optional", "date_submitted": "optional", "description": "string", "id": "UniqueObjectIdentifier", - "payment_cycle": "optional", + "payment_cycle": { + "inline": true, + "type": "optional", + }, "public_id": "optional", "quantity": "optional", - "reported_by": "BasicTimesheetReportedBy", - "reviewed_by": "optional", + "reported_by": { + "inline": true, + "type": "BasicTimesheetReportedBy", + }, + "reviewed_by": { + "inline": true, + "type": "optional", + }, "scale": "optional", "status": "optional", "total_amount": { @@ -480,7 +516,10 @@ "docs": "Deprecated - it is always "work"", "type": "string", }, - "worksheet": "optional", + "worksheet": { + "inline": true, + "type": "optional", + }, }, "source": { "openapi": "../openapi.yml", @@ -1380,7 +1419,10 @@ "ContractToCreateShared": { "docs": "Details of contract to create", "properties": { - "client": "ContractToCreateSharedClient", + "client": { + "inline": true, + "type": "ContractToCreateSharedClient", + }, "country_code": "optional", "external_id": { "docs": "External Id.", @@ -1388,6 +1430,7 @@ }, "job_title": { "docs": "Worker's job title. You can enter a custom job title or use a pre-defiled job title using the Id retrieved in job-titles endpoint.", + "inline": true, "type": "ContractToCreateSharedJobTitle", }, "meta": "MetaDataOfContractToCreate", @@ -1398,6 +1441,7 @@ }, "seniority": { "docs": "Job seniority level. Please use the seniority levels endpoint to retrieve the list of seniority levels.", + "inline": true, "type": "optional", }, "special_clause": { @@ -1417,6 +1461,7 @@ "who_reports": "optional", "worker": { "docs": "Worker properties", + "inline": true, "type": "optional", }, }, @@ -1429,10 +1474,12 @@ "properties": { "legal_entity": { "docs": "Choose the Deel legal entity for this contract. Use legal entity endpoint to retrieve a list of legal entities in your organization.", + "inline": true, "type": "ContractToCreateSharedClientLegalEntity", }, "team": { "docs": "Choose the Deel team for this contract. Use teams endpoint to retrieve a list of teams in your organization.", + "inline": true, "type": "ContractToCreateSharedClientTeam", }, }, @@ -1836,7 +1883,10 @@ "docs": undefined, "properties": { "birth_date": "optional", - "client_legal_entity": "optional", + "client_legal_entity": { + "inline": true, + "type": "optional", + }, "completion_date": "optional", "country": "optional", "email": "optional", @@ -1848,7 +1898,10 @@ "id": "optional", "job_title": "optional", "last_name": "optional", - "monthly_payment": "optional", + "monthly_payment": { + "inline": true, + "type": "optional", + }, "payments": "optional>", "personal_email": "optional", "pic_url": "optional", @@ -2071,12 +2124,27 @@ "EorContractCreated": { "docs": undefined, "properties": { - "client": "optional", - "compensation_details": "optional", + "client": { + "inline": true, + "type": "optional", + }, + "compensation_details": { + "inline": true, + "type": "optional", + }, "created_at": "optional", - "employee": "optional", - "employment": "optional", - "health_plan": "optional", + "employee": { + "inline": true, + "type": "optional", + }, + "employment": { + "inline": true, + "type": "optional", + }, + "health_plan": { + "inline": true, + "type": "optional", + }, "id": { "docs": "Id of the contract quote created", "type": "optional", @@ -2096,7 +2164,10 @@ "EorContractCreatedClient": { "docs": undefined, "properties": { - "legal_entity": "optional", + "legal_entity": { + "inline": true, + "type": "optional", + }, }, "source": { "openapi": "../openapi.yml", @@ -2228,10 +2299,22 @@ "EorContractToCreate": { "docs": undefined, "properties": { - "client": "EorContractToCreateClient", - "compensation_details": "EorContractToCreateCompensationDetails", - "employee": "optional", - "employment": "EorContractToCreateEmployment", + "client": { + "inline": true, + "type": "EorContractToCreateClient", + }, + "compensation_details": { + "inline": true, + "type": "EorContractToCreateCompensationDetails", + }, + "employee": { + "inline": true, + "type": "optional", + }, + "employment": { + "inline": true, + "type": "EorContractToCreateEmployment", + }, "health_plan_id": { "docs": "Healthare plan Id. You can see available healthcare plans in the country guide endpoint.", "type": "optional", @@ -2242,9 +2325,13 @@ }, "quote_additional_fields": { "docs": "Some countries require additional employee information for employment contracts.", + "inline": true, "type": "optional", }, - "seniority": "EorContractToCreateSeniority", + "seniority": { + "inline": true, + "type": "EorContractToCreateSeniority", + }, }, "source": { "openapi": "../openapi.yml", @@ -2253,8 +2340,14 @@ "EorContractToCreateClient": { "docs": undefined, "properties": { - "legal_entity": "optional", - "team": "optional", + "legal_entity": { + "inline": true, + "type": "optional", + }, + "team": { + "inline": true, + "type": "optional", + }, }, "source": { "openapi": "../openapi.yml", @@ -2311,7 +2404,10 @@ "EorContractToCreateEmployee": { "docs": undefined, "properties": { - "address": "optional", + "address": { + "inline": true, + "type": "optional", + }, "email": { "docs": "Employee's email address.", "type": "optional", @@ -2479,15 +2575,20 @@ }, "definite_contract": { "docs": "Conditions to make definitive contract.", + "inline": true, "type": "optional", }, - "health_insurance": "optional", + "health_insurance": { + "inline": true, + "type": "optional", + }, "hiring_guide_country_name": { "docs": "Country name.", "type": "optional", }, "holiday": { "docs": "Range of the number of holidays.", + "inline": true, "type": "optional", }, "insurance_fee": { @@ -2496,27 +2597,35 @@ }, "part_time_holiday": { "docs": "Holiday type and range for part-time contracts.", + "inline": true, "type": "optional", }, "part_time_probation": { "docs": "Probation period range for part-time contracts.", + "inline": true, "type": "optional", }, "probation": { "docs": "Probation period range.", + "inline": true, "type": "optional", }, "salary": { "docs": "Salary range.", + "inline": true, "type": "optional", }, - "sick_days": "optional", + "sick_days": { + "inline": true, + "type": "optional", + }, "start_date_buffer": { "docs": "Calculate employee's minimum start date using the start date buffer. Today's date + (number of business days x start_date_buffer) = Minimum start date.", "type": "optional", }, "work_schedule": { "docs": "Employee's Work schedule in days and hours.", + "inline": true, "type": "optional", }, }, @@ -2665,8 +2774,14 @@ "EorCountryValidationsWorkSchedule": { "docs": "Employee's Work schedule in days and hours.", "properties": { - "days": "optional", - "hours": "optional", + "days": { + "inline": true, + "type": "optional", + }, + "hours": { + "inline": true, + "type": "optional", + }, }, "source": { "openapi": "../openapi.yml", @@ -2947,7 +3062,10 @@ "EstimateFirstPayment": { "docs": "Details of pro rata payment to create.", "properties": { - "compensation_details": "EstimateFirstPaymentCompensationDetails", + "compensation_details": { + "inline": true, + "type": "EstimateFirstPaymentCompensationDetails", + }, "country_code": "CountryCode", "start_date": "DateStringRequired", "type": "ContractTypeEnum", @@ -3193,7 +3311,10 @@ "GenericResultCreated": { "docs": undefined, "properties": { - "data": "GenericResultCreatedData", + "data": { + "inline": true, + "type": "GenericResultCreatedData", + }, }, "source": { "openapi": "../openapi.yml", @@ -3211,7 +3332,10 @@ "GenericResultDeleted": { "docs": undefined, "properties": { - "data": "GenericResultDeletedData", + "data": { + "inline": true, + "type": "GenericResultDeletedData", + }, }, "source": { "openapi": "../openapi.yml", @@ -3232,7 +3356,10 @@ "GenericResultUpdated": { "docs": undefined, "properties": { - "data": "GenericResultUpdatedData", + "data": { + "inline": true, + "type": "GenericResultUpdatedData", + }, }, "source": { "openapi": "../openapi.yml", @@ -3417,7 +3544,10 @@ "employee_details": "HrisDirectEmployeeDetails", "job_information": "HrisDirectEmployeeJobInformation", "team_information": "HrisTeamInformation", - "vacation_info": "optional", + "vacation_info": { + "inline": true, + "type": "optional", + }, }, "source": { "openapi": "../openapi.yml", @@ -3626,7 +3756,10 @@ "InputToShieldContract": { "docs": undefined, "properties": { - "data": "InputToShieldContractData", + "data": { + "inline": true, + "type": "InputToShieldContractData", + }, }, "source": { "openapi": "../openapi.yml", @@ -4184,7 +4317,10 @@ "docs": undefined, "properties": { "data": "JobTitleList", - "page": "JobTitleListContainerPage", + "page": { + "inline": true, + "type": "JobTitleListContainerPage", + }, }, "source": { "openapi": "../openapi.yml", @@ -4258,10 +4394,12 @@ }, "reported_by": { "docs": "Milestone creator.", + "inline": true, "type": "MilestoneReportedBy", }, "reviewed_by": { "docs": "Reviewer's information.", + "inline": true, "type": "optional", }, "status": { @@ -4520,8 +4658,14 @@ }, "id": "UniqueObjectIdentifier", "public_id": "optional", - "reported_by": "OffCyclePaymentReportedBy", - "reviewed_by": "optional", + "reported_by": { + "inline": true, + "type": "OffCyclePaymentReportedBy", + }, + "reviewed_by": { + "inline": true, + "type": "optional", + }, "status": "optional", }, "source": { @@ -5274,9 +5418,18 @@ "docs": "Deel Premium plan id.", "type": "string", }, - "misclassification_guarantee": "PremiumResultAddedMisclassificationGuarantee", - "penalties": "PremiumResultAddedPenalties", - "third_party_liabilities": "PremiumResultAddedThirdPartyLiabilities", + "misclassification_guarantee": { + "inline": true, + "type": "PremiumResultAddedMisclassificationGuarantee", + }, + "penalties": { + "inline": true, + "type": "PremiumResultAddedPenalties", + }, + "third_party_liabilities": { + "inline": true, + "type": "PremiumResultAddedThirdPartyLiabilities", + }, }, "source": { "openapi": "../openapi.yml", @@ -5765,7 +5918,10 @@ "docs": undefined, "properties": { "integration": "string", - "mapping_category": "optional", + "mapping_category": { + "inline": true, + "type": "optional", + }, }, "source": { "openapi": "../openapi.yml", @@ -6966,11 +7122,13 @@ docs: >- Choose the Deel legal entity for this contract. Use legal entity endpoint to retrieve a list of legal entities in your organization. + inline: true team: type: ContractToCreateSharedClientTeam docs: >- Choose the Deel team for this contract. Use teams endpoint to retrieve a list of teams in your organization. + inline: true source: openapi: ../openapi.yml ContractToCreateSharedJobTitle: @@ -7032,17 +7190,21 @@ docs: Enter any special clause you may have. start_date: optional termination_date: optional - client: ContractToCreateSharedClient + client: + type: ContractToCreateSharedClient + inline: true job_title: type: ContractToCreateSharedJobTitle docs: >- Worker's job title. You can enter a custom job title or use a pre-defiled job title using the Id retrieved in job-titles endpoint. + inline: true seniority: type: optional docs: >- Job seniority level. Please use the seniority levels endpoint to retrieve the list of seniority levels. + inline: true notice_period: optional who_reports: optional meta: MetaDataOfContractToCreate @@ -7052,6 +7214,7 @@ worker: type: optional docs: Worker properties + inline: true source: openapi: ../openapi.yml MetaDataOfContractToCreate: @@ -7327,11 +7490,21 @@ scale: optional custom_scale: optional attachment: optional - worksheet: optional - reviewed_by: optional - contract: BasicTimesheetContract - payment_cycle: optional - reported_by: BasicTimesheetReportedBy + worksheet: + type: optional + inline: true + reviewed_by: + type: optional + inline: true + contract: + type: BasicTimesheetContract + inline: true + payment_cycle: + type: optional + inline: true + reported_by: + type: BasicTimesheetReportedBy + inline: true source: openapi: ../openapi.yml TimesheetContainer: @@ -7536,7 +7709,9 @@ TimesheetAccountingRefsItem: properties: integration: string - mapping_category: optional + mapping_category: + type: optional + inline: true source: openapi: ../openapi.yml TimesheetAccountingRefs: optional> @@ -7667,11 +7842,21 @@ scale: optional custom_scale: optional attachment: optional - worksheet: optional - reviewed_by: optional - contract: BasicInvoiceAdjustmentContract - payment_cycle: BasicInvoiceAdjustmentPaymentCycle - reported_by: BasicInvoiceAdjustmentReportedBy + worksheet: + type: optional + inline: true + reviewed_by: + type: optional + inline: true + contract: + type: BasicInvoiceAdjustmentContract + inline: true + payment_cycle: + type: BasicInvoiceAdjustmentPaymentCycle + inline: true + reported_by: + type: BasicInvoiceAdjustmentReportedBy + inline: true source: openapi: ../openapi.yml InvoiceAdjustmentContainer: @@ -7793,7 +7978,9 @@ openapi: ../openapi.yml GenericResultCreated: properties: - data: GenericResultCreatedData + data: + type: GenericResultCreatedData + inline: true source: openapi: ../openapi.yml ContractExternalIdPatchedResponseContainer: ContractExternalIdToPatch @@ -7809,7 +7996,9 @@ openapi: ../openapi.yml GenericResultUpdated: properties: - data: GenericResultUpdatedData + data: + type: GenericResultUpdatedData + inline: true source: openapi: ../openapi.yml GenericResultDeletedData: @@ -7821,7 +8010,9 @@ openapi: ../openapi.yml GenericResultDeleted: properties: - data: GenericResultDeletedData + data: + type: GenericResultDeletedData + inline: true source: openapi: ../openapi.yml ContractTypeEnumList: @@ -8086,7 +8277,9 @@ JobTitleListContainer: properties: data: JobTitleList - page: JobTitleListContainerPage + page: + type: JobTitleListContainerPage + inline: true source: openapi: ../openapi.yml JobTitleList: list @@ -8334,9 +8527,11 @@ reviewed_by: type: optional docs: Reviewer's information. + inline: true reported_by: type: MilestoneReportedBy docs: Milestone creator. + inline: true title: type: string docs: Title of milestone. @@ -8437,7 +8632,9 @@ type: ContractTypeEnum country_code: CountryCode start_date: DateStringRequired - compensation_details: EstimateFirstPaymentCompensationDetails + compensation_details: + type: EstimateFirstPaymentCompensationDetails + inline: true source: openapi: ../openapi.yml ProRataCalculationType: @@ -8533,8 +8730,12 @@ type: string docs: Amount of off-cycle payment. created_at: optional - reviewed_by: optional - reported_by: OffCyclePaymentReportedBy + reviewed_by: + type: optional + inline: true + reported_by: + type: OffCyclePaymentReportedBy + inline: true source: openapi: ../openapi.yml FileAttachmentInfo: @@ -8694,9 +8895,15 @@ id: double agreement_title: string agreement_type: string - msa: AgreementMsa - client_legal_entity: AgreementClientLegalEntity - provider_legal_entity: AgreementProviderLegalEntity + msa: + type: AgreementMsa + inline: true + client_legal_entity: + type: AgreementClientLegalEntity + inline: true + provider_legal_entity: + type: AgreementProviderLegalEntity + inline: true source: openapi: ../openapi.yml InputToShieldContractData: @@ -8708,7 +8915,9 @@ openapi: ../openapi.yml InputToShieldContract: properties: - data: InputToShieldContractData + data: + type: InputToShieldContractData + inline: true source: openapi: ../openapi.yml PremiumToAdd: @@ -8844,9 +9053,15 @@ calculated_premium: type: double docs: Cost for Deel Premium. - misclassification_guarantee: PremiumResultAddedMisclassificationGuarantee - penalties: PremiumResultAddedPenalties - third_party_liabilities: PremiumResultAddedThirdPartyLiabilities + misclassification_guarantee: + type: PremiumResultAddedMisclassificationGuarantee + inline: true + penalties: + type: PremiumResultAddedPenalties + inline: true + third_party_liabilities: + type: PremiumResultAddedThirdPartyLiabilities + inline: true source: openapi: ../openapi.yml EorEntitlements: @@ -9015,7 +9230,9 @@ nationality: type: string docs: Employee's nationality. - address: optional + address: + type: optional + inline: true source: openapi: ../openapi.yml EorContractToCreateEmploymentType: @@ -9103,8 +9320,12 @@ openapi: ../openapi.yml EorContractToCreateClient: properties: - legal_entity: optional - team: optional + legal_entity: + type: optional + inline: true + team: + type: optional + inline: true source: openapi: ../openapi.yml EorContractToCreateCompensationDetails: @@ -9152,19 +9373,30 @@ openapi: ../openapi.yml EorContractToCreate: properties: - employee: optional - employment: EorContractToCreateEmployment + employee: + type: optional + inline: true + employment: + type: EorContractToCreateEmployment + inline: true job_title: type: optional docs: Employee's job title. - seniority: EorContractToCreateSeniority - client: EorContractToCreateClient - compensation_details: EorContractToCreateCompensationDetails + seniority: + type: EorContractToCreateSeniority + inline: true + client: + type: EorContractToCreateClient + inline: true + compensation_details: + type: EorContractToCreateCompensationDetails + inline: true quote_additional_fields: type: optional docs: >- Some countries require additional employee information for employment contracts. + inline: true health_plan_id: type: optional docs: >- @@ -9213,7 +9445,9 @@ openapi: ../openapi.yml EorContractCreatedClient: properties: - legal_entity: optional + legal_entity: + type: optional + inline: true source: openapi: ../openapi.yml EorContractCreatedCompensationDetails: @@ -9269,11 +9503,21 @@ job_title: type: optional docs: Employee's job title. - employment: optional - client: optional - compensation_details: optional - employee: optional - health_plan: optional + employment: + type: optional + inline: true + client: + type: optional + inline: true + compensation_details: + type: optional + inline: true + employee: + type: optional + inline: true + health_plan: + type: optional + inline: true seniority: optional source: openapi: ../openapi.yml @@ -9357,8 +9601,12 @@ EorCountryValidationsWorkSchedule: docs: Employee's Work schedule in days and hours. properties: - days: optional - hours: optional + days: + type: optional + inline: true + hours: + type: optional + inline: true source: openapi: ../openapi.yml EorCountryValidationsDefiniteContractType: @@ -9386,22 +9634,30 @@ holiday: type: optional docs: Range of the number of holidays. + inline: true part_time_holiday: type: optional docs: Holiday type and range for part-time contracts. - sick_days: optional + inline: true + sick_days: + type: optional + inline: true salary: type: optional docs: Salary range. + inline: true probation: type: optional docs: Probation period range. + inline: true part_time_probation: type: optional docs: Probation period range for part-time contracts. + inline: true work_schedule: type: optional docs: Employee's Work schedule in days and hours. + inline: true insurance_fee: type: optional docs: Insurance fee. @@ -9420,10 +9676,13 @@ definite_contract: type: optional docs: Conditions to make definitive contract. + inline: true adjustments_information_box: type: optional docs: Country specific notes and information. - health_insurance: optional + health_insurance: + type: optional + inline: true source: openapi: ../openapi.yml HealthInsuranceProviderAttachmentsItem: @@ -9796,12 +10055,16 @@ job_title: optional payments: optional> hourly_report_total: optional - client_legal_entity: optional + client_legal_entity: + type: optional + inline: true state: optional seniority: optional completion_date: optional hiring_status: optional - monthly_payment: optional + monthly_payment: + type: optional + inline: true source: openapi: ../openapi.yml WebhookItemStatus: @@ -10206,7 +10469,9 @@ job_information: HrisDirectEmployeeJobInformation compensation: HrisCompensation contract: HrisDirectEmployeeContract - vacation_info: optional + vacation_info: + type: optional + inline: true source: openapi: ../openapi.yml HrisDirectEmployeeResponse: diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/flagright.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/flagright.json index 51b778e1009..e11da0bb39e 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/flagright.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/flagright.json @@ -4571,6 +4571,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu "type": "optional", }, "paymentMethodLimits": { + "inline": true, "type": "optional", }, }, @@ -6258,6 +6259,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu type: optional paymentMethodLimits: type: optional + inline: true source: openapi: ../openapi.yml RuleAction: diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/flexport.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/flexport.json index bd92294e044..27b27b95893 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/flexport.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/flexport.json @@ -1095,6 +1095,7 @@ }, "company": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": true, "type": "optional", }, "email": "optional", @@ -1389,6 +1390,7 @@ "manufacturer_ref": { "availability": "deprecated", "docs": "[DEPRECATED] Your custom string used to refer to a manufacturer location.", + "inline": undefined, "type": "optional", }, "metadata": "optional", @@ -3253,6 +3255,7 @@ "country_of_origin": { "availability": "deprecated", "docs": "[DEPRECATED] - Use the country_of_origin on the supplier field. The country the product was manufactured", + "inline": undefined, "type": "optional", }, "description": { @@ -3262,6 +3265,7 @@ "hs_codes": { "availability": "deprecated", "docs": "DEPRECATED - HS codes can be found in the classifications array", + "inline": undefined, "type": "optional>", }, "id": { @@ -6874,6 +6878,7 @@ company: type: optional docs: '[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)' + inline: true source: openapi: ../openapi.yml Location: @@ -9266,7 +9271,10 @@ errors: "docs": undefined, "properties": { "_object": "optional", - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, "self": "optional", "version": "optional", }, @@ -9332,7 +9340,9 @@ errors: _object: optional self: optional version: optional - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml CreateBookingDeclaredAsStrategy: @@ -11151,7 +11161,10 @@ docs: >- "docs": undefined, "properties": { "_object": "optional", - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, "self": "optional", "version": "optional", }, @@ -11206,7 +11219,9 @@ docs: >- _object: optional self: optional version: optional - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml BookingLineItemCreateResponse: @@ -12521,7 +12536,10 @@ docs: Endpoints relating to Carbon Calculations "docs": undefined, "properties": { "_object": "optional", - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, "self": "optional", "version": "optional", }, @@ -12583,7 +12601,9 @@ types: _object: optional self: optional version: optional - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml CommercialInvoicesCreateResponse: @@ -13695,7 +13715,10 @@ docs: Endpoints relating to Commercial Invoice objects "docs": undefined, "properties": { "_object": "optional", - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, "self": "optional", "version": "optional", }, @@ -13771,7 +13794,9 @@ types: _object: optional self: optional version: optional - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml NetworkCompanyCreateResponse: @@ -14561,7 +14586,10 @@ docs: Endpoints relating to Company objects "docs": undefined, "properties": { "_object": "optional", - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, "self": "optional", "version": "optional", }, @@ -14637,7 +14665,9 @@ types: _object: optional self: optional version: optional - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml NetworkCompanyEntityCreateResponse: @@ -15288,7 +15318,10 @@ docs: Endpoints relating to CompanyEntity objects "docs": undefined, "properties": { "_object": "optional", - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, "self": "optional", "version": "optional", }, @@ -15352,7 +15385,9 @@ types: _object: optional self: optional version: optional - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml NetworkContactCreateResponse: @@ -15886,7 +15921,10 @@ docs: Endpoints relating to Contact objects "docs": undefined, "properties": { "_object": "optional", - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, "self": "optional", "version": "optional", }, @@ -15936,7 +15974,9 @@ types: _object: optional self: optional version: optional - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml ContainerShowResponse: @@ -16336,7 +16376,10 @@ docs: Endpoints relating to Container objects "docs": undefined, "properties": { "_object": "optional", - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, "self": "optional", "version": "optional", }, @@ -16386,7 +16429,9 @@ types: _object: optional self: optional version: optional - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml OceanContainerLegsShowResponse: @@ -16688,7 +16733,10 @@ docs: Endpoints relating to ContainerLeg objects "docs": undefined, "properties": { "_object": "optional", - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, "self": "optional", "version": "optional", }, @@ -16726,7 +16774,9 @@ types: _object: optional self: optional version: optional - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml CustomsEntriesShowResponse: @@ -17123,7 +17173,10 @@ docs: Endpoints relating to Customs Entry objects "docs": undefined, "properties": { "_object": "optional", - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, "self": "optional", "version": "optional", }, @@ -17175,7 +17228,9 @@ types: _object: optional self: optional version: optional - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml DocumentsCreateResponse: @@ -17642,7 +17697,10 @@ docs: Endpoints relating to Document objects "docs": undefined, "properties": { "_object": "optional", - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, "self": "optional", "version": "optional", }, @@ -17706,7 +17764,9 @@ docs: Endpoints relating to Document objects _object: optional self: optional version: optional - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml EventsShowResponse: @@ -18545,7 +18605,10 @@ Other details about this invoice", "docs": undefined, "properties": { "_object": "optional", - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, "self": "optional", "version": "optional", }, @@ -18608,7 +18671,9 @@ Other details about this invoice", _object: optional self: optional version: optional - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml InvoicesShowResponse: @@ -19543,7 +19608,10 @@ docs: Endpoints relating to Invoice objects "docs": undefined, "properties": { "_object": "optional", - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, "self": "optional", "version": "optional", }, @@ -19619,7 +19687,9 @@ types: _object: optional self: optional version: optional - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml NetworkLocationCreateResponse: @@ -20133,7 +20203,10 @@ docs: Endpoints relating to Location objects "docs": undefined, "properties": { "_object": "optional", - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, "self": "optional", "version": "optional", }, @@ -20179,7 +20252,9 @@ docs: Endpoints relating to Location objects _object: optional self: optional version: optional - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml imports: @@ -20721,7 +20796,10 @@ docs: Endpoints relating to Ports objects "docs": undefined, "properties": { "_object": "optional", - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, "self": "optional", "version": "optional", }, @@ -20783,7 +20861,9 @@ types: _object: optional self: optional version: optional - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml ProductCreateResponse: @@ -22177,7 +22257,10 @@ docs: Endpoints relating to Product objects "docs": undefined, "properties": { "_object": "optional", - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, "self": "optional", "version": "optional", }, @@ -22255,7 +22338,9 @@ docs: Endpoints relating to Product objects _object: optional self: optional version: optional - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml PurchaseOrderShowResponse: @@ -23457,7 +23542,10 @@ docs: >- "docs": undefined, "properties": { "_object": "optional", - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, "self": "optional", "version": "optional", }, @@ -23512,7 +23600,9 @@ docs: >- _object: optional self: optional version: optional - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml PurchaseOrderLineItemShowResponse: @@ -25077,7 +25167,10 @@ docs: >- "docs": undefined, "properties": { "_object": "optional", - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, "self": "optional", "version": "optional", }, @@ -25125,7 +25218,10 @@ docs: >- "docs": undefined, "properties": { "_object": "optional", - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, "self": "optional", "version": "optional", }, @@ -25187,7 +25283,9 @@ docs: >- _object: optional self: optional version: optional - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml ShipmentShowResponse: @@ -25224,7 +25322,9 @@ docs: >- _object: optional self: optional version: optional - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml imports: @@ -26644,7 +26744,10 @@ docs: Endpoints relating to Shipment objects "docs": undefined, "properties": { "_object": "optional", - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, "self": "optional", "version": "optional", }, @@ -26694,7 +26797,9 @@ types: _object: optional self: optional version: optional - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml ShipmentLegShowResponse: diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/hathora.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/hathora.json index 752e05f7853..75fe6fa4441 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/hathora.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/hathora.json @@ -104,7 +104,10 @@ "pattern": "^[a-z0-9-]+$", }, }, - "authConfiguration": "AppConfigAuthConfiguration", + "authConfiguration": { + "inline": true, + "type": "AppConfigAuthConfiguration", + }, }, "source": { "openapi": "../openapi.json", @@ -114,7 +117,10 @@ "docs": undefined, "properties": { "anonymous": "optional", - "google": "optional", + "google": { + "inline": true, + "type": "optional", + }, "nickname": "optional", }, "source": { @@ -137,7 +143,10 @@ "appId": "string", "appName": "string", "appSecret": "string", - "authConfiguration": "ApplicationAuthConfiguration", + "authConfiguration": { + "inline": true, + "type": "ApplicationAuthConfiguration", + }, "createdAt": "datetime", "createdBy": "string", "deletedAt": "optional", @@ -152,7 +161,10 @@ "docs": undefined, "properties": { "anonymous": "optional", - "google": "optional", + "google": { + "inline": true, + "type": "optional", + }, "nickname": "optional", }, "source": { @@ -594,7 +606,9 @@ types: openapi: ../openapi.json ApplicationAuthConfiguration: properties: - google: optional + google: + type: optional + inline: true nickname: optional anonymous: optional source: @@ -606,7 +620,9 @@ types: createdAt: datetime createdBy: string orgId: OrgId - authConfiguration: ApplicationAuthConfiguration + authConfiguration: + type: ApplicationAuthConfiguration + inline: true appSecret: string appId: string appName: string @@ -688,14 +704,18 @@ types: openapi: ../openapi.json AppConfigAuthConfiguration: properties: - google: optional + google: + type: optional + inline: true nickname: optional anonymous: optional source: openapi: ../openapi.json AppConfig: properties: - authConfiguration: AppConfigAuthConfiguration + authConfiguration: + type: AppConfigAuthConfiguration + inline: true appName: type: string validation: diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/hookdeck.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/hookdeck.json index b22acd31772..f26e543a803 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/hookdeck.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/hookdeck.json @@ -82,7 +82,10 @@ "docs": "Error code", "type": "string", }, - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, "message": { "docs": "Error description", "type": "string", @@ -795,6 +798,7 @@ }, "body": { "docs": "Response body from the destination", + "inline": true, "type": "optional", }, "bulk_retry_id": { @@ -2636,7 +2640,9 @@ types: message: type: string docs: Error description - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml DeletedIssueTriggerResponse: @@ -2725,6 +2731,7 @@ types: body: type: optional docs: Response body from the destination + inline: true requested_url: type: optional docs: URL of the destination where delivery was attempted diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/humanloop.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/humanloop.json index eb6c0e1f9ee..b49c6b7c15f 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/humanloop.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/humanloop.json @@ -182,6 +182,7 @@ in the Evaluation Report.", "tool_call": { "availability": "deprecated", "docs": "NB: Deprecated in favour of tool_calls. A tool call requested by the assistant.", + "inline": undefined, "type": "optional", }, "tool_call_id": { @@ -1785,6 +1786,7 @@ Contains fields that are common to all (i.e. both chat and complete) endpoints." "tool_configs": { "availability": "deprecated", "docs": "NB: Deprecated with tools field. Definition of tools shown to the model.", + "inline": undefined, "type": "optional>", }, "tools": { diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/intercom.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/intercom.json index 55a9ceb8bfc..d68624b4cc9 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/intercom.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/intercom.json @@ -2767,6 +2767,7 @@ }, "performed_by": { "docs": "Details about the Admin involved in the activity.", + "inline": true, "type": "optional", }, }, @@ -2976,6 +2977,7 @@ }, "avatar": { "docs": "This object represents the avatar associated with the admin.", + "inline": true, "type": "optional", }, "away_mode_enabled": { @@ -4741,6 +4743,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "pages": { "docs": "Pagination", + "inline": true, "type": "optional", }, "type": { @@ -6557,9 +6560,11 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( "type": "optional", }, "avatar": { + "inline": true, "type": "optional", }, "companies": { + "inline": true, "type": "optional", }, "created_at": { @@ -6597,6 +6602,7 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( "type": "optional", }, "location_data": { + "inline": true, "type": "optional", }, "marked_email_as_spam": { @@ -6628,6 +6634,7 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( "type": "optional", }, "segments": { + "inline": true, "type": "optional", }, "session_count": { @@ -6639,9 +6646,11 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( "type": "optional", }, "social_profiles": { + "inline": true, "type": "optional", }, "tags": { + "inline": true, "type": "optional", }, "type": { @@ -8318,6 +8327,7 @@ types: performed_by: type: optional docs: Details about the Admin involved in the activity. + inline: true metadata: type: optional created_at: @@ -8564,6 +8574,7 @@ types: avatar: type: optional docs: This object represents the avatar associated with the admin. + inline: true email_verified: type: optional docs: Identifies if this admin's email is verified. @@ -9841,6 +9852,7 @@ types: pages: type: optional docs: Pagination + inline: true source: openapi: ../openapi.yml DataEventSummary: @@ -11297,13 +11309,16 @@ types: docs: The pseudonym of the visitor. avatar: type: optional + inline: true app_id: type: optional docs: The id of the app the visitor is associated with. companies: type: optional + inline: true location_data: type: optional + inline: true las_request_at: type: optional docs: The time the Lead last recorded making a request. @@ -11324,6 +11339,7 @@ types: docs: The number of sessions the Visitor has had. social_profiles: type: optional + inline: true owner_id: type: optional docs: The id of the admin that owns the Visitor. @@ -11338,8 +11354,10 @@ types: docs: Identifies if this visitor has had a hard bounce. tags: type: optional + inline: true segments: type: optional + inline: true custom_attributes: type: optional> docs: The custom attributes you have set on the Visitor. @@ -15056,6 +15074,7 @@ imports: "properties": { "data": { "docs": "An object containing the results of the search.", + "inline": true, "type": "optional", }, "pages": { @@ -17611,6 +17630,7 @@ types: data: type: optional docs: An object containing the results of the search. + inline: true pages: type: optional source: @@ -18766,6 +18786,7 @@ You can fetch all companies and filter by `segment_id` or `tag_id` as a query pa "type": "optional", }, "plan": { + "inline": true, "type": "optional", }, "remote_created_at": { @@ -18774,6 +18795,7 @@ You can fetch all companies and filter by `segment_id` or `tag_id` as a query pa }, "segments": { "docs": "The list of segments associated with the company", + "inline": true, "type": "optional", }, "session_count": { @@ -18786,6 +18808,7 @@ You can fetch all companies and filter by `segment_id` or `tag_id` as a query pa }, "tags": { "docs": "The list of tags associated with the company", + "inline": true, "type": "optional", }, "type": { @@ -19745,6 +19768,7 @@ types: to. plan: type: optional + inline: true company_id: type: optional docs: The company id you have defined for the company. @@ -19784,9 +19808,11 @@ types: tags: type: optional docs: The list of tags associated with the company + inline: true segments: type: optional docs: The list of segments associated with the company + inline: true source: openapi: ../openapi.yml ", @@ -21120,6 +21146,7 @@ The data property will show a combined list of: "type": "optional", }, "avatar": { + "inline": true, "type": "optional", }, "browser": { @@ -22573,6 +22600,7 @@ types: docs: The custom attributes which are set for the contact. avatar: type: optional + inline: true tags: type: optional notes: @@ -39950,6 +39978,7 @@ types: }, "contact": { "docs": "Represents the contact that the note was created about.", + "inline": true, "type": "optional", }, "created_at": { @@ -40286,6 +40315,7 @@ types: contact: type: optional docs: Represents the contact that the note was created about. + inline: true author: type: optional docs: Optional. Represents the Admin that created the note. diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/merge.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/merge.json index 95f50fc2068..da62e8f69b8 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/merge.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/merge.json @@ -1322,6 +1322,7 @@ Fetch from the `LIST Employee` endpoint and filter by `ID` to show all employees "hire_date": { "availability": "deprecated", "docs": "The date that the employee was hired, usually the day that an offer letter is signed. If an employee has multiple hire dates from previous employments, this represents the most recent hire date. Note: If you're looking for the employee's start date, refer to the start_date field.", + "inline": undefined, "type": "optional", }, "home_location": { @@ -1633,6 +1634,7 @@ Fetch from the `LIST Employee` endpoint and filter by `ID` to show all employees "hire_date": { "availability": "deprecated", "docs": "The date that the employee was hired, usually the day that an offer letter is signed. If an employee has multiple hire dates from previous employments, this represents the most recent hire date. Note: If you're looking for the employee's start date, refer to the start_date field.", + "inline": undefined, "type": "optional", }, "home_location": { diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/only-include-referenced-schemas.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/only-include-referenced-schemas.json index 5128a4ed477..2a55effebc3 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/only-include-referenced-schemas.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/only-include-referenced-schemas.json @@ -2766,6 +2766,7 @@ }, "performed_by": { "docs": "Details about the Admin involved in the activity.", + "inline": true, "type": "optional", }, }, @@ -2975,6 +2976,7 @@ }, "avatar": { "docs": "This object represents the avatar associated with the admin.", + "inline": true, "type": "optional", }, "away_mode_enabled": { @@ -6290,9 +6292,11 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( "type": "optional", }, "avatar": { + "inline": true, "type": "optional", }, "companies": { + "inline": true, "type": "optional", }, "created_at": { @@ -6330,6 +6334,7 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( "type": "optional", }, "location_data": { + "inline": true, "type": "optional", }, "marked_email_as_spam": { @@ -6361,6 +6366,7 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( "type": "optional", }, "segments": { + "inline": true, "type": "optional", }, "session_count": { @@ -6372,9 +6378,11 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( "type": "optional", }, "social_profiles": { + "inline": true, "type": "optional", }, "tags": { + "inline": true, "type": "optional", }, "type": { @@ -8031,6 +8039,7 @@ types: performed_by: type: optional docs: Details about the Admin involved in the activity. + inline: true metadata: type: optional created_at: @@ -8277,6 +8286,7 @@ types: avatar: type: optional docs: This object represents the avatar associated with the admin. + inline: true email_verified: type: optional docs: Identifies if this admin's email is verified. @@ -10805,13 +10815,16 @@ types: docs: The pseudonym of the visitor. avatar: type: optional + inline: true app_id: type: optional docs: The id of the app the visitor is associated with. companies: type: optional + inline: true location_data: type: optional + inline: true las_request_at: type: optional docs: The time the Lead last recorded making a request. @@ -10832,6 +10845,7 @@ types: docs: The number of sessions the Visitor has had. social_profiles: type: optional + inline: true owner_id: type: optional docs: The id of the admin that owns the Visitor. @@ -10846,8 +10860,10 @@ types: docs: Identifies if this visitor has had a hard bounce. tags: type: optional + inline: true segments: type: optional + inline: true custom_attributes: type: optional> docs: The custom attributes you have set on the Visitor. @@ -14549,6 +14565,7 @@ imports: "properties": { "data": { "docs": "An object containing the results of the search.", + "inline": true, "type": "optional", }, "pages": { @@ -17104,6 +17121,7 @@ types: data: type: optional docs: An object containing the results of the search. + inline: true pages: type: optional source: @@ -18259,6 +18277,7 @@ You can fetch all companies and filter by `segment_id` or `tag_id` as a query pa "type": "optional", }, "plan": { + "inline": true, "type": "optional", }, "remote_created_at": { @@ -18267,6 +18286,7 @@ You can fetch all companies and filter by `segment_id` or `tag_id` as a query pa }, "segments": { "docs": "The list of segments associated with the company", + "inline": true, "type": "optional", }, "session_count": { @@ -18279,6 +18299,7 @@ You can fetch all companies and filter by `segment_id` or `tag_id` as a query pa }, "tags": { "docs": "The list of tags associated with the company", + "inline": true, "type": "optional", }, "type": { @@ -19238,6 +19259,7 @@ types: to. plan: type: optional + inline: true company_id: type: optional docs: The company id you have defined for the company. @@ -19277,9 +19299,11 @@ types: tags: type: optional docs: The list of tags associated with the company + inline: true segments: type: optional docs: The list of segments associated with the company + inline: true source: openapi: ../openapi.yml ", @@ -20613,6 +20637,7 @@ The data property will show a combined list of: "type": "optional", }, "avatar": { + "inline": true, "type": "optional", }, "browser": { @@ -22066,6 +22091,7 @@ types: docs: The custom attributes which are set for the contact. avatar: type: optional + inline: true tags: type: optional notes: @@ -39368,6 +39394,7 @@ types: }, "contact": { "docs": "Represents the contact that the note was created about.", + "inline": true, "type": "optional", }, "created_at": { @@ -39704,6 +39731,7 @@ types: contact: type: optional docs: Represents the contact that the note was created about. + inline: true author: type: optional docs: Optional. Represents the Admin that created the note. diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/permit.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/permit.json index b29b1af9e1c..3df9b560ba5 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/permit.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/permit.json @@ -2537,6 +2537,7 @@ The actions represents the ways you can interact with a protected resource.", }, "roles": { "availability": "deprecated", + "inline": undefined, "type": "optional>", }, }, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/query-params.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/query-params.json index 8106b4ca053..14a37c51036 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/query-params.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/query-params.json @@ -56,7 +56,10 @@ "docs": undefined, "properties": { "age": "optional", - "location": "optional", + "location": { + "inline": true, + "type": "optional", + }, "name": "optional", }, "source": { @@ -67,7 +70,10 @@ "docs": undefined, "properties": { "city": "optional", - "coordinates": "optional", + "coordinates": { + "inline": true, + "type": "optional", + }, "country": "optional", }, "source": { @@ -115,14 +121,18 @@ properties: city: optional country: optional - coordinates: optional + coordinates: + type: optional + inline: true source: openapi: ../openapi.yml SearchRequestFilter: properties: name: optional age: optional - location: optional + location: + type: optional + inline: true source: openapi: ../openapi.yml SearchRequestSort: diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/rightbrain.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/rightbrain.json index 5ea4a3e78fc..2eb6c56026a 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/rightbrain.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/rightbrain.json @@ -2330,6 +2330,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", ], "availability": "pre-release", "docs": "**Note: This is a Paid Tier feature.** Provide additional domain specific input to the LLM so that it is able to reference user specific information when executing the Task. Examples of this could be a product catalogue, terms and conditions or a user manual.", + "inline": undefined, "type": "optional", }, "system_prompt": "unknown", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/seam.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/seam.json index 15d60a3d54e..4836c3c89f9 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/seam.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/seam.json @@ -300,7 +300,10 @@ }, }, "starts_at": "optional", - "visionline_metadata": "optional", + "visionline_metadata": { + "inline": true, + "type": "optional", + }, "warnings": "list", "workspace_id": { "type": "string", @@ -494,8 +497,14 @@ "created_at": "datetime", "display_name": "string", "errors": "list", - "latch_metadata": "optional", - "visionline_metadata": "optional", + "latch_metadata": { + "inline": true, + "type": "optional", + }, + "visionline_metadata": { + "inline": true, + "type": "optional", + }, }, "source": { "openapi": "../openapi.json", @@ -706,7 +715,10 @@ "AcsUser": { "docs": undefined, "properties": { - "access_schedule": "optional", + "access_schedule": { + "inline": true, + "type": "optional", + }, "acs_system_id": { "type": "string", "validation": { @@ -950,7 +962,10 @@ }, }, "action_type": "literal<"UPDATE_NOISE_THRESHOLD">", - "error": "ActionAttemptActionAttemptIdError", + "error": { + "inline": true, + "type": "ActionAttemptActionAttemptIdError", + }, "result": "optional", "status": "literal<"error">", }, @@ -987,7 +1002,10 @@ }, }, "action_type": "literal<"RESET_SANDBOX_WORKSPACE">", - "error": "ActionAttemptEightError", + "error": { + "inline": true, + "type": "ActionAttemptEightError", + }, "result": "optional", "status": "literal<"error">", }, @@ -1051,7 +1069,10 @@ }, }, "action_type": "literal<"SET_COOL">", - "error": "ActionAttemptElevenError", + "error": { + "inline": true, + "type": "ActionAttemptElevenError", + }, "result": "optional", "status": "literal<"error">", }, @@ -1115,7 +1136,10 @@ }, }, "action_type": "literal<"UNLOCK_DOOR">", - "error": "ActionAttemptFiveError", + "error": { + "inline": true, + "type": "ActionAttemptFiveError", + }, "result": "optional", "status": "literal<"error">", }, @@ -1179,7 +1203,10 @@ }, }, "action_type": "literal<"DELETE_NOISE_THRESHOLD">", - "error": "ActionAttemptFortyOneError", + "error": { + "inline": true, + "type": "ActionAttemptFortyOneError", + }, "result": "optional", "status": "literal<"error">", }, @@ -1271,7 +1298,10 @@ }, "action_type": "literal<"UNLOCK_DOOR">", "error": "optional", - "result": "ActionAttemptFourResult", + "result": { + "inline": true, + "type": "ActionAttemptFourResult", + }, "status": "literal<"success">", }, "source": { @@ -1304,7 +1334,10 @@ }, }, "action_type": "literal<"SET_HEAT">", - "error": "ActionAttemptFourteenError", + "error": { + "inline": true, + "type": "ActionAttemptFourteenError", + }, "result": "optional", "status": "literal<"error">", }, @@ -1369,7 +1402,10 @@ }, "action_type": "literal<"SET_FAN_MODE">", "error": "optional", - "result": "ActionAttemptNineteenResult", + "result": { + "inline": true, + "type": "ActionAttemptNineteenResult", + }, "status": "literal<"success">", }, "source": { @@ -1403,7 +1439,10 @@ }, "action_type": "literal<"LOCK_DOOR">", "error": "optional", - "result": "ActionAttemptOneResult", + "result": { + "inline": true, + "type": "ActionAttemptOneResult", + }, "status": "literal<"success">", }, "source": { @@ -1437,7 +1476,10 @@ }, "action_type": "literal<"RESET_SANDBOX_WORKSPACE">", "error": "optional", - "result": "ActionAttemptSevenResult", + "result": { + "inline": true, + "type": "ActionAttemptSevenResult", + }, "status": "literal<"success">", }, "source": { @@ -1470,7 +1512,10 @@ }, }, "action_type": "literal<"SET_HEAT_COOL">", - "error": "ActionAttemptSeventeenError", + "error": { + "inline": true, + "type": "ActionAttemptSeventeenError", + }, "result": "optional", "status": "literal<"error">", }, @@ -1535,7 +1580,10 @@ }, "action_type": "literal<"SET_HEAT_COOL">", "error": "optional", - "result": "ActionAttemptSixteenResult", + "result": { + "inline": true, + "type": "ActionAttemptSixteenResult", + }, "status": "literal<"success">", }, "source": { @@ -1569,7 +1617,10 @@ }, "action_type": "literal<"SET_COOL">", "error": "optional", - "result": "ActionAttemptTenResult", + "result": { + "inline": true, + "type": "ActionAttemptTenResult", + }, "status": "literal<"success">", }, "source": { @@ -1603,7 +1654,10 @@ }, "action_type": "literal<"SET_HEAT">", "error": "optional", - "result": "ActionAttemptThirteenResult", + "result": { + "inline": true, + "type": "ActionAttemptThirteenResult", + }, "status": "literal<"success">", }, "source": { @@ -1663,7 +1717,10 @@ }, }, "action_type": "literal<"CREATE_NOISE_THRESHOLD">", - "error": "ActionAttemptThirtyEightError", + "error": { + "inline": true, + "type": "ActionAttemptThirtyEightError", + }, "result": "optional", "status": "literal<"error">", }, @@ -1700,7 +1757,10 @@ }, }, "action_type": "literal<"UPDATE_ACCESS_CODE">", - "error": "ActionAttemptThirtyFiveError", + "error": { + "inline": true, + "type": "ActionAttemptThirtyFiveError", + }, "result": "optional", "status": "literal<"error">", }, @@ -1899,7 +1959,10 @@ }, }, "action_type": "literal<"DELETE_ACCESS_CODE">", - "error": "ActionAttemptThirtyTwoError", + "error": { + "inline": true, + "type": "ActionAttemptThirtyTwoError", + }, "result": "optional", "status": "literal<"error">", }, @@ -1990,7 +2053,10 @@ }, }, "action_type": "literal<"SET_FAN_MODE">", - "error": "ActionAttemptTwentyError", + "error": { + "inline": true, + "type": "ActionAttemptTwentyError", + }, "result": "optional", "status": "literal<"error">", }, @@ -2108,7 +2174,10 @@ }, }, "action_type": "literal<"CREATE_ACCESS_CODE">", - "error": "ActionAttemptTwentyNineError", + "error": { + "inline": true, + "type": "ActionAttemptTwentyNineError", + }, "result": "optional", "status": "literal<"error">", }, @@ -2199,7 +2268,10 @@ }, }, "action_type": "literal<"SYNC_ACCESS_CODES">", - "error": "ActionAttemptTwentySixError", + "error": { + "inline": true, + "type": "ActionAttemptTwentySixError", + }, "result": "optional", "status": "literal<"error">", }, @@ -2236,7 +2308,10 @@ }, }, "action_type": "literal<"SET_THERMOSTAT_OFF">", - "error": "ActionAttemptTwentyThreeError", + "error": { + "inline": true, + "type": "ActionAttemptTwentyThreeError", + }, "result": "optional", "status": "literal<"error">", }, @@ -2274,7 +2349,10 @@ }, "action_type": "literal<"SET_THERMOSTAT_OFF">", "error": "optional", - "result": "ActionAttemptTwentyTwoResult", + "result": { + "inline": true, + "type": "ActionAttemptTwentyTwoResult", + }, "status": "literal<"success">", }, "source": { @@ -2307,7 +2385,10 @@ }, }, "action_type": "literal<"LOCK_DOOR">", - "error": "ActionAttemptTwoError", + "error": { + "inline": true, + "type": "ActionAttemptTwoError", + }, "result": "optional", "status": "literal<"error">", }, @@ -2575,7 +2656,10 @@ "created_at": "optional", "custom_metadata": "map", "errors": "optional", - "user_identifier": "optional", + "user_identifier": { + "inline": true, + "type": "optional", + }, "warnings": "optional", }, "source": { @@ -2664,6 +2748,7 @@ }, "location": { "docs": "Location information for the device.", + "inline": true, "type": "optional", }, "nickname": { @@ -2791,14 +2876,28 @@ "_experimental_supported_code_from_access_codes_lengths": "optional>", "accessory_keypad": { "docs": "Represents the accessory keypad state.", + "inline": true, "type": "optional", }, - "appearance": "DevicePropertiesAppearance", - "assa_abloy_credential_service_metadata": "optional", - "august_metadata": "optional", - "avigilon_alta_metadata": "optional", + "appearance": { + "inline": true, + "type": "DevicePropertiesAppearance", + }, + "assa_abloy_credential_service_metadata": { + "inline": true, + "type": "optional", + }, + "august_metadata": { + "inline": true, + "type": "optional", + }, + "avigilon_alta_metadata": { + "inline": true, + "type": "optional", + }, "battery": { "docs": "Represents the current status of the battery charge level. Values are "critical," which indicates an extremely low level, suggesting imminent shutdown or an urgent need for charging; "low," which signifies that the battery is under the preferred threshold and should be charged soon; "good," which denotes a satisfactory charge level, adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage.", + "inline": true, "type": "optional", }, "battery_level": { @@ -2812,27 +2911,57 @@ "multipleOf": undefined, }, }, - "brivo_metadata": "optional", + "brivo_metadata": { + "inline": true, + "type": "optional", + }, "code_constraints": "optional>", - "controlbyweb_metadata": "optional", + "controlbyweb_metadata": { + "inline": true, + "type": "optional", + }, "currently_triggering_noise_threshold_ids": { "docs": "Array of noise threshold IDs that are currently triggering.", "type": "optional>", }, "door_open": "optional", - "dormakaba_oracode_metadata": "optional", - "ecobee_metadata": "optional", - "four_suites_metadata": "optional", - "genie_metadata": "optional", + "dormakaba_oracode_metadata": { + "inline": true, + "type": "optional", + }, + "ecobee_metadata": { + "inline": true, + "type": "optional", + }, + "four_suites_metadata": { + "inline": true, + "type": "optional", + }, + "genie_metadata": { + "inline": true, + "type": "optional", + }, "has_direct_power": { "docs": "Indicates whether the device has direct power.", "type": "optional", }, "has_native_entry_events": "optional", - "honeywell_resideo_metadata": "optional", - "hubitat_metadata": "optional", - "igloo_metadata": "optional", - "igloohome_metadata": "optional", + "honeywell_resideo_metadata": { + "inline": true, + "type": "optional", + }, + "hubitat_metadata": { + "inline": true, + "type": "optional", + }, + "igloo_metadata": { + "inline": true, + "type": "optional", + }, + "igloohome_metadata": { + "inline": true, + "type": "optional", + }, "image_alt_text": { "docs": "Alt text for the device image.", "type": "optional", @@ -2847,17 +2976,32 @@ "pattern": undefined, }, }, - "keypad_battery": "optional", - "kwikset_metadata": "optional", + "keypad_battery": { + "inline": true, + "type": "optional", + }, + "kwikset_metadata": { + "inline": true, + "type": "optional", + }, "locked": "optional", - "lockly_metadata": "optional", + "lockly_metadata": { + "inline": true, + "type": "optional", + }, "manufacturer": { "docs": "Manufacturer of the device.", "type": "optional", }, "max_active_codes_supported": "optional", - "minut_metadata": "optional", - "model": "DevicePropertiesModel", + "minut_metadata": { + "inline": true, + "type": "optional", + }, + "model": { + "inline": true, + "type": "DevicePropertiesModel", + }, "name": { "docs": " --- @@ -2867,13 +3011,22 @@ ", "type": "string", }, - "nest_metadata": "optional", + "nest_metadata": { + "inline": true, + "type": "optional", + }, "noise_level_decibels": { "docs": "Indicates current noise level in decibels, if the device supports noise detection.", "type": "optional", }, - "noiseaware_metadata": "optional", - "nuki_metadata": "optional", + "noiseaware_metadata": { + "inline": true, + "type": "optional", + }, + "nuki_metadata": { + "inline": true, + "type": "optional", + }, "offline_access_codes_enabled": { "docs": "Indicates whether it is currently possible to use offline access codes for the device.", "type": "optional", @@ -2886,14 +3039,26 @@ "docs": "Indicates whether it is currently possible to use online access codes for the device.", "type": "optional", }, - "salto_metadata": "optional", - "schlage_metadata": "optional", - "seam_bridge_metadata": "optional", + "salto_metadata": { + "inline": true, + "type": "optional", + }, + "schlage_metadata": { + "inline": true, + "type": "optional", + }, + "seam_bridge_metadata": { + "inline": true, + "type": "optional", + }, "serial_number": { "docs": "Serial number of the device.", "type": "optional", }, - "smartthings_metadata": "optional", + "smartthings_metadata": { + "inline": true, + "type": "optional", + }, "supported_code_lengths": "optional>", "supports_accessory_keypad": { "docs": " @@ -2912,10 +3077,22 @@ ", "type": "optional", }, - "tedee_metadata": "optional", - "ttlock_metadata": "optional", - "two_n_metadata": "optional", - "wyze_metadata": "optional", + "tedee_metadata": { + "inline": true, + "type": "optional", + }, + "ttlock_metadata": { + "inline": true, + "type": "optional", + }, + "two_n_metadata": { + "inline": true, + "type": "optional", + }, + "wyze_metadata": { + "inline": true, + "type": "optional", + }, }, "source": { "openapi": "../openapi.json", @@ -2926,6 +3103,7 @@ "properties": { "battery": { "docs": "Indicates if the keypad battery properties.", + "inline": true, "type": "optional", }, "is_connected": { @@ -3278,7 +3456,10 @@ "properties": { "device_id": "string", "device_name": "string", - "latest_sensor_values": "DevicePropertiesMinutMetadataLatestSensorValues", + "latest_sensor_values": { + "inline": true, + "type": "DevicePropertiesMinutMetadataLatestSensorValues", + }, }, "source": { "openapi": "../openapi.json", @@ -3287,11 +3468,26 @@ "DevicePropertiesMinutMetadataLatestSensorValues": { "docs": undefined, "properties": { - "accelerometer_z": "DevicePropertiesMinutMetadataLatestSensorValuesAccelerometerZ", - "humidity": "DevicePropertiesMinutMetadataLatestSensorValuesHumidity", - "pressure": "DevicePropertiesMinutMetadataLatestSensorValuesPressure", - "sound": "DevicePropertiesMinutMetadataLatestSensorValuesSound", - "temperature": "DevicePropertiesMinutMetadataLatestSensorValuesTemperature", + "accelerometer_z": { + "inline": true, + "type": "DevicePropertiesMinutMetadataLatestSensorValuesAccelerometerZ", + }, + "humidity": { + "inline": true, + "type": "DevicePropertiesMinutMetadataLatestSensorValuesHumidity", + }, + "pressure": { + "inline": true, + "type": "DevicePropertiesMinutMetadataLatestSensorValuesPressure", + }, + "sound": { + "inline": true, + "type": "DevicePropertiesMinutMetadataLatestSensorValuesSound", + }, + "temperature": { + "inline": true, + "type": "DevicePropertiesMinutMetadataLatestSensorValuesTemperature", + }, }, "source": { "openapi": "../openapi.json", @@ -3861,13 +4057,17 @@ }, "location": { "docs": "Location information for the device.", + "inline": true, "type": "optional", }, "nickname": { "docs": "Optional nickname to describe the device, settable through Seam", "type": "optional", }, - "properties": "PhoneProperties", + "properties": { + "inline": true, + "type": "PhoneProperties", + }, "warnings": { "docs": "Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it.", "type": "list", @@ -3950,7 +4150,10 @@ "PhoneProperties": { "docs": undefined, "properties": { - "assa_abloy_credential_service_metadata": "optional", + "assa_abloy_credential_service_metadata": { + "inline": true, + "type": "optional", + }, }, "source": { "openapi": "../openapi.json", @@ -4120,7 +4323,10 @@ "type": "list", }, "is_managed": "boolean", - "properties": "UnmanagedDeviceProperties", + "properties": { + "inline": true, + "type": "UnmanagedDeviceProperties", + }, "warnings": { "docs": "Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it.", "type": "list", @@ -4209,10 +4415,12 @@ "properties": { "accessory_keypad": { "docs": "Represents the accessory keypad state.", + "inline": true, "type": "optional", }, "battery": { "docs": "Represents the current status of the battery charge level. Values are "critical," which indicates an extremely low level, suggesting imminent shutdown or an urgent need for charging; "low," which signifies that the battery is under the preferred threshold and should be charged soon; "good," which denotes a satisfactory charge level, adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage.", + "inline": true, "type": "optional", }, "battery_level": { @@ -4244,7 +4452,10 @@ "docs": "Manufacturer of the device.", "type": "optional", }, - "model": "UnmanagedDevicePropertiesModel", + "model": { + "inline": true, + "type": "UnmanagedDevicePropertiesModel", + }, "name": { "docs": " --- @@ -4276,6 +4487,7 @@ "properties": { "battery": { "docs": "Indicates if the keypad battery properties.", + "inline": true, "type": "optional", }, "is_connected": { @@ -4710,7 +4922,9 @@ types: status: literal<"success"> error: optional action_type: literal<"LOCK_DOOR"> - result: ActionAttemptOneResult + result: + type: ActionAttemptOneResult + inline: true source: openapi: ../openapi.json ActionAttemptTwoError: @@ -4736,7 +4950,9 @@ types: status: literal<"error"> result: optional action_type: literal<"LOCK_DOOR"> - error: ActionAttemptTwoError + error: + type: ActionAttemptTwoError + inline: true source: openapi: ../openapi.json ActionAttemptThree: @@ -4780,7 +4996,9 @@ types: status: literal<"success"> error: optional action_type: literal<"UNLOCK_DOOR"> - result: ActionAttemptFourResult + result: + type: ActionAttemptFourResult + inline: true source: openapi: ../openapi.json ActionAttemptFiveError: @@ -4806,7 +5024,9 @@ types: status: literal<"error"> result: optional action_type: literal<"UNLOCK_DOOR"> - error: ActionAttemptFiveError + error: + type: ActionAttemptFiveError + inline: true source: openapi: ../openapi.json ActionAttemptSix: @@ -4850,7 +5070,9 @@ types: status: literal<"success"> error: optional action_type: literal<"RESET_SANDBOX_WORKSPACE"> - result: ActionAttemptSevenResult + result: + type: ActionAttemptSevenResult + inline: true source: openapi: ../openapi.json ActionAttemptEightError: @@ -4876,7 +5098,9 @@ types: status: literal<"error"> result: optional action_type: literal<"RESET_SANDBOX_WORKSPACE"> - error: ActionAttemptEightError + error: + type: ActionAttemptEightError + inline: true source: openapi: ../openapi.json ActionAttemptNine: @@ -4920,7 +5144,9 @@ types: status: literal<"success"> error: optional action_type: literal<"SET_COOL"> - result: ActionAttemptTenResult + result: + type: ActionAttemptTenResult + inline: true source: openapi: ../openapi.json ActionAttemptElevenError: @@ -4946,7 +5172,9 @@ types: status: literal<"error"> result: optional action_type: literal<"SET_COOL"> - error: ActionAttemptElevenError + error: + type: ActionAttemptElevenError + inline: true source: openapi: ../openapi.json ActionAttemptTwelve: @@ -4990,7 +5218,9 @@ types: status: literal<"success"> error: optional action_type: literal<"SET_HEAT"> - result: ActionAttemptThirteenResult + result: + type: ActionAttemptThirteenResult + inline: true source: openapi: ../openapi.json ActionAttemptFourteenError: @@ -5016,7 +5246,9 @@ types: status: literal<"error"> result: optional action_type: literal<"SET_HEAT"> - error: ActionAttemptFourteenError + error: + type: ActionAttemptFourteenError + inline: true source: openapi: ../openapi.json ActionAttemptFifteen: @@ -5060,7 +5292,9 @@ types: status: literal<"success"> error: optional action_type: literal<"SET_HEAT_COOL"> - result: ActionAttemptSixteenResult + result: + type: ActionAttemptSixteenResult + inline: true source: openapi: ../openapi.json ActionAttemptSeventeenError: @@ -5086,7 +5320,9 @@ types: status: literal<"error"> result: optional action_type: literal<"SET_HEAT_COOL"> - error: ActionAttemptSeventeenError + error: + type: ActionAttemptSeventeenError + inline: true source: openapi: ../openapi.json ActionAttemptEighteen: @@ -5130,7 +5366,9 @@ types: status: literal<"success"> error: optional action_type: literal<"SET_FAN_MODE"> - result: ActionAttemptNineteenResult + result: + type: ActionAttemptNineteenResult + inline: true source: openapi: ../openapi.json ActionAttemptTwentyError: @@ -5156,7 +5394,9 @@ types: status: literal<"error"> result: optional action_type: literal<"SET_FAN_MODE"> - error: ActionAttemptTwentyError + error: + type: ActionAttemptTwentyError + inline: true source: openapi: ../openapi.json ActionAttemptTwentyOne: @@ -5200,7 +5440,9 @@ types: status: literal<"success"> error: optional action_type: literal<"SET_THERMOSTAT_OFF"> - result: ActionAttemptTwentyTwoResult + result: + type: ActionAttemptTwentyTwoResult + inline: true source: openapi: ../openapi.json ActionAttemptTwentyThreeError: @@ -5226,7 +5468,9 @@ types: status: literal<"error"> result: optional action_type: literal<"SET_THERMOSTAT_OFF"> - error: ActionAttemptTwentyThreeError + error: + type: ActionAttemptTwentyThreeError + inline: true source: openapi: ../openapi.json ActionAttemptTwentyFour: @@ -5289,7 +5533,9 @@ types: status: literal<"error"> result: optional action_type: literal<"SYNC_ACCESS_CODES"> - error: ActionAttemptTwentySixError + error: + type: ActionAttemptTwentySixError + inline: true source: openapi: ../openapi.json ActionAttemptTwentySeven: @@ -5352,7 +5598,9 @@ types: status: literal<"error"> result: optional action_type: literal<"CREATE_ACCESS_CODE"> - error: ActionAttemptTwentyNineError + error: + type: ActionAttemptTwentyNineError + inline: true source: openapi: ../openapi.json ActionAttemptThirty: @@ -5415,7 +5663,9 @@ types: status: literal<"error"> result: optional action_type: literal<"DELETE_ACCESS_CODE"> - error: ActionAttemptThirtyTwoError + error: + type: ActionAttemptThirtyTwoError + inline: true source: openapi: ../openapi.json ActionAttemptThirtyThree: @@ -5478,7 +5728,9 @@ types: status: literal<"error"> result: optional action_type: literal<"UPDATE_ACCESS_CODE"> - error: ActionAttemptThirtyFiveError + error: + type: ActionAttemptThirtyFiveError + inline: true source: openapi: ../openapi.json ActionAttemptThirtySix: @@ -5541,7 +5793,9 @@ types: status: literal<"error"> result: optional action_type: literal<"CREATE_NOISE_THRESHOLD"> - error: ActionAttemptThirtyEightError + error: + type: ActionAttemptThirtyEightError + inline: true source: openapi: ../openapi.json ActionAttemptThirtyNine: @@ -5604,7 +5858,9 @@ types: status: literal<"error"> result: optional action_type: literal<"DELETE_NOISE_THRESHOLD"> - error: ActionAttemptFortyOneError + error: + type: ActionAttemptFortyOneError + inline: true source: openapi: ../openapi.json ActionAttemptFortyTwo: @@ -5667,7 +5923,9 @@ types: status: literal<"error"> result: optional action_type: literal<"UPDATE_NOISE_THRESHOLD"> - error: ActionAttemptActionAttemptIdError + error: + type: ActionAttemptActionAttemptIdError + inline: true source: openapi: ../openapi.json ActionAttempt: @@ -5896,7 +6154,9 @@ types: validation: format: uuid created_at: optional - user_identifier: optional + user_identifier: + type: optional + inline: true account_type: optional account_type_display_name: string errors: optional @@ -5972,6 +6232,7 @@ types: battery: type: optional docs: Indicates if the keypad battery properties. + inline: true source: openapi: ../openapi.json DevicePropertiesAppearance: @@ -6189,18 +6450,30 @@ types: openapi: ../openapi.json DevicePropertiesMinutMetadataLatestSensorValues: properties: - temperature: DevicePropertiesMinutMetadataLatestSensorValuesTemperature - sound: DevicePropertiesMinutMetadataLatestSensorValuesSound - humidity: DevicePropertiesMinutMetadataLatestSensorValuesHumidity - pressure: DevicePropertiesMinutMetadataLatestSensorValuesPressure - accelerometer_z: DevicePropertiesMinutMetadataLatestSensorValuesAccelerometerZ + temperature: + type: DevicePropertiesMinutMetadataLatestSensorValuesTemperature + inline: true + sound: + type: DevicePropertiesMinutMetadataLatestSensorValuesSound + inline: true + humidity: + type: DevicePropertiesMinutMetadataLatestSensorValuesHumidity + inline: true + pressure: + type: DevicePropertiesMinutMetadataLatestSensorValuesPressure + inline: true + accelerometer_z: + type: DevicePropertiesMinutMetadataLatestSensorValuesAccelerometerZ + inline: true source: openapi: ../openapi.json DevicePropertiesMinutMetadata: properties: device_id: string device_name: string - latest_sensor_values: DevicePropertiesMinutMetadataLatestSensorValues + latest_sensor_values: + type: DevicePropertiesMinutMetadataLatestSensorValues + inline: true source: openapi: ../openapi.json DevicePropertiesFourSuitesMetadata: @@ -6392,8 +6665,13 @@ types: accessory_keypad: type: optional docs: Represents the accessory keypad state. - appearance: DevicePropertiesAppearance - model: DevicePropertiesModel + inline: true + appearance: + type: DevicePropertiesAppearance + inline: true + model: + type: DevicePropertiesModel + inline: true has_direct_power: type: optional docs: Indicates whether the device has direct power. @@ -6416,6 +6694,7 @@ types: adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage. + inline: true manufacturer: type: optional docs: Manufacturer of the device. @@ -6464,33 +6743,87 @@ types: currently_triggering_noise_threshold_ids: type: optional> docs: Array of noise threshold IDs that are currently triggering. - assa_abloy_credential_service_metadata: optional - august_metadata: optional - avigilon_alta_metadata: optional - schlage_metadata: optional - smartthings_metadata: optional - lockly_metadata: optional - nuki_metadata: optional - kwikset_metadata: optional - salto_metadata: optional - genie_metadata: optional - brivo_metadata: optional - igloo_metadata: optional - noiseaware_metadata: optional - minut_metadata: optional - four_suites_metadata: optional - two_n_metadata: optional - controlbyweb_metadata: optional - ttlock_metadata: optional - seam_bridge_metadata: optional - igloohome_metadata: optional - nest_metadata: optional - ecobee_metadata: optional - honeywell_resideo_metadata: optional - hubitat_metadata: optional - dormakaba_oracode_metadata: optional - wyze_metadata: optional - tedee_metadata: optional + assa_abloy_credential_service_metadata: + type: optional + inline: true + august_metadata: + type: optional + inline: true + avigilon_alta_metadata: + type: optional + inline: true + schlage_metadata: + type: optional + inline: true + smartthings_metadata: + type: optional + inline: true + lockly_metadata: + type: optional + inline: true + nuki_metadata: + type: optional + inline: true + kwikset_metadata: + type: optional + inline: true + salto_metadata: + type: optional + inline: true + genie_metadata: + type: optional + inline: true + brivo_metadata: + type: optional + inline: true + igloo_metadata: + type: optional + inline: true + noiseaware_metadata: + type: optional + inline: true + minut_metadata: + type: optional + inline: true + four_suites_metadata: + type: optional + inline: true + two_n_metadata: + type: optional + inline: true + controlbyweb_metadata: + type: optional + inline: true + ttlock_metadata: + type: optional + inline: true + seam_bridge_metadata: + type: optional + inline: true + igloohome_metadata: + type: optional + inline: true + nest_metadata: + type: optional + inline: true + ecobee_metadata: + type: optional + inline: true + honeywell_resideo_metadata: + type: optional + inline: true + hubitat_metadata: + type: optional + inline: true + dormakaba_oracode_metadata: + type: optional + inline: true + wyze_metadata: + type: optional + inline: true + tedee_metadata: + type: optional + inline: true _experimental_supported_code_from_access_codes_lengths: optional> code_constraints: optional> supported_code_lengths: optional> @@ -6498,7 +6831,9 @@ types: supports_backup_access_code_pool: optional has_native_entry_events: optional locked: optional - keypad_battery: optional + keypad_battery: + type: optional + inline: true door_open: optional source: openapi: ../openapi.json @@ -6571,6 +6906,7 @@ types: location: type: optional docs: Location information for the device. + inline: true connected_account_id: type: string docs: Unique identifier for the account associated with the device. @@ -6694,6 +7030,7 @@ types: battery: type: optional docs: Indicates if the keypad battery properties. + inline: true source: openapi: ../openapi.json UnmanagedDevicePropertiesBatteryStatus: @@ -6759,6 +7096,7 @@ types: accessory_keypad: type: optional docs: Represents the accessory keypad state. + inline: true name: type: string docs: |2- @@ -6801,6 +7139,7 @@ types: adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage. + inline: true online_access_codes_enabled: type: optional docs: >- @@ -6811,7 +7150,9 @@ types: docs: >- Indicates whether it is currently possible to use offline access codes for the device. - model: UnmanagedDevicePropertiesModel + model: + type: UnmanagedDevicePropertiesModel + inline: true source: openapi: ../openapi.json UnmanagedDevice: @@ -6869,7 +7210,9 @@ types: type: datetime docs: Date and time at which the device object was created. is_managed: boolean - properties: UnmanagedDeviceProperties + properties: + type: UnmanagedDeviceProperties + inline: true can_remotely_unlock: optional can_remotely_lock: optional can_program_offline_access_codes: optional @@ -7230,7 +7573,9 @@ types: external_type: optional external_type_display_name: optional is_suspended: boolean - access_schedule: optional + access_schedule: + type: optional + inline: true user_identity_id: optional user_identity_full_name: optional user_identity_email_address: optional @@ -7311,8 +7656,12 @@ types: created_at: datetime display_name: string errors: list - latch_metadata: optional - visionline_metadata: optional + latch_metadata: + type: optional + inline: true + visionline_metadata: + type: optional + inline: true source: openapi: ../openapi.json AcsCredentialProvisioningAutomation: @@ -7442,7 +7791,9 @@ types: is_multi_phone_sync_credential: optional is_latest_desired_state_synced_with_provider: optional latest_desired_state_synced_with_provider_at: optional - visionline_metadata: optional + visionline_metadata: + type: optional + inline: true source: openapi: ../openapi.json EnrollmentAutomation: @@ -7496,7 +7847,9 @@ types: openapi: ../openapi.json PhoneProperties: properties: - assa_abloy_credential_service_metadata: optional + assa_abloy_credential_service_metadata: + type: optional + inline: true source: openapi: ../openapi.json PhoneLocation: @@ -7560,10 +7913,13 @@ types: "battery," which indicates that the device can manage battery life and health. type: list - properties: PhoneProperties + properties: + type: PhoneProperties + inline: true location: type: optional docs: Location information for the device. + inline: true workspace_id: type: string docs: Unique identifier for the Seam workspace associated with the device. @@ -29084,7 +29440,10 @@ service: "EnrollmentAutomationsLaunchResponse": { "docs": undefined, "properties": { - "enrollment_automation": "EnrollmentAutomationsLaunchResponseEnrollmentAutomation", + "enrollment_automation": { + "inline": true, + "type": "EnrollmentAutomationsLaunchResponseEnrollmentAutomation", + }, "ok": "boolean", }, "source": { @@ -29196,7 +29555,9 @@ service: openapi: ../openapi.json EnrollmentAutomationsLaunchResponse: properties: - enrollment_automation: EnrollmentAutomationsLaunchResponseEnrollmentAutomation + enrollment_automation: + type: EnrollmentAutomationsLaunchResponseEnrollmentAutomation + inline: true ok: boolean source: openapi: ../openapi.json diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/squidex.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/squidex.json index 6530d38ad5b..52f07258a8d 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/squidex.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/squidex.json @@ -228,6 +228,7 @@ "canAccessApi": { "availability": "deprecated", "docs": "Indicates if the user can access the api.", + "inline": undefined, "type": "boolean", }, "canAccessContent": { @@ -447,6 +448,7 @@ "isImage": { "availability": "deprecated", "docs": "Determines of the created file is an image.", + "inline": undefined, "type": "boolean", }, "isProtected": { @@ -480,11 +482,13 @@ "pixelHeight": { "availability": "deprecated", "docs": "The height of the image in pixels if the asset is an image.", + "inline": undefined, "type": "optional", }, "pixelWidth": { "availability": "deprecated", "docs": "The width of the image in pixels if the asset is an image.", + "inline": undefined, "type": "optional", }, "slug": { @@ -736,6 +740,7 @@ "mustBeImage": { "availability": "deprecated", "docs": "True to resolve first image in the content list.", + "inline": undefined, "type": "boolean", }, "previewFormat": { @@ -753,6 +758,7 @@ "resolveImage": { "availability": "deprecated", "docs": "True to resolve first image in the content list.", + "inline": undefined, "type": "boolean", }, }, @@ -908,6 +914,7 @@ "contentId": { "availability": "deprecated", "docs": "The ID of the entity that has been handled successfully or not.", + "inline": undefined, "type": "optional", }, "error": { @@ -3018,6 +3025,7 @@ "lastExecuted": { "availability": "deprecated", "docs": "The date and time when the rule was executed the last time.", + "inline": undefined, "type": "optional", }, "lastModified": { @@ -3371,6 +3379,7 @@ "isSingleton": { "availability": "deprecated", "docs": "Indicates if the schema is a singleton.", + "inline": undefined, "type": "boolean", }, "lastModified": { diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/uploadcare.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/uploadcare.json index 898bfc05483..8b814523948 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/uploadcare.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/uploadcare.json @@ -388,6 +388,7 @@ "image": "optional", "mime": { "docs": "MIME type.", + "inline": true, "type": "optional", }, "video": "optional", @@ -713,6 +714,7 @@ that are tool old (or that have not been created at all). "datetime_stored": { "availability": "deprecated", "docs": "ISO-8601 date and time when the group was marked as stored.", + "inline": undefined, "type": "optional", }, "files": { @@ -770,6 +772,7 @@ that are tool old (or that have not been created at all). }, "geo_location": { "docs": "Geo-location of image from EXIF.", + "inline": true, "type": "optional", }, "height": { @@ -840,6 +843,7 @@ that are tool old (or that have not been created at all). "properties": { "audio": { "docs": "Audio stream's metadata.", + "inline": true, "type": "optional", }, "bitrate": { @@ -856,6 +860,7 @@ that are tool old (or that have not been created at all). }, "video": { "docs": "Video stream's metadata.", + "inline": true, "type": "optional", }, }, @@ -1010,6 +1015,7 @@ See [docs](https://uploadcare.com/docs/file-metadata/) and [REST API v0.7](/api- }, "geo_location": { "docs": "Geo-location of image from EXIF.", + "inline": true, "type": "optional", }, "height": { @@ -1706,6 +1712,7 @@ change the value to `auto`. geo_location: type: optional docs: Geo-location of image from EXIF. + inline: true datetime_original: type: optional docs: >- @@ -1768,9 +1775,11 @@ change the value to `auto`. audio: type: optional docs: Audio stream's metadata. + inline: true video: type: optional docs: Video stream's metadata. + inline: true source: openapi: ../openapi.json SchemasImageInfoColorMode: @@ -1827,6 +1836,7 @@ change the value to `auto`. geo_location: type: optional docs: Geo-location of image from EXIF. + inline: true datetime_original: type: optional docs: >- @@ -1910,6 +1920,7 @@ change the value to `auto`. mime: type: optional docs: MIME type. + inline: true image: optional video: optional source: diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/valtown.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/valtown.json index f8c4b2f5c66..cff71f9f2d7 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/valtown.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/valtown.json @@ -91,7 +91,10 @@ "pattern": undefined, }, }, - "links": "BasicValLinks", + "links": { + "inline": true, + "type": "BasicValLinks", + }, "name": { "docs": "The name of this val", "type": "string", @@ -249,7 +252,10 @@ "multipleOf": undefined, }, }, - "links": "ExtendedValLinks", + "links": { + "inline": true, + "type": "ExtendedValLinks", + }, "name": { "docs": "The name of this val", "type": "string", @@ -506,7 +512,10 @@ This value is not specified if the SQL statement was not an INSERT or if the tab "pattern": undefined, }, }, - "links": "UserLinks", + "links": { + "inline": true, + "type": "UserLinks", + }, "profileImageUrl": { "docs": "URL that points to the user’s profile image, if one exists", "type": "optional", @@ -604,7 +613,9 @@ This value is not specified if the SQL statement was not an INSERT or if the tab docs: URL of this user’s profile on Val Town’s website validation: format: uri - links: UserLinks + links: + type: UserLinks + inline: true source: openapi: ../openapi.yml ResultSetLastInsertRowid: @@ -756,7 +767,9 @@ This value is not specified if the SQL statement was not an INSERT or if the tab docs: The URL of this val on the Val Town website validation: format: uri - links: ExtendedValLinks + links: + type: ExtendedValLinks + inline: true author: type: optional docs: The user who created this val @@ -867,7 +880,9 @@ This value is not specified if the SQL statement was not an INSERT or if the tab docs: The URL of this val on the Val Town website validation: format: uri - links: BasicValLinks + links: + type: BasicValLinks + inline: true author: type: optional docs: The user who created this val @@ -1077,7 +1092,10 @@ API endpoints", "multipleOf": undefined, }, }, - "links": "AliasValResponseLinks", + "links": { + "inline": true, + "type": "AliasValResponseLinks", + }, "name": { "docs": "The name of this val", "type": "string", @@ -1395,7 +1413,9 @@ types: docs: The URL of this val on the Val Town website validation: format: uri - links: AliasValResponseLinks + links: + type: AliasValResponseLinks + inline: true author: type: optional docs: The user who created this val @@ -2281,7 +2301,10 @@ give access to details and data from the requesting user.", "MeCommentsResponseDataItem": { "docs": undefined, "properties": { - "author": "MeCommentsResponseDataItemAuthor", + "author": { + "inline": true, + "type": "MeCommentsResponseDataItemAuthor", + }, "comment": { "docs": "Text of the given comment, in Markdown", "type": "string", @@ -2297,7 +2320,10 @@ give access to details and data from the requesting user.", "pattern": undefined, }, }, - "val": "MeCommentsResponseDataItemVal", + "val": { + "inline": true, + "type": "MeCommentsResponseDataItemVal", + }, }, "source": { "openapi": "../openapi.yml", @@ -2410,7 +2436,10 @@ give access to details and data from the requesting user.", "pattern": undefined, }, }, - "links": "MeGetResponseLinks", + "links": { + "inline": true, + "type": "MeGetResponseLinks", + }, "profileImageUrl": { "docs": "URL that points to the user’s profile image, if one exists", "type": "optional", @@ -2497,10 +2526,12 @@ give access to details and data from the requesting user.", "properties": { "dependsOn": { "docs": "A val in a dependency relationship", + "inline": true, "type": "MeReferencesResponseDataItemDependsOn", }, "reference": { "docs": "A val in a dependency relationship", + "inline": true, "type": "MeReferencesResponseDataItemReference", }, "referencedAt": "datetime", @@ -2626,7 +2657,9 @@ give access to details and data from the requesting user.", docs: URL of this user’s profile on Val Town’s website validation: format: uri - links: MeGetResponseLinks + links: + type: MeGetResponseLinks + inline: true tier: type: optional docs: Your account tier @@ -2713,8 +2746,12 @@ give access to details and data from the requesting user.", validation: format: uuid createdAt: datetime - author: MeCommentsResponseDataItemAuthor - val: MeCommentsResponseDataItemVal + author: + type: MeCommentsResponseDataItemAuthor + inline: true + val: + type: MeCommentsResponseDataItemVal + inline: true source: openapi: ../openapi.yml MeCommentsResponse: @@ -2774,9 +2811,11 @@ give access to details and data from the requesting user.", reference: type: MeReferencesResponseDataItemReference docs: A val in a dependency relationship + inline: true dependsOn: type: MeReferencesResponseDataItemDependsOn docs: A val in a dependency relationship + inline: true referencedAt: datetime source: openapi: ../openapi.yml diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/webflow.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/webflow.json index b31ac9e1559..7eff5befa47 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/webflow.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/webflow.json @@ -1569,6 +1569,7 @@ service: }, "uploadDetails": { "docs": "Metadata for uploading the asset binary", + "inline": true, "type": "optional", }, "uploadUrl": { @@ -1750,6 +1751,7 @@ service: }, "pagination": { "docs": "Pagination object", + "inline": true, "type": "optional", }, }, @@ -2121,6 +2123,7 @@ service: uploadDetails: type: optional docs: Metadata for uploading the asset binary + inline: true contentType: optional id: optional parentFolder: @@ -2336,6 +2339,7 @@ service: pagination: type: optional docs: Pagination object + inline: true source: openapi: ../openapi.yml AssetsCreateFolderResponse: @@ -5579,7 +5583,10 @@ service: "docs": "List of Items within the collection", "type": "optional>", }, - "pagination": "optional", + "pagination": { + "inline": true, + "type": "optional", + }, }, "source": { "openapi": "../openapi.yml", @@ -5690,7 +5697,10 @@ service: "docs": "List of Items within the collection", "type": "optional>", }, - "pagination": "optional", + "pagination": { + "inline": true, + "type": "optional", + }, }, "source": { "openapi": "../openapi.yml", @@ -6016,7 +6026,9 @@ service: items: type: optional> docs: List of Items within the collection - pagination: optional + pagination: + type: optional + inline: true source: openapi: ../openapi.yml ItemsCreateItemRequestFieldData: @@ -6158,7 +6170,9 @@ service: items: type: optional> docs: List of Items within the collection - pagination: optional + pagination: + type: optional + inline: true source: openapi: ../openapi.yml ItemsCreateItemLiveRequestFieldData: @@ -7793,6 +7807,7 @@ service: "properties": { "payload": { "docs": "The payload of data sent from Webflow", + "inline": true, "type": "optional", }, "triggerType": { @@ -7881,6 +7896,7 @@ service: }, "responseSettings": { "docs": "Settings for form responses", + "inline": true, "type": "optional", }, "siteDomainId": { @@ -7999,6 +8015,7 @@ service: "forms": "optional>", "pagination": { "docs": "Pagination object", + "inline": true, "type": "optional", }, }, @@ -8043,6 +8060,7 @@ service: }, "responseSettings": { "docs": "Settings for form responses", + "inline": true, "type": "optional", }, "siteDomainId": { @@ -8149,6 +8167,7 @@ service: "formSubmissions": "optional>", "pagination": { "docs": "Pagination object", + "inline": true, "type": "optional", }, }, @@ -8362,6 +8381,7 @@ service: responseSettings: type: optional docs: Settings for form responses + inline: true id: type: optional docs: The unique id for the Form @@ -8406,6 +8426,7 @@ service: pagination: type: optional docs: Pagination object + inline: true source: openapi: ../openapi.yml FormsGetResponseFieldsValueType: @@ -8470,6 +8491,7 @@ service: responseSettings: type: optional docs: Settings for form responses + inline: true id: type: optional docs: The unique id for the Form @@ -8536,6 +8558,7 @@ service: pagination: type: optional docs: Pagination object + inline: true source: openapi: ../openapi.yml FormsGetSubmissionResponse: @@ -8622,6 +8645,7 @@ service: payload: type: optional docs: The payload of data sent from Webflow + inline: true source: openapi: ../openapi.yml imports: @@ -9547,6 +9571,7 @@ webhooks: "properties": { "payload": { "docs": "The payload of data sent from Webflow", + "inline": true, "type": "optional", }, "triggerType": { @@ -9587,6 +9612,7 @@ webhooks: "properties": { "payload": { "docs": "The payload of data sent from Webflow", + "inline": true, "type": "optional", }, "triggerType": { @@ -9844,6 +9870,7 @@ webhooks: payload: type: optional docs: The payload of data sent from Webflow + inline: true source: openapi: ../openapi.yml CollectionItemUnpublishedPayloadPayload: @@ -9871,6 +9898,7 @@ webhooks: payload: type: optional docs: The payload of data sent from Webflow + inline: true source: openapi: ../openapi.yml webhooks: @@ -11951,7 +11979,10 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "metadata": "optional", + "metadata": { + "inline": true, + "type": "optional", + }, "netAmount": { "docs": "The net amount after application fees", "type": "optional", @@ -11970,7 +12001,10 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "paypalDetails": "optional", + "paypalDetails": { + "inline": true, + "type": "optional", + }, "purchasedItems": { "docs": "An array of all things that the Customer purchased.", "type": "optional>", @@ -12411,7 +12445,10 @@ Required scope | `ecommerce:write` "EcommNewOrderPayloadPurchasedItemsItemVariantImage": { "docs": undefined, "properties": { - "file": "optional", + "file": { + "inline": true, + "type": "optional", + }, "url": { "docs": "The hosted location for the Variant's image", "type": "optional", @@ -12606,6 +12643,7 @@ Required scope | `ecommerce:write` }, "expires": { "docs": "The card's expiration date.", + "inline": true, "type": "optional", }, "last4": { @@ -12892,7 +12930,10 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "metadata": "optional", + "metadata": { + "inline": true, + "type": "optional", + }, "netAmount": { "docs": "The net amount after application fees", "type": "optional", @@ -12911,7 +12952,10 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "paypalDetails": "optional", + "paypalDetails": { + "inline": true, + "type": "optional", + }, "purchasedItems": { "docs": "An array of all things that the Customer purchased.", "type": "optional>", @@ -13352,7 +13396,10 @@ Required scope | `ecommerce:write` "EcommOrderChangedPayloadPurchasedItemsItemVariantImage": { "docs": undefined, "properties": { - "file": "optional", + "file": { + "inline": true, + "type": "optional", + }, "url": { "docs": "The hosted location for the Variant's image", "type": "optional", @@ -13547,6 +13594,7 @@ Required scope | `ecommerce:write` }, "expires": { "docs": "The card's expiration date.", + "inline": true, "type": "optional", }, "last4": { @@ -13833,7 +13881,10 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "metadata": "optional", + "metadata": { + "inline": true, + "type": "optional", + }, "netAmount": { "docs": "The net amount after application fees", "type": "optional", @@ -13852,7 +13903,10 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "paypalDetails": "optional", + "paypalDetails": { + "inline": true, + "type": "optional", + }, "purchasedItems": { "docs": "An array of all things that the Customer purchased.", "type": "optional>", @@ -14293,7 +14347,10 @@ Required scope | `ecommerce:write` "OrdersGetResponsePurchasedItemsItemVariantImage": { "docs": undefined, "properties": { - "file": "optional", + "file": { + "inline": true, + "type": "optional", + }, "url": { "docs": "The hosted location for the Variant's image", "type": "optional", @@ -14488,6 +14545,7 @@ Required scope | `ecommerce:write` }, "expires": { "docs": "The card's expiration date.", + "inline": true, "type": "optional", }, "last4": { @@ -14724,6 +14782,7 @@ Required scope | `ecommerce:write` }, "pagination": { "docs": "Pagination object", + "inline": true, "type": "optional", }, }, @@ -14806,7 +14865,10 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "metadata": "optional", + "metadata": { + "inline": true, + "type": "optional", + }, "netAmount": { "docs": "The net amount after application fees", "type": "optional", @@ -14825,7 +14887,10 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "paypalDetails": "optional", + "paypalDetails": { + "inline": true, + "type": "optional", + }, "purchasedItems": { "docs": "An array of all things that the Customer purchased.", "type": "optional>", @@ -15266,7 +15331,10 @@ Required scope | `ecommerce:write` "OrdersListResponseOrdersItemPurchasedItemsItemVariantImage": { "docs": undefined, "properties": { - "file": "optional", + "file": { + "inline": true, + "type": "optional", + }, "url": { "docs": "The hosted location for the Variant's image", "type": "optional", @@ -15461,6 +15529,7 @@ Required scope | `ecommerce:write` }, "expires": { "docs": "The card's expiration date.", + "inline": true, "type": "optional", }, "last4": { @@ -15778,7 +15847,10 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "metadata": "optional", + "metadata": { + "inline": true, + "type": "optional", + }, "netAmount": { "docs": "The net amount after application fees", "type": "optional", @@ -15797,7 +15869,10 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "paypalDetails": "optional", + "paypalDetails": { + "inline": true, + "type": "optional", + }, "purchasedItems": { "docs": "An array of all things that the Customer purchased.", "type": "optional>", @@ -16238,7 +16313,10 @@ Required scope | `ecommerce:write` "OrdersRefundResponsePurchasedItemsItemVariantImage": { "docs": undefined, "properties": { - "file": "optional", + "file": { + "inline": true, + "type": "optional", + }, "url": { "docs": "The hosted location for the Variant's image", "type": "optional", @@ -16433,6 +16511,7 @@ Required scope | `ecommerce:write` }, "expires": { "docs": "The card's expiration date.", + "inline": true, "type": "optional", }, "last4": { @@ -16719,7 +16798,10 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "metadata": "optional", + "metadata": { + "inline": true, + "type": "optional", + }, "netAmount": { "docs": "The net amount after application fees", "type": "optional", @@ -16738,7 +16820,10 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "paypalDetails": "optional", + "paypalDetails": { + "inline": true, + "type": "optional", + }, "purchasedItems": { "docs": "An array of all things that the Customer purchased.", "type": "optional>", @@ -17179,7 +17264,10 @@ Required scope | `ecommerce:write` "OrdersUpdateFulfillResponsePurchasedItemsItemVariantImage": { "docs": undefined, "properties": { - "file": "optional", + "file": { + "inline": true, + "type": "optional", + }, "url": { "docs": "The hosted location for the Variant's image", "type": "optional", @@ -17374,6 +17462,7 @@ Required scope | `ecommerce:write` }, "expires": { "docs": "The card's expiration date.", + "inline": true, "type": "optional", }, "last4": { @@ -17660,7 +17749,10 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "metadata": "optional", + "metadata": { + "inline": true, + "type": "optional", + }, "netAmount": { "docs": "The net amount after application fees", "type": "optional", @@ -17679,7 +17771,10 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "paypalDetails": "optional", + "paypalDetails": { + "inline": true, + "type": "optional", + }, "purchasedItems": { "docs": "An array of all things that the Customer purchased.", "type": "optional>", @@ -18120,7 +18215,10 @@ Required scope | `ecommerce:write` "OrdersUpdateResponsePurchasedItemsItemVariantImage": { "docs": undefined, "properties": { - "file": "optional", + "file": { + "inline": true, + "type": "optional", + }, "url": { "docs": "The hosted location for the Variant's image", "type": "optional", @@ -18315,6 +18413,7 @@ Required scope | `ecommerce:write` }, "expires": { "docs": "The card's expiration date.", + "inline": true, "type": "optional", }, "last4": { @@ -18601,7 +18700,10 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "metadata": "optional", + "metadata": { + "inline": true, + "type": "optional", + }, "netAmount": { "docs": "The net amount after application fees", "type": "optional", @@ -18620,7 +18722,10 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "paypalDetails": "optional", + "paypalDetails": { + "inline": true, + "type": "optional", + }, "purchasedItems": { "docs": "An array of all things that the Customer purchased.", "type": "optional>", @@ -19061,7 +19166,10 @@ Required scope | `ecommerce:write` "OrdersUpdateUnfulfillResponsePurchasedItemsItemVariantImage": { "docs": undefined, "properties": { - "file": "optional", + "file": { + "inline": true, + "type": "optional", + }, "url": { "docs": "The hosted location for the Variant's image", "type": "optional", @@ -19256,6 +19364,7 @@ Required scope | `ecommerce:write` }, "expires": { "docs": "The card's expiration date.", + "inline": true, "type": "optional", }, "last4": { @@ -20234,7 +20343,10 @@ Required scope | `ecommerce:write` docs: The hosted location for the Variant's image validation: format: uri - file: optional + file: + type: >- + optional + inline: true source: openapi: ../openapi.yml OrdersListResponseOrdersItemPurchasedItemsItemVariantPrice: @@ -20372,6 +20484,7 @@ Required scope | `ecommerce:write` expires: type: optional docs: The card's expiration date. + inline: true source: openapi: ../openapi.yml OrdersListResponseOrdersItemPaypalDetails: @@ -20600,14 +20713,18 @@ Required scope | `ecommerce:write` docs: > Details on the card used to fulfill this order, if this order was finalized with Stripe. - paypalDetails: optional + paypalDetails: + type: optional + inline: true customData: type: optional>> docs: > An array of additional inputs for custom order data gathering. Each object in the array represents an input with a name, and a textInput, textArea, or checkbox value. - metadata: optional + metadata: + type: optional + inline: true isCustomerDeleted: type: optional docs: > @@ -20658,6 +20775,7 @@ Required scope | `ecommerce:write` pagination: type: optional docs: Pagination object + inline: true source: openapi: ../openapi.yml OrdersGetResponseStatus: @@ -20959,7 +21077,9 @@ Required scope | `ecommerce:write` docs: The hosted location for the Variant's image validation: format: uri - file: optional + file: + type: optional + inline: true source: openapi: ../openapi.yml OrdersGetResponsePurchasedItemsItemVariantPrice: @@ -21097,6 +21217,7 @@ Required scope | `ecommerce:write` expires: type: optional docs: The card's expiration date. + inline: true source: openapi: ../openapi.yml OrdersGetResponsePaypalDetails: @@ -21325,14 +21446,18 @@ Required scope | `ecommerce:write` docs: > Details on the card used to fulfill this order, if this order was finalized with Stripe. - paypalDetails: optional + paypalDetails: + type: optional + inline: true customData: type: optional>> docs: > An array of additional inputs for custom order data gathering. Each object in the array represents an input with a name, and a textInput, textArea, or checkbox value. - metadata: optional + metadata: + type: optional + inline: true isCustomerDeleted: type: optional docs: > @@ -21659,7 +21784,9 @@ Required scope | `ecommerce:write` docs: The hosted location for the Variant's image validation: format: uri - file: optional + file: + type: optional + inline: true source: openapi: ../openapi.yml OrdersUpdateResponsePurchasedItemsItemVariantPrice: @@ -21797,6 +21924,7 @@ Required scope | `ecommerce:write` expires: type: optional docs: The card's expiration date. + inline: true source: openapi: ../openapi.yml OrdersUpdateResponsePaypalDetails: @@ -22025,14 +22153,18 @@ Required scope | `ecommerce:write` docs: > Details on the card used to fulfill this order, if this order was finalized with Stripe. - paypalDetails: optional + paypalDetails: + type: optional + inline: true customData: type: optional>> docs: > An array of additional inputs for custom order data gathering. Each object in the array represents an input with a name, and a textInput, textArea, or checkbox value. - metadata: optional + metadata: + type: optional + inline: true isCustomerDeleted: type: optional docs: > @@ -22359,7 +22491,10 @@ Required scope | `ecommerce:write` docs: The hosted location for the Variant's image validation: format: uri - file: optional + file: + type: >- + optional + inline: true source: openapi: ../openapi.yml OrdersUpdateFulfillResponsePurchasedItemsItemVariantPrice: @@ -22497,6 +22632,7 @@ Required scope | `ecommerce:write` expires: type: optional docs: The card's expiration date. + inline: true source: openapi: ../openapi.yml OrdersUpdateFulfillResponsePaypalDetails: @@ -22725,14 +22861,18 @@ Required scope | `ecommerce:write` docs: > Details on the card used to fulfill this order, if this order was finalized with Stripe. - paypalDetails: optional + paypalDetails: + type: optional + inline: true customData: type: optional>> docs: > An array of additional inputs for custom order data gathering. Each object in the array represents an input with a name, and a textInput, textArea, or checkbox value. - metadata: optional + metadata: + type: optional + inline: true isCustomerDeleted: type: optional docs: > @@ -23059,8 +23199,10 @@ Required scope | `ecommerce:write` docs: The hosted location for the Variant's image validation: format: uri - file: >- - optional + file: + type: >- + optional + inline: true source: openapi: ../openapi.yml OrdersUpdateUnfulfillResponsePurchasedItemsItemVariantPrice: @@ -23198,6 +23340,7 @@ Required scope | `ecommerce:write` expires: type: optional docs: The card's expiration date. + inline: true source: openapi: ../openapi.yml OrdersUpdateUnfulfillResponsePaypalDetails: @@ -23426,14 +23569,18 @@ Required scope | `ecommerce:write` docs: > Details on the card used to fulfill this order, if this order was finalized with Stripe. - paypalDetails: optional + paypalDetails: + type: optional + inline: true customData: type: optional>> docs: > An array of additional inputs for custom order data gathering. Each object in the array represents an input with a name, and a textInput, textArea, or checkbox value. - metadata: optional + metadata: + type: optional + inline: true isCustomerDeleted: type: optional docs: > @@ -23768,7 +23915,9 @@ Required scope | `ecommerce:write` docs: The hosted location for the Variant's image validation: format: uri - file: optional + file: + type: optional + inline: true source: openapi: ../openapi.yml OrdersRefundResponsePurchasedItemsItemVariantPrice: @@ -23906,6 +24055,7 @@ Required scope | `ecommerce:write` expires: type: optional docs: The card's expiration date. + inline: true source: openapi: ../openapi.yml OrdersRefundResponsePaypalDetails: @@ -24134,14 +24284,18 @@ Required scope | `ecommerce:write` docs: > Details on the card used to fulfill this order, if this order was finalized with Stripe. - paypalDetails: optional + paypalDetails: + type: optional + inline: true customData: type: optional>> docs: > An array of additional inputs for custom order data gathering. Each object in the array represents an input with a name, and a textInput, textArea, or checkbox value. - metadata: optional + metadata: + type: optional + inline: true isCustomerDeleted: type: optional docs: > @@ -24468,7 +24622,9 @@ Required scope | `ecommerce:write` docs: The hosted location for the Variant's image validation: format: uri - file: optional + file: + type: optional + inline: true source: openapi: ../openapi.yml EcommNewOrderPayloadPurchasedItemsItemVariantPrice: @@ -24606,6 +24762,7 @@ Required scope | `ecommerce:write` expires: type: optional docs: The card's expiration date. + inline: true source: openapi: ../openapi.yml EcommNewOrderPayloadPaypalDetails: @@ -24834,14 +24991,18 @@ Required scope | `ecommerce:write` docs: > Details on the card used to fulfill this order, if this order was finalized with Stripe. - paypalDetails: optional + paypalDetails: + type: optional + inline: true customData: type: optional>> docs: > An array of additional inputs for custom order data gathering. Each object in the array represents an input with a name, and a textInput, textArea, or checkbox value. - metadata: optional + metadata: + type: optional + inline: true isCustomerDeleted: type: optional docs: > @@ -25168,7 +25329,9 @@ Required scope | `ecommerce:write` docs: The hosted location for the Variant's image validation: format: uri - file: optional + file: + type: optional + inline: true source: openapi: ../openapi.yml EcommOrderChangedPayloadPurchasedItemsItemVariantPrice: @@ -25306,6 +25469,7 @@ Required scope | `ecommerce:write` expires: type: optional docs: The card's expiration date. + inline: true source: openapi: ../openapi.yml EcommOrderChangedPayloadPaypalDetails: @@ -25534,14 +25698,18 @@ Required scope | `ecommerce:write` docs: > Details on the card used to fulfill this order, if this order was finalized with Stripe. - paypalDetails: optional + paypalDetails: + type: optional + inline: true customData: type: optional>> docs: > An array of additional inputs for custom order data gathering. Each object in the array represents an input with a name, and a textInput, textArea, or checkbox value. - metadata: optional + metadata: + type: optional + inline: true isCustomerDeleted: type: optional docs: > @@ -27998,6 +28166,7 @@ Required scope | `pages:write` "properties": { "payload": { "docs": "The payload of data sent from Webflow", + "inline": true, "type": "optional", }, "triggerType": { @@ -28026,6 +28195,7 @@ Required scope | `pages:write` "properties": { "payload": { "docs": "The payload of data sent from Webflow", + "inline": true, "type": "optional", }, "triggerType": { @@ -28054,6 +28224,7 @@ Required scope | `pages:write` "properties": { "payload": { "docs": "The payload of data sent from Webflow", + "inline": true, "type": "optional", }, "triggerType": { @@ -28088,6 +28259,7 @@ Required scope | `pages:write` }, "pagination": { "docs": "Pagination object", + "inline": true, "type": "optional", }, }, @@ -28110,11 +28282,13 @@ Required scope | `pages:write` "image": { "docs": "Represents an image within the DOM. It contains details about the image, such as its alternative text (alt) for accessibility and an asset identifier for fetching the actual image resource. Additional attributes can be associated with the image for styling or other purposes. ", + "inline": true, "type": "optional", }, "text": { "docs": "Represents textual content within the DOM. It contains both the raw text and its HTML representation, allowing for flexibility in rendering and processing. Additional attributes can be associated with the text for styling or other purposes. ", + "inline": true, "type": "optional", }, "type": "optional", @@ -28219,6 +28393,7 @@ Required scope | `pages:write` }, "openGraph": { "docs": "Open Graph fields for the Page", + "inline": true, "type": "optional", }, "parentId": { @@ -28231,6 +28406,7 @@ Required scope | `pages:write` }, "seo": { "docs": "SEO-related fields for the Page", + "inline": true, "type": "optional", }, "siteId": { @@ -28298,6 +28474,7 @@ Required scope | `pages:write` "pages": "optional>", "pagination": { "docs": "Pagination object", + "inline": true, "type": "optional", }, }, @@ -28350,6 +28527,7 @@ Required scope | `pages:write` }, "openGraph": { "docs": "Open Graph fields for the Page", + "inline": true, "type": "optional", }, "parentId": { @@ -28362,6 +28540,7 @@ Required scope | `pages:write` }, "seo": { "docs": "SEO-related fields for the Page", + "inline": true, "type": "optional", }, "siteId": { @@ -28530,6 +28709,7 @@ Required scope | `pages:write` }, "openGraph": { "docs": "Open Graph fields for the Page", + "inline": true, "type": "optional", }, "parentId": { @@ -28542,6 +28722,7 @@ Required scope | `pages:write` }, "seo": { "docs": "SEO-related fields for the Page", + "inline": true, "type": "optional", }, "siteId": { @@ -28792,9 +28973,11 @@ Required scope | `pages:write` seo: type: optional docs: SEO-related fields for the Page + inline: true openGraph: type: optional docs: Open Graph fields for the Page + inline: true localeId: type: optional docs: Unique ID of the page locale @@ -28824,6 +29007,7 @@ Required scope | `pages:write` pagination: type: optional docs: Pagination object + inline: true source: openapi: ../openapi.yml PagesGetMetadataResponseSeo: @@ -28910,9 +29094,11 @@ Required scope | `pages:write` seo: type: optional docs: SEO-related fields for the Page + inline: true openGraph: type: optional docs: Open Graph fields for the Page + inline: true localeId: type: optional docs: Unique ID of the page locale @@ -29037,9 +29223,11 @@ Required scope | `pages:write` seo: type: optional docs: SEO-related fields for the Page + inline: true openGraph: type: optional docs: Open Graph fields for the Page + inline: true localeId: type: optional docs: Unique ID of the page locale @@ -29093,6 +29281,7 @@ Required scope | `pages:write` text and its HTML representation, allowing for flexibility in rendering and processing. Additional attributes can be associated with the text for styling or other purposes. + inline: true image: type: optional docs: > @@ -29101,6 +29290,7 @@ Required scope | `pages:write` asset identifier for fetching the actual image resource. Additional attributes can be associated with the image for styling or other purposes. + inline: true attributes: type: optional> docs: The custom attributes of the node @@ -29136,6 +29326,7 @@ Required scope | `pages:write` pagination: type: optional docs: Pagination object + inline: true source: openapi: ../openapi.yml UpdateStaticContentRequestNodesItem: @@ -29175,6 +29366,7 @@ Required scope | `pages:write` payload: type: optional docs: The payload of data sent from Webflow + inline: true source: openapi: ../openapi.yml PageMetadataUpdatedPayloadPayload: @@ -29195,6 +29387,7 @@ Required scope | `pages:write` payload: type: optional docs: The payload of data sent from Webflow + inline: true source: openapi: ../openapi.yml PageDeletedPayloadPayload: @@ -29215,6 +29408,7 @@ Required scope | `pages:write` payload: type: optional docs: The payload of data sent from Webflow + inline: true source: openapi: ../openapi.yml imports: @@ -31364,16 +31558,21 @@ Required scope | `ecommerce:write` "properties": { "compare-at-price": { "docs": "comparison price of SKU", + "inline": true, "type": "optional", }, "ec-sku-billing-method": "optional", - "ec-sku-subscription-plan": "optional", + "ec-sku-subscription-plan": { + "inline": true, + "type": "optional", + }, "name": { "docs": "Name of the Product", "type": "string", }, "price": { "docs": "price of SKU", + "inline": true, "type": "ProductsCreateRequestSkuFieldDataPrice", }, "quantity": { @@ -31512,6 +31711,7 @@ Required scope | `ecommerce:write` "properties": { "product": { "docs": "The Product object", + "inline": true, "type": "optional", }, "skus": { @@ -31819,16 +32019,21 @@ Required scope | `ecommerce:write` "properties": { "compare-at-price": { "docs": "comparison price of SKU", + "inline": true, "type": "optional", }, "ec-sku-billing-method": "optional", - "ec-sku-subscription-plan": "optional", + "ec-sku-subscription-plan": { + "inline": true, + "type": "optional", + }, "name": { "docs": "Name of the Product", "type": "string", }, "price": { "docs": "price of SKU", + "inline": true, "type": "ProductsCreateResponseSkusItemFieldDataPrice", }, "quantity": { @@ -32010,16 +32215,21 @@ Required scope | `ecommerce:write` "properties": { "compare-at-price": { "docs": "comparison price of SKU", + "inline": true, "type": "optional", }, "ec-sku-billing-method": "optional", - "ec-sku-subscription-plan": "optional", + "ec-sku-subscription-plan": { + "inline": true, + "type": "optional", + }, "name": { "docs": "Name of the Product", "type": "string", }, "price": { "docs": "price of SKU", + "inline": true, "type": "ProductsCreateSkuRequestSkusItemFieldDataPrice", }, "quantity": { @@ -32199,16 +32409,21 @@ Required scope | `ecommerce:write` "properties": { "compare-at-price": { "docs": "comparison price of SKU", + "inline": true, "type": "optional", }, "ec-sku-billing-method": "optional", - "ec-sku-subscription-plan": "optional", + "ec-sku-subscription-plan": { + "inline": true, + "type": "optional", + }, "name": { "docs": "Name of the Product", "type": "string", }, "price": { "docs": "price of SKU", + "inline": true, "type": "ProductsCreateSkuResponseSkusItemFieldDataPrice", }, "quantity": { @@ -32347,6 +32562,7 @@ Required scope | `ecommerce:write` "properties": { "product": { "docs": "The Product object", + "inline": true, "type": "optional", }, "skus": { @@ -32654,16 +32870,21 @@ Required scope | `ecommerce:write` "properties": { "compare-at-price": { "docs": "comparison price of SKU", + "inline": true, "type": "optional", }, "ec-sku-billing-method": "optional", - "ec-sku-subscription-plan": "optional", + "ec-sku-subscription-plan": { + "inline": true, + "type": "optional", + }, "name": { "docs": "Name of the Product", "type": "string", }, "price": { "docs": "price of SKU", + "inline": true, "type": "ProductsGetResponseSkusItemFieldDataPrice", }, "quantity": { @@ -32806,6 +33027,7 @@ Required scope | `ecommerce:write` }, "pagination": { "docs": "Pagination object", + "inline": true, "type": "optional", }, }, @@ -32818,6 +33040,7 @@ Required scope | `ecommerce:write` "properties": { "product": { "docs": "The Product object", + "inline": true, "type": "optional", }, "skus": { @@ -33125,16 +33348,21 @@ Required scope | `ecommerce:write` "properties": { "compare-at-price": { "docs": "comparison price of SKU", + "inline": true, "type": "optional", }, "ec-sku-billing-method": "optional", - "ec-sku-subscription-plan": "optional", + "ec-sku-subscription-plan": { + "inline": true, + "type": "optional", + }, "name": { "docs": "Name of the Product", "type": "string", }, "price": { "docs": "price of SKU", + "inline": true, "type": "ProductsListResponseItemsItemSkusItemFieldDataPrice", }, "quantity": { @@ -33595,16 +33823,21 @@ Required scope | `ecommerce:write` "properties": { "compare-at-price": { "docs": "comparison price of SKU", + "inline": true, "type": "optional", }, "ec-sku-billing-method": "optional", - "ec-sku-subscription-plan": "optional", + "ec-sku-subscription-plan": { + "inline": true, + "type": "optional", + }, "name": { "docs": "Name of the Product", "type": "string", }, "price": { "docs": "price of SKU", + "inline": true, "type": "ProductsUpdateRequestSkuFieldDataPrice", }, "quantity": { @@ -34045,16 +34278,21 @@ Required scope | `ecommerce:write` "properties": { "compare-at-price": { "docs": "comparison price of SKU", + "inline": true, "type": "optional", }, "ec-sku-billing-method": "optional", - "ec-sku-subscription-plan": "optional", + "ec-sku-subscription-plan": { + "inline": true, + "type": "optional", + }, "name": { "docs": "Name of the Product", "type": "string", }, "price": { "docs": "price of SKU", + "inline": true, "type": "ProductsUpdateSkuRequestSkuFieldDataPrice", }, "quantity": { @@ -34225,16 +34463,21 @@ Required scope | `ecommerce:write` "properties": { "compare-at-price": { "docs": "comparison price of SKU", + "inline": true, "type": "optional", }, "ec-sku-billing-method": "optional", - "ec-sku-subscription-plan": "optional", + "ec-sku-subscription-plan": { + "inline": true, + "type": "optional", + }, "name": { "docs": "Name of the Product", "type": "string", }, "price": { "docs": "price of SKU", + "inline": true, "type": "ProductsUpdateSkuResponseFieldDataPrice", }, "quantity": { @@ -34644,13 +34887,17 @@ Required scope | `ecommerce:write` price: type: ProductsListResponseItemsItemSkusItemFieldDataPrice docs: price of SKU + inline: true compare-at-price: type: optional docs: comparison price of SKU + inline: true ec-sku-billing-method: >- optional - ec-sku-subscription-plan: >- - optional + ec-sku-subscription-plan: + type: >- + optional + inline: true track-inventory: type: optional docs: >- @@ -34691,6 +34938,7 @@ Required scope | `ecommerce:write` product: type: optional docs: The Product object + inline: true skus: type: optional> docs: A list of SKU Objects @@ -34721,6 +34969,7 @@ Required scope | `ecommerce:write` pagination: type: optional docs: Pagination object + inline: true source: openapi: ../openapi.yml ProductsCreateRequestPublishStatus: @@ -34979,11 +35228,15 @@ Required scope | `ecommerce:write` price: type: ProductsCreateRequestSkuFieldDataPrice docs: price of SKU + inline: true compare-at-price: type: optional docs: comparison price of SKU + inline: true ec-sku-billing-method: optional - ec-sku-subscription-plan: optional + ec-sku-subscription-plan: + type: optional + inline: true track-inventory: type: optional docs: >- @@ -35290,11 +35543,15 @@ Required scope | `ecommerce:write` price: type: ProductsCreateResponseSkusItemFieldDataPrice docs: price of SKU + inline: true compare-at-price: type: optional docs: comparison price of SKU + inline: true ec-sku-billing-method: optional - ec-sku-subscription-plan: optional + ec-sku-subscription-plan: + type: optional + inline: true track-inventory: type: optional docs: >- @@ -35335,6 +35592,7 @@ Required scope | `ecommerce:write` product: type: optional docs: The Product object + inline: true skus: type: optional> docs: A list of SKU Objects @@ -35611,11 +35869,15 @@ Required scope | `ecommerce:write` price: type: ProductsGetResponseSkusItemFieldDataPrice docs: price of SKU + inline: true compare-at-price: type: optional docs: comparison price of SKU + inline: true ec-sku-billing-method: optional - ec-sku-subscription-plan: optional + ec-sku-subscription-plan: + type: optional + inline: true track-inventory: type: optional docs: >- @@ -35656,6 +35918,7 @@ Required scope | `ecommerce:write` product: type: optional docs: The Product object + inline: true skus: type: optional> docs: A list of SKU Objects @@ -35940,11 +36203,15 @@ Required scope | `ecommerce:write` price: type: ProductsUpdateRequestSkuFieldDataPrice docs: price of SKU + inline: true compare-at-price: type: optional docs: comparison price of SKU + inline: true ec-sku-billing-method: optional - ec-sku-subscription-plan: optional + ec-sku-subscription-plan: + type: optional + inline: true track-inventory: type: optional docs: >- @@ -36258,11 +36525,16 @@ Required scope | `ecommerce:write` price: type: ProductsCreateSkuRequestSkusItemFieldDataPrice docs: price of SKU + inline: true compare-at-price: type: optional docs: comparison price of SKU + inline: true ec-sku-billing-method: optional - ec-sku-subscription-plan: optional + ec-sku-subscription-plan: + type: >- + optional + inline: true track-inventory: type: optional docs: >- @@ -36390,12 +36662,16 @@ Required scope | `ecommerce:write` price: type: ProductsCreateSkuResponseSkusItemFieldDataPrice docs: price of SKU + inline: true compare-at-price: type: optional docs: comparison price of SKU + inline: true ec-sku-billing-method: optional - ec-sku-subscription-plan: >- - optional + ec-sku-subscription-plan: + type: >- + optional + inline: true track-inventory: type: optional docs: >- @@ -36536,11 +36812,15 @@ Required scope | `ecommerce:write` price: type: ProductsUpdateSkuRequestSkuFieldDataPrice docs: price of SKU + inline: true compare-at-price: type: optional docs: comparison price of SKU + inline: true ec-sku-billing-method: optional - ec-sku-subscription-plan: optional + ec-sku-subscription-plan: + type: optional + inline: true track-inventory: type: optional docs: >- @@ -36668,11 +36948,15 @@ Required scope | `ecommerce:write` price: type: ProductsUpdateSkuResponseFieldDataPrice docs: price of SKU + inline: true compare-at-price: type: optional docs: comparison price of SKU + inline: true ec-sku-billing-method: optional - ec-sku-subscription-plan: optional + ec-sku-subscription-plan: + type: optional + inline: true track-inventory: type: optional docs: >- @@ -38430,6 +38714,7 @@ service: "properties": { "payload": { "docs": "The payload of data sent from Webflow", + "inline": true, "type": "optional", }, "triggerType": { @@ -38514,7 +38799,10 @@ service: "docs": "Date the Site was last updated", "type": "optional", }, - "locales": "optional", + "locales": { + "inline": true, + "type": "optional", + }, "parentFolderId": { "docs": "The ID of the parent folder the Site exists in", "type": "optional", @@ -38567,6 +38855,7 @@ service: "properties": { "primary": { "docs": "The primary locale for the site or application.", + "inline": true, "type": "optional", }, "secondary": { @@ -38691,7 +38980,10 @@ service: "docs": "Date the Site was last updated", "type": "optional", }, - "locales": "optional", + "locales": { + "inline": true, + "type": "optional", + }, "parentFolderId": { "docs": "The ID of the parent folder the Site exists in", "type": "optional", @@ -38744,6 +39036,7 @@ service: "properties": { "primary": { "docs": "The primary locale for the site or application.", + "inline": true, "type": "optional", }, "secondary": { @@ -38977,6 +39270,7 @@ service: primary: type: optional docs: The primary locale for the site or application. + inline: true secondary: type: optional> docs: A list of secondary locales available for the site or application. @@ -39017,7 +39311,9 @@ service: type: optional docs: The ID of the parent folder the Site exists in customDomains: optional> - locales: optional + locales: + type: optional + inline: true source: openapi: ../openapi.yml SitesListResponse: @@ -39101,6 +39397,7 @@ service: primary: type: optional docs: The primary locale for the site or application. + inline: true secondary: type: optional> docs: A list of secondary locales available for the site or application. @@ -39141,7 +39438,9 @@ service: type: optional docs: The ID of the parent folder the Site exists in customDomains: optional> - locales: optional + locales: + type: optional + inline: true source: openapi: ../openapi.yml SitesGetCustomDomainResponseCustomDomainsItem: @@ -39206,6 +39505,7 @@ service: payload: type: optional docs: The payload of data sent from Webflow + inline: true source: openapi: ../openapi.yml imports: @@ -39598,6 +39898,7 @@ webhooks: "items": "optional>", "pagination": { "docs": "Pagination object", + "inline": true, "type": "optional", }, }, @@ -39618,7 +39919,10 @@ webhooks: "resourceId": "optional", "resourceName": "optional", "resourceOperation": "optional", - "user": "optional", + "user": { + "inline": true, + "type": "optional", + }, }, "source": { "openapi": "../openapi.yml", @@ -39691,7 +39995,9 @@ webhooks: lastUpdated: optional event: optional resourceOperation: optional - user: optional + user: + type: optional + inline: true resourceId: optional resourceName: optional newValue: optional @@ -39719,6 +40025,7 @@ webhooks: pagination: type: optional docs: Pagination object + inline: true source: openapi: ../openapi.yml imports: @@ -40152,6 +40459,7 @@ service: "blocks": "optional>", "pagination": { "docs": "Pagination object", + "inline": true, "type": "optional", }, }, @@ -40556,6 +40864,7 @@ service: pagination: type: optional docs: Pagination object + inline: true source: openapi: ../openapi.yml imports: @@ -40912,6 +41221,7 @@ service: "application": "optional", "authorization": { "docs": "The Authorization object", + "inline": true, "type": "optional", }, }, @@ -40922,7 +41232,10 @@ service: "TokenIntrospectResponseAuthorization": { "docs": "The Authorization object", "properties": { - "authorizedTo": "optional", + "authorizedTo": { + "inline": true, + "type": "optional", + }, "createdOn": { "docs": "The date the Authorization was created", "type": "optional", @@ -41027,7 +41340,9 @@ service: scope: type: optional docs: Comma separted list of OAuth scopes corresponding to the Authorization - authorizedTo: optional + authorizedTo: + type: optional + inline: true source: openapi: ../openapi.yml TokenIntrospectResponse: @@ -41035,6 +41350,7 @@ service: authorization: type: optional docs: The Authorization object + inline: true application: optional source: openapi: ../openapi.yml @@ -41598,6 +41914,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "data": { "docs": "An object containing the User's basic info and custom fields", + "inline": true, "type": "optional", }, "id": { @@ -41664,7 +41981,10 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) "UserAccountAddedPayloadPayloadData": { "docs": "An object containing the User's basic info and custom fields", "properties": { - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, }, "source": { "openapi": "../openapi.yml", @@ -41755,6 +42075,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "data": { "docs": "An object containing the User's basic info and custom fields", + "inline": true, "type": "optional", }, "id": { @@ -41821,7 +42142,10 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) "UserAccountDeletedPayloadPayloadData": { "docs": "An object containing the User's basic info and custom fields", "properties": { - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, }, "source": { "openapi": "../openapi.yml", @@ -41912,6 +42236,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "data": { "docs": "An object containing the User's basic info and custom fields", + "inline": true, "type": "optional", }, "id": { @@ -41978,7 +42303,10 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) "UserAccountUpdatedPayloadPayloadData": { "docs": "An object containing the User's basic info and custom fields", "properties": { - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, }, "source": { "openapi": "../openapi.yml", @@ -42052,6 +42380,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "data": { "docs": "An object containing the User's basic info and custom fields", + "inline": true, "type": "optional", }, "id": { @@ -42118,7 +42447,10 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) "UsersGetResponseData": { "docs": "An object containing the User's basic info and custom fields", "properties": { - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, }, "source": { "openapi": "../openapi.yml", @@ -42181,6 +42513,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "data": { "docs": "An object containing the User's basic info and custom fields", + "inline": true, "type": "optional", }, "id": { @@ -42247,7 +42580,10 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) "UsersInviteResponseData": { "docs": "An object containing the User's basic info and custom fields", "properties": { - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, }, "source": { "openapi": "../openapi.yml", @@ -42397,6 +42733,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "data": { "docs": "An object containing the User's basic info and custom fields", + "inline": true, "type": "optional", }, "id": { @@ -42463,7 +42800,10 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) "UsersListResponseUsersItemData": { "docs": "An object containing the User's basic info and custom fields", "properties": { - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, }, "source": { "openapi": "../openapi.yml", @@ -42549,6 +42889,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "data": { "docs": "An object containing the User's basic info and custom fields", + "inline": true, "type": "optional", }, "id": { @@ -42615,7 +42956,10 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) "UsersUpdateResponseData": { "docs": "An object containing the User's basic info and custom fields", "properties": { - "data": "optional", + "data": { + "inline": true, + "type": "optional", + }, }, "source": { "openapi": "../openapi.yml", @@ -42848,7 +43192,9 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) UsersListResponseUsersItemData: docs: An object containing the User's basic info and custom fields properties: - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml UsersListResponseUsersItem: @@ -42885,6 +43231,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) data: type: optional docs: An object containing the User's basic info and custom fields + inline: true source: openapi: ../openapi.yml UsersListResponse: @@ -42967,7 +43314,9 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) UsersGetResponseData: docs: An object containing the User's basic info and custom fields properties: - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml UsersGetResponse: @@ -43004,6 +43353,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) data: type: optional docs: An object containing the User's basic info and custom fields + inline: true source: openapi: ../openapi.yml UsersUpdateRequestData: @@ -43080,7 +43430,9 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) UsersUpdateResponseData: docs: An object containing the User's basic info and custom fields properties: - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml UsersUpdateResponse: @@ -43117,6 +43469,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) data: type: optional docs: An object containing the User's basic info and custom fields + inline: true source: openapi: ../openapi.yml UsersInviteResponseStatus: @@ -43177,7 +43530,9 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) UsersInviteResponseData: docs: An object containing the User's basic info and custom fields properties: - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml UsersInviteResponse: @@ -43214,6 +43569,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) data: type: optional docs: An object containing the User's basic info and custom fields + inline: true source: openapi: ../openapi.yml UserAccountAddedPayloadTriggerType: @@ -43282,7 +43638,9 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) UserAccountAddedPayloadPayloadData: docs: An object containing the User's basic info and custom fields properties: - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml UserAccountAddedPayloadPayload: @@ -43319,6 +43677,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) data: type: optional docs: An object containing the User's basic info and custom fields + inline: true source: openapi: ../openapi.yml UserAccountAddedPayload: @@ -43401,7 +43760,9 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) UserAccountUpdatedPayloadPayloadData: docs: An object containing the User's basic info and custom fields properties: - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml UserAccountUpdatedPayloadPayload: @@ -43438,6 +43799,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) data: type: optional docs: An object containing the User's basic info and custom fields + inline: true source: openapi: ../openapi.yml UserAccountUpdatedPayload: @@ -43520,7 +43882,9 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) UserAccountDeletedPayloadPayloadData: docs: An object containing the User's basic info and custom fields properties: - data: optional + data: + type: optional + inline: true source: openapi: ../openapi.yml UserAccountDeletedPayloadPayload: @@ -43557,6 +43921,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) data: type: optional docs: An object containing the User's basic info and custom fields + inline: true source: openapi: ../openapi.yml UserAccountDeletedPayload: @@ -44285,6 +44650,7 @@ webhooks: }, "filter": { "docs": "Only supported for the `form_submission` trigger type. Filter for the form you want Webhooks to be sent for. ", + "inline": true, "type": "optional", }, "id": { @@ -44390,6 +44756,7 @@ webhooks: }, "filter": { "docs": "Only supported for the `form_submission` trigger type. Filter for the form you want Webhooks to be sent for. ", + "inline": true, "type": "optional", }, "id": { @@ -44491,6 +44858,7 @@ webhooks: "properties": { "pagination": { "docs": "Pagination object", + "inline": true, "type": "optional", }, "webhooks": "optional>", @@ -44528,6 +44896,7 @@ webhooks: }, "filter": { "docs": "Only supported for the `form_submission` trigger type. Filter for the form you want Webhooks to be sent for. ", + "inline": true, "type": "optional", }, "id": { @@ -44774,6 +45143,7 @@ webhooks: docs: >- Only supported for the `form_submission` trigger type. Filter for the form you want Webhooks to be sent for. + inline: true lastTriggered: type: optional docs: Date the Webhook instance was last triggered @@ -44787,6 +45157,7 @@ webhooks: pagination: type: optional docs: Pagination object + inline: true webhooks: optional> source: openapi: ../openapi.yml @@ -44993,6 +45364,7 @@ webhooks: docs: >- Only supported for the `form_submission` trigger type. Filter for the form you want Webhooks to be sent for. + inline: true lastTriggered: type: optional docs: Date the Webhook instance was last triggered @@ -45134,6 +45506,7 @@ webhooks: docs: >- Only supported for the `form_submission` trigger type. Filter for the form you want Webhooks to be sent for. + inline: true lastTriggered: type: optional docs: Date the Webhook instance was last triggered diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-audiences.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-audiences.json index 9ea17ce95a6..d4e90646a7b 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-audiences.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-audiences.json @@ -56,6 +56,7 @@ "audiences": [ "public", ], + "inline": undefined, "type": "optional", "validation": { "format": "uuid", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-property-name.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-property-name.json index 6adeac7a1c8..440124a54b1 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-property-name.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-property-name.json @@ -10,6 +10,7 @@ "docs": undefined, "properties": { "id": { + "inline": undefined, "name": "renamed_id", "type": "optional", "validation": { diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildTypeDeclaration.ts b/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildTypeDeclaration.ts index 50f07a344ea..73e79633f57 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildTypeDeclaration.ts +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildTypeDeclaration.ts @@ -137,13 +137,14 @@ export function buildObjectTypeDeclaration({ const audiences = property.audiences; const name = property.nameOverride; const availability = convertAvailability(property.availability); - - properties[property.key] = convertPropertyTypeReferenceToTypeDefinition( + const inline = property.inline; + properties[property.key] = convertPropertyTypeReferenceToTypeDefinition({ typeReference, audiences, name, - availability - ); + availability, + inline: inline || undefined // remove false values + }); } const propertiesToSetToUnknown: Set = new Set(); @@ -593,20 +594,28 @@ function getSchemaIdOfResolvedType({ return schema; } -function convertPropertyTypeReferenceToTypeDefinition( - typeReference: RawSchemas.TypeReferenceSchema, - audiences: string[], - name?: string | undefined, - availability?: RawSchemas.AvailabilityUnionSchema -): RawSchemas.ObjectPropertySchema { - if (audiences.length === 0 && name == null && availability == null) { +function convertPropertyTypeReferenceToTypeDefinition({ + typeReference, + audiences, + name, + availability, + inline +}: { + typeReference: RawSchemas.TypeReferenceSchema; + audiences: string[]; + name?: string | undefined; + availability?: RawSchemas.AvailabilityUnionSchema; + inline: boolean | undefined; +}): RawSchemas.ObjectPropertySchema { + if (audiences.length === 0 && name == null && availability == null && inline !== true) { return typeReference; } else { return { ...(typeof typeReference === "string" ? { type: typeReference } : { ...typeReference }), ...(audiences.length > 0 ? { audiences } : {}), ...(name != null ? { name } : {}), - ...(availability != null ? { availability } : {}) + ...(availability != null ? { availability } : {}), + inline }; } } diff --git a/packages/cli/api-importers/openapi/openapi-ir/fern/definition/finalIr.yml b/packages/cli/api-importers/openapi/openapi-ir/fern/definition/finalIr.yml index ee66d73bdaf..0d160d77fd9 100644 --- a/packages/cli/api-importers/openapi/openapi-ir/fern/definition/finalIr.yml +++ b/packages/cli/api-importers/openapi/openapi-ir/fern/definition/finalIr.yml @@ -610,6 +610,7 @@ types: docs: | An optional name override populated via `x-fern-property-name`. audiences: list + inline: optional ObjectPropertyConflictInfo: properties: diff --git a/packages/cli/api-importers/openapi/openapi-ir/fern/definition/parseIr.yml b/packages/cli/api-importers/openapi/openapi-ir/fern/definition/parseIr.yml index e90083864e7..48c058a45ef 100644 --- a/packages/cli/api-importers/openapi/openapi-ir/fern/definition/parseIr.yml +++ b/packages/cli/api-importers/openapi/openapi-ir/fern/definition/parseIr.yml @@ -30,7 +30,7 @@ types: path: type: string docs: | - This string includes templated path parameters. + This string includes templated path parameters. For example, `/users/{userId}` is a valid value. summary: optional operationId: optional @@ -283,6 +283,7 @@ types: type: string docs: | A unique name for the property. + inline: optional OneOfSchemaWithExample: union: diff --git a/packages/cli/api-importers/openapi/openapi-ir/src/sdk/api/resources/finalIr/types/ObjectProperty.ts b/packages/cli/api-importers/openapi/openapi-ir/src/sdk/api/resources/finalIr/types/ObjectProperty.ts index a19f03f4b4a..d7ef126e8c7 100644 --- a/packages/cli/api-importers/openapi/openapi-ir/src/sdk/api/resources/finalIr/types/ObjectProperty.ts +++ b/packages/cli/api-importers/openapi/openapi-ir/src/sdk/api/resources/finalIr/types/ObjectProperty.ts @@ -15,4 +15,5 @@ export interface ObjectProperty extends FernOpenapiIr.WithAvailability { /** An optional name override populated via `x-fern-property-name`. */ nameOverride: string | undefined; audiences: string[]; + inline: boolean | undefined; } diff --git a/packages/cli/api-importers/openapi/openapi-ir/src/sdk/api/resources/parseIr/types/ObjectPropertyWithExample.ts b/packages/cli/api-importers/openapi/openapi-ir/src/sdk/api/resources/parseIr/types/ObjectPropertyWithExample.ts index ec10558cc44..f09daf224da 100644 --- a/packages/cli/api-importers/openapi/openapi-ir/src/sdk/api/resources/parseIr/types/ObjectPropertyWithExample.ts +++ b/packages/cli/api-importers/openapi/openapi-ir/src/sdk/api/resources/parseIr/types/ObjectPropertyWithExample.ts @@ -15,4 +15,5 @@ export interface ObjectPropertyWithExample extends FernOpenapiIr.WithAvailabilit nameOverride: string | undefined; /** A unique name for the property. */ generatedName: string; + inline: boolean | undefined; } diff --git a/packages/cli/api-importers/openapi/openapi-ir/src/sdk/serialization/resources/finalIr/types/ObjectProperty.ts b/packages/cli/api-importers/openapi/openapi-ir/src/sdk/serialization/resources/finalIr/types/ObjectProperty.ts index 7dd0d8016d0..fb88e73a3a5 100644 --- a/packages/cli/api-importers/openapi/openapi-ir/src/sdk/serialization/resources/finalIr/types/ObjectProperty.ts +++ b/packages/cli/api-importers/openapi/openapi-ir/src/sdk/serialization/resources/finalIr/types/ObjectProperty.ts @@ -21,6 +21,7 @@ export const ObjectProperty: core.serialization.ObjectSchema< generatedName: core.serialization.string(), nameOverride: core.serialization.string().optional(), audiences: core.serialization.list(core.serialization.string()), + inline: core.serialization.boolean().optional(), }) .extend(WithAvailability); @@ -33,5 +34,6 @@ export declare namespace ObjectProperty { generatedName: string; nameOverride?: string | null; audiences: string[]; + inline?: boolean | null; } } diff --git a/packages/cli/api-importers/openapi/openapi-ir/src/sdk/serialization/resources/parseIr/types/ObjectPropertyWithExample.ts b/packages/cli/api-importers/openapi/openapi-ir/src/sdk/serialization/resources/parseIr/types/ObjectPropertyWithExample.ts index 69e059c1649..ba87b7c1282 100644 --- a/packages/cli/api-importers/openapi/openapi-ir/src/sdk/serialization/resources/parseIr/types/ObjectPropertyWithExample.ts +++ b/packages/cli/api-importers/openapi/openapi-ir/src/sdk/serialization/resources/parseIr/types/ObjectPropertyWithExample.ts @@ -21,6 +21,7 @@ export const ObjectPropertyWithExample: core.serialization.ObjectSchema< conflict: core.serialization.record(SchemaId, ObjectPropertyConflictInfo), nameOverride: core.serialization.string().optional(), generatedName: core.serialization.string(), + inline: core.serialization.boolean().optional(), }) .extend(WithAvailability); @@ -33,5 +34,6 @@ export declare namespace ObjectPropertyWithExample { conflict: Record; nameOverride?: string | null; generatedName: string; + inline?: boolean | null; } } diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/inline-schema-reference.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/inline-schema-reference.json index 3254563bda2..f8dad4f1f57 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/inline-schema-reference.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/inline-schema-reference.json @@ -536,67 +536,970 @@ "autogeneratedExamples": [], "availability": null, "docs": null - } - }, - "errors": {}, - "services": { - "service_": { + }, + "type_:RootSchema1BarInnerBar": { + "inline": false, + "name": { + "name": { + "originalName": "RootSchema1BarInnerBar", + "camelCase": { + "unsafeName": "rootSchema1BarInnerBar", + "safeName": "rootSchema1BarInnerBar" + }, + "snakeCase": { + "unsafeName": "root_schema1bar_inner_bar", + "safeName": "root_schema1bar_inner_bar" + }, + "screamingSnakeCase": { + "unsafeName": "ROOT_SCHEMA1BAR_INNER_BAR", + "safeName": "ROOT_SCHEMA1BAR_INNER_BAR" + }, + "pascalCase": { + "unsafeName": "RootSchema1BarInnerBar", + "safeName": "RootSchema1BarInnerBar" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:RootSchema1BarInnerBar" + }, + "shape": { + "_type": "object", + "extends": [], + "properties": [ + { + "name": { + "name": { + "originalName": "foo", + "camelCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "snakeCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "screamingSnakeCase": { + "unsafeName": "FOO", + "safeName": "FOO" + }, + "pascalCase": { + "unsafeName": "Foo", + "safeName": "Foo" + } + }, + "wireValue": "foo" + }, + "valueType": { + "_type": "container", + "container": { + "_type": "optional", + "optional": { + "_type": "primitive", + "primitive": { + "v1": "STRING", + "v2": { + "type": "string", + "default": null, + "validation": null + } + } + } + } + }, + "availability": null, + "docs": null + }, + { + "name": { + "name": { + "originalName": "bar", + "camelCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "snakeCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "screamingSnakeCase": { + "unsafeName": "BAR", + "safeName": "BAR" + }, + "pascalCase": { + "unsafeName": "Bar", + "safeName": "Bar" + } + }, + "wireValue": "bar" + }, + "valueType": { + "_type": "container", + "container": { + "_type": "optional", + "optional": { + "_type": "primitive", + "primitive": { + "v1": "STRING", + "v2": { + "type": "string", + "default": null, + "validation": null + } + } + } + } + }, + "availability": null, + "docs": null + } + ], + "extra-properties": false, + "extendedProperties": [] + }, + "referencedTypes": [], + "encoding": { + "json": {}, + "proto": null + }, + "source": null, + "userProvidedExamples": [], + "autogeneratedExamples": [], "availability": null, + "docs": null + }, + "type_:RootSchema1Bar": { + "inline": false, "name": { + "name": { + "originalName": "RootSchema1Bar", + "camelCase": { + "unsafeName": "rootSchema1Bar", + "safeName": "rootSchema1Bar" + }, + "snakeCase": { + "unsafeName": "root_schema1bar", + "safeName": "root_schema1bar" + }, + "screamingSnakeCase": { + "unsafeName": "ROOT_SCHEMA1BAR", + "safeName": "ROOT_SCHEMA1BAR" + }, + "pascalCase": { + "unsafeName": "RootSchema1Bar", + "safeName": "RootSchema1Bar" + } + }, "fernFilepath": { "allParts": [], "packagePath": [], "file": null - } + }, + "typeId": "type_:RootSchema1Bar" }, - "displayName": null, - "basePath": { - "head": "", - "parts": [] + "shape": { + "_type": "object", + "extends": [], + "properties": [ + { + "name": { + "name": { + "originalName": "foo", + "camelCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "snakeCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "screamingSnakeCase": { + "unsafeName": "FOO", + "safeName": "FOO" + }, + "pascalCase": { + "unsafeName": "Foo", + "safeName": "Foo" + } + }, + "wireValue": "foo" + }, + "valueType": { + "_type": "container", + "container": { + "_type": "optional", + "optional": { + "_type": "primitive", + "primitive": { + "v1": "STRING", + "v2": { + "type": "string", + "default": null, + "validation": null + } + } + } + } + }, + "availability": null, + "docs": null + }, + { + "name": { + "name": { + "originalName": "inner_bar", + "camelCase": { + "unsafeName": "innerBar", + "safeName": "innerBar" + }, + "snakeCase": { + "unsafeName": "inner_bar", + "safeName": "inner_bar" + }, + "screamingSnakeCase": { + "unsafeName": "INNER_BAR", + "safeName": "INNER_BAR" + }, + "pascalCase": { + "unsafeName": "InnerBar", + "safeName": "InnerBar" + } + }, + "wireValue": "inner_bar" + }, + "valueType": { + "_type": "container", + "container": { + "_type": "optional", + "optional": { + "_type": "named", + "name": { + "originalName": "RootSchema1BarInnerBar", + "camelCase": { + "unsafeName": "rootSchema1BarInnerBar", + "safeName": "rootSchema1BarInnerBar" + }, + "snakeCase": { + "unsafeName": "root_schema1bar_inner_bar", + "safeName": "root_schema1bar_inner_bar" + }, + "screamingSnakeCase": { + "unsafeName": "ROOT_SCHEMA1BAR_INNER_BAR", + "safeName": "ROOT_SCHEMA1BAR_INNER_BAR" + }, + "pascalCase": { + "unsafeName": "RootSchema1BarInnerBar", + "safeName": "RootSchema1BarInnerBar" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:RootSchema1BarInnerBar", + "default": null, + "inline": true + } + } + }, + "availability": null, + "docs": null + } + ], + "extra-properties": false, + "extendedProperties": [] }, - "headers": [], - "pathParameters": [], + "referencedTypes": [ + "type_:RootSchema1BarInnerBar" + ], "encoding": { "json": {}, "proto": null }, - "transport": { - "type": "http" + "source": null, + "userProvidedExamples": [], + "autogeneratedExamples": [], + "availability": null, + "docs": null + }, + "type_:RootSchema1": { + "inline": false, + "name": { + "name": { + "originalName": "RootSchema1", + "camelCase": { + "unsafeName": "rootSchema1", + "safeName": "rootSchema1" + }, + "snakeCase": { + "unsafeName": "root_schema1", + "safeName": "root_schema1" + }, + "screamingSnakeCase": { + "unsafeName": "ROOT_SCHEMA1", + "safeName": "ROOT_SCHEMA1" + }, + "pascalCase": { + "unsafeName": "RootSchema1", + "safeName": "RootSchema1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:RootSchema1" }, - "endpoints": [ + "shape": { + "_type": "object", + "extends": [], + "properties": [ + { + "name": { + "name": { + "originalName": "foo", + "camelCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "snakeCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "screamingSnakeCase": { + "unsafeName": "FOO", + "safeName": "FOO" + }, + "pascalCase": { + "unsafeName": "Foo", + "safeName": "Foo" + } + }, + "wireValue": "foo" + }, + "valueType": { + "_type": "container", + "container": { + "_type": "optional", + "optional": { + "_type": "primitive", + "primitive": { + "v1": "STRING", + "v2": { + "type": "string", + "default": null, + "validation": null + } + } + } + } + }, + "availability": null, + "docs": null + }, + { + "name": { + "name": { + "originalName": "bar", + "camelCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "snakeCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "screamingSnakeCase": { + "unsafeName": "BAR", + "safeName": "BAR" + }, + "pascalCase": { + "unsafeName": "Bar", + "safeName": "Bar" + } + }, + "wireValue": "bar" + }, + "valueType": { + "_type": "container", + "container": { + "_type": "optional", + "optional": { + "_type": "named", + "name": { + "originalName": "RootSchema1Bar", + "camelCase": { + "unsafeName": "rootSchema1Bar", + "safeName": "rootSchema1Bar" + }, + "snakeCase": { + "unsafeName": "root_schema1bar", + "safeName": "root_schema1bar" + }, + "screamingSnakeCase": { + "unsafeName": "ROOT_SCHEMA1BAR", + "safeName": "ROOT_SCHEMA1BAR" + }, + "pascalCase": { + "unsafeName": "RootSchema1Bar", + "safeName": "RootSchema1Bar" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:RootSchema1Bar", + "default": null, + "inline": true + } + } + }, + "availability": null, + "docs": null + } + ], + "extra-properties": false, + "extendedProperties": [] + }, + "referencedTypes": [ + "type_:RootSchema1Bar", + "type_:RootSchema1BarInnerBar" + ], + "encoding": { + "json": {}, + "proto": null + }, + "source": null, + "userProvidedExamples": [], + "autogeneratedExamples": [], + "availability": null, + "docs": null + } + }, + "errors": {}, + "services": { + "service_": { + "availability": null, + "name": { + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + } + }, + "displayName": null, + "basePath": { + "head": "", + "parts": [] + }, + "headers": [], + "pathParameters": [], + "encoding": { + "json": {}, + "proto": null + }, + "transport": { + "type": "http" + }, + "endpoints": [ + { + "id": "endpoint_.getExample", + "name": { + "originalName": "getExample", + "camelCase": { + "unsafeName": "getExample", + "safeName": "getExample" + }, + "snakeCase": { + "unsafeName": "get_example", + "safeName": "get_example" + }, + "screamingSnakeCase": { + "unsafeName": "GET_EXAMPLE", + "safeName": "GET_EXAMPLE" + }, + "pascalCase": { + "unsafeName": "GetExample", + "safeName": "GetExample" + } + }, + "displayName": "Get Example", + "auth": false, + "idempotent": false, + "baseUrl": null, + "method": "GET", + "basePath": null, + "path": { + "head": "/example", + "parts": [] + }, + "fullPath": { + "head": "example", + "parts": [] + }, + "pathParameters": [], + "allPathParameters": [], + "queryParameters": [], + "headers": [], + "requestBody": null, + "sdkRequest": null, + "response": { + "body": { + "type": "json", + "value": { + "type": "response", + "responseBodyType": { + "_type": "named", + "name": { + "originalName": "GetExampleResponse", + "camelCase": { + "unsafeName": "getExampleResponse", + "safeName": "getExampleResponse" + }, + "snakeCase": { + "unsafeName": "get_example_response", + "safeName": "get_example_response" + }, + "screamingSnakeCase": { + "unsafeName": "GET_EXAMPLE_RESPONSE", + "safeName": "GET_EXAMPLE_RESPONSE" + }, + "pascalCase": { + "unsafeName": "GetExampleResponse", + "safeName": "GetExampleResponse" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:GetExampleResponse", + "default": null, + "inline": null + }, + "docs": "Successful response" + } + }, + "status-code": null + }, + "errors": [], + "userSpecifiedExamples": [ + { + "example": { + "id": "31a7f125b757ecb88c3de1e90f768cd1d886a61a082744712200711bff86f040", + "name": null, + "url": "/example", + "rootPathParameters": [], + "endpointPathParameters": [], + "servicePathParameters": [], + "endpointHeaders": [], + "serviceHeaders": [], + "queryParameters": [], + "request": null, + "response": { + "type": "ok", + "value": { + "type": "body", + "value": { + "shape": { + "type": "named", + "typeName": { + "typeId": "type_:GetExampleResponse", + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "name": { + "originalName": "GetExampleResponse", + "camelCase": { + "unsafeName": "getExampleResponse", + "safeName": "getExampleResponse" + }, + "snakeCase": { + "unsafeName": "get_example_response", + "safeName": "get_example_response" + }, + "screamingSnakeCase": { + "unsafeName": "GET_EXAMPLE_RESPONSE", + "safeName": "GET_EXAMPLE_RESPONSE" + }, + "pascalCase": { + "unsafeName": "GetExampleResponse", + "safeName": "GetExampleResponse" + } + } + }, + "shape": { + "type": "undiscriminatedUnion", + "index": 0, + "singleUnionType": { + "shape": { + "type": "named", + "typeName": { + "typeId": "type_:NotFound", + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "name": { + "originalName": "NotFound", + "camelCase": { + "unsafeName": "notFound", + "safeName": "notFound" + }, + "snakeCase": { + "unsafeName": "not_found", + "safeName": "not_found" + }, + "screamingSnakeCase": { + "unsafeName": "NOT_FOUND", + "safeName": "NOT_FOUND" + }, + "pascalCase": { + "unsafeName": "NotFound", + "safeName": "NotFound" + } + } + }, + "shape": { + "type": "object", + "properties": [ + { + "name": { + "name": { + "originalName": "message", + "camelCase": { + "unsafeName": "message", + "safeName": "message" + }, + "snakeCase": { + "unsafeName": "message", + "safeName": "message" + }, + "screamingSnakeCase": { + "unsafeName": "MESSAGE", + "safeName": "MESSAGE" + }, + "pascalCase": { + "unsafeName": "Message", + "safeName": "Message" + } + }, + "wireValue": "message" + }, + "value": { + "shape": { + "type": "container", + "container": { + "type": "optional", + "optional": { + "shape": { + "type": "primitive", + "primitive": { + "type": "string", + "string": { + "original": "message" + } + } + }, + "jsonExample": "message" + }, + "valueType": { + "_type": "primitive", + "primitive": { + "v1": "STRING", + "v2": { + "type": "string", + "default": null, + "validation": null + } + } + } + } + }, + "jsonExample": "message" + }, + "originalTypeDeclaration": { + "typeId": "type_:NotFound", + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "name": { + "originalName": "NotFound", + "camelCase": { + "unsafeName": "notFound", + "safeName": "notFound" + }, + "snakeCase": { + "unsafeName": "not_found", + "safeName": "not_found" + }, + "screamingSnakeCase": { + "unsafeName": "NOT_FOUND", + "safeName": "NOT_FOUND" + }, + "pascalCase": { + "unsafeName": "NotFound", + "safeName": "NotFound" + } + } + } + } + ] + } + }, + "jsonExample": { + "message": "message" + } + } + } + }, + "jsonExample": { + "message": "message" + } + } + } + }, + "docs": null + }, + "codeSamples": null + } + ], + "autogeneratedExamples": [ + { + "example": { + "id": "d88e161aef95bb901f3579d5a4a37487d0c6a2a5", + "url": "/example", + "name": null, + "endpointHeaders": [], + "endpointPathParameters": [], + "queryParameters": [], + "servicePathParameters": [], + "serviceHeaders": [], + "rootPathParameters": [], + "request": null, + "response": { + "type": "ok", + "value": { + "type": "body", + "value": { + "shape": { + "type": "named", + "shape": { + "type": "undiscriminatedUnion", + "index": 0, + "singleUnionType": { + "shape": { + "type": "named", + "shape": { + "type": "object", + "properties": [ + { + "name": { + "name": { + "originalName": "message", + "camelCase": { + "unsafeName": "message", + "safeName": "message" + }, + "snakeCase": { + "unsafeName": "message", + "safeName": "message" + }, + "screamingSnakeCase": { + "unsafeName": "MESSAGE", + "safeName": "MESSAGE" + }, + "pascalCase": { + "unsafeName": "Message", + "safeName": "Message" + } + }, + "wireValue": "message" + }, + "originalTypeDeclaration": { + "name": { + "originalName": "NotFound", + "camelCase": { + "unsafeName": "notFound", + "safeName": "notFound" + }, + "snakeCase": { + "unsafeName": "not_found", + "safeName": "not_found" + }, + "screamingSnakeCase": { + "unsafeName": "NOT_FOUND", + "safeName": "NOT_FOUND" + }, + "pascalCase": { + "unsafeName": "NotFound", + "safeName": "NotFound" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:NotFound" + }, + "value": { + "shape": { + "type": "container", + "container": { + "type": "optional", + "optional": { + "shape": { + "type": "primitive", + "primitive": { + "type": "string", + "string": { + "original": "message" + } + } + }, + "jsonExample": "message" + }, + "valueType": { + "_type": "primitive", + "primitive": { + "v1": "STRING", + "v2": { + "type": "string", + "default": null, + "validation": null + } + } + } + } + }, + "jsonExample": "message" + } + } + ] + }, + "typeName": { + "name": { + "originalName": "NotFound", + "camelCase": { + "unsafeName": "notFound", + "safeName": "notFound" + }, + "snakeCase": { + "unsafeName": "not_found", + "safeName": "not_found" + }, + "screamingSnakeCase": { + "unsafeName": "NOT_FOUND", + "safeName": "NOT_FOUND" + }, + "pascalCase": { + "unsafeName": "NotFound", + "safeName": "NotFound" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:NotFound" + } + }, + "jsonExample": { + "message": "message" + } + } + }, + "typeName": { + "name": { + "originalName": "GetExampleResponse", + "camelCase": { + "unsafeName": "getExampleResponse", + "safeName": "getExampleResponse" + }, + "snakeCase": { + "unsafeName": "get_example_response", + "safeName": "get_example_response" + }, + "screamingSnakeCase": { + "unsafeName": "GET_EXAMPLE_RESPONSE", + "safeName": "GET_EXAMPLE_RESPONSE" + }, + "pascalCase": { + "unsafeName": "GetExampleResponse", + "safeName": "GetExampleResponse" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:GetExampleResponse" + } + }, + "jsonExample": { + "message": "message" + } + } + } + }, + "docs": null + } + } + ], + "pagination": null, + "transport": null, + "availability": null, + "docs": null + }, { - "id": "endpoint_.getExample", + "id": "endpoint_.getRoot", "name": { - "originalName": "getExample", + "originalName": "getRoot", "camelCase": { - "unsafeName": "getExample", - "safeName": "getExample" + "unsafeName": "getRoot", + "safeName": "getRoot" }, "snakeCase": { - "unsafeName": "get_example", - "safeName": "get_example" + "unsafeName": "get_root", + "safeName": "get_root" }, "screamingSnakeCase": { - "unsafeName": "GET_EXAMPLE", - "safeName": "GET_EXAMPLE" + "unsafeName": "GET_ROOT", + "safeName": "GET_ROOT" }, "pascalCase": { - "unsafeName": "GetExample", - "safeName": "GetExample" + "unsafeName": "GetRoot", + "safeName": "GetRoot" } }, - "displayName": "Get Example", + "displayName": null, "auth": false, "idempotent": false, "baseUrl": null, "method": "GET", "basePath": null, "path": { - "head": "/example", + "head": "/root", "parts": [] }, "fullPath": { - "head": "example", + "head": "root", "parts": [] }, "pathParameters": [], @@ -613,22 +1516,22 @@ "responseBodyType": { "_type": "named", "name": { - "originalName": "GetExampleResponse", + "originalName": "RootSchema1", "camelCase": { - "unsafeName": "getExampleResponse", - "safeName": "getExampleResponse" + "unsafeName": "rootSchema1", + "safeName": "rootSchema1" }, "snakeCase": { - "unsafeName": "get_example_response", - "safeName": "get_example_response" + "unsafeName": "root_schema1", + "safeName": "root_schema1" }, "screamingSnakeCase": { - "unsafeName": "GET_EXAMPLE_RESPONSE", - "safeName": "GET_EXAMPLE_RESPONSE" + "unsafeName": "ROOT_SCHEMA1", + "safeName": "ROOT_SCHEMA1" }, "pascalCase": { - "unsafeName": "GetExampleResponse", - "safeName": "GetExampleResponse" + "unsafeName": "RootSchema1", + "safeName": "RootSchema1" } }, "fernFilepath": { @@ -636,7 +1539,7 @@ "packagePath": [], "file": null }, - "typeId": "type_:GetExampleResponse", + "typeId": "type_:RootSchema1", "default": null, "inline": null }, @@ -649,9 +1552,9 @@ "userSpecifiedExamples": [ { "example": { - "id": "31a7f125b757ecb88c3de1e90f768cd1d886a61a082744712200711bff86f040", + "id": "2032d19ea7474cd0093ab1eef0cfd54fbe8bb5068162e4cd83f99a9c7327d64a", "name": null, - "url": "/example", + "url": "/root", "rootPathParameters": [], "endpointPathParameters": [], "servicePathParameters": [], @@ -667,162 +1570,653 @@ "shape": { "type": "named", "typeName": { - "typeId": "type_:GetExampleResponse", + "typeId": "type_:RootSchema1", "fernFilepath": { "allParts": [], "packagePath": [], "file": null }, "name": { - "originalName": "GetExampleResponse", + "originalName": "RootSchema1", "camelCase": { - "unsafeName": "getExampleResponse", - "safeName": "getExampleResponse" + "unsafeName": "rootSchema1", + "safeName": "rootSchema1" }, "snakeCase": { - "unsafeName": "get_example_response", - "safeName": "get_example_response" + "unsafeName": "root_schema1", + "safeName": "root_schema1" }, "screamingSnakeCase": { - "unsafeName": "GET_EXAMPLE_RESPONSE", - "safeName": "GET_EXAMPLE_RESPONSE" + "unsafeName": "ROOT_SCHEMA1", + "safeName": "ROOT_SCHEMA1" }, "pascalCase": { - "unsafeName": "GetExampleResponse", - "safeName": "GetExampleResponse" + "unsafeName": "RootSchema1", + "safeName": "RootSchema1" } } }, "shape": { - "type": "undiscriminatedUnion", - "index": 0, - "singleUnionType": { - "shape": { - "type": "named", - "typeName": { - "typeId": "type_:NotFound", + "type": "object", + "properties": [ + { + "name": { + "name": { + "originalName": "foo", + "camelCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "snakeCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "screamingSnakeCase": { + "unsafeName": "FOO", + "safeName": "FOO" + }, + "pascalCase": { + "unsafeName": "Foo", + "safeName": "Foo" + } + }, + "wireValue": "foo" + }, + "value": { + "shape": { + "type": "container", + "container": { + "type": "optional", + "optional": { + "shape": { + "type": "primitive", + "primitive": { + "type": "string", + "string": { + "original": "foo" + } + } + }, + "jsonExample": "foo" + }, + "valueType": { + "_type": "primitive", + "primitive": { + "v1": "STRING", + "v2": { + "type": "string", + "default": null, + "validation": null + } + } + } + } + }, + "jsonExample": "foo" + }, + "originalTypeDeclaration": { + "typeId": "type_:RootSchema1", "fernFilepath": { "allParts": [], "packagePath": [], "file": null }, "name": { - "originalName": "NotFound", + "originalName": "RootSchema1", "camelCase": { - "unsafeName": "notFound", - "safeName": "notFound" + "unsafeName": "rootSchema1", + "safeName": "rootSchema1" }, "snakeCase": { - "unsafeName": "not_found", - "safeName": "not_found" + "unsafeName": "root_schema1", + "safeName": "root_schema1" }, "screamingSnakeCase": { - "unsafeName": "NOT_FOUND", - "safeName": "NOT_FOUND" + "unsafeName": "ROOT_SCHEMA1", + "safeName": "ROOT_SCHEMA1" }, "pascalCase": { - "unsafeName": "NotFound", - "safeName": "NotFound" + "unsafeName": "RootSchema1", + "safeName": "RootSchema1" } } + } + }, + { + "name": { + "name": { + "originalName": "bar", + "camelCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "snakeCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "screamingSnakeCase": { + "unsafeName": "BAR", + "safeName": "BAR" + }, + "pascalCase": { + "unsafeName": "Bar", + "safeName": "Bar" + } + }, + "wireValue": "bar" }, - "shape": { - "type": "object", - "properties": [ - { - "name": { - "name": { - "originalName": "message", - "camelCase": { - "unsafeName": "message", - "safeName": "message" - }, - "snakeCase": { - "unsafeName": "message", - "safeName": "message" - }, - "screamingSnakeCase": { - "unsafeName": "MESSAGE", - "safeName": "MESSAGE" - }, - "pascalCase": { - "unsafeName": "Message", - "safeName": "Message" - } - }, - "wireValue": "message" - }, - "value": { + "value": { + "shape": { + "type": "container", + "container": { + "type": "optional", + "optional": { "shape": { - "type": "container", - "container": { - "type": "optional", - "optional": { - "shape": { - "type": "primitive", - "primitive": { - "type": "string", - "string": { - "original": "message" + "type": "named", + "typeName": { + "typeId": "type_:RootSchema1Bar", + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "name": { + "originalName": "RootSchema1Bar", + "camelCase": { + "unsafeName": "rootSchema1Bar", + "safeName": "rootSchema1Bar" + }, + "snakeCase": { + "unsafeName": "root_schema1bar", + "safeName": "root_schema1bar" + }, + "screamingSnakeCase": { + "unsafeName": "ROOT_SCHEMA1BAR", + "safeName": "ROOT_SCHEMA1BAR" + }, + "pascalCase": { + "unsafeName": "RootSchema1Bar", + "safeName": "RootSchema1Bar" + } + } + }, + "shape": { + "type": "object", + "properties": [ + { + "name": { + "name": { + "originalName": "foo", + "camelCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "snakeCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "screamingSnakeCase": { + "unsafeName": "FOO", + "safeName": "FOO" + }, + "pascalCase": { + "unsafeName": "Foo", + "safeName": "Foo" + } + }, + "wireValue": "foo" + }, + "value": { + "shape": { + "type": "container", + "container": { + "type": "optional", + "optional": { + "shape": { + "type": "primitive", + "primitive": { + "type": "string", + "string": { + "original": "foo" + } + } + }, + "jsonExample": "foo" + }, + "valueType": { + "_type": "primitive", + "primitive": { + "v1": "STRING", + "v2": { + "type": "string", + "default": null, + "validation": null + } + } + } + } + }, + "jsonExample": "foo" + }, + "originalTypeDeclaration": { + "typeId": "type_:RootSchema1Bar", + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "name": { + "originalName": "RootSchema1Bar", + "camelCase": { + "unsafeName": "rootSchema1Bar", + "safeName": "rootSchema1Bar" + }, + "snakeCase": { + "unsafeName": "root_schema1bar", + "safeName": "root_schema1bar" + }, + "screamingSnakeCase": { + "unsafeName": "ROOT_SCHEMA1BAR", + "safeName": "ROOT_SCHEMA1BAR" + }, + "pascalCase": { + "unsafeName": "RootSchema1Bar", + "safeName": "RootSchema1Bar" + } } } - }, - "jsonExample": "message" - }, - "valueType": { - "_type": "primitive", - "primitive": { - "v1": "STRING", - "v2": { - "type": "string", - "default": null, - "validation": null + }, + { + "name": { + "name": { + "originalName": "inner_bar", + "camelCase": { + "unsafeName": "innerBar", + "safeName": "innerBar" + }, + "snakeCase": { + "unsafeName": "inner_bar", + "safeName": "inner_bar" + }, + "screamingSnakeCase": { + "unsafeName": "INNER_BAR", + "safeName": "INNER_BAR" + }, + "pascalCase": { + "unsafeName": "InnerBar", + "safeName": "InnerBar" + } + }, + "wireValue": "inner_bar" + }, + "value": { + "shape": { + "type": "container", + "container": { + "type": "optional", + "optional": { + "shape": { + "type": "named", + "typeName": { + "typeId": "type_:RootSchema1BarInnerBar", + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "name": { + "originalName": "RootSchema1BarInnerBar", + "camelCase": { + "unsafeName": "rootSchema1BarInnerBar", + "safeName": "rootSchema1BarInnerBar" + }, + "snakeCase": { + "unsafeName": "root_schema1bar_inner_bar", + "safeName": "root_schema1bar_inner_bar" + }, + "screamingSnakeCase": { + "unsafeName": "ROOT_SCHEMA1BAR_INNER_BAR", + "safeName": "ROOT_SCHEMA1BAR_INNER_BAR" + }, + "pascalCase": { + "unsafeName": "RootSchema1BarInnerBar", + "safeName": "RootSchema1BarInnerBar" + } + } + }, + "shape": { + "type": "object", + "properties": [ + { + "name": { + "name": { + "originalName": "foo", + "camelCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "snakeCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "screamingSnakeCase": { + "unsafeName": "FOO", + "safeName": "FOO" + }, + "pascalCase": { + "unsafeName": "Foo", + "safeName": "Foo" + } + }, + "wireValue": "foo" + }, + "value": { + "shape": { + "type": "container", + "container": { + "type": "optional", + "optional": { + "shape": { + "type": "primitive", + "primitive": { + "type": "string", + "string": { + "original": "foo" + } + } + }, + "jsonExample": "foo" + }, + "valueType": { + "_type": "primitive", + "primitive": { + "v1": "STRING", + "v2": { + "type": "string", + "default": null, + "validation": null + } + } + } + } + }, + "jsonExample": "foo" + }, + "originalTypeDeclaration": { + "typeId": "type_:RootSchema1BarInnerBar", + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "name": { + "originalName": "RootSchema1BarInnerBar", + "camelCase": { + "unsafeName": "rootSchema1BarInnerBar", + "safeName": "rootSchema1BarInnerBar" + }, + "snakeCase": { + "unsafeName": "root_schema1bar_inner_bar", + "safeName": "root_schema1bar_inner_bar" + }, + "screamingSnakeCase": { + "unsafeName": "ROOT_SCHEMA1BAR_INNER_BAR", + "safeName": "ROOT_SCHEMA1BAR_INNER_BAR" + }, + "pascalCase": { + "unsafeName": "RootSchema1BarInnerBar", + "safeName": "RootSchema1BarInnerBar" + } + } + } + }, + { + "name": { + "name": { + "originalName": "bar", + "camelCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "snakeCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "screamingSnakeCase": { + "unsafeName": "BAR", + "safeName": "BAR" + }, + "pascalCase": { + "unsafeName": "Bar", + "safeName": "Bar" + } + }, + "wireValue": "bar" + }, + "value": { + "shape": { + "type": "container", + "container": { + "type": "optional", + "optional": { + "shape": { + "type": "primitive", + "primitive": { + "type": "string", + "string": { + "original": "bar" + } + } + }, + "jsonExample": "bar" + }, + "valueType": { + "_type": "primitive", + "primitive": { + "v1": "STRING", + "v2": { + "type": "string", + "default": null, + "validation": null + } + } + } + } + }, + "jsonExample": "bar" + }, + "originalTypeDeclaration": { + "typeId": "type_:RootSchema1BarInnerBar", + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "name": { + "originalName": "RootSchema1BarInnerBar", + "camelCase": { + "unsafeName": "rootSchema1BarInnerBar", + "safeName": "rootSchema1BarInnerBar" + }, + "snakeCase": { + "unsafeName": "root_schema1bar_inner_bar", + "safeName": "root_schema1bar_inner_bar" + }, + "screamingSnakeCase": { + "unsafeName": "ROOT_SCHEMA1BAR_INNER_BAR", + "safeName": "ROOT_SCHEMA1BAR_INNER_BAR" + }, + "pascalCase": { + "unsafeName": "RootSchema1BarInnerBar", + "safeName": "RootSchema1BarInnerBar" + } + } + } + } + ] + } + }, + "jsonExample": { + "foo": "foo", + "bar": "bar" + } + }, + "valueType": { + "_type": "named", + "name": { + "originalName": "RootSchema1BarInnerBar", + "camelCase": { + "unsafeName": "rootSchema1BarInnerBar", + "safeName": "rootSchema1BarInnerBar" + }, + "snakeCase": { + "unsafeName": "root_schema1bar_inner_bar", + "safeName": "root_schema1bar_inner_bar" + }, + "screamingSnakeCase": { + "unsafeName": "ROOT_SCHEMA1BAR_INNER_BAR", + "safeName": "ROOT_SCHEMA1BAR_INNER_BAR" + }, + "pascalCase": { + "unsafeName": "RootSchema1BarInnerBar", + "safeName": "RootSchema1BarInnerBar" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:RootSchema1BarInnerBar", + "default": null, + "inline": null + } + } + }, + "jsonExample": { + "foo": "foo", + "bar": "bar" + } + }, + "originalTypeDeclaration": { + "typeId": "type_:RootSchema1Bar", + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "name": { + "originalName": "RootSchema1Bar", + "camelCase": { + "unsafeName": "rootSchema1Bar", + "safeName": "rootSchema1Bar" + }, + "snakeCase": { + "unsafeName": "root_schema1bar", + "safeName": "root_schema1bar" + }, + "screamingSnakeCase": { + "unsafeName": "ROOT_SCHEMA1BAR", + "safeName": "ROOT_SCHEMA1BAR" + }, + "pascalCase": { + "unsafeName": "RootSchema1Bar", + "safeName": "RootSchema1Bar" + } + } } } - } + ] } }, - "jsonExample": "message" + "jsonExample": { + "foo": "foo", + "inner_bar": { + "foo": "foo", + "bar": "bar" + } + } }, - "originalTypeDeclaration": { - "typeId": "type_:NotFound", - "fernFilepath": { - "allParts": [], - "packagePath": [], - "file": null - }, + "valueType": { + "_type": "named", "name": { - "originalName": "NotFound", + "originalName": "RootSchema1Bar", "camelCase": { - "unsafeName": "notFound", - "safeName": "notFound" + "unsafeName": "rootSchema1Bar", + "safeName": "rootSchema1Bar" }, "snakeCase": { - "unsafeName": "not_found", - "safeName": "not_found" + "unsafeName": "root_schema1bar", + "safeName": "root_schema1bar" }, "screamingSnakeCase": { - "unsafeName": "NOT_FOUND", - "safeName": "NOT_FOUND" + "unsafeName": "ROOT_SCHEMA1BAR", + "safeName": "ROOT_SCHEMA1BAR" }, "pascalCase": { - "unsafeName": "NotFound", - "safeName": "NotFound" + "unsafeName": "RootSchema1Bar", + "safeName": "RootSchema1Bar" } - } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:RootSchema1Bar", + "default": null, + "inline": null } } - ] + }, + "jsonExample": { + "foo": "foo", + "inner_bar": { + "foo": "foo", + "bar": "bar" + } + } + }, + "originalTypeDeclaration": { + "typeId": "type_:RootSchema1", + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "name": { + "originalName": "RootSchema1", + "camelCase": { + "unsafeName": "rootSchema1", + "safeName": "rootSchema1" + }, + "snakeCase": { + "unsafeName": "root_schema1", + "safeName": "root_schema1" + }, + "screamingSnakeCase": { + "unsafeName": "ROOT_SCHEMA1", + "safeName": "ROOT_SCHEMA1" + }, + "pascalCase": { + "unsafeName": "RootSchema1", + "safeName": "RootSchema1" + } + } } - }, - "jsonExample": { - "message": "message" } - } + ] } }, "jsonExample": { - "message": "message" + "foo": "foo", + "bar": { + "foo": "foo", + "inner_bar": { + "foo": "foo", + "bar": "bar" + } + } } } } @@ -835,8 +2229,8 @@ "autogeneratedExamples": [ { "example": { - "id": "d88e161aef95bb901f3579d5a4a37487d0c6a2a5", - "url": "/example", + "id": "c35607c33cbcfe09408f14e974896288310e06ed", + "url": "/root", "name": null, "endpointHeaders": [], "endpointPathParameters": [], @@ -853,117 +2247,132 @@ "shape": { "type": "named", "shape": { - "type": "undiscriminatedUnion", - "index": 0, - "singleUnionType": { - "shape": { - "type": "named", - "shape": { - "type": "object", - "properties": [ - { - "name": { - "name": { - "originalName": "message", - "camelCase": { - "unsafeName": "message", - "safeName": "message" - }, - "snakeCase": { - "unsafeName": "message", - "safeName": "message" - }, - "screamingSnakeCase": { - "unsafeName": "MESSAGE", - "safeName": "MESSAGE" - }, - "pascalCase": { - "unsafeName": "Message", - "safeName": "Message" - } - }, - "wireValue": "message" - }, - "originalTypeDeclaration": { - "name": { - "originalName": "NotFound", - "camelCase": { - "unsafeName": "notFound", - "safeName": "notFound" - }, - "snakeCase": { - "unsafeName": "not_found", - "safeName": "not_found" - }, - "screamingSnakeCase": { - "unsafeName": "NOT_FOUND", - "safeName": "NOT_FOUND" - }, - "pascalCase": { - "unsafeName": "NotFound", - "safeName": "NotFound" - } - }, - "fernFilepath": { - "allParts": [], - "packagePath": [], - "file": null - }, - "typeId": "type_:NotFound" - }, - "value": { + "type": "object", + "properties": [ + { + "name": { + "name": { + "originalName": "foo", + "camelCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "snakeCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "screamingSnakeCase": { + "unsafeName": "FOO", + "safeName": "FOO" + }, + "pascalCase": { + "unsafeName": "Foo", + "safeName": "Foo" + } + }, + "wireValue": "foo" + }, + "originalTypeDeclaration": { + "name": { + "originalName": "RootSchema1", + "camelCase": { + "unsafeName": "rootSchema1", + "safeName": "rootSchema1" + }, + "snakeCase": { + "unsafeName": "root_schema1", + "safeName": "root_schema1" + }, + "screamingSnakeCase": { + "unsafeName": "ROOT_SCHEMA1", + "safeName": "ROOT_SCHEMA1" + }, + "pascalCase": { + "unsafeName": "RootSchema1", + "safeName": "RootSchema1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:RootSchema1" + }, + "value": { + "shape": { + "type": "container", + "container": { + "type": "optional", + "optional": { "shape": { - "type": "container", - "container": { - "type": "optional", - "optional": { - "shape": { - "type": "primitive", - "primitive": { - "type": "string", - "string": { - "original": "message" - } - } - }, - "jsonExample": "message" - }, - "valueType": { - "_type": "primitive", - "primitive": { - "v1": "STRING", - "v2": { - "type": "string", - "default": null, - "validation": null - } - } + "type": "primitive", + "primitive": { + "type": "string", + "string": { + "original": "foo" } } }, - "jsonExample": "message" + "jsonExample": "foo" + }, + "valueType": { + "_type": "primitive", + "primitive": { + "v1": "STRING", + "v2": { + "type": "string", + "default": null, + "validation": null + } + } } } - ] + }, + "jsonExample": "foo" + } + }, + { + "name": { + "name": { + "originalName": "bar", + "camelCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "snakeCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "screamingSnakeCase": { + "unsafeName": "BAR", + "safeName": "BAR" + }, + "pascalCase": { + "unsafeName": "Bar", + "safeName": "Bar" + } + }, + "wireValue": "bar" }, - "typeName": { + "originalTypeDeclaration": { "name": { - "originalName": "NotFound", + "originalName": "RootSchema1", "camelCase": { - "unsafeName": "notFound", - "safeName": "notFound" + "unsafeName": "rootSchema1", + "safeName": "rootSchema1" }, "snakeCase": { - "unsafeName": "not_found", - "safeName": "not_found" + "unsafeName": "root_schema1", + "safeName": "root_schema1" }, "screamingSnakeCase": { - "unsafeName": "NOT_FOUND", - "safeName": "NOT_FOUND" + "unsafeName": "ROOT_SCHEMA1", + "safeName": "ROOT_SCHEMA1" }, "pascalCase": { - "unsafeName": "NotFound", - "safeName": "NotFound" + "unsafeName": "RootSchema1", + "safeName": "RootSchema1" } }, "fernFilepath": { @@ -971,32 +2380,501 @@ "packagePath": [], "file": null }, - "typeId": "type_:NotFound" + "typeId": "type_:RootSchema1" + }, + "value": { + "shape": { + "type": "container", + "container": { + "type": "optional", + "optional": { + "shape": { + "type": "named", + "shape": { + "type": "object", + "properties": [ + { + "name": { + "name": { + "originalName": "foo", + "camelCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "snakeCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "screamingSnakeCase": { + "unsafeName": "FOO", + "safeName": "FOO" + }, + "pascalCase": { + "unsafeName": "Foo", + "safeName": "Foo" + } + }, + "wireValue": "foo" + }, + "originalTypeDeclaration": { + "name": { + "originalName": "RootSchema1Bar", + "camelCase": { + "unsafeName": "rootSchema1Bar", + "safeName": "rootSchema1Bar" + }, + "snakeCase": { + "unsafeName": "root_schema1bar", + "safeName": "root_schema1bar" + }, + "screamingSnakeCase": { + "unsafeName": "ROOT_SCHEMA1BAR", + "safeName": "ROOT_SCHEMA1BAR" + }, + "pascalCase": { + "unsafeName": "RootSchema1Bar", + "safeName": "RootSchema1Bar" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:RootSchema1Bar" + }, + "value": { + "shape": { + "type": "container", + "container": { + "type": "optional", + "optional": { + "shape": { + "type": "primitive", + "primitive": { + "type": "string", + "string": { + "original": "foo" + } + } + }, + "jsonExample": "foo" + }, + "valueType": { + "_type": "primitive", + "primitive": { + "v1": "STRING", + "v2": { + "type": "string", + "default": null, + "validation": null + } + } + } + } + }, + "jsonExample": "foo" + } + }, + { + "name": { + "name": { + "originalName": "inner_bar", + "camelCase": { + "unsafeName": "innerBar", + "safeName": "innerBar" + }, + "snakeCase": { + "unsafeName": "inner_bar", + "safeName": "inner_bar" + }, + "screamingSnakeCase": { + "unsafeName": "INNER_BAR", + "safeName": "INNER_BAR" + }, + "pascalCase": { + "unsafeName": "InnerBar", + "safeName": "InnerBar" + } + }, + "wireValue": "inner_bar" + }, + "originalTypeDeclaration": { + "name": { + "originalName": "RootSchema1Bar", + "camelCase": { + "unsafeName": "rootSchema1Bar", + "safeName": "rootSchema1Bar" + }, + "snakeCase": { + "unsafeName": "root_schema1bar", + "safeName": "root_schema1bar" + }, + "screamingSnakeCase": { + "unsafeName": "ROOT_SCHEMA1BAR", + "safeName": "ROOT_SCHEMA1BAR" + }, + "pascalCase": { + "unsafeName": "RootSchema1Bar", + "safeName": "RootSchema1Bar" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:RootSchema1Bar" + }, + "value": { + "shape": { + "type": "container", + "container": { + "type": "optional", + "optional": { + "shape": { + "type": "named", + "shape": { + "type": "object", + "properties": [ + { + "name": { + "name": { + "originalName": "foo", + "camelCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "snakeCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "screamingSnakeCase": { + "unsafeName": "FOO", + "safeName": "FOO" + }, + "pascalCase": { + "unsafeName": "Foo", + "safeName": "Foo" + } + }, + "wireValue": "foo" + }, + "originalTypeDeclaration": { + "name": { + "originalName": "RootSchema1BarInnerBar", + "camelCase": { + "unsafeName": "rootSchema1BarInnerBar", + "safeName": "rootSchema1BarInnerBar" + }, + "snakeCase": { + "unsafeName": "root_schema1bar_inner_bar", + "safeName": "root_schema1bar_inner_bar" + }, + "screamingSnakeCase": { + "unsafeName": "ROOT_SCHEMA1BAR_INNER_BAR", + "safeName": "ROOT_SCHEMA1BAR_INNER_BAR" + }, + "pascalCase": { + "unsafeName": "RootSchema1BarInnerBar", + "safeName": "RootSchema1BarInnerBar" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:RootSchema1BarInnerBar" + }, + "value": { + "shape": { + "type": "container", + "container": { + "type": "optional", + "optional": { + "shape": { + "type": "primitive", + "primitive": { + "type": "string", + "string": { + "original": "foo" + } + } + }, + "jsonExample": "foo" + }, + "valueType": { + "_type": "primitive", + "primitive": { + "v1": "STRING", + "v2": { + "type": "string", + "default": null, + "validation": null + } + } + } + } + }, + "jsonExample": "foo" + } + }, + { + "name": { + "name": { + "originalName": "bar", + "camelCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "snakeCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "screamingSnakeCase": { + "unsafeName": "BAR", + "safeName": "BAR" + }, + "pascalCase": { + "unsafeName": "Bar", + "safeName": "Bar" + } + }, + "wireValue": "bar" + }, + "originalTypeDeclaration": { + "name": { + "originalName": "RootSchema1BarInnerBar", + "camelCase": { + "unsafeName": "rootSchema1BarInnerBar", + "safeName": "rootSchema1BarInnerBar" + }, + "snakeCase": { + "unsafeName": "root_schema1bar_inner_bar", + "safeName": "root_schema1bar_inner_bar" + }, + "screamingSnakeCase": { + "unsafeName": "ROOT_SCHEMA1BAR_INNER_BAR", + "safeName": "ROOT_SCHEMA1BAR_INNER_BAR" + }, + "pascalCase": { + "unsafeName": "RootSchema1BarInnerBar", + "safeName": "RootSchema1BarInnerBar" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:RootSchema1BarInnerBar" + }, + "value": { + "shape": { + "type": "container", + "container": { + "type": "optional", + "optional": { + "shape": { + "type": "primitive", + "primitive": { + "type": "string", + "string": { + "original": "bar" + } + } + }, + "jsonExample": "bar" + }, + "valueType": { + "_type": "primitive", + "primitive": { + "v1": "STRING", + "v2": { + "type": "string", + "default": null, + "validation": null + } + } + } + } + }, + "jsonExample": "bar" + } + } + ] + }, + "typeName": { + "name": { + "originalName": "RootSchema1BarInnerBar", + "camelCase": { + "unsafeName": "rootSchema1BarInnerBar", + "safeName": "rootSchema1BarInnerBar" + }, + "snakeCase": { + "unsafeName": "root_schema1bar_inner_bar", + "safeName": "root_schema1bar_inner_bar" + }, + "screamingSnakeCase": { + "unsafeName": "ROOT_SCHEMA1BAR_INNER_BAR", + "safeName": "ROOT_SCHEMA1BAR_INNER_BAR" + }, + "pascalCase": { + "unsafeName": "RootSchema1BarInnerBar", + "safeName": "RootSchema1BarInnerBar" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:RootSchema1BarInnerBar" + } + }, + "jsonExample": { + "foo": "foo", + "bar": "bar" + } + }, + "valueType": { + "_type": "named", + "name": { + "originalName": "RootSchema1BarInnerBar", + "camelCase": { + "unsafeName": "rootSchema1BarInnerBar", + "safeName": "rootSchema1BarInnerBar" + }, + "snakeCase": { + "unsafeName": "root_schema1bar_inner_bar", + "safeName": "root_schema1bar_inner_bar" + }, + "screamingSnakeCase": { + "unsafeName": "ROOT_SCHEMA1BAR_INNER_BAR", + "safeName": "ROOT_SCHEMA1BAR_INNER_BAR" + }, + "pascalCase": { + "unsafeName": "RootSchema1BarInnerBar", + "safeName": "RootSchema1BarInnerBar" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:RootSchema1BarInnerBar", + "default": null, + "inline": true + } + } + }, + "jsonExample": { + "foo": "foo", + "bar": "bar" + } + } + } + ] + }, + "typeName": { + "name": { + "originalName": "RootSchema1Bar", + "camelCase": { + "unsafeName": "rootSchema1Bar", + "safeName": "rootSchema1Bar" + }, + "snakeCase": { + "unsafeName": "root_schema1bar", + "safeName": "root_schema1bar" + }, + "screamingSnakeCase": { + "unsafeName": "ROOT_SCHEMA1BAR", + "safeName": "ROOT_SCHEMA1BAR" + }, + "pascalCase": { + "unsafeName": "RootSchema1Bar", + "safeName": "RootSchema1Bar" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:RootSchema1Bar" + } + }, + "jsonExample": { + "foo": "foo", + "inner_bar": { + "foo": "foo", + "bar": "bar" + } + } + }, + "valueType": { + "_type": "named", + "name": { + "originalName": "RootSchema1Bar", + "camelCase": { + "unsafeName": "rootSchema1Bar", + "safeName": "rootSchema1Bar" + }, + "snakeCase": { + "unsafeName": "root_schema1bar", + "safeName": "root_schema1bar" + }, + "screamingSnakeCase": { + "unsafeName": "ROOT_SCHEMA1BAR", + "safeName": "ROOT_SCHEMA1BAR" + }, + "pascalCase": { + "unsafeName": "RootSchema1Bar", + "safeName": "RootSchema1Bar" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:RootSchema1Bar", + "default": null, + "inline": true + } + } + }, + "jsonExample": { + "foo": "foo", + "inner_bar": { + "foo": "foo", + "bar": "bar" + } + } } - }, - "jsonExample": { - "message": "message" } - } + ] }, "typeName": { "name": { - "originalName": "GetExampleResponse", + "originalName": "RootSchema1", "camelCase": { - "unsafeName": "getExampleResponse", - "safeName": "getExampleResponse" + "unsafeName": "rootSchema1", + "safeName": "rootSchema1" }, "snakeCase": { - "unsafeName": "get_example_response", - "safeName": "get_example_response" + "unsafeName": "root_schema1", + "safeName": "root_schema1" }, "screamingSnakeCase": { - "unsafeName": "GET_EXAMPLE_RESPONSE", - "safeName": "GET_EXAMPLE_RESPONSE" + "unsafeName": "ROOT_SCHEMA1", + "safeName": "ROOT_SCHEMA1" }, "pascalCase": { - "unsafeName": "GetExampleResponse", - "safeName": "GetExampleResponse" + "unsafeName": "RootSchema1", + "safeName": "RootSchema1" } }, "fernFilepath": { @@ -1004,11 +2882,18 @@ "packagePath": [], "file": null }, - "typeId": "type_:GetExampleResponse" + "typeId": "type_:RootSchema1" } }, "jsonExample": { - "message": "message" + "foo": "foo", + "bar": { + "foo": "foo", + "inner_bar": { + "foo": "foo", + "bar": "bar" + } + } } } } @@ -1062,7 +2947,10 @@ "type_:NotFound", "type_:GetExampleResponse", "type_:Schema1", - "type_:Schema2" + "type_:Schema2", + "type_:RootSchema1BarInnerBar", + "type_:RootSchema1Bar", + "type_:RootSchema1" ] }, "sharedTypes": [] @@ -1085,7 +2973,10 @@ "type_:NotFound", "type_:GetExampleResponse", "type_:Schema1", - "type_:Schema2" + "type_:Schema2", + "type_:RootSchema1BarInnerBar", + "type_:RootSchema1Bar", + "type_:RootSchema1" ], "errors": [], "subpackages": [], diff --git a/test-definitions-openapi/fern/apis/inline-schema-reference/openapi.yml b/test-definitions-openapi/fern/apis/inline-schema-reference/openapi.yml index 1aed83d6cbb..20a5d808e9c 100644 --- a/test-definitions-openapi/fern/apis/inline-schema-reference/openapi.yml +++ b/test-definitions-openapi/fern/apis/inline-schema-reference/openapi.yml @@ -7,7 +7,7 @@ paths: get: summary: Get Example responses: - '200': + "200": description: Successful response content: application/json: @@ -16,6 +16,16 @@ paths: - $ref: "#/components/responses/NotFound/content/application~1json/schema" - $ref: "#/components/schemas/Schema1" - $ref: "#/components/schemas/Schema2" + /root: + get: + responses: + "200": + description: Successful response + content: + application/json: + schema: + $ref: "#/components/schemas/RootSchema1" + components: responses: NotFound: @@ -42,3 +52,21 @@ components: type: string age: type: integer + + RootSchema1: + type: object + properties: + foo: + type: string + bar: + type: object + properties: + foo: + type: string + inner_bar: + type: object + properties: + foo: + type: string + bar: + type: string From 005e8305a69170cd0cd9fcd587554a64295c6b0b Mon Sep 17 00:00:00 2001 From: Niels Swimberghe <3382717+Swimburger@users.noreply.github.com> Date: Thu, 21 Nov 2024 17:19:38 -0500 Subject: [PATCH 03/20] Handle optional inline types to inline IR --- .../inline-schema-reference.json | 4 +- .../src/generateIntermediateRepresentation.ts | 94 +++++++++++++------ .../resources/types/types/ContainerType.ts | 22 ++--- 3 files changed, 80 insertions(+), 40 deletions(-) diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/inline-schema-reference.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/inline-schema-reference.json index f8dad4f1f57..f64abba9a09 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/inline-schema-reference.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/inline-schema-reference.json @@ -538,7 +538,7 @@ "docs": null }, "type_:RootSchema1BarInnerBar": { - "inline": false, + "inline": true, "name": { "name": { "originalName": "RootSchema1BarInnerBar", @@ -672,7 +672,7 @@ "docs": null }, "type_:RootSchema1Bar": { - "inline": false, + "inline": true, "name": { "name": { "originalName": "RootSchema1Bar", diff --git a/packages/cli/generation/ir-generator/src/generateIntermediateRepresentation.ts b/packages/cli/generation/ir-generator/src/generateIntermediateRepresentation.ts index 4b300c00995..64081021325 100644 --- a/packages/cli/generation/ir-generator/src/generateIntermediateRepresentation.ts +++ b/packages/cli/generation/ir-generator/src/generateIntermediateRepresentation.ts @@ -2,9 +2,11 @@ import { Audiences, FERN_PACKAGE_MARKER_FILENAME, generatorsYml } from "@fern-ap import { assertNever, noop, visitObject } from "@fern-api/core-utils"; import { dirname, join, RelativeFilePath } from "@fern-api/fs-utils"; import { + ContainerType, ExampleType, HttpEndpoint, IntermediateRepresentation, + NamedType, ObjectProperty, PathParameterLocation, ResponseErrors, @@ -733,6 +735,11 @@ function filterServiceTypeReferenceInfoForAudiences( } type NamedObjectProperty = ObjectProperty & { valueType: TypeReference.Named }; +type OptionalNamedObjectProperty = ObjectProperty & { + valueType: TypeReference.Container & { + container: ContainerType.Optional & { optional: NamedType }; + }; +}; function markInlineTypes(types: Record) { // find types that have properties containing inline types const namedProps = Object.values(types).flatMap((type) => { @@ -740,35 +747,68 @@ function markInlineTypes(types: Record) { return []; } - return Object.values(type.shape.properties).filter((prop): prop is NamedObjectProperty => { - switch (prop.valueType.type) { - case "container": - case "primitive": - case "unknown": - return false; - case "named": - return true; - default: - assertNever(prop.valueType); - } - }); + return Object.values(type.shape.properties) + .filter((prop): prop is NamedObjectProperty | OptionalNamedObjectProperty => { + switch (prop.valueType.type) { + case "primitive": + return false; + case "unknown": + return false; + case "container": + switch (prop.valueType.container.type) { + case "list": + break; + case "literal": + break; + case "map": + break; + case "set": + break; + case "optional": + switch (prop.valueType.container.optional.type) { + case "named": + return true; + case "primitive": + break; + case "unknown": + break; + case "container": + break; + default: + assertNever(prop.valueType.container.optional); + } + return false; + default: + assertNever(prop.valueType.container); + } + return false; + case "named": + return true; + default: + assertNever(prop.valueType); + } + }) + .map((prop): NamedType => { + switch (prop.valueType.type) { + case "named": + return prop.valueType; + case "container": + return prop.valueType.container.optional; + default: + assertNever(prop.valueType); + } + }); }); + const inlinePropTypeIds = new Set(); + const nonInlinePropTypeIds = new Set(); // split props into inline and non-inline using reduce - const [inlineProps, nonInlineProps] = namedProps.reduce( - (splitArray, prop) => { - const [inline, nonInline] = splitArray; - if (prop.valueType.inline === true) { - inline.push(prop); - } else { - nonInline.push(prop); - } - return splitArray; - }, - [[], []] as [NamedObjectProperty[], NamedObjectProperty[]] - ); - - const inlinePropTypeIds = new Set(inlineProps.map((prop) => prop.valueType.typeId)); - const nonInlinePropTypeIds = new Set(nonInlineProps.map((prop) => prop.valueType.typeId)); + namedProps.forEach((prop) => { + if (prop.inline === true) { + inlinePropTypeIds.add(prop.typeId); + } else { + nonInlinePropTypeIds.add(prop.typeId); + } + }); for (const [typeId, type] of Object.entries(types)) { if (nonInlinePropTypeIds.has(typeId)) { type.inline = false; diff --git a/packages/ir-sdk/src/sdk/api/resources/types/types/ContainerType.ts b/packages/ir-sdk/src/sdk/api/resources/types/types/ContainerType.ts index d3186b007d0..f0d2a10f55f 100644 --- a/packages/ir-sdk/src/sdk/api/resources/types/types/ContainerType.ts +++ b/packages/ir-sdk/src/sdk/api/resources/types/types/ContainerType.ts @@ -55,12 +55,12 @@ export const ContainerType = { return { list: value, type: "list", - _visit: function <_Result>( + _visit <_Result>( this: FernIr.ContainerType.List, visitor: FernIr.ContainerType._Visitor<_Result> ) { return FernIr.ContainerType._visit(this, visitor); - }, + } }; }, @@ -68,12 +68,12 @@ export const ContainerType = { return { ...value, type: "map", - _visit: function <_Result>( + _visit <_Result>( this: FernIr.ContainerType.Map, visitor: FernIr.ContainerType._Visitor<_Result> ) { return FernIr.ContainerType._visit(this, visitor); - }, + } }; }, @@ -81,12 +81,12 @@ export const ContainerType = { return { optional: value, type: "optional", - _visit: function <_Result>( + _visit <_Result>( this: FernIr.ContainerType.Optional, visitor: FernIr.ContainerType._Visitor<_Result> ) { return FernIr.ContainerType._visit(this, visitor); - }, + } }; }, @@ -94,12 +94,12 @@ export const ContainerType = { return { set: value, type: "set", - _visit: function <_Result>( + _visit <_Result>( this: FernIr.ContainerType.Set, visitor: FernIr.ContainerType._Visitor<_Result> ) { return FernIr.ContainerType._visit(this, visitor); - }, + } }; }, @@ -107,12 +107,12 @@ export const ContainerType = { return { literal: value, type: "literal", - _visit: function <_Result>( + _visit <_Result>( this: FernIr.ContainerType.Literal, visitor: FernIr.ContainerType._Visitor<_Result> ) { return FernIr.ContainerType._visit(this, visitor); - }, + } }; }, @@ -131,5 +131,5 @@ export const ContainerType = { default: return visitor._other(value as any); } - }, + } } as const; From 00504ec4fbde64e433149c36cf2ee7f7bc6fc2ca Mon Sep 17 00:00:00 2001 From: Niels Swimberghe <3382717+Swimburger@users.noreply.github.com> Date: Thu, 21 Nov 2024 17:41:28 -0500 Subject: [PATCH 04/20] rename method --- .../ir-generator/src/generateIntermediateRepresentation.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/cli/generation/ir-generator/src/generateIntermediateRepresentation.ts b/packages/cli/generation/ir-generator/src/generateIntermediateRepresentation.ts index 64081021325..2ed0b4c2385 100644 --- a/packages/cli/generation/ir-generator/src/generateIntermediateRepresentation.ts +++ b/packages/cli/generation/ir-generator/src/generateIntermediateRepresentation.ts @@ -497,7 +497,7 @@ export async function generateIntermediateRepresentation({ readme != null ? convertReadmeConfig({ readme, services: intermediateRepresentation.services }) : undefined; const { types, services } = addExtendedPropertiesToIr(intermediateRepresentationForAudiences); - markInlineTypes(types); + markInlineTypeDeclarations(types); return { ...intermediateRepresentationForAudiences, @@ -740,7 +740,7 @@ type OptionalNamedObjectProperty = ObjectProperty & { container: ContainerType.Optional & { optional: NamedType }; }; }; -function markInlineTypes(types: Record) { +function markInlineTypeDeclarations(types: Record) { // find types that have properties containing inline types const namedProps = Object.values(types).flatMap((type) => { if (type.shape.type !== "object") { From ddb3819869b96527c3c352c2ad7eb108c2e1bc58 Mon Sep 17 00:00:00 2001 From: Niels Swimberghe <3382717+Swimburger@users.noreply.github.com> Date: Fri, 22 Nov 2024 14:45:06 -0500 Subject: [PATCH 05/20] Add support for inlining types into requests from OpenAPI and Fern definition --- api-yml.schema.json | 30 +- fern.schema.json | 86 +- .../fern-definition/definition/commons.yml | 56 +- .../fern-definition/definition/service.yml | 159 +- .../apis/fern-definition/definition/types.yml | 3 +- generators-yml.schema.json | 20 +- .../__test__/__snapshots__/ir.test.ts.snap | 33 +- package-yml.schema.json | 86 +- .../src/schema/convertObject.ts | 1 - .../src/schema/convertSchemas.ts | 1 + .../__snapshots__/openapi-docs/deel.json | 9 +- .../__snapshots__/openapi-docs/intercom.json | 27 +- .../only-include-referenced-schemas.json | 27 +- .../__snapshots__/openapi-docs/seam.json | 63 +- .../__test__/__snapshots__/openapi/deel.json | 9 +- .../__snapshots__/openapi/intercom.json | 27 +- .../only-include-referenced-schemas.json | 27 +- .../__test__/__snapshots__/openapi/seam.json | 63 +- .../openapi-ir-to-fern/src/buildEndpoint.ts | 3 +- .../src/buildTypeReference.ts | 34 +- .../test-definitions/inline-types.json | 231 ++- .../type__DiscriminatedUnion1.json | 71 + .../type__UndiscriminatedUnion1.json | 60 + .../api/resources/commons/types/WithInline.ts | 7 + .../api/resources/commons/types/index.ts | 1 + .../types/HttpResponseSchemaDetailed.ts | 2 +- .../types/TypeReferenceDeclarationWithName.ts | 4 +- .../types/TypeReferenceDetailedSchema.ts | 3 +- .../resources/commons/types/WithInline.ts | 18 + .../resources/commons/types/index.ts | 1 + .../types/HttpResponseSchemaDetailed.ts | 6 +- .../types/TypeReferenceDeclarationWithName.ts | 8 +- .../types/TypeReferenceDetailedSchema.ts | 6 +- .../ast/visitors/services/visitHttpService.ts | 6 +- .../test-definitions-openapi/enum-casing.json | 2 +- .../inline-schema-reference.json | 1564 +++++++++++++--- .../csharp-grpc-proto-exhaustive.json | 12 +- .../__test__/test-definitions/exhaustive.json | 24 +- .../test-definitions/inline-types.json | 1605 ++++++++++++++++- .../__test__/test-definitions/literal.json | 2 +- .../__test__/test-definitions/optional.json | 2 +- .../src/generateIntermediateRepresentation.ts | 127 +- .../src/api-yml.schema.json | 30 +- .../lazy-fern-workspace/src/fern.schema.json | 86 +- .../src/package-yml.schema.json | 86 +- .../__test__/__snapshots__/inline-types.json | 186 +- .../apis/inline-schema-reference/openapi.yml | 39 +- .../inline-types/definition/__package__.yml | 25 + 48 files changed, 4295 insertions(+), 683 deletions(-) create mode 100644 packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__DiscriminatedUnion1.json create mode 100644 packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__UndiscriminatedUnion1.json create mode 100644 packages/cli/fern-definition/schema/src/schemas/api/resources/commons/types/WithInline.ts create mode 100644 packages/cli/fern-definition/schema/src/schemas/serialization/resources/commons/types/WithInline.ts diff --git a/api-yml.schema.json b/api-yml.schema.json index fd82803541f..aebd78f1aab 100644 --- a/api-yml.schema.json +++ b/api-yml.schema.json @@ -1015,16 +1015,6 @@ "type": { "type": "string" }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "default": { "oneOf": [ { @@ -1105,6 +1095,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "env": { "oneOf": [ { @@ -1255,6 +1255,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "type": { "type": "string" } diff --git a/fern.schema.json b/fern.schema.json index 72a65edf562..3279e3a1391 100644 --- a/fern.schema.json +++ b/fern.schema.json @@ -439,9 +439,6 @@ } ] }, - "type": { - "type": "string" - }, "inline": { "oneOf": [ { @@ -451,6 +448,9 @@ "type": "null" } ] + }, + "type": { + "type": "string" } }, "required": [ @@ -880,6 +880,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "type": { "type": "string" } @@ -1444,16 +1454,6 @@ "type": { "type": "string" }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "default": { "oneOf": [ { @@ -1534,6 +1534,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "allow-multiple": { "oneOf": [ { @@ -1566,16 +1576,6 @@ "type": { "type": "string" }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "default": { "oneOf": [ { @@ -1656,6 +1656,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "env": { "oneOf": [ { @@ -1713,16 +1723,6 @@ "type": { "type": "string" }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "default": { "oneOf": [ { @@ -1803,6 +1803,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "content-type": { "oneOf": [ { @@ -1989,6 +1999,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "type": { "type": "string" }, diff --git a/fern/apis/fern-definition/definition/commons.yml b/fern/apis/fern-definition/definition/commons.yml index 288ed436638..74c132bd6cc 100644 --- a/fern/apis/fern-definition/definition/commons.yml +++ b/fern/apis/fern-definition/definition/commons.yml @@ -1,39 +1,43 @@ -imports: +imports: availability: availability.yml -types: - WithDocsSchema: - properties: +types: + WithDocsSchema: + properties: docs: optional - - WithName: - properties: + + WithName: + properties: name: optional - - WithAvailability: - properties: + + WithAvailability: + properties: availability: optional - - WithDisplayName: - properties: + + WithDisplayName: + properties: display-name: optional - - WithAudiences: - properties: + + WithAudiences: + properties: audiences: optional> - - DeclarationSchema: - extends: + + WithInline: + properties: + inline: optional + + DeclarationSchema: + extends: - WithDocsSchema - WithAvailability - WithAudiences - - DeclarationWithoutDocsSchema: - extends: + + DeclarationWithoutDocsSchema: + extends: - WithAvailability - WithAudiences - - DeclarationWithNameSchema: - extends: + + DeclarationWithNameSchema: + extends: - DeclarationSchema - - WithName \ No newline at end of file + - WithName diff --git a/fern/apis/fern-definition/definition/service.yml b/fern/apis/fern-definition/definition/service.yml index 98ce8541c6c..32e7038e4d2 100644 --- a/fern/apis/fern-definition/definition/service.yml +++ b/fern/apis/fern-definition/definition/service.yml @@ -1,4 +1,4 @@ -imports: +imports: commons: commons.yml types: types.yml examples: examples.yml @@ -6,37 +6,37 @@ imports: source: source.yml variables: variables.yml -types: - HttpServiceSchema: - extends: +types: + HttpServiceSchema: + extends: - commons.DeclarationWithoutDocsSchema - commons.WithDisplayName - properties: + properties: auth: boolean url: optional base-path: string path-parameters: optional> idempotent: optional headers: optional> - transport: optional + transport: optional source: optional endpoints: map - ServiceTransport: - properties: - grpc: optional - - GrpcTransport: - properties: - service-name: + ServiceTransport: + properties: + grpc: optional + + GrpcTransport: + properties: + service-name: type: string docs: "The name of the gRPC service." - - HttpEndpointSchema: - extends: + + HttpEndpointSchema: + extends: - commons.WithDisplayName - commons.DeclarationSchema - properties: + properties: method: optional base-path: optional path: string @@ -53,143 +53,144 @@ types: pagination: optional transport: optional source: optional - - HttpMethodSchema: - enum: + + HttpMethodSchema: + enum: - GET - POST - PUT - PATCH - DELETE - - HttpRequest: + + HttpRequest: discriminated: false - union: + union: - string - HttpRequestSchema HttpRequestSchema: - extends: + extends: - commons.WithName - commons.WithDocsSchema - properties: + properties: content-type: optional path-parameters: optional> query-parameters: optional> headers: optional> body: optional - + TypeReferenceDeclarationWithEnvOverride: discriminated: false - union: + union: - string - TypeReferenceDeclarationWithEnvOverrideSchema - TypeReferenceDeclarationWithEnvOverrideSchema: + TypeReferenceDeclarationWithEnvOverrideSchema: extends: types.TypeReferenceDeclarationWithName - properties: + properties: env: optional HttpHeaderSchema: TypeReferenceDeclarationWithEnvOverride - - HttpRequestBodySchema: + + HttpRequestBodySchema: discriminated: false - union: + union: - string - HttpReferencedRequestBodySchema - HttpInlineRequestBodySchema - - HttpReferencedRequestBodySchema: - extends: + + HttpReferencedRequestBodySchema: + extends: - commons.WithDocsSchema properties: type: string - HttpInlineRequestBodySchema: - properties: + HttpInlineRequestBodySchema: + properties: extends: optional extra-properties: optional properties: optional> - - HttpInlineRequestBodyPropertySchema: + + HttpInlineRequestBodyPropertySchema: discriminated: false - union: + union: - string - TypeReferenceDeclarationWithContentTypeSchema - - TypeReferenceDeclarationWithContentTypeSchema: + + TypeReferenceDeclarationWithContentTypeSchema: extends: types.TypeReferenceDeclarationWithName - properties: + properties: content-type: optional - - HttpQueryParameterSchema: + + HttpQueryParameterSchema: discriminated: false - union: + union: - string - QueryParameterTypeReferenceDetailed - - QueryParameterTypeReferenceDetailed: - extends: + + QueryParameterTypeReferenceDetailed: + extends: - types.TypeReferenceDeclarationWithName - properties: + properties: allow-multiple: optional - - HttpResponseSchema: + + HttpResponseSchema: discriminated: false - union: + union: - string - HttpResponseSchemaDetailed - - HttpResponseSchemaDetailed: - extends: + + HttpResponseSchemaDetailed: + extends: - commons.WithDocsSchema - properties: + - commons.WithInline + properties: type: string property: optional status-code: optional - HttpResponseStreamSchema: + HttpResponseStreamSchema: discriminated: false - union: + union: - string - HttpResponseStreamSchemaDetailed - - HttpResponseStreamSchemaDetailed: - extends: + + HttpResponseStreamSchemaDetailed: + extends: - commons.WithDocsSchema - properties: + properties: type: string format: optional terminator: optional - StreamFormat: - enum: + StreamFormat: + enum: - sse - json - - HttpPathParameterSchema: + + HttpPathParameterSchema: discriminated: false - union: + union: - types.TypeReferenceSchema - variables.VariableReferenceSchema - - Pagination: + + Pagination: discriminated: false - union: + union: - pagination.PaginationSchema - boolean - - ResponseErrorsSchema: + + ResponseErrorsSchema: type: list - ResponseError: + ResponseError: discriminated: false - union: + union: - string - ResponseErrorWithDocsSchema - - ResponseErrorWithDocsSchema: - extends: + + ResponseErrorWithDocsSchema: + extends: - commons.WithDocsSchema - properties: + properties: error: string diff --git a/fern/apis/fern-definition/definition/types.yml b/fern/apis/fern-definition/definition/types.yml index 0cf09c4a8b2..9af0d1d1d22 100644 --- a/fern/apis/fern-definition/definition/types.yml +++ b/fern/apis/fern-definition/definition/types.yml @@ -64,6 +64,7 @@ types: - BaseTypeReferenceSchema - commons.WithName - commons.WithAudiences + - commons.WithInline properties: type: string @@ -78,9 +79,9 @@ types: - BaseTypeReferenceSchema - commons.WithName - commons.WithAudiences + - commons.WithInline properties: type: string - inline: optional BaseTypeDeclarationSchema: extends: diff --git a/generators-yml.schema.json b/generators-yml.schema.json index 5f0130aaf20..4bfe7fac735 100644 --- a/generators-yml.schema.json +++ b/generators-yml.schema.json @@ -1007,16 +1007,6 @@ "type": { "type": "string" }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "default": { "oneOf": [ { @@ -1097,6 +1087,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "env": { "oneOf": [ { diff --git a/generators/go-v2/dynamic-snippets/src/__test__/__snapshots__/ir.test.ts.snap b/generators/go-v2/dynamic-snippets/src/__test__/__snapshots__/ir.test.ts.snap index 6011e18e6a9..c5eea929a07 100644 --- a/generators/go-v2/dynamic-snippets/src/__test__/__snapshots__/ir.test.ts.snap +++ b/generators/go-v2/dynamic-snippets/src/__test__/__snapshots__/ir.test.ts.snap @@ -3644,7 +3644,38 @@ func do() { " `; -exports[`test definitions > inline-types 1`] = `""`; +exports[`test definitions > inline-types 1`] = ` +"package example + +import ( + context "context" + client "github.com/acme/acme-go/client" +) + +func do() { + client := client.NewClient() + client.GetRoot( + context.TODO(), + ) +} + +------------------------ + +package example + +import ( + context "context" + client "github.com/acme/acme-go/client" +) + +func do() { + client := client.NewClient() + client.GetInline( + context.TODO(), + ) +} +" +`; exports[`test definitions > license 1`] = ` "package example diff --git a/package-yml.schema.json b/package-yml.schema.json index b1d3bc19759..c06193abb6f 100644 --- a/package-yml.schema.json +++ b/package-yml.schema.json @@ -459,9 +459,6 @@ } ] }, - "type": { - "type": "string" - }, "inline": { "oneOf": [ { @@ -471,6 +468,9 @@ "type": "null" } ] + }, + "type": { + "type": "string" } }, "required": [ @@ -900,6 +900,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "type": { "type": "string" } @@ -1464,16 +1474,6 @@ "type": { "type": "string" }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "default": { "oneOf": [ { @@ -1554,6 +1554,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "allow-multiple": { "oneOf": [ { @@ -1586,16 +1596,6 @@ "type": { "type": "string" }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "default": { "oneOf": [ { @@ -1676,6 +1676,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "env": { "oneOf": [ { @@ -1733,16 +1743,6 @@ "type": { "type": "string" }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "default": { "oneOf": [ { @@ -1823,6 +1823,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "content-type": { "oneOf": [ { @@ -2009,6 +2019,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "type": { "type": "string" }, diff --git a/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/convertObject.ts b/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/convertObject.ts index 65411128874..b04bea05b57 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/convertObject.ts +++ b/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/convertObject.ts @@ -167,7 +167,6 @@ export function convertObject({ }); } } - const convertedProperties: ObjectPropertyWithExample[] = Object.entries(propertiesToConvert).map( ([propertyName, propertySchema]) => { const isRequired = allRequired.includes(propertyName); diff --git a/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/convertSchemas.ts b/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/convertSchemas.ts index 3c969959bec..7a07d9b8fe3 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/convertSchemas.ts +++ b/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/convertSchemas.ts @@ -1,3 +1,4 @@ +import { assertNever } from "@fern-api/core-utils"; import { Logger } from "@fern-api/logger"; import { Availability, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/deel.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/deel.json index d39f493bbe3..e5c50c70af0 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/deel.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/deel.json @@ -21094,7 +21094,10 @@ docs: End-points to retrieve paid invoices and reciepts. "request": { "body": { "properties": { - "data": "InputToCreateFileRefData", + "data": { + "inline": true, + "type": "InputToCreateFileRefData", + }, }, }, "content-type": "application/json", @@ -21154,7 +21157,9 @@ service: name: InputToCreateFileRef body: properties: - data: InputToCreateFileRefData + data: + type: InputToCreateFileRefData + inline: true content-type: application/json response: docs: Successful operation. diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/intercom.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/intercom.json index faa83349da5..14f87ce6791 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/intercom.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/intercom.json @@ -25672,7 +25672,10 @@ This will return the Message model that has been created. "docs": "The content of the message. HTML is not supported.", "type": "string", }, - "from": "CreateConversationRequestFrom", + "from": { + "inline": true, + "type": "CreateConversationRequestFrom", + }, }, }, "content-type": "application/json", @@ -30112,7 +30115,9 @@ service: name: CreateConversationRequest body: properties: - from: CreateConversationRequestFrom + from: + type: CreateConversationRequestFrom + inline: true body: type: string docs: The content of the message. HTML is not supported. @@ -49743,8 +49748,14 @@ docs: Everything about your tickets "docs": "Represents the role of the Contact model. Accepts `lead` or `user`.", "type": "string", }, - "user": "unknown", - "visitor": "unknown", + "user": { + "inline": true, + "type": "unknown", + }, + "visitor": { + "inline": true, + "type": "unknown", + }, }, }, "content-type": "application/json", @@ -50454,8 +50465,12 @@ service: docs: >- Represents the role of the Contact model. Accepts `lead` or `user`. - user: unknown - visitor: unknown + user: + type: unknown + inline: true + visitor: + type: unknown + inline: true content-type: application/json response: docs: successful diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/only-include-referenced-schemas.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/only-include-referenced-schemas.json index 10200d4b307..7f579b512bc 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/only-include-referenced-schemas.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/only-include-referenced-schemas.json @@ -25163,7 +25163,10 @@ This will return the Message model that has been created. "docs": "The content of the message. HTML is not supported.", "type": "string", }, - "from": "CreateConversationRequestFrom", + "from": { + "inline": true, + "type": "CreateConversationRequestFrom", + }, }, }, "content-type": "application/json", @@ -29603,7 +29606,9 @@ service: name: CreateConversationRequest body: properties: - from: CreateConversationRequestFrom + from: + type: CreateConversationRequestFrom + inline: true body: type: string docs: The content of the message. HTML is not supported. @@ -49159,8 +49164,14 @@ docs: Everything about your tickets "docs": "Represents the role of the Contact model. Accepts `lead` or `user`.", "type": "string", }, - "user": "unknown", - "visitor": "unknown", + "user": { + "inline": true, + "type": "unknown", + }, + "visitor": { + "inline": true, + "type": "unknown", + }, }, }, "content-type": "application/json", @@ -49870,8 +49881,12 @@ service: docs: >- Represents the role of the Contact model. Accepts `lead` or `user`. - user: unknown - visitor: unknown + user: + type: unknown + inline: true + visitor: + type: unknown + inline: true content-type: application/json response: docs: successful diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/seam.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/seam.json index 3c70836f93c..b4a84ec1717 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/seam.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/seam.json @@ -13778,7 +13778,10 @@ service: "type": "optional", }, "starts_at": "optional", - "visionline_metadata": "optional", + "visionline_metadata": { + "inline": true, + "type": "optional", + }, }, }, "content-type": "application/json", @@ -14633,7 +14636,9 @@ service: type: optional default: false allowed_acs_entrance_ids: optional> - visionline_metadata: optional + visionline_metadata: + type: optional + inline: true starts_at: optional ends_at: optional content-type: application/json @@ -16187,7 +16192,10 @@ service: "request": { "body": { "properties": { - "access_schedule": "optional", + "access_schedule": { + "inline": true, + "type": "optional", + }, "acs_access_group_ids": "optional>", "acs_system_id": { "type": "string", @@ -16777,7 +16785,10 @@ service: "request": { "body": { "properties": { - "access_schedule": "optional", + "access_schedule": { + "inline": true, + "type": "optional", + }, "acs_user_id": { "type": "string", "validation": { @@ -17099,7 +17110,9 @@ service: type: optional validation: format: uuid - access_schedule: optional + access_schedule: + type: optional + inline: true full_name: optional email: type: optional @@ -17457,7 +17470,9 @@ service: name: UsersUpdateRequest body: properties: - access_schedule: optional + access_schedule: + type: optional + inline: true acs_user_id: type: string validation: @@ -20550,7 +20565,10 @@ service: "type": "optional", }, "name": "optional", - "properties": "optional", + "properties": { + "inline": true, + "type": "optional", + }, }, }, "content-type": "application/json", @@ -21404,7 +21422,9 @@ service: type: string validation: format: uuid - properties: optional + properties: + type: optional + inline: true name: optional is_managed: type: optional @@ -26876,9 +26896,15 @@ service: "request": { "body": { "properties": { - "assa_abloy_metadata": "optional", + "assa_abloy_metadata": { + "inline": true, + "type": "optional", + }, "custom_sdk_installation_id": "optional", - "phone_metadata": "optional", + "phone_metadata": { + "inline": true, + "type": "optional", + }, "user_identity_id": { "type": "string", "validation": { @@ -27064,8 +27090,12 @@ service: type: string validation: format: uuid - phone_metadata: optional - assa_abloy_metadata: optional + phone_metadata: + type: optional + inline: true + assa_abloy_metadata: + type: optional + inline: true content-type: application/json response: docs: OK @@ -27906,7 +27936,10 @@ service: "request": { "body": { "properties": { - "default_climate_setting": "ThermostatsUpdateRequestDefaultClimateSetting", + "default_climate_setting": { + "inline": true, + "type": "ThermostatsUpdateRequestDefaultClimateSetting", + }, "device_id": { "type": "string", "validation": { @@ -28973,7 +29006,9 @@ service: type: string validation: format: uuid - default_climate_setting: ThermostatsUpdateRequestDefaultClimateSetting + default_climate_setting: + type: ThermostatsUpdateRequestDefaultClimateSetting + inline: true content-type: application/json response: docs: OK diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/deel.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/deel.json index 271209d9cc8..326c7d434dd 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/deel.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/deel.json @@ -11464,7 +11464,10 @@ docs: End-points to retrieve paid invoices and reciepts. "request": { "body": { "properties": { - "data": "InputToCreateFileRefData", + "data": { + "inline": true, + "type": "InputToCreateFileRefData", + }, }, }, "content-type": "application/json", @@ -11524,7 +11527,9 @@ service: name: InputToCreateFileRef body: properties: - data: InputToCreateFileRefData + data: + type: InputToCreateFileRefData + inline: true content-type: application/json response: docs: Successful operation. diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/intercom.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/intercom.json index d68624b4cc9..af45672a8b0 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/intercom.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/intercom.json @@ -23620,7 +23620,10 @@ This will return the Message model that has been created. "docs": "The content of the message. HTML is not supported.", "type": "string", }, - "from": "CreateConversationRequestFrom", + "from": { + "inline": true, + "type": "CreateConversationRequestFrom", + }, }, }, "content-type": "application/json", @@ -28060,7 +28063,9 @@ service: name: CreateConversationRequest body: properties: - from: CreateConversationRequestFrom + from: + type: CreateConversationRequestFrom + inline: true body: type: string docs: The content of the message. HTML is not supported. @@ -47691,8 +47696,14 @@ docs: Everything about your tickets "docs": "Represents the role of the Contact model. Accepts `lead` or `user`.", "type": "string", }, - "user": "unknown", - "visitor": "unknown", + "user": { + "inline": true, + "type": "unknown", + }, + "visitor": { + "inline": true, + "type": "unknown", + }, }, }, "content-type": "application/json", @@ -48402,8 +48413,12 @@ service: docs: >- Represents the role of the Contact model. Accepts `lead` or `user`. - user: unknown - visitor: unknown + user: + type: unknown + inline: true + visitor: + type: unknown + inline: true content-type: application/json response: docs: successful diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/only-include-referenced-schemas.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/only-include-referenced-schemas.json index 2a55effebc3..ecd959bfaa3 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/only-include-referenced-schemas.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/only-include-referenced-schemas.json @@ -23111,7 +23111,10 @@ This will return the Message model that has been created. "docs": "The content of the message. HTML is not supported.", "type": "string", }, - "from": "CreateConversationRequestFrom", + "from": { + "inline": true, + "type": "CreateConversationRequestFrom", + }, }, }, "content-type": "application/json", @@ -27551,7 +27554,9 @@ service: name: CreateConversationRequest body: properties: - from: CreateConversationRequestFrom + from: + type: CreateConversationRequestFrom + inline: true body: type: string docs: The content of the message. HTML is not supported. @@ -47107,8 +47112,14 @@ docs: Everything about your tickets "docs": "Represents the role of the Contact model. Accepts `lead` or `user`.", "type": "string", }, - "user": "unknown", - "visitor": "unknown", + "user": { + "inline": true, + "type": "unknown", + }, + "visitor": { + "inline": true, + "type": "unknown", + }, }, }, "content-type": "application/json", @@ -47818,8 +47829,12 @@ service: docs: >- Represents the role of the Contact model. Accepts `lead` or `user`. - user: unknown - visitor: unknown + user: + type: unknown + inline: true + visitor: + type: unknown + inline: true content-type: application/json response: docs: successful diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/seam.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/seam.json index 4836c3c89f9..13e4c073099 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/seam.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/seam.json @@ -11510,7 +11510,10 @@ service: "type": "optional", }, "starts_at": "optional", - "visionline_metadata": "optional", + "visionline_metadata": { + "inline": true, + "type": "optional", + }, }, }, "content-type": "application/json", @@ -12365,7 +12368,9 @@ service: type: optional default: false allowed_acs_entrance_ids: optional> - visionline_metadata: optional + visionline_metadata: + type: optional + inline: true starts_at: optional ends_at: optional content-type: application/json @@ -13917,7 +13922,10 @@ service: "request": { "body": { "properties": { - "access_schedule": "optional", + "access_schedule": { + "inline": true, + "type": "optional", + }, "acs_access_group_ids": "optional>", "acs_system_id": { "type": "string", @@ -14507,7 +14515,10 @@ service: "request": { "body": { "properties": { - "access_schedule": "optional", + "access_schedule": { + "inline": true, + "type": "optional", + }, "acs_user_id": { "type": "string", "validation": { @@ -14829,7 +14840,9 @@ service: type: optional validation: format: uuid - access_schedule: optional + access_schedule: + type: optional + inline: true full_name: optional email: type: optional @@ -15187,7 +15200,9 @@ service: name: UsersUpdateRequest body: properties: - access_schedule: optional + access_schedule: + type: optional + inline: true acs_user_id: type: string validation: @@ -18280,7 +18295,10 @@ service: "type": "optional", }, "name": "optional", - "properties": "optional", + "properties": { + "inline": true, + "type": "optional", + }, }, }, "content-type": "application/json", @@ -19134,7 +19152,9 @@ service: type: string validation: format: uuid - properties: optional + properties: + type: optional + inline: true name: optional is_managed: type: optional @@ -24606,9 +24626,15 @@ service: "request": { "body": { "properties": { - "assa_abloy_metadata": "optional", + "assa_abloy_metadata": { + "inline": true, + "type": "optional", + }, "custom_sdk_installation_id": "optional", - "phone_metadata": "optional", + "phone_metadata": { + "inline": true, + "type": "optional", + }, "user_identity_id": { "type": "string", "validation": { @@ -24794,8 +24820,12 @@ service: type: string validation: format: uuid - phone_metadata: optional - assa_abloy_metadata: optional + phone_metadata: + type: optional + inline: true + assa_abloy_metadata: + type: optional + inline: true content-type: application/json response: docs: OK @@ -25636,7 +25666,10 @@ service: "request": { "body": { "properties": { - "default_climate_setting": "ThermostatsUpdateRequestDefaultClimateSetting", + "default_climate_setting": { + "inline": true, + "type": "ThermostatsUpdateRequestDefaultClimateSetting", + }, "device_id": { "type": "string", "validation": { @@ -26703,7 +26736,9 @@ service: type: string validation: format: uuid - default_climate_setting: ThermostatsUpdateRequestDefaultClimateSetting + default_climate_setting: + type: ThermostatsUpdateRequestDefaultClimateSetting + inline: true content-type: application/json response: docs: OK diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildEndpoint.ts b/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildEndpoint.ts index 0652f43e711..d3acc350179 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildEndpoint.ts +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildEndpoint.ts @@ -465,7 +465,8 @@ function getRequest({ schema: property.schema, fileContainingReference: declarationFile, context, - namespace + namespace, + inline: property.inline }); // TODO: clean up conditional logic diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildTypeReference.ts b/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildTypeReference.ts index 7c00ce49751..c2e04a1eee6 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildTypeReference.ts +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildTypeReference.ts @@ -50,13 +50,45 @@ export function buildTypeReference({ /* The file any type declarations will be written to. Defaults to fileContainingReference if not present */ declarationFile = fileContainingReference, context, - namespace + namespace, + inline }: { schema: Schema; fileContainingReference: RelativeFilePath; declarationFile?: RelativeFilePath; context: OpenApiIrConverterContext; namespace: string | undefined; + inline?: boolean | undefined; +}): RawSchemas.TypeReferenceSchema { + const typeReference = buildTypeReferenceWithoutInline({ + schema, + fileContainingReference, + declarationFile, + context, + namespace + }); + if (typeof typeReference === "string" && inline === true) { + return { + type: typeReference, + inline: true + }; + } + return typeReference; +} +function buildTypeReferenceWithoutInline({ + schema, + /* The file the type reference will be written to */ + fileContainingReference, + /* The file any type declarations will be written to. Defaults to fileContainingReference if not present */ + declarationFile, + context, + namespace +}: { + schema: Schema; + fileContainingReference: RelativeFilePath; + declarationFile: RelativeFilePath; + context: OpenApiIrConverterContext; + namespace: string | undefined; }): RawSchemas.TypeReferenceSchema { if (context.shouldMarkSchemaAsReferenced()) { context.markSchemaAsReferenced(schema, namespace); diff --git a/packages/cli/dynamic-snippets/src/__test__/test-definitions/inline-types.json b/packages/cli/dynamic-snippets/src/__test__/test-definitions/inline-types.json index 9472c688900..5a44debd7cc 100644 --- a/packages/cli/dynamic-snippets/src/__test__/test-definitions/inline-types.json +++ b/packages/cli/dynamic-snippets/src/__test__/test-definitions/inline-types.json @@ -1,6 +1,152 @@ { "version": "1.0.0", "types": { + "type_:DiscriminatedUnion1": { + "type": "discriminatedUnion", + "declaration": { + "name": { + "originalName": "DiscriminatedUnion1", + "camelCase": { + "unsafeName": "discriminatedUnion1", + "safeName": "discriminatedUnion1" + }, + "snakeCase": { + "unsafeName": "discriminated_union1", + "safeName": "discriminated_union1" + }, + "screamingSnakeCase": { + "unsafeName": "DISCRIMINATED_UNION1", + "safeName": "DISCRIMINATED_UNION1" + }, + "pascalCase": { + "unsafeName": "DiscriminatedUnion1", + "safeName": "DiscriminatedUnion1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + } + }, + "discriminant": { + "name": { + "originalName": "type", + "camelCase": { + "unsafeName": "type", + "safeName": "type" + }, + "snakeCase": { + "unsafeName": "type", + "safeName": "type" + }, + "screamingSnakeCase": { + "unsafeName": "TYPE", + "safeName": "TYPE" + }, + "pascalCase": { + "unsafeName": "Type", + "safeName": "Type" + } + }, + "wireValue": "type" + }, + "types": { + "type1": { + "type": "samePropertiesAsObject", + "typeId": "type_:InlineType1", + "discriminantValue": { + "name": { + "originalName": "type1", + "camelCase": { + "unsafeName": "type1", + "safeName": "type1" + }, + "snakeCase": { + "unsafeName": "type1", + "safeName": "type1" + }, + "screamingSnakeCase": { + "unsafeName": "TYPE1", + "safeName": "TYPE1" + }, + "pascalCase": { + "unsafeName": "Type1", + "safeName": "Type1" + } + }, + "wireValue": "type1" + }, + "properties": [] + }, + "type2": { + "type": "samePropertiesAsObject", + "typeId": "type_:MixedInlineType1", + "discriminantValue": { + "name": { + "originalName": "type2", + "camelCase": { + "unsafeName": "type2", + "safeName": "type2" + }, + "snakeCase": { + "unsafeName": "type2", + "safeName": "type2" + }, + "screamingSnakeCase": { + "unsafeName": "TYPE2", + "safeName": "TYPE2" + }, + "pascalCase": { + "unsafeName": "Type2", + "safeName": "Type2" + } + }, + "wireValue": "type2" + }, + "properties": [] + } + } + }, + "type_:UndiscriminatedUnion1": { + "type": "undiscriminatedUnion", + "declaration": { + "name": { + "originalName": "UndiscriminatedUnion1", + "camelCase": { + "unsafeName": "undiscriminatedUnion1", + "safeName": "undiscriminatedUnion1" + }, + "snakeCase": { + "unsafeName": "undiscriminated_union1", + "safeName": "undiscriminated_union1" + }, + "screamingSnakeCase": { + "unsafeName": "UNDISCRIMINATED_UNION1", + "safeName": "UNDISCRIMINATED_UNION1" + }, + "pascalCase": { + "unsafeName": "UndiscriminatedUnion1", + "safeName": "UndiscriminatedUnion1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + } + }, + "types": [ + { + "_type": "named", + "value": "type_:InlineType1" + }, + { + "_type": "named", + "value": "type_:MixedInlineType1" + } + ] + }, "type_:RootType1": { "type": "object", "declaration": { @@ -466,5 +612,88 @@ } }, "headers": [], - "endpoints": {} + "endpoints": { + "endpoint_.getRoot": { + "auth": null, + "declaration": { + "name": { + "originalName": "getRoot", + "camelCase": { + "unsafeName": "getRoot", + "safeName": "getRoot" + }, + "snakeCase": { + "unsafeName": "get_root", + "safeName": "get_root" + }, + "screamingSnakeCase": { + "unsafeName": "GET_ROOT", + "safeName": "GET_ROOT" + }, + "pascalCase": { + "unsafeName": "GetRoot", + "safeName": "GetRoot" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + } + }, + "location": { + "method": "GET", + "path": "/root/root" + }, + "request": { + "type": "body", + "pathParameters": [], + "body": null + }, + "response": { + "type": "json" + } + }, + "endpoint_.getInline": { + "auth": null, + "declaration": { + "name": { + "originalName": "getInline", + "camelCase": { + "unsafeName": "getInline", + "safeName": "getInline" + }, + "snakeCase": { + "unsafeName": "get_inline", + "safeName": "get_inline" + }, + "screamingSnakeCase": { + "unsafeName": "GET_INLINE", + "safeName": "GET_INLINE" + }, + "pascalCase": { + "unsafeName": "GetInline", + "safeName": "GetInline" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + } + }, + "location": { + "method": "GET", + "path": "/root/inline" + }, + "request": { + "type": "body", + "pathParameters": [], + "body": null + }, + "response": { + "type": "json" + } + } + } } \ No newline at end of file diff --git a/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__DiscriminatedUnion1.json b/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__DiscriminatedUnion1.json new file mode 100644 index 00000000000..56723478151 --- /dev/null +++ b/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__DiscriminatedUnion1.json @@ -0,0 +1,71 @@ +{ + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "type1", + "type2" + ] + } + }, + "required": [ + "type" + ], + "oneOf": [ + { + "properties": { + "type": { + "const": "type1" + }, + "foo": { + "type": "string" + }, + "bar": { + "$ref": "#/definitions/NestedInlineType1" + } + }, + "required": [ + "type", + "foo", + "bar" + ] + }, + { + "properties": { + "type": { + "const": "type2" + }, + "foo": { + "type": "string" + }, + "bar": { + "type": "string" + } + }, + "required": [ + "type", + "foo", + "bar" + ] + } + ], + "definitions": { + "NestedInlineType1": { + "type": "object", + "properties": { + "foo": { + "type": "string" + }, + "bar": { + "type": "string" + } + }, + "required": [ + "foo", + "bar" + ], + "additionalProperties": false + } + } +} \ No newline at end of file diff --git a/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__UndiscriminatedUnion1.json b/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__UndiscriminatedUnion1.json new file mode 100644 index 00000000000..eb5b53eba17 --- /dev/null +++ b/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__UndiscriminatedUnion1.json @@ -0,0 +1,60 @@ +{ + "anyOf": [ + { + "$ref": "#/definitions/InlineType1" + }, + { + "$ref": "#/definitions/MixedInlineType1" + } + ], + "definitions": { + "NestedInlineType1": { + "type": "object", + "properties": { + "foo": { + "type": "string" + }, + "bar": { + "type": "string" + } + }, + "required": [ + "foo", + "bar" + ], + "additionalProperties": false + }, + "InlineType1": { + "type": "object", + "properties": { + "foo": { + "type": "string" + }, + "bar": { + "$ref": "#/definitions/NestedInlineType1" + } + }, + "required": [ + "foo", + "bar" + ], + "additionalProperties": false + }, + "MixedInlineType1": { + "type": "object", + "properties": { + "foo": { + "type": "string" + }, + "bar": { + "type": "string" + } + }, + "required": [ + "foo", + "bar" + ], + "additionalProperties": false + } + } +} \ No newline at end of file diff --git a/packages/cli/fern-definition/schema/src/schemas/api/resources/commons/types/WithInline.ts b/packages/cli/fern-definition/schema/src/schemas/api/resources/commons/types/WithInline.ts new file mode 100644 index 00000000000..11f8c862ec5 --- /dev/null +++ b/packages/cli/fern-definition/schema/src/schemas/api/resources/commons/types/WithInline.ts @@ -0,0 +1,7 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export interface WithInline { + inline?: boolean; +} diff --git a/packages/cli/fern-definition/schema/src/schemas/api/resources/commons/types/index.ts b/packages/cli/fern-definition/schema/src/schemas/api/resources/commons/types/index.ts index 523c41281b1..a4e373adb47 100644 --- a/packages/cli/fern-definition/schema/src/schemas/api/resources/commons/types/index.ts +++ b/packages/cli/fern-definition/schema/src/schemas/api/resources/commons/types/index.ts @@ -3,6 +3,7 @@ export * from "./WithName"; export * from "./WithAvailability"; export * from "./WithDisplayName"; export * from "./WithAudiences"; +export * from "./WithInline"; export * from "./DeclarationSchema"; export * from "./DeclarationWithoutDocsSchema"; export * from "./DeclarationWithNameSchema"; diff --git a/packages/cli/fern-definition/schema/src/schemas/api/resources/service/types/HttpResponseSchemaDetailed.ts b/packages/cli/fern-definition/schema/src/schemas/api/resources/service/types/HttpResponseSchemaDetailed.ts index 289823c2ae6..ebb8a194fbb 100644 --- a/packages/cli/fern-definition/schema/src/schemas/api/resources/service/types/HttpResponseSchemaDetailed.ts +++ b/packages/cli/fern-definition/schema/src/schemas/api/resources/service/types/HttpResponseSchemaDetailed.ts @@ -4,7 +4,7 @@ import * as FernDefinition from "../../../index"; -export interface HttpResponseSchemaDetailed extends FernDefinition.WithDocsSchema { +export interface HttpResponseSchemaDetailed extends FernDefinition.WithDocsSchema, FernDefinition.WithInline { type: string; property?: string; "status-code"?: number; diff --git a/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/TypeReferenceDeclarationWithName.ts b/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/TypeReferenceDeclarationWithName.ts index c889ff35449..7eac8dc6052 100644 --- a/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/TypeReferenceDeclarationWithName.ts +++ b/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/TypeReferenceDeclarationWithName.ts @@ -7,7 +7,7 @@ import * as FernDefinition from "../../../index"; export interface TypeReferenceDeclarationWithName extends FernDefinition.BaseTypeReferenceSchema, FernDefinition.WithName, - FernDefinition.WithAudiences { + FernDefinition.WithAudiences, + FernDefinition.WithInline { type: string; - inline?: boolean; } diff --git a/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/TypeReferenceDetailedSchema.ts b/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/TypeReferenceDetailedSchema.ts index 04ebced3fc4..64d9a12eeed 100644 --- a/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/TypeReferenceDetailedSchema.ts +++ b/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/TypeReferenceDetailedSchema.ts @@ -7,6 +7,7 @@ import * as FernDefinition from "../../../index"; export interface TypeReferenceDetailedSchema extends FernDefinition.BaseTypeReferenceSchema, FernDefinition.WithName, - FernDefinition.WithAudiences { + FernDefinition.WithAudiences, + FernDefinition.WithInline { type: string; } diff --git a/packages/cli/fern-definition/schema/src/schemas/serialization/resources/commons/types/WithInline.ts b/packages/cli/fern-definition/schema/src/schemas/serialization/resources/commons/types/WithInline.ts new file mode 100644 index 00000000000..2de884ebfd3 --- /dev/null +++ b/packages/cli/fern-definition/schema/src/schemas/serialization/resources/commons/types/WithInline.ts @@ -0,0 +1,18 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as FernDefinition from "../../../../api/index"; +import * as core from "../../../../core"; + +export const WithInline: core.serialization.ObjectSchema = + core.serialization.object({ + inline: core.serialization.boolean().optional(), + }); + +export declare namespace WithInline { + interface Raw { + inline?: boolean | null; + } +} diff --git a/packages/cli/fern-definition/schema/src/schemas/serialization/resources/commons/types/index.ts b/packages/cli/fern-definition/schema/src/schemas/serialization/resources/commons/types/index.ts index 523c41281b1..a4e373adb47 100644 --- a/packages/cli/fern-definition/schema/src/schemas/serialization/resources/commons/types/index.ts +++ b/packages/cli/fern-definition/schema/src/schemas/serialization/resources/commons/types/index.ts @@ -3,6 +3,7 @@ export * from "./WithName"; export * from "./WithAvailability"; export * from "./WithDisplayName"; export * from "./WithAudiences"; +export * from "./WithInline"; export * from "./DeclarationSchema"; export * from "./DeclarationWithoutDocsSchema"; export * from "./DeclarationWithNameSchema"; diff --git a/packages/cli/fern-definition/schema/src/schemas/serialization/resources/service/types/HttpResponseSchemaDetailed.ts b/packages/cli/fern-definition/schema/src/schemas/serialization/resources/service/types/HttpResponseSchemaDetailed.ts index 26cfe9f6038..b670301c72f 100644 --- a/packages/cli/fern-definition/schema/src/schemas/serialization/resources/service/types/HttpResponseSchemaDetailed.ts +++ b/packages/cli/fern-definition/schema/src/schemas/serialization/resources/service/types/HttpResponseSchemaDetailed.ts @@ -6,6 +6,7 @@ import * as serializers from "../../../index"; import * as FernDefinition from "../../../../api/index"; import * as core from "../../../../core"; import { WithDocsSchema } from "../../commons/types/WithDocsSchema"; +import { WithInline } from "../../commons/types/WithInline"; export const HttpResponseSchemaDetailed: core.serialization.ObjectSchema< serializers.HttpResponseSchemaDetailed.Raw, @@ -16,10 +17,11 @@ export const HttpResponseSchemaDetailed: core.serialization.ObjectSchema< property: core.serialization.string().optional(), "status-code": core.serialization.number().optional(), }) - .extend(WithDocsSchema); + .extend(WithDocsSchema) + .extend(WithInline); export declare namespace HttpResponseSchemaDetailed { - interface Raw extends WithDocsSchema.Raw { + interface Raw extends WithDocsSchema.Raw, WithInline.Raw { type: string; property?: string | null; "status-code"?: number | null; diff --git a/packages/cli/fern-definition/schema/src/schemas/serialization/resources/types/types/TypeReferenceDeclarationWithName.ts b/packages/cli/fern-definition/schema/src/schemas/serialization/resources/types/types/TypeReferenceDeclarationWithName.ts index 378f2e26248..052829f1048 100644 --- a/packages/cli/fern-definition/schema/src/schemas/serialization/resources/types/types/TypeReferenceDeclarationWithName.ts +++ b/packages/cli/fern-definition/schema/src/schemas/serialization/resources/types/types/TypeReferenceDeclarationWithName.ts @@ -8,6 +8,7 @@ import * as core from "../../../../core"; import { BaseTypeReferenceSchema } from "./BaseTypeReferenceSchema"; import { WithName } from "../../commons/types/WithName"; import { WithAudiences } from "../../commons/types/WithAudiences"; +import { WithInline } from "../../commons/types/WithInline"; export const TypeReferenceDeclarationWithName: core.serialization.ObjectSchema< serializers.TypeReferenceDeclarationWithName.Raw, @@ -15,15 +16,14 @@ export const TypeReferenceDeclarationWithName: core.serialization.ObjectSchema< > = core.serialization .object({ type: core.serialization.string(), - inline: core.serialization.boolean().optional(), }) .extend(BaseTypeReferenceSchema) .extend(WithName) - .extend(WithAudiences); + .extend(WithAudiences) + .extend(WithInline); export declare namespace TypeReferenceDeclarationWithName { - interface Raw extends BaseTypeReferenceSchema.Raw, WithName.Raw, WithAudiences.Raw { + interface Raw extends BaseTypeReferenceSchema.Raw, WithName.Raw, WithAudiences.Raw, WithInline.Raw { type: string; - inline?: boolean | null; } } diff --git a/packages/cli/fern-definition/schema/src/schemas/serialization/resources/types/types/TypeReferenceDetailedSchema.ts b/packages/cli/fern-definition/schema/src/schemas/serialization/resources/types/types/TypeReferenceDetailedSchema.ts index 314ceb0d6f4..d33313d7446 100644 --- a/packages/cli/fern-definition/schema/src/schemas/serialization/resources/types/types/TypeReferenceDetailedSchema.ts +++ b/packages/cli/fern-definition/schema/src/schemas/serialization/resources/types/types/TypeReferenceDetailedSchema.ts @@ -8,6 +8,7 @@ import * as core from "../../../../core"; import { BaseTypeReferenceSchema } from "./BaseTypeReferenceSchema"; import { WithName } from "../../commons/types/WithName"; import { WithAudiences } from "../../commons/types/WithAudiences"; +import { WithInline } from "../../commons/types/WithInline"; export const TypeReferenceDetailedSchema: core.serialization.ObjectSchema< serializers.TypeReferenceDetailedSchema.Raw, @@ -18,10 +19,11 @@ export const TypeReferenceDetailedSchema: core.serialization.ObjectSchema< }) .extend(BaseTypeReferenceSchema) .extend(WithName) - .extend(WithAudiences); + .extend(WithAudiences) + .extend(WithInline); export declare namespace TypeReferenceDetailedSchema { - interface Raw extends BaseTypeReferenceSchema.Raw, WithName.Raw, WithAudiences.Raw { + interface Raw extends BaseTypeReferenceSchema.Raw, WithName.Raw, WithAudiences.Raw, WithInline.Raw { type: string; } } diff --git a/packages/cli/fern-definition/validator/src/ast/visitors/services/visitHttpService.ts b/packages/cli/fern-definition/validator/src/ast/visitors/services/visitHttpService.ts index f78a9134651..a02d929bc67 100644 --- a/packages/cli/fern-definition/validator/src/ast/visitors/services/visitHttpService.ts +++ b/packages/cli/fern-definition/validator/src/ast/visitors/services/visitHttpService.ts @@ -266,7 +266,8 @@ async function visitEndpoint({ }); }, property: noop, - "status-code": noop + "status-code": noop, + inline: noop }); } }, @@ -526,7 +527,8 @@ export async function visitPathParameters({ default: noop, validation: noop, name: noop, - audiences: noop + audiences: noop, + inline: noop }); } } diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/enum-casing.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/enum-casing.json index abfe261141f..f58598dc5e5 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/enum-casing.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/enum-casing.json @@ -1003,7 +1003,7 @@ "autogeneratedExamples": [ { "example": { - "id": "0197417040c625c3bcca76fbaf31fc3a4e9c6f4a", + "id": "b86b1b9c1712c1b5c515d3043d84f42a355c37d2", "url": "/example", "name": null, "endpointHeaders": [], diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/inline-schema-reference.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/inline-schema-reference.json index f64abba9a09..5f1663d9825 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/inline-schema-reference.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/inline-schema-reference.json @@ -269,6 +269,740 @@ "availability": null, "docs": null }, + "type_:PostRootRequestBarInnerBar": { + "inline": true, + "name": { + "name": { + "originalName": "PostRootRequestBarInnerBar", + "camelCase": { + "unsafeName": "postRootRequestBarInnerBar", + "safeName": "postRootRequestBarInnerBar" + }, + "snakeCase": { + "unsafeName": "post_root_request_bar_inner_bar", + "safeName": "post_root_request_bar_inner_bar" + }, + "screamingSnakeCase": { + "unsafeName": "POST_ROOT_REQUEST_BAR_INNER_BAR", + "safeName": "POST_ROOT_REQUEST_BAR_INNER_BAR" + }, + "pascalCase": { + "unsafeName": "PostRootRequestBarInnerBar", + "safeName": "PostRootRequestBarInnerBar" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:PostRootRequestBarInnerBar" + }, + "shape": { + "_type": "object", + "extends": [], + "properties": [ + { + "name": { + "name": { + "originalName": "foo", + "camelCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "snakeCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "screamingSnakeCase": { + "unsafeName": "FOO", + "safeName": "FOO" + }, + "pascalCase": { + "unsafeName": "Foo", + "safeName": "Foo" + } + }, + "wireValue": "foo" + }, + "valueType": { + "_type": "container", + "container": { + "_type": "optional", + "optional": { + "_type": "primitive", + "primitive": { + "v1": "STRING", + "v2": { + "type": "string", + "default": null, + "validation": null + } + } + } + } + }, + "availability": null, + "docs": null + }, + { + "name": { + "name": { + "originalName": "bar", + "camelCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "snakeCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "screamingSnakeCase": { + "unsafeName": "BAR", + "safeName": "BAR" + }, + "pascalCase": { + "unsafeName": "Bar", + "safeName": "Bar" + } + }, + "wireValue": "bar" + }, + "valueType": { + "_type": "container", + "container": { + "_type": "optional", + "optional": { + "_type": "primitive", + "primitive": { + "v1": "STRING", + "v2": { + "type": "string", + "default": null, + "validation": null + } + } + } + } + }, + "availability": null, + "docs": null + } + ], + "extra-properties": false, + "extendedProperties": [] + }, + "referencedTypes": [], + "encoding": { + "json": {}, + "proto": null + }, + "source": null, + "userProvidedExamples": [], + "autogeneratedExamples": [], + "availability": null, + "docs": null + }, + "type_:PostRootRequestBar": { + "inline": true, + "name": { + "name": { + "originalName": "PostRootRequestBar", + "camelCase": { + "unsafeName": "postRootRequestBar", + "safeName": "postRootRequestBar" + }, + "snakeCase": { + "unsafeName": "post_root_request_bar", + "safeName": "post_root_request_bar" + }, + "screamingSnakeCase": { + "unsafeName": "POST_ROOT_REQUEST_BAR", + "safeName": "POST_ROOT_REQUEST_BAR" + }, + "pascalCase": { + "unsafeName": "PostRootRequestBar", + "safeName": "PostRootRequestBar" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:PostRootRequestBar" + }, + "shape": { + "_type": "object", + "extends": [], + "properties": [ + { + "name": { + "name": { + "originalName": "foo", + "camelCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "snakeCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "screamingSnakeCase": { + "unsafeName": "FOO", + "safeName": "FOO" + }, + "pascalCase": { + "unsafeName": "Foo", + "safeName": "Foo" + } + }, + "wireValue": "foo" + }, + "valueType": { + "_type": "container", + "container": { + "_type": "optional", + "optional": { + "_type": "primitive", + "primitive": { + "v1": "STRING", + "v2": { + "type": "string", + "default": null, + "validation": null + } + } + } + } + }, + "availability": null, + "docs": null + }, + { + "name": { + "name": { + "originalName": "inner_bar", + "camelCase": { + "unsafeName": "innerBar", + "safeName": "innerBar" + }, + "snakeCase": { + "unsafeName": "inner_bar", + "safeName": "inner_bar" + }, + "screamingSnakeCase": { + "unsafeName": "INNER_BAR", + "safeName": "INNER_BAR" + }, + "pascalCase": { + "unsafeName": "InnerBar", + "safeName": "InnerBar" + } + }, + "wireValue": "inner_bar" + }, + "valueType": { + "_type": "container", + "container": { + "_type": "optional", + "optional": { + "_type": "named", + "name": { + "originalName": "PostRootRequestBarInnerBar", + "camelCase": { + "unsafeName": "postRootRequestBarInnerBar", + "safeName": "postRootRequestBarInnerBar" + }, + "snakeCase": { + "unsafeName": "post_root_request_bar_inner_bar", + "safeName": "post_root_request_bar_inner_bar" + }, + "screamingSnakeCase": { + "unsafeName": "POST_ROOT_REQUEST_BAR_INNER_BAR", + "safeName": "POST_ROOT_REQUEST_BAR_INNER_BAR" + }, + "pascalCase": { + "unsafeName": "PostRootRequestBarInnerBar", + "safeName": "PostRootRequestBarInnerBar" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:PostRootRequestBarInnerBar", + "default": null, + "inline": true + } + } + }, + "availability": null, + "docs": null + } + ], + "extra-properties": false, + "extendedProperties": [] + }, + "referencedTypes": [ + "type_:PostRootRequestBarInnerBar" + ], + "encoding": { + "json": {}, + "proto": null + }, + "source": null, + "userProvidedExamples": [], + "autogeneratedExamples": [], + "availability": null, + "docs": null + }, + "type_:PostRootResponseBarInnerBar": { + "inline": true, + "name": { + "name": { + "originalName": "PostRootResponseBarInnerBar", + "camelCase": { + "unsafeName": "postRootResponseBarInnerBar", + "safeName": "postRootResponseBarInnerBar" + }, + "snakeCase": { + "unsafeName": "post_root_response_bar_inner_bar", + "safeName": "post_root_response_bar_inner_bar" + }, + "screamingSnakeCase": { + "unsafeName": "POST_ROOT_RESPONSE_BAR_INNER_BAR", + "safeName": "POST_ROOT_RESPONSE_BAR_INNER_BAR" + }, + "pascalCase": { + "unsafeName": "PostRootResponseBarInnerBar", + "safeName": "PostRootResponseBarInnerBar" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:PostRootResponseBarInnerBar" + }, + "shape": { + "_type": "object", + "extends": [], + "properties": [ + { + "name": { + "name": { + "originalName": "foo", + "camelCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "snakeCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "screamingSnakeCase": { + "unsafeName": "FOO", + "safeName": "FOO" + }, + "pascalCase": { + "unsafeName": "Foo", + "safeName": "Foo" + } + }, + "wireValue": "foo" + }, + "valueType": { + "_type": "container", + "container": { + "_type": "optional", + "optional": { + "_type": "primitive", + "primitive": { + "v1": "STRING", + "v2": { + "type": "string", + "default": null, + "validation": null + } + } + } + } + }, + "availability": null, + "docs": null + }, + { + "name": { + "name": { + "originalName": "bar", + "camelCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "snakeCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "screamingSnakeCase": { + "unsafeName": "BAR", + "safeName": "BAR" + }, + "pascalCase": { + "unsafeName": "Bar", + "safeName": "Bar" + } + }, + "wireValue": "bar" + }, + "valueType": { + "_type": "container", + "container": { + "_type": "optional", + "optional": { + "_type": "primitive", + "primitive": { + "v1": "STRING", + "v2": { + "type": "string", + "default": null, + "validation": null + } + } + } + } + }, + "availability": null, + "docs": null + } + ], + "extra-properties": false, + "extendedProperties": [] + }, + "referencedTypes": [], + "encoding": { + "json": {}, + "proto": null + }, + "source": null, + "userProvidedExamples": [], + "autogeneratedExamples": [], + "availability": null, + "docs": null + }, + "type_:PostRootResponseBar": { + "inline": true, + "name": { + "name": { + "originalName": "PostRootResponseBar", + "camelCase": { + "unsafeName": "postRootResponseBar", + "safeName": "postRootResponseBar" + }, + "snakeCase": { + "unsafeName": "post_root_response_bar", + "safeName": "post_root_response_bar" + }, + "screamingSnakeCase": { + "unsafeName": "POST_ROOT_RESPONSE_BAR", + "safeName": "POST_ROOT_RESPONSE_BAR" + }, + "pascalCase": { + "unsafeName": "PostRootResponseBar", + "safeName": "PostRootResponseBar" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:PostRootResponseBar" + }, + "shape": { + "_type": "object", + "extends": [], + "properties": [ + { + "name": { + "name": { + "originalName": "foo", + "camelCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "snakeCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "screamingSnakeCase": { + "unsafeName": "FOO", + "safeName": "FOO" + }, + "pascalCase": { + "unsafeName": "Foo", + "safeName": "Foo" + } + }, + "wireValue": "foo" + }, + "valueType": { + "_type": "container", + "container": { + "_type": "optional", + "optional": { + "_type": "primitive", + "primitive": { + "v1": "STRING", + "v2": { + "type": "string", + "default": null, + "validation": null + } + } + } + } + }, + "availability": null, + "docs": null + }, + { + "name": { + "name": { + "originalName": "inner_bar", + "camelCase": { + "unsafeName": "innerBar", + "safeName": "innerBar" + }, + "snakeCase": { + "unsafeName": "inner_bar", + "safeName": "inner_bar" + }, + "screamingSnakeCase": { + "unsafeName": "INNER_BAR", + "safeName": "INNER_BAR" + }, + "pascalCase": { + "unsafeName": "InnerBar", + "safeName": "InnerBar" + } + }, + "wireValue": "inner_bar" + }, + "valueType": { + "_type": "container", + "container": { + "_type": "optional", + "optional": { + "_type": "named", + "name": { + "originalName": "PostRootResponseBarInnerBar", + "camelCase": { + "unsafeName": "postRootResponseBarInnerBar", + "safeName": "postRootResponseBarInnerBar" + }, + "snakeCase": { + "unsafeName": "post_root_response_bar_inner_bar", + "safeName": "post_root_response_bar_inner_bar" + }, + "screamingSnakeCase": { + "unsafeName": "POST_ROOT_RESPONSE_BAR_INNER_BAR", + "safeName": "POST_ROOT_RESPONSE_BAR_INNER_BAR" + }, + "pascalCase": { + "unsafeName": "PostRootResponseBarInnerBar", + "safeName": "PostRootResponseBarInnerBar" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:PostRootResponseBarInnerBar", + "default": null, + "inline": true + } + } + }, + "availability": null, + "docs": null + } + ], + "extra-properties": false, + "extendedProperties": [] + }, + "referencedTypes": [ + "type_:PostRootResponseBarInnerBar" + ], + "encoding": { + "json": {}, + "proto": null + }, + "source": null, + "userProvidedExamples": [], + "autogeneratedExamples": [], + "availability": null, + "docs": null + }, + "type_:PostRootResponse": { + "inline": false, + "name": { + "name": { + "originalName": "PostRootResponse", + "camelCase": { + "unsafeName": "postRootResponse", + "safeName": "postRootResponse" + }, + "snakeCase": { + "unsafeName": "post_root_response", + "safeName": "post_root_response" + }, + "screamingSnakeCase": { + "unsafeName": "POST_ROOT_RESPONSE", + "safeName": "POST_ROOT_RESPONSE" + }, + "pascalCase": { + "unsafeName": "PostRootResponse", + "safeName": "PostRootResponse" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:PostRootResponse" + }, + "shape": { + "_type": "object", + "extends": [], + "properties": [ + { + "name": { + "name": { + "originalName": "foo", + "camelCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "snakeCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "screamingSnakeCase": { + "unsafeName": "FOO", + "safeName": "FOO" + }, + "pascalCase": { + "unsafeName": "Foo", + "safeName": "Foo" + } + }, + "wireValue": "foo" + }, + "valueType": { + "_type": "container", + "container": { + "_type": "optional", + "optional": { + "_type": "primitive", + "primitive": { + "v1": "STRING", + "v2": { + "type": "string", + "default": null, + "validation": null + } + } + } + } + }, + "availability": null, + "docs": null + }, + { + "name": { + "name": { + "originalName": "bar", + "camelCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "snakeCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "screamingSnakeCase": { + "unsafeName": "BAR", + "safeName": "BAR" + }, + "pascalCase": { + "unsafeName": "Bar", + "safeName": "Bar" + } + }, + "wireValue": "bar" + }, + "valueType": { + "_type": "container", + "container": { + "_type": "optional", + "optional": { + "_type": "named", + "name": { + "originalName": "PostRootResponseBar", + "camelCase": { + "unsafeName": "postRootResponseBar", + "safeName": "postRootResponseBar" + }, + "snakeCase": { + "unsafeName": "post_root_response_bar", + "safeName": "post_root_response_bar" + }, + "screamingSnakeCase": { + "unsafeName": "POST_ROOT_RESPONSE_BAR", + "safeName": "POST_ROOT_RESPONSE_BAR" + }, + "pascalCase": { + "unsafeName": "PostRootResponseBar", + "safeName": "PostRootResponseBar" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:PostRootResponseBar", + "default": null, + "inline": true + } + } + }, + "availability": null, + "docs": null + } + ], + "extra-properties": false, + "extendedProperties": [] + }, + "referencedTypes": [ + "type_:PostRootResponseBar", + "type_:PostRootResponseBarInnerBar" + ], + "encoding": { + "json": {}, + "proto": null + }, + "source": null, + "userProvidedExamples": [], + "autogeneratedExamples": [], + "availability": null, + "docs": null + }, "type_:Schema1": { "inline": false, "name": { @@ -1468,31 +2202,31 @@ "docs": null }, { - "id": "endpoint_.getRoot", + "id": "endpoint_.postRoot", "name": { - "originalName": "getRoot", + "originalName": "postRoot", "camelCase": { - "unsafeName": "getRoot", - "safeName": "getRoot" + "unsafeName": "postRoot", + "safeName": "postRoot" }, "snakeCase": { - "unsafeName": "get_root", - "safeName": "get_root" + "unsafeName": "post_root", + "safeName": "post_root" }, "screamingSnakeCase": { - "unsafeName": "GET_ROOT", - "safeName": "GET_ROOT" + "unsafeName": "POST_ROOT", + "safeName": "POST_ROOT" }, "pascalCase": { - "unsafeName": "GetRoot", - "safeName": "GetRoot" + "unsafeName": "PostRoot", + "safeName": "PostRoot" } }, "displayName": null, "auth": false, "idempotent": false, "baseUrl": null, - "method": "GET", + "method": "POST", "basePath": null, "path": { "head": "/root", @@ -1506,8 +2240,205 @@ "allPathParameters": [], "queryParameters": [], "headers": [], - "requestBody": null, - "sdkRequest": null, + "requestBody": { + "type": "inlinedRequestBody", + "name": { + "originalName": "PostRootRequest", + "camelCase": { + "unsafeName": "postRootRequest", + "safeName": "postRootRequest" + }, + "snakeCase": { + "unsafeName": "post_root_request", + "safeName": "post_root_request" + }, + "screamingSnakeCase": { + "unsafeName": "POST_ROOT_REQUEST", + "safeName": "POST_ROOT_REQUEST" + }, + "pascalCase": { + "unsafeName": "PostRootRequest", + "safeName": "PostRootRequest" + } + }, + "extends": [], + "contentType": "application/json", + "properties": [ + { + "name": { + "name": { + "originalName": "foo", + "camelCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "snakeCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "screamingSnakeCase": { + "unsafeName": "FOO", + "safeName": "FOO" + }, + "pascalCase": { + "unsafeName": "Foo", + "safeName": "Foo" + } + }, + "wireValue": "foo" + }, + "valueType": { + "_type": "container", + "container": { + "_type": "optional", + "optional": { + "_type": "primitive", + "primitive": { + "v1": "STRING", + "v2": { + "type": "string", + "default": null, + "validation": null + } + } + } + } + }, + "availability": null, + "docs": null + }, + { + "name": { + "name": { + "originalName": "bar", + "camelCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "snakeCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "screamingSnakeCase": { + "unsafeName": "BAR", + "safeName": "BAR" + }, + "pascalCase": { + "unsafeName": "Bar", + "safeName": "Bar" + } + }, + "wireValue": "bar" + }, + "valueType": { + "_type": "container", + "container": { + "_type": "optional", + "optional": { + "_type": "named", + "name": { + "originalName": "PostRootRequestBar", + "camelCase": { + "unsafeName": "postRootRequestBar", + "safeName": "postRootRequestBar" + }, + "snakeCase": { + "unsafeName": "post_root_request_bar", + "safeName": "post_root_request_bar" + }, + "screamingSnakeCase": { + "unsafeName": "POST_ROOT_REQUEST_BAR", + "safeName": "POST_ROOT_REQUEST_BAR" + }, + "pascalCase": { + "unsafeName": "PostRootRequestBar", + "safeName": "PostRootRequestBar" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:PostRootRequestBar", + "default": null, + "inline": true + } + } + }, + "availability": null, + "docs": null + } + ], + "extra-properties": false, + "extendedProperties": [], + "docs": null + }, + "sdkRequest": { + "shape": { + "type": "wrapper", + "wrapperName": { + "originalName": "PostRootRequest", + "camelCase": { + "unsafeName": "postRootRequest", + "safeName": "postRootRequest" + }, + "snakeCase": { + "unsafeName": "post_root_request", + "safeName": "post_root_request" + }, + "screamingSnakeCase": { + "unsafeName": "POST_ROOT_REQUEST", + "safeName": "POST_ROOT_REQUEST" + }, + "pascalCase": { + "unsafeName": "PostRootRequest", + "safeName": "PostRootRequest" + } + }, + "bodyKey": { + "originalName": "body", + "camelCase": { + "unsafeName": "body", + "safeName": "body" + }, + "snakeCase": { + "unsafeName": "body", + "safeName": "body" + }, + "screamingSnakeCase": { + "unsafeName": "BODY", + "safeName": "BODY" + }, + "pascalCase": { + "unsafeName": "Body", + "safeName": "Body" + } + }, + "includePathParameters": false, + "onlyPathParameters": false + }, + "requestParameterName": { + "originalName": "request", + "camelCase": { + "unsafeName": "request", + "safeName": "request" + }, + "snakeCase": { + "unsafeName": "request", + "safeName": "request" + }, + "screamingSnakeCase": { + "unsafeName": "REQUEST", + "safeName": "REQUEST" + }, + "pascalCase": { + "unsafeName": "Request", + "safeName": "Request" + } + }, + "streamParameter": null + }, "response": { "body": { "type": "json", @@ -1516,22 +2447,22 @@ "responseBodyType": { "_type": "named", "name": { - "originalName": "RootSchema1", + "originalName": "PostRootResponse", "camelCase": { - "unsafeName": "rootSchema1", - "safeName": "rootSchema1" + "unsafeName": "postRootResponse", + "safeName": "postRootResponse" }, "snakeCase": { - "unsafeName": "root_schema1", - "safeName": "root_schema1" + "unsafeName": "post_root_response", + "safeName": "post_root_response" }, "screamingSnakeCase": { - "unsafeName": "ROOT_SCHEMA1", - "safeName": "ROOT_SCHEMA1" + "unsafeName": "POST_ROOT_RESPONSE", + "safeName": "POST_ROOT_RESPONSE" }, "pascalCase": { - "unsafeName": "RootSchema1", - "safeName": "RootSchema1" + "unsafeName": "PostRootResponse", + "safeName": "PostRootResponse" } }, "fernFilepath": { @@ -1539,7 +2470,7 @@ "packagePath": [], "file": null }, - "typeId": "type_:RootSchema1", + "typeId": "type_:PostRootResponse", "default": null, "inline": null }, @@ -1552,7 +2483,7 @@ "userSpecifiedExamples": [ { "example": { - "id": "2032d19ea7474cd0093ab1eef0cfd54fbe8bb5068162e4cd83f99a9c7327d64a", + "id": "7eda6d031b33bfd08627608eb55f4a966170a0ce281f137740f324a67facb8e2", "name": null, "url": "/root", "rootPathParameters": [], @@ -1561,7 +2492,11 @@ "endpointHeaders": [], "serviceHeaders": [], "queryParameters": [], - "request": null, + "request": { + "type": "inlinedRequestBody", + "properties": [], + "jsonExample": {} + }, "response": { "type": "ok", "value": { @@ -1570,29 +2505,29 @@ "shape": { "type": "named", "typeName": { - "typeId": "type_:RootSchema1", + "typeId": "type_:PostRootResponse", "fernFilepath": { "allParts": [], "packagePath": [], "file": null }, "name": { - "originalName": "RootSchema1", + "originalName": "PostRootResponse", "camelCase": { - "unsafeName": "rootSchema1", - "safeName": "rootSchema1" + "unsafeName": "postRootResponse", + "safeName": "postRootResponse" }, "snakeCase": { - "unsafeName": "root_schema1", - "safeName": "root_schema1" + "unsafeName": "post_root_response", + "safeName": "post_root_response" }, "screamingSnakeCase": { - "unsafeName": "ROOT_SCHEMA1", - "safeName": "ROOT_SCHEMA1" + "unsafeName": "POST_ROOT_RESPONSE", + "safeName": "POST_ROOT_RESPONSE" }, "pascalCase": { - "unsafeName": "RootSchema1", - "safeName": "RootSchema1" + "unsafeName": "PostRootResponse", + "safeName": "PostRootResponse" } } }, @@ -1655,29 +2590,29 @@ "jsonExample": "foo" }, "originalTypeDeclaration": { - "typeId": "type_:RootSchema1", + "typeId": "type_:PostRootResponse", "fernFilepath": { "allParts": [], "packagePath": [], "file": null }, "name": { - "originalName": "RootSchema1", + "originalName": "PostRootResponse", "camelCase": { - "unsafeName": "rootSchema1", - "safeName": "rootSchema1" + "unsafeName": "postRootResponse", + "safeName": "postRootResponse" }, "snakeCase": { - "unsafeName": "root_schema1", - "safeName": "root_schema1" + "unsafeName": "post_root_response", + "safeName": "post_root_response" }, "screamingSnakeCase": { - "unsafeName": "ROOT_SCHEMA1", - "safeName": "ROOT_SCHEMA1" + "unsafeName": "POST_ROOT_RESPONSE", + "safeName": "POST_ROOT_RESPONSE" }, "pascalCase": { - "unsafeName": "RootSchema1", - "safeName": "RootSchema1" + "unsafeName": "PostRootResponse", + "safeName": "PostRootResponse" } } } @@ -1714,29 +2649,29 @@ "shape": { "type": "named", "typeName": { - "typeId": "type_:RootSchema1Bar", + "typeId": "type_:PostRootResponseBar", "fernFilepath": { "allParts": [], "packagePath": [], "file": null }, "name": { - "originalName": "RootSchema1Bar", + "originalName": "PostRootResponseBar", "camelCase": { - "unsafeName": "rootSchema1Bar", - "safeName": "rootSchema1Bar" + "unsafeName": "postRootResponseBar", + "safeName": "postRootResponseBar" }, "snakeCase": { - "unsafeName": "root_schema1bar", - "safeName": "root_schema1bar" + "unsafeName": "post_root_response_bar", + "safeName": "post_root_response_bar" }, "screamingSnakeCase": { - "unsafeName": "ROOT_SCHEMA1BAR", - "safeName": "ROOT_SCHEMA1BAR" + "unsafeName": "POST_ROOT_RESPONSE_BAR", + "safeName": "POST_ROOT_RESPONSE_BAR" }, "pascalCase": { - "unsafeName": "RootSchema1Bar", - "safeName": "RootSchema1Bar" + "unsafeName": "PostRootResponseBar", + "safeName": "PostRootResponseBar" } } }, @@ -1799,29 +2734,29 @@ "jsonExample": "foo" }, "originalTypeDeclaration": { - "typeId": "type_:RootSchema1Bar", + "typeId": "type_:PostRootResponseBar", "fernFilepath": { "allParts": [], "packagePath": [], "file": null }, "name": { - "originalName": "RootSchema1Bar", + "originalName": "PostRootResponseBar", "camelCase": { - "unsafeName": "rootSchema1Bar", - "safeName": "rootSchema1Bar" + "unsafeName": "postRootResponseBar", + "safeName": "postRootResponseBar" }, "snakeCase": { - "unsafeName": "root_schema1bar", - "safeName": "root_schema1bar" + "unsafeName": "post_root_response_bar", + "safeName": "post_root_response_bar" }, "screamingSnakeCase": { - "unsafeName": "ROOT_SCHEMA1BAR", - "safeName": "ROOT_SCHEMA1BAR" + "unsafeName": "POST_ROOT_RESPONSE_BAR", + "safeName": "POST_ROOT_RESPONSE_BAR" }, "pascalCase": { - "unsafeName": "RootSchema1Bar", - "safeName": "RootSchema1Bar" + "unsafeName": "PostRootResponseBar", + "safeName": "PostRootResponseBar" } } } @@ -1858,29 +2793,29 @@ "shape": { "type": "named", "typeName": { - "typeId": "type_:RootSchema1BarInnerBar", + "typeId": "type_:PostRootResponseBarInnerBar", "fernFilepath": { "allParts": [], "packagePath": [], "file": null }, "name": { - "originalName": "RootSchema1BarInnerBar", + "originalName": "PostRootResponseBarInnerBar", "camelCase": { - "unsafeName": "rootSchema1BarInnerBar", - "safeName": "rootSchema1BarInnerBar" + "unsafeName": "postRootResponseBarInnerBar", + "safeName": "postRootResponseBarInnerBar" }, "snakeCase": { - "unsafeName": "root_schema1bar_inner_bar", - "safeName": "root_schema1bar_inner_bar" + "unsafeName": "post_root_response_bar_inner_bar", + "safeName": "post_root_response_bar_inner_bar" }, "screamingSnakeCase": { - "unsafeName": "ROOT_SCHEMA1BAR_INNER_BAR", - "safeName": "ROOT_SCHEMA1BAR_INNER_BAR" + "unsafeName": "POST_ROOT_RESPONSE_BAR_INNER_BAR", + "safeName": "POST_ROOT_RESPONSE_BAR_INNER_BAR" }, "pascalCase": { - "unsafeName": "RootSchema1BarInnerBar", - "safeName": "RootSchema1BarInnerBar" + "unsafeName": "PostRootResponseBarInnerBar", + "safeName": "PostRootResponseBarInnerBar" } } }, @@ -1943,29 +2878,29 @@ "jsonExample": "foo" }, "originalTypeDeclaration": { - "typeId": "type_:RootSchema1BarInnerBar", + "typeId": "type_:PostRootResponseBarInnerBar", "fernFilepath": { "allParts": [], "packagePath": [], "file": null }, "name": { - "originalName": "RootSchema1BarInnerBar", + "originalName": "PostRootResponseBarInnerBar", "camelCase": { - "unsafeName": "rootSchema1BarInnerBar", - "safeName": "rootSchema1BarInnerBar" + "unsafeName": "postRootResponseBarInnerBar", + "safeName": "postRootResponseBarInnerBar" }, "snakeCase": { - "unsafeName": "root_schema1bar_inner_bar", - "safeName": "root_schema1bar_inner_bar" + "unsafeName": "post_root_response_bar_inner_bar", + "safeName": "post_root_response_bar_inner_bar" }, "screamingSnakeCase": { - "unsafeName": "ROOT_SCHEMA1BAR_INNER_BAR", - "safeName": "ROOT_SCHEMA1BAR_INNER_BAR" + "unsafeName": "POST_ROOT_RESPONSE_BAR_INNER_BAR", + "safeName": "POST_ROOT_RESPONSE_BAR_INNER_BAR" }, "pascalCase": { - "unsafeName": "RootSchema1BarInnerBar", - "safeName": "RootSchema1BarInnerBar" + "unsafeName": "PostRootResponseBarInnerBar", + "safeName": "PostRootResponseBarInnerBar" } } } @@ -2026,29 +2961,29 @@ "jsonExample": "bar" }, "originalTypeDeclaration": { - "typeId": "type_:RootSchema1BarInnerBar", + "typeId": "type_:PostRootResponseBarInnerBar", "fernFilepath": { "allParts": [], "packagePath": [], "file": null }, "name": { - "originalName": "RootSchema1BarInnerBar", + "originalName": "PostRootResponseBarInnerBar", "camelCase": { - "unsafeName": "rootSchema1BarInnerBar", - "safeName": "rootSchema1BarInnerBar" + "unsafeName": "postRootResponseBarInnerBar", + "safeName": "postRootResponseBarInnerBar" }, "snakeCase": { - "unsafeName": "root_schema1bar_inner_bar", - "safeName": "root_schema1bar_inner_bar" + "unsafeName": "post_root_response_bar_inner_bar", + "safeName": "post_root_response_bar_inner_bar" }, "screamingSnakeCase": { - "unsafeName": "ROOT_SCHEMA1BAR_INNER_BAR", - "safeName": "ROOT_SCHEMA1BAR_INNER_BAR" + "unsafeName": "POST_ROOT_RESPONSE_BAR_INNER_BAR", + "safeName": "POST_ROOT_RESPONSE_BAR_INNER_BAR" }, "pascalCase": { - "unsafeName": "RootSchema1BarInnerBar", - "safeName": "RootSchema1BarInnerBar" + "unsafeName": "PostRootResponseBarInnerBar", + "safeName": "PostRootResponseBarInnerBar" } } } @@ -2064,22 +2999,22 @@ "valueType": { "_type": "named", "name": { - "originalName": "RootSchema1BarInnerBar", + "originalName": "PostRootResponseBarInnerBar", "camelCase": { - "unsafeName": "rootSchema1BarInnerBar", - "safeName": "rootSchema1BarInnerBar" + "unsafeName": "postRootResponseBarInnerBar", + "safeName": "postRootResponseBarInnerBar" }, "snakeCase": { - "unsafeName": "root_schema1bar_inner_bar", - "safeName": "root_schema1bar_inner_bar" + "unsafeName": "post_root_response_bar_inner_bar", + "safeName": "post_root_response_bar_inner_bar" }, "screamingSnakeCase": { - "unsafeName": "ROOT_SCHEMA1BAR_INNER_BAR", - "safeName": "ROOT_SCHEMA1BAR_INNER_BAR" + "unsafeName": "POST_ROOT_RESPONSE_BAR_INNER_BAR", + "safeName": "POST_ROOT_RESPONSE_BAR_INNER_BAR" }, "pascalCase": { - "unsafeName": "RootSchema1BarInnerBar", - "safeName": "RootSchema1BarInnerBar" + "unsafeName": "PostRootResponseBarInnerBar", + "safeName": "PostRootResponseBarInnerBar" } }, "fernFilepath": { @@ -2087,7 +3022,7 @@ "packagePath": [], "file": null }, - "typeId": "type_:RootSchema1BarInnerBar", + "typeId": "type_:PostRootResponseBarInnerBar", "default": null, "inline": null } @@ -2099,29 +3034,29 @@ } }, "originalTypeDeclaration": { - "typeId": "type_:RootSchema1Bar", + "typeId": "type_:PostRootResponseBar", "fernFilepath": { "allParts": [], "packagePath": [], "file": null }, "name": { - "originalName": "RootSchema1Bar", + "originalName": "PostRootResponseBar", "camelCase": { - "unsafeName": "rootSchema1Bar", - "safeName": "rootSchema1Bar" + "unsafeName": "postRootResponseBar", + "safeName": "postRootResponseBar" }, "snakeCase": { - "unsafeName": "root_schema1bar", - "safeName": "root_schema1bar" + "unsafeName": "post_root_response_bar", + "safeName": "post_root_response_bar" }, "screamingSnakeCase": { - "unsafeName": "ROOT_SCHEMA1BAR", - "safeName": "ROOT_SCHEMA1BAR" + "unsafeName": "POST_ROOT_RESPONSE_BAR", + "safeName": "POST_ROOT_RESPONSE_BAR" }, "pascalCase": { - "unsafeName": "RootSchema1Bar", - "safeName": "RootSchema1Bar" + "unsafeName": "PostRootResponseBar", + "safeName": "PostRootResponseBar" } } } @@ -2140,22 +3075,22 @@ "valueType": { "_type": "named", "name": { - "originalName": "RootSchema1Bar", + "originalName": "PostRootResponseBar", "camelCase": { - "unsafeName": "rootSchema1Bar", - "safeName": "rootSchema1Bar" + "unsafeName": "postRootResponseBar", + "safeName": "postRootResponseBar" }, "snakeCase": { - "unsafeName": "root_schema1bar", - "safeName": "root_schema1bar" + "unsafeName": "post_root_response_bar", + "safeName": "post_root_response_bar" }, "screamingSnakeCase": { - "unsafeName": "ROOT_SCHEMA1BAR", - "safeName": "ROOT_SCHEMA1BAR" + "unsafeName": "POST_ROOT_RESPONSE_BAR", + "safeName": "POST_ROOT_RESPONSE_BAR" }, "pascalCase": { - "unsafeName": "RootSchema1Bar", - "safeName": "RootSchema1Bar" + "unsafeName": "PostRootResponseBar", + "safeName": "PostRootResponseBar" } }, "fernFilepath": { @@ -2163,7 +3098,7 @@ "packagePath": [], "file": null }, - "typeId": "type_:RootSchema1Bar", + "typeId": "type_:PostRootResponseBar", "default": null, "inline": null } @@ -2178,29 +3113,29 @@ } }, "originalTypeDeclaration": { - "typeId": "type_:RootSchema1", + "typeId": "type_:PostRootResponse", "fernFilepath": { "allParts": [], "packagePath": [], "file": null }, "name": { - "originalName": "RootSchema1", + "originalName": "PostRootResponse", "camelCase": { - "unsafeName": "rootSchema1", - "safeName": "rootSchema1" + "unsafeName": "postRootResponse", + "safeName": "postRootResponse" }, "snakeCase": { - "unsafeName": "root_schema1", - "safeName": "root_schema1" + "unsafeName": "post_root_response", + "safeName": "post_root_response" }, "screamingSnakeCase": { - "unsafeName": "ROOT_SCHEMA1", - "safeName": "ROOT_SCHEMA1" + "unsafeName": "POST_ROOT_RESPONSE", + "safeName": "POST_ROOT_RESPONSE" }, "pascalCase": { - "unsafeName": "RootSchema1", - "safeName": "RootSchema1" + "unsafeName": "PostRootResponse", + "safeName": "PostRootResponse" } } } @@ -2229,7 +3164,7 @@ "autogeneratedExamples": [ { "example": { - "id": "c35607c33cbcfe09408f14e974896288310e06ed", + "id": "c7bb94f0df7d48d2922bdca77ebb4c93cf56868d", "url": "/root", "name": null, "endpointHeaders": [], @@ -2238,7 +3173,121 @@ "servicePathParameters": [], "serviceHeaders": [], "rootPathParameters": [], - "request": null, + "request": { + "type": "inlinedRequestBody", + "properties": [ + { + "name": { + "name": { + "originalName": "foo", + "camelCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "snakeCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "screamingSnakeCase": { + "unsafeName": "FOO", + "safeName": "FOO" + }, + "pascalCase": { + "unsafeName": "Foo", + "safeName": "Foo" + } + }, + "wireValue": "foo" + }, + "originalTypeDeclaration": null, + "value": { + "shape": { + "type": "container", + "container": { + "type": "optional", + "optional": null, + "valueType": { + "_type": "primitive", + "primitive": { + "v1": "STRING", + "v2": { + "type": "string", + "default": null, + "validation": null + } + } + } + } + } + } + }, + { + "name": { + "name": { + "originalName": "bar", + "camelCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "snakeCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "screamingSnakeCase": { + "unsafeName": "BAR", + "safeName": "BAR" + }, + "pascalCase": { + "unsafeName": "Bar", + "safeName": "Bar" + } + }, + "wireValue": "bar" + }, + "originalTypeDeclaration": null, + "value": { + "shape": { + "type": "container", + "container": { + "type": "optional", + "optional": null, + "valueType": { + "_type": "named", + "name": { + "originalName": "PostRootRequestBar", + "camelCase": { + "unsafeName": "postRootRequestBar", + "safeName": "postRootRequestBar" + }, + "snakeCase": { + "unsafeName": "post_root_request_bar", + "safeName": "post_root_request_bar" + }, + "screamingSnakeCase": { + "unsafeName": "POST_ROOT_REQUEST_BAR", + "safeName": "POST_ROOT_REQUEST_BAR" + }, + "pascalCase": { + "unsafeName": "PostRootRequestBar", + "safeName": "PostRootRequestBar" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:PostRootRequestBar", + "default": null, + "inline": true + } + } + } + } + } + ], + "jsonExample": {} + }, "response": { "type": "ok", "value": { @@ -2274,22 +3323,22 @@ }, "originalTypeDeclaration": { "name": { - "originalName": "RootSchema1", + "originalName": "PostRootResponse", "camelCase": { - "unsafeName": "rootSchema1", - "safeName": "rootSchema1" + "unsafeName": "postRootResponse", + "safeName": "postRootResponse" }, "snakeCase": { - "unsafeName": "root_schema1", - "safeName": "root_schema1" + "unsafeName": "post_root_response", + "safeName": "post_root_response" }, "screamingSnakeCase": { - "unsafeName": "ROOT_SCHEMA1", - "safeName": "ROOT_SCHEMA1" + "unsafeName": "POST_ROOT_RESPONSE", + "safeName": "POST_ROOT_RESPONSE" }, "pascalCase": { - "unsafeName": "RootSchema1", - "safeName": "RootSchema1" + "unsafeName": "PostRootResponse", + "safeName": "PostRootResponse" } }, "fernFilepath": { @@ -2297,7 +3346,7 @@ "packagePath": [], "file": null }, - "typeId": "type_:RootSchema1" + "typeId": "type_:PostRootResponse" }, "value": { "shape": { @@ -2357,22 +3406,22 @@ }, "originalTypeDeclaration": { "name": { - "originalName": "RootSchema1", + "originalName": "PostRootResponse", "camelCase": { - "unsafeName": "rootSchema1", - "safeName": "rootSchema1" + "unsafeName": "postRootResponse", + "safeName": "postRootResponse" }, "snakeCase": { - "unsafeName": "root_schema1", - "safeName": "root_schema1" + "unsafeName": "post_root_response", + "safeName": "post_root_response" }, "screamingSnakeCase": { - "unsafeName": "ROOT_SCHEMA1", - "safeName": "ROOT_SCHEMA1" + "unsafeName": "POST_ROOT_RESPONSE", + "safeName": "POST_ROOT_RESPONSE" }, "pascalCase": { - "unsafeName": "RootSchema1", - "safeName": "RootSchema1" + "unsafeName": "PostRootResponse", + "safeName": "PostRootResponse" } }, "fernFilepath": { @@ -2380,7 +3429,7 @@ "packagePath": [], "file": null }, - "typeId": "type_:RootSchema1" + "typeId": "type_:PostRootResponse" }, "value": { "shape": { @@ -2418,22 +3467,22 @@ }, "originalTypeDeclaration": { "name": { - "originalName": "RootSchema1Bar", + "originalName": "PostRootResponseBar", "camelCase": { - "unsafeName": "rootSchema1Bar", - "safeName": "rootSchema1Bar" + "unsafeName": "postRootResponseBar", + "safeName": "postRootResponseBar" }, "snakeCase": { - "unsafeName": "root_schema1bar", - "safeName": "root_schema1bar" + "unsafeName": "post_root_response_bar", + "safeName": "post_root_response_bar" }, "screamingSnakeCase": { - "unsafeName": "ROOT_SCHEMA1BAR", - "safeName": "ROOT_SCHEMA1BAR" + "unsafeName": "POST_ROOT_RESPONSE_BAR", + "safeName": "POST_ROOT_RESPONSE_BAR" }, "pascalCase": { - "unsafeName": "RootSchema1Bar", - "safeName": "RootSchema1Bar" + "unsafeName": "PostRootResponseBar", + "safeName": "PostRootResponseBar" } }, "fernFilepath": { @@ -2441,7 +3490,7 @@ "packagePath": [], "file": null }, - "typeId": "type_:RootSchema1Bar" + "typeId": "type_:PostRootResponseBar" }, "value": { "shape": { @@ -2501,22 +3550,22 @@ }, "originalTypeDeclaration": { "name": { - "originalName": "RootSchema1Bar", + "originalName": "PostRootResponseBar", "camelCase": { - "unsafeName": "rootSchema1Bar", - "safeName": "rootSchema1Bar" + "unsafeName": "postRootResponseBar", + "safeName": "postRootResponseBar" }, "snakeCase": { - "unsafeName": "root_schema1bar", - "safeName": "root_schema1bar" + "unsafeName": "post_root_response_bar", + "safeName": "post_root_response_bar" }, "screamingSnakeCase": { - "unsafeName": "ROOT_SCHEMA1BAR", - "safeName": "ROOT_SCHEMA1BAR" + "unsafeName": "POST_ROOT_RESPONSE_BAR", + "safeName": "POST_ROOT_RESPONSE_BAR" }, "pascalCase": { - "unsafeName": "RootSchema1Bar", - "safeName": "RootSchema1Bar" + "unsafeName": "PostRootResponseBar", + "safeName": "PostRootResponseBar" } }, "fernFilepath": { @@ -2524,7 +3573,7 @@ "packagePath": [], "file": null }, - "typeId": "type_:RootSchema1Bar" + "typeId": "type_:PostRootResponseBar" }, "value": { "shape": { @@ -2562,22 +3611,22 @@ }, "originalTypeDeclaration": { "name": { - "originalName": "RootSchema1BarInnerBar", + "originalName": "PostRootResponseBarInnerBar", "camelCase": { - "unsafeName": "rootSchema1BarInnerBar", - "safeName": "rootSchema1BarInnerBar" + "unsafeName": "postRootResponseBarInnerBar", + "safeName": "postRootResponseBarInnerBar" }, "snakeCase": { - "unsafeName": "root_schema1bar_inner_bar", - "safeName": "root_schema1bar_inner_bar" + "unsafeName": "post_root_response_bar_inner_bar", + "safeName": "post_root_response_bar_inner_bar" }, "screamingSnakeCase": { - "unsafeName": "ROOT_SCHEMA1BAR_INNER_BAR", - "safeName": "ROOT_SCHEMA1BAR_INNER_BAR" + "unsafeName": "POST_ROOT_RESPONSE_BAR_INNER_BAR", + "safeName": "POST_ROOT_RESPONSE_BAR_INNER_BAR" }, "pascalCase": { - "unsafeName": "RootSchema1BarInnerBar", - "safeName": "RootSchema1BarInnerBar" + "unsafeName": "PostRootResponseBarInnerBar", + "safeName": "PostRootResponseBarInnerBar" } }, "fernFilepath": { @@ -2585,7 +3634,7 @@ "packagePath": [], "file": null }, - "typeId": "type_:RootSchema1BarInnerBar" + "typeId": "type_:PostRootResponseBarInnerBar" }, "value": { "shape": { @@ -2645,22 +3694,22 @@ }, "originalTypeDeclaration": { "name": { - "originalName": "RootSchema1BarInnerBar", + "originalName": "PostRootResponseBarInnerBar", "camelCase": { - "unsafeName": "rootSchema1BarInnerBar", - "safeName": "rootSchema1BarInnerBar" + "unsafeName": "postRootResponseBarInnerBar", + "safeName": "postRootResponseBarInnerBar" }, "snakeCase": { - "unsafeName": "root_schema1bar_inner_bar", - "safeName": "root_schema1bar_inner_bar" + "unsafeName": "post_root_response_bar_inner_bar", + "safeName": "post_root_response_bar_inner_bar" }, "screamingSnakeCase": { - "unsafeName": "ROOT_SCHEMA1BAR_INNER_BAR", - "safeName": "ROOT_SCHEMA1BAR_INNER_BAR" + "unsafeName": "POST_ROOT_RESPONSE_BAR_INNER_BAR", + "safeName": "POST_ROOT_RESPONSE_BAR_INNER_BAR" }, "pascalCase": { - "unsafeName": "RootSchema1BarInnerBar", - "safeName": "RootSchema1BarInnerBar" + "unsafeName": "PostRootResponseBarInnerBar", + "safeName": "PostRootResponseBarInnerBar" } }, "fernFilepath": { @@ -2668,7 +3717,7 @@ "packagePath": [], "file": null }, - "typeId": "type_:RootSchema1BarInnerBar" + "typeId": "type_:PostRootResponseBarInnerBar" }, "value": { "shape": { @@ -2707,22 +3756,22 @@ }, "typeName": { "name": { - "originalName": "RootSchema1BarInnerBar", + "originalName": "PostRootResponseBarInnerBar", "camelCase": { - "unsafeName": "rootSchema1BarInnerBar", - "safeName": "rootSchema1BarInnerBar" + "unsafeName": "postRootResponseBarInnerBar", + "safeName": "postRootResponseBarInnerBar" }, "snakeCase": { - "unsafeName": "root_schema1bar_inner_bar", - "safeName": "root_schema1bar_inner_bar" + "unsafeName": "post_root_response_bar_inner_bar", + "safeName": "post_root_response_bar_inner_bar" }, "screamingSnakeCase": { - "unsafeName": "ROOT_SCHEMA1BAR_INNER_BAR", - "safeName": "ROOT_SCHEMA1BAR_INNER_BAR" + "unsafeName": "POST_ROOT_RESPONSE_BAR_INNER_BAR", + "safeName": "POST_ROOT_RESPONSE_BAR_INNER_BAR" }, "pascalCase": { - "unsafeName": "RootSchema1BarInnerBar", - "safeName": "RootSchema1BarInnerBar" + "unsafeName": "PostRootResponseBarInnerBar", + "safeName": "PostRootResponseBarInnerBar" } }, "fernFilepath": { @@ -2730,7 +3779,7 @@ "packagePath": [], "file": null }, - "typeId": "type_:RootSchema1BarInnerBar" + "typeId": "type_:PostRootResponseBarInnerBar" } }, "jsonExample": { @@ -2741,22 +3790,22 @@ "valueType": { "_type": "named", "name": { - "originalName": "RootSchema1BarInnerBar", + "originalName": "PostRootResponseBarInnerBar", "camelCase": { - "unsafeName": "rootSchema1BarInnerBar", - "safeName": "rootSchema1BarInnerBar" + "unsafeName": "postRootResponseBarInnerBar", + "safeName": "postRootResponseBarInnerBar" }, "snakeCase": { - "unsafeName": "root_schema1bar_inner_bar", - "safeName": "root_schema1bar_inner_bar" + "unsafeName": "post_root_response_bar_inner_bar", + "safeName": "post_root_response_bar_inner_bar" }, "screamingSnakeCase": { - "unsafeName": "ROOT_SCHEMA1BAR_INNER_BAR", - "safeName": "ROOT_SCHEMA1BAR_INNER_BAR" + "unsafeName": "POST_ROOT_RESPONSE_BAR_INNER_BAR", + "safeName": "POST_ROOT_RESPONSE_BAR_INNER_BAR" }, "pascalCase": { - "unsafeName": "RootSchema1BarInnerBar", - "safeName": "RootSchema1BarInnerBar" + "unsafeName": "PostRootResponseBarInnerBar", + "safeName": "PostRootResponseBarInnerBar" } }, "fernFilepath": { @@ -2764,7 +3813,7 @@ "packagePath": [], "file": null }, - "typeId": "type_:RootSchema1BarInnerBar", + "typeId": "type_:PostRootResponseBarInnerBar", "default": null, "inline": true } @@ -2780,22 +3829,22 @@ }, "typeName": { "name": { - "originalName": "RootSchema1Bar", + "originalName": "PostRootResponseBar", "camelCase": { - "unsafeName": "rootSchema1Bar", - "safeName": "rootSchema1Bar" + "unsafeName": "postRootResponseBar", + "safeName": "postRootResponseBar" }, "snakeCase": { - "unsafeName": "root_schema1bar", - "safeName": "root_schema1bar" + "unsafeName": "post_root_response_bar", + "safeName": "post_root_response_bar" }, "screamingSnakeCase": { - "unsafeName": "ROOT_SCHEMA1BAR", - "safeName": "ROOT_SCHEMA1BAR" + "unsafeName": "POST_ROOT_RESPONSE_BAR", + "safeName": "POST_ROOT_RESPONSE_BAR" }, "pascalCase": { - "unsafeName": "RootSchema1Bar", - "safeName": "RootSchema1Bar" + "unsafeName": "PostRootResponseBar", + "safeName": "PostRootResponseBar" } }, "fernFilepath": { @@ -2803,7 +3852,7 @@ "packagePath": [], "file": null }, - "typeId": "type_:RootSchema1Bar" + "typeId": "type_:PostRootResponseBar" } }, "jsonExample": { @@ -2817,22 +3866,22 @@ "valueType": { "_type": "named", "name": { - "originalName": "RootSchema1Bar", + "originalName": "PostRootResponseBar", "camelCase": { - "unsafeName": "rootSchema1Bar", - "safeName": "rootSchema1Bar" + "unsafeName": "postRootResponseBar", + "safeName": "postRootResponseBar" }, "snakeCase": { - "unsafeName": "root_schema1bar", - "safeName": "root_schema1bar" + "unsafeName": "post_root_response_bar", + "safeName": "post_root_response_bar" }, "screamingSnakeCase": { - "unsafeName": "ROOT_SCHEMA1BAR", - "safeName": "ROOT_SCHEMA1BAR" + "unsafeName": "POST_ROOT_RESPONSE_BAR", + "safeName": "POST_ROOT_RESPONSE_BAR" }, "pascalCase": { - "unsafeName": "RootSchema1Bar", - "safeName": "RootSchema1Bar" + "unsafeName": "PostRootResponseBar", + "safeName": "PostRootResponseBar" } }, "fernFilepath": { @@ -2840,7 +3889,7 @@ "packagePath": [], "file": null }, - "typeId": "type_:RootSchema1Bar", + "typeId": "type_:PostRootResponseBar", "default": null, "inline": true } @@ -2859,22 +3908,22 @@ }, "typeName": { "name": { - "originalName": "RootSchema1", + "originalName": "PostRootResponse", "camelCase": { - "unsafeName": "rootSchema1", - "safeName": "rootSchema1" + "unsafeName": "postRootResponse", + "safeName": "postRootResponse" }, "snakeCase": { - "unsafeName": "root_schema1", - "safeName": "root_schema1" + "unsafeName": "post_root_response", + "safeName": "post_root_response" }, "screamingSnakeCase": { - "unsafeName": "ROOT_SCHEMA1", - "safeName": "ROOT_SCHEMA1" + "unsafeName": "POST_ROOT_RESPONSE", + "safeName": "POST_ROOT_RESPONSE" }, "pascalCase": { - "unsafeName": "RootSchema1", - "safeName": "RootSchema1" + "unsafeName": "PostRootResponse", + "safeName": "PostRootResponse" } }, "fernFilepath": { @@ -2882,7 +3931,7 @@ "packagePath": [], "file": null }, - "typeId": "type_:RootSchema1" + "typeId": "type_:PostRootResponse" } }, "jsonExample": { @@ -2946,14 +3995,20 @@ "service_": [ "type_:NotFound", "type_:GetExampleResponse", + "type_:PostRootRequestBarInnerBar", + "type_:PostRootRequestBar", + "type_:PostRootResponseBarInnerBar", + "type_:PostRootResponseBar", + "type_:PostRootResponse", "type_:Schema1", - "type_:Schema2", - "type_:RootSchema1BarInnerBar", - "type_:RootSchema1Bar", - "type_:RootSchema1" + "type_:Schema2" ] }, - "sharedTypes": [] + "sharedTypes": [ + "type_:RootSchema1BarInnerBar", + "type_:RootSchema1Bar", + "type_:RootSchema1" + ] }, "webhookGroups": {}, "websocketChannels": {}, @@ -2972,6 +4027,11 @@ "types": [ "type_:NotFound", "type_:GetExampleResponse", + "type_:PostRootRequestBarInnerBar", + "type_:PostRootRequestBar", + "type_:PostRootResponseBarInnerBar", + "type_:PostRootResponseBar", + "type_:PostRootResponse", "type_:Schema1", "type_:Schema2", "type_:RootSchema1BarInnerBar", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/csharp-grpc-proto-exhaustive.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/csharp-grpc-proto-exhaustive.json index 58eb267d4d4..93b031609ec 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/csharp-grpc-proto-exhaustive.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/csharp-grpc-proto-exhaustive.json @@ -6020,7 +6020,7 @@ "autogeneratedExamples": [ { "example": { - "id": "005237105b93ad65d88134071ca2be649618351d", + "id": "3ecab4426ce6d95c94c8dc746ee95c7a4b9c7828", "url": "/data/delete", "name": null, "endpointHeaders": [], @@ -7131,7 +7131,7 @@ "autogeneratedExamples": [ { "example": { - "id": "e8371d94fa58f4b125ff5a2680a34dae539c34fd", + "id": "0e4ca190037c6b29b81183fc602ae8f27f52fcc1", "url": "/data/describe", "name": null, "endpointHeaders": [], @@ -9374,7 +9374,7 @@ "autogeneratedExamples": [ { "example": { - "id": "b6a313102d6486073540f516aba014ac628d3b6d", + "id": "fe2ec19b1c4c9c0d89a5aa5062061a6d7dab1c50", "url": "/data/fetch", "name": null, "endpointHeaders": [], @@ -11931,7 +11931,7 @@ "autogeneratedExamples": [ { "example": { - "id": "0ce8544c4eb09be916024a6c197068c471074f03", + "id": "01389caecb26c5f9861a12330671184b03edac42", "url": "/data/list", "name": null, "endpointHeaders": [], @@ -15512,7 +15512,7 @@ "autogeneratedExamples": [ { "example": { - "id": "f07cb28de739a8f6d40b467de94ad689ce6713dc", + "id": "cf83b9730aba6343f6be4815392e3fbea2ed165f", "url": "/data/query", "name": null, "endpointHeaders": [], @@ -23350,7 +23350,7 @@ "autogeneratedExamples": [ { "example": { - "id": "a60801ad6d1eb8149b087880ce3a12cd9924870a", + "id": "61c92c618804a66c027ac06bb9a39d7b88a7d2c9", "url": "/data/update", "name": null, "endpointHeaders": [], diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/exhaustive.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/exhaustive.json index 0c28797566f..5e11d6eeab6 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/exhaustive.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/exhaustive.json @@ -11370,7 +11370,7 @@ "autogeneratedExamples": [ { "example": { - "id": "ae1d6182cc32e64d1a76be6bea6c9703b44e42a8", + "id": "a46a6dd515a81f2ca0fc33020f37841fe24fd9ed", "url": "/foo/bar", "name": null, "endpointHeaders": [], @@ -13733,7 +13733,7 @@ "autogeneratedExamples": [ { "example": { - "id": "ae1d6182cc32e64d1a76be6bea6c9703b44e42a8", + "id": "a46a6dd515a81f2ca0fc33020f37841fe24fd9ed", "url": "/foo/baz", "name": null, "endpointHeaders": [], @@ -17340,7 +17340,7 @@ "autogeneratedExamples": [ { "example": { - "id": "447120f3eaed08ab94d3d5b382b62a9a89dced65", + "id": "a6da011c64387dcf427884e92c7935da6d90705a", "url": "/http-methods", "name": null, "endpointHeaders": [], @@ -20429,7 +20429,7 @@ "autogeneratedExamples": [ { "example": { - "id": "07c0da783443d667e93089a9ab5c23488ba92d58", + "id": "089077257f4d4bb018629a6e33a6ef68baca9164", "url": "/http-methods/id", "name": null, "endpointHeaders": [], @@ -23552,7 +23552,7 @@ "autogeneratedExamples": [ { "example": { - "id": "57177dc1422dd3448f4f5b912850404ef42bd9a5", + "id": "6fc25ade2f5f0117bd45e272236791d0fd255deb", "url": "/http-methods/id", "name": null, "endpointHeaders": [], @@ -28693,7 +28693,7 @@ "autogeneratedExamples": [ { "example": { - "id": "8106161e16e62d38c232f8a2c234c6af3c379618", + "id": "ceb93be9cbcc21dc51ac25b48c4bc53e37436360", "url": "/object/get-and-return-with-optional-field", "name": null, "endpointHeaders": [], @@ -34432,7 +34432,7 @@ "autogeneratedExamples": [ { "example": { - "id": "741a1a98ec092579706db49b9305e61da15a71fc", + "id": "5fa67fb8f21844e1c7d031102e6c643f9275d703", "url": "/object/get-and-return-with-map-of-map", "name": null, "endpointHeaders": [], @@ -35623,7 +35623,7 @@ "autogeneratedExamples": [ { "example": { - "id": "edeff4c69b05e3f8a334001d7075f50ff6712c73", + "id": "7728a1f411b7eff3b2eb2329bc8bf7bd24d75313", "url": "/object/get-and-return-nested-with-optional-field", "name": null, "endpointHeaders": [], @@ -39526,7 +39526,7 @@ "autogeneratedExamples": [ { "example": { - "id": "efe74f35173b0bf7d9519f91209edc8008cbd033", + "id": "c2544d1996ee822636d909d78097466bad43d47e", "url": "/object/get-and-return-nested-with-required-field/string", "name": null, "endpointHeaders": [], @@ -45155,7 +45155,7 @@ "autogeneratedExamples": [ { "example": { - "id": "88d2bbc88091c9a3ab5a4470f64ffb52a0ee59da", + "id": "7db4f5d2f7296dff992910f9b11fff67afa37bef", "url": "/object/get-and-return-nested-with-required-field-list", "name": null, "endpointHeaders": [], @@ -57985,7 +57985,7 @@ "autogeneratedExamples": [ { "example": { - "id": "d56f52107aa21a2295374c9315fcfce0b5a1aac1", + "id": "bff0049f5b51e80a0075ae3eaea2924e40569e05", "url": "/req-bodies/object", "name": null, "endpointHeaders": [], @@ -62979,7 +62979,7 @@ "autogeneratedExamples": [ { "example": { - "id": "45dc0114d6866a8184f9b920e72216a028135b05", + "id": "4fb37300526103beea89948716f89671d70f3e98", "url": "/no-req-body", "name": null, "endpointHeaders": [], diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/inline-types.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/inline-types.json index 26a7fcef139..31de5ab427d 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/inline-types.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/inline-types.json @@ -30,6 +30,304 @@ "headers": [], "idempotencyHeaders": [], "types": { + "type_:DiscriminatedUnion1": { + "inline": false, + "name": { + "name": { + "originalName": "DiscriminatedUnion1", + "camelCase": { + "unsafeName": "discriminatedUnion1", + "safeName": "discriminatedUnion1" + }, + "snakeCase": { + "unsafeName": "discriminated_union1", + "safeName": "discriminated_union1" + }, + "screamingSnakeCase": { + "unsafeName": "DISCRIMINATED_UNION1", + "safeName": "DISCRIMINATED_UNION1" + }, + "pascalCase": { + "unsafeName": "DiscriminatedUnion1", + "safeName": "DiscriminatedUnion1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:DiscriminatedUnion1" + }, + "shape": { + "_type": "union", + "discriminant": { + "name": { + "originalName": "type", + "camelCase": { + "unsafeName": "type", + "safeName": "type" + }, + "snakeCase": { + "unsafeName": "type", + "safeName": "type" + }, + "screamingSnakeCase": { + "unsafeName": "TYPE", + "safeName": "TYPE" + }, + "pascalCase": { + "unsafeName": "Type", + "safeName": "Type" + } + }, + "wireValue": "type" + }, + "extends": [], + "baseProperties": [], + "types": [ + { + "discriminantValue": { + "name": { + "originalName": "type1", + "camelCase": { + "unsafeName": "type1", + "safeName": "type1" + }, + "snakeCase": { + "unsafeName": "type1", + "safeName": "type1" + }, + "screamingSnakeCase": { + "unsafeName": "TYPE1", + "safeName": "TYPE1" + }, + "pascalCase": { + "unsafeName": "Type1", + "safeName": "Type1" + } + }, + "wireValue": "type1" + }, + "shape": { + "_type": "samePropertiesAsObject", + "name": { + "originalName": "InlineType1", + "camelCase": { + "unsafeName": "inlineType1", + "safeName": "inlineType1" + }, + "snakeCase": { + "unsafeName": "inline_type1", + "safeName": "inline_type1" + }, + "screamingSnakeCase": { + "unsafeName": "INLINE_TYPE1", + "safeName": "INLINE_TYPE1" + }, + "pascalCase": { + "unsafeName": "InlineType1", + "safeName": "InlineType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:InlineType1" + }, + "displayName": null, + "availability": null, + "docs": null + }, + { + "discriminantValue": { + "name": { + "originalName": "type2", + "camelCase": { + "unsafeName": "type2", + "safeName": "type2" + }, + "snakeCase": { + "unsafeName": "type2", + "safeName": "type2" + }, + "screamingSnakeCase": { + "unsafeName": "TYPE2", + "safeName": "TYPE2" + }, + "pascalCase": { + "unsafeName": "Type2", + "safeName": "Type2" + } + }, + "wireValue": "type2" + }, + "shape": { + "_type": "samePropertiesAsObject", + "name": { + "originalName": "MixedInlineType1", + "camelCase": { + "unsafeName": "mixedInlineType1", + "safeName": "mixedInlineType1" + }, + "snakeCase": { + "unsafeName": "mixed_inline_type1", + "safeName": "mixed_inline_type1" + }, + "screamingSnakeCase": { + "unsafeName": "MIXED_INLINE_TYPE1", + "safeName": "MIXED_INLINE_TYPE1" + }, + "pascalCase": { + "unsafeName": "MixedInlineType1", + "safeName": "MixedInlineType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:MixedInlineType1" + }, + "displayName": null, + "availability": null, + "docs": null + } + ] + }, + "referencedTypes": [ + "type_:InlineType1", + "type_:NestedInlineType1", + "type_:MixedInlineType1" + ], + "encoding": { + "json": {}, + "proto": null + }, + "source": null, + "userProvidedExamples": [], + "autogeneratedExamples": [], + "availability": null, + "docs": null + }, + "type_:UndiscriminatedUnion1": { + "inline": false, + "name": { + "name": { + "originalName": "UndiscriminatedUnion1", + "camelCase": { + "unsafeName": "undiscriminatedUnion1", + "safeName": "undiscriminatedUnion1" + }, + "snakeCase": { + "unsafeName": "undiscriminated_union1", + "safeName": "undiscriminated_union1" + }, + "screamingSnakeCase": { + "unsafeName": "UNDISCRIMINATED_UNION1", + "safeName": "UNDISCRIMINATED_UNION1" + }, + "pascalCase": { + "unsafeName": "UndiscriminatedUnion1", + "safeName": "UndiscriminatedUnion1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:UndiscriminatedUnion1" + }, + "shape": { + "_type": "undiscriminatedUnion", + "members": [ + { + "type": { + "_type": "named", + "name": { + "originalName": "InlineType1", + "camelCase": { + "unsafeName": "inlineType1", + "safeName": "inlineType1" + }, + "snakeCase": { + "unsafeName": "inline_type1", + "safeName": "inline_type1" + }, + "screamingSnakeCase": { + "unsafeName": "INLINE_TYPE1", + "safeName": "INLINE_TYPE1" + }, + "pascalCase": { + "unsafeName": "InlineType1", + "safeName": "InlineType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:InlineType1", + "default": null, + "inline": null + }, + "docs": null + }, + { + "type": { + "_type": "named", + "name": { + "originalName": "MixedInlineType1", + "camelCase": { + "unsafeName": "mixedInlineType1", + "safeName": "mixedInlineType1" + }, + "snakeCase": { + "unsafeName": "mixed_inline_type1", + "safeName": "mixed_inline_type1" + }, + "screamingSnakeCase": { + "unsafeName": "MIXED_INLINE_TYPE1", + "safeName": "MIXED_INLINE_TYPE1" + }, + "pascalCase": { + "unsafeName": "MixedInlineType1", + "safeName": "MixedInlineType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:MixedInlineType1", + "default": null, + "inline": null + }, + "docs": null + } + ] + }, + "referencedTypes": [ + "type_:InlineType1", + "type_:NestedInlineType1", + "type_:MixedInlineType1" + ], + "encoding": { + "json": {}, + "proto": null + }, + "source": null, + "userProvidedExamples": [], + "autogeneratedExamples": [], + "availability": null, + "docs": null + }, "type_:RootType1": { "inline": false, "name": { @@ -763,7 +1061,1289 @@ } }, "errors": {}, - "services": {}, + "services": { + "service_": { + "availability": null, + "name": { + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + } + }, + "displayName": null, + "basePath": { + "head": "/root", + "parts": [] + }, + "headers": [], + "pathParameters": [], + "encoding": { + "json": {}, + "proto": null + }, + "transport": { + "type": "http" + }, + "endpoints": [ + { + "id": "endpoint_.getRoot", + "name": { + "originalName": "getRoot", + "camelCase": { + "unsafeName": "getRoot", + "safeName": "getRoot" + }, + "snakeCase": { + "unsafeName": "get_root", + "safeName": "get_root" + }, + "screamingSnakeCase": { + "unsafeName": "GET_ROOT", + "safeName": "GET_ROOT" + }, + "pascalCase": { + "unsafeName": "GetRoot", + "safeName": "GetRoot" + } + }, + "displayName": null, + "auth": false, + "idempotent": false, + "baseUrl": null, + "method": "GET", + "basePath": null, + "path": { + "head": "/root", + "parts": [] + }, + "fullPath": { + "head": "/root/root", + "parts": [] + }, + "pathParameters": [], + "allPathParameters": [], + "queryParameters": [], + "headers": [], + "requestBody": null, + "sdkRequest": null, + "response": { + "body": { + "type": "json", + "value": { + "type": "response", + "responseBodyType": { + "_type": "named", + "name": { + "originalName": "RootType1", + "camelCase": { + "unsafeName": "rootType1", + "safeName": "rootType1" + }, + "snakeCase": { + "unsafeName": "root_type1", + "safeName": "root_type1" + }, + "screamingSnakeCase": { + "unsafeName": "ROOT_TYPE1", + "safeName": "ROOT_TYPE1" + }, + "pascalCase": { + "unsafeName": "RootType1", + "safeName": "RootType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:RootType1", + "default": null, + "inline": null + }, + "docs": null + } + }, + "status-code": null + }, + "errors": [], + "userSpecifiedExamples": [], + "autogeneratedExamples": [ + { + "example": { + "id": "56c6d0b8bbeecd6d8715c114794f14bd679650f1", + "url": "/root/root", + "name": null, + "endpointHeaders": [], + "endpointPathParameters": [], + "queryParameters": [], + "servicePathParameters": [], + "serviceHeaders": [], + "rootPathParameters": [], + "request": null, + "response": { + "type": "ok", + "value": { + "type": "body", + "value": { + "shape": { + "type": "named", + "shape": { + "type": "object", + "properties": [ + { + "name": { + "name": { + "originalName": "foo", + "camelCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "snakeCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "screamingSnakeCase": { + "unsafeName": "FOO", + "safeName": "FOO" + }, + "pascalCase": { + "unsafeName": "Foo", + "safeName": "Foo" + } + }, + "wireValue": "foo" + }, + "originalTypeDeclaration": { + "name": { + "originalName": "RootType1", + "camelCase": { + "unsafeName": "rootType1", + "safeName": "rootType1" + }, + "snakeCase": { + "unsafeName": "root_type1", + "safeName": "root_type1" + }, + "screamingSnakeCase": { + "unsafeName": "ROOT_TYPE1", + "safeName": "ROOT_TYPE1" + }, + "pascalCase": { + "unsafeName": "RootType1", + "safeName": "RootType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:RootType1" + }, + "value": { + "shape": { + "type": "primitive", + "primitive": { + "type": "string", + "string": { + "original": "foo" + } + } + }, + "jsonExample": "foo" + } + }, + { + "name": { + "name": { + "originalName": "bar", + "camelCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "snakeCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "screamingSnakeCase": { + "unsafeName": "BAR", + "safeName": "BAR" + }, + "pascalCase": { + "unsafeName": "Bar", + "safeName": "Bar" + } + }, + "wireValue": "bar" + }, + "originalTypeDeclaration": { + "name": { + "originalName": "RootType1", + "camelCase": { + "unsafeName": "rootType1", + "safeName": "rootType1" + }, + "snakeCase": { + "unsafeName": "root_type1", + "safeName": "root_type1" + }, + "screamingSnakeCase": { + "unsafeName": "ROOT_TYPE1", + "safeName": "ROOT_TYPE1" + }, + "pascalCase": { + "unsafeName": "RootType1", + "safeName": "RootType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:RootType1" + }, + "value": { + "shape": { + "type": "named", + "shape": { + "type": "object", + "properties": [ + { + "name": { + "name": { + "originalName": "foo", + "camelCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "snakeCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "screamingSnakeCase": { + "unsafeName": "FOO", + "safeName": "FOO" + }, + "pascalCase": { + "unsafeName": "Foo", + "safeName": "Foo" + } + }, + "wireValue": "foo" + }, + "originalTypeDeclaration": { + "name": { + "originalName": "InlineType1", + "camelCase": { + "unsafeName": "inlineType1", + "safeName": "inlineType1" + }, + "snakeCase": { + "unsafeName": "inline_type1", + "safeName": "inline_type1" + }, + "screamingSnakeCase": { + "unsafeName": "INLINE_TYPE1", + "safeName": "INLINE_TYPE1" + }, + "pascalCase": { + "unsafeName": "InlineType1", + "safeName": "InlineType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:InlineType1" + }, + "value": { + "shape": { + "type": "primitive", + "primitive": { + "type": "string", + "string": { + "original": "foo" + } + } + }, + "jsonExample": "foo" + } + }, + { + "name": { + "name": { + "originalName": "bar", + "camelCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "snakeCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "screamingSnakeCase": { + "unsafeName": "BAR", + "safeName": "BAR" + }, + "pascalCase": { + "unsafeName": "Bar", + "safeName": "Bar" + } + }, + "wireValue": "bar" + }, + "originalTypeDeclaration": { + "name": { + "originalName": "InlineType1", + "camelCase": { + "unsafeName": "inlineType1", + "safeName": "inlineType1" + }, + "snakeCase": { + "unsafeName": "inline_type1", + "safeName": "inline_type1" + }, + "screamingSnakeCase": { + "unsafeName": "INLINE_TYPE1", + "safeName": "INLINE_TYPE1" + }, + "pascalCase": { + "unsafeName": "InlineType1", + "safeName": "InlineType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:InlineType1" + }, + "value": { + "shape": { + "type": "named", + "shape": { + "type": "object", + "properties": [ + { + "name": { + "name": { + "originalName": "foo", + "camelCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "snakeCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "screamingSnakeCase": { + "unsafeName": "FOO", + "safeName": "FOO" + }, + "pascalCase": { + "unsafeName": "Foo", + "safeName": "Foo" + } + }, + "wireValue": "foo" + }, + "originalTypeDeclaration": { + "name": { + "originalName": "NestedInlineType1", + "camelCase": { + "unsafeName": "nestedInlineType1", + "safeName": "nestedInlineType1" + }, + "snakeCase": { + "unsafeName": "nested_inline_type1", + "safeName": "nested_inline_type1" + }, + "screamingSnakeCase": { + "unsafeName": "NESTED_INLINE_TYPE1", + "safeName": "NESTED_INLINE_TYPE1" + }, + "pascalCase": { + "unsafeName": "NestedInlineType1", + "safeName": "NestedInlineType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:NestedInlineType1" + }, + "value": { + "shape": { + "type": "primitive", + "primitive": { + "type": "string", + "string": { + "original": "foo" + } + } + }, + "jsonExample": "foo" + } + }, + { + "name": { + "name": { + "originalName": "bar", + "camelCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "snakeCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "screamingSnakeCase": { + "unsafeName": "BAR", + "safeName": "BAR" + }, + "pascalCase": { + "unsafeName": "Bar", + "safeName": "Bar" + } + }, + "wireValue": "bar" + }, + "originalTypeDeclaration": { + "name": { + "originalName": "NestedInlineType1", + "camelCase": { + "unsafeName": "nestedInlineType1", + "safeName": "nestedInlineType1" + }, + "snakeCase": { + "unsafeName": "nested_inline_type1", + "safeName": "nested_inline_type1" + }, + "screamingSnakeCase": { + "unsafeName": "NESTED_INLINE_TYPE1", + "safeName": "NESTED_INLINE_TYPE1" + }, + "pascalCase": { + "unsafeName": "NestedInlineType1", + "safeName": "NestedInlineType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:NestedInlineType1" + }, + "value": { + "shape": { + "type": "primitive", + "primitive": { + "type": "string", + "string": { + "original": "bar" + } + } + }, + "jsonExample": "bar" + } + } + ] + }, + "typeName": { + "name": { + "originalName": "NestedInlineType1", + "camelCase": { + "unsafeName": "nestedInlineType1", + "safeName": "nestedInlineType1" + }, + "snakeCase": { + "unsafeName": "nested_inline_type1", + "safeName": "nested_inline_type1" + }, + "screamingSnakeCase": { + "unsafeName": "NESTED_INLINE_TYPE1", + "safeName": "NESTED_INLINE_TYPE1" + }, + "pascalCase": { + "unsafeName": "NestedInlineType1", + "safeName": "NestedInlineType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:NestedInlineType1" + } + }, + "jsonExample": { + "foo": "foo", + "bar": "bar" + } + } + } + ] + }, + "typeName": { + "name": { + "originalName": "InlineType1", + "camelCase": { + "unsafeName": "inlineType1", + "safeName": "inlineType1" + }, + "snakeCase": { + "unsafeName": "inline_type1", + "safeName": "inline_type1" + }, + "screamingSnakeCase": { + "unsafeName": "INLINE_TYPE1", + "safeName": "INLINE_TYPE1" + }, + "pascalCase": { + "unsafeName": "InlineType1", + "safeName": "InlineType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:InlineType1" + } + }, + "jsonExample": { + "foo": "foo", + "bar": { + "foo": "foo", + "bar": "bar" + } + } + } + }, + { + "name": { + "name": { + "originalName": "two", + "camelCase": { + "unsafeName": "two", + "safeName": "two" + }, + "snakeCase": { + "unsafeName": "two", + "safeName": "two" + }, + "screamingSnakeCase": { + "unsafeName": "TWO", + "safeName": "TWO" + }, + "pascalCase": { + "unsafeName": "Two", + "safeName": "Two" + } + }, + "wireValue": "two" + }, + "originalTypeDeclaration": { + "name": { + "originalName": "RootType1", + "camelCase": { + "unsafeName": "rootType1", + "safeName": "rootType1" + }, + "snakeCase": { + "unsafeName": "root_type1", + "safeName": "root_type1" + }, + "screamingSnakeCase": { + "unsafeName": "ROOT_TYPE1", + "safeName": "ROOT_TYPE1" + }, + "pascalCase": { + "unsafeName": "RootType1", + "safeName": "RootType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:RootType1" + }, + "value": { + "shape": { + "type": "named", + "shape": { + "type": "object", + "properties": [ + { + "name": { + "name": { + "originalName": "foo", + "camelCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "snakeCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "screamingSnakeCase": { + "unsafeName": "FOO", + "safeName": "FOO" + }, + "pascalCase": { + "unsafeName": "Foo", + "safeName": "Foo" + } + }, + "wireValue": "foo" + }, + "originalTypeDeclaration": { + "name": { + "originalName": "MixedInlineType1", + "camelCase": { + "unsafeName": "mixedInlineType1", + "safeName": "mixedInlineType1" + }, + "snakeCase": { + "unsafeName": "mixed_inline_type1", + "safeName": "mixed_inline_type1" + }, + "screamingSnakeCase": { + "unsafeName": "MIXED_INLINE_TYPE1", + "safeName": "MIXED_INLINE_TYPE1" + }, + "pascalCase": { + "unsafeName": "MixedInlineType1", + "safeName": "MixedInlineType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:MixedInlineType1" + }, + "value": { + "shape": { + "type": "primitive", + "primitive": { + "type": "string", + "string": { + "original": "foo" + } + } + }, + "jsonExample": "foo" + } + }, + { + "name": { + "name": { + "originalName": "bar", + "camelCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "snakeCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "screamingSnakeCase": { + "unsafeName": "BAR", + "safeName": "BAR" + }, + "pascalCase": { + "unsafeName": "Bar", + "safeName": "Bar" + } + }, + "wireValue": "bar" + }, + "originalTypeDeclaration": { + "name": { + "originalName": "MixedInlineType1", + "camelCase": { + "unsafeName": "mixedInlineType1", + "safeName": "mixedInlineType1" + }, + "snakeCase": { + "unsafeName": "mixed_inline_type1", + "safeName": "mixed_inline_type1" + }, + "screamingSnakeCase": { + "unsafeName": "MIXED_INLINE_TYPE1", + "safeName": "MIXED_INLINE_TYPE1" + }, + "pascalCase": { + "unsafeName": "MixedInlineType1", + "safeName": "MixedInlineType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:MixedInlineType1" + }, + "value": { + "shape": { + "type": "primitive", + "primitive": { + "type": "string", + "string": { + "original": "bar" + } + } + }, + "jsonExample": "bar" + } + } + ] + }, + "typeName": { + "name": { + "originalName": "MixedInlineType1", + "camelCase": { + "unsafeName": "mixedInlineType1", + "safeName": "mixedInlineType1" + }, + "snakeCase": { + "unsafeName": "mixed_inline_type1", + "safeName": "mixed_inline_type1" + }, + "screamingSnakeCase": { + "unsafeName": "MIXED_INLINE_TYPE1", + "safeName": "MIXED_INLINE_TYPE1" + }, + "pascalCase": { + "unsafeName": "MixedInlineType1", + "safeName": "MixedInlineType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:MixedInlineType1" + } + }, + "jsonExample": { + "foo": "foo", + "bar": "bar" + } + } + } + ] + }, + "typeName": { + "name": { + "originalName": "RootType1", + "camelCase": { + "unsafeName": "rootType1", + "safeName": "rootType1" + }, + "snakeCase": { + "unsafeName": "root_type1", + "safeName": "root_type1" + }, + "screamingSnakeCase": { + "unsafeName": "ROOT_TYPE1", + "safeName": "ROOT_TYPE1" + }, + "pascalCase": { + "unsafeName": "RootType1", + "safeName": "RootType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:RootType1" + } + }, + "jsonExample": { + "foo": "foo", + "bar": { + "foo": "foo", + "bar": { + "foo": "foo", + "bar": "bar" + } + }, + "two": { + "foo": "foo", + "bar": "bar" + } + } + } + } + }, + "docs": null + } + } + ], + "pagination": null, + "transport": null, + "availability": null, + "docs": null + }, + { + "id": "endpoint_.getInline", + "name": { + "originalName": "getInline", + "camelCase": { + "unsafeName": "getInline", + "safeName": "getInline" + }, + "snakeCase": { + "unsafeName": "get_inline", + "safeName": "get_inline" + }, + "screamingSnakeCase": { + "unsafeName": "GET_INLINE", + "safeName": "GET_INLINE" + }, + "pascalCase": { + "unsafeName": "GetInline", + "safeName": "GetInline" + } + }, + "displayName": null, + "auth": false, + "idempotent": false, + "baseUrl": null, + "method": "GET", + "basePath": null, + "path": { + "head": "/inline", + "parts": [] + }, + "fullPath": { + "head": "/root/inline", + "parts": [] + }, + "pathParameters": [], + "allPathParameters": [], + "queryParameters": [], + "headers": [], + "requestBody": null, + "sdkRequest": null, + "response": { + "body": { + "type": "json", + "value": { + "type": "response", + "responseBodyType": { + "_type": "named", + "name": { + "originalName": "InlineType1", + "camelCase": { + "unsafeName": "inlineType1", + "safeName": "inlineType1" + }, + "snakeCase": { + "unsafeName": "inline_type1", + "safeName": "inline_type1" + }, + "screamingSnakeCase": { + "unsafeName": "INLINE_TYPE1", + "safeName": "INLINE_TYPE1" + }, + "pascalCase": { + "unsafeName": "InlineType1", + "safeName": "InlineType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:InlineType1", + "default": null, + "inline": true + }, + "docs": null + } + }, + "status-code": null + }, + "errors": [], + "userSpecifiedExamples": [], + "autogeneratedExamples": [ + { + "example": { + "id": "bc8f77e86ec1f23b0024b983c44df3a380e44964", + "url": "/root/inline", + "name": null, + "endpointHeaders": [], + "endpointPathParameters": [], + "queryParameters": [], + "servicePathParameters": [], + "serviceHeaders": [], + "rootPathParameters": [], + "request": null, + "response": { + "type": "ok", + "value": { + "type": "body", + "value": { + "shape": { + "type": "named", + "shape": { + "type": "object", + "properties": [ + { + "name": { + "name": { + "originalName": "foo", + "camelCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "snakeCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "screamingSnakeCase": { + "unsafeName": "FOO", + "safeName": "FOO" + }, + "pascalCase": { + "unsafeName": "Foo", + "safeName": "Foo" + } + }, + "wireValue": "foo" + }, + "originalTypeDeclaration": { + "name": { + "originalName": "InlineType1", + "camelCase": { + "unsafeName": "inlineType1", + "safeName": "inlineType1" + }, + "snakeCase": { + "unsafeName": "inline_type1", + "safeName": "inline_type1" + }, + "screamingSnakeCase": { + "unsafeName": "INLINE_TYPE1", + "safeName": "INLINE_TYPE1" + }, + "pascalCase": { + "unsafeName": "InlineType1", + "safeName": "InlineType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:InlineType1" + }, + "value": { + "shape": { + "type": "primitive", + "primitive": { + "type": "string", + "string": { + "original": "foo" + } + } + }, + "jsonExample": "foo" + } + }, + { + "name": { + "name": { + "originalName": "bar", + "camelCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "snakeCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "screamingSnakeCase": { + "unsafeName": "BAR", + "safeName": "BAR" + }, + "pascalCase": { + "unsafeName": "Bar", + "safeName": "Bar" + } + }, + "wireValue": "bar" + }, + "originalTypeDeclaration": { + "name": { + "originalName": "InlineType1", + "camelCase": { + "unsafeName": "inlineType1", + "safeName": "inlineType1" + }, + "snakeCase": { + "unsafeName": "inline_type1", + "safeName": "inline_type1" + }, + "screamingSnakeCase": { + "unsafeName": "INLINE_TYPE1", + "safeName": "INLINE_TYPE1" + }, + "pascalCase": { + "unsafeName": "InlineType1", + "safeName": "InlineType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:InlineType1" + }, + "value": { + "shape": { + "type": "named", + "shape": { + "type": "object", + "properties": [ + { + "name": { + "name": { + "originalName": "foo", + "camelCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "snakeCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "screamingSnakeCase": { + "unsafeName": "FOO", + "safeName": "FOO" + }, + "pascalCase": { + "unsafeName": "Foo", + "safeName": "Foo" + } + }, + "wireValue": "foo" + }, + "originalTypeDeclaration": { + "name": { + "originalName": "NestedInlineType1", + "camelCase": { + "unsafeName": "nestedInlineType1", + "safeName": "nestedInlineType1" + }, + "snakeCase": { + "unsafeName": "nested_inline_type1", + "safeName": "nested_inline_type1" + }, + "screamingSnakeCase": { + "unsafeName": "NESTED_INLINE_TYPE1", + "safeName": "NESTED_INLINE_TYPE1" + }, + "pascalCase": { + "unsafeName": "NestedInlineType1", + "safeName": "NestedInlineType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:NestedInlineType1" + }, + "value": { + "shape": { + "type": "primitive", + "primitive": { + "type": "string", + "string": { + "original": "foo" + } + } + }, + "jsonExample": "foo" + } + }, + { + "name": { + "name": { + "originalName": "bar", + "camelCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "snakeCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "screamingSnakeCase": { + "unsafeName": "BAR", + "safeName": "BAR" + }, + "pascalCase": { + "unsafeName": "Bar", + "safeName": "Bar" + } + }, + "wireValue": "bar" + }, + "originalTypeDeclaration": { + "name": { + "originalName": "NestedInlineType1", + "camelCase": { + "unsafeName": "nestedInlineType1", + "safeName": "nestedInlineType1" + }, + "snakeCase": { + "unsafeName": "nested_inline_type1", + "safeName": "nested_inline_type1" + }, + "screamingSnakeCase": { + "unsafeName": "NESTED_INLINE_TYPE1", + "safeName": "NESTED_INLINE_TYPE1" + }, + "pascalCase": { + "unsafeName": "NestedInlineType1", + "safeName": "NestedInlineType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:NestedInlineType1" + }, + "value": { + "shape": { + "type": "primitive", + "primitive": { + "type": "string", + "string": { + "original": "bar" + } + } + }, + "jsonExample": "bar" + } + } + ] + }, + "typeName": { + "name": { + "originalName": "NestedInlineType1", + "camelCase": { + "unsafeName": "nestedInlineType1", + "safeName": "nestedInlineType1" + }, + "snakeCase": { + "unsafeName": "nested_inline_type1", + "safeName": "nested_inline_type1" + }, + "screamingSnakeCase": { + "unsafeName": "NESTED_INLINE_TYPE1", + "safeName": "NESTED_INLINE_TYPE1" + }, + "pascalCase": { + "unsafeName": "NestedInlineType1", + "safeName": "NestedInlineType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:NestedInlineType1" + } + }, + "jsonExample": { + "foo": "foo", + "bar": "bar" + } + } + } + ] + }, + "typeName": { + "name": { + "originalName": "InlineType1", + "camelCase": { + "unsafeName": "inlineType1", + "safeName": "inlineType1" + }, + "snakeCase": { + "unsafeName": "inline_type1", + "safeName": "inline_type1" + }, + "screamingSnakeCase": { + "unsafeName": "INLINE_TYPE1", + "safeName": "INLINE_TYPE1" + }, + "pascalCase": { + "unsafeName": "InlineType1", + "safeName": "InlineType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:InlineType1" + } + }, + "jsonExample": { + "foo": "foo", + "bar": { + "foo": "foo", + "bar": "bar" + } + } + } + } + }, + "docs": null + } + } + ], + "pagination": null, + "transport": null, + "availability": null, + "docs": null + } + ] + } + }, "constants": { "errorInstanceIdKey": { "name": { @@ -796,13 +2376,18 @@ "pathParameters": [], "variables": [], "serviceTypeReferenceInfo": { - "typesReferencedOnlyByService": {}, + "typesReferencedOnlyByService": { + "service_": [ + "type_:RootType1", + "type_:InlineType1", + "type_:NestedInlineType1", + "type_:MixedInlineType1" + ] + }, "sharedTypes": [ - "type_:RootType1", - "type_:RootType2", - "type_:InlineType1", - "type_:NestedInlineType1", - "type_:MixedInlineType1" + "type_:DiscriminatedUnion1", + "type_:UndiscriminatedUnion1", + "type_:RootType2" ] }, "webhookGroups": {}, @@ -818,8 +2403,10 @@ "file": null }, "websocket": null, - "service": null, + "service": "service_", "types": [ + "type_:DiscriminatedUnion1", + "type_:UndiscriminatedUnion1", "type_:RootType1", "type_:RootType2", "type_:InlineType1", @@ -830,7 +2417,7 @@ "subpackages": [], "webhooks": null, "navigationConfig": null, - "hasEndpointsInTree": false, + "hasEndpointsInTree": true, "docs": null }, "sdkConfig": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/literal.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/literal.json index 4cc3dee3f35..d53c0a480fd 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/literal.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/literal.json @@ -4649,7 +4649,7 @@ "autogeneratedExamples": [ { "example": { - "id": "86dfc3b8e928e88fc1c4de1aad1f5627577dccef", + "id": "48e20e9252fd293c7133406f3d971629a1c18347", "url": "/inlined", "name": null, "endpointHeaders": [], diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/optional.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/optional.json index ebf1bc92ab6..41ea126b8de 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/optional.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/optional.json @@ -246,7 +246,7 @@ "autogeneratedExamples": [ { "example": { - "id": "718f146515c64c7796a0138a01c8aafca8b48e7f", + "id": "266192075c84516a33db85f1669214dd691c8cbc", "url": "/send-optional-body", "name": null, "endpointHeaders": [], diff --git a/packages/cli/generation/ir-generator/src/generateIntermediateRepresentation.ts b/packages/cli/generation/ir-generator/src/generateIntermediateRepresentation.ts index 2ed0b4c2385..35a0966e4f5 100644 --- a/packages/cli/generation/ir-generator/src/generateIntermediateRepresentation.ts +++ b/packages/cli/generation/ir-generator/src/generateIntermediateRepresentation.ts @@ -5,6 +5,8 @@ import { ContainerType, ExampleType, HttpEndpoint, + HttpService, + InlinedRequestBody, IntermediateRepresentation, NamedType, ObjectProperty, @@ -497,7 +499,7 @@ export async function generateIntermediateRepresentation({ readme != null ? convertReadmeConfig({ readme, services: intermediateRepresentation.services }) : undefined; const { types, services } = addExtendedPropertiesToIr(intermediateRepresentationForAudiences); - markInlineTypeDeclarations(types); + markInlineTypeDeclarations(types, services); return { ...intermediateRepresentationForAudiences, @@ -740,69 +742,31 @@ type OptionalNamedObjectProperty = ObjectProperty & { container: ContainerType.Optional & { optional: NamedType }; }; }; -function markInlineTypeDeclarations(types: Record) { +function markInlineTypeDeclarations(types: Record, services: Record) { // find types that have properties containing inline types - const namedProps = Object.values(types).flatMap((type) => { + const namedTypesFromTypes = Object.values(types).flatMap((type) => { if (type.shape.type !== "object") { return []; } - return Object.values(type.shape.properties) - .filter((prop): prop is NamedObjectProperty | OptionalNamedObjectProperty => { - switch (prop.valueType.type) { - case "primitive": - return false; - case "unknown": - return false; - case "container": - switch (prop.valueType.container.type) { - case "list": - break; - case "literal": - break; - case "map": - break; - case "set": - break; - case "optional": - switch (prop.valueType.container.optional.type) { - case "named": - return true; - case "primitive": - break; - case "unknown": - break; - case "container": - break; - default: - assertNever(prop.valueType.container.optional); - } - return false; - default: - assertNever(prop.valueType.container); - } - return false; - case "named": - return true; - default: - assertNever(prop.valueType); - } - }) - .map((prop): NamedType => { - switch (prop.valueType.type) { - case "named": - return prop.valueType; - case "container": - return prop.valueType.container.optional; - default: - assertNever(prop.valueType); - } - }); + return getNamedTypes(Object.values(type.shape.properties)); }); + + const namedTypesFromRequests = Object.values(services) + .flatMap((service) => service.endpoints) + .filter( + (endpoint): endpoint is HttpEndpoint & { requestBody: InlinedRequestBody } => + endpoint.requestBody?.type === "inlinedRequestBody" + ) + .map((endpoint) => endpoint.requestBody?.properties ?? []) + .flatMap(getNamedTypes); + + const namedTypes = namedTypesFromTypes.concat(namedTypesFromRequests); + const inlinePropTypeIds = new Set(); const nonInlinePropTypeIds = new Set(); // split props into inline and non-inline using reduce - namedProps.forEach((prop) => { + namedTypes.forEach((prop) => { if (prop.inline === true) { inlinePropTypeIds.add(prop.typeId); } else { @@ -817,3 +781,56 @@ function markInlineTypeDeclarations(types: Record) { type.inline = inlinePropTypeIds.has(typeId); } } +function getNamedTypes(props: ObjectProperty[]): NamedType | readonly NamedType[] { + return props + .filter((prop): prop is NamedObjectProperty | OptionalNamedObjectProperty => { + switch (prop.valueType.type) { + case "primitive": + return false; + case "unknown": + return false; + case "container": + switch (prop.valueType.container.type) { + case "list": + break; + case "literal": + break; + case "map": + break; + case "set": + break; + case "optional": + switch (prop.valueType.container.optional.type) { + case "named": + return true; + case "primitive": + break; + case "unknown": + break; + case "container": + break; + default: + assertNever(prop.valueType.container.optional); + } + return false; + default: + assertNever(prop.valueType.container); + } + return false; + case "named": + return true; + default: + assertNever(prop.valueType); + } + }) + .map((prop): NamedType => { + switch (prop.valueType.type) { + case "named": + return prop.valueType; + case "container": + return prop.valueType.container.optional; + default: + assertNever(prop.valueType); + } + }); +} diff --git a/packages/cli/lazy-fern-workspace/src/api-yml.schema.json b/packages/cli/lazy-fern-workspace/src/api-yml.schema.json index fd82803541f..aebd78f1aab 100644 --- a/packages/cli/lazy-fern-workspace/src/api-yml.schema.json +++ b/packages/cli/lazy-fern-workspace/src/api-yml.schema.json @@ -1015,16 +1015,6 @@ "type": { "type": "string" }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "default": { "oneOf": [ { @@ -1105,6 +1095,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "env": { "oneOf": [ { @@ -1255,6 +1255,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "type": { "type": "string" } diff --git a/packages/cli/lazy-fern-workspace/src/fern.schema.json b/packages/cli/lazy-fern-workspace/src/fern.schema.json index 72a65edf562..3279e3a1391 100644 --- a/packages/cli/lazy-fern-workspace/src/fern.schema.json +++ b/packages/cli/lazy-fern-workspace/src/fern.schema.json @@ -439,9 +439,6 @@ } ] }, - "type": { - "type": "string" - }, "inline": { "oneOf": [ { @@ -451,6 +448,9 @@ "type": "null" } ] + }, + "type": { + "type": "string" } }, "required": [ @@ -880,6 +880,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "type": { "type": "string" } @@ -1444,16 +1454,6 @@ "type": { "type": "string" }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "default": { "oneOf": [ { @@ -1534,6 +1534,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "allow-multiple": { "oneOf": [ { @@ -1566,16 +1576,6 @@ "type": { "type": "string" }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "default": { "oneOf": [ { @@ -1656,6 +1656,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "env": { "oneOf": [ { @@ -1713,16 +1723,6 @@ "type": { "type": "string" }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "default": { "oneOf": [ { @@ -1803,6 +1803,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "content-type": { "oneOf": [ { @@ -1989,6 +1999,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "type": { "type": "string" }, diff --git a/packages/cli/lazy-fern-workspace/src/package-yml.schema.json b/packages/cli/lazy-fern-workspace/src/package-yml.schema.json index b1d3bc19759..c06193abb6f 100644 --- a/packages/cli/lazy-fern-workspace/src/package-yml.schema.json +++ b/packages/cli/lazy-fern-workspace/src/package-yml.schema.json @@ -459,9 +459,6 @@ } ] }, - "type": { - "type": "string" - }, "inline": { "oneOf": [ { @@ -471,6 +468,9 @@ "type": "null" } ] + }, + "type": { + "type": "string" } }, "required": [ @@ -900,6 +900,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "type": { "type": "string" } @@ -1464,16 +1474,6 @@ "type": { "type": "string" }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "default": { "oneOf": [ { @@ -1554,6 +1554,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "allow-multiple": { "oneOf": [ { @@ -1586,16 +1596,6 @@ "type": { "type": "string" }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "default": { "oneOf": [ { @@ -1676,6 +1676,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "env": { "oneOf": [ { @@ -1733,16 +1743,6 @@ "type": { "type": "string" }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "default": { "oneOf": [ { @@ -1823,6 +1823,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "content-type": { "oneOf": [ { @@ -2009,6 +2019,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "type": { "type": "string" }, diff --git a/packages/cli/register/src/ir-to-fdr-converter/__test__/__snapshots__/inline-types.json b/packages/cli/register/src/ir-to-fdr-converter/__test__/__snapshots__/inline-types.json index 99bed9f4c26..c99d3ba6bcc 100644 --- a/packages/cli/register/src/ir-to-fdr-converter/__test__/__snapshots__/inline-types.json +++ b/packages/cli/register/src/ir-to-fdr-converter/__test__/__snapshots__/inline-types.json @@ -1,5 +1,54 @@ { "types": { + "type_:DiscriminatedUnion1": { + "name": "DiscriminatedUnion1", + "shape": { + "type": "discriminatedUnion", + "discriminant": "type", + "variants": [ + { + "discriminantValue": "type1", + "additionalProperties": { + "extends": [ + "type_:InlineType1" + ], + "properties": [] + } + }, + { + "discriminantValue": "type2", + "additionalProperties": { + "extends": [ + "type_:MixedInlineType1" + ], + "properties": [] + } + } + ] + } + }, + "type_:UndiscriminatedUnion1": { + "name": "UndiscriminatedUnion1", + "shape": { + "type": "undiscriminatedUnion", + "variants": [ + { + "typeName": "InlineType1", + "type": { + "type": "id", + "value": "type_:InlineType1" + } + }, + { + "typeName": "MixedInlineType1", + "type": { + "type": "id", + "value": "type_:MixedInlineType1" + } + } + ] + } + }, "type_:RootType1": { "name": "RootType1", "shape": { @@ -154,10 +203,145 @@ }, "subpackages": {}, "rootPackage": { - "endpoints": [], + "endpoints": [ + { + "auth": false, + "method": "GET", + "id": "getRoot", + "originalEndpointId": "endpoint_.getRoot", + "name": "Get Root", + "path": { + "pathParameters": [], + "parts": [ + { + "type": "literal", + "value": "/root" + }, + { + "type": "literal", + "value": "/root" + } + ] + }, + "queryParameters": [], + "headers": [], + "response": { + "type": { + "type": "reference", + "value": { + "type": "id", + "value": "type_:RootType1" + } + } + }, + "errorsV2": [], + "examples": [ + { + "path": "/root/root", + "pathParameters": {}, + "queryParameters": {}, + "headers": {}, + "responseStatusCode": 200, + "responseBody": { + "foo": "foo", + "bar": { + "foo": "foo", + "bar": { + "foo": "foo", + "bar": "bar" + } + }, + "two": { + "foo": "foo", + "bar": "bar" + } + }, + "responseBodyV3": { + "type": "json", + "value": { + "foo": "foo", + "bar": { + "foo": "foo", + "bar": { + "foo": "foo", + "bar": "bar" + } + }, + "two": { + "foo": "foo", + "bar": "bar" + } + } + }, + "codeSamples": [] + } + ] + }, + { + "auth": false, + "method": "GET", + "id": "getInline", + "originalEndpointId": "endpoint_.getInline", + "name": "Get Inline", + "path": { + "pathParameters": [], + "parts": [ + { + "type": "literal", + "value": "/root" + }, + { + "type": "literal", + "value": "/inline" + } + ] + }, + "queryParameters": [], + "headers": [], + "response": { + "type": { + "type": "reference", + "value": { + "type": "id", + "value": "type_:InlineType1" + } + } + }, + "errorsV2": [], + "examples": [ + { + "path": "/root/inline", + "pathParameters": {}, + "queryParameters": {}, + "headers": {}, + "responseStatusCode": 200, + "responseBody": { + "foo": "foo", + "bar": { + "foo": "foo", + "bar": "bar" + } + }, + "responseBodyV3": { + "type": "json", + "value": { + "foo": "foo", + "bar": { + "foo": "foo", + "bar": "bar" + } + } + }, + "codeSamples": [] + } + ] + } + ], "webhooks": [], "websockets": [], "types": [ + "type_:DiscriminatedUnion1", + "type_:UndiscriminatedUnion1", "type_:RootType1", "type_:RootType2", "type_:InlineType1", diff --git a/test-definitions-openapi/fern/apis/inline-schema-reference/openapi.yml b/test-definitions-openapi/fern/apis/inline-schema-reference/openapi.yml index 20a5d808e9c..f9ef32aee27 100644 --- a/test-definitions-openapi/fern/apis/inline-schema-reference/openapi.yml +++ b/test-definitions-openapi/fern/apis/inline-schema-reference/openapi.yml @@ -17,14 +17,49 @@ paths: - $ref: "#/components/schemas/Schema1" - $ref: "#/components/schemas/Schema2" /root: - get: + post: + requestBody: + content: + application/json: + schema: + type: object + properties: + foo: + type: string + bar: + type: object + properties: + foo: + type: string + inner_bar: + type: object + properties: + foo: + type: string + bar: + type: string responses: "200": description: Successful response content: application/json: schema: - $ref: "#/components/schemas/RootSchema1" + type: object + properties: + foo: + type: string + bar: + type: object + properties: + foo: + type: string + inner_bar: + type: object + properties: + foo: + type: string + bar: + type: string components: responses: diff --git a/test-definitions/fern/apis/inline-types/definition/__package__.yml b/test-definitions/fern/apis/inline-types/definition/__package__.yml index 5c4fd6e3860..e9e69fa120c 100644 --- a/test-definitions/fern/apis/inline-types/definition/__package__.yml +++ b/test-definitions/fern/apis/inline-types/definition/__package__.yml @@ -1,4 +1,29 @@ +service: + base-path: /root + auth: false + endpoints: + getRoot: + path: /root + method: GET + response: RootType1 + getInline: + path: /inline + method: GET + response: + type: InlineType1 + inline: true + types: + DiscriminatedUnion1: + union: + type1: InlineType1 + type2: MixedInlineType1 + UndiscriminatedUnion1: + discriminated: false + union: + - type: InlineType1 + - type: MixedInlineType1 + RootType1: properties: foo: string From 7855829c26cd6f15cb839ba8bd6b106e17ac042e Mon Sep 17 00:00:00 2001 From: Niels Swimberghe <3382717+Swimburger@users.noreply.github.com> Date: Fri, 22 Nov 2024 14:54:59 -0500 Subject: [PATCH 06/20] Update inline types test definition with an inline request body --- .../__test__/__snapshots__/ir.test.ts.snap | 11 + .../test-definitions/inline-types.json | 94 ++- .../test-definitions/inline-types.json | 596 +++++++++++++++++- .../__test__/__snapshots__/inline-types.json | 53 +- .../inline-types/definition/__package__.yml | 11 +- 5 files changed, 755 insertions(+), 10 deletions(-) diff --git a/generators/go-v2/dynamic-snippets/src/__test__/__snapshots__/ir.test.ts.snap b/generators/go-v2/dynamic-snippets/src/__test__/__snapshots__/ir.test.ts.snap index c5eea929a07..87a49eaab83 100644 --- a/generators/go-v2/dynamic-snippets/src/__test__/__snapshots__/ir.test.ts.snap +++ b/generators/go-v2/dynamic-snippets/src/__test__/__snapshots__/ir.test.ts.snap @@ -3649,6 +3649,7 @@ exports[`test definitions > inline-types 1`] = ` import ( context "context" + acme "github.com/acme/acme-go" client "github.com/acme/acme-go/client" ) @@ -3656,6 +3657,16 @@ func do() { client := client.NewClient() client.GetRoot( context.TODO(), + &acme.PostRootRequest{ + Bar: &acme.InlineType1{ + Foo: "foo", + Bar: &acme.NestedInlineType1{ + Foo: "foo", + Bar: "bar", + }, + }, + Foo: "foo", + }, ) } diff --git a/packages/cli/dynamic-snippets/src/__test__/test-definitions/inline-types.json b/packages/cli/dynamic-snippets/src/__test__/test-definitions/inline-types.json index 5a44debd7cc..55385778e74 100644 --- a/packages/cli/dynamic-snippets/src/__test__/test-definitions/inline-types.json +++ b/packages/cli/dynamic-snippets/src/__test__/test-definitions/inline-types.json @@ -642,13 +642,101 @@ } }, "location": { - "method": "GET", + "method": "POST", "path": "/root/root" }, "request": { - "type": "body", + "type": "inlined", + "declaration": { + "name": { + "originalName": "PostRootRequest", + "camelCase": { + "unsafeName": "postRootRequest", + "safeName": "postRootRequest" + }, + "snakeCase": { + "unsafeName": "post_root_request", + "safeName": "post_root_request" + }, + "screamingSnakeCase": { + "unsafeName": "POST_ROOT_REQUEST", + "safeName": "POST_ROOT_REQUEST" + }, + "pascalCase": { + "unsafeName": "PostRootRequest", + "safeName": "PostRootRequest" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + } + }, "pathParameters": [], - "body": null + "queryParameters": [], + "headers": [], + "body": { + "type": "properties", + "value": [ + { + "name": { + "name": { + "originalName": "bar", + "camelCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "snakeCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "screamingSnakeCase": { + "unsafeName": "BAR", + "safeName": "BAR" + }, + "pascalCase": { + "unsafeName": "Bar", + "safeName": "Bar" + } + }, + "wireValue": "bar" + }, + "typeReference": { + "_type": "named", + "value": "type_:InlineType1" + } + }, + { + "name": { + "name": { + "originalName": "foo", + "camelCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "snakeCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "screamingSnakeCase": { + "unsafeName": "FOO", + "safeName": "FOO" + }, + "pascalCase": { + "unsafeName": "Foo", + "safeName": "Foo" + } + }, + "wireValue": "foo" + }, + "typeReference": { + "_type": "primitive", + "value": "STRING" + } + } + ] + } }, "response": { "type": "json" diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/inline-types.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/inline-types.json index 31de5ab427d..09b91d3bba6 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/inline-types.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/inline-types.json @@ -1111,7 +1111,7 @@ "auth": false, "idempotent": false, "baseUrl": null, - "method": "GET", + "method": "POST", "basePath": null, "path": { "head": "/root", @@ -1125,8 +1125,193 @@ "allPathParameters": [], "queryParameters": [], "headers": [], - "requestBody": null, - "sdkRequest": null, + "requestBody": { + "type": "inlinedRequestBody", + "name": { + "originalName": "PostRootRequest", + "camelCase": { + "unsafeName": "postRootRequest", + "safeName": "postRootRequest" + }, + "snakeCase": { + "unsafeName": "post_root_request", + "safeName": "post_root_request" + }, + "screamingSnakeCase": { + "unsafeName": "POST_ROOT_REQUEST", + "safeName": "POST_ROOT_REQUEST" + }, + "pascalCase": { + "unsafeName": "PostRootRequest", + "safeName": "PostRootRequest" + } + }, + "extends": [], + "contentType": "application/json", + "properties": [ + { + "name": { + "name": { + "originalName": "bar", + "camelCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "snakeCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "screamingSnakeCase": { + "unsafeName": "BAR", + "safeName": "BAR" + }, + "pascalCase": { + "unsafeName": "Bar", + "safeName": "Bar" + } + }, + "wireValue": "bar" + }, + "valueType": { + "_type": "named", + "name": { + "originalName": "InlineType1", + "camelCase": { + "unsafeName": "inlineType1", + "safeName": "inlineType1" + }, + "snakeCase": { + "unsafeName": "inline_type1", + "safeName": "inline_type1" + }, + "screamingSnakeCase": { + "unsafeName": "INLINE_TYPE1", + "safeName": "INLINE_TYPE1" + }, + "pascalCase": { + "unsafeName": "InlineType1", + "safeName": "InlineType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:InlineType1", + "default": null, + "inline": true + }, + "availability": null, + "docs": null + }, + { + "name": { + "name": { + "originalName": "foo", + "camelCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "snakeCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "screamingSnakeCase": { + "unsafeName": "FOO", + "safeName": "FOO" + }, + "pascalCase": { + "unsafeName": "Foo", + "safeName": "Foo" + } + }, + "wireValue": "foo" + }, + "valueType": { + "_type": "primitive", + "primitive": { + "v1": "STRING", + "v2": { + "type": "string", + "default": null, + "validation": null + } + } + }, + "availability": null, + "docs": null + } + ], + "extra-properties": false, + "extendedProperties": [], + "docs": null + }, + "sdkRequest": { + "shape": { + "type": "wrapper", + "wrapperName": { + "originalName": "PostRootRequest", + "camelCase": { + "unsafeName": "postRootRequest", + "safeName": "postRootRequest" + }, + "snakeCase": { + "unsafeName": "post_root_request", + "safeName": "post_root_request" + }, + "screamingSnakeCase": { + "unsafeName": "POST_ROOT_REQUEST", + "safeName": "POST_ROOT_REQUEST" + }, + "pascalCase": { + "unsafeName": "PostRootRequest", + "safeName": "PostRootRequest" + } + }, + "bodyKey": { + "originalName": "body", + "camelCase": { + "unsafeName": "body", + "safeName": "body" + }, + "snakeCase": { + "unsafeName": "body", + "safeName": "body" + }, + "screamingSnakeCase": { + "unsafeName": "BODY", + "safeName": "BODY" + }, + "pascalCase": { + "unsafeName": "Body", + "safeName": "Body" + } + }, + "includePathParameters": false, + "onlyPathParameters": false + }, + "requestParameterName": { + "originalName": "request", + "camelCase": { + "unsafeName": "request", + "safeName": "request" + }, + "snakeCase": { + "unsafeName": "request", + "safeName": "request" + }, + "screamingSnakeCase": { + "unsafeName": "REQUEST", + "safeName": "REQUEST" + }, + "pascalCase": { + "unsafeName": "Request", + "safeName": "Request" + } + }, + "streamParameter": null + }, "response": { "body": { "type": "json", @@ -1172,7 +1357,7 @@ "autogeneratedExamples": [ { "example": { - "id": "56c6d0b8bbeecd6d8715c114794f14bd679650f1", + "id": "f1c8c5c48b5c7ee330c2272b51d165ef93559aeb", "url": "/root/root", "name": null, "endpointHeaders": [], @@ -1181,7 +1366,408 @@ "servicePathParameters": [], "serviceHeaders": [], "rootPathParameters": [], - "request": null, + "request": { + "type": "inlinedRequestBody", + "properties": [ + { + "name": { + "name": { + "originalName": "bar", + "camelCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "snakeCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "screamingSnakeCase": { + "unsafeName": "BAR", + "safeName": "BAR" + }, + "pascalCase": { + "unsafeName": "Bar", + "safeName": "Bar" + } + }, + "wireValue": "bar" + }, + "originalTypeDeclaration": null, + "value": { + "shape": { + "type": "named", + "shape": { + "type": "object", + "properties": [ + { + "name": { + "name": { + "originalName": "foo", + "camelCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "snakeCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "screamingSnakeCase": { + "unsafeName": "FOO", + "safeName": "FOO" + }, + "pascalCase": { + "unsafeName": "Foo", + "safeName": "Foo" + } + }, + "wireValue": "foo" + }, + "originalTypeDeclaration": { + "name": { + "originalName": "InlineType1", + "camelCase": { + "unsafeName": "inlineType1", + "safeName": "inlineType1" + }, + "snakeCase": { + "unsafeName": "inline_type1", + "safeName": "inline_type1" + }, + "screamingSnakeCase": { + "unsafeName": "INLINE_TYPE1", + "safeName": "INLINE_TYPE1" + }, + "pascalCase": { + "unsafeName": "InlineType1", + "safeName": "InlineType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:InlineType1" + }, + "value": { + "shape": { + "type": "primitive", + "primitive": { + "type": "string", + "string": { + "original": "foo" + } + } + }, + "jsonExample": "foo" + } + }, + { + "name": { + "name": { + "originalName": "bar", + "camelCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "snakeCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "screamingSnakeCase": { + "unsafeName": "BAR", + "safeName": "BAR" + }, + "pascalCase": { + "unsafeName": "Bar", + "safeName": "Bar" + } + }, + "wireValue": "bar" + }, + "originalTypeDeclaration": { + "name": { + "originalName": "InlineType1", + "camelCase": { + "unsafeName": "inlineType1", + "safeName": "inlineType1" + }, + "snakeCase": { + "unsafeName": "inline_type1", + "safeName": "inline_type1" + }, + "screamingSnakeCase": { + "unsafeName": "INLINE_TYPE1", + "safeName": "INLINE_TYPE1" + }, + "pascalCase": { + "unsafeName": "InlineType1", + "safeName": "InlineType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:InlineType1" + }, + "value": { + "shape": { + "type": "named", + "shape": { + "type": "object", + "properties": [ + { + "name": { + "name": { + "originalName": "foo", + "camelCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "snakeCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "screamingSnakeCase": { + "unsafeName": "FOO", + "safeName": "FOO" + }, + "pascalCase": { + "unsafeName": "Foo", + "safeName": "Foo" + } + }, + "wireValue": "foo" + }, + "originalTypeDeclaration": { + "name": { + "originalName": "NestedInlineType1", + "camelCase": { + "unsafeName": "nestedInlineType1", + "safeName": "nestedInlineType1" + }, + "snakeCase": { + "unsafeName": "nested_inline_type1", + "safeName": "nested_inline_type1" + }, + "screamingSnakeCase": { + "unsafeName": "NESTED_INLINE_TYPE1", + "safeName": "NESTED_INLINE_TYPE1" + }, + "pascalCase": { + "unsafeName": "NestedInlineType1", + "safeName": "NestedInlineType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:NestedInlineType1" + }, + "value": { + "shape": { + "type": "primitive", + "primitive": { + "type": "string", + "string": { + "original": "foo" + } + } + }, + "jsonExample": "foo" + } + }, + { + "name": { + "name": { + "originalName": "bar", + "camelCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "snakeCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "screamingSnakeCase": { + "unsafeName": "BAR", + "safeName": "BAR" + }, + "pascalCase": { + "unsafeName": "Bar", + "safeName": "Bar" + } + }, + "wireValue": "bar" + }, + "originalTypeDeclaration": { + "name": { + "originalName": "NestedInlineType1", + "camelCase": { + "unsafeName": "nestedInlineType1", + "safeName": "nestedInlineType1" + }, + "snakeCase": { + "unsafeName": "nested_inline_type1", + "safeName": "nested_inline_type1" + }, + "screamingSnakeCase": { + "unsafeName": "NESTED_INLINE_TYPE1", + "safeName": "NESTED_INLINE_TYPE1" + }, + "pascalCase": { + "unsafeName": "NestedInlineType1", + "safeName": "NestedInlineType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:NestedInlineType1" + }, + "value": { + "shape": { + "type": "primitive", + "primitive": { + "type": "string", + "string": { + "original": "bar" + } + } + }, + "jsonExample": "bar" + } + } + ] + }, + "typeName": { + "name": { + "originalName": "NestedInlineType1", + "camelCase": { + "unsafeName": "nestedInlineType1", + "safeName": "nestedInlineType1" + }, + "snakeCase": { + "unsafeName": "nested_inline_type1", + "safeName": "nested_inline_type1" + }, + "screamingSnakeCase": { + "unsafeName": "NESTED_INLINE_TYPE1", + "safeName": "NESTED_INLINE_TYPE1" + }, + "pascalCase": { + "unsafeName": "NestedInlineType1", + "safeName": "NestedInlineType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:NestedInlineType1" + } + }, + "jsonExample": { + "foo": "foo", + "bar": "bar" + } + } + } + ] + }, + "typeName": { + "name": { + "originalName": "InlineType1", + "camelCase": { + "unsafeName": "inlineType1", + "safeName": "inlineType1" + }, + "snakeCase": { + "unsafeName": "inline_type1", + "safeName": "inline_type1" + }, + "screamingSnakeCase": { + "unsafeName": "INLINE_TYPE1", + "safeName": "INLINE_TYPE1" + }, + "pascalCase": { + "unsafeName": "InlineType1", + "safeName": "InlineType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:InlineType1" + } + }, + "jsonExample": { + "foo": "foo", + "bar": { + "foo": "foo", + "bar": "bar" + } + } + } + }, + { + "name": { + "name": { + "originalName": "foo", + "camelCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "snakeCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "screamingSnakeCase": { + "unsafeName": "FOO", + "safeName": "FOO" + }, + "pascalCase": { + "unsafeName": "Foo", + "safeName": "Foo" + } + }, + "wireValue": "foo" + }, + "originalTypeDeclaration": null, + "value": { + "shape": { + "type": "primitive", + "primitive": { + "type": "string", + "string": { + "original": "foo" + } + } + }, + "jsonExample": "foo" + } + } + ], + "jsonExample": { + "bar": { + "foo": "foo", + "bar": { + "foo": "foo", + "bar": "bar" + } + }, + "foo": "foo" + } + }, "response": { "type": "ok", "value": { diff --git a/packages/cli/register/src/ir-to-fdr-converter/__test__/__snapshots__/inline-types.json b/packages/cli/register/src/ir-to-fdr-converter/__test__/__snapshots__/inline-types.json index c99d3ba6bcc..dfbf46bd25a 100644 --- a/packages/cli/register/src/ir-to-fdr-converter/__test__/__snapshots__/inline-types.json +++ b/packages/cli/register/src/ir-to-fdr-converter/__test__/__snapshots__/inline-types.json @@ -206,7 +206,7 @@ "endpoints": [ { "auth": false, - "method": "GET", + "method": "POST", "id": "getRoot", "originalEndpointId": "endpoint_.getRoot", "name": "Get Root", @@ -225,6 +225,34 @@ }, "queryParameters": [], "headers": [], + "request": { + "type": { + "type": "json", + "contentType": "application/json", + "shape": { + "type": "object", + "extends": [], + "properties": [ + { + "key": "bar", + "valueType": { + "type": "id", + "value": "type_:InlineType1" + } + }, + { + "key": "foo", + "valueType": { + "type": "primitive", + "value": { + "type": "string" + } + } + } + ] + } + } + }, "response": { "type": { "type": "reference", @@ -241,6 +269,29 @@ "pathParameters": {}, "queryParameters": {}, "headers": {}, + "requestBody": { + "bar": { + "foo": "foo", + "bar": { + "foo": "foo", + "bar": "bar" + } + }, + "foo": "foo" + }, + "requestBodyV3": { + "type": "json", + "value": { + "bar": { + "foo": "foo", + "bar": { + "foo": "foo", + "bar": "bar" + } + }, + "foo": "foo" + } + }, "responseStatusCode": 200, "responseBody": { "foo": "foo", diff --git a/test-definitions/fern/apis/inline-types/definition/__package__.yml b/test-definitions/fern/apis/inline-types/definition/__package__.yml index e9e69fa120c..05644bb3ba1 100644 --- a/test-definitions/fern/apis/inline-types/definition/__package__.yml +++ b/test-definitions/fern/apis/inline-types/definition/__package__.yml @@ -4,7 +4,16 @@ service: endpoints: getRoot: path: /root - method: GET + method: POST + request: + body: + properties: + bar: + inline: true + type: InlineType1 + foo: string + content-type: application/json + name: PostRootRequest response: RootType1 getInline: path: /inline From 37eb122599ac1f941b64e096009e4b8205fb7e5a Mon Sep 17 00:00:00 2001 From: Niels Swimberghe <3382717+Swimburger@users.noreply.github.com> Date: Fri, 22 Nov 2024 15:08:59 -0500 Subject: [PATCH 07/20] Remove inline from response --- fern/apis/fern-definition/definition/service.yml | 1 - .../resources/service/types/HttpResponseSchemaDetailed.ts | 2 +- .../resources/service/types/HttpResponseSchemaDetailed.ts | 6 ++---- .../validator/src/ast/visitors/services/visitHttpService.ts | 3 +-- .../fern/apis/inline-types/definition/__package__.yml | 6 ------ 5 files changed, 4 insertions(+), 14 deletions(-) diff --git a/fern/apis/fern-definition/definition/service.yml b/fern/apis/fern-definition/definition/service.yml index 32e7038e4d2..281af2e958b 100644 --- a/fern/apis/fern-definition/definition/service.yml +++ b/fern/apis/fern-definition/definition/service.yml @@ -143,7 +143,6 @@ types: HttpResponseSchemaDetailed: extends: - commons.WithDocsSchema - - commons.WithInline properties: type: string property: optional diff --git a/packages/cli/fern-definition/schema/src/schemas/api/resources/service/types/HttpResponseSchemaDetailed.ts b/packages/cli/fern-definition/schema/src/schemas/api/resources/service/types/HttpResponseSchemaDetailed.ts index ebb8a194fbb..289823c2ae6 100644 --- a/packages/cli/fern-definition/schema/src/schemas/api/resources/service/types/HttpResponseSchemaDetailed.ts +++ b/packages/cli/fern-definition/schema/src/schemas/api/resources/service/types/HttpResponseSchemaDetailed.ts @@ -4,7 +4,7 @@ import * as FernDefinition from "../../../index"; -export interface HttpResponseSchemaDetailed extends FernDefinition.WithDocsSchema, FernDefinition.WithInline { +export interface HttpResponseSchemaDetailed extends FernDefinition.WithDocsSchema { type: string; property?: string; "status-code"?: number; diff --git a/packages/cli/fern-definition/schema/src/schemas/serialization/resources/service/types/HttpResponseSchemaDetailed.ts b/packages/cli/fern-definition/schema/src/schemas/serialization/resources/service/types/HttpResponseSchemaDetailed.ts index b670301c72f..26cfe9f6038 100644 --- a/packages/cli/fern-definition/schema/src/schemas/serialization/resources/service/types/HttpResponseSchemaDetailed.ts +++ b/packages/cli/fern-definition/schema/src/schemas/serialization/resources/service/types/HttpResponseSchemaDetailed.ts @@ -6,7 +6,6 @@ import * as serializers from "../../../index"; import * as FernDefinition from "../../../../api/index"; import * as core from "../../../../core"; import { WithDocsSchema } from "../../commons/types/WithDocsSchema"; -import { WithInline } from "../../commons/types/WithInline"; export const HttpResponseSchemaDetailed: core.serialization.ObjectSchema< serializers.HttpResponseSchemaDetailed.Raw, @@ -17,11 +16,10 @@ export const HttpResponseSchemaDetailed: core.serialization.ObjectSchema< property: core.serialization.string().optional(), "status-code": core.serialization.number().optional(), }) - .extend(WithDocsSchema) - .extend(WithInline); + .extend(WithDocsSchema); export declare namespace HttpResponseSchemaDetailed { - interface Raw extends WithDocsSchema.Raw, WithInline.Raw { + interface Raw extends WithDocsSchema.Raw { type: string; property?: string | null; "status-code"?: number | null; diff --git a/packages/cli/fern-definition/validator/src/ast/visitors/services/visitHttpService.ts b/packages/cli/fern-definition/validator/src/ast/visitors/services/visitHttpService.ts index a02d929bc67..f50f054f8e3 100644 --- a/packages/cli/fern-definition/validator/src/ast/visitors/services/visitHttpService.ts +++ b/packages/cli/fern-definition/validator/src/ast/visitors/services/visitHttpService.ts @@ -266,8 +266,7 @@ async function visitEndpoint({ }); }, property: noop, - "status-code": noop, - inline: noop + "status-code": noop }); } }, diff --git a/test-definitions/fern/apis/inline-types/definition/__package__.yml b/test-definitions/fern/apis/inline-types/definition/__package__.yml index 05644bb3ba1..7f1e9da2bb7 100644 --- a/test-definitions/fern/apis/inline-types/definition/__package__.yml +++ b/test-definitions/fern/apis/inline-types/definition/__package__.yml @@ -15,12 +15,6 @@ service: content-type: application/json name: PostRootRequest response: RootType1 - getInline: - path: /inline - method: GET - response: - type: InlineType1 - inline: true types: DiscriminatedUnion1: From 49b79b19f9ac6b519308b81fb759cbd885a212a8 Mon Sep 17 00:00:00 2001 From: Niels Swimberghe <3382717+Swimburger@users.noreply.github.com> Date: Fri, 22 Nov 2024 17:35:18 -0500 Subject: [PATCH 08/20] update jsonschemas --- fern.schema.json | 10 ---------- package-yml.schema.json | 10 ---------- packages/cli/lazy-fern-workspace/src/fern.schema.json | 10 ---------- .../lazy-fern-workspace/src/package-yml.schema.json | 10 ---------- .../fern/apis/assemblyai/assemblyai-api-spec | 1 + 5 files changed, 1 insertion(+), 40 deletions(-) create mode 160000 test-definitions/fern/apis/assemblyai/assemblyai-api-spec diff --git a/fern.schema.json b/fern.schema.json index 3279e3a1391..969b3ee05a8 100644 --- a/fern.schema.json +++ b/fern.schema.json @@ -1999,16 +1999,6 @@ } ] }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "type": { "type": "string" }, diff --git a/package-yml.schema.json b/package-yml.schema.json index c06193abb6f..f4e199e3895 100644 --- a/package-yml.schema.json +++ b/package-yml.schema.json @@ -2019,16 +2019,6 @@ } ] }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "type": { "type": "string" }, diff --git a/packages/cli/lazy-fern-workspace/src/fern.schema.json b/packages/cli/lazy-fern-workspace/src/fern.schema.json index 3279e3a1391..969b3ee05a8 100644 --- a/packages/cli/lazy-fern-workspace/src/fern.schema.json +++ b/packages/cli/lazy-fern-workspace/src/fern.schema.json @@ -1999,16 +1999,6 @@ } ] }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "type": { "type": "string" }, diff --git a/packages/cli/lazy-fern-workspace/src/package-yml.schema.json b/packages/cli/lazy-fern-workspace/src/package-yml.schema.json index c06193abb6f..f4e199e3895 100644 --- a/packages/cli/lazy-fern-workspace/src/package-yml.schema.json +++ b/packages/cli/lazy-fern-workspace/src/package-yml.schema.json @@ -2019,16 +2019,6 @@ } ] }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "type": { "type": "string" }, diff --git a/test-definitions/fern/apis/assemblyai/assemblyai-api-spec b/test-definitions/fern/apis/assemblyai/assemblyai-api-spec new file mode 160000 index 00000000000..0e1f1998374 --- /dev/null +++ b/test-definitions/fern/apis/assemblyai/assemblyai-api-spec @@ -0,0 +1 @@ +Subproject commit 0e1f19983743c2ce0d9ab65c43a169e181e842c2 From 2e65f4d3b39a9c39637301b0f2a10f1a5a8f6f87 Mon Sep 17 00:00:00 2001 From: Niels Swimberghe <3382717+Swimburger@users.noreply.github.com> Date: Fri, 22 Nov 2024 20:40:32 -0500 Subject: [PATCH 09/20] move inline into Fern type declaration --- api-yml.schema.json | 20 - fern.schema.json | 90 +- .../apis/fern-definition/definition/types.yml | 18 +- generators-yml.schema.json | 10 - package-yml.schema.json | 90 +- .../src/schema/convertObject.ts | 5 +- .../utils/convertSchemaToSchemaWithExample.ts | 3 +- .../utils/convertSchemaWithExampleToSchema.ts | 3 +- .../schema/utils/isInlineObjectProperty.ts | 12 - .../__snapshots__/openapi-docs/ada.json | 2 + .../__snapshots__/openapi-docs/anyOf.json | 1 + .../__snapshots__/openapi-docs/apiture.json | 57 +- .../openapi-docs/application-json.json | 1 + .../__snapshots__/openapi-docs/aries.json | 398 ++++- .../__snapshots__/openapi-docs/assembly.json | 51 +- .../openapi-docs/availability.json | 2 + .../__snapshots__/openapi-docs/axle.json | 39 +- .../__snapshots__/openapi-docs/belvo.json | 333 +++- .../__snapshots__/openapi-docs/buzzshot.json | 51 +- .../__snapshots__/openapi-docs/deel.json | 825 +++++---- .../openapi-docs/default-content.json | 1 + .../__snapshots__/openapi-docs/devrev.json | 120 ++ .../discriminated-union-value-title.json | 1 + .../openapi-docs/enum-casing.json | 1 + .../__snapshots__/openapi-docs/flagright.json | 78 +- .../__snapshots__/openapi-docs/flexport.json | 475 +++-- .../__snapshots__/openapi-docs/float.json | 1 + .../__snapshots__/openapi-docs/hathora.json | 69 +- .../__snapshots__/openapi-docs/hookdeck.json | 308 +++- .../__snapshots__/openapi-docs/humanloop.json | 141 +- .../__snapshots__/openapi-docs/hume.json | 54 + .../openapi-docs/inline-path-parameters.json | 2 + .../openapi-docs/inline-schema-reference.json | 7 + .../__snapshots__/openapi-docs/intercom.json | 293 +++- .../openapi-docs/json-string.json | 1 + .../__snapshots__/openapi-docs/merge.json | 76 +- .../multi-url-generators-yml.json | 2 + .../non-alphanumeric-characters.json | 1 + .../__snapshots__/openapi-docs/oauth.json | 1 + .../only-include-referenced-schemas.json | 283 ++- .../__snapshots__/openapi-docs/permit.json | 69 +- .../openapi-docs/query-params.json | 24 +- .../__snapshots__/openapi-docs/readonly.json | 3 + .../request-response-description.json | 1 + .../openapi-docs/rightbrain.json | 102 +- .../__snapshots__/openapi-docs/rules.json | 4 + .../__snapshots__/openapi-docs/seam.json | 1192 +++++++------ .../__snapshots__/openapi-docs/squidex.json | 141 +- .../__snapshots__/openapi-docs/streaming.json | 6 + .../__snapshots__/openapi-docs/suger.json | 150 ++ .../openapi-docs/superagent.json | 4 + .../openapi-docs/switchboard.json | 34 + .../__snapshots__/openapi-docs/uint.json | 1 + .../openapi-docs/union-extension.json | 5 + .../__snapshots__/openapi-docs/unions-v1.json | 1 + .../openapi-docs/uploadcare.json | 57 +- .../__snapshots__/openapi-docs/valtown.json | 142 +- .../__snapshots__/openapi-docs/vellum.json | 90 + .../__snapshots__/openapi-docs/webflow.json | 1561 ++++++++++++----- .../__snapshots__/openapi-docs/webhooks.json | 1 + .../openapi-docs/x-fern-audiences.json | 2 +- .../openapi-docs/x-fern-auth-variables.json | 2 + .../openapi-docs/x-fern-encoding.json | 1 + .../openapi-docs/x-fern-global-headers.json | 2 + .../openapi-docs/x-fern-ignore.json | 3 + .../openapi-docs/x-fern-pagination.json | 3 + .../openapi-docs/x-fern-property-name.json | 2 +- .../openapi-docs/x-fern-resolutions.json | 1 + .../x-fern-sdk-group-name-with-streaming.json | 2 + .../openapi-docs/x-fern-sdk-group-name.json | 2 + .../x-fern-streaming-with-audiences.json | 2 + .../x-fern-streaming-with-reference.json | 2 + .../x-fern-streaming-with-sse.json | 2 + ...-fern-streaming-with-stream-condition.json | 2 + .../x-fern-token-variable-name.json | 2 + .../openapi-docs/x-fern-version.json | 2 + .../__snapshots__/openapi-ir/aries.json | 144 +- .../__snapshots__/openapi-ir/axle.json | 6 +- .../__snapshots__/openapi-ir/buzzshot.json | 6 +- .../__snapshots__/openapi-ir/deel.json | 189 +- .../__snapshots__/openapi-ir/flagright.json | 3 +- .../__snapshots__/openapi-ir/flexport.json | 63 +- .../__snapshots__/openapi-ir/hathora.json | 12 +- .../__snapshots__/openapi-ir/hookdeck.json | 6 +- .../__snapshots__/openapi-ir/intercom.json | 60 +- .../only-include-referenced-schemas.json | 60 +- .../openapi-ir/query-params.json | 6 +- .../__snapshots__/openapi-ir/seam.json | 252 +-- .../__snapshots__/openapi-ir/uploadcare.json | 15 +- .../__snapshots__/openapi-ir/valtown.json | 27 +- .../__snapshots__/openapi-ir/webflow.json | 369 ++-- .../__test__/__snapshots__/openapi/ada.json | 2 + .../__test__/__snapshots__/openapi/anyOf.json | 1 + .../__snapshots__/openapi/apiture.json | 57 +- .../openapi/application-json.json | 1 + .../__test__/__snapshots__/openapi/aries.json | 398 ++++- .../__snapshots__/openapi/assembly.json | 51 +- .../__snapshots__/openapi/availability.json | 2 + .../__test__/__snapshots__/openapi/axle.json | 39 +- .../__test__/__snapshots__/openapi/belvo.json | 333 +++- .../__snapshots__/openapi/buzzshot.json | 51 +- .../__test__/__snapshots__/openapi/deel.json | 825 +++++---- .../openapi/default-content.json | 1 + .../__snapshots__/openapi/devrev.json | 120 ++ .../discriminated-union-value-title.json | 1 + .../__snapshots__/openapi/enum-casing.json | 1 + .../__snapshots__/openapi/flagright.json | 78 +- .../__snapshots__/openapi/flexport.json | 418 +++-- .../__test__/__snapshots__/openapi/float.json | 1 + .../__snapshots__/openapi/hathora.json | 69 +- .../__snapshots__/openapi/hookdeck.json | 308 +++- .../__snapshots__/openapi/humanloop.json | 141 +- .../__test__/__snapshots__/openapi/hume.json | 54 + .../openapi/inline-path-parameters.json | 2 + .../openapi/inline-schema-reference.json | 7 + .../__snapshots__/openapi/intercom.json | 293 +++- .../__snapshots__/openapi/json-string.json | 1 + .../__test__/__snapshots__/openapi/merge.json | 76 +- .../openapi/multi-url-generators-yml.json | 2 + .../openapi/non-alphanumeric-characters.json | 1 + .../__test__/__snapshots__/openapi/oauth.json | 1 + .../only-include-referenced-schemas.json | 283 ++- .../__snapshots__/openapi/permit.json | 69 +- .../__snapshots__/openapi/query-params.json | 24 +- .../__snapshots__/openapi/readonly.json | 3 + .../openapi/request-response-description.json | 1 + .../__snapshots__/openapi/rightbrain.json | 102 +- .../__test__/__snapshots__/openapi/rules.json | 4 + .../__test__/__snapshots__/openapi/seam.json | 1192 +++++++------ .../__snapshots__/openapi/squidex.json | 141 +- .../__snapshots__/openapi/streaming.json | 6 + .../__test__/__snapshots__/openapi/suger.json | 150 ++ .../__snapshots__/openapi/superagent.json | 4 + .../__snapshots__/openapi/switchboard.json | 34 + .../__test__/__snapshots__/openapi/uint.json | 1 + .../openapi/union-extension.json | 5 + .../__snapshots__/openapi/unions-v1.json | 1 + .../__snapshots__/openapi/uploadcare.json | 45 +- .../__snapshots__/openapi/valtown.json | 141 +- .../__snapshots__/openapi/vellum.json | 90 + .../__snapshots__/openapi/webflow.json | 1451 ++++++++++----- .../__snapshots__/openapi/webhooks.json | 1 + .../openapi/x-fern-audiences.json | 2 +- .../openapi/x-fern-auth-variables.json | 2 + .../openapi/x-fern-encoding.json | 1 + .../openapi/x-fern-global-headers.json | 2 + .../__snapshots__/openapi/x-fern-ignore.json | 3 + .../openapi/x-fern-pagination.json | 3 + .../openapi/x-fern-property-name.json | 2 +- .../openapi/x-fern-resolutions.json | 1 + .../x-fern-sdk-group-name-with-streaming.json | 2 + .../openapi/x-fern-sdk-group-name.json | 2 + .../x-fern-streaming-with-audiences.json | 2 + .../x-fern-streaming-with-reference.json | 2 + .../openapi/x-fern-streaming-with-sse.json | 2 + ...-fern-streaming-with-stream-condition.json | 2 + .../openapi/x-fern-token-variable-name.json | 2 + .../__snapshots__/openapi/x-fern-version.json | 2 + .../src/buildAuthSchemes.ts | 2 +- .../openapi-ir-to-fern/src/buildChannel.ts | 6 +- .../openapi-ir-to-fern/src/buildEndpoint.ts | 23 +- .../src/buildFernDefinition.ts | 8 +- .../src/buildGlobalHeaders.ts | 3 +- .../openapi-ir-to-fern/src/buildHeader.ts | 3 +- .../src/buildPathParameter.ts | 3 +- .../src/buildQueryParameter.ts | 39 +- .../src/buildTypeDeclaration.ts | 105 +- .../src/buildTypeReference.ts | 129 +- .../openapi-ir-to-fern/src/buildVariables.ts | 3 +- .../openapi-ir-to-fern/src/buildWebhooks.ts | 3 +- .../openapi-ir/fern/definition/finalIr.yml | 1 - .../openapi-ir/fern/definition/parseIr.yml | 1 - .../resources/finalIr/types/ObjectProperty.ts | 1 - .../types/ObjectPropertyWithExample.ts | 1 - .../resources/finalIr/types/ObjectProperty.ts | 2 - .../types/ObjectPropertyWithExample.ts | 2 - .../types/types/DiscriminatedUnionSchema.ts | 2 +- .../api/resources/types/types/EnumSchema.ts | 2 +- .../api/resources/types/types/ObjectSchema.ts | 2 +- .../types/TypeReferenceDeclarationWithName.ts | 3 +- .../types/TypeReferenceDetailedSchema.ts | 3 +- .../types/types/UndiscriminatedUnionSchema.ts | 4 +- .../types/types/DiscriminatedUnionSchema.ts | 6 +- .../resources/types/types/EnumSchema.ts | 6 +- .../resources/types/types/ObjectSchema.ts | 6 +- .../types/TypeReferenceDeclarationWithName.ts | 6 +- .../types/TypeReferenceDetailedSchema.ts | 6 +- .../types/types/UndiscriminatedUnionSchema.ts | 6 +- .../ast/visitors/services/visitHttpService.ts | 6 +- .../src/ast/visitors/visitTypeDeclarations.ts | 13 +- .../src/ast/visitors/visitWebhooks.ts | 2 - ...onvertDiscriminatedUnionTypeDeclaration.ts | 3 +- .../convertEnumTypeDeclaration.ts | 3 +- .../convertGenericTypeDeclaration.ts | 3 +- .../convertObjectTypeDeclaration.ts | 3 +- .../convertTypeDeclaration.ts | 11 +- ...vertUndiscriminatedUnionTypeDeclaration.ts | 3 +- .../src/generateIntermediateRepresentation.ts | 100 -- .../migrateFromV23ToV22.test.ts.snap | 9 + .../src/api-yml.schema.json | 20 - .../lazy-fern-workspace/src/fern.schema.json | 90 +- .../src/package-yml.schema.json | 90 +- .../ir-types-latest/definition/commons.yml | 5 +- .../apis/ir-types-latest/definition/types.yml | 36 +- .../api/resources/commons/types/WithInline.ts | 7 + .../sdk/api/resources/commons/types/index.ts | 1 + .../resources/types/types/ContainerType.ts | 12 +- .../types/types/EnumTypeDeclaration.ts | 2 +- .../types/types/ObjectTypeDeclaration.ts | 2 +- .../UndiscriminatedUnionTypeDeclaration.ts | 2 +- .../types/types/UnionTypeDeclaration.ts | 2 +- .../resources/commons/types/WithInline.ts | 18 + .../resources/commons/types/index.ts | 1 + .../types/types/EnumTypeDeclaration.ts | 13 +- .../types/types/ObjectTypeDeclaration.ts | 17 +- .../UndiscriminatedUnionTypeDeclaration.ts | 11 +- .../types/types/UnionTypeDeclaration.ts | 17 +- .../apis/inline-schema-reference/openapi.yml | 1 - .../inline-types/definition/__package__.yml | 51 +- 219 files changed, 11570 insertions(+), 5250 deletions(-) delete mode 100644 packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/utils/isInlineObjectProperty.ts create mode 100644 packages/ir-sdk/src/sdk/api/resources/commons/types/WithInline.ts create mode 100644 packages/ir-sdk/src/sdk/serialization/resources/commons/types/WithInline.ts diff --git a/api-yml.schema.json b/api-yml.schema.json index aebd78f1aab..8f0be5f7c4a 100644 --- a/api-yml.schema.json +++ b/api-yml.schema.json @@ -1095,16 +1095,6 @@ } ] }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "env": { "oneOf": [ { @@ -1255,16 +1245,6 @@ } ] }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "type": { "type": "string" } diff --git a/fern.schema.json b/fern.schema.json index 969b3ee05a8..8cd5803f6ca 100644 --- a/fern.schema.json +++ b/fern.schema.json @@ -439,16 +439,6 @@ } ] }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "type": { "type": "string" } @@ -540,6 +530,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "extends": { "oneOf": [ { @@ -743,6 +743,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "default": { "oneOf": [ { @@ -880,16 +890,6 @@ } ] }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "type": { "type": "string" } @@ -1086,6 +1086,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "discriminant": { "oneOf": [ { @@ -1242,6 +1252,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "discriminated": { "const": false }, @@ -1534,16 +1554,6 @@ } ] }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "allow-multiple": { "oneOf": [ { @@ -1656,16 +1666,6 @@ } ] }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "env": { "oneOf": [ { @@ -1803,16 +1803,6 @@ } ] }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "content-type": { "oneOf": [ { diff --git a/fern/apis/fern-definition/definition/types.yml b/fern/apis/fern-definition/definition/types.yml index 9af0d1d1d22..7d42452f3ef 100644 --- a/fern/apis/fern-definition/definition/types.yml +++ b/fern/apis/fern-definition/definition/types.yml @@ -64,7 +64,6 @@ types: - BaseTypeReferenceSchema - commons.WithName - commons.WithAudiences - - commons.WithInline properties: type: string @@ -79,7 +78,6 @@ types: - BaseTypeReferenceSchema - commons.WithName - commons.WithAudiences - - commons.WithInline properties: type: string @@ -104,7 +102,9 @@ types: #### Objects #### ObjectSchema: - extends: BaseTypeDeclarationSchema + extends: + - BaseTypeDeclarationSchema + - commons.WithInline properties: extends: optional properties: optional> @@ -127,7 +127,9 @@ types: #### Enums #### EnumSchema: - extends: BaseTypeDeclarationSchema + extends: + - BaseTypeDeclarationSchema + - commons.WithInline properties: default: optional enum: list @@ -184,7 +186,9 @@ types: value: string DiscriminatedUnionSchema: - extends: BaseTypeDeclarationSchema + extends: + - BaseTypeDeclarationSchema + - commons.WithInline properties: discriminant: optional extends: optional @@ -206,7 +210,9 @@ types: #### Undiscriminated Union #### UndiscriminatedUnionSchema: - extends: BaseTypeDeclarationSchema + extends: + - BaseTypeDeclarationSchema + - commons.WithInline properties: discriminated: literal union: list diff --git a/generators-yml.schema.json b/generators-yml.schema.json index 4bfe7fac735..fce053dcbd7 100644 --- a/generators-yml.schema.json +++ b/generators-yml.schema.json @@ -1087,16 +1087,6 @@ } ] }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "env": { "oneOf": [ { diff --git a/package-yml.schema.json b/package-yml.schema.json index f4e199e3895..3aff7d071cc 100644 --- a/package-yml.schema.json +++ b/package-yml.schema.json @@ -459,16 +459,6 @@ } ] }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "type": { "type": "string" } @@ -560,6 +550,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "extends": { "oneOf": [ { @@ -763,6 +763,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "default": { "oneOf": [ { @@ -900,16 +910,6 @@ } ] }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "type": { "type": "string" } @@ -1106,6 +1106,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "discriminant": { "oneOf": [ { @@ -1262,6 +1272,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "discriminated": { "const": false }, @@ -1554,16 +1574,6 @@ } ] }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "allow-multiple": { "oneOf": [ { @@ -1676,16 +1686,6 @@ } ] }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "env": { "oneOf": [ { @@ -1823,16 +1823,6 @@ } ] }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "content-type": { "oneOf": [ { diff --git a/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/convertObject.ts b/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/convertObject.ts index b04bea05b57..e8684a2a561 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/convertObject.ts +++ b/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/convertObject.ts @@ -20,7 +20,6 @@ import { convertSchema, convertToReferencedSchema, getSchemaIdFromReference } fr import { SchemaParserContext } from "./SchemaParserContext"; import { getBreadcrumbsFromReference } from "./utils/getBreadcrumbsFromReference"; import { getGeneratedPropertyName } from "./utils/getSchemaName"; -import { isInlineObjectProperty } from "./utils/isInlineObjectProperty"; import { isReferenceObject } from "./utils/isReferenceObject"; import { isSchemaWithExampleEqual } from "./utils/isSchemaEqual"; @@ -174,7 +173,6 @@ export function convertObject({ const availability = convertAvailability(propertySchema); const readonly = isReferenceObject(propertySchema) ? false : propertySchema.readOnly; - const inline = isInlineObjectProperty(propertySchema); const propertyNameOverride = getExtension( propertySchema, @@ -212,8 +210,7 @@ export function convertObject({ conflict: conflicts, generatedName: getGeneratedPropertyName([...breadcrumbs, propertyName]), availability, - readonly, - inline: inline || undefined + readonly }; } ); diff --git a/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/utils/convertSchemaToSchemaWithExample.ts b/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/utils/convertSchemaToSchemaWithExample.ts index aba83f63dfe..5c15ae4f6d0 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/utils/convertSchemaToSchemaWithExample.ts +++ b/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/utils/convertSchemaToSchemaWithExample.ts @@ -319,7 +319,6 @@ function convertToObjectProperty(objectProperty: ObjectProperty): ObjectProperty audiences: objectProperty.audiences, nameOverride: objectProperty.nameOverride, availability: objectProperty.availability, - readonly: objectProperty.readonly, - inline: objectProperty.inline + readonly: objectProperty.readonly }; } diff --git a/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/utils/convertSchemaWithExampleToSchema.ts b/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/utils/convertSchemaWithExampleToSchema.ts index b0be53cd36e..108ff6b3063 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/utils/convertSchemaWithExampleToSchema.ts +++ b/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/utils/convertSchemaWithExampleToSchema.ts @@ -255,7 +255,6 @@ function convertToObjectProperty(objectProperty: ObjectPropertyWithExample): Obj audiences: objectProperty.audiences, nameOverride: objectProperty.nameOverride, availability: objectProperty.availability, - readonly: objectProperty.readonly, - inline: objectProperty.inline + readonly: objectProperty.readonly }; } diff --git a/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/utils/isInlineObjectProperty.ts b/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/utils/isInlineObjectProperty.ts deleted file mode 100644 index cb011065108..00000000000 --- a/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/utils/isInlineObjectProperty.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { OpenAPIV3 } from "openapi-types"; - -export function isInlineObjectProperty( - property: OpenAPIV3.ReferenceObject | OpenAPIV3.SchemaObject -): property is OpenAPIV3.NonArraySchemaObject & { type: "object" } { - return ( - "type" in property && - property.type === "object" && - !("additionalProperties" in property) && - "properties" in property - ); -} diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/ada.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/ada.json index bf145c9b59b..230d517d5a7 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/ada.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/ada.json @@ -277,6 +277,7 @@ "EndUser": "unknown", "EndUserCreatedWebhookPayload": { "docs": undefined, + "inline": undefined, "properties": { "data": "optional", "timestamp": "optional", @@ -289,6 +290,7 @@ "EndUserRequest": "unknown", "EndUserUpdatedWebhookPayload": { "docs": undefined, + "inline": undefined, "properties": { "data": "optional", "timestamp": "optional", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/anyOf.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/anyOf.json index b0be7e7f005..cf8ad12d6e2 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/anyOf.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/anyOf.json @@ -58,6 +58,7 @@ "Response": { "docs": "A generic response type used throughout the API. ", + "inline": undefined, "properties": { "value": { "docs": "An optional numerical value. diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/apiture.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/apiture.json index 3d71f4471ae..e53655a955b 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/apiture.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/apiture.json @@ -4142,6 +4142,7 @@ This error response may have one of the following `type` values: "types": { "AbstractBody": { "docs": "An abstract schema used to define other request and response body model schemas.", + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4153,6 +4154,7 @@ This error response may have one of the following `type` values: "AbstractBody", "AbstractPagedBodyFields", ], + "inline": undefined, "properties": { "start": { "docs": "The opaque cursor that specifies the starting location of this page of items.", @@ -4171,6 +4173,7 @@ This error response may have one of the following `type` values: }, "AbstractPagedBodyFields": { "docs": "Common properties of collection page responses.", + "inline": undefined, "properties": { "limit": { "default": 100, @@ -4205,6 +4208,7 @@ This error response may have one of the following `type` values: "AbstractBody", "AccountFields", ], + "inline": undefined, "properties": { "allows": { "docs": "Flags which indicate the permissions the current authorized user has on this account resource.", @@ -4276,6 +4280,7 @@ This error response may have one of the following `type` values: }, "AccountBalance": { "docs": "The current balances of the given account.", + "inline": undefined, "properties": { "available": { "docs": "The available balance: the funds available for use. This is the string representation of the exact decimal amount.", @@ -4311,6 +4316,7 @@ This error response may have one of the following `type` values: "extends": [ "AbstractBody", ], + "inline": undefined, "properties": { "items": { "docs": "An array of items, one for each of the `?accounts=` in the request, returned in the same order.", @@ -4323,6 +4329,7 @@ This error response may have one of the following `type` values: }, "AccountFields": { "docs": "Fragment schema use to build other account schemas.", + "inline": undefined, "properties": { "id": { "docs": "The unique identifier for this account resource. This is an immutable opaque string.", @@ -4362,6 +4369,7 @@ This error response may have one of the following `type` values: }, "AccountItem": { "docs": "An account item in a list items in the `accounts` schema.", + "inline": undefined, "properties": { "allows": { "type": "AccountPermissions", @@ -4397,6 +4405,7 @@ This error response may have one of the following `type` values: "extends": [ "AbstractBody", ], + "inline": undefined, "properties": { "id": "ReadOnlyResourceId", "name": { @@ -4416,6 +4425,7 @@ This error response may have one of the following `type` values: }, "AccountJointOwners": { "docs": undefined, + "inline": undefined, "properties": { "items": { "docs": "An array containing account joint owner items.", @@ -4453,6 +4463,7 @@ Account transfers are only allowed between `internal` and `external` accounts. A }, "AccountPermissions": { "docs": "Flags which indicate the permissions the current authorized user has on this account item resource. Most of these properties may only be `true` for internal accounts. These permissions are available in account items in the [`accounts`](#schema-accounts) list. See [`fullAccountPermissions`](#schema-fullAccountPermissions) for all capabilities a customer has on an account (the `account.allows` object in the [`account`](#schema-account) object response from [`getAccount`](#op-getAccount).)", + "inline": undefined, "properties": { "billPay": { "docs": "If `true`, the customer may use this account for Bill Pay.", @@ -4502,6 +4513,7 @@ Account transfers are only allowed between `internal` and `external` accounts. A "extends": [ "AbstractBody", ], + "inline": undefined, "properties": { "count": { "docs": "The total number of accounts for which the user has access. This value ignores any filters. This value is _optional_ and may be omitted if the count is not computable efficiently.", @@ -4664,6 +4676,7 @@ Account transfers are only allowed between `internal` and `external` accounts. A "extends": [ "AddressFields", ], + "inline": undefined, "properties": { "postalCode": { "docs": "The postal code, which varies in format by country. If `countryCode` is `US`, this should be a five digit US ZIP code or ten character ZIP+4.", @@ -4702,6 +4715,7 @@ Account transfers are only allowed between `internal` and `external` accounts. A }, "AddressFields": { "docs": "Properties of a simple address, used to compose other addresses.", + "inline": undefined, "properties": { "address1": { "docs": "The first line of the postal address. In the US, this typically includes the building number and street name.", @@ -4760,6 +4774,7 @@ Account transfers are only allowed between `internal` and `external` accounts. A }, "ApiProblem": { "docs": "API problem or error, as per [RFC 7807 application/problem+json](https://tools.ietf.org/html/rfc7807).", + "inline": undefined, "properties": { "attributes": { "docs": "Additional optional attributes related to the problem. This data conforms to the schema associated with the error type.", @@ -4816,6 +4831,7 @@ Account transfers are only allowed between `internal` and `external` accounts. A }, "ChallengeFactor": { "docs": "An challenge factor. See [`requiredIdentityChallenge`](#schema-requiredIdentityChallenge) for multiple examples.", + "inline": undefined, "properties": { "labels": { "docs": "A list of text label which identifies the channel(s) though which the user completes the challenge. For an `sms` or `voice` challenge, the only label item is the last four digits of the corresponding phone number. For an `email` challenge, each label is the masked email address.", @@ -4889,6 +4905,7 @@ Account transfers are only allowed between `internal` and `external` accounts. A }, "ChallengeSecurityQuestion": { "docs": "A single security question within the `questions` array of the [`challengeSecurityQuestions`](#schema-challengeSecurityQuestions)", + "inline": undefined, "properties": { "id": { "docs": "The unique ID of security question prompt. This should be included in the [`challengeVerification`](#schema-challengeVerification) response as the `promptId`.", @@ -4911,6 +4928,7 @@ Account transfers are only allowed between `internal` and `external` accounts. A }, "ChallengeSecurityQuestions": { "docs": "Describes a `securityQuestions` challenge. This is omitted if the challenge `type` is not `securityQuestions`.", + "inline": undefined, "properties": { "questions": { "docs": "The array of security questions.", @@ -4947,6 +4965,7 @@ Account transfers are only allowed between `internal` and `external` accounts. A }, "CutoffTime": { "docs": "A representation of a cutoff time for a money movement process at a financial institution.", + "inline": undefined, "properties": { "time": { "docs": "The cutoff time for a product formatted in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339) `time` format: `hh:mm`. The time is expressed in 24 hour time and is set to the local time zone of the financial institution.", @@ -5021,6 +5040,7 @@ Account transfers are only allowed between `internal` and `external` accounts. A "extends": [ "AbstractBody", ], + "inline": undefined, "properties": { "items": { "docs": "A list of cutoff times for a financial institution.", @@ -5055,6 +5075,7 @@ The client can use this value to localize the `items[].time` values to the local "extends": [ "AbstractBody", ], + "inline": undefined, "properties": { "items": "unknown", "limit": { @@ -5155,6 +5176,7 @@ The client can use this value to localize the `items[].time` values to the local "extends": [ "AccountPermissions", ], + "inline": undefined, "properties": { "manageJointOwners": { "docs": "If `true`, the customer can list the other joint owners on the account and invite new joint owners.", @@ -5174,6 +5196,7 @@ The client can use this value to localize the `items[].time` values to the local "extends": [ "AbstractBody", ], + "inline": undefined, "properties": { "incompleteAccounts": { "docs": "Pass these values as the `?accounts=` query parameter on the next retry of the [`listAccountBalances`](#op-listAccountBalances) operation. This value is empty if the client has reached the retry limit.", @@ -5204,6 +5227,7 @@ The client can use this value to localize the `items[].time` values to the local "extends": [ "AbstractBody", ], + "inline": undefined, "properties": { "retryCount": { "docs": "Pass this value as the as the `?retryCount=` parameter with the next retry of the [`listTransactions`](#op-listTransactions) operation.", @@ -5271,6 +5295,7 @@ The client can use this value to localize the `items[].time` values to the local "extends": [ "AbstractBody", ], + "inline": undefined, "properties": { "found": { "docs": "`true` if a financial institution was found matching the requested FI locator, `false` if none was found.", @@ -5295,6 +5320,7 @@ The client can use this value to localize the `items[].time` values to the local "AbstractBody", "JointOwnerInvitationFields", ], + "inline": undefined, "properties": { "id": { "docs": "The unique ID of the invitation.", @@ -5307,6 +5333,7 @@ The client can use this value to localize the `items[].time` values to the local }, "JointOwnerInvitationFields": { "docs": "Fields used to compose other joint owner invitation schemas.", + "inline": undefined, "properties": { "disallowDebitCardAccess": { "default": false, @@ -5390,6 +5417,7 @@ The client can use this value to localize the `items[].time` values to the local }, "OverdraftAccountFields": { "docs": "Fields of an overdraft protection account, used to compose other schemas.", + "inline": undefined, "properties": { "id": { "docs": "The unique ID of the account resource. Use this as the `{accountId}` in [`getAccount`](#op-getAccount) or [`listAccountBalances`](#op-listAccountBalances).", @@ -5423,6 +5451,7 @@ The client can use this value to localize the `items[].time` values to the local "AbstractBody", "OverdraftProtectionFields", ], + "inline": undefined, "properties": { "maximumOverdraftAccounts": { "docs": "The maximum number of overdraft protection accounts that may be linked to the account.", @@ -5442,6 +5471,7 @@ The client can use this value to localize the `items[].time` values to the local }, "OverdraftProtectionFields": { "docs": "Fields used to compose other overdraft protection schemas.", + "inline": undefined, "properties": { "accounts": { "type": "optional", @@ -5467,6 +5497,7 @@ The client can use this value to localize the `items[].time` values to the local "AbstractBody", "ApiProblem", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -5474,6 +5505,7 @@ The client can use this value to localize the `items[].time` values to the local }, "ProductReference": { "docs": "A reference to a banking product.", + "inline": undefined, "properties": { "code": { "docs": "The product's product code. Codes are unique to the financial institution.", @@ -5574,6 +5606,7 @@ The client can use this value to localize the `items[].time` values to the local }, "RequiredIdentityChallenge": { "docs": "A request from the service for the user to verify their identity. This contains a challenge ID, the corresponding operation ID, and a list of challenge factors for identity verification. The user must complete one of these challenge factors to satisfy the challenge. This schema defines the attributes in the 401 [Unauthorized problem response](#schema-apiProblem) when the 401 problem type name is `challengeRequired`. See the "Challenge API" for details.", + "inline": undefined, "properties": { "challengeId": { "docs": "The unique ID of this challenge instance. This is an opaque string. This is passed when starting a challenge factor or when validating the identity challenge responses.", @@ -5604,6 +5637,7 @@ The client can use this value to localize the `items[].time` values to the local }, "SimpleInstitution": { "docs": "A simple representation of a financial institution.", + "inline": undefined, "properties": { "address": { "docs": "The financial institution's postal mailing address.", @@ -5650,6 +5684,7 @@ The client can use this value to localize the `items[].time` values to the local }, "TimestampFields": { "docs": "Timestamps which describe when a resource was created or last updated.", + "inline": undefined, "properties": { "createdAt": { "docs": "The date-time when this resource was created, in [RFC 3339](https://tools.ietf.org/html/rfc3339) date-time `YYYY-MM-DDThh:mm:ss.sssZ` format, UTC. This is derived and immutable.", @@ -5666,6 +5701,7 @@ The client can use this value to localize the `items[].time` values to the local }, "TransactionCategories": { "docs": undefined, + "inline": undefined, "properties": { "items": { "docs": "An array containing transaction category items.", @@ -5678,6 +5714,7 @@ The client can use this value to localize the `items[].time` values to the local }, "TransactionCategorization": { "docs": "The transaction categorization.", + "inline": undefined, "properties": { "id": { "docs": "The unique ID of this transaction's category.", @@ -5703,6 +5740,7 @@ The client can use this value to localize the `items[].time` values to the local "AbstractBody", "TransactionCategorization", ], + "inline": undefined, "properties": { "type": { "type": "TransactionCategoryType", @@ -5754,6 +5792,7 @@ The client can use this value to localize the `items[].time` values to the local }, "TransactionCheck": { "docs": "Describes a check associated with a transaction for a checking account. This object is only present if the transaction `type` is `debit` and the `subtype` is `check`.", + "inline": undefined, "properties": { "imageBack_url": { "docs": "The URL for downloading the image of the front of the check.", @@ -5793,6 +5832,7 @@ The client can use this value to localize the `items[].time` values to the local }, "TransactionFields": { "docs": "Common fields of the transaction resource used to build other model schemas.", + "inline": undefined, "properties": { "amount": { "docs": "The transaction amount in dollars. This value is negative if the transaction is a debit and positive if it is a credit.", @@ -5812,7 +5852,6 @@ The client can use this value to localize the `items[].time` values to the local "createdOn": { "availability": "deprecated", "docs": "The date when the transaction occurred in `YYYY-MM-DD` [RFC 3339](https://tools.ietf.org/html/rfc3339) `date` format. This is derived and immutable.
**Warning**: The property `createdOn` was deprecated on version `v2.1.0` of the schema. Use the `occurredOn` property instead. `createdOn` will be removed on version `v3.0.0` of the schema.", - "inline": undefined, "type": "optional", "validation": { "format": "date", @@ -5871,7 +5910,6 @@ The client can use this value to localize the `items[].time` values to the local "postedOn": { "availability": "deprecated", "docs": "The date when this transaction was posted (cleared and applied to the account balance) in [RFC 3339](https://tools.ietf.org/html/rfc3339) date `YYYY-MM-DD` format, UTC. This is derived and immutable and only present if `posted` is `true`.
**Warning**: The property `postedOn` was deprecated on version `v2.1.0` of the schema. Use the `occurredOn` property instead. `postedOn` will be removed on version `v3.0.0` of the schema.", - "inline": undefined, "type": "optional", "validation": { "format": "date", @@ -5899,6 +5937,7 @@ The client can use this value to localize the `items[].time` values to the local "AbstractBody", "TransactionFields", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -5906,6 +5945,7 @@ The client can use this value to localize the `items[].time` values to the local }, "TransactionMerchant": { "docs": "Describes the merchant associated with a transaction.", + "inline": undefined, "properties": { "logo_url": { "docs": "The optional URL of the merchant's logo. This image must be an image resource (SVG, PNG, GIF, JPEG image) that does not require any authentication. The URL may contain query parameters.", @@ -6012,6 +6052,7 @@ The client can use this value to localize the `items[].time` values to the local "extends": [ "AbstractPagedBody", ], + "inline": undefined, "properties": { "count": { "docs": "The total number of transactions which satisfy the request filters. This is optional and only included if the service can calculate it.", @@ -6039,6 +6080,7 @@ The client can use this value to localize the `items[].time` values to the local "AbstractBody", "TransferItem", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -6046,6 +6088,7 @@ The client can use this value to localize the `items[].time` values to the local }, "TransferAccountReference": { "docs": "A reference to a banking account used within an account to account transfer. This object may be set from an account's `account.reference` object.", + "inline": undefined, "properties": { "id": { "docs": "The unique ID of a banking account.", @@ -6076,6 +6119,7 @@ The client can use this value to localize the `items[].time` values to the local }, "TransferDateRestriction": { "docs": "A date where a transfer restriction occurs, and the `reason` it is restricted. If the `reason` is `holiday`, `closure` and the transfer is an ACH transfer, the object also contains either a `debitOn` or `creditOn` date or both.", + "inline": undefined, "properties": { "creditOn": { "docs": "The date the local financial institution account is credited in [RFC 3339 `YYYY-MM-DD`](https://tools.ietf.org/html/rfc3339) date format. This is derived from the `date` based on the `risk` level. The credit-on date normally falls one business day after the restricted `date`. This property is only returned if the payment `type` is `achDebit` or `ach`.", @@ -6172,6 +6216,7 @@ The response may include dates prior to requested the start date, as that is use "extends": [ "AbstractBody", ], + "inline": undefined, "properties": { "accuracyEndsOn": { "docs": "The service only knows [bank holidays](https://www.federalreserve.gov/aboutthefed/k8.htm) for about two to four years in advance. This date is the end of that known holiday schedule, although the requested dates may extend well beyond this date. Any dates in the response beyond this date may omit holidays but may include other restricted dates based on the financial institution's normal scheduled closures such as Saturdays and Sundays.", @@ -6194,6 +6239,7 @@ The response may include dates prior to requested the start date, as that is use }, "TransferFields": { "docs": "Common fields of the transfer resource used to build other model schemas.", + "inline": undefined, "properties": { "amount": { "docs": "The amount of money to transfer between accounts.", @@ -6313,6 +6359,7 @@ The response may include dates prior to requested the start date, as that is use "TransferFields", "TimestampFields", ], + "inline": undefined, "properties": { "id": { "docs": "The unique identifier for this transfer resource. This is an immutable opaque string.", @@ -6350,6 +6397,7 @@ The response may include dates prior to requested the start date, as that is use "extends": [ "TransferSchedule", ], + "inline": undefined, "properties": { "creditsOn": { "docs": "The effective the transfer is scheduled to credit the target account, in `YYYY-MM-DD` [RFC 3339](https://tools.ietf.org/html/rfc3339) `date` format. This is derived from the `scheduledOn` date, based on the financial institution's transfer rules.", @@ -6410,6 +6458,7 @@ The response may include dates prior to requested the start date, as that is use "docs": "The scheduled date when the transfer should be completed, the recurrence, if any, and other derived dates based on the scheduled date. For recurring transfer schedules, `endsOn`, `count`, and `amountLimit` are mutually exclusive.", + "inline": undefined, "properties": { "amountLimit": { "docs": "For recurring schedules (`frequency` is not `once`), this is the total dollar amount limit including the first transfer. No transfers are scheduled if they would exceed this amount. This property is ignored if `frequency` is `once`.", @@ -6495,6 +6544,7 @@ For recurring transfer schedules, `endsOn`, `count`, and `amountLimit` are mutua }, "TransferScheduleItem": { "docs": "Summary representation of a transfer schedule resource in transfer schedule list.", + "inline": undefined, "properties": { "effectiveOn": { "docs": "The effective date of the recurrence in `YYYY-MM-DD` [RFC 3339](https://tools.ietf.org/html/rfc3339) date format. When the effective date differs from the scheduled date, it is due to a banking holiday, weekend, or other non-business day. The date is adjusted to before the scheduled date when the transfer direction is `credit` and adjusted to after the scheduled date when the transfer direction is `debit`.", @@ -6526,6 +6576,7 @@ For recurring transfer schedules, `endsOn`, `count`, and `amountLimit` are mutua "extends": [ "AbstractBody", ], + "inline": undefined, "properties": { "items": { "docs": "An array containing upcoming transfer schedule items.", @@ -6645,6 +6696,7 @@ For recurring transfer schedules, `endsOn`, `count`, and `amountLimit` are mutua "extends": [ "AbstractPagedBody", ], + "inline": undefined, "properties": { "count": { "docs": "The number of transfers that meet the filters in the `listTransfers` operation. This is optional and only included if the service can calculate it efficiently.", @@ -6671,6 +6723,7 @@ For recurring transfer schedules, `endsOn`, `count`, and `amountLimit` are mutua "extends": [ "SimpleInstitution", ], + "inline": undefined, "properties": { "localClearingCode": { "docs": "The clearing code used to identify the financial institution for select countries.", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/application-json.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/application-json.json index e2c70ce1468..38a6d0941a4 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/application-json.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/application-json.json @@ -65,6 +65,7 @@ "types": { "Data": { "docs": undefined, + "inline": undefined, "properties": { "bar": "optional", "foo": "optional", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/aries.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/aries.json index a916f8ae779..ce5781685ec 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/aries.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/aries.json @@ -89,6 +89,7 @@ "types": { "AMLRecord": { "docs": undefined, + "inline": undefined, "properties": { "aml": { "type": "optional>", @@ -106,6 +107,7 @@ }, "ActionMenuFetchResult": { "docs": undefined, + "inline": undefined, "properties": { "result": { "type": "optional", @@ -122,10 +124,10 @@ "ActionMenuModulesResult": "map", "AdminConfig": { "docs": undefined, + "inline": undefined, "properties": { "config": { "docs": "Configuration settings", - "inline": true, "type": "optional", }, }, @@ -135,6 +137,7 @@ }, "AdminConfigConfig": { "docs": "Configuration settings", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -142,6 +145,7 @@ }, "AdminModules": { "docs": undefined, + "inline": undefined, "properties": { "result": { "docs": "List of admin modules", @@ -156,10 +160,10 @@ "AdminShutdown": "map", "AdminStatus": { "docs": undefined, + "inline": undefined, "properties": { "conductor": { "docs": "Conductor statistics", - "inline": true, "type": "optional", }, "label": { @@ -168,7 +172,6 @@ }, "timing": { "docs": "Timing results", - "inline": true, "type": "optional", }, "version": { @@ -182,6 +185,7 @@ }, "AdminStatusConductor": { "docs": "Conductor statistics", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -189,6 +193,7 @@ }, "AdminStatusLiveliness": { "docs": undefined, + "inline": undefined, "properties": { "alive": { "docs": "Liveliness status", @@ -201,6 +206,7 @@ }, "AdminStatusReadiness": { "docs": undefined, + "inline": undefined, "properties": { "ready": { "docs": "Readiness status", @@ -213,6 +219,7 @@ }, "AdminStatusTiming": { "docs": "Timing results", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -220,6 +227,7 @@ }, "AttachDecorator": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Attachment identifier", @@ -261,6 +269,7 @@ }, "AttachDecoratorData": { "docs": undefined, + "inline": undefined, "properties": { "base64": { "docs": "Base64-encoded data", @@ -300,6 +309,7 @@ }, "AttachDecoratorData1Jws": { "docs": undefined, + "inline": undefined, "properties": { "header": { "type": "AttachDecoratorDataJWSHeader", @@ -331,6 +341,7 @@ }, "AttachDecoratorDataJWS": { "docs": undefined, + "inline": undefined, "properties": { "header": { "type": "optional", @@ -366,6 +377,7 @@ }, "AttachDecoratorDataJWSHeader": { "docs": undefined, + "inline": undefined, "properties": { "kid": { "docs": "Key identifier, in W3C did:key or DID URL format", @@ -388,6 +400,7 @@ }, "AttachmentDef": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "Attachment identifier", @@ -420,6 +433,7 @@ }, "AttributeMimeTypesResult": { "docs": undefined, + "inline": undefined, "properties": { "results": { "type": "optional>>", @@ -432,29 +446,24 @@ "BasicMessageModuleResponse": "map", "ClaimFormat": { "docs": undefined, + "inline": undefined, "properties": { "jwt": { - "inline": true, "type": "optional", }, "jwt_vc": { - "inline": true, "type": "optional", }, "jwt_vp": { - "inline": true, "type": "optional", }, "ldp": { - "inline": true, "type": "optional", }, "ldp_vc": { - "inline": true, "type": "optional", }, "ldp_vp": { - "inline": true, "type": "optional", }, }, @@ -464,6 +473,7 @@ }, "ClaimFormatJwtVc": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -471,6 +481,7 @@ }, "ClaimFormatJwtVp": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -478,6 +489,7 @@ }, "ClaimFormatLdpVc": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -485,6 +497,7 @@ }, "ClaimFormatLdpVp": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -492,6 +505,7 @@ }, "ConnRecord": { "docs": undefined, + "inline": undefined, "properties": { "accept": { "docs": "Connection acceptance: manual or auto", @@ -671,6 +685,7 @@ }, "ConnectionInvitation": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -717,6 +732,7 @@ }, "ConnectionList": { "docs": undefined, + "inline": undefined, "properties": { "results": { "docs": "List of connection records", @@ -729,10 +745,10 @@ }, "ConnectionMetadata": { "docs": undefined, + "inline": undefined, "properties": { "results": { "docs": "Dictionary of metadata associated with connection.", - "inline": true, "type": "optional", }, }, @@ -742,6 +758,7 @@ }, "ConnectionMetadataResults": { "docs": "Dictionary of metadata associated with connection.", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -750,6 +767,7 @@ "ConnectionModuleResponse": "map", "ConnectionStaticResult": { "docs": undefined, + "inline": undefined, "properties": { "my_did": { "docs": "Local DID", @@ -811,6 +829,7 @@ }, "Constraints": { "docs": undefined, + "inline": undefined, "properties": { "fields": { "type": "optional>", @@ -882,6 +901,7 @@ }, "CreateWalletResponse": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "Time of record creation", @@ -899,7 +919,6 @@ }, "settings": { "docs": "Settings for this wallet.", - "inline": true, "type": "optional", }, "state": { @@ -941,6 +960,7 @@ }, "CreateWalletResponseSettings": { "docs": "Settings for this wallet.", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -948,6 +968,7 @@ }, "CreateWalletTokenResponse": { "docs": undefined, + "inline": undefined, "properties": { "token": { "docs": "Authorization token to authenticate wallet requests", @@ -960,6 +981,7 @@ }, "CredAttrSpec": { "docs": undefined, + "inline": undefined, "properties": { "mime-type": { "docs": "MIME type: omit for (null) default", @@ -980,6 +1002,7 @@ }, "CredDefValue": { "docs": undefined, + "inline": undefined, "properties": { "primary": { "type": "optional", @@ -994,6 +1017,7 @@ }, "CredDefValuePrimary": { "docs": undefined, + "inline": undefined, "properties": { "n": { "type": "optional", @@ -1041,6 +1065,7 @@ }, "CredDefValueRevocation": { "docs": undefined, + "inline": undefined, "properties": { "g": { "type": "optional", @@ -1082,6 +1107,7 @@ }, "CredInfoList": { "docs": undefined, + "inline": undefined, "properties": { "results": { "type": "optional>", @@ -1093,10 +1119,10 @@ }, "CredRevIndyRecordsResult": { "docs": undefined, + "inline": undefined, "properties": { "rev_reg_delta": { "docs": "Indy revocation registry delta", - "inline": true, "type": "optional", }, }, @@ -1106,6 +1132,7 @@ }, "CredRevIndyRecordsResultRevRegDelta": { "docs": "Indy revocation registry delta", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -1113,6 +1140,7 @@ }, "CredRevRecordDetailsResult": { "docs": undefined, + "inline": undefined, "properties": { "results": { "type": "optional>", @@ -1124,6 +1152,7 @@ }, "CredRevRecordResult": { "docs": undefined, + "inline": undefined, "properties": { "result": { "type": "optional", @@ -1135,6 +1164,7 @@ }, "CredRevokedResult": { "docs": undefined, + "inline": undefined, "properties": { "revoked": { "docs": "Whether credential is revoked on the ledger", @@ -1147,6 +1177,7 @@ }, "Credential": { "docs": undefined, + "inline": undefined, "properties": { "@context": { "docs": "The JSON-LD context of the credential", @@ -1202,6 +1233,7 @@ }, "CredentialDefinition": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "Credential definition identifier", @@ -1245,6 +1277,7 @@ }, "CredentialDefinitionGetResult": { "docs": undefined, + "inline": undefined, "properties": { "credential_definition": { "type": "optional", @@ -1256,6 +1289,7 @@ }, "CredentialDefinitionSendResult": { "docs": undefined, + "inline": undefined, "properties": { "credential_definition_id": { "docs": "Credential definition identifier", @@ -1278,6 +1312,7 @@ }, "CredentialDefinitionsCreatedResult": { "docs": undefined, + "inline": undefined, "properties": { "credential_definition_ids": { "type": "optional>", @@ -1289,6 +1324,7 @@ }, "CredentialOffer": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -1315,6 +1351,7 @@ }, "CredentialPreview": { "docs": undefined, + "inline": undefined, "properties": { "@type": { "docs": "Message type identifier", @@ -1332,6 +1369,7 @@ }, "CredentialProposal": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -1403,6 +1441,7 @@ }, "CredentialStatusOptions": { "docs": undefined, + "inline": undefined, "properties": { "type": { "docs": "Credential status method type to use for the credential. Should match status method registered in the Verifiable Credential Extension Registry", @@ -1415,6 +1454,7 @@ }, "DID": { "docs": undefined, + "inline": undefined, "properties": { "did": { "docs": "DID of interest", @@ -1455,6 +1495,7 @@ }, "DIDCreateOptions": { "docs": undefined, + "inline": undefined, "properties": { "did": { "docs": "Specify final value of the did (including did:: prefix)if the method supports or requires so.", @@ -1477,6 +1518,7 @@ }, "DIDEndpoint": { "docs": undefined, + "inline": undefined, "properties": { "did": { "docs": "DID of interest", @@ -1505,6 +1547,7 @@ }, "DIDList": { "docs": undefined, + "inline": undefined, "properties": { "results": { "docs": "DID list", @@ -1517,6 +1560,7 @@ }, "DIDResult": { "docs": undefined, + "inline": undefined, "properties": { "result": { "type": "optional", @@ -1528,6 +1572,7 @@ }, "DIFField": { "docs": undefined, + "inline": undefined, "properties": { "filter": { "type": "optional", @@ -1554,6 +1599,7 @@ }, "DIFHolder": { "docs": undefined, + "inline": undefined, "properties": { "directive": { "docs": "Preference", @@ -1569,6 +1615,7 @@ }, "DIFOptions": { "docs": undefined, + "inline": undefined, "properties": { "challenge": { "docs": "Challenge protect against replay attack", @@ -1591,6 +1638,7 @@ }, "DIFPresSpec": { "docs": undefined, + "inline": undefined, "properties": { "issuer_id": { "docs": "Issuer identifier to sign the presentation, if different from current public DID", @@ -1601,12 +1649,10 @@ }, "record_ids": { "docs": "Mapping of input_descriptor id to list of stored W3C credential record_id", - "inline": true, "type": "optional", }, "reveal_doc": { "docs": "reveal doc [JSON-LD frame] dict used to derive the credential when selective disclosure is required", - "inline": true, "type": "optional", }, }, @@ -1616,6 +1662,7 @@ }, "DIFProofProposal": { "docs": undefined, + "inline": undefined, "properties": { "input_descriptors": { "type": "optional>", @@ -1630,6 +1677,7 @@ }, "DIFProofRequest": { "docs": undefined, + "inline": undefined, "properties": { "options": { "type": "optional", @@ -1683,6 +1731,7 @@ }, "DifPresSpecRecordIds": { "docs": "Mapping of input_descriptor id to list of stored W3C credential record_id", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -1690,6 +1739,7 @@ }, "DifPresSpecRevealDoc": { "docs": "reveal doc [JSON-LD frame] dict used to derive the credential when selective disclosure is required", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -1697,6 +1747,7 @@ }, "Disclose": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -1717,6 +1768,7 @@ }, "Disclosures": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -1737,10 +1789,10 @@ }, "Doc": { "docs": undefined, + "inline": undefined, "properties": { "credential": { "docs": "Credential to sign", - "inline": true, "type": "DocCredential", }, "options": "DocOptions", @@ -1751,6 +1803,7 @@ }, "DocCredential": { "docs": "Credential to sign", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -1762,6 +1815,7 @@ }, "EndorserInfo": { "docs": undefined, + "inline": undefined, "properties": { "endorser_did": { "docs": "Endorser DID", @@ -1778,6 +1832,7 @@ }, "EndpointsResult": { "docs": undefined, + "inline": undefined, "properties": { "my_endpoint": { "docs": "My endpoint", @@ -1806,6 +1861,7 @@ }, "Filter": { "docs": undefined, + "inline": undefined, "properties": { "const": { "docs": "Const", @@ -1861,6 +1917,7 @@ }, "Generated": { "docs": undefined, + "inline": undefined, "properties": { "master_secret": { "type": "optional", @@ -1896,6 +1953,7 @@ }, "GetDIDEndpointResponse": { "docs": undefined, + "inline": undefined, "properties": { "endpoint": { "docs": "Full verification key", @@ -1914,6 +1972,7 @@ }, "GetDIDVerkeyResponse": { "docs": undefined, + "inline": undefined, "properties": { "verkey": { "docs": "Full verification key", @@ -1932,6 +1991,7 @@ }, "GetNymRoleResponse": { "docs": undefined, + "inline": undefined, "properties": { "role": { "docs": "Ledger role", @@ -1959,6 +2019,7 @@ "HolderModuleResponse": "map", "IndyAttrValue": { "docs": undefined, + "inline": undefined, "properties": { "encoded": { "docs": "Attribute encoded value", @@ -1981,6 +2042,7 @@ }, "IndyCredAbstract": { "docs": undefined, + "inline": undefined, "properties": { "cred_def_id": { "docs": "Credential definition identifier", @@ -2024,6 +2086,7 @@ }, "IndyCredInfo": { "docs": undefined, + "inline": undefined, "properties": { "attrs": { "docs": "Attribute names and value", @@ -2080,6 +2143,7 @@ }, "IndyCredPrecis": { "docs": undefined, + "inline": undefined, "properties": { "cred_info": { "type": "optional", @@ -2105,15 +2169,14 @@ }, "IndyCredRequest": { "docs": undefined, + "inline": undefined, "properties": { "blinded_ms": { "docs": "Blinded master secret", - "inline": true, "type": "IndyCredRequestBlindedMs", }, "blinded_ms_correctness_proof": { "docs": "Blinded master secret correctness proof", - "inline": true, "type": "IndyCredRequestBlindedMsCorrectnessProof", }, "cred_def_id": { @@ -2153,6 +2216,7 @@ }, "IndyCredRequestBlindedMs": { "docs": "Blinded master secret", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -2160,6 +2224,7 @@ }, "IndyCredRequestBlindedMsCorrectnessProof": { "docs": "Blinded master secret correctness proof", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -2167,6 +2232,7 @@ }, "IndyCredential": { "docs": undefined, + "inline": undefined, "properties": { "cred_def_id": { "docs": "Credential definition identifier", @@ -2180,7 +2246,6 @@ }, "rev_reg": { "docs": "Revocation registry state", - "inline": true, "type": "optional", }, "rev_reg_id": { @@ -2205,12 +2270,10 @@ }, "signature": { "docs": "Credential signature", - "inline": true, "type": "signature", }, "signature_correctness_proof": { "docs": "Credential signature correctness proof", - "inline": true, "type": "IndyCredentialSignatureCorrectnessProof", }, "values": { @@ -2219,7 +2282,6 @@ }, "witness": { "docs": "Witness for revocation proof", - "inline": true, "type": "optional", }, }, @@ -2229,6 +2291,7 @@ }, "IndyCredentialRevReg": { "docs": "Revocation registry state", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -2236,6 +2299,7 @@ }, "IndyCredentialSignatureCorrectnessProof": { "docs": "Credential signature correctness proof", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -2247,6 +2311,7 @@ }, "IndyEQProof": { "docs": undefined, + "inline": undefined, "properties": { "a_prime": { "type": "optional", @@ -2297,6 +2362,7 @@ }, "IndyGEProof": { "docs": undefined, + "inline": undefined, "properties": { "alpha": { "type": "optional", @@ -2335,6 +2401,7 @@ }, "IndyGEProofPred": { "docs": undefined, + "inline": undefined, "properties": { "attr_name": { "docs": "Attribute name, indy-canonicalized", @@ -2367,6 +2434,7 @@ }, "IndyKeyCorrectnessProof": { "docs": undefined, + "inline": undefined, "properties": { "c": { "docs": "c in key correctness proof", @@ -2399,6 +2467,7 @@ }, "IndyNonRevocProof": { "docs": undefined, + "inline": undefined, "properties": { "c_list": { "type": "optional>", @@ -2413,6 +2482,7 @@ }, "IndyNonRevocationInterval": { "docs": undefined, + "inline": undefined, "properties": { "from": { "docs": "Earliest time of interest in non-revocation interval", @@ -2443,6 +2513,7 @@ }, "IndyPresAttrSpec": { "docs": undefined, + "inline": undefined, "properties": { "cred_def_id": { "type": "optional", @@ -2476,6 +2547,7 @@ }, "IndyPresPredSpec": { "docs": undefined, + "inline": undefined, "properties": { "cred_def_id": { "docs": "Credential definition identifier", @@ -2530,6 +2602,7 @@ }, "IndyPresPreview": { "docs": undefined, + "inline": undefined, "properties": { "@type": { "docs": "Message type identifier", @@ -2544,6 +2617,7 @@ }, "IndyPresSpec": { "docs": undefined, + "inline": undefined, "properties": { "requested_attributes": { "docs": "Nested object mapping proof request attribute referents to requested-attribute specifiers", @@ -2568,6 +2642,7 @@ }, "IndyPrimaryProof": { "docs": undefined, + "inline": undefined, "properties": { "eq_proof": { "type": "optional", @@ -2587,6 +2662,7 @@ }, "IndyProof": { "docs": undefined, + "inline": undefined, "properties": { "identifiers": { "docs": "Indy proof.identifiers content", @@ -2605,6 +2681,7 @@ }, "IndyProofIdentifier": { "docs": undefined, + "inline": undefined, "properties": { "cred_def_id": { "docs": "Credential definition identifier", @@ -2654,6 +2731,7 @@ }, "IndyProofProof": { "docs": undefined, + "inline": undefined, "properties": { "aggregated_proof": { "type": "optional", @@ -2669,6 +2747,7 @@ }, "IndyProofProofAggregatedProof": { "docs": undefined, + "inline": undefined, "properties": { "c_hash": { "docs": "c_hash value", @@ -2685,6 +2764,7 @@ }, "IndyProofProofProofsProof": { "docs": undefined, + "inline": undefined, "properties": { "non_revoc_proof": { "type": "optional", @@ -2707,6 +2787,7 @@ }, "IndyProofReqAttrSpec": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "Attribute name", @@ -2730,6 +2811,7 @@ }, "IndyProofReqAttrSpecNonRevoked": { "docs": undefined, + "inline": undefined, "properties": { "from": { "docs": "Earliest time of interest in non-revocation interval", @@ -2760,6 +2842,7 @@ }, "IndyProofReqPredSpec": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "Attribute name", @@ -2787,6 +2870,7 @@ }, "IndyProofReqPredSpecNonRevoked": { "docs": undefined, + "inline": undefined, "properties": { "from": { "docs": "Earliest time of interest in non-revocation interval", @@ -2841,6 +2925,7 @@ }, "IndyProofRequest": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "Proof request name", @@ -2884,6 +2969,7 @@ }, "IndyProofRequestNonRevoked": { "docs": undefined, + "inline": undefined, "properties": { "from": { "docs": "Earliest time of interest in non-revocation interval", @@ -2914,6 +3000,7 @@ }, "IndyProofRequestedProof": { "docs": undefined, + "inline": undefined, "properties": { "predicates": { "docs": "Proof requested proof predicates.", @@ -2929,12 +3016,10 @@ }, "self_attested_attrs": { "docs": "Proof requested proof self-attested attributes", - "inline": true, "type": "optional", }, "unrevealed_attrs": { "docs": "Unrevealed attributes", - "inline": true, "type": "optional", }, }, @@ -2944,6 +3029,7 @@ }, "IndyProofRequestedProofPredicate": { "docs": undefined, + "inline": undefined, "properties": { "sub_proof_index": { "docs": "Sub-proof index", @@ -2956,6 +3042,7 @@ }, "IndyProofRequestedProofRevealedAttr": { "docs": undefined, + "inline": undefined, "properties": { "encoded": { "docs": "Encoded value", @@ -2982,6 +3069,7 @@ }, "IndyProofRequestedProofRevealedAttrGroup": { "docs": undefined, + "inline": undefined, "properties": { "sub_proof_index": { "docs": "Sub-proof index", @@ -2998,6 +3086,7 @@ }, "IndyProofRequestedProofSelfAttestedAttrs": { "docs": "Proof requested proof self-attested attributes", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -3005,6 +3094,7 @@ }, "IndyProofRequestedProofUnrevealedAttrs": { "docs": "Unrevealed attributes", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -3012,6 +3102,7 @@ }, "IndyRequestedCredsRequestedAttr": { "docs": undefined, + "inline": undefined, "properties": { "cred_id": { "docs": "Wallet credential identifier (typically but not necessarily a UUID)", @@ -3028,6 +3119,7 @@ }, "IndyRequestedCredsRequestedPred": { "docs": undefined, + "inline": undefined, "properties": { "cred_id": { "docs": "Wallet credential identifier (typically but not necessarily a UUID)", @@ -3051,6 +3143,7 @@ }, "IndyRevRegDef": { "docs": undefined, + "inline": undefined, "properties": { "credDefId": { "docs": "Credential definition identifier", @@ -3100,6 +3193,7 @@ }, "IndyRevRegDefValue": { "docs": undefined, + "inline": undefined, "properties": { "issuanceType": { "docs": "Issuance type", @@ -3140,6 +3234,7 @@ }, "IndyRevRegDefValuePublicKeys": { "docs": undefined, + "inline": undefined, "properties": { "accumKey": { "type": "optional", @@ -3151,6 +3246,7 @@ }, "IndyRevRegDefValuePublicKeysAccumKey": { "docs": undefined, + "inline": undefined, "properties": { "z": { "docs": "Value for z", @@ -3163,6 +3259,7 @@ }, "IndyRevRegEntry": { "docs": undefined, + "inline": undefined, "properties": { "value": { "type": "optional", @@ -3184,6 +3281,7 @@ }, "IndyRevRegEntryValue": { "docs": undefined, + "inline": undefined, "properties": { "accum": { "docs": "Accumulator value", @@ -3204,6 +3302,7 @@ }, "InputDescriptors": { "docs": undefined, + "inline": undefined, "properties": { "constraints": { "type": "optional", @@ -3217,7 +3316,6 @@ }, "metadata": { "docs": "Metadata dictionary", - "inline": true, "type": "optional", }, "name": { @@ -3243,6 +3341,7 @@ "IntroModuleResponse": "map", "InvitationMessage": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -3281,6 +3380,7 @@ }, "InvitationRecord": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "Time of record creation", @@ -3340,6 +3440,7 @@ }, "InvitationResult": { "docs": undefined, + "inline": undefined, "properties": { "connection_id": { "docs": "Connection identifier", @@ -3360,6 +3461,7 @@ "IssueCredentialModuleResponse": "map", "IssuerCredRevRecord": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "Time of record creation", @@ -3434,6 +3536,7 @@ }, "IssuerRevRegRecord": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "Time of record creation", @@ -3552,6 +3655,7 @@ }, "Keylist": { "docs": undefined, + "inline": undefined, "properties": { "results": { "docs": "List of keylist records", @@ -3564,6 +3668,7 @@ }, "KeylistQuery": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -3575,7 +3680,6 @@ }, "filter": { "docs": "Query dictionary object", - "inline": true, "type": "optional", }, "paginate": { @@ -3588,6 +3692,7 @@ }, "KeylistQueryFilter": { "docs": "Query dictionary object", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -3595,6 +3700,7 @@ }, "KeylistQueryPaginate": { "docs": undefined, + "inline": undefined, "properties": { "limit": { "docs": "Limit for keylist query", @@ -3611,6 +3717,7 @@ }, "KeylistUpdate": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -3631,6 +3738,7 @@ }, "KeylistUpdateRule": { "docs": undefined, + "inline": undefined, "properties": { "action": { "docs": "Action for specific key", @@ -3663,6 +3771,7 @@ }, "LDProofVCDetail": { "docs": undefined, + "inline": undefined, "properties": { "credential": "LdProofVcDetailCredential", "options": "LdProofVcDetailOptions", @@ -3673,6 +3782,7 @@ }, "LDProofVCDetailOptions": { "docs": undefined, + "inline": undefined, "properties": { "challenge": { "docs": "A challenge to include in the proof. SHOULD be provided by the requesting party of the credential (=holder)", @@ -3722,6 +3832,7 @@ }, "LedgerConfigInstance": { "docs": undefined, + "inline": undefined, "properties": { "genesis_file": { "docs": "genesis_file", @@ -3750,6 +3861,7 @@ }, "LedgerConfigList": { "docs": undefined, + "inline": undefined, "properties": { "ledger_config_list": "list", }, @@ -3760,6 +3872,7 @@ "LedgerModulesResult": "map", "LinkedDataProof": { "docs": undefined, + "inline": undefined, "properties": { "challenge": { "docs": "Associates a challenge with a proof, for use with a proofPurpose such as authentication", @@ -3822,6 +3935,7 @@ }, "MediationDeny": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -3844,6 +3958,7 @@ }, "MediationGrant": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -3867,6 +3982,7 @@ }, "MediationList": { "docs": undefined, + "inline": undefined, "properties": { "results": { "docs": "List of mediation records", @@ -3879,6 +3995,7 @@ }, "MediationRecord": { "docs": undefined, + "inline": undefined, "properties": { "connection_id": "string", "created_at": { @@ -3928,6 +4045,7 @@ }, "Menu": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -3960,6 +4078,7 @@ }, "MenuForm": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "Additional descriptive text for menu form", @@ -3984,6 +4103,7 @@ }, "MenuFormParam": { "docs": undefined, + "inline": undefined, "properties": { "default": { "docs": "Default parameter value", @@ -4016,6 +4136,7 @@ }, "MenuJson": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "Introductory text for the menu", @@ -4040,6 +4161,7 @@ }, "MenuOption": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "Additional descriptive text for menu option", @@ -4068,6 +4190,7 @@ "MultitenantModuleResponse": "map", "OobRecord": { "docs": undefined, + "inline": undefined, "properties": { "attach_thread_id": { "docs": "Connection record identifier", @@ -4169,6 +4292,7 @@ }, "PingRequestResponse": { "docs": undefined, + "inline": undefined, "properties": { "thread_id": { "docs": "Thread ID of the ping message", @@ -4181,6 +4305,7 @@ }, "PresentationDefinition": { "docs": undefined, + "inline": undefined, "properties": { "format": { "type": "optional", @@ -4216,6 +4341,7 @@ }, "PresentationProposal": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -4239,6 +4365,7 @@ }, "PresentationRequest": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -4262,6 +4389,7 @@ }, "ProtocolDescriptor": { "docs": undefined, + "inline": undefined, "properties": { "pid": "string", "roles": { @@ -4275,6 +4403,7 @@ }, "PublishRevocations": { "docs": undefined, + "inline": undefined, "properties": { "rrid2crid": { "docs": "Credential revocation ids by revocation registry id", @@ -4287,6 +4416,7 @@ }, "Queries": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -4306,6 +4436,7 @@ }, "Query": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -4326,6 +4457,7 @@ }, "QueryItem": { "docs": undefined, + "inline": undefined, "properties": { "feature-type": { "docs": "feature type", @@ -4355,6 +4487,7 @@ }, "RawEncoded": { "docs": undefined, + "inline": undefined, "properties": { "encoded": { "docs": "Encoded value", @@ -4377,15 +4510,14 @@ }, "ResolutionResult": { "docs": undefined, + "inline": undefined, "properties": { "did_document": { "docs": "DID Document", - "inline": true, "type": "ResolutionResultDidDocument", }, "metadata": { "docs": "Resolution metadata", - "inline": true, "type": "ResolutionResultMetadata", }, }, @@ -4395,6 +4527,7 @@ }, "ResolutionResultDidDocument": { "docs": "DID Document", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4402,6 +4535,7 @@ }, "ResolutionResultMetadata": { "docs": "Resolution metadata", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4409,6 +4543,7 @@ }, "RevRegIssuedResult": { "docs": undefined, + "inline": undefined, "properties": { "result": { "docs": "Number of credentials issued against revocation registry", @@ -4428,6 +4563,7 @@ }, "RevRegResult": { "docs": undefined, + "inline": undefined, "properties": { "result": { "type": "optional", @@ -4439,20 +4575,18 @@ }, "RevRegWalletUpdatedResult": { "docs": undefined, + "inline": undefined, "properties": { "accum_calculated": { "docs": "Calculated accumulator for phantom revocations", - "inline": true, "type": "optional", }, "accum_fixed": { "docs": "Applied ledger transaction to fix revocations", - "inline": true, "type": "optional", }, "rev_reg_delta": { "docs": "Indy revocation registry delta", - "inline": true, "type": "optional", }, }, @@ -4462,6 +4596,7 @@ }, "RevRegWalletUpdatedResultAccumCalculated": { "docs": "Calculated accumulator for phantom revocations", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4469,6 +4604,7 @@ }, "RevRegWalletUpdatedResultAccumFixed": { "docs": "Applied ledger transaction to fix revocations", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4476,6 +4612,7 @@ }, "RevRegWalletUpdatedResultRevRegDelta": { "docs": "Indy revocation registry delta", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4483,6 +4620,7 @@ }, "RevRegsCreated": { "docs": undefined, + "inline": undefined, "properties": { "rev_reg_ids": { "type": "optional>", @@ -4495,6 +4633,7 @@ "RevocationModuleResponse": "map", "RouteRecord": { "docs": undefined, + "inline": undefined, "properties": { "connection_id": { "type": "optional", @@ -4540,6 +4679,7 @@ }, "Schema": { "docs": undefined, + "inline": undefined, "properties": { "attrNames": { "docs": "Schema attribute names", @@ -4597,6 +4737,7 @@ }, "SchemaGetResult": { "docs": undefined, + "inline": undefined, "properties": { "schema": { "type": "optional", @@ -4608,6 +4749,7 @@ }, "SchemaInputDescriptor": { "docs": undefined, + "inline": undefined, "properties": { "required": { "docs": "Required", @@ -4624,6 +4766,7 @@ }, "SchemaSendResult": { "docs": undefined, + "inline": undefined, "properties": { "schema": { "type": "optional", @@ -4649,6 +4792,7 @@ }, "SchemasCreatedResult": { "docs": undefined, + "inline": undefined, "properties": { "schema_ids": { "type": "optional>", @@ -4660,6 +4804,7 @@ }, "SchemasInputDescriptorFilter": { "docs": undefined, + "inline": undefined, "properties": { "oneof_filter": { "docs": "oneOf", @@ -4679,6 +4824,7 @@ }, "ServiceDecorator": { "docs": undefined, + "inline": undefined, "properties": { "recipientKeys": { "docs": "List of recipient keys", @@ -4699,6 +4845,7 @@ }, "SignResponse": { "docs": undefined, + "inline": undefined, "properties": { "error": { "docs": "Error text", @@ -4706,7 +4853,6 @@ }, "signed_doc": { "docs": "Signed document", - "inline": true, "type": "optional", }, }, @@ -4716,6 +4862,7 @@ }, "SignResponseSignedDoc": { "docs": "Signed document", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4723,6 +4870,7 @@ }, "SignatureOptions": { "docs": undefined, + "inline": undefined, "properties": { "challenge": { "type": "optional", @@ -4742,6 +4890,7 @@ }, "SignedDoc": { "docs": undefined, + "inline": undefined, "properties": { "proof": "SignedDocProof", }, @@ -4755,6 +4904,7 @@ }, "SubmissionRequirements": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "Count Value", @@ -4794,6 +4944,7 @@ }, "TAAAcceptance": { "docs": undefined, + "inline": undefined, "properties": { "mechanism": { "type": "optional", @@ -4815,6 +4966,7 @@ }, "TAAInfo": { "docs": undefined, + "inline": undefined, "properties": { "aml_record": { "type": "optional", @@ -4835,6 +4987,7 @@ }, "TAARecord": { "docs": undefined, + "inline": undefined, "properties": { "digest": { "type": "optional", @@ -4852,6 +5005,7 @@ }, "TAAResult": { "docs": undefined, + "inline": undefined, "properties": { "result": { "type": "optional", @@ -4863,6 +5017,7 @@ }, "TailsDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "message": { "type": "optional", @@ -4874,6 +5029,7 @@ }, "TransactionJobs": { "docs": undefined, + "inline": undefined, "properties": { "transaction_my_job": { "docs": "My transaction related job", @@ -4912,6 +5068,7 @@ }, "TransactionList": { "docs": undefined, + "inline": undefined, "properties": { "results": { "docs": "List of transaction records", @@ -4924,6 +5081,7 @@ }, "TransactionRecord": { "docs": undefined, + "inline": undefined, "properties": { "_type": { "docs": "Transaction type", @@ -4954,7 +5112,6 @@ "type": "optional>", }, "meta_data": { - "inline": true, "type": "optional", }, "signature_request": { @@ -4972,7 +5129,6 @@ "type": "optional", }, "timing": { - "inline": true, "type": "optional", }, "trace": { @@ -5000,6 +5156,7 @@ }, "TransactionRecordMessagesAttachItem": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -5007,6 +5164,7 @@ }, "TransactionRecordMetaData": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -5014,6 +5172,7 @@ }, "TransactionRecordSignatureRequestItem": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -5021,6 +5180,7 @@ }, "TransactionRecordSignatureResponseItem": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -5028,6 +5188,7 @@ }, "TransactionRecordTiming": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -5035,6 +5196,7 @@ }, "TxnOrCredentialDefinitionSendResult": { "docs": undefined, + "inline": undefined, "properties": { "sent": { "type": "optional", @@ -5053,6 +5215,7 @@ }, "TxnOrPublishRevocationsResult": { "docs": undefined, + "inline": undefined, "properties": { "sent": { "type": "optional", @@ -5071,6 +5234,7 @@ }, "TxnOrRegisterLedgerNymResponse": { "docs": undefined, + "inline": undefined, "properties": { "success": { "docs": "Success of nym registration operation", @@ -5090,6 +5254,7 @@ }, "TxnOrRevRegResult": { "docs": undefined, + "inline": undefined, "properties": { "sent": { "type": "optional", @@ -5108,6 +5273,7 @@ }, "TxnOrSchemaSendResult": { "docs": undefined, + "inline": undefined, "properties": { "sent": { "type": "optional", @@ -5134,6 +5300,7 @@ }, "V10CredentialExchange": { "docs": undefined, + "inline": undefined, "properties": { "auto_issue": { "docs": "Issuer choice to issue to request in this credential exchange", @@ -5196,7 +5363,6 @@ }, "credential_request_metadata": { "docs": "(Indy) credential request metadata", - "inline": true, "type": "optional", }, "error_msg": { @@ -5285,6 +5451,7 @@ }, "V10CredentialExchangeCredentialRequestMetadata": { "docs": "(Indy) credential request metadata", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -5302,6 +5469,7 @@ }, "V10CredentialExchangeListResult": { "docs": undefined, + "inline": undefined, "properties": { "results": { "docs": "Aries#0036 v1.0 credential exchange records", @@ -5328,6 +5496,7 @@ }, "V10DiscoveryExchangeListResult": { "docs": undefined, + "inline": undefined, "properties": { "results": { "type": "optional>", @@ -5343,6 +5512,7 @@ }, "V10DiscoveryRecord": { "docs": undefined, + "inline": undefined, "properties": { "connection_id": { "docs": "Connection identifier", @@ -5406,6 +5576,7 @@ "V10PresentProofModuleResponse": "map", "V10PresentationExchange": { "docs": undefined, + "inline": undefined, "properties": { "auto_present": { "docs": "Prover choice to auto-present proof as verifier requests", @@ -5503,6 +5674,7 @@ }, "V10PresentationExchangeList": { "docs": undefined, + "inline": undefined, "properties": { "results": { "docs": "Aries RFC 37 v1.0 presentation exchange records", @@ -5551,6 +5723,7 @@ }, "V20CredAttrSpec": { "docs": undefined, + "inline": undefined, "properties": { "mime-type": { "docs": "MIME type: omit for (null) default", @@ -5579,6 +5752,7 @@ }, "V20CredExFree": { "docs": undefined, + "inline": undefined, "properties": { "auto_remove": { "docs": "Whether to remove the credential exchange record on completion (overrides --preserve-exchange-records configuration setting)", @@ -5617,6 +5791,7 @@ }, "V20CredExRecord": { "docs": undefined, + "inline": undefined, "properties": { "auto_issue": { "docs": "Issuer choice to issue to request in this credential exchange", @@ -5711,21 +5886,18 @@ }, "V20CredExRecordByFormat": { "docs": undefined, + "inline": undefined, "properties": { "cred_issue": { - "inline": true, "type": "optional", }, "cred_offer": { - "inline": true, "type": "optional", }, "cred_proposal": { - "inline": true, "type": "optional", }, "cred_request": { - "inline": true, "type": "optional", }, }, @@ -5735,6 +5907,7 @@ }, "V20CredExRecordByFormatCredIssue": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -5742,6 +5915,7 @@ }, "V20CredExRecordByFormatCredOffer": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -5749,6 +5923,7 @@ }, "V20CredExRecordByFormatCredProposal": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -5756,6 +5931,7 @@ }, "V20CredExRecordByFormatCredRequest": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -5783,6 +5959,7 @@ }, "V20CredExRecordDetail": { "docs": undefined, + "inline": undefined, "properties": { "cred_ex_record": { "type": "optional", @@ -5804,6 +5981,7 @@ }, "V20CredExRecordIndy": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "Time of record creation", @@ -5829,7 +6007,6 @@ }, "cred_request_metadata": { "docs": "Credential request metadata for indy holder", - "inline": true, "type": "optional", }, "cred_rev_id": { @@ -5873,6 +6050,7 @@ }, "V20CredExRecordIndyCredRequestMetadata": { "docs": "Credential request metadata for indy holder", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -5890,6 +6068,7 @@ }, "V20CredExRecordLdProof": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "Time of record creation", @@ -5934,6 +6113,7 @@ }, "V20CredExRecordListResult": { "docs": undefined, + "inline": undefined, "properties": { "results": { "docs": "Credential exchange records and corresponding detail records", @@ -6003,6 +6183,7 @@ }, "V20CredFilter": { "docs": undefined, + "inline": undefined, "properties": { "indy": { "type": "optional", @@ -6017,6 +6198,7 @@ }, "V20CredFilterIndy": { "docs": undefined, + "inline": undefined, "properties": { "cred_def_id": { "docs": "Credential definition identifier", @@ -6083,6 +6265,7 @@ }, "V20CredFormat": { "docs": undefined, + "inline": undefined, "properties": { "attach_id": { "docs": "Attachment identifier", @@ -6099,6 +6282,7 @@ }, "V20CredIssue": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -6131,6 +6315,7 @@ }, "V20CredOffer": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -6166,6 +6351,7 @@ }, "V20CredPreview": { "docs": undefined, + "inline": undefined, "properties": { "@type": { "docs": "Message type identifier", @@ -6179,6 +6365,7 @@ }, "V20CredProposal": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -6214,6 +6401,7 @@ }, "V20CredRequest": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -6246,6 +6434,7 @@ }, "V20DiscoveryExchangeListResult": { "docs": undefined, + "inline": undefined, "properties": { "results": { "type": "optional>", @@ -6261,6 +6450,7 @@ }, "V20DiscoveryExchangeResult": { "docs": undefined, + "inline": undefined, "properties": { "results": { "type": "optional", @@ -6272,6 +6462,7 @@ }, "V20DiscoveryRecord": { "docs": undefined, + "inline": undefined, "properties": { "connection_id": { "docs": "Connection identifier", @@ -6335,6 +6526,7 @@ "V20IssueCredentialModuleResponse": "map", "V20Pres": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -6362,6 +6554,7 @@ }, "V20PresExRecord": { "docs": undefined, + "inline": undefined, "properties": { "auto_present": { "docs": "Prover choice to auto-present proof as verifier requests", @@ -6449,17 +6642,15 @@ }, "V20PresExRecordByFormat": { "docs": undefined, + "inline": undefined, "properties": { "pres": { - "inline": true, "type": "optional", }, "pres_proposal": { - "inline": true, "type": "optional", }, "pres_request": { - "inline": true, "type": "optional", }, }, @@ -6469,6 +6660,7 @@ }, "V20PresExRecordByFormatPresProposal": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -6476,6 +6668,7 @@ }, "V20PresExRecordByFormatPresRequest": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -6493,6 +6686,7 @@ }, "V20PresExRecordList": { "docs": undefined, + "inline": undefined, "properties": { "results": { "docs": "Presentation exchange records", @@ -6572,6 +6766,7 @@ }, "V20PresFormat": { "docs": undefined, + "inline": undefined, "properties": { "attach_id": { "docs": "Attachment identifier", @@ -6588,6 +6783,7 @@ }, "V20PresProposal": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -6615,6 +6811,7 @@ }, "V20PresProposalByFormat": { "docs": undefined, + "inline": undefined, "properties": { "dif": { "type": "optional", @@ -6637,6 +6834,7 @@ }, "V20PresRequest": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -6668,6 +6866,7 @@ }, "V20PresRequestByFormat": { "docs": undefined, + "inline": undefined, "properties": { "dif": { "type": "optional", @@ -6699,6 +6898,7 @@ "V20PresentProofModuleResponse": "map", "VCRecord": { "docs": undefined, + "inline": undefined, "properties": { "contexts": { "type": "optional>", @@ -6708,7 +6908,6 @@ }, "cred_value": { "docs": "(JSON-serializable) credential value", - "inline": true, "type": "optional", }, "expanded_types": { @@ -6742,6 +6941,7 @@ }, "VCRecordList": { "docs": undefined, + "inline": undefined, "properties": { "results": { "type": "optional>", @@ -6753,6 +6953,7 @@ }, "VcRecordCredValue": { "docs": "(JSON-serializable) credential value", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -6764,6 +6965,7 @@ }, "VerifyResponse": { "docs": undefined, + "inline": undefined, "properties": { "error": { "docs": "Error text", @@ -6777,6 +6979,7 @@ }, "WalletList": { "docs": undefined, + "inline": undefined, "properties": { "results": { "docs": "List of wallet records", @@ -6790,6 +6993,7 @@ "WalletModuleResponse": "map", "WalletRecord": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "Time of record creation", @@ -6807,7 +7011,6 @@ }, "settings": { "docs": "Settings for this wallet.", - "inline": true, "type": "optional", }, "state": { @@ -6845,6 +7048,7 @@ }, "WalletRecordSettings": { "docs": "Settings for this wallet.", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -6852,6 +7056,7 @@ }, "WriteLedgerRequest": { "docs": undefined, + "inline": undefined, "properties": { "ledger_id": { "type": "optional", @@ -6883,6 +7088,7 @@ }, "jwt": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -6890,6 +7096,7 @@ }, "ldp": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -6897,6 +7104,7 @@ }, "metadata": { "docs": "Metadata dictionary", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -6914,6 +7122,7 @@ }, "pres": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -6931,6 +7140,7 @@ }, "signature": { "docs": "Credential signature", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -6938,6 +7148,7 @@ }, "witness": { "docs": "Witness for revocation proof", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -7022,12 +7233,12 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true AdminConfig: properties: config: type: optional docs: Configuration settings - inline: true source: openapi: ../openapi.yml AdminModules: @@ -7044,24 +7255,24 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true AdminStatusTiming: docs: Timing results properties: {} source: openapi: ../openapi.yml + inline: true AdminStatus: properties: conductor: type: optional docs: Conductor statistics - inline: true label: type: optional docs: Default label timing: type: optional docs: Timing results - inline: true version: type: optional docs: Version code @@ -7206,46 +7417,46 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true ClaimFormatJwtVc: properties: {} source: openapi: ../openapi.yml + inline: true ClaimFormatJwtVp: properties: {} source: openapi: ../openapi.yml + inline: true ldp: properties: {} source: openapi: ../openapi.yml + inline: true ClaimFormatLdpVc: properties: {} source: openapi: ../openapi.yml + inline: true ClaimFormatLdpVp: properties: {} source: openapi: ../openapi.yml + inline: true ClaimFormat: properties: jwt: type: optional - inline: true jwt_vc: type: optional - inline: true jwt_vp: type: optional - inline: true ldp: type: optional - inline: true ldp_vc: type: optional - inline: true ldp_vp: type: optional - inline: true source: openapi: ../openapi.yml ConnRecordAccept: @@ -7414,12 +7625,12 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true ConnectionMetadata: properties: results: type: optional docs: Dictionary of metadata associated with connection. - inline: true source: openapi: ../openapi.yml ConnectionModuleResponse: map @@ -7519,6 +7730,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true CreateWalletResponse: properties: created_at: @@ -7534,7 +7746,6 @@ types: settings: type: optional docs: Settings for this wallet. - inline: true state: type: optional docs: Current record state @@ -7640,12 +7851,12 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true CredRevIndyRecordsResult: properties: rev_reg_delta: type: optional docs: Indy revocation registry delta - inline: true source: openapi: ../openapi.yml CredRevRecordDetailsResult: @@ -7985,6 +8196,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true DifPresSpecRevealDoc: docs: >- reveal doc [JSON-LD frame] dict used to derive the credential when @@ -7992,6 +8204,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true DIFPresSpec: properties: issuer_id: @@ -8006,13 +8219,11 @@ types: docs: >- Mapping of input_descriptor id to list of stored W3C credential record_id - inline: true reveal_doc: type: optional docs: >- reveal doc [JSON-LD frame] dict used to derive the credential when selective disclosure is required - inline: true source: openapi: ../openapi.yml DIFProofProposal: @@ -8062,12 +8273,12 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true Doc: properties: credential: type: DocCredential docs: Credential to sign - inline: true options: DocOptions source: openapi: ../openapi.yml @@ -8273,21 +8484,21 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true IndyCredRequestBlindedMsCorrectnessProof: docs: Blinded master secret correctness proof properties: {} source: openapi: ../openapi.yml + inline: true IndyCredRequest: properties: blinded_ms: type: IndyCredRequestBlindedMs docs: Blinded master secret - inline: true blinded_ms_correctness_proof: type: IndyCredRequestBlindedMsCorrectnessProof docs: Blinded master secret correctness proof - inline: true cred_def_id: type: string docs: Credential definition identifier @@ -8312,21 +8523,25 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true signature: docs: Credential signature properties: {} source: openapi: ../openapi.yml + inline: true IndyCredentialSignatureCorrectnessProof: docs: Credential signature correctness proof properties: {} source: openapi: ../openapi.yml + inline: true witness: docs: Witness for revocation proof properties: {} source: openapi: ../openapi.yml + inline: true IndyCredential: properties: cred_def_id: @@ -8338,7 +8553,6 @@ types: rev_reg: type: optional docs: Revocation registry state - inline: true rev_reg_id: type: optional docs: Revocation registry identifier @@ -8354,18 +8568,15 @@ types: signature: type: signature docs: Credential signature - inline: true signature_correctness_proof: type: IndyCredentialSignatureCorrectnessProof docs: Credential signature correctness proof - inline: true values: type: map docs: Credential attributes witness: type: optional docs: Witness for revocation proof - inline: true source: openapi: ../openapi.yml IndyEQProof: @@ -8755,11 +8966,13 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true IndyProofRequestedProofUnrevealedAttrs: docs: Unrevealed attributes properties: {} source: openapi: ../openapi.yml + inline: true IndyProofRequestedProof: properties: predicates: @@ -8776,11 +8989,9 @@ types: self_attested_attrs: type: optional docs: Proof requested proof self-attested attributes - inline: true unrevealed_attrs: type: optional docs: Unrevealed attributes - inline: true source: openapi: ../openapi.yml IndyProofRequestedProofPredicate: @@ -8938,6 +9149,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true InputDescriptors: properties: constraints: @@ -8950,7 +9162,6 @@ types: metadata: type: optional docs: Metadata dictionary - inline: true name: type: optional docs: Name @@ -9173,6 +9384,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true KeylistQuery: properties: '@id': @@ -9184,7 +9396,6 @@ types: filter: type: optional docs: Query dictionary object - inline: true paginate: type: optional source: @@ -9711,21 +9922,21 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true ResolutionResultMetadata: docs: Resolution metadata properties: {} source: openapi: ../openapi.yml + inline: true ResolutionResult: properties: did_document: type: ResolutionResultDidDocument docs: DID Document - inline: true metadata: type: ResolutionResultMetadata docs: Resolution metadata - inline: true source: openapi: ../openapi.yml RevRegIssuedResult: @@ -9748,30 +9959,30 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true RevRegWalletUpdatedResultAccumFixed: docs: Applied ledger transaction to fix revocations properties: {} source: openapi: ../openapi.yml + inline: true RevRegWalletUpdatedResultRevRegDelta: docs: Indy revocation registry delta properties: {} source: openapi: ../openapi.yml + inline: true RevRegWalletUpdatedResult: properties: accum_calculated: type: optional docs: Calculated accumulator for phantom revocations - inline: true accum_fixed: type: optional docs: Applied ledger transaction to fix revocations - inline: true rev_reg_delta: type: optional docs: Indy revocation registry delta - inline: true source: openapi: ../openapi.yml RevRegsCreated: @@ -9903,6 +10114,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true SignResponse: properties: error: @@ -9911,7 +10123,6 @@ types: signed_doc: type: optional docs: Signed document - inline: true source: openapi: ../openapi.yml SignatureOptions: @@ -10046,22 +10257,27 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true TransactionRecordMetaData: properties: {} source: openapi: ../openapi.yml + inline: true TransactionRecordSignatureRequestItem: properties: {} source: openapi: ../openapi.yml + inline: true TransactionRecordSignatureResponseItem: properties: {} source: openapi: ../openapi.yml + inline: true TransactionRecordTiming: properties: {} source: openapi: ../openapi.yml + inline: true TransactionRecord: properties: _type: @@ -10086,7 +10302,6 @@ types: type: optional> meta_data: type: optional - inline: true signature_request: type: optional> signature_response: @@ -10099,7 +10314,6 @@ types: docs: Thread Identifier timing: type: optional - inline: true trace: type: optional docs: Record trace information, based on agent configuration @@ -10161,6 +10375,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true V10CredentialExchangeInitiator: enum: - self @@ -10221,7 +10436,6 @@ types: credential_request_metadata: type: optional docs: (Indy) credential request metadata - inline: true error_msg: type: optional docs: Error message @@ -10555,32 +10769,32 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true V20CredExRecordByFormatCredOffer: properties: {} source: openapi: ../openapi.yml + inline: true V20CredExRecordByFormatCredProposal: properties: {} source: openapi: ../openapi.yml + inline: true V20CredExRecordByFormatCredRequest: properties: {} source: openapi: ../openapi.yml + inline: true V20CredExRecordByFormat: properties: cred_issue: type: optional - inline: true cred_offer: type: optional - inline: true cred_proposal: type: optional - inline: true cred_request: type: optional - inline: true source: openapi: ../openapi.yml V20CredExRecordDetail: @@ -10598,6 +10812,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true V20CredExRecordIndy: properties: created_at: @@ -10619,7 +10834,6 @@ types: cred_request_metadata: type: optional docs: Credential request metadata for indy holder - inline: true cred_rev_id: type: optional docs: Credential revocation identifier within revocation registry @@ -11005,25 +11219,25 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true V20PresExRecordByFormatPresProposal: properties: {} source: openapi: ../openapi.yml + inline: true V20PresExRecordByFormatPresRequest: properties: {} source: openapi: ../openapi.yml + inline: true V20PresExRecordByFormat: properties: pres: type: optional - inline: true pres_proposal: type: optional - inline: true pres_request: type: optional - inline: true source: openapi: ../openapi.yml V20PresExRecordList: @@ -11104,6 +11318,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true VCRecord: properties: contexts: @@ -11113,7 +11328,6 @@ types: cred_value: type: optional docs: (JSON-serializable) credential value - inline: true expanded_types: type: optional> given_id: @@ -11167,6 +11381,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true WalletRecord: properties: created_at: @@ -11182,7 +11397,6 @@ types: settings: type: optional docs: Settings for this wallet. - inline: true state: type: optional docs: Current record state @@ -12825,6 +13039,7 @@ docs: Simple messaging "types": { "ConnectionMetadataSetRequestMetadata": { "docs": "Dictionary of metadata to set for connection.", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -12832,6 +13047,7 @@ docs: Simple messaging }, "CreateInvitationRequestMetadata": { "docs": "Optional metadata to attach to the connection created with the invitation", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -12916,11 +13132,13 @@ docs: Simple messaging properties: {} source: openapi: ../openapi.yml + inline: true ConnectionMetadataSetRequestMetadata: docs: Dictionary of metadata to set for connection. properties: {} source: openapi: ../openapi.yml + inline: true imports: root: __package__.yml service: @@ -29288,6 +29506,7 @@ docs: Interaction with ledger }, "KeylistQueryFilterRequestFilter": { "docs": "Filter for keylist query", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -29829,6 +30048,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true GetMatchingMediationRecordsRequestState: enum: - request @@ -30976,6 +31196,7 @@ docs: Multitenant wallet management "types": { "InvitationCreateRequestMetadata": { "docs": "Optional metadata to attach to the connection created with the invitation", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -30991,6 +31212,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true service: auth: false base-path: '' diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/assembly.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/assembly.json index d05950b22be..28cf25bd848 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/assembly.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/assembly.json @@ -1300,6 +1300,7 @@ }, "AutoHighlightResult": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of times the key phrase appears in the audio file", @@ -1326,6 +1327,7 @@ "docs": "An array of results for the Key Phrases model, if it was enabled during the transcription request. See [Key phrases](https://www.assemblyai.com/docs/Models/key_phrases) for more information. ", + "inline": undefined, "properties": { "results": { "docs": "A temporally-sequential array of Key Phrases", @@ -1338,6 +1340,7 @@ See [Key phrases](https://www.assemblyai.com/docs/Models/key_phrases) for more i }, "Chapter": { "docs": "Chapter of the audio file", + "inline": undefined, "properties": { "end": { "docs": "The starting time, in milliseconds, for the chapter", @@ -1366,6 +1369,7 @@ See [Key phrases](https://www.assemblyai.com/docs/Models/key_phrases) for more i }, "ContentSafetyLabel": { "docs": undefined, + "inline": undefined, "properties": { "confidence": { "docs": "The confidence score for the topic being discussed, from 0 to 1", @@ -1400,6 +1404,7 @@ See [Key phrases](https://www.assemblyai.com/docs/Models/key_phrases) for more i }, "ContentSafetyLabelResult": { "docs": undefined, + "inline": undefined, "properties": { "labels": { "docs": "An array of objects, one per sensitive topic that was detected in the section", @@ -1436,6 +1441,7 @@ See [Key phrases](https://www.assemblyai.com/docs/Models/key_phrases) for more i }, "CreateTranscriptOptionalParameters": { "docs": "The parameters for creating a transcript", + "inline": undefined, "properties": { "audio_end_at": { "docs": "The point in time, in milliseconds, to stop transcribing in your media file", @@ -1585,6 +1591,7 @@ Valid values are in the range [0, 1] inclusive. }, "Entity": { "docs": "A detected entity", + "inline": undefined, "properties": { "end": { "docs": "The ending time, in milliseconds, for the detected entity in the audio file", @@ -1736,6 +1743,7 @@ Valid values are in the range [0, 1] inclusive. }, "Error": { "docs": undefined, + "inline": undefined, "properties": { "error": { "docs": "Error message", @@ -1753,6 +1761,7 @@ Valid values are in the range [0, 1] inclusive. "extends": [ "LemurBaseResponse", ], + "inline": undefined, "properties": { "response": { "docs": "The response generated by LeMUR.", @@ -1765,6 +1774,7 @@ Valid values are in the range [0, 1] inclusive. }, "LemurBaseParameters": { "docs": undefined, + "inline": undefined, "properties": { "context": { "docs": "Context to provide the model. This can be a string or a free-form JSON value.", @@ -1795,6 +1805,7 @@ Can be any value between 0.0 and 1.0 inclusive. "discriminated": false, "docs": "Context to provide the model. This can be a string or a free-form JSON value.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1805,6 +1816,7 @@ Can be any value between 0.0 and 1.0 inclusive. }, "LemurBaseResponse": { "docs": undefined, + "inline": undefined, "properties": { "request_id": { "docs": "The ID of the LeMUR request", @@ -1828,6 +1840,7 @@ Can be any value between 0.0 and 1.0 inclusive. }, "LemurQuestion": { "docs": undefined, + "inline": undefined, "properties": { "answer_format": { "docs": "How you want the answer to be returned. This can be any text. Can't be used with answer_options. Examples: "short sentence", "bullet points" @@ -1854,6 +1867,7 @@ Can be any value between 0.0 and 1.0 inclusive. }, "LemurQuestionAnswer": { "docs": "An answer generated by LeMUR and its question.", + "inline": undefined, "properties": { "answer": { "docs": "The answer generated by LeMUR.", @@ -1873,6 +1887,7 @@ Can be any value between 0.0 and 1.0 inclusive. "extends": [ "LemurBaseResponse", ], + "inline": undefined, "properties": { "response": { "docs": "The answers generated by LeMUR and their questions.", @@ -1887,6 +1902,7 @@ Can be any value between 0.0 and 1.0 inclusive. "discriminated": false, "docs": "Any context about the transcripts you wish to provide. This can be a string, or free-form JSON.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1900,6 +1916,7 @@ Can be any value between 0.0 and 1.0 inclusive. "extends": [ "LemurBaseResponse", ], + "inline": undefined, "properties": { "response": { "docs": "The response generated by LeMUR.", @@ -1915,6 +1932,7 @@ Can be any value between 0.0 and 1.0 inclusive. "extends": [ "LemurBaseResponse", ], + "inline": undefined, "properties": { "response": { "docs": "The response generated by LeMUR.", @@ -1927,6 +1945,7 @@ Can be any value between 0.0 and 1.0 inclusive. }, "PageDetails": { "docs": undefined, + "inline": undefined, "properties": { "current_url": "string", "limit": "integer", @@ -1940,6 +1959,7 @@ Can be any value between 0.0 and 1.0 inclusive. }, "ParagraphsResponse": { "docs": undefined, + "inline": undefined, "properties": { "audio_duration": "double", "confidence": { @@ -1995,6 +2015,7 @@ Can be any value between 0.0 and 1.0 inclusive. }, "PurgeLemurRequestDataResponse": { "docs": undefined, + "inline": undefined, "properties": { "deleted": { "docs": "Whether the request data was deleted.", @@ -2015,6 +2036,7 @@ Can be any value between 0.0 and 1.0 inclusive. }, "RealtimeTemporaryTokenResponse": { "docs": undefined, + "inline": undefined, "properties": { "token": { "docs": "The temporary authentication token for real-time transcription", @@ -2027,6 +2049,7 @@ Can be any value between 0.0 and 1.0 inclusive. }, "RedactedAudioResponse": { "docs": undefined, + "inline": undefined, "properties": { "redacted_audio_url": { "docs": "The URL of the redacted audio file", @@ -2047,6 +2070,7 @@ Can be any value between 0.0 and 1.0 inclusive. }, "SentencesResponse": { "docs": undefined, + "inline": undefined, "properties": { "audio_duration": "double", "confidence": { @@ -2078,6 +2102,7 @@ Can be any value between 0.0 and 1.0 inclusive. }, "SentimentAnalysisResult": { "docs": "The result of the sentiment analysis model.", + "inline": undefined, "properties": { "confidence": { "docs": "The confidence score for the detected sentiment of the sentence, from 0 to 1", @@ -2117,6 +2142,7 @@ Can be any value between 0.0 and 1.0 inclusive. }, "SeverityScoreSummary": { "docs": undefined, + "inline": undefined, "properties": { "high": { "type": "double", @@ -2201,6 +2227,7 @@ Can be any value between 0.0 and 1.0 inclusive. }, "Timestamp": { "docs": "Timestamp containing a start and end property in milliseconds.", + "inline": undefined, "properties": { "end": { "docs": "The end time in milliseconds", @@ -2217,6 +2244,7 @@ Can be any value between 0.0 and 1.0 inclusive. }, "TopicDetectionResult": { "docs": "THe result of the topic detection model.", + "inline": undefined, "properties": { "labels": "optional>", "text": { @@ -2231,6 +2259,7 @@ Can be any value between 0.0 and 1.0 inclusive. }, "TopicDetectionResultLabelsItem": { "docs": undefined, + "inline": true, "properties": { "label": { "docs": "The IAB taxonomical label for the label of the detected topic, where > denotes supertopic/subtopic relationship", @@ -2254,11 +2283,11 @@ Can be any value between 0.0 and 1.0 inclusive. }, "Transcript": { "docs": "A transcript object", + "inline": undefined, "properties": { "acoustic_model": { "availability": "deprecated", "docs": "The acoustic model that was used for the transcription", - "inline": undefined, "type": "string", }, "audio_duration": { @@ -2386,7 +2415,6 @@ The default value is 'en_us'. "language_model": { "availability": "deprecated", "docs": "The language model that was used for the transcription", - "inline": undefined, "type": "string", }, "punctuate": { @@ -2446,7 +2474,6 @@ Valid values are in the range [0, 1] inclusive. "speed_boost": { "availability": "deprecated", "docs": "Whether speed boost was enabled in the transcription request", - "inline": undefined, "type": "optional", }, "status": { @@ -2535,6 +2562,7 @@ See [Speech recognition](https://www.assemblyai.com/docs/Models/speech_recogniti "docs": "An array of results for the Content Moderation model, if it was enabled during the transcription request. See [Content moderation](https://www.assemblyai.com/docs/Models/content_moderation) for more information. ", + "inline": true, "properties": { "results": "list", "status": { @@ -2548,6 +2576,7 @@ See [Content moderation](https://www.assemblyai.com/docs/Models/content_moderati }, "TranscriptCustomSpelling": { "docs": "Object containing words or phrases to replace, and the word or phrase to replace with", + "inline": undefined, "properties": { "from": { "docs": "Words or phrases to replace", @@ -2566,6 +2595,7 @@ See [Content moderation](https://www.assemblyai.com/docs/Models/content_moderati "docs": "An array of results for the Topic Detection model, if it was enabled during the transcription request. See [Topic Detection](https://www.assemblyai.com/docs/Models/iab_classification) for more information. ", + "inline": true, "properties": { "results": { "docs": "An array of results for the Topic Detection model.", @@ -2617,6 +2647,7 @@ The default value is 'en_us'. }, "TranscriptList": { "docs": undefined, + "inline": undefined, "properties": { "page_details": "PageDetails", "transcripts": "list", @@ -2627,6 +2658,7 @@ The default value is 'en_us'. }, "TranscriptListItem": { "docs": undefined, + "inline": undefined, "properties": { "audio_url": "string", "completed": "optional", @@ -2641,6 +2673,7 @@ The default value is 'en_us'. }, "TranscriptListParameters": { "docs": undefined, + "inline": undefined, "properties": { "after_id": { "docs": "Get transcripts that were created after this transcript ID", @@ -2680,6 +2713,7 @@ The default value is 'en_us'. }, "TranscriptParagraph": { "docs": undefined, + "inline": undefined, "properties": { "confidence": { "type": "double", @@ -2702,6 +2736,7 @@ The default value is 'en_us'. }, "TranscriptSentence": { "docs": undefined, + "inline": undefined, "properties": { "confidence": { "type": "double", @@ -2748,6 +2783,7 @@ The default value is 'en_us'. }, "TranscriptUtterance": { "docs": undefined, + "inline": undefined, "properties": { "channel": "string", "confidence": { @@ -2771,6 +2807,7 @@ The default value is 'en_us'. }, "TranscriptWord": { "docs": undefined, + "inline": undefined, "properties": { "confidence": { "type": "double", @@ -2793,6 +2830,7 @@ The default value is 'en_us'. }, "UploadedFile": { "docs": undefined, + "inline": undefined, "properties": { "upload_url": { "docs": "A URL that points to your audio file, accessible only by AssemblyAI's servers", @@ -2805,6 +2843,7 @@ The default value is 'en_us'. }, "WordSearchMatch": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total amount of times the word is in the transcript", @@ -2829,6 +2868,7 @@ The default value is 'en_us'. }, "WordSearchResponse": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The ID of the transcript", @@ -3955,6 +3995,7 @@ types: results: list source: openapi: ../openapi.yml + inline: true TranscriptIabCategoriesResult: docs: > An array of results for the Topic Detection model, if it was enabled @@ -3977,6 +4018,7 @@ types: docs: The overall relevance of topic to the entire audio file source: openapi: ../openapi.yml + inline: true Transcript: docs: A transcript object properties: @@ -4485,6 +4527,7 @@ types: denotes supertopic/subtopic relationship source: openapi: ../openapi.yml + inline: true TopicDetectionResult: docs: THe result of the topic detection model. properties: @@ -4810,6 +4853,7 @@ types: - map source: openapi: ../openapi.yml + inline: true LemurBaseParameters: properties: transcript_ids: @@ -4847,6 +4891,7 @@ types: - map source: openapi: ../openapi.yml + inline: true LemurQuestion: properties: question: diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/availability.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/availability.json index c64a46f497d..e7f1fccca1e 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/availability.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/availability.json @@ -261,6 +261,7 @@ "DeprecatedParam": "string", "NotDeprecatedSettings": { "docs": undefined, + "inline": undefined, "properties": { "not_deprecated_setting": "optional", }, @@ -271,6 +272,7 @@ "WholeDeprecatedSettings": { "availability": "deprecated", "docs": undefined, + "inline": undefined, "properties": { "fine_setting": "optional", }, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/axle.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/axle.json index d1e6db18881..c894a317c7d 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/axle.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/axle.json @@ -8,6 +8,7 @@ "types": { "Address": { "docs": undefined, + "inline": undefined, "properties": { "addressLine1": { "type": "optional", @@ -34,6 +35,7 @@ }, "Carrier": { "docs": undefined, + "inline": undefined, "properties": { "address": { "type": "Address", @@ -53,6 +55,7 @@ }, "Coverage": { "docs": undefined, + "inline": undefined, "properties": { "code": "CoverageCode", "deductible": { @@ -90,6 +93,7 @@ }, "Error": { "docs": undefined, + "inline": undefined, "properties": { "message": { "docs": "Provides a reason for why the operation failed, if available.", @@ -105,6 +109,7 @@ }, "Insured": { "docs": undefined, + "inline": undefined, "properties": { "dateOfBirth": { "type": "optional", @@ -136,6 +141,7 @@ }, "Property": { "docs": undefined, + "inline": undefined, "properties": { "data": { "type": "Vehicle", @@ -153,6 +159,7 @@ }, "ThirdParty": { "docs": undefined, + "inline": undefined, "properties": { "address": { "type": "optional
", @@ -183,6 +190,7 @@ }, "User": { "docs": "User to attach to Ignition session. If user is set, unique `id` must be provided.", + "inline": undefined, "properties": { "email": { "docs": "User's email address.", @@ -211,6 +219,7 @@ }, "Vehicle": { "docs": undefined, + "inline": undefined, "properties": { "bodyStyle": { "type": "optional", @@ -451,6 +460,7 @@ "types": { "Account": { "docs": "An Account represents an account with an insurance carrier and includes high-level account information (e.g. name) and any Policy objects associated with the Account.", + "inline": undefined, "properties": { "carrier": "string", "createdAt": "string", @@ -473,6 +483,7 @@ }, "GetAccountResponse": { "docs": undefined, + "inline": undefined, "properties": { "data": "optional", "success": "optional", @@ -483,6 +494,7 @@ }, "Policy": { "docs": "A Policy represents a specific policy associated with an Account and includes high-level policy information (e.g. policy number) and any children objects (e.g., coverages) associated with the policy.", + "inline": undefined, "properties": { "account": "string", "address": { @@ -758,6 +770,7 @@ service: "types": { "GetCarrierResponse": { "docs": undefined, + "inline": undefined, "properties": { "data": "optional", "success": "optional", @@ -768,6 +781,7 @@ service: }, "GetCarriersResponse": { "docs": undefined, + "inline": undefined, "properties": { "data": "optional>", "success": "optional", @@ -940,11 +954,9 @@ service: "types": { "StartIgnitionResponse": { "docs": "", + "inline": undefined, "properties": { - "data": { - "inline": true, - "type": "StartIgnitionResponseData", - }, + "data": "StartIgnitionResponseData", "success": { "type": "root.Success", }, @@ -955,6 +967,7 @@ service: }, "StartIgnitionResponseData": { "docs": undefined, + "inline": true, "properties": { "ignitionToken": { "docs": "The unique ID for the ignition session.", @@ -984,14 +997,13 @@ types: docs: The unique ID for the ignition session. source: openapi: ../openapi.yml + inline: true StartIgnitionResponse: docs: '' properties: success: type: root.Success - data: - type: StartIgnitionResponseData - inline: true + data: StartIgnitionResponseData source: openapi: ../openapi.yml service: @@ -1175,6 +1187,7 @@ service: "types": { "GetPolicyResponse": { "docs": undefined, + "inline": undefined, "properties": { "data": "optional", "success": "optional", @@ -1360,11 +1373,9 @@ Auth codes are ephemeral and expire after 10 minutes, while accessTokens do not "types": { "ExchangeTokenResponse": { "docs": "", + "inline": undefined, "properties": { - "data": { - "inline": true, - "type": "ExchangeTokenResponseData", - }, + "data": "ExchangeTokenResponseData", "success": { "type": "root.Success", }, @@ -1375,6 +1386,7 @@ Auth codes are ephemeral and expire after 10 minutes, while accessTokens do not }, "ExchangeTokenResponseData": { "docs": undefined, + "inline": true, "properties": { "accessToken": { "docs": "The token required for access to the requested Account and Policy objects.", @@ -1416,14 +1428,13 @@ types: type: list source: openapi: ../openapi.yml + inline: true ExchangeTokenResponse: docs: '' properties: success: type: root.Success - data: - type: ExchangeTokenResponseData - inline: true + data: ExchangeTokenResponseData source: openapi: ../openapi.yml service: diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/belvo.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/belvo.json index cb0a6008f23..9da54d6be79 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/belvo.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/belvo.json @@ -5158,6 +5158,7 @@ "types": { "AccessToResourceDenied": { "docs": "This error occurs when you try to access Belvo's resource without the correct permissions.", + "inline": undefined, "properties": { "code": { "docs": "A unique error code (`access_to_resource_denied`) that allows you to classify and handle the error programmatically. @@ -5193,6 +5194,7 @@ For `access_to_resource_denied` errors, the description is: **Note**: For our recurring expenses resource, this account relates to the account that was analyzed to generate the recurring expenses report. ", + "inline": undefined, "properties": { "balance": "AccountsBalance", "balance_type": { @@ -5206,7 +5208,6 @@ For `access_to_resource_denied` errors, the description is: *The institution's product ID for the account type.* ", - "inline": undefined, "type": "optional", }, "category": "optional", @@ -5249,7 +5250,6 @@ For `access_to_resource_denied` errors, the description is: *The institution's internal identification for the account.* ", - "inline": undefined, "type": "optional", }, "last_accessed_at": { @@ -5297,6 +5297,7 @@ For example: `0444/45722-0`. "AccountsBalance": { "docs": "Details regarding the current and available balances for the account. ", + "inline": undefined, "properties": { "available": { "docs": "The balance that the account owner can use. @@ -5334,6 +5335,7 @@ The amount remaining to pay on the users's loan (same as `loan_data.outstanding_ }, "AccountsCreditData": { "docs": "The credit options associated with this account.", + "inline": undefined, "properties": { "collected_at": { "docs": "The ISO-8601 timestamp when the data point was collected.", @@ -5351,7 +5353,6 @@ The amount remaining to pay on the users's loan (same as `loan_data.outstanding_ "availability": "deprecated", "docs": "*This field has been deprecated.* ", - "inline": undefined, "type": "optional", }, "interest_rate": { @@ -5365,7 +5366,6 @@ The amount remaining to pay on the users's loan (same as `loan_data.outstanding_ *The date when the last credit payment was made.* ", - "inline": undefined, "type": "optional", }, "minimum_payment": { @@ -5378,7 +5378,6 @@ The amount remaining to pay on the users's loan (same as `loan_data.outstanding_ *The recurrent monthly payment, if applicable.* ", - "inline": undefined, "type": "optional", }, "next_payment_date": { @@ -5396,6 +5395,7 @@ The amount remaining to pay on the users's loan (same as `loan_data.outstanding_ }, "AccountsFundsData": { "docs": undefined, + "inline": undefined, "properties": { "balance": { "docs": "The amount in the fund.", @@ -5428,6 +5428,7 @@ The amount remaining to pay on the users's loan (same as `loan_data.outstanding_ }, "AccountsFundsDataPublicIdentifications": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "The type of identification number for the fund.", @@ -5444,6 +5445,7 @@ The amount remaining to pay on the users's loan (same as `loan_data.outstanding_ }, "AccountsLoanData": { "docs": "The loan options associated with this account.", + "inline": undefined, "properties": { "collected_at": { "docs": "The ISO-8601 timestamp when the data point was collected.", @@ -5483,7 +5485,6 @@ The amount remaining to pay on the users's loan (same as `loan_data.outstanding_ Please see `principal` instead. ", - "inline": undefined, "type": "optional", }, "cutting_date": { @@ -5492,7 +5493,6 @@ Please see `principal` instead. The closing date of the loan period. ", - "inline": undefined, "type": "optional", }, "cutting_day": { @@ -5501,7 +5501,6 @@ The closing date of the loan period. The closing day of the month for the loan. ", - "inline": undefined, "type": "optional", }, "fees": { @@ -5514,7 +5513,6 @@ The closing day of the month for the loan. Please see the `interest_rates` object instead. ", - "inline": undefined, "type": "optional", }, "interest_rates": { @@ -5527,7 +5525,6 @@ Please see the `interest_rates` object instead. The date when the last loan payment was made. ", - "inline": undefined, "type": "optional", }, "last_period_balance": { @@ -5536,7 +5533,6 @@ The date when the last loan payment was made. Please see `outstanding_balance` instead. ", - "inline": undefined, "type": "optional", }, "limit_day": { @@ -5545,7 +5541,6 @@ Please see `outstanding_balance` instead. Please see `payment_day` instead. ", - "inline": undefined, "type": "optional", }, "loan_type": { @@ -5562,7 +5557,6 @@ Please see `payment_day` instead. The minimum amount required to pay to avoid generating interest. ", - "inline": undefined, "type": "optional", }, "number_of_installments_outstanding": { @@ -5597,6 +5591,7 @@ The minimum amount required to pay to avoid generating interest. }, "AccountsLoanDataFees": { "docs": "Breakdown of the fees applied to the loan.", + "inline": undefined, "properties": { "type": "EnumLoanDataFeeType", "value": { @@ -5611,6 +5606,7 @@ The minimum amount required to pay to avoid generating interest. }, "AccountsLoanDataInterestRate": { "docs": "Breakdown of the interest applied to the loan.", + "inline": undefined, "properties": { "name": { "docs": "The name of the type of interest rate applied to the loan.", @@ -5628,6 +5624,7 @@ The minimum amount required to pay to avoid generating interest. }, "AccountsPaginatedResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -5655,6 +5652,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "AccountsReceivablesData": { "docs": "Additional details regarding the receivables account, if applicable.", + "inline": undefined, "properties": { "anticipated": { "docs": "The amount that the owner of the account received earlier than contracted.", @@ -5679,6 +5677,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "AnnualCostsAndDeductionsStatementBusiness": { "docs": "Object containing the reported annual costs and applicable deductions.", + "inline": undefined, "properties": { "administration_expenses": { "docs": "Total costs of the company related to training, company offsites, or similar.", @@ -5707,6 +5706,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "AnnualIncomeStatementBusiness": { "docs": "Object containing the reported annual incomes, deductions, and final balances of the tax payer.", + "inline": undefined, "properties": { "dividends": { "docs": "Total income that the company generated from dividends.", @@ -5739,6 +5739,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "AnnualIncomeStatementIndividual": { "docs": "Object containing the reported annual incomes, deductions, and final balances of the tax payer.", + "inline": undefined, "properties": { "annual_totals": "AnnualTotalsIndividual", "gross_income": "GrossIncomeIndividual", @@ -5751,6 +5752,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "AnnualTotalsIndividual": { "docs": "Object containing the tax payers total exempt, deducted, and ordinary net incomes.", + "inline": undefined, "properties": { "total_applicable_deductions": { "docs": "Total deductions that the taxpayer can apply to their income, according to the institution.", @@ -5775,6 +5777,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "AsynchronousAccepted202": { "docs": undefined, + "inline": undefined, "properties": { "request_id": { "docs": "The unique ID for this request. We recommend you store this value to later identify which webhook event relates to an asynchronous request.", @@ -5787,6 +5790,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "BUSINESS": { "docs": "Details about the OFPI payment method.", + "inline": undefined, "properties": { "open_finance": "PaymentIntentPaymentMethodDetailsBodyBusinessOfpi", }, @@ -5798,6 +5802,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -5839,6 +5844,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "Balance": { "docs": undefined, + "inline": undefined, "properties": { "account": "optional", "balance": { @@ -5851,14 +5857,12 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro The ISO-8601 timestamp when the data point was collected. ", - "inline": undefined, "type": "optional", }, "current_balance": { "availability": "deprecated", "docs": "*This field has been deprecated. Please use the `balance` field instead.* ", - "inline": undefined, "type": "optional", }, "id": { @@ -5877,7 +5881,6 @@ The ISO-8601 timestamp when the data point was collected. *The ID of the banking statement used to extract the `balance`.* ", - "inline": undefined, "type": "optional", }, "value_date": { @@ -5897,6 +5900,7 @@ The ISO-8601 timestamp when the data point was collected. }, "BalancesPaginatedResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -5924,6 +5928,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "BankAccountBusinessPse": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "The ISO-8601 timestamp of when the data point was first created in Belvo's database.", @@ -5996,6 +6001,7 @@ For `BUSINESS` bank accounts that Belvo creates for organizations, this field is }, "BankAccountDetailsOfpi": { "docs": undefined, + "inline": undefined, "properties": { "account_type": "EnumBankAccountPixAccountTypeOfpi", "agency": { @@ -6014,6 +6020,7 @@ For `BUSINESS` bank accounts that Belvo creates for organizations, this field is }, "BankAccountDetailsOfpiPix": { "docs": undefined, + "inline": undefined, "properties": { "country": "EnumPaymentsCountry", "pix_key": { @@ -6027,6 +6034,7 @@ For `BUSINESS` bank accounts that Belvo creates for organizations, this field is }, "BankAccountDetailsOpenFinance": { "docs": undefined, + "inline": undefined, "properties": { "account_type": "EnumBankAccountPixAccountTypeOfpi", "agency": { @@ -6045,6 +6053,7 @@ For `BUSINESS` bank accounts that Belvo creates for organizations, this field is }, "BankAccountDetailsOpenFinancePix": { "docs": undefined, + "inline": undefined, "properties": { "country": "EnumPaymentsCountry", "pix_key": { @@ -6060,6 +6069,7 @@ For `BUSINESS` bank accounts that Belvo creates for organizations, this field is "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -6074,6 +6084,7 @@ For `BUSINESS` bank accounts that Belvo creates for organizations, this field is }, "BankAccountInformationContentPse": { "docs": "Information about the payer's institution", + "inline": undefined, "properties": { "payer_institution": { "docs": "Belvo's unique identifier for the payer’s institution.", @@ -6092,6 +6103,7 @@ For `BUSINESS` bank accounts that Belvo creates for organizations, this field is }, "BankAccountInformationPse": { "docs": "Information about the payer's bank account. Belvo returns this object when the payer's bank account information is not saved in the Belvo database.", + "inline": undefined, "properties": { "bank_account_information": { "type": "optional", @@ -6103,6 +6115,7 @@ For `BUSINESS` bank accounts that Belvo creates for organizations, this field is }, "BankAccountOfpiResponse": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "The ISO-8601 timestamp of when the data point was last updated in Belvo's database.", @@ -6163,6 +6176,7 @@ For `BUSINESS` bank accounts that Belvo creates for organizations, this field is "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -6177,6 +6191,7 @@ For `BUSINESS` bank accounts that Belvo creates for organizations, this field is }, "BankAccountPaginatedResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -6206,6 +6221,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -6221,6 +6237,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "BeneficiaryBankAccountOfpi": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "The ISO-8601 timestamp of when the data point was last updated in Belvo's database.", @@ -6262,6 +6279,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -6276,6 +6294,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "BeneficiaryBankAccountPse": { "docs": undefined, + "inline": undefined, "properties": { "holder": { "type": "optional", @@ -6311,6 +6330,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "Business": { "docs": "Details regarding the business bank account holder.", + "inline": undefined, "properties": { "Information": { "type": "optional", @@ -6323,6 +6343,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "Categorization": { "docs": undefined, + "inline": undefined, "properties": { "transactions": { "docs": "An array of enriched transaction objects.", @@ -6335,6 +6356,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "CategorizationBody": { "docs": undefined, + "inline": undefined, "properties": { "account_category": "EnumCategorizationAccountCategory", "account_holder_id": { @@ -6396,6 +6418,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "CategorizationBodyRequest": { "docs": undefined, + "inline": undefined, "properties": { "account_category": "EnumCategorizationAccountCategory", "account_holder_id": { @@ -6452,6 +6475,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro "CategorizationMerchantData": { "docs": "Additional data regarding the merchant involved in the transaction. ", + "inline": undefined, "properties": { "logo": { "docs": "The URL to the merchant's logo.", @@ -6472,6 +6496,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "Charge": { "docs": undefined, + "inline": undefined, "properties": { "amount": { "docs": "The amount of the charge. @@ -6583,6 +6608,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -6597,6 +6623,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "ChargePaymentMethodDetailsOfpiContent": { "docs": "Information about the payer of a PSE payment.", + "inline": undefined, "properties": { "beneficiary_bank_account": { "docs": "Belvo's unique ID used to identify the beneficiary's bank account.", @@ -6625,6 +6652,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "ChargePaymentMethodDetailsPseContent": { "docs": "Information about the payer of a PSE payment.", + "inline": undefined, "properties": { "payer_bank_account": { "docs": "Belvo's unique ID used to identify the customer’s bank account.", @@ -6665,6 +6693,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "CreateBankAccountOfpi": { "docs": undefined, + "inline": undefined, "properties": { "details": { "docs": "Information regarding the bank account.", @@ -6693,6 +6722,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro "discriminated": false, "docs": "Information regarding the bank account.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -6707,6 +6737,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "CreateBankAccountPse": { "docs": undefined, + "inline": undefined, "properties": { "holder": { "docs": "Information regarding the business bank account holder.", @@ -6734,6 +6765,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "CreateCustomerOfpi": { "docs": undefined, + "inline": undefined, "properties": { "address": { "docs": "The customer's physical address. @@ -6782,6 +6814,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "CreateCustomerPse": { "docs": undefined, + "inline": undefined, "properties": { "address": { "docs": "The customer's physical address. @@ -6830,6 +6863,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "CreatePaymentLinkOfpi": { "docs": undefined, + "inline": undefined, "properties": { "allowed_payment_method_types": { "docs": "A list of payment method types allowed in this payment intent. For OFPI, this value must be set to `open_finance`.", @@ -6888,6 +6922,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro **Note:** You can send through this value either as a string or an float. Regardless of the type you choose to send the `amount` as, Belvo returns a string with two decimal points, separated by a period ( `.`). For example, `1234.12`. ", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -6906,6 +6941,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "CreatePaymentLinkPse": { "docs": undefined, + "inline": undefined, "properties": { "allowed_payment_method_types": { "docs": "A list of payment method types allowed in this payment intent. For PSE, this value must be set to `pse`.", @@ -6964,6 +7000,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro **Note:** You can send this value either as a string or an integer. Regardless of the type you choose to send the `amount` as, Belvo returns a string with two decimal points, separated by a period ( `.`). For example, `350000.00`. ", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -6982,6 +7019,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "CustomerOfpi": { "docs": undefined, + "inline": undefined, "properties": { "address": { "docs": "The customers physical address. @@ -7054,6 +7092,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "CustomerPaginatedResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -7083,6 +7122,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -7097,6 +7137,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "CustomerPse": { "docs": undefined, + "inline": undefined, "properties": { "address": { "docs": "The customers physical address. @@ -7175,6 +7216,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "DisplayConfirmationRequiredContentPse": { "docs": "Object detailing the next steps you should follow for a specific `next_step` type.", + "inline": undefined, "properties": { "payer_institution": { "type": "optional", @@ -7186,6 +7228,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "DisplayConfirmationRequiredOfpi": { "docs": "Object detailing the next steps you should follow for a specific `next_step` type.", + "inline": undefined, "properties": { "beneficiary_bank_account": { "type": "optional", @@ -7208,6 +7251,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "DisplayCredentialsRequiredContentPse": { "docs": "Object containing form fields for the required credentials (for example, `username` or `password`) in this step.", + "inline": undefined, "properties": { "payer_institution": { "type": "optional", @@ -7219,6 +7263,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "DisplayCustomerBankAccountsContentPse": { "docs": "Object detailing what payment method information you need to display.", + "inline": undefined, "properties": { "beneficiary_bank_account": { "type": "optional", @@ -7234,6 +7279,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "DisplayPaymentFailed": { "docs": "Details regarding the payer institution.", + "inline": undefined, "properties": { "payer_institution": "optional", }, @@ -7243,6 +7289,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "DisplayPaymentMethodInformationContentOfpi": { "docs": "Object detailing what payment method information you need to display.", + "inline": undefined, "properties": { "institutions": { "docs": "An array of institution objects.", @@ -7255,6 +7302,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "DisplayPaymentMethodInformationContentPse": { "docs": "Object detailing what payment method information you need to display.", + "inline": undefined, "properties": { "customer_bank_accounts": { "docs": "Array of bank account objects. @@ -7273,6 +7321,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "DisplayPaymentProcessing": { "docs": "Details regarding the payer institution.", + "inline": undefined, "properties": { "payer_institution": "optional", }, @@ -7282,6 +7331,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "DisplayPaymentSucceeded": { "docs": "Details regarding the payer institution.", + "inline": undefined, "properties": { "payer_institution": "optional", }, @@ -7291,6 +7341,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "DisplayTokenRequiredContentPse": { "docs": undefined, + "inline": undefined, "properties": { "payer_institution": "optional", }, @@ -7300,6 +7351,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "DocumentIdBusiness": { "docs": "Object containing information about the ID document of the tax payer.", + "inline": undefined, "properties": { "document_number": { "docs": "The number of the ID document.", @@ -7316,6 +7368,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "DocumentIdIndividual": { "docs": "Object containing information about the ID document of the tax payer.", + "inline": undefined, "properties": { "document_number": { "docs": "The number of the ID document.", @@ -7332,6 +7385,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "DocumentInformationBusiness": { "docs": "Object containing detailed information about the fiscal document.", + "inline": undefined, "properties": { "form_number": { "docs": "The institution-provided identifier for the tax declaration.", @@ -7357,6 +7411,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "DocumentInformationIndividual": { "docs": "Object containing detailed information about the fiscal document.", + "inline": undefined, "properties": { "form_number": { "docs": "Institution-provided identifier for the tax declaration.", @@ -7382,6 +7437,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "EmploymentRecord": { "docs": "Emploment record response payload", + "inline": undefined, "properties": { "collected_at": { "docs": "The ISO-8601 timestamp when the data point was collected.", @@ -7442,6 +7498,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "EmploymentRecordDetail": { "docs": "Details regarding the individual's employment history.", + "inline": undefined, "properties": { "collected_at": { "docs": "The ISO-8601 timestamp when the data point was collected.", @@ -7517,6 +7574,7 @@ For Mexico, this is the *daily* rate that the individual earned, including the p }, "EmploymentRecordDocumentId": { "docs": "Details regarding the individual's ID documents.", + "inline": undefined, "properties": { "document_number": { "docs": "The ID document's number (as a string). @@ -7531,6 +7589,7 @@ For Mexico, this is the *daily* rate that the individual earned, including the p }, "EmploymentRecordEmploymentStatusUpdates": { "docs": "Details regarding any employment changes of the individual.", + "inline": undefined, "properties": { "base_salary": { "docs": "The base salary of the individual, current as of the `update_date`. @@ -7556,6 +7615,7 @@ For Mexico, this is the *daily* rate that the individual earned, including the p }, "EmploymentRecordEntitlement": { "docs": "Details regarding the benefits the individual is entitled to.", + "inline": undefined, "properties": { "entitled_to_company_benefits": { "docs": "Indicates whether or not the individual is entitled to company benefits. @@ -7586,6 +7646,7 @@ For Mexico, this is the *daily* rate that the individual earned, including the p }, "EmploymentRecordFile": { "docs": "Additional PDF binary files relating to the individual's employment.", + "inline": undefined, "properties": { "type": { "docs": "The title of the document. @@ -7604,6 +7665,7 @@ For Mexico, this is the *daily* rate that the individual earned, including the p }, "EmploymentRecordPersonalData": { "docs": "Details regarding the personal information of the individual.", + "inline": undefined, "properties": { "birth_date": { "docs": "The date of the birth of the individual, in `YYYY-MM-DD` format. @@ -7648,6 +7710,7 @@ For Mexico, this is the *daily* rate that the individual earned, including the p }, "EmploymentRecordSocialSecuritySummary": { "docs": "Details regarding the individual's social security contributions.", + "inline": undefined, "properties": { "weeks_contributed": { "docs": "Number of weeks the individual has contributed to their social security, based on the number of weeks the individual has worked according to IMSS. @@ -7671,6 +7734,7 @@ For Mexico, this is the *daily* rate that the individual earned, including the p }, "EmploymentRecordsPaginatedResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -8780,6 +8844,7 @@ We return one of the following enum values: }, "EquityStatementBusiness": { "docs": "Object containing the general fiscal situation of the taxpayer.", + "inline": undefined, "properties": { "accounts_documents_and_finance_leases_receivable": { "docs": "Total of all payments the company expects to receive (for example, from partial invoices that have not been paid yet).", @@ -8820,6 +8885,7 @@ We return one of the following enum values: }, "EquityStatementIndividual": { "docs": "Object containing the general fiscal situation of the taxpayer.", + "inline": undefined, "properties": { "total_debts": { "docs": "The total debts of the tax_payer", @@ -8840,6 +8906,7 @@ We return one of the following enum values: }, "EyodIncomeVerificationBodyRequest": { "docs": undefined, + "inline": undefined, "properties": { "account_category": "EnumIncomeVerificationAccountCategory", "account_holder_id": { @@ -8901,6 +8968,7 @@ We return one of the following enum values: }, "GrossIncomeIndividual": { "docs": "Object containing the declared gross income of the tax payer.", + "inline": undefined, "properties": { "capital_income": { "docs": "Income received from an investment (such as dividends or from renting a property).", @@ -8925,6 +8993,7 @@ We return one of the following enum values: }, "HolderBankAccountInformationPse": { "docs": "Object with additional information about the individual that holds the bank account.", + "inline": undefined, "properties": { "first_name": { "docs": "The account holder's first name.", @@ -8941,6 +9010,7 @@ We return one of the following enum values: }, "HolderBankAccountPse": { "docs": "Details regarding the bank account holder.", + "inline": undefined, "properties": { "information": "optional", "type": "optional", @@ -8953,6 +9023,7 @@ We return one of the following enum values: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -8967,6 +9038,7 @@ We return one of the following enum values: }, "INDIVIDUAL": { "docs": "Details about the OFPI payment method.", + "inline": undefined, "properties": { "open_finance": "PaymentIntentPaymentMethodDetailsBodyIndividualOfpi", }, @@ -8976,6 +9048,7 @@ We return one of the following enum values: }, "Income": { "docs": "Income insights", + "inline": undefined, "properties": { "created_at": { "docs": "The ISO-8601 timestamp of when the data point was created in Belvo's database.", @@ -9106,6 +9179,7 @@ For each income stream, we provide additional insights such as: - Key metrics about the transaction amounts. ℹ️ If no income sources are found, we return an empty array. ", + "inline": undefined, "properties": { "account_id": { "docs": "Unique ID for the bank account to be verified for income streams.", @@ -9205,6 +9279,7 @@ For each income stream, we provide additional insights such as: }, "IncomesPaginatedResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -9232,6 +9307,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "Institution": { "docs": undefined, + "inline": undefined, "properties": { "country_codes": { "docs": "The country codes where the institution is available, for example: @@ -9312,6 +9388,7 @@ Please see our [Institutions](https://developers.belvo.com/docs/institution) Dev }, "InstitutionAccount": { "docs": "Details regarding the institution.", + "inline": undefined, "properties": { "name": { "docs": "The name of the institution, as designated by Belvo. @@ -9326,6 +9403,7 @@ Please see our [Institutions](https://developers.belvo.com/docs/institution) Dev }, "InstitutionDownError": { "docs": "This error occurs when the institution's website that you're trying to access is down due to maintenance or other issues, which means Belvo is unable to create new links or retrieve new data.", + "inline": undefined, "properties": { "code": { "docs": "A unique error code (`institution_down`) that allows you to classify and handle the error programmatically. @@ -9358,6 +9436,7 @@ For `institution_down` errors, the description is: }, "InstitutionFormField": { "docs": undefined, + "inline": undefined, "properties": { "label": { "docs": "The label of the form field. For example: @@ -9406,6 +9485,7 @@ For `institution_down` errors, the description is: }, "InstitutionInactiveError": { "docs": "This error occurs when we (Belvo) have deactivated the institution in our API.", + "inline": undefined, "properties": { "code": { "docs": "A unique error code (`institution_inactive`) that allows you to classify and handle the error programmatically. @@ -9438,6 +9518,7 @@ For `institution_inactive` errors, the description is: }, "InstitutionUnavailableError": { "docs": "This error occurs when the institution's website that you're trying to access is down due to maintenance or other issues, which means Belvo is unable to create new links or retrieve new data.", + "inline": undefined, "properties": { "code": { "docs": "A unique error code (`institution_unavailable`) that allows you to classify and handle the error programmatically. @@ -9470,6 +9551,7 @@ For `institution_unavailable` errors, the description is: }, "InstitutionsFeature": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "The description of the feature.", @@ -9486,6 +9568,7 @@ For `institution_unavailable` errors, the description is: }, "InstitutionsFormField": { "docs": undefined, + "inline": undefined, "properties": { "label": { "docs": "The label of the form field. For example: @@ -9526,6 +9609,7 @@ For `institution_unavailable` errors, the description is: }, "InstitutionsFormFieldValues": { "docs": undefined, + "inline": undefined, "properties": { "code": { "docs": "The code of the document.", @@ -9558,6 +9642,7 @@ For `institution_unavailable` errors, the description is: }, "InstitutionsPaginatedResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -9585,6 +9670,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "InvalidAccessMode": { "docs": "This error occurs when you try to update a link from single to recurrent, but there are no login credentials stored for the user.", + "inline": undefined, "properties": { "code": { "docs": "A unique error code (`invalid_access_mode_switch`) that allows you to classify and handle the error programmatically. @@ -9617,6 +9703,7 @@ For `invalid_access_mode_switch` errors, the description is: }, "InvalidLinkError": { "docs": "This error occurs when you try to access an account but the user credentials are no longer valid, prompting an error from the institution.", + "inline": undefined, "properties": { "code": { "docs": "A unique error code (`invalid_link`) that allows you to classify and handle the error programmatically. @@ -9649,6 +9736,7 @@ For `invalid_link` errors, the description is: }, "InvalidPeriodError": { "docs": "This error occurs when you request incomes for a link within a given date range, however, the period between `date_from` and `date_to` is less than 90 days.", + "inline": undefined, "properties": { "code": { "docs": "A unique error code (`invalid_period`) that allows you to classify and handle the error programmatically. @@ -9681,6 +9769,7 @@ For `invalid_period` errors, the description is: }, "InvestmentsPortfolio": { "docs": undefined, + "inline": undefined, "properties": { "balance_gross": { "docs": "The current gross total value of the entire portfolio and all its underlying instruments, as given by the institution. @@ -9739,6 +9828,7 @@ Please note that other currencies other than in the list above may be returned. }, "InvestmentsPortfolioInstrument": { "docs": undefined, + "inline": undefined, "properties": { "average_acquisition_price": { "docs": "The average price of each share acquired in the instrument.", @@ -9832,6 +9922,7 @@ For example, the due date, the liquidity date, the previdencia type, and so on. }, "InvestmentsPortfolioInstrumentFees": { "docs": undefined, + "inline": undefined, "properties": { "type": { "docs": "The fee type incurred when making the purchase of the instrument.", @@ -9848,6 +9939,7 @@ For example, the due date, the liquidity date, the previdencia type, and so on. }, "InvestmentsPortfolioInstrumentInterestRate": { "docs": undefined, + "inline": undefined, "properties": { "index": { "docs": "If applicable, the index type that the `interest_rates.value` is calculated against.", @@ -9872,6 +9964,7 @@ For example, the due date, the liquidity date, the previdencia type, and so on. }, "InvestmentsPortfolioInstrumentPublicId": { "docs": "The public identifiers for the instrument.", + "inline": undefined, "properties": { "type": { "docs": "The type of public identifier for the instrument.", @@ -9888,6 +9981,7 @@ For example, the due date, the liquidity date, the previdencia type, and so on. }, "InvestmentsPortfolioInstrumentRedemptionConditions": { "docs": undefined, + "inline": undefined, "properties": { "type": { "docs": "The name of the redemption condition.", @@ -9904,6 +9998,7 @@ For example, the due date, the liquidity date, the previdencia type, and so on. }, "InvestmentsPortfoliosPaginatedResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -9931,6 +10026,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "InvoiceDetailDian": { "docs": undefined, + "inline": undefined, "properties": { "collected_at": { "docs": "The ISO-8601 timestamp when the data point was collected.", @@ -9990,6 +10086,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "InvoiceDetailRetainedTaxSat": { "docs": undefined, + "inline": undefined, "properties": { "collected_at": { "docs": "The ISO-8601 timestamp when the data point was collected.", @@ -10019,6 +10116,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "InvoiceDetailSat": { "docs": undefined, + "inline": undefined, "properties": { "collected_at": { "docs": "The ISO-8601 timestamp when the data point was collected.", @@ -10086,6 +10184,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "InvoiceDian": { "docs": undefined, + "inline": undefined, "properties": { "cancelation_status": { "docs": "**Note**: This field is not applicable for DIAN Colombia and will return `null`.", @@ -10205,7 +10304,6 @@ For example: If the invoice is paid in installments, this field indicates the da "availability": "deprecated", "docs": "The description of the payment method used for this invoice. ", - "inline": undefined, "type": "optional", }, "payment_type": { @@ -10311,6 +10409,7 @@ For detailed information regarding DIAN's payment types, please see their [offic "InvoiceSenderDetailsDian": { "docs": "Details regarding the sender. ", + "inline": undefined, "properties": { "address": { "docs": "The sender's address. @@ -10366,6 +10465,7 @@ For detailed information regarding DIAN's tax schemes, please see their [officia "InvoiceWarningsDian": { "docs": "**Note**: This field is not applicable for DIAN Colombia and will return `null`. ", + "inline": undefined, "properties": { "code": { "docs": "**Note**: This field is not applicable for DIAN Colombia and will return `null`. @@ -10385,6 +10485,7 @@ For detailed information regarding DIAN's tax schemes, please see their [officia "InvoiceWarningsSat": { "docs": "Object containing information about any warnings related to this invoice. ", + "inline": undefined, "properties": { "code": { "docs": "The warning code. @@ -10403,6 +10504,7 @@ For detailed information regarding DIAN's tax schemes, please see their [officia }, "InvoiceWithIdSat": { "docs": undefined, + "inline": undefined, "properties": { "cancelation_status": { "docs": "If the invoice is cancelled, this field indicates the status of the cancellation.", @@ -10511,7 +10613,6 @@ For detailed information regarding DIAN's tax schemes, please see their [officia *The description of the payment method used for this invoice.* ", - "inline": undefined, "type": "optional", }, "payment_type": { @@ -10525,7 +10626,6 @@ For detailed information regarding DIAN's tax schemes, please see their [officia "availability": "deprecated", "docs": "*This field has been deprecated.* ", - "inline": undefined, "type": "optional", }, "payments": { @@ -10543,7 +10643,6 @@ For detailed information regarding DIAN's tax schemes, please see their [officia "availability": "deprecated", "docs": "This field has been deprecated. Please use `receiver_tax_fraud_status` instead. ", - "inline": undefined, "type": "optional", }, "receiver_id": { @@ -10566,7 +10665,6 @@ Possible statuses are: "availability": "deprecated", "docs": "This field has been deprecated. Please use `sender_tax_fraud_status` instead. ", - "inline": undefined, "type": "optional", }, "sender_id": { @@ -10631,6 +10729,7 @@ Possible statuses are: }, "InvoicesPaymentsDian": { "docs": undefined, + "inline": undefined, "properties": { "amount": { "docs": "**Note**: This field is not applicable for DIAN Colombia and will return `null`. @@ -10699,6 +10798,7 @@ Possible statuses are: }, "InvoicesPaymentsRelatedDocumentsDian": { "docs": "List of all the related deferred invoices affected by the payment.", + "inline": undefined, "properties": { "amount_paid": { "docs": "**Note**: This field is not applicable for DIAN Colombia and will return `null`. @@ -10742,6 +10842,7 @@ Possible statuses are: }, "InvoicesPaymentsRelatedDocumentsSat": { "docs": "List of all the related deferred invoices affected by the payment.", + "inline": undefined, "properties": { "amount_paid": { "docs": "The amount paid in this installment. @@ -10791,6 +10892,7 @@ Possible statuses are: }, "InvoicesPaymentsSat": { "docs": undefined, + "inline": undefined, "properties": { "amount": { "docs": "The invoice amount, in the currency of the original invoice. @@ -10868,6 +10970,7 @@ Please note that other currencies other than in the list above may be returned. "InvoicesPayrollDian": { "docs": "**Note**: This field is not applicable for DIAN Colombia and will return `null`. ", + "inline": undefined, "properties": { "amount": { "docs": "**Note**: This field is not applicable for DIAN Colombia and will return `null`. @@ -10934,6 +11037,7 @@ Please note that other currencies other than in the list above may be returned. "InvoicesPayrollSat": { "docs": "Details regarding the payroll payment. Only applicable for payroll invoices. ", + "inline": undefined, "properties": { "amount": { "docs": "The total amount of the payroll payment. @@ -11002,6 +11106,7 @@ Please note that other currencies other than in the list above may be returned. "InvoicesReceiverDetailsDian": { "docs": "Details regarding the receiver. ", + "inline": undefined, "properties": { "address": { "docs": "The receiver's address. @@ -11056,6 +11161,7 @@ For detailed information regarding DIAN's tax schemes, please see their [officia }, "InvoicesResponsePaginatedResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -11085,6 +11191,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -11099,6 +11206,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "LastErrorInvalidCredentials": { "docs": "Information about the error you ran into in the previous step of the payment intent, if applicable. This error can occur when the credentials that your customer provides are incorrect.", + "inline": undefined, "properties": { "error_code": { "docs": "A unique error code (`invalid_credentials`) that allows you to classify and handle the error programmatically.", @@ -11115,6 +11223,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "LastErrorInvalidToken": { "docs": "Information about the error you ran into in the previous step of the payment intent, if applicable. This error can occur when the MFA token your customer provides is invalid.", + "inline": undefined, "properties": { "error_code": { "docs": "A unique error code (`invalid_token`) that allows you to classify and handle the error programmatically.", @@ -11131,6 +11240,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "LastErrorLoginError": { "docs": "Information about the error you ran into in the previous step of the payment intent, if applicable. This error can occur when something unexpected happened in the `pse_display_credentials_required` next step.", + "inline": undefined, "properties": { "error_code": { "docs": "A unique error code (`login_error`) that allows you to classify and handle the error programmatically.", @@ -11147,6 +11257,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "LastErrorPaymentError": { "docs": "Information about the error you ran into in the previous step of the payment intent, if applicable. This error can occur when something unexpected happened during the payment intent process.", + "inline": undefined, "properties": { "error_code": { "docs": "A unique error code (`payment_error`) that allows you to classify and handle the error programmatically.", @@ -11163,6 +11274,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "LastErrorSessionExpired": { "docs": "Information about the error you ran into in the previous step of the payment intent, if applicable. This error occurs when you try to send a PATCH request after the session has already expired (the session expires after 10 minutes).", + "inline": undefined, "properties": { "error_code": { "docs": "A unique error code (`session_expired`) that allows you to classify and handle the error programmatically.", @@ -11179,6 +11291,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "LastErrorTwoFactor": { "docs": "Information about the error you ran into in the previous step of the payment intent, if applicable. This error can occur when something unexpected happened in the `pse_display_token_required` next step.", + "inline": undefined, "properties": { "error_code": { "docs": "A unique error code (`login_two_factor_error`) that allows you to classify and handle the error programmatically.", @@ -11195,6 +11308,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "Link": { "docs": undefined, + "inline": undefined, "properties": { "access_mode": "optional", "created_at": { @@ -11268,6 +11382,7 @@ A unique 44-character string that can be used to identify a user at a given inst - the MFA token your user provides is not supported by Belvo. - there is an issue with the institution that prevents logins. - the user's account is either locked or the user does not have permission to access their internet banking.", + "inline": undefined, "properties": { "code": { "docs": "A unique error code (`login_error`) that allows you to classify and handle the error programmatically. @@ -11306,6 +11421,7 @@ For `login_error` errors, the description can be one of the following: }, "NeedsRedirectContent": { "docs": "Details regarding the payer institution.", + "inline": undefined, "properties": { "payer_institution": "optional", }, @@ -11315,6 +11431,7 @@ For `login_error` errors, the description can be one of the following: }, "NeedsRedirectContentPse": { "docs": "Details regarding the payer institution.", + "inline": undefined, "properties": { "payer_institution": "optional", }, @@ -11324,6 +11441,7 @@ For `login_error` errors, the description can be one of the following: }, "NetIncomeIndividual": { "docs": "Object containing the declared net income of the tax payer. The values are calculated as the `gross_income` - `non_taxable_income`.", + "inline": undefined, "properties": { "capital_income": { "docs": "Income received from an investment (such as dividends or from renting a property).", @@ -11348,6 +11466,7 @@ For `login_error` errors, the description can be one of the following: }, "NextStepDisplayConfirmationRequiredOfpi": { "docs": "Object detailing the next steps you should follow for a specific `next_step` type.", + "inline": undefined, "properties": { "open_finance_display_confirmation_required": { "type": "optional", @@ -11366,6 +11485,7 @@ For `login_error` errors, the description can be one of the following: }, "NextStepDisplayConfirmationRequiredPse": { "docs": "Object detailing the next steps you should follow for a specific `next_step` type.", + "inline": undefined, "properties": { "pse_display_confirmation_required": { "type": "optional", @@ -11384,6 +11504,7 @@ For `login_error` errors, the description can be one of the following: }, "NextStepDisplayCredentialsRequiredPse": { "docs": "Object detailing the next steps you should follow for a specific `next_step` type.", + "inline": undefined, "properties": { "pse_display_credentials_required": { "type": "optional", @@ -11402,6 +11523,7 @@ For `login_error` errors, the description can be one of the following: }, "NextStepDisplayCustomerBankAccountsPse": { "docs": "Object detailing the next steps you should follow for a specific `next_step` type.", + "inline": undefined, "properties": { "pse_display_customer_bank_accounts": { "type": "optional", @@ -11420,6 +11542,7 @@ For `login_error` errors, the description can be one of the following: }, "NextStepDisplayNeedsRedirectPse": { "docs": "Object detailing the next steps you should follow for a specific `next_step` type.", + "inline": undefined, "properties": { "pse_display_needs_redirect": { "type": "optional", @@ -11438,6 +11561,7 @@ For `login_error` errors, the description can be one of the following: }, "NextStepDisplayPaymentFailed": { "docs": "Object detailing the next steps you should follow for a specific `next_step` type.", + "inline": undefined, "properties": { "open_finance_display_payment_failed": { "type": "optional", @@ -11456,6 +11580,7 @@ For `login_error` errors, the description can be one of the following: }, "NextStepDisplayPaymentMethodInformation": { "docs": "Object detailing the next steps you should follow for a specific `next_step` type.", + "inline": undefined, "properties": { "open_finance_display_payment_method_information": { "type": "optional", @@ -11474,6 +11599,7 @@ For `login_error` errors, the description can be one of the following: }, "NextStepDisplayPaymentMethodInformationPse": { "docs": "Object detailing the next steps you should follow for a specific `next_step` type. You'll need to send a PATCH request with the institution selected by the customer or their bank accounts (if there are accounts already saved in the Belvo database).", + "inline": undefined, "properties": { "pse_display_payment_method_information": { "type": "optional", @@ -11492,6 +11618,7 @@ For `login_error` errors, the description can be one of the following: }, "NextStepDisplayPaymentProcessing": { "docs": "Object detailing the next steps you should follow for a specific `next_step` type.", + "inline": undefined, "properties": { "open_finance_display_payment_processing": { "type": "optional", @@ -11510,6 +11637,7 @@ For `login_error` errors, the description can be one of the following: }, "NextStepDisplayPaymentSucceeded": { "docs": "Object detailing the next steps you should follow for a specific `next_step` type.", + "inline": undefined, "properties": { "open_finance_display_payment_succeeded": { "type": "optional", @@ -11528,6 +11656,7 @@ For `login_error` errors, the description can be one of the following: }, "NextStepDisplayTokenRequiredPse": { "docs": "Object detailing the next steps you should follow for a specific `next_step` type.", + "inline": undefined, "properties": { "pse_display_token_required": { "type": "optional", @@ -11549,6 +11678,7 @@ For `login_error` errors, the description can be one of the following: }, "NextStepNeedsRedirect": { "docs": "Object detailing the next steps you should follow for a specific `next_step` type.", + "inline": undefined, "properties": { "open_finance_display_needs_redirect": { "type": "optional", @@ -11567,6 +11697,7 @@ For `login_error` errors, the description can be one of the following: }, "NonTaxableIncomeIndividual": { "docs": "Object containing the declared non-taxable income of the tax payer.", + "inline": undefined, "properties": { "capital_income": { "docs": "Income received from an investment (such as dividends or from renting a property).", @@ -11591,6 +11722,7 @@ For `login_error` errors, the description can be one of the following: }, "NotFoundErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": { "docs": "A unique error code (`not_found`) that allows you to classify and handle the error programmatically. @@ -11623,6 +11755,7 @@ For `not_found` errors, the description is: }, "OFPB": { "docs": "Details about the organization's bank account that will receive the payment.", + "inline": undefined, "properties": { "beneficiary_bank_account": { "docs": "Belvo's unique ID used to identify the beneficiary's bank account.", @@ -11645,6 +11778,7 @@ For `not_found` errors, the description is: }, "OFPI": { "docs": "Details about the payment method.", + "inline": undefined, "properties": { "open_finance": { "type": "optional", @@ -11656,6 +11790,7 @@ For `not_found` errors, the description is: }, "Owner": { "docs": undefined, + "inline": undefined, "properties": { "address": { "docs": "The accounts owners registered address.", @@ -11696,7 +11831,6 @@ For `not_found` errors, the description is: *The first name of the account owner.* ", - "inline": undefined, "type": "optional", }, "id": { @@ -11719,7 +11853,6 @@ For `not_found` errors, the description is: *The last name of the account owner.* ", - "inline": undefined, "type": "optional", }, "link": { @@ -11742,7 +11875,6 @@ For `not_found` errors, the description is: *The second last name of the account owner.* ", - "inline": undefined, "type": "optional", }, }, @@ -11752,6 +11884,7 @@ For `not_found` errors, the description is: }, "OwnerDocumentId": { "docs": "Information regarding the identification document the owner provided to the bank.", + "inline": undefined, "properties": { "document_number": { "docs": "The document's identification number.", @@ -11781,6 +11914,7 @@ For `not_found` errors, the description is: }, "OwnersPaginatedResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -11808,6 +11942,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "PSE": { "docs": "Object with payment method details to create a payment intent.", + "inline": undefined, "properties": { "pse": { "type": "PSE", @@ -11819,6 +11954,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "PaginatedResponseLink": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -11843,6 +11979,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "PatchBody": { "docs": "A JSON object containing a session UUID and a MFA token", + "inline": undefined, "properties": { "link": { "docs": "The `link.id` you want to resume. Must be the same `link.id` as the one you receive in the 428 Token Required response that contains the `session` ID.", @@ -11881,6 +12018,7 @@ When set to `false`, the data won't be persisted and we return a 200 OK response }, "PatchBodyWithoutSaveData": { "docs": "A JSON object containing a session UUID and a MFA token", + "inline": undefined, "properties": { "link": { "docs": "The `link.id` you want to resume. Must be the same `link.id` as the one you receive in the 428 Token Required response that contains the `session` ID.", @@ -11913,6 +12051,7 @@ When set to `false`, the data won't be persisted and we return a 200 OK response }, "PatchPaymentIntentsBodyPse": { "docs": undefined, + "inline": undefined, "properties": { "pse": { "type": "optional", @@ -11924,6 +12063,7 @@ When set to `false`, the data won't be persisted and we return a 200 OK response }, "PatchPaymentMethodDetailsPse": { "docs": "Object with required fields to fill information in the payment intent object. The information you need to send through depends on the next step Belvo returns in the response.", + "inline": undefined, "properties": { "password": { "docs": "The password used to log in to the institution. @@ -11974,6 +12114,7 @@ When set to `false`, the data won't be persisted and we return a 200 OK response }, "PaymentInstitution": { "docs": undefined, + "inline": undefined, "properties": { "active": { "docs": "Indicates whether this institution is available for use or not.", @@ -12030,6 +12171,7 @@ When set to `false`, the data won't be persisted and we return a 200 OK response }, "PaymentIntentOfpi": { "docs": undefined, + "inline": undefined, "properties": { "allowed_payment_method_types": { "docs": "A list of payment method types allowed in this payment intent. For OFPI, the value will be `open_finance`.", @@ -12045,7 +12187,6 @@ When set to `false`, the data won't be persisted and we return a 200 OK response "docs": "An array of charge objects related to this paymnet intent. If no charges are associated, we return an empty array. **Note**: The charges resource will be deprecated and removed from our API by end of Q1 2023. We recommend not using any data from this resource.", - "inline": undefined, "type": "optional>", }, "created_at": { @@ -12159,6 +12300,7 @@ When set to `false`, the data won't be persisted and we return a 200 OK response "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -12173,6 +12315,7 @@ When set to `false`, the data won't be persisted and we return a 200 OK response }, "PaymentIntentPaginatedResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -12200,6 +12343,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "PaymentIntentPaymentMethodDetailsBodyBusinessOfpi": { "docs": "Payment method type selected.", + "inline": undefined, "properties": { "beneficiary_bank_account": { "docs": "Belvo's unique ID used to identify the beneficiary's bank account.", @@ -12238,6 +12382,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "PaymentIntentPaymentMethodDetailsBodyIndividualOfpi": { "docs": "Payment method type selected.", + "inline": undefined, "properties": { "beneficiary_bank_account": { "docs": "Belvo's unique ID used to identify the beneficiary's bank account.", @@ -12276,6 +12421,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "PaymentIntentPaymentMethodDetailsBodyPse": { "docs": "Details about the payment method type selected.", + "inline": undefined, "properties": { "belvo_flow": { "default": true, @@ -12331,6 +12477,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "PaymentIntentPse": { "docs": undefined, + "inline": undefined, "properties": { "allowed_payment_method_types": { "docs": "A list of payment method types allowed in this payment intent. For PSE, the value will be `pse`.", @@ -12346,7 +12493,6 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro "docs": "An array of charge objects related to this paymnet intent. If no charges are associated, we return an empty array. **Note**: The charges resource will be deprecated and removed from our API by end of Q1 2023. We recommend not using any data from this resource.", - "inline": undefined, "type": "optional>", }, "created_at": { @@ -12430,6 +12576,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -12486,6 +12633,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "PaymentLinkCallbackUrls": { "docs": undefined, + "inline": undefined, "properties": { "cancel": { "docs": "The URL that the user should be redirected to if they decide to cancel the payment process or if an error occurs. @@ -12508,6 +12656,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro "docs": "The URLs that the user should be redirected to. **Note:** This field will return an empty object if your integration only generates payment links through the [Belvo Dashboard](https://dashboard.belvo.com/).", + "inline": undefined, "properties": { "cancel": { "docs": "The URL that the user should be redirected to if they decide to cancel the payment process or if an error occurs.", @@ -12524,6 +12673,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "PaymentLinkListOfpi": { "docs": undefined, + "inline": undefined, "properties": { "access_token": { "docs": "The Belvo-generated access token for the payment link. @@ -12600,6 +12750,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "PaymentLinkListPse": { "docs": undefined, + "inline": undefined, "properties": { "access_token": { "docs": "The Belvo-generated access token for the payment link. @@ -12676,6 +12827,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "PaymentLinkOfpi": { "docs": undefined, + "inline": undefined, "properties": { "access_token": { "docs": "The Belvo-generated access token for the payment link. @@ -12745,6 +12897,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "PaymentLinkPaginatedResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -12774,6 +12927,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -12788,6 +12942,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "PaymentLinkPse": { "docs": undefined, + "inline": undefined, "properties": { "access_token": { "docs": "The Belvo-generated access token for the payment link. @@ -12857,6 +13012,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "PaymentMethodInfoCustomerBankAccountsPse": { "docs": undefined, + "inline": undefined, "properties": { "customer": { "docs": "Belvo's unique ID for the current customer.", @@ -12892,6 +13048,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "PaymentMethodInformationBodyOfpi": { "docs": "Payment method type selected.", + "inline": undefined, "properties": { "end_to_end_id": { "docs": "A unique ID for the transaction in the Brazil's PIX payment system.", @@ -12912,6 +13069,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "PaymentMethodInformationBodyPse": { "docs": "Payment method type selected.", + "inline": undefined, "properties": { "bank_payment_id": { "docs": "Unique payment ID provided the institution.", @@ -12936,6 +13094,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "PaymentMethodInformationDetailsPse": { "docs": undefined, + "inline": undefined, "properties": { "account_type": { "docs": "The type of bank account. For example, `Ahorros` or `Corriente`.", @@ -12949,6 +13108,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "PaymentTransaction": { "docs": undefined, + "inline": undefined, "properties": { "amount": { "docs": "The transaction amount. @@ -13029,6 +13189,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -13043,6 +13204,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "PaymentWebhook": { "docs": undefined, + "inline": undefined, "properties": { "auth_header": { "docs": "The authentication header for the request. **Must** be set to `Authorization`.", @@ -13089,6 +13251,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "PaymentsInstitutionsPaginatedResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -13116,6 +13279,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "PaymentsTransactionsPaginatedResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -13143,6 +13307,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "PaymentsWay": { "docs": undefined, + "inline": undefined, "properties": { "form_id": { "docs": "Your unique Payments Way form ID. @@ -13163,6 +13328,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "PaymentsWebhooksPaginatedResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -13190,6 +13356,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "PensionIncomeStatementIndividual": { "docs": "Object containing the tax payer's total pension income.", + "inline": undefined, "properties": { "net_pension_income": { "docs": "The total net pension of the taxpayer.", @@ -13206,6 +13373,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "ReceivablesTransaction": { "docs": undefined, + "inline": undefined, "properties": { "account": "ReceivablesTransactionAccount", "collected_at": { @@ -13273,6 +13441,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "ReceivablesTransactionAccount": { "docs": "Basic information about the account associated with the transaction.", + "inline": undefined, "properties": { "id": { "docs": "Belvo's unique ID for the account associated with the transaction.", @@ -13292,6 +13461,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "ReceivablesTransactionNumberOfInstallments": { "docs": "Details regarding the number of installments for the transaction, if applicable.", + "inline": undefined, "properties": { "paid": { "docs": "The number of payments already made to pay the cost of the transaction.", @@ -13308,6 +13478,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "ReceivablesTransactionsPaginatedResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -13335,6 +13506,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "RecevablesTransactionFees": { "docs": "Details regarding the fees applied to the transaction.", + "inline": undefined, "properties": { "type": "optional", "value": { @@ -13348,6 +13520,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "RecurringExpenseSourceTransaction": { "docs": "An array of minified transaction objects used to evaluate the recurring expense. If no transactions were found, we return an empty array.", + "inline": undefined, "properties": { "amount": { "docs": "The transaction amount.", @@ -13378,6 +13551,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro ℹ️ If no recurring expense insights are found, we return an empty array. ", + "inline": undefined, "properties": { "account": "optional", "average_transaction_amount": { @@ -13426,6 +13600,7 @@ Based on the frequency, you can infer how many days until the next charge will o }, "RecurringExpensesPaginatedResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -13453,6 +13628,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "ReportingId": { "docs": "Object containing information about where the tax payer reports their income.", + "inline": undefined, "properties": { "reporting_type": { "docs": "The type of reporting ID. For DIAN, this is the sectional address code (*Codigo Dirrecion Seccional*)", @@ -13469,6 +13645,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "RequestTimeoutErrorBody": { "docs": "Belvo has a limit regarding the time it takes to log in, retrieve account data, and log out. A timeout occurs when there is a very high amount of data and everything could not be obtained within the allotted time.", + "inline": undefined, "properties": { "code": { "docs": "A unique error code (`request_timeout`) that allows you to classify and handle the error programmatically. @@ -13501,6 +13678,7 @@ For `request_timeout` errors, the description is: }, "RetentionBreakdown": { "docs": "A breakdown of the retained taxes", + "inline": undefined, "properties": { "base_amount": { "docs": "The base amount that was used to calculate the tax retention. @@ -13525,6 +13703,7 @@ For `request_timeout` errors, the description is: }, "RiskInsights": { "docs": undefined, + "inline": undefined, "properties": { "accounts": { "docs": "An array of Belvo-generated account numbers (UUIDs) that were used during the risk insights analysis. If no accounts were found, we return an empty array.", @@ -13566,6 +13745,7 @@ For `request_timeout` errors, the description is: }, "RiskInsightsBalanceMetrics": { "docs": "Balance metrics calculated based on the user's balances from checking and savings accounts.", + "inline": undefined, "properties": { "balance_threshold_x": { "docs": "The threshold used to compute `days_balance_below_x_period`. Please note, this is value is country specific (both in terms of the amount and the currency). @@ -13647,6 +13827,7 @@ For `request_timeout` errors, the description is: However, internal transfers (transfers between accounts belonging to the same link) are not used in the calculation. ", + "inline": undefined, "properties": { "positive_to_negative_ratio_1m": { "docs": "The ratio between sum_positive / sum_negative in the last month (counted from the time of the request). @@ -13708,6 +13889,7 @@ However, internal transfers (transfers between accounts belonging to the same li }, "RiskInsightsCreditCardMetrics": { "docs": "Aggregated metrics calculated based on the link's credit card accounts.", + "inline": undefined, "properties": { "num_accounts": { "docs": "Number of credit cards accounts associated to the link. @@ -13738,6 +13920,7 @@ However, internal transfers (transfers between accounts belonging to the same li }, "RiskInsightsLoansMetrics": { "docs": "Aggregated metrics calculated based on the user's loan accounts.", + "inline": undefined, "properties": { "num_accounts": { "docs": "Number of loan accounts associated with the link. @@ -13766,6 +13949,7 @@ However, internal transfers (transfers between accounts belonging to the same li }, "RiskInsightsPaginatedResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -13793,6 +13977,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "RiskInsightsTransactionMetrics": { "docs": "Aggregated metrics calculated band on the user's transactions from checking, savings, credit card, and loan accounts.", + "inline": undefined, "properties": { "max_incoming_amount_1m": { "docs": "The highest value inflow transaction in the last month. @@ -13969,6 +14154,7 @@ If the account has not been open long enough to have the transaction data for a }, "SecretKeys": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "The ISO-8601 timestamp of when the secret key was created. @@ -14001,6 +14187,7 @@ If the account has not been open long enough to have the transaction data for a }, "SecretKeysPaginatedResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -14028,6 +14215,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "SessionExpiredError": { "docs": "This error occurs when you try to resume a request session that has already expired. This is usually because the user took too long to provide their authentication token.", + "inline": undefined, "properties": { "code": { "docs": "A unique error code (`session_expired`) that allows you to classify and handle the error programmatically. @@ -14060,6 +14248,7 @@ For `session_expired` errors, the description is: }, "StandardRequest": { "docs": undefined, + "inline": undefined, "properties": { "link": { "docs": "The `link.id` that you want to get information for.", @@ -14088,6 +14277,7 @@ When set to `false`, the data won't be persisted and we return a 200 OK response }, "TaxAssessmentBusiness": { "docs": "Object containing the calculated tax assessment of the tax payer. This includes the total taxable income, the income tax applied, and taxes already withheld.", + "inline": undefined, "properties": { "fortuitous_profit_tax": { "docs": "The tax applied on your unexpected income (such as lottery wins or house sales).", @@ -14132,6 +14322,7 @@ When set to `false`, the data won't be persisted and we return a 200 OK response }, "TaxAssessmentIndividual": { "docs": "Object containing the calculated tax assessment of the tax payer. This includes the total taxable income, the income tax applied, and taxes already withheld.", + "inline": undefined, "properties": { "balance_payable": { "docs": "How much the tax payer is required to pay.", @@ -14180,6 +14371,7 @@ The amount the tax payer has as a "credit" fromt he previous year (this is equal }, "TaxComplianceStatus": { "docs": undefined, + "inline": undefined, "properties": { "collected_at": { "docs": "The ISO-8601 timestamp when the data point was collected.", @@ -14225,6 +14417,7 @@ The amount the tax payer has as a "credit" fromt he previous year (this is equal }, "TaxComplianceStatusPaginatedResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -14252,6 +14445,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "TaxDeclarationBusiness": { "docs": undefined, + "inline": undefined, "properties": { "annual_costs_and_deductions_statement": "AnnualCostsAndDeductionsStatementBusiness", "annual_income_statement": "AnnualIncomeStatementBusiness", @@ -14308,6 +14502,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "TaxDeclarationBusinessPaginated": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -14335,6 +14530,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "TaxDeclarationIndividual": { "docs": undefined, + "inline": undefined, "properties": { "annual_income_statement": "AnnualIncomeStatementIndividual", "collected_at": { @@ -14391,6 +14587,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "TaxDeclarationIndividualPaginated": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -14418,6 +14615,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "TaxPayerInformationBusiness": { "docs": "Object containing information about the tax payer.", + "inline": undefined, "properties": { "company_name": { "docs": "The name of the company, as registered at the institution.", @@ -14452,6 +14650,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "TaxPayerInformationIndividual": { "docs": "Object containing information about the tax payer.", + "inline": undefined, "properties": { "document_id": "DocumentIdIndividual", "first_last_name": { @@ -14482,6 +14681,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "TaxRetentions": { "docs": undefined, + "inline": undefined, "properties": { "cancelled_at": { "docs": "The ISO-8601 timestamp of when the tax retention was canceled (if applicable). @@ -14606,6 +14806,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "TaxRetentionsPaginatedResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -14634,6 +14835,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro "TaxReturnBusiness": { "docs": undefined, "extra-properties": true, + "inline": undefined, "properties": { "cifras_cierre_ejercicio": { "docs": "Details regarding key numbers at the end of the fiscal exercise.", @@ -14721,6 +14923,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro "TaxReturnBusinessMonthly": { "docs": undefined, "extra-properties": true, + "inline": undefined, "properties": { "collected_at": { "docs": "The ISO-8601 timestamp when the data point was collected.", @@ -14792,6 +14995,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro "TaxReturnPersonal": { "docs": undefined, "extra-properties": true, + "inline": undefined, "properties": { "collected_at": { "docs": "The ISO-8601 timestamp when the data point was collected.", @@ -14881,6 +15085,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro "TaxReturnPersonalMonthly": { "docs": undefined, "extra-properties": true, + "inline": undefined, "properties": { "collected_at": { "docs": "The ISO-8601 timestamp when the data point was collected.", @@ -14944,6 +15149,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro "TaxReturnsBusinessMonthlyPaginated": { "docs": undefined, "extra-properties": true, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -14972,6 +15178,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro "TaxReturnsBusinessPaginated": { "docs": undefined, "extra-properties": true, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -14999,6 +15206,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "TaxReturnsMonthlyRequest": { "docs": "Request body for monthly tax returns", + "inline": undefined, "properties": { "attach_pdf": { "default": false, @@ -15047,6 +15255,7 @@ When set to `false`, the data won't be persisted and we return a 200 OK response "TaxReturnsPersonalMonthlyPaginated": { "docs": undefined, "extra-properties": true, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -15075,6 +15284,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro "TaxReturnsPersonalPaginated": { "docs": undefined, "extra-properties": true, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -15102,6 +15312,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "TaxReturnsYearlyRequest": { "docs": "Request body for yearly tax returns", + "inline": undefined, "properties": { "attach_pdf": { "default": false, @@ -15149,6 +15360,7 @@ By default, Belvo returns the yearly (annual) tax returns. }, "TaxStatusAddressBetweenStreetDian": { "docs": undefined, + "inline": undefined, "properties": { "street_one": { "docs": "**Note**: This field is not applicable for DIAN Colombia and will return `null`. @@ -15167,6 +15379,7 @@ By default, Belvo returns the yearly (annual) tax returns. }, "TaxStatusAddressBetweenStreetSat": { "docs": undefined, + "inline": undefined, "properties": { "street_one": { "docs": "The first street that `street` is located between.", @@ -15183,6 +15396,7 @@ By default, Belvo returns the yearly (annual) tax returns. }, "TaxStatusAddressDian": { "docs": "The tax payer's address details.", + "inline": undefined, "properties": { "between_street": { "docs": "**Note**: This field is not applicable for DIAN Colombia and will return `null`. @@ -15235,6 +15449,7 @@ By default, Belvo returns the yearly (annual) tax returns. }, "TaxStatusAddressSat": { "docs": "The tax payer's address details.", + "inline": undefined, "properties": { "between_street": { "docs": "Additional information about where the `street` is located. @@ -15287,6 +15502,7 @@ By default, Belvo returns the yearly (annual) tax returns. }, "TaxStatusDian": { "docs": undefined, + "inline": undefined, "properties": { "address": "optional", "collected_at": { @@ -15377,6 +15593,7 @@ Note: For individuals in Colombia, this field will return `null`. }, "TaxStatusEconomicActivityDian": { "docs": undefined, + "inline": undefined, "properties": { "economic_activity": { "docs": "The economic activity code, according to the fiscal institution. @@ -15422,6 +15639,7 @@ For detailed information regarding DIAN's economic activities, please see their }, "TaxStatusEconomicActivitySat": { "docs": undefined, + "inline": undefined, "properties": { "economic_activity": { "docs": "The description of the economic activity.", @@ -15467,6 +15685,7 @@ For detailed information regarding DIAN's economic activities, please see their ℹ️ For non-business accounts, this field will return empty. ", + "inline": undefined, "properties": { "end_date": { "docs": "**Note**: This field is not applicable for DIAN Colombia and will return `null`. @@ -15510,6 +15729,7 @@ For detailed information regarding DIAN's economic activities, please see their ℹ️ For non-business accounts, this field will return empty. ", + "inline": undefined, "properties": { "end_date": { "docs": "The date when obligation ended. @@ -15550,6 +15770,7 @@ For detailed information regarding DIAN's economic activities, please see their }, "TaxStatusPaginatedResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -15579,6 +15800,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -15593,6 +15815,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "TaxStatusRegimensDian": { "docs": undefined, + "inline": undefined, "properties": { "end_date": { "docs": "**Note**: This field is not applicable for DIAN Colombia and will return `null`. @@ -15627,6 +15850,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "TaxStatusRegimensSat": { "docs": undefined, + "inline": undefined, "properties": { "end_date": { "docs": "The end date of the regimen. @@ -15661,6 +15885,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "TaxStatusSat": { "docs": undefined, + "inline": undefined, "properties": { "address": "optional", "collected_at": { @@ -15748,6 +15973,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "TaxStatusTaxPayerInformationDian": { "docs": "Details regarding the taxpayer.", + "inline": undefined, "properties": { "commercial_name": { "docs": "The name of the business designated for consumers and the general public. @@ -15824,6 +16050,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "TaxStatusTaxPayerInformationSat": { "docs": "Details regarding the taxpayer.", + "inline": undefined, "properties": { "commercial_name": { "docs": "The name of the business designated for consumers and the general public. @@ -15900,6 +16127,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "TokenRequiredResponse": { "docs": "MFA Token Required", + "inline": undefined, "properties": { "code": { "docs": "A unique error code (`token_required`) that allows you to classify and handle the error programmatically. @@ -15957,6 +16185,7 @@ For `token_required` errors, the description is: }, "TokenRequiredResponseTokenGenerationData": { "docs": "Details on how to generate the token.", + "inline": undefined, "properties": { "expects_user_input": { "default": true, @@ -15988,6 +16217,7 @@ You will still need to make a PATCH call to complete the request.", - a user is attempting to log in to their institution via Belvo while also already being logged in to their institution on a web browser or mobile app. - you make a request for information while Belvo is scraping data from the institution for that user.", + "inline": undefined, "properties": { "code": { "docs": "A unique error code (`too_many_sessions`) that allows you to classify and handle the error programmatically. @@ -16020,6 +16250,7 @@ For `too_many_sessions` errors, the description is: }, "Transaction": { "docs": undefined, + "inline": undefined, "properties": { "account": "optional", "accounting_date": { @@ -16117,6 +16348,7 @@ For `too_many_sessions` errors, the description is: }, "TransactionBankAccountBodyPse": { "docs": "Information about the payer's bank account. Belvo returns the bank account ID when the account is already saved in the Belvo database.", + "inline": undefined, "properties": { "bank_account": { "docs": "Belvo's unique identifier for the payer’s bank account.", @@ -16141,6 +16373,7 @@ For `too_many_sessions` errors, the description is: "discriminated": false, "docs": "Object containing the payer's bank account information.", "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -16155,6 +16388,7 @@ For `too_many_sessions` errors, the description is: }, "TransactionCreditCardData": { "docs": "Additional data provided by the institution for credit card transactions.", + "inline": undefined, "properties": { "bill_amount": { "docs": "The aggregate bill amount, as of `collected_at`.", @@ -16189,6 +16423,7 @@ We only return merchant information for new transactions made from *checking* or > **Get merchant information** We retrieve the merchant information for a transaction as part of our [Transaction categorization](https://developers.belvo.com/docs/banking#categorizing-transactions) product, turning raw data into actionable insights. To enable this product, just [reach out](https://belvo.com/contact/?utm_source=documentation) to us, and we'll get right to it. ", + "inline": undefined, "properties": { "logo": { "docs": "The URL to the merchant's logo.", @@ -16209,6 +16444,7 @@ We only return merchant information for new transactions made from *checking* or }, "TransactionsPaginatedResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -16236,6 +16472,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "TransactionsRequest": { "docs": undefined, + "inline": undefined, "properties": { "account": { "docs": "If provided, we return transactions only from this account.", @@ -16298,6 +16535,7 @@ When set to `false`, the data won't be persisted and we return a 200 OK response }, "UnauthorizedErrorBody": { "docs": "This error occurs when you try to make an API call using incorrect Belvo API credentials (either your secret key or secret password, or both, are incorrect).", + "inline": undefined, "properties": { "code": { "docs": "A unique error code (`authentication_failed`) that allows you to classify and handle the error programmatically. @@ -16331,6 +16569,7 @@ For `authentication_failed` errors, the description is: "UnconfirmedLinkError": { "docs": "This error occurs when you try to access a link that was paused previously (and as such is not active now). A Link's status is set to `unconfirmed_link` when your user has not completed the Link creation process successfully (for example, they might not provide a valid MFA token).", + "inline": undefined, "properties": { "code": { "docs": "A unique error code (`unconfirmed_link`) that allows you to classify and handle the error programmatically. @@ -16363,6 +16602,7 @@ For `unconfirmed_link` errors, the description is: }, "UnexpectedError": { "docs": "This error occurs when we (Belvo) have encountered an internal system error (sorry about that) or due to an unsupported response from the institution.", + "inline": undefined, "properties": { "code": { "docs": "A unique error code (`unexpected_error`) that allows you to classify and handle the error programmatically. @@ -16395,6 +16635,7 @@ For `unexpected_error` errors, the description is: }, "UnsupportedOperationError": { "docs": "This error occurs when you try to access some data operation that Belvo does not support for an institution. For example, trying to access the Balances resource for fiscal institutions.", + "inline": undefined, "properties": { "code": { "docs": "A unique error code (`unsupported_operation`) that allows you to classify and handle the error programmatically. @@ -16427,6 +16668,7 @@ For `unsupported_operation` errors, the description is: }, "ValidationError": { "docs": "This error occurs when you try to resume a request session that has already expired. This is usually because the user took too long to provide their authentication token.", + "inline": undefined, "properties": { "code": { "docs": "A unique error code (`null`, `does_not_exist`, `required`) that allows you to classify and handle the error programmatically. @@ -22448,6 +22690,7 @@ types: - type: InvoiceDian source: openapi: ../openapi.yml + inline: true InvoicesResponsePaginatedResponse: properties: count: @@ -23439,6 +23682,7 @@ types: - type: TaxStatusDian source: openapi: ../openapi.yml + inline: true TaxStatusPaginatedResponse: properties: count: @@ -26682,6 +26926,7 @@ types: - type: CustomerPse source: openapi: ../openapi.yml + inline: true CustomerPaginatedResponse: properties: count: @@ -26836,6 +27081,7 @@ types: - type: INDIVIDUAL source: openapi: ../openapi.yml + inline: true OFPI: docs: Details about the payment method. properties: @@ -26850,6 +27096,7 @@ types: - type: BankAccountDetailsOfpiPix source: openapi: ../openapi.yml + inline: true BankAccountOfpiResponse: properties: id: @@ -26974,6 +27221,7 @@ types: - BankAccountPseResponse source: openapi: ../openapi.yml + inline: true BankAccountPaginatedResponse: properties: count: @@ -27008,6 +27256,7 @@ types: - type: INDIVIDUAL source: openapi: ../openapi.yml + inline: true CreateBankAccountOfpiDetails: discriminated: false docs: Information regarding the bank account. @@ -27016,6 +27265,7 @@ types: - type: BankAccountDetailsOfpiPix source: openapi: ../openapi.yml + inline: true CreateBankAccountOfpi: properties: institution: @@ -27245,6 +27495,7 @@ types: - type: PaymentLinkListPse source: openapi: ../openapi.yml + inline: true PaymentLinkPaginatedResponse: properties: count: @@ -27353,6 +27604,7 @@ types: - float source: openapi: ../openapi.yml + inline: true CreatePaymentLinkOfpi: properties: amount: @@ -27419,6 +27671,7 @@ types: - long source: openapi: ../openapi.yml + inline: true CreatePaymentLinkPse: properties: amount: @@ -27555,6 +27808,7 @@ types: - type: BankAccountDetailsOpenFinancePix source: openapi: ../openapi.yml + inline: true BeneficiaryBankAccountOfpi: properties: id: @@ -27877,6 +28131,7 @@ types: - type: TransactionBankAccountPse source: openapi: ../openapi.yml + inline: true PaymentTransaction: properties: id: @@ -27943,6 +28198,7 @@ types: - type: OFPI source: openapi: ../openapi.yml + inline: true Charge: properties: id: @@ -28059,6 +28315,7 @@ types: - type: BUSINESS source: openapi: ../openapi.yml + inline: true PaymentIntentOfpi: properties: id: @@ -28587,6 +28844,7 @@ types: - type: LastErrorSessionExpired source: openapi: ../openapi.yml + inline: true PaymentIntentPse: properties: id: @@ -38252,6 +38510,7 @@ docs: >- "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -38268,6 +38527,7 @@ docs: >- "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -38282,6 +38542,7 @@ docs: >- "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -39407,6 +39668,7 @@ docs: >- "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -39423,6 +39685,7 @@ docs: >- "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -39439,6 +39702,7 @@ docs: >- "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -48850,6 +49114,7 @@ When set to `false`, the data won't be persisted and we return a 200 OK response "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -48866,6 +49131,7 @@ When set to `false`, the data won't be persisted and we return a 200 OK response "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -48882,6 +49148,7 @@ When set to `false`, the data won't be persisted and we return a 200 OK response "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -57534,6 +57801,7 @@ During the payment intent flow, you need to fill in the payment intent with requ **Note:** You can send through this value either as a string or an integer. Regardless of the type you choose to send the `amount` as, Belvo returns a string with two decimal points, separated by a period ( `.`). For example, `350000.00`. ", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -58168,6 +58436,7 @@ types: - long source: openapi: ../openapi.yml + inline: true ", }, "paymentLinks.yml": { @@ -58577,6 +58846,7 @@ types: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -58593,6 +58863,7 @@ types: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -58609,6 +58880,7 @@ types: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -67003,6 +67275,7 @@ When set to `false`, the data won't be persisted and we return a 200 OK response "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -67019,6 +67292,7 @@ When set to `false`, the data won't be persisted and we return a 200 OK response "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -67035,6 +67309,7 @@ When set to `false`, the data won't be persisted and we return a 200 OK response "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -73403,6 +73678,7 @@ client.connect() "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -73425,6 +73701,7 @@ client.connect() "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -73447,6 +73724,7 @@ client.connect() "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -73463,6 +73741,7 @@ client.connect() "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -78692,6 +78971,7 @@ When set to `false`, the data won't be persisted and we return a 200 OK response "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -78708,6 +78988,7 @@ When set to `false`, the data won't be persisted and we return a 200 OK response "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/buzzshot.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/buzzshot.json index 771f63d4430..fd91f1ef799 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/buzzshot.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/buzzshot.json @@ -8,12 +8,10 @@ "types": { "Game": { "docs": undefined, + "inline": undefined, "properties": { "added_at": "optional", - "complete": { - "inline": true, - "type": "GameComplete", - }, + "complete": "GameComplete", "date": { "type": "string", "validation": { @@ -47,6 +45,7 @@ }, "GameComplete": { "docs": undefined, + "inline": true, "properties": { "completed_at": "datetime", "completion_time": "optional", @@ -60,6 +59,7 @@ }, "GameExtraFieldsItem": { "docs": undefined, + "inline": true, "properties": { "key": "string", "label": "optional", @@ -72,6 +72,7 @@ }, "GamePhotosItem": { "docs": undefined, + "inline": true, "properties": { "added_at": "optional", "photo": "string", @@ -92,6 +93,7 @@ }, "Group": { "docs": undefined, + "inline": undefined, "properties": { "added_at": "optional", "date": { @@ -127,12 +129,10 @@ }, "GroupGamesItem": { "docs": undefined, + "inline": true, "properties": { "added_at": "optional", - "complete": { - "inline": true, - "type": "GroupGamesItemComplete", - }, + "complete": "GroupGamesItemComplete", "date": { "type": "string", "validation": { @@ -164,6 +164,7 @@ }, "GroupGamesItemComplete": { "docs": undefined, + "inline": true, "properties": { "completed_at": "datetime", "completion_time": "optional", @@ -177,6 +178,7 @@ }, "GroupGamesItemExtraFieldsItem": { "docs": undefined, + "inline": true, "properties": { "key": "string", "label": "optional", @@ -189,6 +191,7 @@ }, "GroupPhotosItem": { "docs": undefined, + "inline": true, "properties": { "added_at": "optional", "game": "optional", @@ -210,6 +213,7 @@ }, "GroupPlayersItem": { "docs": undefined, + "inline": true, "properties": { "added_at": "optional", "email": { @@ -251,6 +255,7 @@ }, "GroupPlayersItemExtraFieldsItem": { "docs": undefined, + "inline": true, "properties": { "key": "string", "label": "optional", @@ -263,6 +268,7 @@ }, "Photo": { "docs": undefined, + "inline": undefined, "properties": { "added_at": "optional", "id": "optional", @@ -283,6 +289,7 @@ }, "PhotoProcessedItem": { "docs": undefined, + "inline": true, "properties": { "added_at": "optional", "game": "optional", @@ -305,6 +312,7 @@ }, "Player": { "docs": undefined, + "inline": undefined, "properties": { "added_at": "optional", "email": { @@ -346,6 +354,7 @@ }, "PlayerExtraFieldsItem": { "docs": undefined, + "inline": true, "properties": { "key": "string", "label": "optional", @@ -358,6 +367,7 @@ }, "Room": { "docs": undefined, + "inline": undefined, "properties": { "hidden": "optional", "id": "optional", @@ -399,6 +409,7 @@ ready: optional source: openapi: ../openapi.yml + inline: true GameExtraFieldsItem: properties: key: string @@ -407,6 +418,7 @@ present: boolean source: openapi: ../openapi.yml + inline: true GameComplete: properties: completed_at: datetime @@ -416,6 +428,7 @@ completion_time: optional source: openapi: ../openapi.yml + inline: true Game: properties: id: optional @@ -435,9 +448,7 @@ room: optional photos: optional> extra_fields: list - complete: - type: GameComplete - inline: true + complete: GameComplete source: openapi: ../openapi.yml GroupGamesItemExtraFieldsItem: @@ -448,6 +459,7 @@ present: boolean source: openapi: ../openapi.yml + inline: true GroupGamesItemComplete: properties: completed_at: datetime @@ -457,6 +469,7 @@ completion_time: optional source: openapi: ../openapi.yml + inline: true GroupGamesItem: properties: id: optional @@ -474,11 +487,10 @@ start_at: optional room: optional extra_fields: list - complete: - type: GroupGamesItemComplete - inline: true + complete: GroupGamesItemComplete source: openapi: ../openapi.yml + inline: true GroupPlayersItemExtraFieldsItem: properties: key: string @@ -487,6 +499,7 @@ present: boolean source: openapi: ../openapi.yml + inline: true GroupPlayersItem: properties: added_at: optional @@ -509,6 +522,7 @@ signature: optional source: openapi: ../openapi.yml + inline: true GroupPhotosItem: properties: added_at: optional @@ -521,6 +535,7 @@ ready: optional source: openapi: ../openapi.yml + inline: true Group: properties: id: optional @@ -550,6 +565,7 @@ present: boolean source: openapi: ../openapi.yml + inline: true Player: properties: id: optional @@ -585,6 +601,7 @@ ready: optional source: openapi: ../openapi.yml + inline: true Photo: properties: id: optional @@ -1303,6 +1320,7 @@ "types": { "ListAccountsResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "next": { @@ -1331,6 +1349,7 @@ }, "ListGamesResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "next": { @@ -1359,6 +1378,7 @@ }, "ListGroupsResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "next": { @@ -1387,6 +1407,7 @@ }, "ListLocationsResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "next": { @@ -1415,6 +1436,7 @@ }, "ListPhotosResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "next": { @@ -1443,6 +1465,7 @@ }, "ListPlayersResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "next": { diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/deel.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/deel.json index e5c50c70af0..e9696a2567f 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/deel.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/deel.json @@ -6519,22 +6519,14 @@ "types": { "Agreement": { "docs": undefined, + "inline": undefined, "properties": { "agreement_title": "string", "agreement_type": "string", - "client_legal_entity": { - "inline": true, - "type": "AgreementClientLegalEntity", - }, + "client_legal_entity": "AgreementClientLegalEntity", "id": "double", - "msa": { - "inline": true, - "type": "AgreementMsa", - }, - "provider_legal_entity": { - "inline": true, - "type": "AgreementProviderLegalEntity", - }, + "msa": "AgreementMsa", + "provider_legal_entity": "AgreementProviderLegalEntity", }, "source": { "openapi": "../openapi.yml", @@ -6542,6 +6534,7 @@ }, "AgreementClientLegalEntity": { "docs": undefined, + "inline": true, "properties": { "id": "double", "name": "string", @@ -6553,6 +6546,7 @@ "AgreementList": "list", "AgreementListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "AgreementList", "page": "optional", @@ -6563,6 +6557,7 @@ }, "AgreementMsa": { "docs": undefined, + "inline": true, "properties": { "id": "string", "title": "string", @@ -6573,6 +6568,7 @@ }, "AgreementProviderLegalEntity": { "docs": undefined, + "inline": true, "properties": { "id": "double", "name": "string", @@ -6591,6 +6587,7 @@ }, "AgreementsSearchForm": { "docs": "Convenient model to encapsulate query parameters to get a list of agreements.", + "inline": undefined, "properties": { "contract_id": "optional", "limit": "optional", @@ -6602,6 +6599,7 @@ }, "AlternateEmailItem": { "docs": undefined, + "inline": undefined, "properties": { "email": "optional", "isVerified": "boolean", @@ -6616,6 +6614,7 @@ }, "ApiError": { "docs": undefined, + "inline": undefined, "properties": { "message": { "docs": "A description of the returned error", @@ -6632,6 +6631,7 @@ }, "ApiErrorContainer": { "docs": undefined, + "inline": undefined, "properties": { "errors": "optional>", "request": "optional", @@ -6642,6 +6642,7 @@ }, "ApiErrorRequest": { "docs": undefined, + "inline": undefined, "properties": { "api_req_id": { "docs": "The request ID of the failed request", @@ -6678,6 +6679,7 @@ }, "BasicContract": { "docs": undefined, + "inline": undefined, "properties": { "client": "ClientOfBasicContract", "created_at": "optional", @@ -6720,40 +6722,26 @@ }, "BasicInvoiceAdjustment": { "docs": undefined, + "inline": undefined, "properties": { "attachment": "optional", - "contract": { - "inline": true, - "type": "BasicInvoiceAdjustmentContract", - }, + "contract": "BasicInvoiceAdjustmentContract", "created_at": "optional", "currency_code": "CurrencyCodeRequired", "custom_scale": "optional", "date_submitted": "optional", "description": "string", "id": "UniqueObjectIdentifier", - "payment_cycle": { - "inline": true, - "type": "BasicInvoiceAdjustmentPaymentCycle", - }, + "payment_cycle": "BasicInvoiceAdjustmentPaymentCycle", "public_id": "optional", "quantity": "optional", - "reported_by": { - "inline": true, - "type": "BasicInvoiceAdjustmentReportedBy", - }, - "reviewed_by": { - "inline": true, - "type": "optional", - }, + "reported_by": "BasicInvoiceAdjustmentReportedBy", + "reviewed_by": "optional", "scale": "optional", "status": "optional", "total_amount": "string", "type": "InvoiceAdjustmentTypeEnum", - "worksheet": { - "inline": true, - "type": "optional", - }, + "worksheet": "optional", }, "source": { "openapi": "../openapi.yml", @@ -6761,6 +6749,7 @@ }, "BasicInvoiceAdjustmentContract": { "docs": undefined, + "inline": true, "properties": { "id": "string", "title": "string", @@ -6772,6 +6761,7 @@ }, "BasicInvoiceAdjustmentPaymentCycle": { "docs": undefined, + "inline": true, "properties": { "end_date": "optional", "start_date": "optional", @@ -6782,6 +6772,7 @@ }, "BasicInvoiceAdjustmentReportedBy": { "docs": undefined, + "inline": true, "properties": { "full_name": "string", "id": "double", @@ -6792,6 +6783,7 @@ }, "BasicInvoiceAdjustmentReviewedBy": { "docs": undefined, + "inline": true, "properties": { "full_name": "string", "id": "double", @@ -6804,6 +6796,7 @@ }, "BasicInvoiceAdjustmentWorksheet": { "docs": undefined, + "inline": true, "properties": { "days": { "type": "double", @@ -6852,6 +6845,7 @@ }, "BasicLegalEntity": { "docs": undefined, + "inline": undefined, "properties": { "entity_subtype": "LegalEntitySubType", "entity_type": "LegalEntityType", @@ -6864,6 +6858,7 @@ }, "BasicOrganization": { "docs": undefined, + "inline": undefined, "properties": { "id": "double", "name": { @@ -6882,6 +6877,7 @@ }, "BasicTeam": { "docs": undefined, + "inline": undefined, "properties": { "id": "double", "name": { @@ -6900,32 +6896,21 @@ }, "BasicTimesheet": { "docs": undefined, + "inline": undefined, "properties": { "attachment": "optional", - "contract": { - "inline": true, - "type": "BasicTimesheetContract", - }, + "contract": "BasicTimesheetContract", "created_at": "string", "currency_code": "CurrencyCodeRequired", "custom_scale": "optional", "date_submitted": "optional", "description": "string", "id": "UniqueObjectIdentifier", - "payment_cycle": { - "inline": true, - "type": "optional", - }, + "payment_cycle": "optional", "public_id": "optional", "quantity": "optional", - "reported_by": { - "inline": true, - "type": "BasicTimesheetReportedBy", - }, - "reviewed_by": { - "inline": true, - "type": "optional", - }, + "reported_by": "BasicTimesheetReportedBy", + "reviewed_by": "optional", "scale": "optional", "status": "optional", "total_amount": { @@ -6936,10 +6921,7 @@ "docs": "Deprecated - it is always "work"", "type": "string", }, - "worksheet": { - "inline": true, - "type": "optional", - }, + "worksheet": "optional", }, "source": { "openapi": "../openapi.yml", @@ -6947,6 +6929,7 @@ }, "BasicTimesheetContract": { "docs": undefined, + "inline": true, "properties": { "id": "string", "title": "string", @@ -6958,6 +6941,7 @@ }, "BasicTimesheetPaymentCycle": { "docs": undefined, + "inline": true, "properties": { "end_date": "optional", "start_date": "optional", @@ -6968,6 +6952,7 @@ }, "BasicTimesheetReportedBy": { "docs": undefined, + "inline": true, "properties": { "full_name": "string", "id": "double", @@ -6978,6 +6963,7 @@ }, "BasicTimesheetReviewedBy": { "docs": undefined, + "inline": true, "properties": { "full_name": "string", "id": "double", @@ -6990,6 +6976,7 @@ }, "BasicTimesheetWorksheet": { "docs": undefined, + "inline": true, "properties": { "days": { "type": "double", @@ -7038,6 +7025,7 @@ }, "ClientLegalEntity": { "docs": undefined, + "inline": undefined, "properties": { "email": "optional", "id": "long", @@ -7053,6 +7041,7 @@ }, "ClientOfBasicContract": { "docs": undefined, + "inline": undefined, "properties": { "team": "optional", }, @@ -7062,6 +7051,7 @@ }, "ClientOfContract": { "docs": undefined, + "inline": undefined, "properties": { "email": "optional", "full_name": "string", @@ -7075,6 +7065,7 @@ }, "CompensationDetailsOfContract": { "docs": undefined, + "inline": undefined, "properties": { "amount": "string", "currency_code": "CurrencyCodeRequired", @@ -7092,6 +7083,7 @@ }, "CompensationDetailsOfContractToCreateOngoingTimeBased": { "docs": undefined, + "inline": undefined, "properties": { "amount": "double", "scale": "WorkStatementScaleEnum", @@ -7102,6 +7094,7 @@ }, "CompensationDetailsOfContractToCreatePayAsYouGoTimeBased": { "docs": undefined, + "inline": undefined, "properties": { "amount": "double", "scale": "WorkStatementScaleEnum", @@ -7112,6 +7105,7 @@ }, "CompensationDetailsOfContractToCreateShared": { "docs": undefined, + "inline": undefined, "properties": { "amount": { "docs": "Amount to be paid. This field can be excluded when creating a Pay-as-you-go task-based or Milestone contracts.", @@ -7167,6 +7161,7 @@ }, "Contract": { "docs": undefined, + "inline": undefined, "properties": { "client": "optional", "compensation_details": "CompensationDetailsOfContract", @@ -7216,6 +7211,7 @@ }, "ContractContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "Contract", }, @@ -7225,6 +7221,7 @@ }, "ContractContainerOngoingTimeBased": { "docs": undefined, + "inline": undefined, "properties": { "data": "Contract", }, @@ -7234,6 +7231,7 @@ }, "ContractContainerPayAsYouGoTimeBased": { "docs": undefined, + "inline": undefined, "properties": { "data": "Contract", }, @@ -7243,6 +7241,7 @@ }, "ContractContainerPaygMilestones": { "docs": undefined, + "inline": undefined, "properties": { "data": "Contract", }, @@ -7252,6 +7251,7 @@ }, "ContractContainerPaygTasks": { "docs": undefined, + "inline": undefined, "properties": { "data": "Contract", }, @@ -7261,6 +7261,7 @@ }, "ContractCustomField": { "docs": "Customized attributes on contracts (Employee ID, Project code, etc).", + "inline": undefined, "properties": { "name": { "docs": "Custom field property name.", @@ -7277,6 +7278,7 @@ }, "ContractDetailsToAmend": { "docs": "You can specify any combination of data points that need changing.", + "inline": undefined, "properties": { "amount": { "type": "optional", @@ -7356,6 +7358,7 @@ }, "ContractDocumentContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "optional", }, @@ -7365,6 +7368,7 @@ }, "ContractExternalIdPatchedContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "ContractExternalIdToPatch", }, @@ -7375,6 +7379,7 @@ "ContractExternalIdPatchedResponseContainer": "ContractExternalIdToPatch", "ContractExternalIdToPatch": { "docs": undefined, + "inline": undefined, "properties": { "external_id": { "docs": "A unique identifier for the object provided by an external system.", @@ -7397,6 +7402,7 @@ }, "ContractInvitationToCreate": { "docs": undefined, + "inline": undefined, "properties": { "email": "EmailTypeRequired", "message": { @@ -7417,6 +7423,7 @@ "ContractList": "list", "ContractListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "ContractList", "page": "PageInfo", @@ -7430,6 +7437,7 @@ "discriminated": false, "docs": "Search form should include parameters varied based on usage of cursor for pagination. NOTE: that all query parameters are based on strings", "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -7440,6 +7448,7 @@ }, "ContractSearchFormWithCursor": { "docs": "This is a model to make it easier to understand and restrict search parameters", + "inline": undefined, "properties": { "after_cursor": { "docs": "Return next page of results after given cursor.", @@ -7463,6 +7472,7 @@ }, "ContractSearchFormWithoutCursor": { "docs": "This is a model to make it easier to understand and restrict search parameters", + "inline": undefined, "properties": { "countries": "optional", "currencies": "optional", @@ -7514,6 +7524,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -7526,6 +7537,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -7538,6 +7550,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -7550,6 +7563,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -7560,6 +7574,7 @@ }, "ContractSignatureToCreate": { "docs": undefined, + "inline": undefined, "properties": { "client_signature": { "docs": "Signature of client.", @@ -7610,6 +7625,7 @@ "ContractTemplateList": "list", "ContractTemplateListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "optional", }, @@ -7619,6 +7635,7 @@ }, "ContractTemplateSummary": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "Unique identifier of a contract template", @@ -7635,6 +7652,7 @@ }, "ContractTerminationResult": { "docs": undefined, + "inline": undefined, "properties": { "completion_date": { "docs": "Date the contract is marked for completion", @@ -7651,6 +7669,7 @@ }, "ContractTerminationResultContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "ContractTerminationResult", }, @@ -7662,6 +7681,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -7677,6 +7697,7 @@ "extends": [ "ContractToCreateShared", ], + "inline": undefined, "properties": { "compensation_details": "ContractToCreateOngoingTimeBasedCompensationDetails", "type": "literal<"ongoing_time_based">", @@ -7687,6 +7708,7 @@ }, "ContractToCreateOngoingTimeBasedCompensationDetails": { "docs": undefined, + "inline": true, "properties": { "amount": { "docs": "Amount to be paid. This field can be excluded when creating a Pay-as-you-go task-based or Milestone contracts.", @@ -7746,6 +7768,7 @@ "extends": [ "ContractToCreateShared", ], + "inline": undefined, "properties": { "compensation_details": "ContractToCreatePayAsYouGoTimeBasedCompensationDetails", "type": "literal<"pay_as_you_go_time_based">", @@ -7756,6 +7779,7 @@ }, "ContractToCreatePayAsYouGoTimeBasedCompensationDetails": { "docs": undefined, + "inline": true, "properties": { "amount": { "docs": "Amount to be paid. This field can be excluded when creating a Pay-as-you-go task-based or Milestone contracts.", @@ -7815,6 +7839,7 @@ "extends": [ "ContractToCreateShared", ], + "inline": undefined, "properties": { "compensation_details": "CompensationDetailsOfContractToCreateShared", "type": "literal<"payg_milestones">", @@ -7828,6 +7853,7 @@ "extends": [ "ContractToCreateShared", ], + "inline": undefined, "properties": { "compensation_details": "CompensationDetailsOfContractToCreateShared", "type": "literal<"payg_tasks">", @@ -7838,11 +7864,9 @@ }, "ContractToCreateShared": { "docs": "Details of contract to create", + "inline": undefined, "properties": { - "client": { - "inline": true, - "type": "ContractToCreateSharedClient", - }, + "client": "ContractToCreateSharedClient", "country_code": "optional", "external_id": { "docs": "External Id.", @@ -7850,7 +7874,6 @@ }, "job_title": { "docs": "Worker's job title. You can enter a custom job title or use a pre-defiled job title using the Id retrieved in job-titles endpoint.", - "inline": true, "type": "ContractToCreateSharedJobTitle", }, "meta": "MetaDataOfContractToCreate", @@ -7861,7 +7884,6 @@ }, "seniority": { "docs": "Job seniority level. Please use the seniority levels endpoint to retrieve the list of seniority levels.", - "inline": true, "type": "optional", }, "special_clause": { @@ -7881,7 +7903,6 @@ "who_reports": "optional", "worker": { "docs": "Worker properties", - "inline": true, "type": "optional", }, }, @@ -7891,15 +7912,14 @@ }, "ContractToCreateSharedClient": { "docs": undefined, + "inline": true, "properties": { "legal_entity": { "docs": "Choose the Deel legal entity for this contract. Use legal entity endpoint to retrieve a list of legal entities in your organization.", - "inline": true, "type": "ContractToCreateSharedClientLegalEntity", }, "team": { "docs": "Choose the Deel team for this contract. Use teams endpoint to retrieve a list of teams in your organization.", - "inline": true, "type": "ContractToCreateSharedClientTeam", }, }, @@ -7909,6 +7929,7 @@ }, "ContractToCreateSharedClientLegalEntity": { "docs": "Choose the Deel legal entity for this contract. Use legal entity endpoint to retrieve a list of legal entities in your organization.", + "inline": true, "properties": { "id": "double", }, @@ -7918,6 +7939,7 @@ }, "ContractToCreateSharedClientTeam": { "docs": "Choose the Deel team for this contract. Use teams endpoint to retrieve a list of teams in your organization.", + "inline": true, "properties": { "id": "double", }, @@ -7927,6 +7949,7 @@ }, "ContractToCreateSharedJobTitle": { "docs": "Worker's job title. You can enter a custom job title or use a pre-defiled job title using the Id retrieved in job-titles endpoint.", + "inline": true, "properties": { "id": { "docs": "Id of an predefined job title.", @@ -7949,6 +7972,7 @@ }, "ContractToCreateSharedSeniority": { "docs": "Job seniority level. Please use the seniority levels endpoint to retrieve the list of seniority levels.", + "inline": true, "properties": { "id": "optional", }, @@ -7958,6 +7982,7 @@ }, "ContractToCreateSharedWorker": { "docs": "Worker properties", + "inline": true, "properties": { "expected_email": "optional", "first_name": { @@ -7987,6 +8012,7 @@ }, "ContractToTerminate": { "docs": undefined, + "inline": undefined, "properties": { "completion_date": "optional", "message": { @@ -8048,6 +8074,7 @@ }, "Contractor": { "docs": undefined, + "inline": undefined, "properties": { "name": { "default": "", @@ -8072,6 +8099,7 @@ }, "Country": { "docs": undefined, + "inline": undefined, "properties": { "code": "CountryCode", "eor_support": { @@ -8126,6 +8154,7 @@ "CountryList": "list", "CountryListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "CountryList", }, @@ -8135,6 +8164,7 @@ }, "CreateTimeoff": { "docs": undefined, + "inline": undefined, "properties": { "end_date": { "docs": "End date of employee's time off.", @@ -8175,6 +8205,7 @@ }, "CreateTimeoffContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "CreateTimeoff", }, @@ -8195,6 +8226,7 @@ }, "Currency": { "docs": undefined, + "inline": undefined, "properties": { "code": "CurrencyCodeRequired", "name": { @@ -8234,6 +8266,7 @@ "CurrencyList": "list", "CurrencyListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "CurrencyList", }, @@ -8301,12 +8334,10 @@ }, "EmployeeList": { "docs": undefined, + "inline": undefined, "properties": { "birth_date": "optional", - "client_legal_entity": { - "inline": true, - "type": "optional", - }, + "client_legal_entity": "optional", "completion_date": "optional", "country": "optional", "email": "optional", @@ -8318,10 +8349,7 @@ "id": "optional", "job_title": "optional", "last_name": "optional", - "monthly_payment": { - "inline": true, - "type": "optional", - }, + "monthly_payment": "optional", "payments": "optional>", "personal_email": "optional", "pic_url": "optional", @@ -8338,6 +8366,7 @@ }, "EmployeeListClientLegalEntity": { "docs": undefined, + "inline": true, "properties": { "id": "optional", "name": "optional", @@ -8348,6 +8377,7 @@ }, "EmployeeListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "list", }, @@ -8357,6 +8387,7 @@ }, "EmployeeListMonthlyPayment": { "docs": undefined, + "inline": true, "properties": { "count": "optional", }, @@ -8366,6 +8397,7 @@ }, "EmployeeListPaymentsItem": { "docs": undefined, + "inline": true, "properties": { "contract_name": "optional", "currency": "optional", @@ -8378,6 +8410,7 @@ }, "Employment": { "docs": undefined, + "inline": undefined, "properties": { "client_legal_entity": { "docs": "The client legal entity associated with the employment.", @@ -8470,6 +8503,7 @@ }, "EmploymentDetailsOfContract": { "docs": undefined, + "inline": undefined, "properties": { "country": "optional", "days_per_week": "double", @@ -8488,6 +8522,7 @@ }, "EorClientTimeoffRequests": { "docs": undefined, + "inline": undefined, "properties": { "current_approved": { "docs": "Days off approved.", @@ -8521,6 +8556,7 @@ }, "EorClientTimeoffs": { "docs": undefined, + "inline": undefined, "properties": { "employees": { "docs": "List of employee time offs.", @@ -8534,6 +8570,7 @@ }, "EorClientTimeoffsContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "EorClientTimeoffs", }, @@ -8543,28 +8580,14 @@ }, "EorContractCreated": { "docs": undefined, + "inline": undefined, "properties": { - "client": { - "inline": true, - "type": "optional", - }, - "compensation_details": { - "inline": true, - "type": "optional", - }, + "client": "optional", + "compensation_details": "optional", "created_at": "optional", - "employee": { - "inline": true, - "type": "optional", - }, - "employment": { - "inline": true, - "type": "optional", - }, - "health_plan": { - "inline": true, - "type": "optional", - }, + "employee": "optional", + "employment": "optional", + "health_plan": "optional", "id": { "docs": "Id of the contract quote created", "type": "optional", @@ -8583,11 +8606,9 @@ }, "EorContractCreatedClient": { "docs": undefined, + "inline": true, "properties": { - "legal_entity": { - "inline": true, - "type": "optional", - }, + "legal_entity": "optional", }, "source": { "openapi": "../openapi.yml", @@ -8595,6 +8616,7 @@ }, "EorContractCreatedClientLegalEntity": { "docs": undefined, + "inline": true, "properties": { "name": { "docs": "Legal entity name.", @@ -8607,6 +8629,7 @@ }, "EorContractCreatedCompensationDetails": { "docs": undefined, + "inline": true, "properties": { "currency": { "docs": "Currency of gross annual salary.", @@ -8631,6 +8654,7 @@ }, "EorContractCreatedContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "EorContractCreated", }, @@ -8640,6 +8664,7 @@ }, "EorContractCreatedEmployee": { "docs": undefined, + "inline": true, "properties": { "email": { "docs": "Employee's email.", @@ -8664,6 +8689,7 @@ }, "EorContractCreatedEmployment": { "docs": undefined, + "inline": true, "properties": { "calculated_holidays": { "docs": "Number of calculate holidays for this contract.", @@ -8702,6 +8728,7 @@ }, "EorContractCreatedHealthPlan": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "Health plan ID", @@ -8718,23 +8745,12 @@ }, "EorContractToCreate": { "docs": undefined, + "inline": undefined, "properties": { - "client": { - "inline": true, - "type": "EorContractToCreateClient", - }, - "compensation_details": { - "inline": true, - "type": "EorContractToCreateCompensationDetails", - }, - "employee": { - "inline": true, - "type": "optional", - }, - "employment": { - "inline": true, - "type": "EorContractToCreateEmployment", - }, + "client": "EorContractToCreateClient", + "compensation_details": "EorContractToCreateCompensationDetails", + "employee": "optional", + "employment": "EorContractToCreateEmployment", "health_plan_id": { "docs": "Healthare plan Id. You can see available healthcare plans in the country guide endpoint.", "type": "optional", @@ -8745,13 +8761,9 @@ }, "quote_additional_fields": { "docs": "Some countries require additional employee information for employment contracts.", - "inline": true, "type": "optional", }, - "seniority": { - "inline": true, - "type": "EorContractToCreateSeniority", - }, + "seniority": "EorContractToCreateSeniority", }, "source": { "openapi": "../openapi.yml", @@ -8759,15 +8771,10 @@ }, "EorContractToCreateClient": { "docs": undefined, + "inline": true, "properties": { - "legal_entity": { - "inline": true, - "type": "optional", - }, - "team": { - "inline": true, - "type": "optional", - }, + "legal_entity": "optional", + "team": "optional", }, "source": { "openapi": "../openapi.yml", @@ -8775,6 +8782,7 @@ }, "EorContractToCreateClientLegalEntity": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "Enter the Id of legal entity under which you want to hire this person. Use /legal-entities endpoint to retrieve a list of legal entities in your organization.", @@ -8787,6 +8795,7 @@ }, "EorContractToCreateClientTeam": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "Enter the Id of team this person will be hired in. Use /teams endpoint to retrieve a list of teams in your organization.", @@ -8799,6 +8808,7 @@ }, "EorContractToCreateCompensationDetails": { "docs": undefined, + "inline": true, "properties": { "currency": { "docs": "Salary currency.", @@ -8823,11 +8833,9 @@ }, "EorContractToCreateEmployee": { "docs": undefined, + "inline": true, "properties": { - "address": { - "inline": true, - "type": "optional", - }, + "address": "optional", "email": { "docs": "Employee's email address.", "type": "optional", @@ -8851,6 +8859,7 @@ }, "EorContractToCreateEmployeeAddress": { "docs": undefined, + "inline": true, "properties": { "city": { "docs": "City name.", @@ -8876,6 +8885,7 @@ }, "EorContractToCreateEmployment": { "docs": undefined, + "inline": true, "properties": { "country": "optional", "end_date": "optional", @@ -8942,6 +8952,7 @@ }, "EorContractToCreateQuoteAdditionalFields": { "docs": "Some countries require additional employee information for employment contracts.", + "inline": true, "properties": { "dob": { "docs": "Employee's date of birth.", @@ -8972,6 +8983,7 @@ }, "EorContractToCreateSeniority": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "Enter the Id retrieved from the seniority lookup endpoint. Enter 34 for "Not Applicable".", @@ -8984,6 +8996,7 @@ }, "EorCountryValidations": { "docs": undefined, + "inline": undefined, "properties": { "adjustments_information_box": { "docs": "Country specific notes and information.", @@ -8995,20 +9008,15 @@ }, "definite_contract": { "docs": "Conditions to make definitive contract.", - "inline": true, "type": "optional", }, - "health_insurance": { - "inline": true, - "type": "optional", - }, + "health_insurance": "optional", "hiring_guide_country_name": { "docs": "Country name.", "type": "optional", }, "holiday": { "docs": "Range of the number of holidays.", - "inline": true, "type": "optional", }, "insurance_fee": { @@ -9017,35 +9025,27 @@ }, "part_time_holiday": { "docs": "Holiday type and range for part-time contracts.", - "inline": true, "type": "optional", }, "part_time_probation": { "docs": "Probation period range for part-time contracts.", - "inline": true, "type": "optional", }, "probation": { "docs": "Probation period range.", - "inline": true, "type": "optional", }, "salary": { "docs": "Salary range.", - "inline": true, "type": "optional", }, - "sick_days": { - "inline": true, - "type": "optional", - }, + "sick_days": "optional", "start_date_buffer": { "docs": "Calculate employee's minimum start date using the start date buffer. Today's date + (number of business days x start_date_buffer) = Minimum start date.", "type": "optional", }, "work_schedule": { "docs": "Employee's Work schedule in days and hours.", - "inline": true, "type": "optional", }, }, @@ -9055,6 +9055,7 @@ }, "EorCountryValidationsContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "EorCountryValidations", }, @@ -9064,6 +9065,7 @@ }, "EorCountryValidationsDefiniteContract": { "docs": "Conditions to make definitive contract.", + "inline": true, "properties": { "maximum_limitation": "optional", "type": "optional", @@ -9084,6 +9086,7 @@ }, "EorCountryValidationsHealthInsurance": { "docs": undefined, + "inline": true, "properties": { "providers": "optional>", "status": "optional", @@ -9094,6 +9097,7 @@ }, "EorCountryValidationsHoliday": { "docs": "Range of the number of holidays.", + "inline": true, "properties": { "min": { "docs": "Minimum number of holidays required for a legally compliant contract.", @@ -9106,6 +9110,7 @@ }, "EorCountryValidationsPartTimeHoliday": { "docs": "Holiday type and range for part-time contracts.", + "inline": true, "properties": { "min": { "docs": "Minimum number of holidays required for a legally compliant contract.", @@ -9129,6 +9134,7 @@ }, "EorCountryValidationsPartTimeProbation": { "docs": "Probation period range for part-time contracts.", + "inline": true, "properties": { "max": { "docs": "Maximum probation days allowed for a legally compliant contract.", @@ -9145,6 +9151,7 @@ }, "EorCountryValidationsProbation": { "docs": "Probation period range.", + "inline": true, "properties": { "max": { "docs": "Maximum probation days allowed for a legally compliant contract.", @@ -9161,6 +9168,7 @@ }, "EorCountryValidationsSalary": { "docs": "Salary range.", + "inline": true, "properties": { "max": { "docs": "Maximum wage allowed for a legally compliant contract.", @@ -9177,6 +9185,7 @@ }, "EorCountryValidationsSickDays": { "docs": undefined, + "inline": true, "properties": { "max": { "docs": "Maximum number of sick days allowed for a legally compliant contract.", @@ -9193,15 +9202,10 @@ }, "EorCountryValidationsWorkSchedule": { "docs": "Employee's Work schedule in days and hours.", + "inline": true, "properties": { - "days": { - "inline": true, - "type": "optional", - }, - "hours": { - "inline": true, - "type": "optional", - }, + "days": "optional", + "hours": "optional", }, "source": { "openapi": "../openapi.yml", @@ -9209,6 +9213,7 @@ }, "EorCountryValidationsWorkScheduleDays": { "docs": undefined, + "inline": true, "properties": { "max": "optional", }, @@ -9218,6 +9223,7 @@ }, "EorCountryValidationsWorkScheduleHours": { "docs": undefined, + "inline": true, "properties": { "max": "optional", }, @@ -9227,6 +9233,7 @@ }, "EorEntitlementListItem": { "docs": "Entitlement Item for a given year.", + "inline": undefined, "properties": { "max_rollover_yearly": "optional", "other_leave_approved": { @@ -9294,6 +9301,7 @@ }, "EorEntitlements": { "docs": "Time-off Entitlements for EOR contracts.", + "inline": undefined, "properties": { "entitlements": { "docs": "List of entitlements.", @@ -9306,6 +9314,7 @@ }, "EorEntitlementsContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "EorEntitlements", }, @@ -9331,6 +9340,7 @@ }, "EorTimeoffsBaseItem": { "docs": undefined, + "inline": undefined, "properties": { "attachments": "optional", "date_is_half_day": { @@ -9405,6 +9415,7 @@ }, "EorTimeoffsContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "EorTimeoffs", }, @@ -9414,6 +9425,7 @@ }, "EorTimeoffsEmployeeItem": { "docs": undefined, + "inline": undefined, "properties": { "contract_id": "string", "eor_contract_id": "double", @@ -9442,6 +9454,7 @@ "extends": [ "EorTimeoffsBaseItem", ], + "inline": undefined, "properties": { "applied_changes": { "docs": "List of changes applied to the time off.", @@ -9472,6 +9485,7 @@ }, "EorTimeoffsItemContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "EorTimeoffsItem", }, @@ -9481,11 +9495,9 @@ }, "EstimateFirstPayment": { "docs": "Details of pro rata payment to create.", + "inline": undefined, "properties": { - "compensation_details": { - "inline": true, - "type": "EstimateFirstPaymentCompensationDetails", - }, + "compensation_details": "EstimateFirstPaymentCompensationDetails", "country_code": "CountryCode", "start_date": "DateStringRequired", "type": "ContractTypeEnum", @@ -9496,6 +9508,7 @@ }, "EstimateFirstPaymentCompensationDetails": { "docs": undefined, + "inline": true, "properties": { "amount": { "docs": "Amount to be paid. Must be a positive number.", @@ -9558,6 +9571,7 @@ }, "ExchangeRates": { "docs": undefined, + "inline": undefined, "properties": { "rates": "optional>", "risk": "optional", @@ -9568,6 +9582,7 @@ }, "FileAttachmentInfo": { "docs": "This object is used for linking file attachments to your records.", + "inline": undefined, "properties": { "filename": { "docs": "Original filename you used to upload using attachments end-point.", @@ -9584,6 +9599,7 @@ }, "FileObject": { "docs": "This is the file you will upload in a multi-part form.", + "inline": undefined, "properties": { "file": { "docs": "Upload the file you want to attach to this entry.", @@ -9630,6 +9646,7 @@ }, "FinalPaymentCalculated": { "docs": undefined, + "inline": undefined, "properties": { "calculation_type": { "docs": "Either works days or calendar days", @@ -9680,6 +9697,7 @@ }, "FinalPaymentCalculatedContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "FinalPaymentCalculated", }, @@ -9689,6 +9707,7 @@ }, "FinalPaymentCalculatedLastCycle": { "docs": "The last payment cycle.", + "inline": true, "properties": { "completion_date": "optional", "end": "optional", @@ -9700,6 +9719,7 @@ }, "FirstPaymentDate": { "docs": "First payment date", + "inline": undefined, "properties": { "due": "optional", }, @@ -9709,6 +9729,7 @@ }, "GenericReportReviewCreated": { "docs": undefined, + "inline": undefined, "properties": { "id": "UniqueObjectIdentifier", "public_id": "optional", @@ -9720,6 +9741,7 @@ }, "GenericReportReviewCreatedContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "GenericReportReviewCreatedList", }, @@ -9730,11 +9752,9 @@ "GenericReportReviewCreatedList": "list", "GenericResultCreated": { "docs": undefined, + "inline": undefined, "properties": { - "data": { - "inline": true, - "type": "GenericResultCreatedData", - }, + "data": "GenericResultCreatedData", }, "source": { "openapi": "../openapi.yml", @@ -9742,6 +9762,7 @@ }, "GenericResultCreatedData": { "docs": undefined, + "inline": true, "properties": { "created": "boolean", }, @@ -9751,11 +9772,9 @@ }, "GenericResultDeleted": { "docs": undefined, + "inline": undefined, "properties": { - "data": { - "inline": true, - "type": "GenericResultDeletedData", - }, + "data": "GenericResultDeletedData", }, "source": { "openapi": "../openapi.yml", @@ -9763,6 +9782,7 @@ }, "GenericResultDeletedData": { "docs": undefined, + "inline": true, "properties": { "deleted": { "docs": "Confirms the deletion.", @@ -9775,11 +9795,9 @@ }, "GenericResultUpdated": { "docs": undefined, + "inline": undefined, "properties": { - "data": { - "inline": true, - "type": "GenericResultUpdatedData", - }, + "data": "GenericResultUpdatedData", }, "source": { "openapi": "../openapi.yml", @@ -9787,6 +9805,7 @@ }, "GenericResultUpdatedData": { "docs": undefined, + "inline": true, "properties": { "updated": "boolean", }, @@ -9796,6 +9815,7 @@ }, "HealthInsuranceProvider": { "docs": "Health insurance provider.", + "inline": undefined, "properties": { "attachments": { "docs": "File attachments.", @@ -9847,6 +9867,7 @@ }, "HealthInsuranceProviderAttachmentsItem": { "docs": undefined, + "inline": true, "properties": { "id": "optional", "label": "optional", @@ -9857,6 +9878,7 @@ }, "HealthInsuranceProviderPlansItem": { "docs": undefined, + "inline": true, "properties": { "currency": { "docs": "Insurance payment currency.", @@ -9893,6 +9915,7 @@ }, "HrisCompensation": { "docs": undefined, + "inline": undefined, "properties": { "currency": { "type": "string", @@ -9911,6 +9934,7 @@ }, "HrisContractBase": { "docs": undefined, + "inline": undefined, "properties": { "contract_oid": { "docs": "The Hris Direct employee contract ID", @@ -9929,6 +9953,7 @@ "extends": [ "HrisContractBase", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -9939,6 +9964,7 @@ "extends": [ "HrisContractBase", ], + "inline": undefined, "properties": { "part_time_percentage": { "docs": "required if employmentType is "PART_TIME"", @@ -9958,16 +9984,14 @@ }, "HrisDirectEmployee": { "docs": undefined, + "inline": undefined, "properties": { "compensation": "HrisCompensation", "contract": "HrisDirectEmployeeContract", "employee_details": "HrisDirectEmployeeDetails", "job_information": "HrisDirectEmployeeJobInformation", "team_information": "HrisTeamInformation", - "vacation_info": { - "inline": true, - "type": "optional", - }, + "vacation_info": "optional", }, "source": { "openapi": "../openapi.yml", @@ -9975,6 +9999,7 @@ }, "HrisDirectEmployeeContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "HrisDirectEmployeeResponse", }, @@ -9998,6 +10023,7 @@ }, "HrisDirectEmployeeDetails": { "docs": undefined, + "inline": undefined, "properties": { "country": { "type": "string", @@ -10071,6 +10097,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -10084,6 +10111,7 @@ "extends": [ "HrisDirectEmployee", ], + "inline": undefined, "properties": { "id": { "docs": "The Hris Direct employee ID", @@ -10096,6 +10124,7 @@ }, "HrisDirectEmployeeVacationInfo": { "docs": undefined, + "inline": true, "properties": { "vacation_accrual_start_date": { "type": "string", @@ -10123,6 +10152,7 @@ }, "HrisJobInformationBase": { "docs": undefined, + "inline": undefined, "properties": { "seniority_id": "double", }, @@ -10135,6 +10165,7 @@ "extends": [ "HrisJobInformationBase", ], + "inline": undefined, "properties": { "job_title_id": "double", }, @@ -10147,6 +10178,7 @@ "extends": [ "HrisJobInformationBase", ], + "inline": undefined, "properties": { "job_title_name": "string", }, @@ -10156,6 +10188,7 @@ }, "HrisTeamInformation": { "docs": undefined, + "inline": undefined, "properties": { "legal_entity_id": "double", "team_id": "double", @@ -10166,6 +10199,7 @@ }, "InputToDeletePgoTask": { "docs": undefined, + "inline": undefined, "properties": { "data": "PgoTaskToDelete", }, @@ -10175,11 +10209,9 @@ }, "InputToShieldContract": { "docs": undefined, + "inline": undefined, "properties": { - "data": { - "inline": true, - "type": "InputToShieldContractData", - }, + "data": "InputToShieldContractData", }, "source": { "openapi": "../openapi.yml", @@ -10187,6 +10219,7 @@ }, "InputToShieldContractData": { "docs": undefined, + "inline": true, "properties": { "agreement_id": { "docs": "MSA contract id (agreement).", @@ -10199,6 +10232,7 @@ }, "InvitationsOfBasicContract": { "docs": undefined, + "inline": undefined, "properties": { "client_email": "optional", "worker_email": "optional", @@ -10209,6 +10243,7 @@ }, "Invoice": { "docs": undefined, + "inline": undefined, "properties": { "amount": { "docs": "Billed amount.", @@ -10271,6 +10306,7 @@ "BasicInvoiceAdjustment", "InvoiceAdjustmentApproversContainer", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -10278,6 +10314,7 @@ }, "InvoiceAdjustmentApprover": { "docs": undefined, + "inline": undefined, "properties": { "approved": "boolean", "email": "string", @@ -10290,6 +10327,7 @@ "InvoiceAdjustmentApproverList": "list", "InvoiceAdjustmentApproversContainer": { "docs": undefined, + "inline": undefined, "properties": { "approvers": "InvoiceAdjustmentApproverList", }, @@ -10299,6 +10337,7 @@ }, "InvoiceAdjustmentContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "InvoiceAdjustment", }, @@ -10308,6 +10347,7 @@ }, "InvoiceAdjustmentCreated": { "docs": "Details of invoice adjustment created.", + "inline": undefined, "properties": { "created": "boolean", "created_at": "optional", @@ -10321,6 +10361,7 @@ }, "InvoiceAdjustmentCreatedContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "InvoiceAdjustmentCreated", }, @@ -10331,6 +10372,7 @@ "InvoiceAdjustmentList": "list", "InvoiceAdjustmentListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "InvoiceAdjustmentList", "page": "PageInfoWithoutCursorNew", @@ -10341,6 +10383,7 @@ }, "InvoiceAdjustmentReviewToCreate": { "docs": undefined, + "inline": undefined, "properties": { "reason": "optional", "status": "InvoiceAdjustmentReviewToCreateStatus", @@ -10360,6 +10403,7 @@ }, "InvoiceAdjustmentReviewsToCreate": { "docs": undefined, + "inline": undefined, "properties": { "ids": "TimesheetIdItems", "reason": "optional", @@ -10380,6 +10424,7 @@ }, "InvoiceAdjustmentSearchContainer": { "docs": "This is a model to make it easier to understand and restrict search parameters", + "inline": undefined, "properties": { "contract_id": "optional", "contract_types": "optional", @@ -10436,6 +10481,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -10448,6 +10494,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -10460,6 +10507,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -10475,6 +10523,7 @@ "InvoiceAdjustmentStatusEnumList": "list>", "InvoiceAdjustmentToCreate": { "docs": "Details of invoice adjustment to create.", + "inline": undefined, "properties": { "amount": { "docs": "Amount to be paid. Must be a positive number.", @@ -10512,6 +10561,7 @@ "InvoiceAdjustmentToCreate", "FileObject", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -10519,6 +10569,7 @@ }, "InvoiceAdjustmentToUpdate": { "docs": "Details of invoice adjustment to update.", + "inline": undefined, "properties": { "amount": { "type": "optional", @@ -10595,6 +10646,7 @@ }, "InvoiceContract": { "docs": undefined, + "inline": undefined, "properties": { "contract_type": { "docs": "Type of Deel contract.", @@ -10630,6 +10682,7 @@ }, "InvoiceDownloadContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "InvoiceDownloadObject", }, @@ -10639,6 +10692,7 @@ }, "InvoiceDownloadObject": { "docs": undefined, + "inline": undefined, "properties": { "expires_at": { "docs": "Expiration date time of download URL.", @@ -10660,6 +10714,7 @@ "InvoiceList": "list", "InvoiceListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "InvoiceObject", }, @@ -10669,6 +10724,7 @@ }, "InvoiceObject": { "docs": undefined, + "inline": undefined, "properties": { "rows": "optional", "total": "optional", @@ -10718,6 +10774,7 @@ }, "JobTitle": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "Unique identifier for the job title in Deel platform.", @@ -10735,12 +10792,10 @@ "JobTitleList": "list", "JobTitleListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "JobTitleList", - "page": { - "inline": true, - "type": "JobTitleListContainerPage", - }, + "page": "JobTitleListContainerPage", }, "source": { "openapi": "../openapi.yml", @@ -10748,6 +10803,7 @@ }, "JobTitleListContainerPage": { "docs": undefined, + "inline": true, "properties": { "cursor": { "docs": "Use for pagination to get next set of records after the given cursor.", @@ -10762,6 +10818,7 @@ "LegalEntityList": "list", "LegalEntityListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "optional", }, @@ -10781,6 +10838,7 @@ }, "MetaDataOfContractToCreate": { "docs": "Additional custom info about a contract", + "inline": undefined, "properties": { "documents_required": { "docs": "Require the contractor to upload necessary compliance documents as per their country’s labor laws.", @@ -10794,6 +10852,7 @@ }, "Milestone": { "docs": undefined, + "inline": undefined, "properties": { "amount": { "docs": "Amount to be paid for the milestone.", @@ -10814,12 +10873,10 @@ }, "reported_by": { "docs": "Milestone creator.", - "inline": true, "type": "MilestoneReportedBy", }, "reviewed_by": { "docs": "Reviewer's information.", - "inline": true, "type": "optional", }, "status": { @@ -10837,6 +10894,7 @@ }, "MilestoneContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "Milestone", }, @@ -10847,6 +10905,7 @@ "MilestoneList": "list", "MilestoneListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "MilestoneList", }, @@ -10856,6 +10915,7 @@ }, "MilestoneProperties": { "docs": undefined, + "inline": undefined, "properties": { "amount": { "docs": "Amount to be paid for the milestone.", @@ -10876,6 +10936,7 @@ }, "MilestoneReportedBy": { "docs": "Milestone creator.", + "inline": true, "properties": { "full_name": { "docs": "Reporter's full name.", @@ -10892,6 +10953,7 @@ }, "MilestoneReviewToCreate": { "docs": undefined, + "inline": undefined, "properties": { "reason": "optional", "status": "MilestoneReviewToCreateStatus", @@ -10911,6 +10973,7 @@ }, "MilestoneReviewedBy": { "docs": "Reviewer's information.", + "inline": true, "properties": { "full_name": { "docs": "Reviewer's full name.", @@ -10927,6 +10990,7 @@ }, "MilestoneReviewsToCreate": { "docs": undefined, + "inline": undefined, "properties": { "ids": "list", "reason": "optional", @@ -10952,6 +11016,7 @@ "MilestoneProperties", "FileObject", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -10959,6 +11024,7 @@ }, "MonthlyPayment": { "docs": "Monthly payment details for the user", + "inline": undefined, "properties": { "count": { "docs": "The number of monthly payments", @@ -11064,6 +11130,7 @@ }, "OffCyclePayment": { "docs": undefined, + "inline": undefined, "properties": { "amount": { "docs": "Amount of off-cycle payment.", @@ -11078,14 +11145,8 @@ }, "id": "UniqueObjectIdentifier", "public_id": "optional", - "reported_by": { - "inline": true, - "type": "OffCyclePaymentReportedBy", - }, - "reviewed_by": { - "inline": true, - "type": "optional", - }, + "reported_by": "OffCyclePaymentReportedBy", + "reviewed_by": "optional", "status": "optional", }, "source": { @@ -11094,6 +11155,7 @@ }, "OffCyclePaymentContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "OffCyclePayment", }, @@ -11104,6 +11166,7 @@ "OffCyclePaymentList": "list", "OffCyclePaymentListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "OffCyclePaymentList", }, @@ -11113,6 +11176,7 @@ }, "OffCyclePaymentReportedBy": { "docs": undefined, + "inline": true, "properties": { "full_name": { "docs": "Full name of the creator.", @@ -11129,6 +11193,7 @@ }, "OffCyclePaymentReviewedBy": { "docs": undefined, + "inline": true, "properties": { "full_name": { "docs": "Full name of the reviewer.", @@ -11153,6 +11218,7 @@ }, "OffCyclePaymentToCreate": { "docs": "Details of invoice adjustment to create.", + "inline": undefined, "properties": { "amount": { "docs": "Amount to be paid. Must be a positive number.", @@ -11182,6 +11248,7 @@ "OrganizationList": "list", "OrganizationListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "OrganizationList", }, @@ -11191,6 +11258,7 @@ }, "OutputToCreateFileRef": { "docs": undefined, + "inline": undefined, "properties": { "key": "string", "url": "string", @@ -11201,6 +11269,7 @@ }, "OutputToCreateFileRefContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "OutputToCreateFileRef", }, @@ -11210,6 +11279,7 @@ }, "PageInfo": { "docs": undefined, + "inline": undefined, "properties": { "cursor": "string", "total_rows": "double", @@ -11220,6 +11290,7 @@ }, "PageInfoWithoutCursor": { "docs": undefined, + "inline": undefined, "properties": { "total_rows": "double", }, @@ -11229,6 +11300,7 @@ }, "PageInfoWithoutCursorNew": { "docs": undefined, + "inline": undefined, "properties": { "items_per_page": { "type": "double", @@ -11258,6 +11330,7 @@ }, "Payment": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "Timestamp when the record was created.", @@ -11287,6 +11360,7 @@ }, "PaymentBreakDown": { "docs": undefined, + "inline": undefined, "properties": { "adjustment": "optional", "approve_date": "optional", @@ -11353,6 +11427,7 @@ }, "PaymentBreakDownContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "list", }, @@ -11363,6 +11438,7 @@ "PaymentList": "list", "PaymentListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "PaymentObject", }, @@ -11372,6 +11448,7 @@ }, "PaymentMethod": { "docs": undefined, + "inline": undefined, "properties": { "type": "PaymentMethodEnum", }, @@ -11407,6 +11484,7 @@ }, "PaymentObject": { "docs": undefined, + "inline": undefined, "properties": { "rows": "optional", "total": "optional", @@ -11417,6 +11495,7 @@ }, "PaymentStatementInitiatedWebhook": { "docs": undefined, + "inline": undefined, "properties": { "billing_invoices": "list", "invoices": "list", @@ -11438,6 +11517,7 @@ "PaymentStatusEnumList": "list", "PaymentWorker": { "docs": undefined, + "inline": undefined, "properties": { "contract_id": { "docs": "The worker's Deel contract Id.", @@ -11460,6 +11540,7 @@ "PaymentWorkerList": "list", "People": { "docs": "People object representing a Deel", + "inline": undefined, "properties": { "birth_date": { "docs": "Date of birth of the user in ISO format (yyyy-mm-dd)", @@ -11600,6 +11681,7 @@ }, "PeopleClientLegalEntity": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The unique identifier for the client legal entity.", @@ -11616,6 +11698,7 @@ }, "PeopleContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "list", }, @@ -11625,6 +11708,7 @@ }, "PeopleMe": { "docs": "People object representing a Deel", + "inline": undefined, "properties": { "avatar_url": { "docs": "URL of the user's avatar", @@ -11689,6 +11773,7 @@ "PeopleMeContainer": "PeopleMe", "PeoplePayment": { "docs": undefined, + "inline": undefined, "properties": { "contract_name": { "docs": "The name of the contract associated with the payment", @@ -11713,6 +11798,7 @@ }, "PgoTask": { "docs": undefined, + "inline": undefined, "properties": { "amount": { "docs": "Fixed rate for this task.", @@ -11736,6 +11822,7 @@ }, "PgoTaskReviewsByIdToCreate": { "docs": undefined, + "inline": undefined, "properties": { "reason": { "docs": "Review comments.", @@ -11762,6 +11849,7 @@ }, "PgoTaskReviewsToCreate": { "docs": undefined, + "inline": undefined, "properties": { "ids": "list", "reason": { @@ -11789,6 +11877,7 @@ }, "PgoTaskToCreate": { "docs": undefined, + "inline": undefined, "properties": { "amount": { "docs": "Fixed rate for this task.", @@ -11813,6 +11902,7 @@ }, "PgoTaskToDelete": { "docs": undefined, + "inline": undefined, "properties": { "delete_recurring_report": { "docs": "Request to delete recurring report.", @@ -11829,6 +11919,7 @@ }, "PremiumResultAdded": { "docs": undefined, + "inline": undefined, "properties": { "calculated_premium": { "docs": "Cost for Deel Premium.", @@ -11838,18 +11929,9 @@ "docs": "Deel Premium plan id.", "type": "string", }, - "misclassification_guarantee": { - "inline": true, - "type": "PremiumResultAddedMisclassificationGuarantee", - }, - "penalties": { - "inline": true, - "type": "PremiumResultAddedPenalties", - }, - "third_party_liabilities": { - "inline": true, - "type": "PremiumResultAddedThirdPartyLiabilities", - }, + "misclassification_guarantee": "PremiumResultAddedMisclassificationGuarantee", + "penalties": "PremiumResultAddedPenalties", + "third_party_liabilities": "PremiumResultAddedThirdPartyLiabilities", }, "source": { "openapi": "../openapi.yml", @@ -11857,6 +11939,7 @@ }, "PremiumResultAddedContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "PremiumResultAdded", }, @@ -11866,6 +11949,7 @@ }, "PremiumResultAddedMisclassificationGuarantee": { "docs": undefined, + "inline": true, "properties": { "description": { "docs": "Cover your legal defense costs.", @@ -11882,6 +11966,7 @@ }, "PremiumResultAddedPenalties": { "docs": undefined, + "inline": true, "properties": { "description": { "docs": "Get indemnity against tax authority penalties, liabilities and fines.", @@ -11898,6 +11983,7 @@ }, "PremiumResultAddedThirdPartyLiabilities": { "docs": undefined, + "inline": true, "properties": { "description": { "docs": "Get indemnity against third parties up to $10k depending on the court's decision.", @@ -11914,6 +12000,7 @@ }, "PremiumToAdd": { "docs": undefined, + "inline": undefined, "properties": { "agreement_reflects_relation": { "docs": "Is the Contractor Agreement selected on the Deel Platform perfectly reflecting your organizations relation and actual working practices with the contractor?", @@ -11930,6 +12017,7 @@ }, "ProRata": { "docs": "Details of the pro rata for the first payment", + "inline": undefined, "properties": { "calculation_type": { "docs": "Either works days or calendar days", @@ -12019,6 +12107,7 @@ }, "ResponseEstimateFirstPayment": { "docs": undefined, + "inline": undefined, "properties": { "first_payment_dates": "optional>", "pro_rata": "optional", @@ -12029,6 +12118,7 @@ }, "ResponseEstimateFirstPaymentContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "ResponseEstimateFirstPayment", }, @@ -12038,6 +12128,7 @@ }, "Seniority": { "docs": "Seniority describes level of expertise at a job e.g. junior", + "inline": undefined, "properties": { "id": { "docs": "Unique identifier for seniority record", @@ -12065,6 +12156,7 @@ "SeniorityList": "list", "SeniorityListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "SeniorityList", }, @@ -12074,6 +12166,7 @@ }, "SeniorityRequired": { "docs": "Seniority describes level of expertise at a job e.g. junior", + "inline": undefined, "properties": { "id": { "docs": "Unique identifier for seniority record.", @@ -12100,6 +12193,7 @@ }, "SignaturesOfBasicContract": { "docs": undefined, + "inline": undefined, "properties": { "client_signed_at": "optional", "worker_signature": { @@ -12114,6 +12208,7 @@ }, "SignaturesOfContract": { "docs": undefined, + "inline": undefined, "properties": { "client_signature": { "docs": "normally name of client is used as signature", @@ -12142,6 +12237,7 @@ }, "StateOfCountry": { "docs": "It may be called states, provinces, prefectures or regions, or none at all", + "inline": undefined, "properties": { "code": { "docs": "Territory code.", @@ -12171,6 +12267,7 @@ "TaskList": "list", "TaskListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "TaskList", }, @@ -12180,6 +12277,7 @@ }, "Team": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The unique identifier for the team.", @@ -12197,6 +12295,7 @@ "TeamList": "list", "TeamListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "TeamList", }, @@ -12206,6 +12305,7 @@ }, "TeamOfBasicContract": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "Unique reference of a team", @@ -12222,6 +12322,7 @@ }, "TeamOfContract": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "Unique reference of a team", @@ -12238,6 +12339,7 @@ }, "TimeoffReview": { "docs": undefined, + "inline": undefined, "properties": { "denial_reason": { "docs": "Denial reason for the time off requested.", @@ -12255,6 +12357,7 @@ "TimeoffTypeList": "list", "TimeoffTypeListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "TimeoffTypeList", }, @@ -12268,6 +12371,7 @@ }, "TimeoffsAttachmentsItem": { "docs": "A item in attachments array. 2022-09-08 FE only allows for "SICK LEAVE"", + "inline": undefined, "properties": { "file_extension": { "docs": "The file name extension", @@ -12285,6 +12389,7 @@ }, "TimeoffsProfile": { "docs": undefined, + "inline": undefined, "properties": { "id": "double", "is_employee": { @@ -12328,6 +12433,7 @@ "BasicTimesheet", "TimesheetApproversContainer", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -12336,12 +12442,10 @@ "TimesheetAccountingRefs": "optional>", "TimesheetAccountingRefsItem": { "docs": undefined, + "inline": undefined, "properties": { "integration": "string", - "mapping_category": { - "inline": true, - "type": "optional", - }, + "mapping_category": "optional", }, "source": { "openapi": "../openapi.yml", @@ -12349,6 +12453,7 @@ }, "TimesheetAccountingRefsItemMappingCategory": { "docs": undefined, + "inline": true, "properties": { "id": "string", "name": "string", @@ -12359,6 +12464,7 @@ }, "TimesheetApprover": { "docs": undefined, + "inline": undefined, "properties": { "approved": "boolean", "email": "string", @@ -12371,6 +12477,7 @@ "TimesheetApproverList": "list", "TimesheetApproversContainer": { "docs": undefined, + "inline": undefined, "properties": { "approvers": "TimesheetApproverList", }, @@ -12380,6 +12487,7 @@ }, "TimesheetContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "Timesheet", }, @@ -12392,6 +12500,7 @@ "discriminated": false, "docs": "ID of an existing timesheet record", "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -12403,6 +12512,7 @@ "TimesheetList": "list", "TimesheetListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "TimesheetList", "page": "PageInfoWithoutCursor", @@ -12413,6 +12523,7 @@ }, "TimesheetReviewToCreate": { "docs": undefined, + "inline": undefined, "properties": { "reason": "optional", "status": "TimesheetReviewToCreateStatus", @@ -12432,6 +12543,7 @@ }, "TimesheetReviewsToCreate": { "docs": undefined, + "inline": undefined, "properties": { "ids": "TimesheetIdItems", "reason": "optional", @@ -12452,6 +12564,7 @@ }, "TimesheetSearchContainer": { "docs": "This is a model to make it easier to understand and restrict search parameters", + "inline": undefined, "properties": { "contract_id": "optional", "contract_types": "optional", @@ -12508,6 +12621,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -12520,6 +12634,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -12532,6 +12647,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -12542,6 +12658,7 @@ }, "TimesheetSharedProperties": { "docs": "Details of timesheet to create; a client, contractor or EOR may create a timesheet", + "inline": undefined, "properties": { "contract_id": { "docs": "Id of a Deel contract.", @@ -12574,6 +12691,7 @@ "TimesheetSharedProperties", "FileObject", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -12581,6 +12699,7 @@ }, "TimesheetToUpdate": { "docs": "Details of timesheet to create; a client, contractor or EOR may update a timesheet", + "inline": undefined, "properties": { "description": "string", "quantity": "double", @@ -12598,6 +12717,7 @@ "discriminated": false, "docs": "Unique identifier of this resource.", "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -12626,6 +12746,7 @@ }, "WebhookItem": { "docs": undefined, + "inline": undefined, "properties": { "api_version": { "default": "v1", @@ -12679,6 +12800,7 @@ }, "WebhookItemResponse": { "docs": undefined, + "inline": undefined, "properties": { "data": "WebhookItem", }, @@ -12698,6 +12820,7 @@ }, "WebhookListResponse": { "docs": undefined, + "inline": undefined, "properties": { "data": "list", }, @@ -12800,6 +12923,7 @@ }, "WorkerLegalEntity": { "docs": undefined, + "inline": undefined, "properties": { "personal_name": "string", "registration_number": "string", @@ -12811,6 +12935,7 @@ }, "WorkerOfBasicContract": { "docs": undefined, + "inline": undefined, "properties": { "alternate_email": "optional", "email": "optional", @@ -12832,6 +12957,7 @@ }, "WorkerOfContract": { "docs": undefined, + "inline": undefined, "properties": { "alternate_email": "optional", "date_of_birth": "optional", @@ -13024,6 +13150,7 @@ - ContractTypeEnumList source: openapi: ../openapi.yml + inline: true ContractSearchFormWithoutCursorStatuses: discriminated: false union: @@ -13031,6 +13158,7 @@ - ContractStatusEnum source: openapi: ../openapi.yml + inline: true ContractSearchFormWithoutCursorCountries: discriminated: false union: @@ -13038,6 +13166,7 @@ - CountryCode source: openapi: ../openapi.yml + inline: true ContractSearchFormWithoutCursorCurrencies: discriminated: false union: @@ -13045,6 +13174,7 @@ - CurrencyCodeRequired source: openapi: ../openapi.yml + inline: true ContractSearchFormWithoutCursor: docs: >- This is a model to make it easier to understand and restrict search @@ -13451,6 +13581,7 @@ scale: WorkStatementScaleEnum source: openapi: ../openapi.yml + inline: true ContractToCreatePayAsYouGoTimeBased: properties: type: literal<"pay_as_you_go_time_based"> @@ -13511,6 +13642,7 @@ scale: WorkStatementScaleEnum source: openapi: ../openapi.yml + inline: true ContractToCreateOngoingTimeBased: properties: type: literal<"ongoing_time_based"> @@ -13527,6 +13659,7 @@ id: double source: openapi: ../openapi.yml + inline: true ContractToCreateSharedClientTeam: docs: >- Choose the Deel team for this contract. Use teams endpoint to retrieve a @@ -13535,6 +13668,7 @@ id: double source: openapi: ../openapi.yml + inline: true ContractToCreateSharedClient: properties: legal_entity: @@ -13542,15 +13676,14 @@ docs: >- Choose the Deel legal entity for this contract. Use legal entity endpoint to retrieve a list of legal entities in your organization. - inline: true team: type: ContractToCreateSharedClientTeam docs: >- Choose the Deel team for this contract. Use teams endpoint to retrieve a list of teams in your organization. - inline: true source: openapi: ../openapi.yml + inline: true ContractToCreateSharedJobTitle: docs: >- Worker's job title. You can enter a custom job title or use a pre-defiled @@ -13566,6 +13699,7 @@ maxLength: 255 source: openapi: ../openapi.yml + inline: true ContractToCreateSharedSeniority: docs: >- Job seniority level. Please use the seniority levels endpoint to retrieve @@ -13574,6 +13708,7 @@ id: optional source: openapi: ../openapi.yml + inline: true ContractToCreateSharedWorker: docs: Worker properties properties: @@ -13590,6 +13725,7 @@ maxLength: 255 source: openapi: ../openapi.yml + inline: true ContractToCreateShared: docs: Details of contract to create properties: @@ -13610,21 +13746,17 @@ docs: Enter any special clause you may have. start_date: optional termination_date: optional - client: - type: ContractToCreateSharedClient - inline: true + client: ContractToCreateSharedClient job_title: type: ContractToCreateSharedJobTitle docs: >- Worker's job title. You can enter a custom job title or use a pre-defiled job title using the Id retrieved in job-titles endpoint. - inline: true seniority: type: optional docs: >- Job seniority level. Please use the seniority levels endpoint to retrieve the list of seniority levels. - inline: true notice_period: optional who_reports: optional meta: MetaDataOfContractToCreate @@ -13634,7 +13766,6 @@ worker: type: optional docs: Worker properties - inline: true source: openapi: ../openapi.yml MetaDataOfContractToCreate: @@ -13862,6 +13993,7 @@ min: 0 source: openapi: ../openapi.yml + inline: true BasicTimesheetReviewedBy: properties: id: double @@ -13870,6 +14002,7 @@ remarks: string source: openapi: ../openapi.yml + inline: true BasicTimesheetContract: properties: id: string @@ -13877,18 +14010,21 @@ type: ContractTypeEnum source: openapi: ../openapi.yml + inline: true BasicTimesheetPaymentCycle: properties: start_date: optional end_date: optional source: openapi: ../openapi.yml + inline: true BasicTimesheetReportedBy: properties: id: double full_name: string source: openapi: ../openapi.yml + inline: true BasicTimesheet: properties: id: UniqueObjectIdentifier @@ -13910,21 +14046,11 @@ scale: optional custom_scale: optional attachment: optional - worksheet: - type: optional - inline: true - reviewed_by: - type: optional - inline: true - contract: - type: BasicTimesheetContract - inline: true - payment_cycle: - type: optional - inline: true - reported_by: - type: BasicTimesheetReportedBy - inline: true + worksheet: optional + reviewed_by: optional + contract: BasicTimesheetContract + payment_cycle: optional + reported_by: BasicTimesheetReportedBy source: openapi: ../openapi.yml TimesheetContainer: @@ -14069,6 +14195,7 @@ - ContractTypeEnum source: openapi: ../openapi.yml + inline: true TimesheetSearchContainerTypes: discriminated: false union: @@ -14076,6 +14203,7 @@ - TimesheetTypeEnum source: openapi: ../openapi.yml + inline: true TimesheetSearchContainerStatuses: discriminated: false union: @@ -14083,6 +14211,7 @@ - optional source: openapi: ../openapi.yml + inline: true TimesheetSearchContainer: docs: >- This is a model to make it easier to understand and restrict search @@ -14126,12 +14255,11 @@ name: string source: openapi: ../openapi.yml + inline: true TimesheetAccountingRefsItem: properties: integration: string - mapping_category: - type: optional - inline: true + mapping_category: optional source: openapi: ../openapi.yml TimesheetAccountingRefs: optional> @@ -14142,6 +14270,7 @@ - ContractTypeEnum source: openapi: ../openapi.yml + inline: true InvoiceAdjustmentSearchContainerTypes: discriminated: false union: @@ -14149,6 +14278,7 @@ - InvoiceAdjustmentTypeEnum source: openapi: ../openapi.yml + inline: true InvoiceAdjustmentSearchContainerStatuses: discriminated: false union: @@ -14156,6 +14286,7 @@ - optional source: openapi: ../openapi.yml + inline: true InvoiceAdjustmentSearchContainer: docs: >- This is a model to make it easier to understand and restrict search @@ -14220,6 +14351,7 @@ min: 0 source: openapi: ../openapi.yml + inline: true BasicInvoiceAdjustmentReviewedBy: properties: id: double @@ -14228,6 +14360,7 @@ remarks: string source: openapi: ../openapi.yml + inline: true BasicInvoiceAdjustmentContract: properties: id: string @@ -14235,18 +14368,21 @@ type: ContractTypeEnum source: openapi: ../openapi.yml + inline: true BasicInvoiceAdjustmentPaymentCycle: properties: start_date: optional end_date: optional source: openapi: ../openapi.yml + inline: true BasicInvoiceAdjustmentReportedBy: properties: id: double full_name: string source: openapi: ../openapi.yml + inline: true BasicInvoiceAdjustment: properties: id: UniqueObjectIdentifier @@ -14262,21 +14398,11 @@ scale: optional custom_scale: optional attachment: optional - worksheet: - type: optional - inline: true - reviewed_by: - type: optional - inline: true - contract: - type: BasicInvoiceAdjustmentContract - inline: true - payment_cycle: - type: BasicInvoiceAdjustmentPaymentCycle - inline: true - reported_by: - type: BasicInvoiceAdjustmentReportedBy - inline: true + worksheet: optional + reviewed_by: optional + contract: BasicInvoiceAdjustmentContract + payment_cycle: BasicInvoiceAdjustmentPaymentCycle + reported_by: BasicInvoiceAdjustmentReportedBy source: openapi: ../openapi.yml InvoiceAdjustmentContainer: @@ -14396,11 +14522,10 @@ created: boolean source: openapi: ../openapi.yml + inline: true GenericResultCreated: properties: - data: - type: GenericResultCreatedData - inline: true + data: GenericResultCreatedData source: openapi: ../openapi.yml ContractExternalIdPatchedResponseContainer: ContractExternalIdToPatch @@ -14414,11 +14539,10 @@ updated: boolean source: openapi: ../openapi.yml + inline: true GenericResultUpdated: properties: - data: - type: GenericResultUpdatedData - inline: true + data: GenericResultUpdatedData source: openapi: ../openapi.yml GenericResultDeletedData: @@ -14428,11 +14552,10 @@ docs: Confirms the deletion. source: openapi: ../openapi.yml + inline: true GenericResultDeleted: properties: - data: - type: GenericResultDeletedData - inline: true + data: GenericResultDeletedData source: openapi: ../openapi.yml ContractTypeEnumList: @@ -14694,12 +14817,11 @@ docs: Use for pagination to get next set of records after the given cursor. source: openapi: ../openapi.yml + inline: true JobTitleListContainer: properties: data: JobTitleList - page: - type: JobTitleListContainerPage - inline: true + page: JobTitleListContainerPage source: openapi: ../openapi.yml JobTitleList: list @@ -14920,6 +15042,7 @@ docs: Reviewer's full name. source: openapi: ../openapi.yml + inline: true MilestoneReportedBy: docs: Milestone creator. properties: @@ -14931,6 +15054,7 @@ docs: Reporter's full name. source: openapi: ../openapi.yml + inline: true Milestone: properties: id: @@ -14947,11 +15071,9 @@ reviewed_by: type: optional docs: Reviewer's information. - inline: true reported_by: type: MilestoneReportedBy docs: Milestone creator. - inline: true title: type: string docs: Title of milestone. @@ -15046,15 +15168,14 @@ work_week_end: optional source: openapi: ../openapi.yml + inline: true EstimateFirstPayment: docs: Details of pro rata payment to create. properties: type: ContractTypeEnum country_code: CountryCode start_date: DateStringRequired - compensation_details: - type: EstimateFirstPaymentCompensationDetails - inline: true + compensation_details: EstimateFirstPaymentCompensationDetails source: openapi: ../openapi.yml ProRataCalculationType: @@ -15126,6 +15247,7 @@ docs: Remarks made during review process. source: openapi: ../openapi.yml + inline: true OffCyclePaymentReportedBy: properties: id: @@ -15136,6 +15258,7 @@ docs: Full name of the creator. source: openapi: ../openapi.yml + inline: true OffCyclePayment: properties: id: UniqueObjectIdentifier @@ -15150,12 +15273,8 @@ type: string docs: Amount of off-cycle payment. created_at: optional - reviewed_by: - type: optional - inline: true - reported_by: - type: OffCyclePaymentReportedBy - inline: true + reviewed_by: optional + reported_by: OffCyclePaymentReportedBy source: openapi: ../openapi.yml FileAttachmentInfo: @@ -15298,32 +15417,29 @@ title: string source: openapi: ../openapi.yml + inline: true AgreementClientLegalEntity: properties: id: double name: string source: openapi: ../openapi.yml + inline: true AgreementProviderLegalEntity: properties: id: double name: string source: openapi: ../openapi.yml + inline: true Agreement: properties: id: double agreement_title: string agreement_type: string - msa: - type: AgreementMsa - inline: true - client_legal_entity: - type: AgreementClientLegalEntity - inline: true - provider_legal_entity: - type: AgreementProviderLegalEntity - inline: true + msa: AgreementMsa + client_legal_entity: AgreementClientLegalEntity + provider_legal_entity: AgreementProviderLegalEntity source: openapi: ../openapi.yml InputToShieldContractData: @@ -15333,11 +15449,10 @@ docs: MSA contract id (agreement). source: openapi: ../openapi.yml + inline: true InputToShieldContract: properties: - data: - type: InputToShieldContractData - inline: true + data: InputToShieldContractData source: openapi: ../openapi.yml PremiumToAdd: @@ -15397,6 +15512,7 @@ completion_date: optional source: openapi: ../openapi.yml + inline: true FinalPaymentCalculatedCalculationType: enum: - CUSTOM_AMOUNT @@ -15443,6 +15559,7 @@ docs: Cover your legal defense costs. source: openapi: ../openapi.yml + inline: true PremiumResultAddedPenalties: properties: name: @@ -15453,6 +15570,7 @@ docs: Get indemnity against tax authority penalties, liabilities and fines. source: openapi: ../openapi.yml + inline: true PremiumResultAddedThirdPartyLiabilities: properties: name: @@ -15465,6 +15583,7 @@ court's decision. source: openapi: ../openapi.yml + inline: true PremiumResultAdded: properties: id: @@ -15473,15 +15592,9 @@ calculated_premium: type: double docs: Cost for Deel Premium. - misclassification_guarantee: - type: PremiumResultAddedMisclassificationGuarantee - inline: true - penalties: - type: PremiumResultAddedPenalties - inline: true - third_party_liabilities: - type: PremiumResultAddedThirdPartyLiabilities - inline: true + misclassification_guarantee: PremiumResultAddedMisclassificationGuarantee + penalties: PremiumResultAddedPenalties + third_party_liabilities: PremiumResultAddedThirdPartyLiabilities source: openapi: ../openapi.yml EorEntitlements: @@ -15636,6 +15749,7 @@ country: optional source: openapi: ../openapi.yml + inline: true EorContractToCreateEmployee: properties: first_name: @@ -15650,11 +15764,10 @@ nationality: type: string docs: Employee's nationality. - address: - type: optional - inline: true + address: optional source: openapi: ../openapi.yml + inline: true EorContractToCreateEmploymentType: enum: - value: Full-time @@ -15710,6 +15823,7 @@ chooseing "STANDARD" time_off_type. source: openapi: ../openapi.yml + inline: true EorContractToCreateSeniority: properties: id: @@ -15719,6 +15833,7 @@ for "Not Applicable". source: openapi: ../openapi.yml + inline: true EorContractToCreateClientLegalEntity: properties: id: @@ -15729,6 +15844,7 @@ your organization. source: openapi: ../openapi.yml + inline: true EorContractToCreateClientTeam: properties: id: @@ -15738,16 +15854,14 @@ to retrieve a list of teams in your organization. source: openapi: ../openapi.yml + inline: true EorContractToCreateClient: properties: - legal_entity: - type: optional - inline: true - team: - type: optional - inline: true + legal_entity: optional + team: optional source: openapi: ../openapi.yml + inline: true EorContractToCreateCompensationDetails: properties: salary: @@ -15768,6 +15882,7 @@ PERCENTAGE or FIXED. source: openapi: ../openapi.yml + inline: true EorContractToCreateQuoteAdditionalFieldsWorkerType: enum: - Skilled @@ -15791,32 +15906,22 @@ docs: Employee's date of birth. source: openapi: ../openapi.yml + inline: true EorContractToCreate: properties: - employee: - type: optional - inline: true - employment: - type: EorContractToCreateEmployment - inline: true + employee: optional + employment: EorContractToCreateEmployment job_title: type: optional docs: Employee's job title. - seniority: - type: EorContractToCreateSeniority - inline: true - client: - type: EorContractToCreateClient - inline: true - compensation_details: - type: EorContractToCreateCompensationDetails - inline: true + seniority: EorContractToCreateSeniority + client: EorContractToCreateClient + compensation_details: EorContractToCreateCompensationDetails quote_additional_fields: type: optional docs: >- Some countries require additional employee information for employment contracts. - inline: true health_plan_id: type: optional docs: >- @@ -15856,6 +15961,7 @@ docs: Number of calculate holidays for this contract. source: openapi: ../openapi.yml + inline: true EorContractCreatedClientLegalEntity: properties: name: @@ -15863,13 +15969,13 @@ docs: Legal entity name. source: openapi: ../openapi.yml + inline: true EorContractCreatedClient: properties: - legal_entity: - type: optional - inline: true + legal_entity: optional source: openapi: ../openapi.yml + inline: true EorContractCreatedCompensationDetails: properties: salary: @@ -15886,6 +15992,7 @@ docs: Type fo variable compensation. source: openapi: ../openapi.yml + inline: true EorContractCreatedEmployee: properties: legal_name: @@ -15902,6 +16009,7 @@ docs: Employee's email. source: openapi: ../openapi.yml + inline: true EorContractCreatedHealthPlan: properties: id: @@ -15912,6 +16020,7 @@ docs: Health plan name source: openapi: ../openapi.yml + inline: true EorContractCreated: properties: id: @@ -15923,21 +16032,11 @@ job_title: type: optional docs: Employee's job title. - employment: - type: optional - inline: true - client: - type: optional - inline: true - compensation_details: - type: optional - inline: true - employee: - type: optional - inline: true - health_plan: - type: optional - inline: true + employment: optional + client: optional + compensation_details: optional + employee: optional + health_plan: optional seniority: optional source: openapi: ../openapi.yml @@ -15949,6 +16048,7 @@ docs: Minimum number of holidays required for a legally compliant contract. source: openapi: ../openapi.yml + inline: true EorCountryValidationsPartTimeHolidayType: enum: - PRORATED @@ -15965,6 +16065,7 @@ docs: Minimum number of holidays required for a legally compliant contract. source: openapi: ../openapi.yml + inline: true EorCountryValidationsSickDays: properties: min: @@ -15975,6 +16076,7 @@ docs: Maximum number of sick days allowed for a legally compliant contract. source: openapi: ../openapi.yml + inline: true EorCountryValidationsSalary: docs: Salary range. properties: @@ -15986,6 +16088,7 @@ docs: Maximum wage allowed for a legally compliant contract. source: openapi: ../openapi.yml + inline: true EorCountryValidationsProbation: docs: Probation period range. properties: @@ -15997,6 +16100,7 @@ docs: Maximum probation days allowed for a legally compliant contract. source: openapi: ../openapi.yml + inline: true EorCountryValidationsPartTimeProbation: docs: Probation period range for part-time contracts. properties: @@ -16008,27 +16112,27 @@ docs: Maximum probation days allowed for a legally compliant contract. source: openapi: ../openapi.yml + inline: true EorCountryValidationsWorkScheduleDays: properties: max: optional source: openapi: ../openapi.yml + inline: true EorCountryValidationsWorkScheduleHours: properties: max: optional source: openapi: ../openapi.yml + inline: true EorCountryValidationsWorkSchedule: docs: Employee's Work schedule in days and hours. properties: - days: - type: optional - inline: true - hours: - type: optional - inline: true + days: optional + hours: optional source: openapi: ../openapi.yml + inline: true EorCountryValidationsDefiniteContractType: enum: - ALLOWED_WITHOUT_LIMITATION @@ -16043,41 +16147,35 @@ maximum_limitation: optional source: openapi: ../openapi.yml + inline: true EorCountryValidationsHealthInsurance: properties: status: optional providers: optional> source: openapi: ../openapi.yml + inline: true EorCountryValidations: properties: holiday: type: optional docs: Range of the number of holidays. - inline: true part_time_holiday: type: optional docs: Holiday type and range for part-time contracts. - inline: true - sick_days: - type: optional - inline: true + sick_days: optional salary: type: optional docs: Salary range. - inline: true probation: type: optional docs: Probation period range. - inline: true part_time_probation: type: optional docs: Probation period range for part-time contracts. - inline: true work_schedule: type: optional docs: Employee's Work schedule in days and hours. - inline: true insurance_fee: type: optional docs: Insurance fee. @@ -16096,13 +16194,10 @@ definite_contract: type: optional docs: Conditions to make definitive contract. - inline: true adjustments_information_box: type: optional docs: Country specific notes and information. - health_insurance: - type: optional - inline: true + health_insurance: optional source: openapi: ../openapi.yml HealthInsuranceProviderAttachmentsItem: @@ -16111,6 +16206,7 @@ label: optional source: openapi: ../openapi.yml + inline: true HealthInsuranceProviderPlansItem: properties: id: @@ -16128,6 +16224,7 @@ is_enabled: optional source: openapi: ../openapi.yml + inline: true HealthInsuranceProvider: docs: Health insurance provider. properties: @@ -16445,17 +16542,20 @@ contract_name: optional source: openapi: ../openapi.yml + inline: true EmployeeListClientLegalEntity: properties: id: optional name: optional source: openapi: ../openapi.yml + inline: true EmployeeListMonthlyPayment: properties: count: optional source: openapi: ../openapi.yml + inline: true EmployeeList: properties: id: optional @@ -16475,16 +16575,12 @@ job_title: optional payments: optional> hourly_report_total: optional - client_legal_entity: - type: optional - inline: true + client_legal_entity: optional state: optional seniority: optional completion_date: optional hiring_status: optional - monthly_payment: - type: optional - inline: true + monthly_payment: optional source: openapi: ../openapi.yml WebhookItemStatus: @@ -16861,6 +16957,7 @@ - HrisJobInformationTitleName source: openapi: ../openapi.yml + inline: true HrisDirectEmployeeContract: discriminant: employment_type base-properties: {} @@ -16882,6 +16979,7 @@ max: 365 source: openapi: ../openapi.yml + inline: true HrisDirectEmployee: properties: employee_details: HrisDirectEmployeeDetails @@ -16889,9 +16987,7 @@ job_information: HrisDirectEmployeeJobInformation compensation: HrisCompensation contract: HrisDirectEmployeeContract - vacation_info: - type: optional - inline: true + vacation_info: optional source: openapi: ../openapi.yml HrisDirectEmployeeResponse: @@ -21094,10 +21190,7 @@ docs: End-points to retrieve paid invoices and reciepts. "request": { "body": { "properties": { - "data": { - "inline": true, - "type": "InputToCreateFileRefData", - }, + "data": "InputToCreateFileRefData", }, }, "content-type": "application/json", @@ -21122,6 +21215,7 @@ docs: End-points to retrieve paid invoices and reciepts. "types": { "InputToCreateFileRefData": { "docs": undefined, + "inline": true, "properties": { "content_type": "root.FileRefTypeEnum", }, @@ -21139,6 +21233,7 @@ types: content_type: root.FileRefTypeEnum source: openapi: ../openapi.yml + inline: true service: auth: false base-path: '' @@ -21157,9 +21252,7 @@ service: name: InputToCreateFileRef body: properties: - data: - type: InputToCreateFileRefData - inline: true + data: InputToCreateFileRefData content-type: application/json response: docs: Successful operation. diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/default-content.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/default-content.json index 1954cba0fbe..4368af83af9 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/default-content.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/default-content.json @@ -8,6 +8,7 @@ "types": { "GenerateContentResponse": { "docs": undefined, + "inline": undefined, "properties": { "bar": "optional", }, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/devrev.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/devrev.json index a6f53eb9b5e..76ca63cecdd 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/devrev.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/devrev.json @@ -3661,6 +3661,7 @@ }, "ArtifactsLocateResponse": { "docs": "The response to getting an artifact's download URL.", + "inline": undefined, "properties": { "expires_at": { "docs": "The expiration timestamp of the URL.", @@ -3677,6 +3678,7 @@ }, "ArtifactsPrepareResponse": { "docs": "The response to preparing a URL to upload a file.", + "inline": undefined, "properties": { "form_data": { "docs": "The POST policy form data.", @@ -3697,6 +3699,7 @@ }, "ArtifactsPrepareResponseFormData": { "docs": undefined, + "inline": undefined, "properties": { "key": { "docs": "Key of the form field.", @@ -3713,6 +3716,7 @@ }, "AtomBase": { "docs": undefined, + "inline": undefined, "properties": { "created_by": { "type": "optional", @@ -3743,6 +3747,7 @@ }, "AtomBaseSummary": { "docs": undefined, + "inline": undefined, "properties": { "display_id": { "docs": "Human-readable object ID unique to the Dev organization.", @@ -3810,6 +3815,7 @@ authentication connection that is set up for a Dev organization. "docs": "Object encapsulating the configuration parameters for an Azure AD authentication connection. ", + "inline": undefined, "properties": { "client_id": { "docs": "Client ID for the Azure authentication connection.", @@ -3832,6 +3838,7 @@ authentication connection. "docs": "Object encapsulating the configuration parameters for a Google Apps authentication connection. ", + "inline": undefined, "properties": { "client_id": { "docs": "Client ID for the Google Apps authentication connection.", @@ -3856,6 +3863,7 @@ authentication connection. "docs": "Object encapsulating the configuration parameters for an OIDC authentication connection. ", + "inline": undefined, "properties": { "client_id": { "docs": "Client ID for the OIDC authentication connection.", @@ -3878,6 +3886,7 @@ authentication connection. "docs": "Object encapsulating the configuration parameters for a SAML authentication connection. ", + "inline": undefined, "properties": { "sign_in_endpoint": { "docs": "Sign In endpoint for the SAML authentication connection.", @@ -3925,6 +3934,7 @@ for each authentication connection will depend on the type value. "extends": [ "AtomBase", ], + "inline": undefined, "properties": { "client_id": { "docs": "An identifier that represents the application that requested the @@ -4075,6 +4085,7 @@ token. Only applicable for application access tokens. "docs": "Response for the request to create a new token corresponding to the requested token type. ", + "inline": undefined, "properties": { "access_token": { "docs": "The issued JSON Web Token (JWT) corresponding to the requested @@ -4113,6 +4124,7 @@ of values in which the order of values does not matter. }, "AuthTokensGetResponse": { "docs": "The response to get the token metadata.", + "inline": undefined, "properties": { "token": { "type": "AuthToken", @@ -4124,6 +4136,7 @@ of values in which the order of values does not matter. }, "AuthTokensListResponse": { "docs": "The response to list the token metadata.", + "inline": undefined, "properties": { "tokens": { "docs": "The list of token metadata.", @@ -4136,6 +4149,7 @@ of values in which the order of values does not matter. }, "AuthTokensOrgTraits": { "docs": "Carries Rev org info.", + "inline": undefined, "properties": { "display_name": { "docs": "The display name of the Rev org.", @@ -4154,6 +4168,7 @@ of values in which the order of values does not matter. "docs": "Carries info corresponding to the Rev user to be provisioned and/or issue a Rev session token. ", + "inline": undefined, "properties": { "org_ref": { "docs": "An identifier which uniquely identifies a Rev org.", @@ -4180,6 +4195,7 @@ issue a Rev session token. }, "AuthTokensUpdateResponse": { "docs": "Response for the request to update the token metadata.", + "inline": undefined, "properties": { "token": { "type": "AuthToken", @@ -4191,6 +4207,7 @@ issue a Rev session token. }, "AuthTokensUserTraits": { "docs": "Carries Rev user info.", + "inline": undefined, "properties": { "display_name": { "docs": "The display name of the Rev user.", @@ -4267,6 +4284,7 @@ authentication connections have different configuration parameters. "docs": "Response for the request to create a new enterprise authentication connection. ", + "inline": undefined, "properties": { "auth_connection": { "type": "AuthConnection", @@ -4280,6 +4298,7 @@ connection. "docs": "Response object encapsulating the configuration details of an authentication connection. ", + "inline": undefined, "properties": { "auth_connection": { "type": "AuthConnection", @@ -4293,6 +4312,7 @@ authentication connection. "docs": "Response object for the request to list all the social and enterprise authentication connections configured for a Dev organization. ", + "inline": undefined, "properties": { "auth_connections": { "docs": "List of all the authentication connections currently configured for @@ -4368,6 +4388,7 @@ that can be updated. "docs": "Response for the request to update an enterprise authentication connection. ", + "inline": undefined, "properties": { "auth_connection": { "type": "AuthConnection", @@ -4382,6 +4403,7 @@ connection. "extends": [ "UserBase", ], + "inline": undefined, "properties": { "external_identities": { "docs": "IDs of the Dev User outside the DevRev SOR.", @@ -4397,6 +4419,7 @@ connection. }, "DevUsersListResponse": { "docs": "The response to listing the Dev users.", + "inline": undefined, "properties": { "dev_users": { "docs": "The list of Dev users.", @@ -4422,6 +4445,7 @@ sort order. If not set, then no prior elements exist. "DevUsersSelfResponse": { "docs": "The response to getting the information for the authenticated user. ", + "inline": undefined, "properties": { "dev_user": { "type": "DevUser", @@ -4439,6 +4463,7 @@ sort order. If not set, then no prior elements exist. "extends": [ "ErrorBase", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4449,6 +4474,7 @@ sort order. If not set, then no prior elements exist. }, "ErrorBadRequestInvalidEnumValue": { "docs": undefined, + "inline": undefined, "properties": { "allowed_values": { "docs": "The allowed values for the field.", @@ -4469,6 +4495,7 @@ sort order. If not set, then no prior elements exist. }, "ErrorBadRequestMissingRequiredField": { "docs": undefined, + "inline": undefined, "properties": { "field_name": { "docs": "The missing field's name.", @@ -4496,6 +4523,7 @@ sort order. If not set, then no prior elements exist. }, "ErrorBadRequestValueNotPermitted": { "docs": undefined, + "inline": undefined, "properties": { "field_name": { "docs": "The field whose value is not permitted.", @@ -4512,6 +4540,7 @@ sort order. If not set, then no prior elements exist. }, "ErrorBase": { "docs": undefined, + "inline": undefined, "properties": { "message": { "docs": "The message associated with the error.", @@ -4527,6 +4556,7 @@ sort order. If not set, then no prior elements exist. "extends": [ "ErrorBase", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4541,6 +4571,7 @@ sort order. If not set, then no prior elements exist. "extends": [ "ErrorBase", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4555,6 +4586,7 @@ sort order. If not set, then no prior elements exist. "extends": [ "ErrorBase", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4569,6 +4601,7 @@ sort order. If not set, then no prior elements exist. "extends": [ "ErrorBase", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4583,6 +4616,7 @@ sort order. If not set, then no prior elements exist. "extends": [ "ErrorBase", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4597,6 +4631,7 @@ sort order. If not set, then no prior elements exist. "extends": [ "ErrorBase", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4608,6 +4643,7 @@ sort order. If not set, then no prior elements exist. }, "EventPartCreated": { "docs": undefined, + "inline": undefined, "properties": { "part": { "type": "part", @@ -4619,6 +4655,7 @@ sort order. If not set, then no prior elements exist. }, "EventPartDeleted": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The ID of the part that was deleted.", @@ -4631,6 +4668,7 @@ sort order. If not set, then no prior elements exist. }, "EventPartUpdated": { "docs": undefined, + "inline": undefined, "properties": { "part": { "type": "part", @@ -4642,6 +4680,7 @@ sort order. If not set, then no prior elements exist. }, "EventRevOrgCreated": { "docs": undefined, + "inline": undefined, "properties": { "rev_org": { "type": "RevOrg", @@ -4653,6 +4692,7 @@ sort order. If not set, then no prior elements exist. }, "EventRevOrgDeleted": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The ID of the Rev organization that was deleted.", @@ -4665,6 +4705,7 @@ sort order. If not set, then no prior elements exist. }, "EventRevOrgUpdated": { "docs": undefined, + "inline": undefined, "properties": { "rev_org": { "type": "RevOrg", @@ -4676,6 +4717,7 @@ sort order. If not set, then no prior elements exist. }, "EventTagCreated": { "docs": undefined, + "inline": undefined, "properties": { "tag": { "type": "tag", @@ -4687,6 +4729,7 @@ sort order. If not set, then no prior elements exist. }, "EventTagDeleted": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The ID of the tag that was deleted.", @@ -4699,6 +4742,7 @@ sort order. If not set, then no prior elements exist. }, "EventTagUpdated": { "docs": undefined, + "inline": undefined, "properties": { "tag": { "type": "tag", @@ -4710,6 +4754,7 @@ sort order. If not set, then no prior elements exist. }, "EventTimelineEntryCreated": { "docs": undefined, + "inline": undefined, "properties": { "entry": { "type": "TimelineEntry", @@ -4721,6 +4766,7 @@ sort order. If not set, then no prior elements exist. }, "EventTimelineEntryDeleted": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The ID of the timeline entry that was deleted.", @@ -4733,6 +4779,7 @@ sort order. If not set, then no prior elements exist. }, "EventTimelineEntryUpdated": { "docs": undefined, + "inline": undefined, "properties": { "entry": { "type": "TimelineEntry", @@ -4744,6 +4791,7 @@ sort order. If not set, then no prior elements exist. }, "EventWebhookCreated": { "docs": undefined, + "inline": undefined, "properties": { "webhook": { "type": "webhook", @@ -4755,6 +4803,7 @@ sort order. If not set, then no prior elements exist. }, "EventWebhookDeleted": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The ID of the webhook that was deleted.", @@ -4767,6 +4816,7 @@ sort order. If not set, then no prior elements exist. }, "EventWebhookUpdated": { "docs": undefined, + "inline": undefined, "properties": { "webhook": { "type": "webhook", @@ -4778,6 +4828,7 @@ sort order. If not set, then no prior elements exist. }, "EventWorkCreated": { "docs": undefined, + "inline": undefined, "properties": { "work": { "type": "work", @@ -4789,6 +4840,7 @@ sort order. If not set, then no prior elements exist. }, "EventWorkDeleted": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The ID of the work that was deleted.", @@ -4801,6 +4853,7 @@ sort order. If not set, then no prior elements exist. }, "EventWorkUpdated": { "docs": undefined, + "inline": undefined, "properties": { "work": { "type": "work", @@ -4855,6 +4908,7 @@ always be returned in the specified sort-by order. "extends": [ "AtomBase", ], + "inline": undefined, "properties": { "display_name": { "docs": "Name of the Organization.", @@ -4870,6 +4924,7 @@ always be returned in the specified sort-by order. "extends": [ "AtomBaseSummary", ], + "inline": undefined, "properties": { "display_name": { "docs": "Name of the Organization.", @@ -4911,6 +4966,7 @@ always be returned in the specified sort-by order. "extends": [ "AtomBase", ], + "inline": undefined, "properties": { "artifacts": { "docs": "The attached artifacts.", @@ -4942,6 +4998,7 @@ always be returned in the specified sort-by order. "extends": [ "AtomBaseSummary", ], + "inline": undefined, "properties": { "name": { "docs": "Name of the part.", @@ -5018,6 +5075,7 @@ always be returned in the specified sort-by order. }, "PartsCreateRequestCapability": { "docs": undefined, + "inline": undefined, "properties": { "parent_part": { "docs": "ID of the parent product for the capability.", @@ -5030,6 +5088,7 @@ always be returned in the specified sort-by order. }, "PartsCreateRequestEnhancement": { "docs": undefined, + "inline": undefined, "properties": { "parent_part": { "docs": "ID of the parent part on which the enhancement is to be created. @@ -5048,6 +5107,7 @@ always be returned in the specified sort-by order. }, "PartsCreateRequestFeature": { "docs": undefined, + "inline": undefined, "properties": { "parent_part": { "docs": "ID of the parent capability/feature for the feature.", @@ -5063,6 +5123,7 @@ always be returned in the specified sort-by order. }, "PartsCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "part": { "type": "part", @@ -5077,6 +5138,7 @@ always be returned in the specified sort-by order. }, "PartsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "part": { "type": "part", @@ -5088,6 +5150,7 @@ always be returned in the specified sort-by order. }, "PartsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "next_cursor": { "docs": "The cursor used to iterate subsequent results in accordance to the @@ -5156,6 +5219,7 @@ sort order. If not set, then no prior elements exist. }, "PartsUpdateRequestEnhancement": { "docs": undefined, + "inline": undefined, "properties": { "target_close_date": { "docs": "Updates the target close date of the enhancement.", @@ -5171,6 +5235,7 @@ sort order. If not set, then no prior elements exist. }, "PartsUpdateRequestOwnedBy": { "docs": undefined, + "inline": undefined, "properties": { "set": { "docs": "Sets the owner IDs to the provided user IDs. This must not be @@ -5188,6 +5253,7 @@ empty. }, "PartsUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "part": { "type": "part", @@ -5208,6 +5274,7 @@ empty. "extends": [ "OrgBase", ], + "inline": undefined, "properties": { "description": { "docs": "Description of the Rev organization.", @@ -5236,6 +5303,7 @@ organization. "RevOrgsCreateResponse": { "docs": "Response object for request to create a new Rev organization. ", + "inline": undefined, "properties": { "rev_org": { "type": "RevOrg", @@ -5251,6 +5319,7 @@ organization. }, "RevOrgsGetResponse": { "docs": "The response to getting a Rev organization's information.", + "inline": undefined, "properties": { "rev_org": { "type": "RevOrg", @@ -5263,6 +5332,7 @@ organization. "RevOrgsListResponse": { "docs": "The response to getting a list of Rev organizations' information. ", + "inline": undefined, "properties": { "next_cursor": { "docs": "The cursor used to iterate subsequent results in accordance to the @@ -5287,6 +5357,7 @@ sort order. If not set, then no prior elements exist. }, "RevOrgsUpdateResponse": { "docs": "Response object to updating Rev organization's information.", + "inline": undefined, "properties": { "rev_org": { "type": "RevOrg", @@ -5301,6 +5372,7 @@ sort order. If not set, then no prior elements exist. "extends": [ "UserBaseSummary", ], + "inline": undefined, "properties": { "external_ref": { "docs": "External ref is a mutable unique identifier for a user within the @@ -5319,6 +5391,7 @@ system-generated identifier will be assigned to the user. }, "SetTagWithValue": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The ID of the tag.", @@ -5337,6 +5410,7 @@ the value must be one that's specified in the tag's allowed values. }, "StageInit": { "docs": "Sets an object's initial stage.", + "inline": undefined, "properties": { "name": { "docs": "The name of the stage.", @@ -5349,6 +5423,7 @@ the value must be one that's specified in the tag's allowed values. }, "StageUpdate": { "docs": "Updates an object's stage.", + "inline": undefined, "properties": { "name": { "docs": "The updated name of the stage, otherwise unchanged if not set. @@ -5368,6 +5443,7 @@ the value must be one that's specified in the tag's allowed values. "extends": [ "AtomBaseSummary", ], + "inline": undefined, "properties": { "name": { "docs": "The name of the tag, which denotes the logical concept by which all @@ -5383,6 +5459,7 @@ unique. }, "TagWithValue": { "docs": undefined, + "inline": undefined, "properties": { "tag": { "type": "TagSummary", @@ -5398,6 +5475,7 @@ unique. }, "TagsCreateResponse": { "docs": "The response to creating a new tag.", + "inline": undefined, "properties": { "tag": { "type": "tag", @@ -5413,6 +5491,7 @@ unique. }, "TagsGetResponse": { "docs": "The response to getting a tag's information.", + "inline": undefined, "properties": { "tag": { "type": "tag", @@ -5424,6 +5503,7 @@ unique. }, "TagsListResponse": { "docs": "The response to listing the tags.", + "inline": undefined, "properties": { "next_cursor": { "docs": "The cursor used to iterate subsequent results in accordance to the @@ -5448,6 +5528,7 @@ sort order. If not set, then no prior elements exist. }, "TagsUpdateAllowedValues": { "docs": "Specifies an update to a tag's allowed values.", + "inline": undefined, "properties": { "set": { "docs": "Sets the allowed values for the tag.", @@ -5460,6 +5541,7 @@ sort order. If not set, then no prior elements exist. }, "TagsUpdateResponse": { "docs": "The response for updating a tag.", + "inline": undefined, "properties": { "tag": { "type": "tag", @@ -5486,6 +5568,7 @@ sort order. If not set, then no prior elements exist. "extends": [ "TimelineEntryBase", ], + "inline": undefined, "properties": { "artifacts": { "docs": "The artifacts for the comment.", @@ -5540,6 +5623,7 @@ will appear in the response. }, "TimelineEntriesCreateRequestTimelineComment": { "docs": undefined, + "inline": undefined, "properties": { "artifacts": { "docs": "The IDs of the artifacts attached to the comment.", @@ -5564,6 +5648,7 @@ will appear in the response. "TimelineEntriesCreateRequestType": "literal<"timeline_comment">", "TimelineEntriesCreateResponse": { "docs": "The response to creating a timeline entry for an object.", + "inline": undefined, "properties": { "timeline_entry": { "type": "TimelineEntry", @@ -5575,6 +5660,7 @@ will appear in the response. }, "TimelineEntriesGetResponse": { "docs": "The request to getting a timeline entry.", + "inline": undefined, "properties": { "timeline_entry": { "type": "TimelineEntry", @@ -5586,6 +5672,7 @@ will appear in the response. }, "TimelineEntriesListResponse": { "docs": "The response to listing timeline entries for an object.", + "inline": undefined, "properties": { "next_cursor": { "docs": "The cursor used to iterate subsequent results in accordance to the @@ -5630,6 +5717,7 @@ sort order. If not set, then no prior elements exist. }, "TimelineEntriesUpdateRequestTimelineComment": { "docs": undefined, + "inline": undefined, "properties": { "artifacts": { "type": "optional", @@ -5652,6 +5740,7 @@ sort order. If not set, then no prior elements exist. }, "TimelineEntriesUpdateRequestTimelineCommentArtifacts": { "docs": undefined, + "inline": undefined, "properties": { "add": { "docs": "Adds the provided artifacts to the comment. An artifact cannot be @@ -5678,6 +5767,7 @@ not present, then it's ignored. Mututally exclusive with `set`. "TimelineEntriesUpdateRequestType": "literal<"timeline_comment">", "TimelineEntriesUpdateResponse": { "docs": "The response to updating a timeline entry.", + "inline": undefined, "properties": { "timeline_entry": { "type": "TimelineEntry", @@ -5718,6 +5808,7 @@ default visibility. "extends": [ "AtomBase", ], + "inline": undefined, "properties": { "display_name": { "docs": "The user's display name. The name is non-unique and mutable. @@ -5748,6 +5839,7 @@ default visibility. "extends": [ "AtomBaseSummary", ], + "inline": undefined, "properties": { "display_name": { "docs": "The user's display name. The name is non-unique and mutable. @@ -5811,6 +5903,7 @@ default visibility. }, "WebhookEventRequest": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The event's ID.", @@ -5895,6 +5988,7 @@ seconds. }, "WebhookEventResponse": { "docs": undefined, + "inline": undefined, "properties": { "challenge": { "docs": "The challenge from the "verify" request, otherwise this should not @@ -5942,6 +6036,7 @@ be set for other request types. }, "WebhookEventVerify": { "docs": undefined, + "inline": undefined, "properties": { "challenge": { "docs": "The challenge that must be echoed in the response.", @@ -5971,6 +6066,7 @@ be set for other request types. }, "WebhooksCreateResponse": { "docs": "The response to creating a new webhook.", + "inline": undefined, "properties": { "webhook": { "type": "webhook", @@ -5986,6 +6082,7 @@ be set for other request types. }, "WebhooksGetResponse": { "docs": "The response to getting the information for the webhook.", + "inline": undefined, "properties": { "webhook": { "type": "webhook", @@ -5997,6 +6094,7 @@ be set for other request types. }, "WebhooksListResponse": { "docs": "The response to listing the webhooks.", + "inline": undefined, "properties": { "webhooks": { "docs": "The list of webhooks.", @@ -6019,6 +6117,7 @@ be set for other request types. }, "WebhooksUpdateRequestEventTypes": { "docs": undefined, + "inline": undefined, "properties": { "add": { "docs": "The event types to add. If a provided event type is already set for @@ -6048,6 +6147,7 @@ event types. Note this is mutually exclusive with 'add' and }, "WebhooksUpdateResponse": { "docs": "The response to updating the webhook.", + "inline": undefined, "properties": { "webhook": { "type": "webhook", @@ -6062,6 +6162,7 @@ event types. Note this is mutually exclusive with 'add' and "extends": [ "AtomBase", ], + "inline": undefined, "properties": { "applies_to_part": "optional", "artifacts": { @@ -6165,6 +6266,7 @@ issues. }, "WorksCreateRequestIssue": { "docs": undefined, + "inline": undefined, "properties": { "priority": { "type": "optional", @@ -6180,6 +6282,7 @@ issues. }, "WorksCreateRequestTicket": { "docs": undefined, + "inline": undefined, "properties": { "group": { "docs": "The group that the ticket is associated with.", @@ -6199,6 +6302,7 @@ issues. }, "WorksCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "work": { "type": "work", @@ -6213,6 +6317,7 @@ issues. }, "WorksExportResponse": { "docs": undefined, + "inline": undefined, "properties": { "works": { "docs": "The resulting collection of work items.", @@ -6225,6 +6330,7 @@ issues. }, "WorksGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "work": { "type": "work", @@ -6236,6 +6342,7 @@ issues. }, "WorksListResponse": { "docs": undefined, + "inline": undefined, "properties": { "next_cursor": { "docs": "The cursor used to iterate subsequent results in accordance to the @@ -6310,6 +6417,7 @@ sort order. If not set, then no prior elements exist. }, "WorksUpdateRequestArtifactIds": { "docs": undefined, + "inline": undefined, "properties": { "set": { "docs": "Sets the IDs to the provided artifact IDs.", @@ -6322,6 +6430,7 @@ sort order. If not set, then no prior elements exist. }, "WorksUpdateRequestIssue": { "docs": undefined, + "inline": undefined, "properties": { "priority": { "type": "optional", @@ -6337,6 +6446,7 @@ sort order. If not set, then no prior elements exist. }, "WorksUpdateRequestOwnedBy": { "docs": undefined, + "inline": undefined, "properties": { "set": { "docs": "Sets the owner IDs to the provided user IDs. This must not be @@ -6351,6 +6461,7 @@ empty. }, "WorksUpdateRequestReportedBy": { "docs": undefined, + "inline": undefined, "properties": { "set": { "docs": "Sets the users that reported the work to the provided user IDs. @@ -6364,6 +6475,7 @@ empty. }, "WorksUpdateRequestTags": { "docs": undefined, + "inline": undefined, "properties": { "set": { "docs": "Sets the provided tags on the work item.", @@ -6376,6 +6488,7 @@ empty. }, "WorksUpdateRequestTicket": { "docs": undefined, + "inline": undefined, "properties": { "group": { "docs": "The group that the ticket is associated with.", @@ -6396,6 +6509,7 @@ empty. }, "WorksUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "work": { "type": "work", @@ -6413,6 +6527,7 @@ empty. "extends": [ "PartBase", ], + "inline": undefined, "properties": { "target_close_date": { "docs": "Timestamp when the enhancement is expected to be closed.", @@ -6428,6 +6543,7 @@ empty. "extends": [ "WorkBase", ], + "inline": undefined, "properties": { "priority": "optional", }, @@ -6455,6 +6571,7 @@ empty. }, "stage": { "docs": "Describes the current stage of a work item.", + "inline": undefined, "properties": { "name": { "docs": "Current stage name of the work item.", @@ -6470,6 +6587,7 @@ empty. "extends": [ "AtomBase", ], + "inline": undefined, "properties": { "allowed_values": { "docs": "The allowed values for the tag, where a value is provided when a @@ -6501,6 +6619,7 @@ unique. "extends": [ "WorkBase", ], + "inline": undefined, "properties": { "group": "optional", "rev_org": "optional", @@ -6515,6 +6634,7 @@ unique. "extends": [ "AtomBase", ], + "inline": undefined, "properties": { "event_types": { "docs": "The event types that the webhook will receive.", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/discriminated-union-value-title.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/discriminated-union-value-title.json index 5303ec20f77..bf6d9105202 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/discriminated-union-value-title.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/discriminated-union-value-title.json @@ -58,6 +58,7 @@ "Response": { "docs": "A generic response type used throughout the API. ", + "inline": undefined, "properties": { "value": { "docs": "An optional numerical value. diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/enum-casing.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/enum-casing.json index c41e060c95c..f672a171260 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/enum-casing.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/enum-casing.json @@ -45,6 +45,7 @@ "types": { "ExampleResponse": { "docs": undefined, + "inline": undefined, "properties": { "custom_fields": "optional>", "message": "optional", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/flagright.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/flagright.json index 3fcf34ffef2..a680b8cbeb5 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/flagright.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/flagright.json @@ -2095,6 +2095,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu "types": { "ACHDetails": { "docs": "Model for ACH payment method", + "inline": undefined, "properties": { "accountNumber": { "docs": "Bank account number of the individual", @@ -2162,6 +2163,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "Address": { "docs": "Model for standardized address", + "inline": undefined, "properties": { "addressLines": { "docs": "Address lines of the user's residence address", @@ -2218,6 +2220,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "AlertClosedDetails": { "docs": undefined, + "inline": undefined, "properties": { "alertId": { "type": "optional", @@ -2259,6 +2262,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "Amount": { "docs": "Model for amount", + "inline": undefined, "properties": { "amountCurrency": { "type": "CurrencyCode", @@ -2278,6 +2282,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu "BusinessBase", "BusinessOptional", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -2285,6 +2290,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "BusinessBase": { "docs": "Model for a business user base fields", + "inline": undefined, "properties": { "createdTimestamp": { "docs": "Timestamp when the user was created", @@ -2314,6 +2320,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "BusinessEntityLink": { "docs": undefined, + "inline": undefined, "properties": { "childUserIds": { "type": "optional>", @@ -2328,6 +2335,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "BusinessOptional": { "docs": "Model for a business user - optional fields", + "inline": undefined, "properties": { "acquisitionChannel": { "type": "optional", @@ -2417,6 +2425,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "BusinessUsersResponse": { "docs": "Model for business user risk score response", + "inline": undefined, "properties": { "userId": { "docs": "user ID the risk score pertains to", @@ -2438,6 +2447,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu "extends": [ "Business", ], + "inline": undefined, "properties": { "executedRules": "optional>", "hitRules": "optional>", @@ -2448,6 +2458,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "CardDetails": { "docs": "Model for credit or debit card details", + "inline": undefined, "properties": { "3dsDone": { "docs": "Whether 3ds was successfully enforced for the transaction", @@ -2556,6 +2567,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "CardExpiry": { "docs": undefined, + "inline": undefined, "properties": { "month": { "type": "optional", @@ -2570,6 +2582,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "CardMerchantDetails": { "docs": undefined, + "inline": undefined, "properties": { "MCC": { "type": "optional", @@ -2610,6 +2623,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "CaseClosedDetails": { "docs": undefined, + "inline": undefined, "properties": { "caseId": { "type": "optional", @@ -2639,6 +2653,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "CaseManagementEvent": { "docs": "Model for case management events", + "inline": undefined, "properties": { "caseStatus": { "docs": "Status of a case. E.g. Open, Closed etc.", @@ -2710,6 +2725,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "CheckDetails": { "docs": undefined, + "inline": undefined, "properties": { "checkIdentifier": { "type": "optional", @@ -2760,6 +2776,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "CompanyFinancialDetails": { "docs": "Model for business user company financial details", + "inline": undefined, "properties": { "expectedTransactionAmountPerMonth": { "type": "optional", @@ -2778,6 +2795,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "CompanyGeneralDetails": { "docs": "Model for business user company general details", + "inline": undefined, "properties": { "businessIndustry": { "docs": "The industry the business operates in for a business customer", @@ -2829,6 +2847,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "CompanyRegistrationDetails": { "docs": "Model for business user company registration details", + "inline": undefined, "properties": { "dateOfRegistration": { "type": "optional", @@ -2871,6 +2890,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "ConsumerName": { "docs": "Model for a generic consumer name", + "inline": undefined, "properties": { "firstName": { "docs": "First name of the user", @@ -2909,6 +2929,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "ConsumerUsersResponse": { "docs": "Model for consumer user risk score response", + "inline": undefined, "properties": { "userId": { "docs": "user ID the risk score pertains to", @@ -2927,6 +2948,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "ContactDetails": { "docs": "Model for business user contact information details", + "inline": undefined, "properties": { "addresses": { "docs": "Address(es) of the company", @@ -3495,6 +3517,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "Date": { "docs": "Model for date", + "inline": undefined, "properties": { "day": { "docs": "Day of date", @@ -3515,6 +3538,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "DeviceData": { "docs": "Model for device data", + "inline": undefined, "properties": { "appVersion": { "docs": "The version of the app your user is using on their device at a given timestamp for an event or transaction", @@ -3609,6 +3633,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "ExecutedRulesResult": { "docs": "Model for list of executed rules", + "inline": undefined, "properties": { "labels": { "type": "optional>", @@ -3661,6 +3686,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "FailedRulesResult": { "docs": "Model for list of rules failed execution. It means rules could not be run", + "inline": undefined, "properties": { "failureException": { "type": "RuleFailureException", @@ -3702,6 +3728,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "FalsePositiveDetails": { "docs": undefined, + "inline": undefined, "properties": { "confidenceScore": "double", "isFalsePositive": "boolean", @@ -3716,6 +3743,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "GenericBankAccountDetails": { "docs": "Model for any generic bank account", + "inline": undefined, "properties": { "accountNumber": { "docs": "Bank account number", @@ -3766,6 +3794,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "HitRulesDetails": { "docs": "Model for list of hit rules", + "inline": undefined, "properties": { "labels": { "type": "optional>", @@ -3817,6 +3846,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "IBANDetails": { "docs": "Standardized model for Bank Details", + "inline": undefined, "properties": { "BIC": { "docs": "Identifier for the bank. Can be routing number, BIK number, SWIFT code, BIC number etc.", @@ -3886,6 +3916,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "KYCStatusDetails": { "docs": undefined, + "inline": undefined, "properties": { "reason": { "type": "optional", @@ -3900,6 +3931,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "LegalDocument": { "docs": "LegalDocument model generalizes User's identity document type (ex: Passport)", + "inline": undefined, "properties": { "documentExpirationDate": { "docs": "User's identity document expiration date (UNIX timestamp in milliseconds)", @@ -3946,6 +3978,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "LegalEntity": { "docs": "Model for business user legal entity details", + "inline": undefined, "properties": { "companyFinancialDetails": { "type": "optional", @@ -3970,6 +4003,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "ListData": { "docs": "Payload of a list, new or existed", + "inline": undefined, "properties": { "items": { "docs": "List items", @@ -3985,6 +4019,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "ListExisted": { "docs": "List with ID and header", + "inline": undefined, "properties": { "header": { "type": "ListHeader", @@ -4001,6 +4036,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "ListHeader": { "docs": undefined, + "inline": undefined, "properties": { "createdTimestamp": "double", "listId": "string", @@ -4017,6 +4053,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "ListItem": { "docs": undefined, + "inline": undefined, "properties": { "key": "string", "metadata": { @@ -4033,6 +4070,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu "ListMetadata": { "docs": undefined, "extra-properties": true, + "inline": undefined, "properties": { "checksum": { "type": "optional", @@ -4083,6 +4121,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "MCCDetails": { "docs": undefined, + "inline": undefined, "properties": { "code": { "docs": "Merchant code", @@ -4099,6 +4138,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "MpesaDetails": { "docs": "Model for Mpesa payment method", + "inline": undefined, "properties": { "businessShortCode": { "docs": "Business code", @@ -4142,6 +4182,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "PEPStatus": { "docs": undefined, + "inline": undefined, "properties": { "isPepHit": "boolean", "pepCountry": { @@ -4176,6 +4217,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "Person": { "docs": "Model for a generic individual - different from User model by not having userId field", + "inline": undefined, "properties": { "contactDetails": { "type": "optional", @@ -4204,6 +4246,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu "extends": [ "RulesResults", ], + "inline": undefined, "properties": { "message": "optional", "userId": { @@ -4226,6 +4269,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu "extends": [ "TransactionMonitoringResult", ], + "inline": undefined, "properties": { "message": "optional", }, @@ -4238,6 +4282,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu "extends": [ "RulesResults", ], + "inline": undefined, "properties": { "message": "optional", "userId": { @@ -4269,6 +4314,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "RiskScoringResult": { "docs": "Model for results from Risk Scoring", + "inline": undefined, "properties": { "customerRiskAssessment": { "docs": "Quantified dynamic risk score", @@ -4301,6 +4347,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "RuleFailureException": { "docs": undefined, + "inline": undefined, "properties": { "exceptionDescription": { "docs": "Name of the rule", @@ -4338,6 +4385,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "RuleHitMeta": { "docs": "Details of rule execution, for internal purposes only", + "inline": undefined, "properties": { "falsePositiveDetails": "optional", "hitDirections": "optional>", @@ -4379,6 +4427,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "RulesResults": { "docs": undefined, + "inline": undefined, "properties": { "executedRules": { "docs": "Unique transaction identifier", @@ -4395,6 +4444,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "SWIFTDetails": { "docs": "Model for SWIFT payment method", + "inline": undefined, "properties": { "accountNumber": { "docs": "Account number", @@ -4452,6 +4502,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "SanctionsDetails": { "docs": undefined, + "inline": undefined, "properties": { "entityType": { "type": "optional", @@ -4480,6 +4531,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "Tag": { "docs": "Generic key-value pair model to append a custom variable being sent to Flagright API", + "inline": undefined, "properties": { "key": { "docs": "Key value when you are creating a custom variable", @@ -4508,6 +4560,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "Thing": { "docs": undefined, + "inline": undefined, "properties": { "publishedAt": "optional", }, @@ -4521,6 +4574,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu "TransactionBase", "TransactionUpdatable", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4528,6 +4582,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "TransactionAmountDetails": { "docs": "Model for transaction amount details", + "inline": undefined, "properties": { "country": { "type": "optional", @@ -4546,6 +4601,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "TransactionAmountLimit": { "docs": undefined, + "inline": undefined, "properties": { "day": { "type": "optional", @@ -4566,6 +4622,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "TransactionBase": { "docs": "Model for transaction base Payload", + "inline": undefined, "properties": { "destinationUserId": { "docs": "UserId for transaction's destination. In other words, where the value is being transferred to.", @@ -4606,6 +4663,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "TransactionCountLimit": { "docs": undefined, + "inline": undefined, "properties": { "day": { "type": "optional", @@ -4629,6 +4687,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu "extends": [ "RulesResults", ], + "inline": undefined, "properties": { "eventId": "string", "transaction": "Transaction", @@ -4639,6 +4698,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "TransactionLimit": { "docs": undefined, + "inline": undefined, "properties": { "averageTransactionAmountLimit": { "type": "optional", @@ -4656,6 +4716,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "TransactionLimits": { "docs": "Model for transaction limits for a given user", + "inline": undefined, "properties": { "maximumDailyTransactionLimit": { "type": "optional", @@ -4676,7 +4737,6 @@ In order to make individual events retrievable, you also need to pass in a uniqu "type": "optional", }, "paymentMethodLimits": { - "inline": true, "type": "optional", }, }, @@ -4686,6 +4746,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "TransactionLimitsPaymentMethodLimits": { "docs": undefined, + "inline": true, "properties": { "ACH": "optional", "CARD": "optional", @@ -4706,6 +4767,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu "extends": [ "RulesResults", ], + "inline": undefined, "properties": { "transactionId": { "docs": "Transaction ID that the results pertain to", @@ -4747,6 +4809,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "TransactionUpdatable": { "docs": "Model for transaction additional payload", + "inline": undefined, "properties": { "destinationAmountDetails": { "type": "optional", @@ -4882,6 +4945,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu "extends": [ "Transaction", ], + "inline": undefined, "properties": { "executedRules": "list", "hitRules": "list", @@ -4892,6 +4956,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "UPIDetails": { "docs": "Model for UPI payment method", + "inline": undefined, "properties": { "bankProvider": { "docs": "Bank provider name", @@ -4942,6 +5007,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu "UserBase", "UserOptional", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4949,6 +5015,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "UserBase": { "docs": "Model for User details", + "inline": undefined, "properties": { "createdTimestamp": { "docs": "Timestamp when userId is created", @@ -4981,6 +5048,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "UserDetails": { "docs": "Model for consumer user personal details", + "inline": undefined, "properties": { "countryOfNationality": { "type": "optional", @@ -5026,6 +5094,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu "extends": [ "RulesResults", ], + "inline": undefined, "properties": { "userId": { "docs": "User ID that the results pertain to", @@ -5038,6 +5107,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "UserOptional": { "docs": "Model for User details", + "inline": undefined, "properties": { "acquisitionChannel": { "type": "optional", @@ -5116,6 +5186,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "UserStateDetails": { "docs": undefined, + "inline": undefined, "properties": { "reason": { "type": "optional", @@ -5136,6 +5207,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu "extends": [ "User", ], + "inline": undefined, "properties": { "executedRules": "optional>", "hitRules": "optional>", @@ -5146,6 +5218,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "WalletDetails": { "docs": "Standardized model for a Generic wallet transaction", + "inline": undefined, "properties": { "name": { "docs": "Name of the account holder for a specific wallet", @@ -5187,6 +5260,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "WebhookEvent": { "docs": undefined, + "inline": undefined, "properties": { "createdTimestamp": { "type": "double", @@ -6347,6 +6421,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu CHECK: optional source: openapi: ../openapi.yml + inline: true TransactionLimits: docs: Model for transaction limits for a given user properties: @@ -6364,7 +6439,6 @@ In order to make individual events retrievable, you also need to pass in a uniqu type: optional paymentMethodLimits: type: optional - inline: true source: openapi: ../openapi.yml RuleAction: diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/flexport.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/flexport.json index 0c585541513..1ccfb5ee3b1 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/flexport.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/flexport.json @@ -938,6 +938,7 @@ "types": { "AdditionalDates": { "docs": undefined, + "inline": undefined, "properties": { "cargo_ready_date": { "docs": "Represents the date when the cargo on the leg is ready for pickup.", @@ -980,6 +981,7 @@ }, "Address": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -1002,6 +1004,7 @@ }, "AddressForRequestBody": { "docs": undefined, + "inline": undefined, "properties": { "city": "optional", "country_code": "optional", @@ -1017,6 +1020,7 @@ }, "AirBookingDetail": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -1054,6 +1058,7 @@ }, "AirShipmentDetail": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -1070,6 +1075,7 @@ }, "AirShipmentLeg": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "flight_number": "optional", @@ -1082,6 +1088,7 @@ }, "Airport": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -1098,6 +1105,7 @@ }, "Booking": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -1161,6 +1169,7 @@ }, "BookingAmendment": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -1243,6 +1252,7 @@ }, "BookingAmendmentCreateRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -1256,6 +1266,7 @@ }, "BookingAmendmentHsCode": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "String representing the object’s type. Always `/booking_amendment_product_description` for this object.", @@ -1277,6 +1288,7 @@ }, "BookingCreateRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -1290,6 +1302,7 @@ }, "BookingHsCode": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "String representing the object’s type. Always `/product_descriptions` for this object.", @@ -1315,6 +1328,7 @@ }, "BookingLineItem": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -1337,6 +1351,7 @@ }, "BookingLineItemCollectionRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -1357,6 +1372,7 @@ }, "BookingLineItemCreateRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -1370,6 +1386,7 @@ }, "BookingLineItemIndexRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -1383,6 +1400,7 @@ }, "BookingLineItemShowRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -1413,6 +1431,7 @@ }, "BookingRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": "optional", "id": "optional", @@ -1425,6 +1444,7 @@ }, "BookingShowRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -1450,6 +1470,7 @@ }, "BookingsIndexRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -1463,6 +1484,7 @@ }, "CarbonCalculation": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -1476,6 +1498,7 @@ }, "CarbonCalculationCreateRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -1489,6 +1512,7 @@ }, "Cargo": { "docs": "With cargo you have two options, detailed or simple. These are both expressed directly on the cargo object. For detailed cargo, `shipping_units` is required, and `weight` and `volume` is required in the `cargo` object or the `shipping_units` object. For simple cargo, `shipping_units` is required, but only one should be specified, and `weight` and `volume` are required in the `cargo` object.", + "inline": undefined, "properties": { "_object": { "docs": "String representing the object’s type. Always `/cargo` for this object.", @@ -1543,6 +1567,7 @@ }, "CommercialInvoice": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object. Always /commercial_invoice for this object.", @@ -1592,6 +1617,7 @@ }, "CommercialInvoiceCollectionRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": "optional", "link": "optional", @@ -1614,6 +1640,7 @@ }, "CommercialInvoiceLineItem": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object. Always /commercial_invoice_line_item for this object.", @@ -1656,6 +1683,7 @@ }, "CommercialInvoiceLineItemContainerNumber": { "docs": undefined, + "inline": undefined, "properties": { "commercial_invoice_line_item_id": "optional", "container_number": "optional", @@ -1670,6 +1698,7 @@ }, "CommercialInvoicesCreateRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -1683,6 +1712,7 @@ }, "CommercialInvoicesShowRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -1696,6 +1726,7 @@ }, "CommercialInvoicesUpdateRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -1709,6 +1740,7 @@ }, "Company": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object. Always /network/company for this object.", @@ -1732,6 +1764,7 @@ }, "CompanyEntity": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -1749,6 +1782,7 @@ }, "CompanyEntityIndexRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -1762,6 +1796,7 @@ }, "CompanyEntityRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": "optional", "id": "optional", @@ -1774,6 +1809,7 @@ }, "Contact": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object. Always /network/contact for this object.", @@ -1781,7 +1817,6 @@ }, "company": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", - "inline": true, "type": "optional", }, "email": "optional", @@ -1799,6 +1834,7 @@ }, "ContactCompany": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": true, "properties": { "_object": "optional", "id": "optional", @@ -1811,6 +1847,7 @@ }, "ContainerCollectionRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -1831,6 +1868,7 @@ }, "ContainerCounts": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "String representing the object’s type. Always `/container_counts` for this object.", @@ -1859,6 +1897,7 @@ }, "ContainerLegCollectionRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -1879,6 +1918,7 @@ }, "ContainerListRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -1892,6 +1932,7 @@ }, "ContainerRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": "optional", "id": "optional", @@ -1904,6 +1945,7 @@ }, "ContainerShowRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -1917,6 +1959,7 @@ }, "CoordinatesCreate": { "docs": undefined, + "inline": undefined, "properties": { "latitude": "optional", "longitude": "optional", @@ -1927,6 +1970,7 @@ }, "CreateAirBooking": { "docs": "If a non-null value is passed in for 'air_booking', then the new booking will be assumed to be an air booking, even if the 'ocean_booking' or 'trucking_booking' fields are set.", + "inline": undefined, "properties": { "destination_port_iata_code": { "docs": "Optional, provide one of `destination_port_us_cbp_port_code`, `destination_port_loc_code`, `destination_port_iata_code`, or `destination_port_icao_code`. Unique airport reference code used by IATA.", @@ -1996,6 +2040,7 @@ }, "CreateBookingAmendmentHsCode": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "Always required. English description of product in booking.", @@ -2016,6 +2061,7 @@ }, "CreateBookingHsCode": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "Always required. English description of product in booking.", @@ -2040,6 +2086,7 @@ }, "CreateCargo": { "docs": "With cargo you have two options, detailed or simple. These are both expressed directly on the cargo object. For detailed cargo, `shipping_units` is required, and `weight` and `volume` is required in the `cargo` object or the `shipping_units` object. For simple cargo, `shipping_units` is required, but only one should be specified, and `weight` and `volume` are required in the `cargo` object.", + "inline": undefined, "properties": { "contains_hazmat": { "docs": "Required. Whether the cargo contains hazardous materials.", @@ -2090,6 +2137,7 @@ }, "CreateCommercialInvoiceLineItem": { "docs": undefined, + "inline": undefined, "properties": { "container_number": "optional", "country_of_origin": "optional", @@ -2102,7 +2150,6 @@ "manufacturer_ref": { "availability": "deprecated", "docs": "[DEPRECATED] Your custom string used to refer to a manufacturer location.", - "inline": undefined, "type": "optional", }, "metadata": "optional", @@ -2130,6 +2177,7 @@ }, "CreateContainerCounts": { "docs": undefined, + "inline": undefined, "properties": { "forty_five_ft_hc": { "docs": "Quantity of 45 ft HC containers requested.", @@ -2154,6 +2202,7 @@ }, "CreateDocument": { "docs": undefined, + "inline": undefined, "properties": { "document": { "docs": "Document represented in a strict Base64-encoded string.", @@ -2190,6 +2239,7 @@ }, "CreateInvolvedParty": { "docs": undefined, + "inline": undefined, "properties": { "company_entity_ref": { "docs": "Your custom string used to refer to the company entity. Can be used to look up or reference the company entity later on.", @@ -2203,6 +2253,7 @@ }, "CreateLineItem": { "docs": undefined, + "inline": undefined, "properties": { "assigned_party_ref": { "docs": "The party that this line item is assigned to. Useful if assigning line items to different factories under a vendor, for example.", @@ -2299,6 +2350,7 @@ }, "CreateLineItemDestinationLocation": { "docs": undefined, + "inline": undefined, "properties": { "location_ref": { "docs": "Location ref", @@ -2346,6 +2398,7 @@ }, "CreateLineItemMeasurement": { "docs": undefined, + "inline": undefined, "properties": { "measure_type": { "docs": "The type of measure", @@ -2537,6 +2590,7 @@ }, "CreateOceanBooking": { "docs": undefined, + "inline": undefined, "properties": { "container_counts": "CreateContainerCounts", "destination_port_loc_code": { @@ -2599,6 +2653,7 @@ }, "CreateOrUpdatePurchaseOrder": { "docs": undefined, + "inline": undefined, "properties": { "cargo_ready_date": { "docs": "Required if there is no cargo_ready_date in each line item. Date when cargo is ready for pickup at the origin location.", @@ -2783,6 +2838,7 @@ }, "CreateParty": { "docs": "A party is a company entity that is tied to a purchase order and has a specific role.", + "inline": undefined, "properties": { "contacts": { "docs": "A list of contact data for who should be contacted should there be questions about this order. For example, if your supplier needs to contact someone, who should they contact?", @@ -2807,6 +2863,7 @@ }, "CreatePartyContactsItem": { "docs": undefined, + "inline": true, "properties": { "department": "optional", "email": "optional", @@ -2840,6 +2897,7 @@ }, "CreatePurchaseOrderHsCode": { "docs": undefined, + "inline": undefined, "properties": { "code": { "docs": "The indentifying code on the hs code", @@ -2856,6 +2914,7 @@ }, "CreatePurchaseOrderPort": { "docs": undefined, + "inline": undefined, "properties": { "code": { "docs": "A unique identifier for this port", @@ -2884,6 +2943,7 @@ }, "CreatePurchaseOrderProduct": { "docs": undefined, + "inline": undefined, "properties": { "color": { "docs": "The color of the product", @@ -2940,6 +3000,7 @@ }, "CreateQuantity": { "docs": undefined, + "inline": undefined, "properties": { "unit": { "docs": "Required. Unit of measurement.", @@ -2971,6 +3032,7 @@ }, "CreateTruckingBooking": { "docs": undefined, + "inline": undefined, "properties": { "description_of_products": { "docs": "General description of the products in the shipment.", @@ -3001,6 +3063,7 @@ }, "CreditMemo": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "The type of the object", @@ -3031,6 +3094,7 @@ }, "CustomsEntriesShowRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -3044,6 +3108,7 @@ }, "CustomsEntry": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object. Always /customs_entry for this object.", @@ -3076,6 +3141,7 @@ }, "CustomsEntryCollectionRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": "optional", "link": "optional", @@ -3087,6 +3153,7 @@ }, "CustomsEntryIndexRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -3111,6 +3178,7 @@ }, "CustomsInvolvedParty": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -3133,6 +3201,7 @@ }, "DistanceCreate": { "docs": undefined, + "inline": undefined, "properties": { "unit": { "docs": "Required. Unit of measurement. "km" for kilometers. "mi" for miles.", @@ -3159,6 +3228,7 @@ }, "Document": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object. Always /document for this object.", @@ -3200,6 +3270,7 @@ }, "DocumentCollectionRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": "optional", "link": "optional", @@ -3211,6 +3282,7 @@ }, "DocumentsCreateRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -3224,6 +3296,7 @@ }, "DocumentsDownloadRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -3237,6 +3310,7 @@ }, "DocumentsIndexRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -3250,6 +3324,7 @@ }, "DocumentsShowRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -3263,6 +3338,7 @@ }, "Error": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "String representing the object’s type. Always /api/error for this object.", @@ -3287,6 +3363,7 @@ }, "EventsIndexRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -3300,6 +3377,7 @@ }, "EventsShowRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -3313,6 +3391,7 @@ }, "Exception": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "message": { @@ -3357,6 +3436,7 @@ }, "FileMetadata": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object. Always /file_metadata for this object.", @@ -3388,6 +3468,7 @@ }, "GenericCollectionRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": "optional", "link": "optional", @@ -3399,6 +3480,7 @@ }, "GenericObjectRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": "optional", "id": "optional", @@ -3413,6 +3495,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3423,6 +3506,7 @@ }, "HsCode": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "String representing the object’s type. Always `/hs_code` for this object.", @@ -3444,6 +3528,7 @@ }, "Invoice": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object. Always '/invoice' for this object.", @@ -3517,6 +3602,7 @@ }, "InvoiceIndexRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -3530,6 +3616,7 @@ }, "InvoiceItem": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object.", @@ -3575,6 +3662,7 @@ }, "InvoiceQuantity": { "docs": "Describes the number of units used to calculate the price of a line item", + "inline": undefined, "properties": { "_object": { "docs": "The type of the object", @@ -3595,6 +3683,7 @@ }, "InvoiceRate": { "docs": "Describes the rate per unit used to calculate the price of a line item", + "inline": undefined, "properties": { "_object": { "docs": "The type of the object", @@ -3638,6 +3727,7 @@ }, "InvoicesShowRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -3651,6 +3741,7 @@ }, "LegCollectionRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -3671,6 +3762,7 @@ }, "LegRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": "optional", "id": "optional", @@ -3683,6 +3775,7 @@ }, "Length": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "String representing the object’s type. Always `/quantity/length` for this object.", @@ -3703,6 +3796,7 @@ }, "LengthCreate": { "docs": undefined, + "inline": undefined, "properties": { "unit": { "docs": "Required. Unit of measurement. "cm" for centimeters. "in" for inches.", @@ -3739,6 +3833,7 @@ }, "LineItemMeasurement": { "docs": undefined, + "inline": undefined, "properties": { "measure_type": { "docs": "The type of measure", @@ -3775,6 +3870,7 @@ }, "Location": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object. Always /network/location for this object.", @@ -3798,6 +3894,7 @@ }, "LocationIndexRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -3811,6 +3908,7 @@ }, "LocationUpdateRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -3824,6 +3922,7 @@ }, "Manufacturer": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -3844,6 +3943,7 @@ "discriminated": false, "docs": "Metadata has two allowed formats. Either array format or object format. Refer to the metadata section in this documentation for more information.", "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -3860,6 +3960,7 @@ }, "MetadataCreateExampleKey": { "docs": "Object format.", + "inline": true, "properties": { "example_key": "optional>", }, @@ -3869,6 +3970,7 @@ }, "MetadataCreateItem": { "docs": undefined, + "inline": true, "properties": { "name": "optional", "value": "optional>", @@ -3882,6 +3984,7 @@ "extends": [ "MoneyCreate", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -3889,6 +3992,7 @@ }, "MoneyCreate": { "docs": undefined, + "inline": undefined, "properties": { "amount": "optional", "currency_code": "optional", @@ -3899,6 +4003,7 @@ }, "NetworkCompanyCreateRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -3912,6 +4017,7 @@ }, "NetworkCompanyEntityCreateRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -3925,6 +4031,7 @@ }, "NetworkCompanyEntityShowRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -3938,6 +4045,7 @@ }, "NetworkCompanyEntityUpdateRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -3951,6 +4059,7 @@ }, "NetworkCompanyIndexRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -3964,6 +4073,7 @@ }, "NetworkCompanyMeRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -3977,6 +4087,7 @@ }, "NetworkCompanyUpdateRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -3990,6 +4101,7 @@ }, "NetworkContactCreateRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -4003,6 +4115,7 @@ }, "NetworkContactIndexRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -4016,6 +4129,7 @@ }, "NetworkContactShowRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -4029,6 +4143,7 @@ }, "NetworkContactUpdateRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -4042,6 +4157,7 @@ }, "NetworkLocationCreateRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -4055,6 +4171,7 @@ }, "NetworkLocationShowRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -4068,6 +4185,7 @@ }, "OceanBookingDetail": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -4107,6 +4225,7 @@ }, "OceanContainerLegsIndexRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -4120,6 +4239,7 @@ }, "OceanContainerLegsShowRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -4133,6 +4253,7 @@ }, "OceanShipmentContainerLeg": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -4148,6 +4269,7 @@ }, "OceanShipmentDetail": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -4169,6 +4291,7 @@ }, "OceanShipmentLeg": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "container_legs": "optional", @@ -4183,6 +4306,7 @@ }, "Parties": { "docs": "A party is a company entity that is tied to a purchase order that has a specific role.", + "inline": undefined, "properties": { "company_entity": "optional", "contacts": { @@ -4204,6 +4328,7 @@ }, "PartiesContactsItem": { "docs": undefined, + "inline": true, "properties": { "department": "optional", "email": "optional", @@ -4237,6 +4362,7 @@ }, "Place": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -4257,6 +4383,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -4268,6 +4395,7 @@ }, "Placeport": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -4301,6 +4429,7 @@ }, "PortsIndexRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -4314,6 +4443,7 @@ }, "Product": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -4331,7 +4461,6 @@ "country_of_origin": { "availability": "deprecated", "docs": "[DEPRECATED] - Use the country_of_origin on the supplier field. The country the product was manufactured", - "inline": undefined, "type": "optional", }, "description": { @@ -4341,7 +4470,6 @@ "hs_codes": { "availability": "deprecated", "docs": "DEPRECATED - HS codes can be found in the classifications array", - "inline": undefined, "type": "optional>", }, "id": { @@ -4371,6 +4499,7 @@ }, "ProductClassification": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -4391,6 +4520,7 @@ }, "ProductCreateRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -4404,6 +4534,7 @@ }, "ProductIndexRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -4417,6 +4548,7 @@ }, "ProductProperty": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -4437,6 +4569,7 @@ }, "ProductRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": "optional", "id": "optional", @@ -4449,6 +4582,7 @@ }, "ProductShowRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -4462,6 +4596,7 @@ }, "ProductUpdateRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -4475,6 +4610,7 @@ }, "PurchaseOrder": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -4554,6 +4690,7 @@ }, "PurchaseOrderCreateRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -4595,6 +4732,7 @@ }, "PurchaseOrderIndexRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -4608,6 +4746,7 @@ }, "PurchaseOrderLineItem": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -4668,6 +4807,7 @@ }, "PurchaseOrderLineItemCollectionRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -4688,6 +4828,7 @@ }, "PurchaseOrderLineItemDestinationAddress": { "docs": undefined, + "inline": undefined, "properties": { "location_ref": { "docs": "Location ref", @@ -4723,6 +4864,7 @@ }, "PurchaseOrderLineItemIndexRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -4747,6 +4889,7 @@ }, "PurchaseOrderLineItemRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": "optional", "id": "optional", @@ -4759,6 +4902,7 @@ }, "PurchaseOrderLineItemShowRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -4846,6 +4990,7 @@ }, "PurchaseOrderProduct": { "docs": undefined, + "inline": undefined, "properties": { "color": { "docs": "The color of the product", @@ -4902,6 +5047,7 @@ }, "PurchaseOrderRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": "optional", "id": "optional", @@ -4914,6 +5060,7 @@ }, "PurchaseOrderShowRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -4939,6 +5086,7 @@ }, "PurchaseOrderUpdateRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -4952,6 +5100,7 @@ }, "RailShipmentLeg": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "container_legs": "optional", @@ -4962,6 +5111,7 @@ }, "Shipment": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -5140,6 +5290,7 @@ }, "ShipmentContainer": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -5222,6 +5373,7 @@ }, "ShipmentDangerousGoods": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of this object", @@ -5252,6 +5404,7 @@ }, "ShipmentEventData": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -5277,6 +5430,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -5307,6 +5461,7 @@ }, "ShipmentIndexRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -5320,6 +5475,7 @@ }, "ShipmentItem": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -5338,6 +5494,7 @@ }, "ShipmentLeg": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -5379,6 +5536,7 @@ }, "ShipmentLegIndexRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -5392,6 +5550,7 @@ }, "ShipmentLegShowRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -5405,6 +5564,7 @@ }, "ShipmentNode": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -5430,6 +5590,7 @@ }, "ShipmentRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": { "docs": "Type of Object Returned. In this case, /api/refs/object.", @@ -5454,6 +5615,7 @@ }, "ShipmentShowRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -5487,6 +5649,7 @@ }, "ShipmentUpdateRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -5500,6 +5663,7 @@ }, "ShipmentsShareableRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -5513,6 +5677,7 @@ }, "ShippingUnit": { "docs": "For detailed cargo, `shipping_units` is required. For simple cargo, `shipping_units` is required, but only one should be specified.", + "inline": undefined, "properties": { "_object": { "docs": "String representing the object’s type. Always `/shipping_unit` for this object.", @@ -5546,6 +5711,7 @@ }, "ShippingUnitCreate": { "docs": "For detailed cargo, `shipping_units` is required. For simple cargo, `shipping_units` is required, but only one should be specified.", + "inline": undefined, "properties": { "atomic_count": { "docs": "Required if `unit_type` = `pallet`. The number of atomic units, i.e. units that will not be unpacked and broken up during shipping, contained in each shipping unit.", @@ -5575,6 +5741,7 @@ }, "Terminal": { "docs": "Name and address of a specific terminal within a port or airport. Possibly null", + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -5611,6 +5778,7 @@ }, "TruckingBookingDetail": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -5635,6 +5803,7 @@ }, "TruckingShipmentLeg": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "container_legs": "optional", @@ -5660,6 +5829,7 @@ }, "VatNumber": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -5680,6 +5850,7 @@ "extends": [ "VolumeCreate", ], + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -5692,6 +5863,7 @@ }, "VolumeCreate": { "docs": undefined, + "inline": undefined, "properties": { "unit": { "docs": "unit of measurement. "cbm" for cubic meters. "cbft" for cubic feet.", @@ -5718,6 +5890,7 @@ }, "WebhookEvent": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -5739,6 +5912,7 @@ "extends": [ "WeightCreate", ], + "inline": undefined, "properties": { "_object": { "docs": "String representing the object’s type. Always `/quantity/weight` for this object.", @@ -5751,6 +5925,7 @@ }, "WeightCreate": { "docs": undefined, + "inline": undefined, "properties": { "unit": { "docs": "Required. Unit of measurement. "kg" for kilograms, "lbs" for pounds", @@ -5777,6 +5952,7 @@ }, "WriteProductClassification": { "docs": undefined, + "inline": undefined, "properties": { "codes": { "docs": "Always required. An array of HS codes for this product in the provided region", @@ -5793,6 +5969,7 @@ }, "WriteProductProperty": { "docs": undefined, + "inline": undefined, "properties": { "type": { "docs": "Always required. User defined type of this property", @@ -5809,6 +5986,7 @@ }, "WriteProductSupplier": { "docs": undefined, + "inline": undefined, "properties": { "country_of_origin": { "docs": "Always required. ISO Alpha-2 country in which the product is manufactured", @@ -5829,6 +6007,7 @@ }, "WriteVatNumber": { "docs": undefined, + "inline": undefined, "properties": { "country_code": { "docs": "ISO 3166 two-letter country code", @@ -6540,12 +6719,14 @@ example_key: optional> source: openapi: ../openapi.yml + inline: true MetadataCreateItem: properties: name: optional value: optional> source: openapi: ../openapi.yml + inline: true MetadataCreate: discriminated: false docs: >- @@ -6981,6 +7162,7 @@ - Manufacturer source: openapi: ../openapi.yml + inline: true Place: properties: _object: @@ -7741,6 +7923,7 @@ - integer source: openapi: ../openapi.yml + inline: true GenericObjectRef: docs: '[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)' properties: @@ -8431,6 +8614,7 @@ - OceanShipmentContainerLeg source: openapi: ../openapi.yml + inline: true ShipmentEventData: properties: _object: @@ -8660,6 +8844,7 @@ id: optional source: openapi: ../openapi.yml + inline: true Contact: properties: _object: @@ -8675,7 +8860,6 @@ company: type: optional docs: '[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)' - inline: true source: openapi: ../openapi.yml Location: @@ -8967,6 +9151,7 @@ department: optional source: openapi: ../openapi.yml + inline: true Parties: docs: >- A party is a company entity that is tied to a purchase order that has a @@ -9143,6 +9328,7 @@ department: optional source: openapi: ../openapi.yml + inline: true CreateParty: docs: >- A party is a company entity that is tied to a purchase order and has a @@ -11363,6 +11549,7 @@ errors: "types": { "BookingCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -11375,6 +11562,7 @@ errors: }, "BookingShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -11415,12 +11603,10 @@ errors: }, "BookingsIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", "self": "optional", "version": "optional", }, @@ -11430,6 +11616,7 @@ errors: }, "BookingsIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -11481,14 +11668,13 @@ errors: data: optional> source: openapi: ../openapi.yml + inline: true BookingsIndexResponse: properties: _object: optional self: optional version: optional - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml CreateBookingDeclaredAsStrategy: @@ -12751,6 +12937,7 @@ docs: Endpoints relating to Booking objects "types": { "BookingAmendmentCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -13283,6 +13470,7 @@ docs: >- "types": { "BookingLineItemCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -13305,12 +13493,10 @@ docs: >- }, "BookingLineItemIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", "self": "optional", "version": "optional", }, @@ -13320,6 +13506,7 @@ docs: >- }, "BookingLineItemIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -13332,6 +13519,7 @@ docs: >- }, "BookingLineItemShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -13360,14 +13548,13 @@ docs: >- data: optional> source: openapi: ../openapi.yml + inline: true BookingLineItemIndexResponse: properties: _object: optional self: optional version: optional - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml BookingLineItemCreateResponse: @@ -13715,6 +13902,7 @@ docs: >- "types": { "CarbonCalculationCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -14668,6 +14856,7 @@ docs: Endpoints relating to Carbon Calculations "types": { "CommercialInvoicesCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -14680,12 +14869,10 @@ docs: Endpoints relating to Carbon Calculations }, "CommercialInvoicesIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", "self": "optional", "version": "optional", }, @@ -14695,6 +14882,7 @@ docs: Endpoints relating to Carbon Calculations }, "CommercialInvoicesIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -14707,6 +14895,7 @@ docs: Endpoints relating to Carbon Calculations }, "CommercialInvoicesShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -14719,6 +14908,7 @@ docs: Endpoints relating to Carbon Calculations }, "CommercialInvoicesUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -14742,14 +14932,13 @@ types: data: optional> source: openapi: ../openapi.yml + inline: true CommercialInvoicesIndexResponse: properties: _object: optional self: optional version: optional - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml CommercialInvoicesCreateResponse: @@ -15847,6 +16036,7 @@ docs: Endpoints relating to Commercial Invoice objects "types": { "NetworkCompanyCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -15859,12 +16049,10 @@ docs: Endpoints relating to Commercial Invoice objects }, "NetworkCompanyIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", "self": "optional", "version": "optional", }, @@ -15874,6 +16062,7 @@ docs: Endpoints relating to Commercial Invoice objects }, "NetworkCompanyIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -15887,6 +16076,7 @@ docs: Endpoints relating to Commercial Invoice objects }, "NetworkCompanyMeResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -15899,6 +16089,7 @@ docs: Endpoints relating to Commercial Invoice objects }, "NetworkCompanyShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -15911,6 +16102,7 @@ docs: Endpoints relating to Commercial Invoice objects }, "NetworkCompanyUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -15935,14 +16127,13 @@ types: data: optional> source: openapi: ../openapi.yml + inline: true NetworkCompanyIndexResponse: properties: _object: optional self: optional version: optional - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml NetworkCompanyCreateResponse: @@ -16730,12 +16921,10 @@ docs: Endpoints relating to Company objects "types": { "CompanyEntityIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", "self": "optional", "version": "optional", }, @@ -16745,6 +16934,7 @@ docs: Endpoints relating to Company objects }, "CompanyEntityIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -16758,6 +16948,7 @@ docs: Endpoints relating to Company objects }, "NetworkCompanyEntityCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -16770,6 +16961,7 @@ docs: Endpoints relating to Company objects }, "NetworkCompanyEntityShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -16782,6 +16974,7 @@ docs: Endpoints relating to Company objects }, "NetworkCompanyEntityUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -16806,14 +16999,13 @@ types: data: optional> source: openapi: ../openapi.yml + inline: true CompanyEntityIndexResponse: properties: _object: optional self: optional version: optional - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml NetworkCompanyEntityCreateResponse: @@ -17450,6 +17642,7 @@ docs: Endpoints relating to CompanyEntity objects "types": { "NetworkContactCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -17462,12 +17655,10 @@ docs: Endpoints relating to CompanyEntity objects }, "NetworkContactIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", "self": "optional", "version": "optional", }, @@ -17477,6 +17668,7 @@ docs: Endpoints relating to CompanyEntity objects }, "NetworkContactIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -17490,6 +17682,7 @@ docs: Endpoints relating to CompanyEntity objects }, "NetworkContactShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -17502,6 +17695,7 @@ docs: Endpoints relating to CompanyEntity objects }, "NetworkContactUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -17526,14 +17720,13 @@ types: data: optional> source: openapi: ../openapi.yml + inline: true NetworkContactIndexResponse: properties: _object: optional self: optional version: optional - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml NetworkContactCreateResponse: @@ -18065,12 +18258,10 @@ docs: Endpoints relating to Contact objects "types": { "ContainerListResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", "self": "optional", "version": "optional", }, @@ -18080,6 +18271,7 @@ docs: Endpoints relating to Contact objects }, "ContainerListResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -18092,6 +18284,7 @@ docs: Endpoints relating to Contact objects }, "ContainerShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -18115,14 +18308,13 @@ types: data: optional> source: openapi: ../openapi.yml + inline: true ContainerListResponse: properties: _object: optional self: optional version: optional - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml ContainerShowResponse: @@ -18520,12 +18712,10 @@ docs: Endpoints relating to Container objects "types": { "OceanContainerLegsIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", "self": "optional", "version": "optional", }, @@ -18535,6 +18725,7 @@ docs: Endpoints relating to Container objects }, "OceanContainerLegsIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -18547,6 +18738,7 @@ docs: Endpoints relating to Container objects }, "OceanContainerLegsShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -18570,14 +18762,13 @@ types: data: optional> source: openapi: ../openapi.yml + inline: true OceanContainerLegsIndexResponse: properties: _object: optional self: optional version: optional - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml OceanContainerLegsShowResponse: @@ -18865,6 +19056,7 @@ docs: Endpoints relating to ContainerLeg objects "types": { "CustomsEntriesShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -18877,12 +19069,10 @@ docs: Endpoints relating to ContainerLeg objects }, "CustomsEntryIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", "self": "optional", "version": "optional", }, @@ -18892,6 +19082,7 @@ docs: Endpoints relating to ContainerLeg objects }, "CustomsEntryIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -18915,14 +19106,13 @@ types: data: optional> source: openapi: ../openapi.yml + inline: true CustomsEntryIndexResponse: properties: _object: optional self: optional version: optional - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml CustomsEntriesShowResponse: @@ -19305,6 +19495,7 @@ docs: Endpoints relating to Customs Entry objects "types": { "DocumentsCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -19317,12 +19508,10 @@ docs: Endpoints relating to Customs Entry objects }, "DocumentsIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", "self": "optional", "version": "optional", }, @@ -19332,6 +19521,7 @@ docs: Endpoints relating to Customs Entry objects }, "DocumentsIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -19345,6 +19535,7 @@ docs: Endpoints relating to Customs Entry objects }, "DocumentsShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -19369,14 +19560,13 @@ types: data: optional> source: openapi: ../openapi.yml + inline: true DocumentsIndexResponse: properties: _object: optional self: optional version: optional - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml DocumentsCreateResponse: @@ -19841,12 +20031,10 @@ docs: Endpoints relating to Document objects }, "EventsIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", "self": "optional", "version": "optional", }, @@ -19856,6 +20044,7 @@ docs: Endpoints relating to Document objects }, "EventsIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -19868,6 +20057,7 @@ docs: Endpoints relating to Document objects }, "EventsShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -19905,14 +20095,13 @@ docs: Endpoints relating to Document objects data: optional> source: openapi: ../openapi.yml + inline: true EventsIndexResponse: properties: _object: optional self: optional version: optional - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml EventsShowResponse: @@ -20749,12 +20938,10 @@ Other details about this invoice", }, "InvoiceIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", "self": "optional", "version": "optional", }, @@ -20764,6 +20951,7 @@ Other details about this invoice", }, "InvoiceIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -20776,6 +20964,7 @@ Other details about this invoice", }, "InvoicesShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -20812,14 +21001,13 @@ Other details about this invoice", data: optional> source: openapi: ../openapi.yml + inline: true InvoiceIndexResponse: properties: _object: optional self: optional version: optional - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml InvoicesShowResponse: @@ -21752,12 +21940,10 @@ docs: Endpoints relating to Invoice objects "types": { "LocationIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", "self": "optional", "version": "optional", }, @@ -21767,6 +21953,7 @@ docs: Endpoints relating to Invoice objects }, "LocationIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -21780,6 +21967,7 @@ docs: Endpoints relating to Invoice objects }, "LocationUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -21792,6 +21980,7 @@ docs: Endpoints relating to Invoice objects }, "NetworkLocationCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -21804,6 +21993,7 @@ docs: Endpoints relating to Invoice objects }, "NetworkLocationShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -21828,14 +22018,13 @@ types: data: optional> source: openapi: ../openapi.yml + inline: true LocationIndexResponse: properties: _object: optional self: optional version: optional - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml NetworkLocationCreateResponse: @@ -22347,12 +22536,10 @@ docs: Endpoints relating to Location objects }, "PortsIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", "self": "optional", "version": "optional", }, @@ -22362,6 +22549,7 @@ docs: Endpoints relating to Location objects }, "PortsIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>>", @@ -22393,14 +22581,13 @@ docs: Endpoints relating to Location objects data: optional>> source: openapi: ../openapi.yml + inline: true PortsIndexResponse: properties: _object: optional self: optional version: optional - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml imports: @@ -22928,6 +23115,7 @@ docs: Endpoints relating to Ports objects "types": { "ProductCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -22940,12 +23128,10 @@ docs: Endpoints relating to Ports objects }, "ProductIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", "self": "optional", "version": "optional", }, @@ -22955,6 +23141,7 @@ docs: Endpoints relating to Ports objects }, "ProductIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -22967,6 +23154,7 @@ docs: Endpoints relating to Ports objects }, "ProductShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -22979,6 +23167,7 @@ docs: Endpoints relating to Ports objects }, "ProductUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -23002,14 +23191,13 @@ types: data: optional> source: openapi: ../openapi.yml + inline: true ProductIndexResponse: properties: _object: optional self: optional version: optional - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml ProductCreateResponse: @@ -24401,12 +24589,10 @@ docs: Endpoints relating to Product objects }, "PurchaseOrderIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", "self": "optional", "version": "optional", }, @@ -24416,6 +24602,7 @@ docs: Endpoints relating to Product objects }, "PurchaseOrderIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -24428,6 +24615,7 @@ docs: Endpoints relating to Product objects }, "PurchaseOrderShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -24479,14 +24667,13 @@ docs: Endpoints relating to Product objects data: optional> source: openapi: ../openapi.yml + inline: true PurchaseOrderIndexResponse: properties: _object: optional self: optional version: optional - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml PurchaseOrderShowResponse: @@ -25686,12 +25873,10 @@ docs: >- }, "PurchaseOrderLineItemIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", "self": "optional", "version": "optional", }, @@ -25701,6 +25886,7 @@ docs: >- }, "PurchaseOrderLineItemIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -25713,6 +25899,7 @@ docs: >- }, "PurchaseOrderLineItemShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -25741,14 +25928,13 @@ docs: >- data: optional> source: openapi: ../openapi.yml + inline: true PurchaseOrderLineItemIndexResponse: properties: _object: optional self: optional version: optional - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml PurchaseOrderLineItemShowResponse: @@ -27311,12 +27497,10 @@ docs: >- }, "ShipmentIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", "self": "optional", "version": "optional", }, @@ -27326,6 +27510,7 @@ docs: >- }, "ShipmentIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -27338,6 +27523,7 @@ docs: >- }, "ShipmentShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -27350,6 +27536,7 @@ docs: >- }, "ShipmentUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -27362,12 +27549,10 @@ docs: >- }, "ShipmentsShareableResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", "self": "optional", "version": "optional", }, @@ -27377,6 +27562,7 @@ docs: >- }, "ShipmentsShareableResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "shipments": "optional>", @@ -27387,6 +27573,7 @@ docs: >- }, "ShipmentsShareableResponseDataShipmentsItem": { "docs": undefined, + "inline": true, "properties": { "expiration_date": "optional", "shareable_url": "optional", @@ -27424,14 +27611,13 @@ docs: >- data: optional> source: openapi: ../openapi.yml + inline: true ShipmentIndexResponse: properties: _object: optional self: optional version: optional - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml ShipmentShowResponse: @@ -27457,20 +27643,20 @@ docs: >- expiration_date: optional source: openapi: ../openapi.yml + inline: true ShipmentsShareableResponseData: properties: _object: optional shipments: optional> source: openapi: ../openapi.yml + inline: true ShipmentsShareableResponse: properties: _object: optional self: optional version: optional - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml imports: @@ -28888,12 +29074,10 @@ docs: Endpoints relating to Shipment objects "types": { "ShipmentLegIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", "self": "optional", "version": "optional", }, @@ -28903,6 +29087,7 @@ docs: Endpoints relating to Shipment objects }, "ShipmentLegIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -28915,6 +29100,7 @@ docs: Endpoints relating to Shipment objects }, "ShipmentLegShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -28938,14 +29124,13 @@ types: data: optional> source: openapi: ../openapi.yml + inline: true ShipmentLegIndexResponse: properties: _object: optional self: optional version: optional - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml ShipmentLegShowResponse: diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/float.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/float.json index 3f9e90b448d..4eef66bfac5 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/float.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/float.json @@ -55,6 +55,7 @@ "Response": { "docs": "A generic response type used throughout the API. ", + "inline": undefined, "properties": { "id": "optional", "value": "optional", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/hathora.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/hathora.json index 721aedad1b8..c4e0482b4e0 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/hathora.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/hathora.json @@ -982,6 +982,7 @@ "types": { "ActiveConnectionInfo": { "docs": undefined, + "inline": undefined, "properties": { "host": "string", "port": "double", @@ -994,6 +995,7 @@ }, "AppConfig": { "docs": undefined, + "inline": undefined, "properties": { "appName": { "type": "string", @@ -1004,10 +1006,7 @@ "pattern": "^[a-z0-9-]+$", }, }, - "authConfiguration": { - "inline": true, - "type": "AppConfigAuthConfiguration", - }, + "authConfiguration": "AppConfigAuthConfiguration", }, "source": { "openapi": "../openapi.json", @@ -1015,12 +1014,10 @@ }, "AppConfigAuthConfiguration": { "docs": undefined, + "inline": true, "properties": { "anonymous": "optional", - "google": { - "inline": true, - "type": "optional", - }, + "google": "optional", "nickname": "optional", }, "source": { @@ -1029,6 +1026,7 @@ }, "AppConfigAuthConfigurationGoogle": { "docs": undefined, + "inline": true, "properties": { "clientId": "string", }, @@ -1039,14 +1037,12 @@ "AppId": "string", "Application": { "docs": undefined, + "inline": undefined, "properties": { "appId": "string", "appName": "string", "appSecret": "string", - "authConfiguration": { - "inline": true, - "type": "ApplicationAuthConfiguration", - }, + "authConfiguration": "ApplicationAuthConfiguration", "createdAt": "datetime", "createdBy": "string", "deletedAt": "optional", @@ -1059,12 +1055,10 @@ }, "ApplicationAuthConfiguration": { "docs": undefined, + "inline": true, "properties": { "anonymous": "optional", - "google": { - "inline": true, - "type": "optional", - }, + "google": "optional", "nickname": "optional", }, "source": { @@ -1073,6 +1067,7 @@ }, "ApplicationAuthConfigurationGoogle": { "docs": undefined, + "inline": true, "properties": { "clientId": "string", }, @@ -1085,6 +1080,7 @@ "extends": [ "Application", ], + "inline": undefined, "properties": { "deployment": "Deployment", }, @@ -1094,6 +1090,7 @@ }, "Build": { "docs": undefined, + "inline": undefined, "properties": { "appId": "AppId", "buildId": "BuildId", @@ -1113,6 +1110,7 @@ "BuildId": "double", "BuildRegionalContainerTagsItem": { "docs": undefined, + "inline": true, "properties": { "containerTag": "string", "region": "Region", @@ -1151,6 +1149,7 @@ "extends": [ "DeploymentConfig", ], + "inline": undefined, "properties": { "appId": "AppId", "buildId": "BuildId", @@ -1166,6 +1165,7 @@ }, "DeploymentConfig": { "docs": undefined, + "inline": undefined, "properties": { "containerPort": { "type": "integer", @@ -1197,6 +1197,7 @@ }, "DeploymentConfigEnvItem": { "docs": undefined, + "inline": true, "properties": { "name": { "type": "string", @@ -1225,6 +1226,7 @@ "DiscoveryResponse": "list", "DiscoveryResponseItem": { "docs": undefined, + "inline": undefined, "properties": { "host": "string", "port": "double", @@ -1236,6 +1238,7 @@ }, "Lobby": { "docs": undefined, + "inline": undefined, "properties": { "appId": "AppId", "createdAt": "datetime", @@ -1274,6 +1277,7 @@ }, "MetricValue": { "docs": undefined, + "inline": undefined, "properties": { "timestamp": "double", "value": "double", @@ -1290,6 +1294,7 @@ "OrgId": "string", "PickRoomExcludeKeyofRoomAllocations": { "docs": "From T, pick a set of properties whose keys are in the union K", + "inline": undefined, "properties": { "appId": "AppId", "currentAllocation": "optional", @@ -1313,6 +1318,7 @@ }, "Process": { "docs": undefined, + "inline": undefined, "properties": { "activeConnections": "double", "appId": "AppId", @@ -1341,6 +1347,7 @@ "extends": [ "Process", ], + "inline": undefined, "properties": { "rooms": "list", "totalRooms": "double", @@ -1351,6 +1358,7 @@ }, "RecordPartialMetricNameMetricValueArray": { "docs": "Construct a type with a set of properties K of type T", + "inline": undefined, "properties": { "cpu": "optional>", "memory": "optional>", @@ -1363,6 +1371,7 @@ }, "RecordStringNever": { "docs": "Construct a type with a set of properties K of type T", + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.json", @@ -1387,6 +1396,7 @@ }, "Room": { "docs": undefined, + "inline": undefined, "properties": { "allocations": "list", "appId": "AppId", @@ -1400,6 +1410,7 @@ }, "RoomAllocation": { "docs": undefined, + "inline": undefined, "properties": { "processId": "ProcessId", "roomAllocationId": "RoomAllocationId", @@ -1426,6 +1437,7 @@ "RoomWithoutAllocations": "OmitRoomAllocations", "StartingConnectionInfo": { "docs": undefined, + "inline": undefined, "properties": { "roomId": "RoomId", }, @@ -1954,15 +1966,15 @@ types: clientId: string source: openapi: ../openapi.json + inline: true ApplicationAuthConfiguration: properties: - google: - type: optional - inline: true + google: optional nickname: optional anonymous: optional source: openapi: ../openapi.json + inline: true Application: properties: deletedBy: optional @@ -1970,9 +1982,7 @@ types: createdAt: datetime createdBy: string orgId: OrgId - authConfiguration: - type: ApplicationAuthConfiguration - inline: true + authConfiguration: ApplicationAuthConfiguration appSecret: string appId: string appName: string @@ -2007,6 +2017,7 @@ types: maxLength: 100 source: openapi: ../openapi.json + inline: true DeploymentConfig: properties: env: list @@ -2052,20 +2063,18 @@ types: clientId: string source: openapi: ../openapi.json + inline: true AppConfigAuthConfiguration: properties: - google: - type: optional - inline: true + google: optional nickname: optional anonymous: optional source: openapi: ../openapi.json + inline: true AppConfig: properties: - authConfiguration: - type: AppConfigAuthConfiguration - inline: true + authConfiguration: AppConfigAuthConfiguration appName: type: string validation: @@ -2093,6 +2102,7 @@ types: region: Region source: openapi: ../openapi.json + inline: true BuildStatus: enum: - created @@ -2808,6 +2818,7 @@ service: "types": { "LoginAnonymousResponse": { "docs": undefined, + "inline": undefined, "properties": { "token": "string", }, @@ -2817,6 +2828,7 @@ service: }, "LoginGoogleResponse": { "docs": undefined, + "inline": undefined, "properties": { "token": "string", }, @@ -2826,6 +2838,7 @@ service: }, "LoginNicknameResponse": { "docs": undefined, + "inline": undefined, "properties": { "token": "string", }, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/hookdeck.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/hookdeck.json index 35fff7bce5f..a5abcd54a1c 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/hookdeck.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/hookdeck.json @@ -2474,6 +2474,7 @@ "types": { "AlertRule": { "docs": undefined, + "inline": undefined, "properties": { "strategy": "AlertStrategy", }, @@ -2493,15 +2494,13 @@ }, "ApiErrorResponse": { "docs": "Error response model", + "inline": undefined, "properties": { "code": { "docs": "Error code", "type": "string", }, - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", "message": { "docs": "Error description", "type": "string", @@ -2517,6 +2516,7 @@ }, "ApiErrorResponseData": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -2524,6 +2524,7 @@ }, "ApiKeyIntegrationConfigs": { "docs": undefined, + "inline": undefined, "properties": { "api_key": "string", "header_key": "string", @@ -2534,6 +2535,7 @@ }, "AttachedIntegrationToSource": { "docs": undefined, + "inline": undefined, "properties": { "success": "boolean", }, @@ -2607,6 +2609,7 @@ }, "BasicAuthIntegrationConfigs": { "docs": undefined, + "inline": undefined, "properties": { "name": "string", "password": "string", @@ -2617,6 +2620,7 @@ }, "BatchOperation": { "docs": undefined, + "inline": undefined, "properties": { "cancelled_at": { "docs": "Date the bulk retry was cancelled", @@ -2682,6 +2686,7 @@ }, "BatchOperationPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -2693,6 +2698,7 @@ }, "BatchOperationPlan": { "docs": undefined, + "inline": undefined, "properties": { "estimated_batch": { "docs": "Number of batches required to complete the bulk retry", @@ -2715,6 +2721,7 @@ "discriminated": false, "docs": "Query object to filter records", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -2725,6 +2732,7 @@ }, "Bookmark": { "docs": undefined, + "inline": undefined, "properties": { "alias": { "docs": "Alternate alias for the bookmark", @@ -2770,6 +2778,7 @@ }, "BookmarkPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -2781,6 +2790,7 @@ }, "Connection": { "docs": undefined, + "inline": undefined, "properties": { "archived_at": { "docs": "Date the connection was archived", @@ -2830,6 +2840,7 @@ "discriminated": false, "docs": "JSON using our filter syntax to filter on request headers", "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -2842,6 +2853,7 @@ }, "ConnectionFilterPropertyThree": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -2849,6 +2861,7 @@ }, "ConnectionPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -2860,6 +2873,7 @@ }, "ConsoleLine": { "docs": undefined, + "inline": undefined, "properties": { "message": "string", "type": "ConsoleLineType", @@ -2882,6 +2896,7 @@ }, "DelayRule": { "docs": undefined, + "inline": undefined, "properties": { "delay": { "docs": "Delay to introduce in MS", @@ -2894,6 +2909,7 @@ }, "DeletedBookmarkResponse": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "Bookmark ID", @@ -2906,6 +2922,7 @@ }, "DeletedIntegration": { "docs": undefined, + "inline": undefined, "properties": { "id": "string", }, @@ -2915,6 +2932,7 @@ }, "DeletedIssueTriggerResponse": { "docs": undefined, + "inline": undefined, "properties": { "id": "string", }, @@ -2924,6 +2942,7 @@ }, "DeliveryIssue": { "docs": "Delivery issue", + "inline": undefined, "properties": { "aggregation_keys": "DeliveryIssueAggregationKeys", "auto_resolved_at": "optional", @@ -2973,6 +2992,7 @@ }, "DeliveryIssueAggregationKeys": { "docs": "Keys used as the aggregation keys a 'delivery' type issue", + "inline": undefined, "properties": { "error_code": "list", "response_status": "list", @@ -2984,6 +3004,7 @@ }, "DeliveryIssueData": { "docs": "Delivery issue data", + "inline": undefined, "properties": { "trigger_attempt": "optional", "trigger_event": "optional", @@ -2994,6 +3015,7 @@ }, "DeliveryIssueReference": { "docs": "Reference to the event and attempt an issue is being created for.", + "inline": undefined, "properties": { "attempt_id": "string", "event_id": "string", @@ -3004,6 +3026,7 @@ }, "DeliveryIssueWithData": { "docs": "Delivery issue", + "inline": undefined, "properties": { "aggregation_keys": "DeliveryIssueAggregationKeys", "auto_resolved_at": "optional", @@ -3054,6 +3077,7 @@ }, "Destination": { "docs": "Associated [Destination](#destination-object) object", + "inline": undefined, "properties": { "archived_at": { "docs": "Date the destination was archived", @@ -3100,6 +3124,7 @@ }, "DestinationPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -3123,6 +3148,7 @@ }, "DetachedIntegrationFromSource": { "docs": undefined, + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -3130,6 +3156,7 @@ }, "Event": { "docs": undefined, + "inline": undefined, "properties": { "attempts": { "docs": "Number of delivery attempts made", @@ -3203,6 +3230,7 @@ "EventArray": "list", "EventAttempt": { "docs": undefined, + "inline": undefined, "properties": { "archived_at": { "docs": "Date the attempt was archived", @@ -3214,7 +3242,6 @@ }, "body": { "docs": "Response body from the destination", - "inline": true, "type": "optional", }, "bulk_retry_id": { @@ -3281,6 +3308,7 @@ }, "EventAttemptBody": { "docs": "Response body from the destination", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -3288,6 +3316,7 @@ }, "EventAttemptPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>>", @@ -3299,6 +3328,7 @@ }, "EventData": { "docs": undefined, + "inline": true, "properties": { "body": "optional", "headers": "optional", @@ -3315,6 +3345,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3326,6 +3357,7 @@ }, "EventDataBodyOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -3335,6 +3367,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3347,6 +3380,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3357,6 +3391,7 @@ }, "EventDataParsedQueryOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -3364,6 +3399,7 @@ }, "EventPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -3387,6 +3423,7 @@ }, "FilterRule": { "docs": undefined, + "inline": undefined, "properties": { "body": "optional", "headers": "optional", @@ -3410,6 +3447,7 @@ }, "HandledHmacConfigs": { "docs": undefined, + "inline": undefined, "properties": { "webhook_secret_key": "string", }, @@ -3430,6 +3468,7 @@ }, "HmacIntegrationConfigs": { "docs": undefined, + "inline": undefined, "properties": { "algorithm": "HmacAlgorithms", "encoding": "HmacIntegrationConfigsEncoding", @@ -3451,6 +3490,7 @@ }, "IgnoredEvent": { "docs": undefined, + "inline": undefined, "properties": { "cause": "IgnoredEventCause", "created_at": "datetime", @@ -3480,6 +3520,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3490,6 +3531,7 @@ }, "IgnoredEventPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -3501,6 +3543,7 @@ }, "Integration": { "docs": undefined, + "inline": undefined, "properties": { "configs": { "docs": "Decrypted Key/Value object of the associated configuration for that provider", @@ -3544,6 +3587,7 @@ "discriminated": false, "docs": "Decrypted Key/Value object of the associated configuration for that provider", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3567,6 +3611,7 @@ }, "IntegrationPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -3626,6 +3671,7 @@ }, "IssueCount": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "Number of issues", @@ -3650,6 +3696,7 @@ }, "IssueTrigger": { "docs": undefined, + "inline": undefined, "properties": { "channels": "optional", "configs": "IssueTriggerReference", @@ -3689,6 +3736,7 @@ }, "IssueTriggerBackpressureConfigs": { "docs": "Configurations for a 'Backpressure' issue trigger", + "inline": undefined, "properties": { "delay": "IssueTriggerBackpressureDelay", "destinations": { @@ -3704,6 +3752,7 @@ "discriminated": false, "docs": "A pattern to match on the destination name or array of destination IDs. Use `*` as wildcard.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3725,6 +3774,7 @@ }, "IssueTriggerChannels": { "docs": "Notification channels object for the specific channel type", + "inline": undefined, "properties": { "email": "optional", "opsgenie": "optional", @@ -3736,6 +3786,7 @@ }, "IssueTriggerDeliveryConfigs": { "docs": "Configurations for a 'delivery' issue trigger", + "inline": undefined, "properties": { "connections": { "docs": "A pattern to match on the connection name or array of connection IDs. Use `*` as wildcard.", @@ -3751,6 +3802,7 @@ "discriminated": false, "docs": "A pattern to match on the connection name or array of connection IDs. Use `*` as wildcard.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3761,6 +3813,7 @@ }, "IssueTriggerEmailChannel": { "docs": "Email channel for an issue trigger", + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -3768,6 +3821,7 @@ }, "IssueTriggerIntegrationChannel": { "docs": "Integration channel for an issue trigger", + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -3775,6 +3829,7 @@ }, "IssueTriggerPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -3788,6 +3843,7 @@ "discriminated": false, "docs": "Configuration object for the specific issue type selected", "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -3799,6 +3855,7 @@ }, "IssueTriggerSlackChannel": { "docs": "Slack channel for an issue trigger", + "inline": undefined, "properties": { "channel_name": { "docs": "Channel name", @@ -3821,6 +3878,7 @@ }, "IssueTriggerTransformationConfigs": { "docs": "Configurations for a 'Transformation' issue trigger", + "inline": undefined, "properties": { "log_level": "TransformationExecutionLogLevel", "transformations": { @@ -3836,6 +3894,7 @@ "discriminated": false, "docs": "A pattern to match on the transformation name or array of transformation IDs. Use `*` as wildcard.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3871,6 +3930,7 @@ }, "IssueWithDataPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -3891,6 +3951,7 @@ }, "RawBody": { "docs": undefined, + "inline": undefined, "properties": { "body": "string", }, @@ -3900,6 +3961,7 @@ }, "Request": { "docs": undefined, + "inline": undefined, "properties": { "cli_events_count": { "docs": "The count of CLI events created from this request", @@ -3964,6 +4026,7 @@ }, "RequestData": { "docs": undefined, + "inline": true, "properties": { "body": "optional", "headers": "optional", @@ -3980,6 +4043,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3991,6 +4055,7 @@ }, "RequestDataBodyOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4000,6 +4065,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -4012,6 +4078,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -4022,6 +4089,7 @@ }, "RequestDataParsedQueryOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4039,6 +4107,7 @@ }, "RequestPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -4066,6 +4135,7 @@ }, "RetriedEvent": { "docs": undefined, + "inline": undefined, "properties": { "attempt": "optional", "event": "Event", @@ -4076,6 +4146,7 @@ }, "RetryRequest": { "docs": undefined, + "inline": undefined, "properties": { "events": "optional>", "request": "Request", @@ -4086,6 +4157,7 @@ }, "RetryRule": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "Maximum number of retries to attempt", @@ -4130,6 +4202,7 @@ }, "Ruleset": { "docs": "Associated [Ruleset](#ruleset-object) object", + "inline": undefined, "properties": { "archived_at": { "docs": "Date the ruleset was archived", @@ -4170,6 +4243,7 @@ }, "RulesetPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>>", @@ -4181,6 +4255,7 @@ }, "SeekPagination": { "docs": undefined, + "inline": undefined, "properties": { "dir": "optional", "limit": "optional", @@ -4196,6 +4271,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -4208,6 +4284,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -4218,6 +4295,7 @@ }, "ShopifyIntegrationConfigs": { "docs": undefined, + "inline": undefined, "properties": { "api_key": "optional", "api_secret": "optional", @@ -4241,6 +4319,7 @@ }, "ShortEventData": { "docs": undefined, + "inline": undefined, "properties": { "body": "optional", "headers": "optional", @@ -4257,6 +4336,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -4268,6 +4348,7 @@ }, "ShortEventDataBodyOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4277,6 +4358,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -4289,6 +4371,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -4299,6 +4382,7 @@ }, "ShortEventDataParsedQueryOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4306,6 +4390,7 @@ }, "Source": { "docs": "Associated [Source](#source-object) object", + "inline": undefined, "properties": { "archived_at": { "docs": "Date the source was archived", @@ -4350,6 +4435,7 @@ }, "SourceIntegration": { "docs": "Integration object", + "inline": true, "properties": { "features": { "docs": "List of enabled features", @@ -4371,6 +4457,7 @@ }, "SourcePaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -4382,6 +4469,7 @@ }, "ToggleWebhookNotifications": { "docs": undefined, + "inline": undefined, "properties": { "enabled": "boolean", "source_id": "string", @@ -4417,6 +4505,7 @@ }, "TransformFull": { "docs": undefined, + "inline": undefined, "properties": { "transformation": { "docs": "You can optionally define a new transformation while creating a transform rule", @@ -4437,6 +4526,7 @@ }, "TransformFullTransformation": { "docs": "You can optionally define a new transformation while creating a transform rule", + "inline": true, "properties": { "code": { "docs": "A string representation of your JavaScript (ES6) code to run", @@ -4457,6 +4547,7 @@ }, "TransformReference": { "docs": undefined, + "inline": undefined, "properties": { "transformation_id": { "docs": "ID of the attached transformation object. Optional input, always set once the rule is defined", @@ -4475,6 +4566,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -4485,6 +4577,7 @@ }, "Transformation": { "docs": undefined, + "inline": undefined, "properties": { "code": { "docs": "JavaScript code to be executed", @@ -4523,6 +4616,7 @@ }, "TransformationExecution": { "docs": undefined, + "inline": undefined, "properties": { "created_at": "datetime", "id": "string", @@ -4557,6 +4651,7 @@ }, "TransformationExecutionPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -4568,6 +4663,7 @@ }, "TransformationExecutorOutput": { "docs": undefined, + "inline": undefined, "properties": { "console": "optional>", "execution_id": "optional", @@ -4582,6 +4678,7 @@ }, "TransformationExecutorOutputRequest": { "docs": undefined, + "inline": true, "properties": { "body": "optional", "headers": "optional", @@ -4597,6 +4694,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -4607,6 +4705,7 @@ }, "TransformationExecutorOutputRequestBodyOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4616,6 +4715,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -4628,6 +4728,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -4638,6 +4739,7 @@ }, "TransformationExecutorOutputRequestParsedQueryOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4647,6 +4749,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -4657,6 +4760,7 @@ }, "TransformationExecutorOutputRequestQueryZero": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4664,6 +4768,7 @@ }, "TransformationFailedMeta": { "docs": undefined, + "inline": undefined, "properties": { "transformation_id": "string", }, @@ -4673,6 +4778,7 @@ }, "TransformationIssue": { "docs": "Transformation issue", + "inline": undefined, "properties": { "aggregation_keys": "TransformationIssueAggregationKeys", "auto_resolved_at": "optional", @@ -4722,6 +4828,7 @@ }, "TransformationIssueAggregationKeys": { "docs": "Keys used as the aggregation keys a 'transformation' type issue", + "inline": undefined, "properties": { "log_level": "TransformationExecutionLogLevel", "transformation_id": "list", @@ -4732,6 +4839,7 @@ }, "TransformationIssueData": { "docs": "Transformation issue data", + "inline": undefined, "properties": { "transformation_execution": "TransformationExecution", "trigger_attempt": "optional", @@ -4742,6 +4850,7 @@ }, "TransformationIssueReference": { "docs": "Reference to the event request transformation an issue is being created for.", + "inline": undefined, "properties": { "transformation_execution_id": "string", "trigger_event_request_transformation_id": { @@ -4755,6 +4864,7 @@ }, "TransformationIssueWithData": { "docs": "Transformation issue", + "inline": undefined, "properties": { "aggregation_keys": "TransformationIssueAggregationKeys", "auto_resolved_at": "optional", @@ -4805,6 +4915,7 @@ }, "TransformationPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -6217,6 +6328,7 @@ types: - list source: openapi: ../openapi.yml + inline: true SeekPaginationDir: discriminated: false union: @@ -6224,6 +6336,7 @@ types: - list source: openapi: ../openapi.yml + inline: true SeekPagination: properties: order_by: optional @@ -6258,6 +6371,7 @@ types: - list source: openapi: ../openapi.yml + inline: true IssueTriggerDeliveryConfigs: docs: Configurations for a 'delivery' issue trigger properties: @@ -6289,6 +6403,7 @@ types: - list source: openapi: ../openapi.yml + inline: true IssueTriggerTransformationConfigs: docs: Configurations for a 'Transformation' issue trigger properties: @@ -6318,6 +6433,7 @@ types: - list source: openapi: ../openapi.yml + inline: true IssueTriggerBackpressureConfigs: docs: Configurations for a 'Backpressure' issue trigger properties: @@ -6403,6 +6519,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true ApiErrorResponse: docs: Error response model properties: @@ -6415,9 +6532,7 @@ types: message: type: string docs: Error description - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml DeletedIssueTriggerResponse: @@ -6482,6 +6597,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true EventAttempt: properties: id: @@ -6506,7 +6622,6 @@ types: body: type: optional docs: Response body from the destination - inline: true requested_url: type: optional docs: URL of the destination where delivery was attempted @@ -6555,6 +6670,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true ShortEventDataParsedQuery: discriminated: false union: @@ -6562,6 +6678,7 @@ types: - ShortEventDataParsedQueryOne source: openapi: ../openapi.yml + inline: true ShortEventDataHeaders: discriminated: false union: @@ -6569,10 +6686,12 @@ types: - map> source: openapi: ../openapi.yml + inline: true ShortEventDataBodyOne: properties: {} source: openapi: ../openapi.yml + inline: true ShortEventDataBody: discriminated: false union: @@ -6581,6 +6700,7 @@ types: - list source: openapi: ../openapi.yml + inline: true ShortEventData: properties: path: string @@ -6643,6 +6763,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true EventDataParsedQuery: discriminated: false union: @@ -6650,6 +6771,7 @@ types: - EventDataParsedQueryOne source: openapi: ../openapi.yml + inline: true EventDataHeaders: discriminated: false union: @@ -6657,10 +6779,12 @@ types: - map> source: openapi: ../openapi.yml + inline: true EventDataBodyOne: properties: {} source: openapi: ../openapi.yml + inline: true EventDataBody: discriminated: false union: @@ -6669,6 +6793,7 @@ types: - list source: openapi: ../openapi.yml + inline: true EventData: properties: path: string @@ -6679,6 +6804,7 @@ types: is_large_payload: optional source: openapi: ../openapi.yml + inline: true Event: properties: id: @@ -6818,6 +6944,7 @@ types: - optional source: openapi: ../openapi.yml + inline: true BatchOperation: properties: id: @@ -6989,6 +7116,7 @@ types: - ShopifyIntegrationConfigs source: openapi: ../openapi.yml + inline: true Integration: properties: id: @@ -7334,6 +7462,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true RequestDataParsedQuery: discriminated: false union: @@ -7341,6 +7470,7 @@ types: - RequestDataParsedQueryOne source: openapi: ../openapi.yml + inline: true RequestDataHeaders: discriminated: false union: @@ -7348,10 +7478,12 @@ types: - map> source: openapi: ../openapi.yml + inline: true RequestDataBodyOne: properties: {} source: openapi: ../openapi.yml + inline: true RequestDataBody: discriminated: false union: @@ -7360,6 +7492,7 @@ types: - list source: openapi: ../openapi.yml + inline: true RequestData: properties: path: string @@ -7370,6 +7503,7 @@ types: is_large_payload: optional source: openapi: ../openapi.yml + inline: true Request: properties: id: @@ -7460,6 +7594,7 @@ types: - TransformationFailedMeta source: openapi: ../openapi.yml + inline: true IgnoredEvent: properties: id: string @@ -7513,6 +7648,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true ConnectionFilterProperty: discriminated: false docs: JSON using our filter syntax to filter on request headers @@ -7561,6 +7697,7 @@ types: your transformation code source: openapi: ../openapi.yml + inline: true TransformFull: properties: type: @@ -7654,6 +7791,7 @@ types: type: list source: openapi: ../openapi.yml + inline: true Source: docs: Associated [Source](#source-object) object properties: @@ -7754,10 +7892,12 @@ types: - map source: openapi: ../openapi.yml + inline: true TransformationExecutorOutputRequestQueryZero: properties: {} source: openapi: ../openapi.yml + inline: true TransformationExecutorOutputRequestQuery: discriminated: false union: @@ -7765,10 +7905,12 @@ types: - string source: openapi: ../openapi.yml + inline: true TransformationExecutorOutputRequestParsedQueryOne: properties: {} source: openapi: ../openapi.yml + inline: true TransformationExecutorOutputRequestParsedQuery: discriminated: false union: @@ -7776,10 +7918,12 @@ types: - TransformationExecutorOutputRequestParsedQueryOne source: openapi: ../openapi.yml + inline: true TransformationExecutorOutputRequestBodyOne: properties: {} source: openapi: ../openapi.yml + inline: true TransformationExecutorOutputRequestBody: discriminated: false union: @@ -7787,6 +7931,7 @@ types: - TransformationExecutorOutputRequestBodyOne source: openapi: ../openapi.yml + inline: true TransformationExecutorOutputRequest: properties: headers: optional @@ -7796,6 +7941,7 @@ types: body: optional source: openapi: ../openapi.yml + inline: true TransformationExecutorOutput: properties: request_id: optional @@ -9280,6 +9426,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. "types": { "CreateEventBulkRetryRequestQuery": { "docs": "Filter properties for the events to be included in the bulk retry", + "inline": true, "properties": { "attempts": { "docs": "Filter by number of attempts", @@ -9355,6 +9502,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. "discriminated": false, "docs": "Filter by number of attempts", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -9374,6 +9522,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. }, "CreateEventBulkRetryRequestQueryAttemptsAny": { "docs": undefined, + "inline": true, "properties": { "any": "optional", "contains": { @@ -9435,6 +9584,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. "discriminated": false, "docs": "URL Encoded string of the JSON to match to the data body", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -9445,6 +9595,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. }, "CreateEventBulkRetryRequestQueryBodyOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -9454,6 +9605,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -9474,6 +9626,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. "discriminated": false, "docs": "Filter by CLI IDs. `?[any]=true` operator for any CLI.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -9485,6 +9638,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. }, "CreateEventBulkRetryRequestQueryCliIdAny": { "docs": undefined, + "inline": true, "properties": { "any": "optional", }, @@ -9496,6 +9650,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -9508,6 +9663,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. "discriminated": false, "docs": "Filter by `created_at` date using a date operator", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -9518,6 +9674,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. }, "CreateEventBulkRetryRequestQueryCreatedAtAny": { "docs": undefined, + "inline": true, "properties": { "any": "optional", "gt": "optional", @@ -9533,6 +9690,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. "discriminated": false, "docs": "Filter by destination IDs", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -9554,6 +9712,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -9574,6 +9733,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -9594,6 +9754,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. "discriminated": false, "docs": "URL Encoded string of the JSON to match to the data headers", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -9604,6 +9765,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. }, "CreateEventBulkRetryRequestQueryHeadersOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -9613,6 +9775,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. "discriminated": false, "docs": "Filter by event IDs", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -9634,6 +9797,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -9654,6 +9818,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. "discriminated": false, "docs": "Filter by `last_attempt_at` date using a date operator", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -9664,6 +9829,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. }, "CreateEventBulkRetryRequestQueryLastAttemptAtAny": { "docs": undefined, + "inline": true, "properties": { "any": "optional", "gt": "optional", @@ -9679,6 +9845,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. "discriminated": false, "docs": "URL Encoded string of the JSON to match to the parsed query (JSON representation of the query)", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -9689,6 +9856,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. }, "CreateEventBulkRetryRequestQueryParsedQueryOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -9698,6 +9866,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. "discriminated": false, "docs": "Filter by HTTP response status code", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -9718,6 +9887,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. }, "CreateEventBulkRetryRequestQueryResponseStatusAny": { "docs": undefined, + "inline": true, "properties": { "any": "optional", "contains": { @@ -9779,6 +9949,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. "discriminated": false, "docs": "Filter by source IDs", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -9800,6 +9971,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. "discriminated": false, "docs": "Lifecyle status of the event", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -9812,6 +9984,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. "discriminated": false, "docs": "Filter by `successful_at` date using a date operator", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -9822,6 +9995,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. }, "CreateEventBulkRetryRequestQuerySuccessfulAtAny": { "docs": undefined, + "inline": true, "properties": { "any": "optional", "gt": "optional", @@ -9837,6 +10011,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. "discriminated": false, "docs": "Filter by webhook connection IDs", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -9886,6 +10061,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. - list source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQueryStatus: discriminated: false docs: Lifecyle status of the event @@ -9894,6 +10070,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. - list source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQueryIssueId: discriminated: false union: @@ -9903,6 +10080,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. - list source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQueryWebhookId: discriminated: false docs: Filter by webhook connection IDs @@ -9914,6 +10092,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. - list source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQueryDestinationId: discriminated: false docs: Filter by destination IDs @@ -9925,6 +10104,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. - list source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQuerySourceId: discriminated: false docs: Filter by source IDs @@ -9936,6 +10116,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. - list source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQueryAttemptsAny: properties: gt: @@ -9961,6 +10142,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. min: 0 source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQueryAttempts: discriminated: false docs: Filter by number of attempts @@ -9971,6 +10153,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. - CreateEventBulkRetryRequestQueryAttemptsAny source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQueryResponseStatusAny: properties: gt: @@ -10001,6 +10184,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. max: 600 source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQueryResponseStatus: discriminated: false docs: Filter by HTTP response status code @@ -10013,6 +10197,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. - list source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQuerySuccessfulAtAny: properties: gt: optional @@ -10022,6 +10207,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. any: optional source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQuerySuccessfulAt: discriminated: false docs: Filter by `successful_at` date using a date operator @@ -10030,6 +10216,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. - CreateEventBulkRetryRequestQuerySuccessfulAtAny source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQueryCreatedAtAny: properties: gt: optional @@ -10039,6 +10226,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. any: optional source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQueryCreatedAt: discriminated: false docs: Filter by `created_at` date using a date operator @@ -10047,6 +10235,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. - CreateEventBulkRetryRequestQueryCreatedAtAny source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQueryErrorCode: discriminated: false union: @@ -10056,11 +10245,13 @@ docs: A bookmark lets you conveniently store and replay a specific request. - list source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQueryCliIdAny: properties: any: optional source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQueryCliId: discriminated: false docs: Filter by CLI IDs. `?[any]=true` operator for any CLI. @@ -10070,6 +10261,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. - list source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQueryCliUserId: discriminated: false union: @@ -10077,6 +10269,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. - list source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQueryLastAttemptAtAny: properties: gt: optional @@ -10086,6 +10279,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. any: optional source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQueryLastAttemptAt: discriminated: false docs: Filter by `last_attempt_at` date using a date operator @@ -10094,6 +10288,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. - CreateEventBulkRetryRequestQueryLastAttemptAtAny source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQueryEventDataId: discriminated: false union: @@ -10103,10 +10298,12 @@ docs: A bookmark lets you conveniently store and replay a specific request. - list source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQueryHeadersOne: properties: {} source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQueryHeaders: discriminated: false docs: URL Encoded string of the JSON to match to the data headers @@ -10115,10 +10312,12 @@ docs: A bookmark lets you conveniently store and replay a specific request. - CreateEventBulkRetryRequestQueryHeadersOne source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQueryBodyOne: properties: {} source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQueryBody: discriminated: false docs: URL Encoded string of the JSON to match to the data body @@ -10127,10 +10326,12 @@ docs: A bookmark lets you conveniently store and replay a specific request. - CreateEventBulkRetryRequestQueryBodyOne source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQueryParsedQueryOne: properties: {} source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQueryParsedQuery: discriminated: false docs: >- @@ -10141,6 +10342,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. - CreateEventBulkRetryRequestQueryParsedQueryOne source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQueryBulkRetryId: discriminated: false union: @@ -10150,6 +10352,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. - list source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQuery: docs: Filter properties for the events to be included in the bulk retry properties: @@ -10207,6 +10410,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. docs: URL Encoded string of the string to match partially to the path source: openapi: ../openapi.yml + inline: true imports: root: __package__.yml service: @@ -10703,6 +10907,7 @@ docs: '' "types": { "CreateIgnoredEventBulkRetryRequestQuery": { "docs": "Filter by the bulk retry ignored event query object", + "inline": true, "properties": { "cause": { "docs": "The cause of the ignored event", @@ -10731,6 +10936,7 @@ docs: '' "discriminated": false, "docs": "The cause of the ignored event", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -10751,6 +10957,7 @@ docs: '' "discriminated": false, "docs": "Connection ID of the ignored event", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -10798,6 +11005,7 @@ docs: '' - list source: openapi: ../openapi.yml + inline: true CreateIgnoredEventBulkRetryRequestQueryWebhookId: discriminated: false docs: Connection ID of the ignored event @@ -10808,6 +11016,7 @@ docs: '' - list source: openapi: ../openapi.yml + inline: true CreateIgnoredEventBulkRetryRequestQuery: docs: Filter by the bulk retry ignored event query object properties: @@ -10826,6 +11035,7 @@ docs: '' maxLength: 255 source: openapi: ../openapi.yml + inline: true imports: root: __package__.yml service: @@ -11320,6 +11530,7 @@ docs: '' "types": { "CreateRequestBulkRetryRequestQuery": { "docs": "Filter properties for the events to be included in the bulk retry, use query parameters of [Requests](#requests)", + "inline": true, "properties": { "body": { "docs": "URL Encoded string of the JSON to match to the data body", @@ -11368,6 +11579,7 @@ docs: '' "discriminated": false, "docs": "URL Encoded string of the JSON to match to the data body", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -11378,6 +11590,7 @@ docs: '' }, "CreateRequestBulkRetryRequestQueryBodyOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -11387,6 +11600,7 @@ docs: '' "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -11407,6 +11621,7 @@ docs: '' "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -11417,6 +11632,7 @@ docs: '' }, "CreateRequestBulkRetryRequestQueryCreatedAtAny": { "docs": undefined, + "inline": true, "properties": { "any": "optional", "gt": "optional", @@ -11432,6 +11648,7 @@ docs: '' "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -11452,6 +11669,7 @@ docs: '' }, "CreateRequestBulkRetryRequestQueryEventsCountAny": { "docs": undefined, + "inline": true, "properties": { "any": "optional", "contains": { @@ -11513,6 +11731,7 @@ docs: '' "discriminated": false, "docs": "URL Encoded string of the JSON to match to the data headers", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -11523,6 +11742,7 @@ docs: '' }, "CreateRequestBulkRetryRequestQueryHeadersOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -11532,6 +11752,7 @@ docs: '' "discriminated": false, "docs": "Filter by requests IDs", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -11553,6 +11774,7 @@ docs: '' "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -11573,6 +11795,7 @@ docs: '' }, "CreateRequestBulkRetryRequestQueryIgnoredCountAny": { "docs": undefined, + "inline": true, "properties": { "any": "optional", "contains": { @@ -11634,6 +11857,7 @@ docs: '' "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -11644,6 +11868,7 @@ docs: '' }, "CreateRequestBulkRetryRequestQueryIngestedAtAny": { "docs": undefined, + "inline": true, "properties": { "any": "optional", "gt": "optional", @@ -11659,6 +11884,7 @@ docs: '' "discriminated": false, "docs": "URL Encoded string of the JSON to match to the parsed query (JSON representation of the query)", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -11669,6 +11895,7 @@ docs: '' }, "CreateRequestBulkRetryRequestQueryParsedQueryOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -11678,6 +11905,7 @@ docs: '' "discriminated": false, "docs": "Filter by rejection cause", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -11689,6 +11917,7 @@ docs: '' }, "CreateRequestBulkRetryRequestQueryRejectionCauseAny": { "docs": undefined, + "inline": true, "properties": { "any": "optional", "contains": "optional", @@ -11705,6 +11934,7 @@ docs: '' "discriminated": false, "docs": "Filter by source IDs", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -11763,6 +11993,7 @@ docs: '' - list source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryStatus: enum: - accepted @@ -11779,6 +12010,7 @@ docs: '' contains: optional source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryRejectionCause: discriminated: false docs: Filter by rejection cause @@ -11788,6 +12020,7 @@ docs: '' - list source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryIgnoredCountAny: properties: gt: @@ -11813,6 +12046,7 @@ docs: '' min: 0 source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryIgnoredCount: discriminated: false union: @@ -11823,6 +12057,7 @@ docs: '' - list source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryEventsCountAny: properties: gt: @@ -11848,6 +12083,7 @@ docs: '' min: 0 source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryEventsCount: discriminated: false union: @@ -11858,6 +12094,7 @@ docs: '' - list source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQuerySourceId: discriminated: false docs: Filter by source IDs @@ -11869,10 +12106,12 @@ docs: '' - list source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryHeadersOne: properties: {} source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryHeaders: discriminated: false docs: URL Encoded string of the JSON to match to the data headers @@ -11881,10 +12120,12 @@ docs: '' - CreateRequestBulkRetryRequestQueryHeadersOne source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryBodyOne: properties: {} source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryBody: discriminated: false docs: URL Encoded string of the JSON to match to the data body @@ -11893,10 +12134,12 @@ docs: '' - CreateRequestBulkRetryRequestQueryBodyOne source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryParsedQueryOne: properties: {} source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryParsedQuery: discriminated: false docs: >- @@ -11907,6 +12150,7 @@ docs: '' - CreateRequestBulkRetryRequestQueryParsedQueryOne source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryCreatedAtAny: properties: gt: optional @@ -11916,6 +12160,7 @@ docs: '' any: optional source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryCreatedAt: discriminated: false union: @@ -11923,6 +12168,7 @@ docs: '' - CreateRequestBulkRetryRequestQueryCreatedAtAny source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryIngestedAtAny: properties: gt: optional @@ -11932,6 +12178,7 @@ docs: '' any: optional source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryIngestedAt: discriminated: false union: @@ -11939,6 +12186,7 @@ docs: '' - CreateRequestBulkRetryRequestQueryIngestedAtAny source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryBulkRetryId: discriminated: false union: @@ -11948,6 +12196,7 @@ docs: '' - list source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQuery: docs: >- Filter properties for the events to be included in the bulk retry, use @@ -11987,6 +12236,7 @@ docs: '' bulk_retry_id: optional source: openapi: ../openapi.yml + inline: true imports: root: __package__.yml service: @@ -13294,6 +13544,7 @@ docs: '' "types": { "CreateConnectionRequestDestination": { "docs": "Destination input object", + "inline": true, "properties": { "cli_path": { "docs": "Path for the CLI destination", @@ -13340,6 +13591,7 @@ docs: '' }, "CreateConnectionRequestRuleset": { "docs": "Ruleset input object", + "inline": true, "properties": { "is_team_default": "optional", "name": { @@ -13363,6 +13615,7 @@ docs: '' }, "CreateConnectionRequestSource": { "docs": "Source input object", + "inline": true, "properties": { "name": { "docs": "A unique name for the source", @@ -13392,6 +13645,7 @@ docs: '' }, "UpdateConnectionRequestRuleset": { "docs": "Ruleset input object", + "inline": true, "properties": { "is_team_default": "optional", "name": { @@ -13415,6 +13669,7 @@ docs: '' }, "UpsertConnectionRequestDestination": { "docs": "Destination input object", + "inline": true, "properties": { "cli_path": { "docs": "Path for the CLI destination", @@ -13461,6 +13716,7 @@ docs: '' }, "UpsertConnectionRequestRuleset": { "docs": "Ruleset input object", + "inline": true, "properties": { "is_team_default": "optional", "name": { @@ -13484,6 +13740,7 @@ docs: '' }, "UpsertConnectionRequestSource": { "docs": "Source input object", + "inline": true, "properties": { "name": { "docs": "A unique name for the source", @@ -13542,6 +13799,7 @@ docs: '' path_forwarding_disabled: optional source: openapi: ../openapi.yml + inline: true CreateConnectionRequestSource: docs: Source input object properties: @@ -13553,6 +13811,7 @@ docs: '' maxLength: 155 source: openapi: ../openapi.yml + inline: true CreateConnectionRequestRuleset: docs: Ruleset input object properties: @@ -13568,6 +13827,7 @@ docs: '' is_team_default: optional source: openapi: ../openapi.yml + inline: true UpsertConnectionRequestDestinationRateLimitPeriod: enum: - second @@ -13600,6 +13860,7 @@ docs: '' path_forwarding_disabled: optional source: openapi: ../openapi.yml + inline: true UpsertConnectionRequestSource: docs: Source input object properties: @@ -13611,6 +13872,7 @@ docs: '' maxLength: 155 source: openapi: ../openapi.yml + inline: true UpsertConnectionRequestRuleset: docs: Ruleset input object properties: @@ -13626,6 +13888,7 @@ docs: '' is_team_default: optional source: openapi: ../openapi.yml + inline: true UpdateConnectionRequestRuleset: docs: Ruleset input object properties: @@ -13641,6 +13904,7 @@ docs: '' is_team_default: optional source: openapi: ../openapi.yml + inline: true imports: root: __package__.yml service: @@ -16435,6 +16699,7 @@ docs: An event is any request that Hookdeck receives from a source. "discriminated": false, "docs": "Decrypted Key/Value object of the associated configuration for that provider", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -16450,6 +16715,7 @@ docs: An event is any request that Hookdeck receives from a source. "discriminated": false, "docs": "Decrypted Key/Value object of the associated configuration for that provider", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -16751,6 +17017,7 @@ types: - root.ShopifyIntegrationConfigs source: openapi: ../openapi.yml + inline: true UpdateIntegrationRequestConfigs: discriminated: false docs: >- @@ -16764,6 +17031,7 @@ types: - root.ShopifyIntegrationConfigs source: openapi: ../openapi.yml + inline: true ", }, "issueTriggers.yml": { @@ -17262,6 +17530,7 @@ types: "discriminated": false, "docs": "Configuration object for the specific issue type selected", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -17287,6 +17556,7 @@ types: "discriminated": false, "docs": "Configuration object for the specific issue type selected", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -17300,6 +17570,7 @@ types: "discriminated": false, "docs": "Configuration object for the specific issue type selected", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -17331,6 +17602,7 @@ types: - root.IssueTriggerBackpressureConfigs source: openapi: ../openapi.yml + inline: true UpsertIssueTriggerRequestConfigs: discriminated: false docs: Configuration object for the specific issue type selected @@ -17340,6 +17612,7 @@ types: - root.IssueTriggerBackpressureConfigs source: openapi: ../openapi.yml + inline: true UpdateIssueTriggerRequestConfigs: discriminated: false docs: Configuration object for the specific issue type selected @@ -17349,6 +17622,7 @@ types: - root.IssueTriggerBackpressureConfigs source: openapi: ../openapi.yml + inline: true service: auth: false base-path: '' @@ -21867,6 +22141,7 @@ docs: A source represents any third party that sends webhooks to Hookdeck. "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -21908,6 +22183,7 @@ docs: A source represents any third party that sends webhooks to Hookdeck. }, "TestTransformationRequestEnv": { "docs": "Key-value environment variables to be passed to the transformation", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -21915,6 +22191,7 @@ docs: A source represents any third party that sends webhooks to Hookdeck. }, "TestTransformationRequestRequest": { "docs": "Request input to use for the transformation execution", + "inline": true, "properties": { "body": { "docs": "Body of the request", @@ -21945,6 +22222,7 @@ docs: A source represents any third party that sends webhooks to Hookdeck. "discriminated": false, "docs": "Body of the request", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -21955,6 +22233,7 @@ docs: A source represents any third party that sends webhooks to Hookdeck. }, "TestTransformationRequestRequestBodyZero": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -21962,6 +22241,7 @@ docs: A source represents any third party that sends webhooks to Hookdeck. }, "TestTransformationRequestRequestParsedQuery": { "docs": "JSON representation of the query params", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -21971,6 +22251,7 @@ docs: A source represents any third party that sends webhooks to Hookdeck. "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -21983,6 +22264,7 @@ docs: A source represents any third party that sends webhooks to Hookdeck. "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -22008,6 +22290,7 @@ docs: A source represents any third party that sends webhooks to Hookdeck. - float source: openapi: ../openapi.yml + inline: true UpsertTransformationRequestEnvValue: discriminated: false union: @@ -22015,6 +22298,7 @@ docs: A source represents any third party that sends webhooks to Hookdeck. - float source: openapi: ../openapi.yml + inline: true UpdateTransformationRequestEnvValue: discriminated: false union: @@ -22022,15 +22306,18 @@ docs: A source represents any third party that sends webhooks to Hookdeck. - float source: openapi: ../openapi.yml + inline: true TestTransformationRequestEnv: docs: Key-value environment variables to be passed to the transformation properties: {} source: openapi: ../openapi.yml + inline: true TestTransformationRequestRequestBodyZero: properties: {} source: openapi: ../openapi.yml + inline: true TestTransformationRequestRequestBody: discriminated: false docs: Body of the request @@ -22039,11 +22326,13 @@ docs: A source represents any third party that sends webhooks to Hookdeck. - string source: openapi: ../openapi.yml + inline: true TestTransformationRequestRequestParsedQuery: docs: JSON representation of the query params properties: {} source: openapi: ../openapi.yml + inline: true TestTransformationRequestRequest: docs: Request input to use for the transformation execution properties: @@ -22064,6 +22353,7 @@ docs: A source represents any third party that sends webhooks to Hookdeck. docs: JSON representation of the query params source: openapi: ../openapi.yml + inline: true GetTransformationExecutionsRequestLogLevel: enum: - debug diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/humanloop.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/humanloop.json index a4ff169db3c..3776a029cf4 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/humanloop.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/humanloop.json @@ -658,6 +658,7 @@ "types": { "AgentConfigResponse": { "docs": undefined, + "inline": undefined, "properties": { "agent_class": { "docs": "Class of the agent.", @@ -703,6 +704,7 @@ "BooleanEvaluatorVersionStats": { "docs": "Base attributes for stats for an Evaluator Version-Evaluated Version pair in the Evaluation Report.", + "inline": undefined, "properties": { "evaluator_version_id": { "docs": "Unique identifier for the Evaluator Version.", @@ -739,6 +741,7 @@ in the Evaluation Report.", }, "CategoricalFeedbackLabel": { "docs": undefined, + "inline": undefined, "properties": { "sentiment": { "docs": "Whether the feedback sentiment is positive or negative.", @@ -756,6 +759,7 @@ in the Evaluation Report.", }, "ChatMessage": { "docs": undefined, + "inline": undefined, "properties": { "content": { "docs": "The content of the message.", @@ -802,6 +806,7 @@ in the Evaluation Report.", }, "ChatMessageWithToolCall": { "docs": undefined, + "inline": undefined, "properties": { "content": { "docs": "The content of the message.", @@ -818,7 +823,6 @@ in the Evaluation Report.", "tool_call": { "availability": "deprecated", "docs": "NB: Deprecated in favour of tool_calls. A tool call requested by the assistant.", - "inline": undefined, "type": "optional", }, "tool_call_id": { @@ -866,6 +870,7 @@ in the Evaluation Report.", }, "CodeEvaluatorRequest": { "docs": undefined, + "inline": undefined, "properties": { "arguments_type": { "docs": "Whether this evaluator is target-free or target-required.", @@ -886,6 +891,7 @@ in the Evaluation Report.", }, "CommitRequest": { "docs": undefined, + "inline": undefined, "properties": { "commit_message": { "docs": "Message describing the changes made.", @@ -927,6 +933,7 @@ in the Evaluation Report.", "discriminated": false, "docs": "The content of the message.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -937,6 +944,7 @@ in the Evaluation Report.", }, "CreateDatapointRequest": { "docs": undefined, + "inline": undefined, "properties": { "inputs": { "docs": "The inputs to the prompt template.", @@ -959,6 +967,7 @@ in the Evaluation Report.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -977,6 +986,7 @@ in the Evaluation Report.", Evaluation benchmark your Prompt/Tool Versions. With the Datapoints in a Dataset Version, Logs corresponding to the Datapoint and each Evaluated Version are evaluated by the specified Evaluator Versions. Aggregated statistics are then calculated and presented in the Evaluation.", + "inline": undefined, "properties": { "dataset": { "docs": "The Dataset Version to use in this Evaluation.", @@ -997,6 +1007,7 @@ Aggregated statistics are then calculated and presented in the Evaluation.", }, "CreatePromptLogResponse": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "String ID of log.", @@ -1021,6 +1032,7 @@ Aggregated statistics are then calculated and presented in the Evaluation.", }, "CreateToolLogResponse": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "String ID of log.", @@ -1045,6 +1057,7 @@ Aggregated statistics are then calculated and presented in the Evaluation.", }, "DashboardConfiguration": { "docs": undefined, + "inline": undefined, "properties": { "model_config_ids": { "type": "list", @@ -1060,6 +1073,7 @@ Aggregated statistics are then calculated and presented in the Evaluation.", }, "DatapointResponse": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "Unique identifier for the Datapoint. Starts with `dp_`.", @@ -1086,6 +1100,7 @@ Aggregated statistics are then calculated and presented in the Evaluation.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1100,6 +1115,7 @@ Aggregated statistics are then calculated and presented in the Evaluation.", }, "DatasetRequest": { "docs": undefined, + "inline": undefined, "properties": { "version_id": { "docs": "Unique identifier for the Dataset Version to use in this evaluation. Starts with `dsv_`.", @@ -1115,6 +1131,7 @@ Aggregated statistics are then calculated and presented in the Evaluation.", Attributes defined here are common to all File Responses and should be overridden in the inheriting classes with documentation and appropriate Field definitions.", + "inline": undefined, "properties": { "commit_message": { "docs": "Message describing the changes made. If provided, a committed version of the Dataset is created. Otherwise, an uncommitted version is created.", @@ -1168,6 +1185,7 @@ in the inheriting classes with documentation and appropriate Field definitions." }, "EnvironmentResponse": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "type": "datetime", @@ -1196,6 +1214,7 @@ in the inheriting classes with documentation and appropriate Field definitions." "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -1210,6 +1229,7 @@ in the inheriting classes with documentation and appropriate Field definitions." }, "EvaluateeRequest": { "docs": undefined, + "inline": undefined, "properties": { "batch_id": { "docs": "Unique identifier for the batch of Logs to include in the Evaluation Report.", @@ -1231,6 +1251,7 @@ in the inheriting classes with documentation and appropriate Field definitions." }, "EvaluateeResponse": { "docs": undefined, + "inline": undefined, "properties": { "batch_id": { "docs": "Unique identifier for the batch of Logs to include in the Evaluation Report. ", @@ -1252,6 +1273,7 @@ in the inheriting classes with documentation and appropriate Field definitions." "docs": "This is similar to an `EvaluationResult` but is ephemeral as it is only for synchronous debug runs. It does not have an ID, or a reference to an evaluation run or even an evaluation function.", + "inline": undefined, "properties": { "datapoint_id": { "type": "optional", @@ -1276,6 +1298,7 @@ function.", }, "EvaluationEvaluatorResponse": { "docs": undefined, + "inline": undefined, "properties": { "orchestrated": { "docs": "Whether the Evaluator is orchestrated by Humanloop. Default is `True`. If `False`, a log for the Evaluator should be submitted by the user via the API.", @@ -1291,6 +1314,7 @@ function.", }, "EvaluationResponse": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "type": "datetime", @@ -1334,6 +1358,7 @@ function.", }, "EvaluationResultResponse": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "type": "datetime", @@ -1373,6 +1398,7 @@ function.", }, "EvaluationStats": { "docs": undefined, + "inline": undefined, "properties": { "overall_stats": { "docs": "Stats for the Evaluation Report as a whole.", @@ -1402,6 +1428,7 @@ function.", }, "EvaluatorActivationDeactivationRequest": { "docs": undefined, + "inline": undefined, "properties": { "evaluators_to_activate": { "docs": "Monitoring Evaluators to activate. These will be automatically run on new Logs.", @@ -1420,6 +1447,7 @@ function.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1436,6 +1464,7 @@ function.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1460,6 +1489,7 @@ function.", }, "EvaluatorConfigResponse": { "docs": undefined, + "inline": undefined, "properties": { "arguments_type": { "docs": "Whether this evaluator is target-free or target-required.", @@ -1512,6 +1542,7 @@ function.", }, "EvaluatorRequest": { "docs": undefined, + "inline": undefined, "properties": { "orchestrated": { "default": true, @@ -1529,6 +1560,7 @@ function.", }, "EvaluatorResponse": { "docs": "Request model for creating a new Evaluator", + "inline": undefined, "properties": { "commit_message": { "docs": "Message describing the changes made.", @@ -1626,6 +1658,7 @@ function.", }, "FeedbackResponse": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "User defined timestamp for when the feedback was created. ", @@ -1662,6 +1695,7 @@ function.", "discriminated": false, "docs": "The type of feedback. The default feedback types available are 'rating', 'action', 'issue', 'correction', and 'comment'.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1676,6 +1710,7 @@ function.", "discriminated": false, "docs": "The feedback value to set. This would be the appropriate text for 'correction' or 'comment', or a label to apply for 'rating', 'action', or 'issue'.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1699,6 +1734,7 @@ function.", }, "FeedbackTypeModel": { "docs": undefined, + "inline": undefined, "properties": { "type": { "display-name": "Feedback type", @@ -1718,6 +1754,7 @@ function.", "discriminated": false, "docs": "The type of feedback. The default feedback types available are 'rating', 'action', 'issue', 'correction', and 'comment'.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1735,6 +1772,7 @@ function.", "discriminated": false, "docs": "The File that the deployed Version belongs to.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1755,6 +1793,7 @@ function.", }, "FunctionTool": { "docs": "A function tool to be called by the model where user owns runtime.", + "inline": undefined, "properties": { "arguments": { "type": "optional", @@ -1767,6 +1806,7 @@ function.", }, "FunctionToolChoice": { "docs": "A function tool to be called by the model where user owns runtime.", + "inline": undefined, "properties": { "name": "string", }, @@ -1776,6 +1816,7 @@ function.", }, "GenericConfigResponse": { "docs": undefined, + "inline": undefined, "properties": { "created_by": { "docs": "The user who created the config.", @@ -1808,6 +1849,7 @@ function.", }, "HTTPValidationError": { "docs": undefined, + "inline": undefined, "properties": { "detail": { "type": "optional>", @@ -1819,6 +1861,7 @@ function.", }, "HumanEvaluatorRequest": { "docs": undefined, + "inline": undefined, "properties": { "arguments_type": { "docs": "Whether this evaluator is target-free or target-required.", @@ -1835,6 +1878,7 @@ function.", }, "ImageChatContent": { "docs": undefined, + "inline": undefined, "properties": { "image_url": { "docs": "The message's image content.", @@ -1847,6 +1891,7 @@ function.", }, "ImageUrl": { "docs": undefined, + "inline": undefined, "properties": { "detail": { "docs": "Specify the detail level of the image provided to the model. For more details see: https://platform.openai.com/docs/guides/vision/low-or-high-fidelity-image-understanding", @@ -1874,6 +1919,7 @@ function.", }, "InputResponse": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "Type of input.", @@ -1888,6 +1934,7 @@ function.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1898,6 +1945,7 @@ function.", }, "LLMEvaluatorRequest": { "docs": undefined, + "inline": undefined, "properties": { "arguments_type": { "docs": "Whether this evaluator is target-free or target-required.", @@ -1932,6 +1980,7 @@ Used by a File's PAPV (Positive Action Per View) metric.", }, "LinkedToolRequest": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "The description of the linked tool.", @@ -1960,6 +2009,7 @@ Used by a File's PAPV (Positive Action Per View) metric.", }, "LinkedToolResponse": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "Description of the tool referenced by the model", @@ -1988,6 +2038,7 @@ Used by a File's PAPV (Positive Action Per View) metric.", }, "ListDatasets": { "docs": undefined, + "inline": undefined, "properties": { "records": { "docs": "The list of Datasets.", @@ -2000,6 +2051,7 @@ Used by a File's PAPV (Positive Action Per View) metric.", }, "ListEvaluators": { "docs": undefined, + "inline": undefined, "properties": { "records": { "docs": "The list of Evaluators.", @@ -2012,6 +2064,7 @@ Used by a File's PAPV (Positive Action Per View) metric.", }, "ListPrompts": { "docs": undefined, + "inline": undefined, "properties": { "records": { "docs": "The list of Prompts.", @@ -2024,6 +2077,7 @@ Used by a File's PAPV (Positive Action Per View) metric.", }, "ListTools": { "docs": undefined, + "inline": undefined, "properties": { "records": { "docs": "The list of Tools.", @@ -2036,6 +2090,7 @@ Used by a File's PAPV (Positive Action Per View) metric.", }, "LogResponse": { "docs": "Request model for logging a datapoint.", + "inline": undefined, "properties": { "batch_ids": { "docs": "List of batch IDs the log belongs to.", @@ -2211,6 +2266,7 @@ Used by a File's PAPV (Positive Action Per View) metric.", "discriminated": false, "docs": "Controls how the model uses tools. The following options are supported: 'none' forces the model to not call a tool; the default when no tools are provided as part of the model config. 'auto' the model can decide to call one of the provided tools; the default when tools are provided as part of the model config. Providing {'type': 'function', 'function': {name': }} forces the model to use the named function.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -2225,6 +2281,7 @@ Used by a File's PAPV (Positive Action Per View) metric.", }, "MetricValueResponse": { "docs": undefined, + "inline": undefined, "properties": { "metric_id": "string", "metric_name": "string", @@ -2236,6 +2293,7 @@ Used by a File's PAPV (Positive Action Per View) metric.", }, "ModelConfigRequest": { "docs": "Model config used for logging both chat and completion.", + "inline": undefined, "properties": { "chat_template": { "docs": "Messages prepended to the list of messages sent to the provider. These messages that will take your specified inputs to form your final request to the provider model. Input variables within the template should be specified with syntax: {{INPUT_NAME}}.", @@ -2322,6 +2380,7 @@ Used by a File's PAPV (Positive Action Per View) metric.", "discriminated": false, "docs": "The string (or list of strings) after which the model will stop generating. The returned text will not contain the stop sequence.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -2334,6 +2393,7 @@ Used by a File's PAPV (Positive Action Per View) metric.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -2350,6 +2410,7 @@ Used by a File's PAPV (Positive Action Per View) metric.", "docs": "Model config request. Contains fields that are common to all (i.e. both chat and complete) endpoints.", + "inline": undefined, "properties": { "chat_template": { "docs": "Messages prepended to the list of messages sent to the provider. These messages that will take your specified inputs to form your final request to the provider model. NB: Input variables within the template should be specified with syntax: {{INPUT_NAME}}.", @@ -2422,7 +2483,6 @@ Contains fields that are common to all (i.e. both chat and complete) endpoints." "tool_configs": { "availability": "deprecated", "docs": "NB: Deprecated with tools field. Definition of tools shown to the model.", - "inline": undefined, "type": "optional>", }, "tools": { @@ -2443,6 +2503,7 @@ Contains fields that are common to all (i.e. both chat and complete) endpoints." "discriminated": false, "docs": "The string (or list of strings) after which the model will stop generating. The returned text will not contain the stop sequence.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -2456,6 +2517,7 @@ Contains fields that are common to all (i.e. both chat and complete) endpoints." The subset of ToolConfig parameters received by the chat endpoint. Does not have things like the signature or setup schema.", + "inline": undefined, "properties": { "description": { "docs": "The description of the tool shown to the model.", @@ -2521,6 +2583,7 @@ Does not have things like the signature or setup schema.", }, "MonitoringEvaluatorEnvironmentRequest": { "docs": undefined, + "inline": undefined, "properties": { "environment_id": { "docs": "Unique identifier for the Environment. The Evaluator Version deployed to this Environment will be used for monitoring.", @@ -2537,6 +2600,7 @@ Does not have things like the signature or setup schema.", }, "MonitoringEvaluatorResponse": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "type": "datetime", @@ -2573,6 +2637,7 @@ Does not have things like the signature or setup schema.", }, "MonitoringEvaluatorVersionRequest": { "docs": undefined, + "inline": undefined, "properties": { "evaluator_version_id": { "docs": "Unique identifier for the Evaluator Version to be used for monitoring.", @@ -2586,6 +2651,7 @@ Does not have things like the signature or setup schema.", "NumericEvaluatorVersionStats": { "docs": "Base attributes for stats for an Evaluator Version-Evaluated Version pair in the Evaluation Report.", + "inline": undefined, "properties": { "evaluator_version_id": { "docs": "Unique identifier for the Evaluator Version.", @@ -2637,6 +2703,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "OverallStats": { "docs": undefined, + "inline": undefined, "properties": { "num_datapoints": { "docs": "The total number of Datapoints in the Evaluation Report's Dataset Version.", @@ -2657,6 +2724,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "PaginatedDataDatapointResponse": { "docs": undefined, + "inline": undefined, "properties": { "page": "integer", "records": { @@ -2671,6 +2739,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "PaginatedDataDatasetResponse": { "docs": undefined, + "inline": undefined, "properties": { "page": "integer", "records": { @@ -2685,6 +2754,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "PaginatedDataEvaluationResponse": { "docs": undefined, + "inline": undefined, "properties": { "page": "integer", "records": { @@ -2699,6 +2769,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "PaginatedDataPromptLogResponse": { "docs": undefined, + "inline": undefined, "properties": { "page": "integer", "records": { @@ -2713,6 +2784,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "PaginatedDataSessionResponse": { "docs": undefined, + "inline": undefined, "properties": { "page": "integer", "records": { @@ -2749,6 +2821,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "PromptCallLogResponse": { "docs": "Sample specific response details for a Prompt call", + "inline": undefined, "properties": { "created_at": { "docs": "User defined timestamp for when the log was created. ", @@ -2805,6 +2878,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "PromptCallResponse": { "docs": "Response model for a Prompt call with potentially multiple log samples.", + "inline": undefined, "properties": { "batches": { "docs": "Array of Batch Ids that this log is part of. Batches are used to group Logs together for offline Evaluations", @@ -2884,6 +2958,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", - `'required'` means the model can decide to call one or more of the provided tools. - `{'type': 'function', 'function': {name': }}` forces the model to use the named function.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -2898,6 +2973,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "PromptCallStreamResponse": { "docs": "Response model for calling Prompt in streaming mode.", + "inline": undefined, "properties": { "created_at": { "docs": "User defined timestamp for when the log was created. ", @@ -2966,6 +3042,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "PromptKernelRequest": { "docs": undefined, + "inline": undefined, "properties": { "endpoint": { "docs": "The provider model endpoint used.", @@ -3041,6 +3118,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", "discriminated": false, "docs": "The string (or list of strings) after which the model will stop generating. The returned text will not contain the stop sequence.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3051,6 +3129,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "PromptLogResponse": { "docs": "Request for creating a Prompt log.", + "inline": undefined, "properties": { "batches": { "docs": "Array of Batch Ids that this log is part of. Batches are used to group Logs together for offline Evaluations", @@ -3178,6 +3257,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", - `'required'` means the model can decide to call one or more of the provided tools. - `{'type': 'function', 'function': {name': }}` forces the model to use the named function.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3192,6 +3272,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "PromptResponse": { "docs": "Request model for creating a new Prompt", + "inline": undefined, "properties": { "commit_message": { "docs": "Message describing the changes made.", @@ -3320,6 +3401,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", "discriminated": false, "docs": "The string (or list of strings) after which the model will stop generating. The returned text will not contain the stop sequence.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3330,6 +3412,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "ProviderApiKeys": { "docs": undefined, + "inline": undefined, "properties": { "ai21": { "type": "optional", @@ -3359,6 +3442,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "ResponseFormat": { "docs": "Response format of the model.", + "inline": undefined, "properties": { "type": { "type": "literal<"json_object">", @@ -3370,6 +3454,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "SessionResponse": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "type": "datetime", @@ -3425,6 +3510,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", "discriminated": false, "docs": "For chat endpoint, provide a Chat template. For completion endpoint, provide a Prompt template. Input variables within the template should be specified with double curly bracket syntax: {{INPUT_NAME}}.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3435,6 +3521,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "TextChatContent": { "docs": undefined, + "inline": undefined, "properties": { "text": { "docs": "The message's text content.", @@ -3458,6 +3545,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "ToolCall": { "docs": "A tool call to be made.", + "inline": undefined, "properties": { "function": { "type": "FunctionTool", @@ -3473,6 +3561,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "ToolChoice": { "docs": "Tool choice to force the model to use a tool.", + "inline": undefined, "properties": { "function": { "type": "FunctionToolChoice", @@ -3490,6 +3579,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", The subset of ToolConfig parameters received by the chat endpoint. Does not have things like the signature or setup schema.", + "inline": undefined, "properties": { "description": { "docs": "The description of the tool shown to the model.", @@ -3529,6 +3619,7 @@ Does not have things like the signature or setup schema.", }, "ToolConfigResponse": { "docs": undefined, + "inline": undefined, "properties": { "created_by": { "docs": "The user who created the config.", @@ -3589,6 +3680,7 @@ Does not have things like the signature or setup schema.", }, "ToolFunction": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "Description of the tool referenced by the model", @@ -3609,6 +3701,7 @@ Does not have things like the signature or setup schema.", }, "ToolKernelRequest": { "docs": undefined, + "inline": undefined, "properties": { "function": { "docs": "Callable function specification of the Tool shown to the model for tool calling.", @@ -3629,6 +3722,7 @@ Does not have things like the signature or setup schema.", }, "ToolResponse": { "docs": "Request to create a new Tool.", + "inline": undefined, "properties": { "commit_message": { "docs": "Message describing the changes made.", @@ -3710,6 +3804,7 @@ Does not have things like the signature or setup schema.", }, "ToolResultResponse": { "docs": "A result from a tool used to populate the prompt template", + "inline": undefined, "properties": { "id": "string", "name": "string", @@ -3734,6 +3829,7 @@ V4 uses organization and inline. Those are deprecated and will be removed in fav }, "ToolTemplateResponse": { "docs": "Template for a Humanloop runnable tool.", + "inline": undefined, "properties": { "description": { "docs": "Description of the tool referenced by the model", @@ -3787,6 +3883,7 @@ V4 uses organization and inline. Those are deprecated and will be removed in fav }, "UserResponse": { "docs": undefined, + "inline": undefined, "properties": { "email_address": { "docs": "The User's email address.", @@ -3807,6 +3904,7 @@ V4 uses organization and inline. Those are deprecated and will be removed in fav }, "ValidationError": { "docs": undefined, + "inline": undefined, "properties": { "loc": { "type": "list", @@ -3822,6 +3920,7 @@ V4 uses organization and inline. Those are deprecated and will be removed in fav "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3834,6 +3933,7 @@ V4 uses organization and inline. Those are deprecated and will be removed in fav "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3846,6 +3946,7 @@ V4 uses organization and inline. Those are deprecated and will be removed in fav "discriminated": false, "docs": "The specific Version being referenced.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3866,6 +3967,7 @@ V4 uses organization and inline. Those are deprecated and will be removed in fav }, "VersionDeploymentResponse": { "docs": "A variable reference to the Version deployed to an Environment", + "inline": undefined, "properties": { "environment": { "docs": "The Environment that the Version is deployed to.", @@ -3883,6 +3985,7 @@ V4 uses organization and inline. Those are deprecated and will be removed in fav }, "VersionIdResponse": { "docs": "A reference to a specific Version by its ID", + "inline": undefined, "properties": { "version": { "display-name": "Version", @@ -3914,6 +4017,7 @@ V4 uses organization and inline. Those are deprecated and will be removed in fav }, "VersionStats": { "docs": "Stats for an Evaluated Version in the Evaluation Report.", + "inline": undefined, "properties": { "evaluator_version_stats": { "docs": "Stats for each Evaluator Version used to evaluate this Evaluated Version.", @@ -3936,6 +4040,7 @@ V4 uses organization and inline. Those are deprecated and will be removed in fav "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -4381,6 +4486,7 @@ types: - list source: openapi: ../openapi.yml + inline: true ChatMessage: properties: content: @@ -4493,6 +4599,7 @@ types: - list source: openapi: ../openapi.yml + inline: true CreateDatapointRequest: properties: inputs: @@ -4587,6 +4694,7 @@ types: - list source: openapi: ../openapi.yml + inline: true DatapointResponse: properties: inputs: @@ -4729,6 +4837,7 @@ types: - double source: openapi: ../openapi.yml + inline: true EvaluationDebugResultResponse: docs: >- This is similar to an `EvaluationResult` but is ephemeral as it is only @@ -4855,6 +4964,7 @@ types: - type: MonitoringEvaluatorEnvironmentRequest source: openapi: ../openapi.yml + inline: true EvaluatorActivationDeactivationRequestEvaluatorsToDeactivateItem: discriminated: false union: @@ -4862,6 +4972,7 @@ types: - type: MonitoringEvaluatorEnvironmentRequest source: openapi: ../openapi.yml + inline: true EvaluatorActivationDeactivationRequest: properties: evaluators_to_activate: @@ -5018,6 +5129,7 @@ types: - string source: openapi: ../openapi.yml + inline: true FeedbackResponseValue: discriminated: false docs: >- @@ -5029,6 +5141,7 @@ types: - string source: openapi: ../openapi.yml + inline: true FeedbackResponse: properties: type: @@ -5068,6 +5181,7 @@ types: - string source: openapi: ../openapi.yml + inline: true FeedbackTypeModel: properties: type: @@ -5277,6 +5391,7 @@ types: - double source: openapi: ../openapi.yml + inline: true LogResponseToolChoice: discriminated: false docs: >- @@ -5293,6 +5408,7 @@ types: - type: ToolChoice source: openapi: ../openapi.yml + inline: true LogResponse: docs: Request model for logging a datapoint. properties: @@ -5459,6 +5575,7 @@ types: - list source: openapi: ../openapi.yml + inline: true ModelConfigRequestToolsItem: discriminated: false union: @@ -5466,6 +5583,7 @@ types: - type: ModelConfigToolRequest source: openapi: ../openapi.yml + inline: true ModelConfigRequest: docs: Model config used for logging both chat and completion. properties: @@ -5566,6 +5684,7 @@ types: - list source: openapi: ../openapi.yml + inline: true ModelConfigResponse: docs: >- Model config request. @@ -5962,6 +6081,7 @@ types: - type: ToolChoice source: openapi: ../openapi.yml + inline: true PromptCallResponse: docs: Response model for a Prompt call with potentially multiple log samples. properties: @@ -6106,6 +6226,7 @@ types: - list source: openapi: ../openapi.yml + inline: true PromptKernelRequestStop: discriminated: false docs: >- @@ -6116,6 +6237,7 @@ types: - list source: openapi: ../openapi.yml + inline: true PromptKernelRequest: properties: model: @@ -6222,6 +6344,7 @@ types: - type: ToolChoice source: openapi: ../openapi.yml + inline: true PromptLogResponse: docs: Request for creating a Prompt log. properties: @@ -6351,6 +6474,7 @@ types: - list source: openapi: ../openapi.yml + inline: true PromptResponse: docs: Request model for creating a new Prompt properties: @@ -6737,6 +6861,7 @@ types: - integer source: openapi: ../openapi.yml + inline: true ValidationError: properties: loc: @@ -6755,6 +6880,7 @@ types: - type: EvaluatorResponse source: openapi: ../openapi.yml + inline: true VersionDeploymentResponse: docs: A variable reference to the Version deployed to an Environment properties: @@ -6777,6 +6903,7 @@ types: - type: EvaluatorResponse source: openapi: ../openapi.yml + inline: true VersionIdResponse: docs: A reference to a specific Version by its ID properties: @@ -6803,6 +6930,7 @@ types: - type: BooleanEvaluatorVersionStats source: openapi: ../openapi.yml + inline: true VersionStats: docs: Stats for an Evaluated Version in the Evaluation Report. properties: @@ -13803,6 +13931,7 @@ within the Prompt for monitoring purposes.", - `'required'` means the model can decide to call one or more of the provided tools. - `{'type': 'function', 'function': {name': }}` forces the model to use the named function.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -13823,6 +13952,7 @@ within the Prompt for monitoring purposes.", - `'required'` means the model can decide to call one or more of the provided tools. - `{'type': 'function', 'function': {name': }}` forces the model to use the named function.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -13839,6 +13969,7 @@ within the Prompt for monitoring purposes.", "discriminated": false, "docs": "The string (or list of strings) after which the model will stop generating. The returned text will not contain the stop sequence.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -13851,6 +13982,7 @@ within the Prompt for monitoring purposes.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -13867,6 +13999,7 @@ within the Prompt for monitoring purposes.", "discriminated": false, "docs": "For chat endpoint, provide a Chat template. For completion endpoint, provide a Prompt template. Input variables within the template should be specified with double curly bracket syntax: {{INPUT_NAME}}.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -15150,6 +15283,7 @@ types: - list source: openapi: ../openapi.yml + inline: true PromptRequestStop: discriminated: false docs: >- @@ -15160,6 +15294,7 @@ types: - list source: openapi: ../openapi.yml + inline: true PromptLogRequestToolChoice: discriminated: false docs: >- @@ -15184,6 +15319,7 @@ types: - type: root.ToolChoice source: openapi: ../openapi.yml + inline: true PromptCallRequestToolChoice: discriminated: false docs: >- @@ -15208,6 +15344,7 @@ types: - type: root.ToolChoice source: openapi: ../openapi.yml + inline: true PromptsCallResponse: discriminated: false union: diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/hume.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/hume.json index 74ab8cf13fa..85e3504dc4d 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/hume.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/hume.json @@ -261,6 +261,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "BoundingBox": { "docs": "A bounding box around a face.", + "inline": undefined, "properties": { "h": { "docs": "Bounding box height.", @@ -285,6 +286,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "BurstPrediction": { "docs": undefined, + "inline": undefined, "properties": { "descriptions": { "docs": "Modality-specific descriptive features and their scores.", @@ -302,6 +304,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "Completed": { "docs": undefined, + "inline": undefined, "properties": { "created_timestamp_ms": { "docs": "When this job was created (Unix timestamp in milliseconds).", @@ -330,6 +333,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "DescriptionsScore": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "Name of the descriptive feature being expressed.", @@ -355,6 +359,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "EmotionScore": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "Name of the emotion being expressed.", @@ -375,6 +380,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "Error": { "docs": undefined, + "inline": undefined, "properties": { "file": { "docs": "A file path relative to the top level source URL or file.", @@ -391,6 +397,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "Face": { "docs": undefined, + "inline": undefined, "properties": { "descriptions": "optional", "facs": "optional", @@ -432,6 +439,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "FacePrediction": { "docs": undefined, + "inline": undefined, "properties": { "box": "BoundingBox", "descriptions": { @@ -465,6 +473,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "FacemeshPrediction": { "docs": undefined, + "inline": undefined, "properties": { "emotions": { "docs": "A high-dimensional embedding in emotion space.", @@ -477,6 +486,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "FacsScore": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "Name of the FACS 2.0 feature being expressed.", @@ -493,6 +503,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "Failed": { "docs": undefined, + "inline": undefined, "properties": { "created_timestamp_ms": { "docs": "When this job was created (Unix timestamp in milliseconds).", @@ -517,6 +528,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "File": { "docs": undefined, + "inline": undefined, "properties": { "content_type": { "docs": "The content type of the file.", @@ -549,6 +561,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "GroupedPredictionsBurstPrediction": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "An automatically generated label to identify individuals in your media file. Will be `unknown` if you have chosen to disable identification, or if the model is unable to distinguish between individuals.", @@ -562,6 +575,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "GroupedPredictionsFacePrediction": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "An automatically generated label to identify individuals in your media file. Will be `unknown` if you have chosen to disable identification, or if the model is unable to distinguish between individuals.", @@ -575,6 +589,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "GroupedPredictionsFacemeshPrediction": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "An automatically generated label to identify individuals in your media file. Will be `unknown` if you have chosen to disable identification, or if the model is unable to distinguish between individuals.", @@ -588,6 +603,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "GroupedPredictionsLanguagePrediction": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "An automatically generated label to identify individuals in your media file. Will be `unknown` if you have chosen to disable identification, or if the model is unable to distinguish between individuals.", @@ -601,6 +617,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "GroupedPredictionsNerPrediction": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "An automatically generated label to identify individuals in your media file. Will be `unknown` if you have chosen to disable identification, or if the model is unable to distinguish between individuals.", @@ -614,6 +631,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "GroupedPredictionsProsodyPrediction": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "An automatically generated label to identify individuals in your media file. Will be `unknown` if you have chosen to disable identification, or if the model is unable to distinguish between individuals.", @@ -627,6 +645,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "InProgress": { "docs": undefined, + "inline": undefined, "properties": { "created_timestamp_ms": { "docs": "When this job was created (Unix timestamp in milliseconds).", @@ -643,6 +662,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "JobId": { "docs": undefined, + "inline": undefined, "properties": { "job_id": { "docs": "The ID of the started job.", @@ -661,6 +681,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "JobRequest": { "docs": undefined, + "inline": undefined, "properties": { "job_id": { "docs": "The ID associated with this job.", @@ -691,6 +712,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "Language": { "docs": undefined, + "inline": undefined, "properties": { "granularity": "optional", "identify_speakers": { @@ -707,6 +729,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "LanguagePrediction": { "docs": undefined, + "inline": undefined, "properties": { "confidence": { "docs": "Value between `0.0` and `1.0` that indicates our transcription model’s relative confidence in this text.", @@ -743,6 +766,7 @@ Compared to returning one estimate of sentiment, this enables a more nuanced ana }, "Models": { "docs": undefined, + "inline": undefined, "properties": { "burst": "optional", "face": "optional", @@ -757,6 +781,7 @@ Compared to returning one estimate of sentiment, this enables a more nuanced ana }, "ModelsPredictions": { "docs": undefined, + "inline": undefined, "properties": { "burst": "optional", "face": "optional", @@ -771,6 +796,7 @@ Compared to returning one estimate of sentiment, this enables a more nuanced ana }, "Ner": { "docs": undefined, + "inline": undefined, "properties": { "identify_speakers": { "default": false, @@ -784,6 +810,7 @@ Compared to returning one estimate of sentiment, this enables a more nuanced ana }, "NerPrediction": { "docs": undefined, + "inline": undefined, "properties": { "confidence": { "docs": "Value between `0.0` and `1.0` that indicates our transcription model’s relative confidence in this text.", @@ -830,6 +857,7 @@ Compared to returning one estimate of sentiment, this enables a more nuanced ana }, "PositionInterval": { "docs": "Position of a segment of text within a larger document, measured in characters. Uses zero-based indexing. The beginning index is inclusive and the end index is exclusive.", + "inline": undefined, "properties": { "begin": { "docs": "The index of the first character in the text segment, inclusive.", @@ -846,6 +874,7 @@ Compared to returning one estimate of sentiment, this enables a more nuanced ana }, "Prediction": { "docs": undefined, + "inline": undefined, "properties": { "file": { "docs": "A file path relative to the top level source URL or file.", @@ -859,6 +888,7 @@ Compared to returning one estimate of sentiment, this enables a more nuanced ana }, "PredictionsOptionalNullBurstPrediction": { "docs": undefined, + "inline": undefined, "properties": { "grouped_predictions": "list", "metadata": "optional", @@ -869,6 +899,7 @@ Compared to returning one estimate of sentiment, this enables a more nuanced ana }, "PredictionsOptionalNullFacePrediction": { "docs": undefined, + "inline": undefined, "properties": { "grouped_predictions": "list", "metadata": "optional", @@ -879,6 +910,7 @@ Compared to returning one estimate of sentiment, this enables a more nuanced ana }, "PredictionsOptionalNullFacemeshPrediction": { "docs": undefined, + "inline": undefined, "properties": { "grouped_predictions": "list", "metadata": "optional", @@ -889,6 +921,7 @@ Compared to returning one estimate of sentiment, this enables a more nuanced ana }, "PredictionsOptionalTranscriptionMetadataLanguagePrediction": { "docs": undefined, + "inline": undefined, "properties": { "grouped_predictions": "list", "metadata": "optional", @@ -899,6 +932,7 @@ Compared to returning one estimate of sentiment, this enables a more nuanced ana }, "PredictionsOptionalTranscriptionMetadataNerPrediction": { "docs": undefined, + "inline": undefined, "properties": { "grouped_predictions": "list", "metadata": "optional", @@ -909,6 +943,7 @@ Compared to returning one estimate of sentiment, this enables a more nuanced ana }, "PredictionsOptionalTranscriptionMetadataProsodyPrediction": { "docs": undefined, + "inline": undefined, "properties": { "grouped_predictions": "list", "metadata": "optional", @@ -919,6 +954,7 @@ Compared to returning one estimate of sentiment, this enables a more nuanced ana }, "Prosody": { "docs": "NOTE: the `granularity` field is ignored if transcription is not enabled or if the `window` field has been set.", + "inline": undefined, "properties": { "granularity": "optional", "identify_speakers": { @@ -934,6 +970,7 @@ Compared to returning one estimate of sentiment, this enables a more nuanced ana }, "ProsodyPrediction": { "docs": undefined, + "inline": undefined, "properties": { "confidence": { "docs": "Value between `0.0` and `1.0` that indicates our transcription model’s relative confidence in this text.", @@ -959,6 +996,7 @@ Compared to returning one estimate of sentiment, this enables a more nuanced ana }, "Queued": { "docs": undefined, + "inline": undefined, "properties": { "created_timestamp_ms": { "docs": "When this job was created (Unix timestamp in milliseconds).", @@ -971,6 +1009,7 @@ Compared to returning one estimate of sentiment, this enables a more nuanced ana }, "Request": { "docs": undefined, + "inline": undefined, "properties": { "callback_url": { "docs": "If provided, a `POST` request will be made to the URL with the generated predictions on completion or the error message on failure.", @@ -997,6 +1036,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "Results": { "docs": undefined, + "inline": undefined, "properties": { "errors": "list", "predictions": "list", @@ -1007,6 +1047,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "SentimentScore": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "Level of sentiment, ranging from `1` (negative) to `9` (positive)", @@ -1050,6 +1091,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive "extends": [ "File", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yaml", @@ -1057,6 +1099,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "SourceResult": { "docs": undefined, + "inline": undefined, "properties": { "error": { "docs": "An error message.", @@ -1074,6 +1117,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive "extends": [ "Url", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yaml", @@ -1100,6 +1144,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive "extends": [ "Completed", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yaml", @@ -1110,6 +1155,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive "extends": [ "Failed", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yaml", @@ -1120,6 +1166,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive "extends": [ "InProgress", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yaml", @@ -1130,6 +1177,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive "extends": [ "Queued", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yaml", @@ -1148,6 +1196,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "TimeInterval": { "docs": "A time range with a beginning and end, measured in seconds.", + "inline": undefined, "properties": { "begin": { "docs": "Beginning of time range in seconds.", @@ -1164,6 +1213,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "ToxicityScore": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "Category of toxicity.", @@ -1180,6 +1230,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "Transcription": { "docs": undefined, + "inline": undefined, "properties": { "language": "optional", }, @@ -1189,6 +1240,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "TranscriptionMetadata": { "docs": "Transcription metadata for your media file.", + "inline": undefined, "properties": { "confidence": { "docs": "Value between `0.0` and `1.0` indicating our transcription model’s relative confidence in the transcription of your media file.", @@ -1202,6 +1254,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "Url": { "docs": undefined, + "inline": undefined, "properties": { "url": { "docs": "The URL of the source media file.", @@ -1223,6 +1276,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "Window": { "docs": undefined, + "inline": undefined, "properties": { "length": { "default": 4, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/inline-path-parameters.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/inline-path-parameters.json index a47eed7d1b8..8a25286f6d0 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/inline-path-parameters.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/inline-path-parameters.json @@ -82,6 +82,7 @@ "types": { "GetOrganizationUserResponse": { "docs": undefined, + "inline": undefined, "properties": { "results": "optional>", }, @@ -218,6 +219,7 @@ types: }, "SearchResponse": { "docs": undefined, + "inline": undefined, "properties": { "results": "optional>", }, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/inline-schema-reference.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/inline-schema-reference.json index cd447628f4a..9bc1aa13acb 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/inline-schema-reference.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/inline-schema-reference.json @@ -43,6 +43,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -55,6 +56,7 @@ }, "GetExampleResponseMessage": { "docs": undefined, + "inline": true, "properties": { "message": "optional", }, @@ -64,6 +66,7 @@ }, "NotFound": { "docs": undefined, + "inline": true, "properties": { "message": "optional", }, @@ -73,6 +76,7 @@ }, "Schema1": { "docs": undefined, + "inline": undefined, "properties": { "id": "optional", "name": "optional", @@ -83,6 +87,7 @@ }, "Schema2": { "docs": undefined, + "inline": undefined, "properties": { "age": "optional", "email": "optional", @@ -99,11 +104,13 @@ message: optional source: openapi: ../openapi.yml + inline: true GetExampleResponseMessage: properties: message: optional source: openapi: ../openapi.yml + inline: true GetExampleResponse: discriminated: false union: diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/intercom.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/intercom.json index 14f87ce6791..b87a42d8959 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/intercom.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/intercom.json @@ -3943,6 +3943,7 @@ "types": { "ActivityLog": { "docs": "Activities performed by Admins.", + "inline": undefined, "properties": { "activity_description": { "docs": "A sentence or two describing the activity.", @@ -3964,7 +3965,6 @@ }, "performed_by": { "docs": "Details about the Admin involved in the activity.", - "inline": true, "type": "optional", }, }, @@ -4048,6 +4048,7 @@ }, "ActivityLogList": { "docs": "A paginated list of activity logs.", + "inline": undefined, "properties": { "activity_logs": { "docs": "An array of activity logs", @@ -4067,6 +4068,7 @@ }, "ActivityLogMetadata": { "docs": "Additional data provided about Admin activity.", + "inline": undefined, "properties": { "auto_changed": { "docs": "Indicates if the status was changed automatically or manually.", @@ -4111,6 +4113,7 @@ }, "ActivityLogPerformedBy": { "docs": "Details about the Admin involved in the activity.", + "inline": true, "properties": { "email": { "docs": "The email of the admin.", @@ -4135,6 +4138,7 @@ }, "AddressableList": { "docs": "A list used to access other resources from a parent model.", + "inline": undefined, "properties": { "id": { "docs": "The id of the addressable object", @@ -4167,6 +4171,7 @@ }, "Admin": { "docs": "Admins are the teammate accounts that have access to a workspace", + "inline": undefined, "properties": { "app": { "docs": "App that the admin belongs to.", @@ -4174,7 +4179,6 @@ }, "avatar": { "docs": "This object represents the avatar associated with the admin.", - "inline": true, "type": "optional", }, "away_mode_enabled": { @@ -4224,6 +4228,7 @@ }, "AdminPriorityLevel": { "docs": "Admin priority levels for the team", + "inline": undefined, "properties": { "primary_admin_ids": { "docs": "The primary admin ids for the team", @@ -4240,6 +4245,7 @@ }, "AdminReplyConversationRequest": { "docs": "Payload of the request to reply on behalf of an admin", + "inline": undefined, "properties": { "admin_id": { "docs": "The id of the admin who is authoring the comment.", @@ -4279,6 +4285,7 @@ }, "AdminReplyTicketRequest": { "docs": "Payload of the request to reply on behalf of an admin", + "inline": undefined, "properties": { "admin_id": { "docs": "The id of the admin who is authoring the comment.", @@ -4319,6 +4326,7 @@ }, "AdminReplyTicketRequestReplyOptionsItem": { "docs": undefined, + "inline": true, "properties": { "text": { "docs": "The text to display in this quick reply option.", @@ -4341,6 +4349,7 @@ }, "AdminWithAppAvatar": { "docs": "This object represents the avatar associated with the admin.", + "inline": true, "properties": { "image_url": { "docs": "This object represents the avatar associated with the admin.", @@ -4364,6 +4373,7 @@ }, "Admins": { "docs": "A list of admins associated with a given workspace.", + "inline": undefined, "properties": { "admins": { "docs": "A list of admins associated with a given workspace.", @@ -4380,6 +4390,7 @@ }, "App": { "docs": "App is a workspace on Intercom", + "inline": undefined, "properties": { "created_at": { "docs": "When the app was created.", @@ -4417,6 +4428,7 @@ }, "ArticleContent": { "docs": "The Content of an Article.", + "inline": undefined, "properties": { "author_id": { "docs": "The ID of the author of the article.", @@ -4471,6 +4483,7 @@ }, "ArticleStatistics": { "docs": "The statistics of an article.", + "inline": undefined, "properties": { "conversions": { "docs": "The number of conversations started from the article.", @@ -4507,6 +4520,7 @@ }, "ArticleTranslatedContent": { "docs": "The Translated Content of an Article. The keys are the locale codes and the values are the translated content of the article.", + "inline": undefined, "properties": { "ar": { "docs": "The content of the article in Arabic", @@ -4667,6 +4681,7 @@ }, "Articles": { "docs": "This will return a list of articles for the App.", + "inline": undefined, "properties": { "data": { "docs": "An array of Article objects", @@ -4690,6 +4705,7 @@ }, "AssignConversationRequest": { "docs": "Payload of the request to assign a conversation", + "inline": undefined, "properties": { "admin_id": { "docs": "The id of the admin who is performing the action.", @@ -4720,6 +4736,7 @@ }, "CloseConversationRequest": { "docs": "Payload of the request to close a conversation", + "inline": undefined, "properties": { "admin_id": { "docs": "The id of the admin who is performing the action.", @@ -4737,6 +4754,7 @@ }, "Collections": { "docs": "This will return a list of Collections for the App.", + "inline": undefined, "properties": { "data": { "docs": "An array of collection objects", @@ -4760,6 +4778,7 @@ }, "Companies": { "docs": "This will return a list of companies for the App.", + "inline": undefined, "properties": { "data": { "docs": "An array containing Company Objects.", @@ -4783,6 +4802,7 @@ }, "CompanyAttachedContacts": { "docs": "A list of Contact Objects", + "inline": undefined, "properties": { "data": { "docs": "An array containing Contact Objects", @@ -4806,6 +4826,7 @@ }, "CompanyAttachedSegments": { "docs": "A list of Segment Objects", + "inline": undefined, "properties": { "data": { "docs": "An array containing Segment Objects", @@ -4822,6 +4843,7 @@ }, "CompanyScroll": { "docs": "Companies allow you to represent organizations using your product. Each company will have its own description and be associated with contacts. You can fetch, create, update and list companies.", + "inline": undefined, "properties": { "data": { "type": "optional>", @@ -4848,6 +4870,7 @@ }, "ContactArchived": { "docs": "archived contact object", + "inline": undefined, "properties": { "archived": { "docs": "Whether the contact is archived or not.", @@ -4872,6 +4895,7 @@ }, "ContactAttachedCompanies": { "docs": "A list of Company Objects", + "inline": undefined, "properties": { "companies": { "docs": "An array containing Company Objects", @@ -4895,6 +4919,7 @@ }, "ContactCompanies": { "docs": "An object containing companies meta data about the companies that a contact has. Up to 10 will be displayed here. Use the url to get more.", + "inline": undefined, "properties": { "has_more": { "docs": "Whether there's more Addressable Objects to be viewed. If true, use the url to view all", @@ -4921,6 +4946,7 @@ }, "ContactDeleted": { "docs": "deleted contact object", + "inline": undefined, "properties": { "deleted": { "docs": "Whether the contact is deleted or not.", @@ -4945,6 +4971,7 @@ }, "ContactList": { "docs": "Contacts are your users in Intercom.", + "inline": undefined, "properties": { "data": { "docs": "The list of contact objects", @@ -4968,6 +4995,7 @@ }, "ContactLocation": { "docs": "An object containing location meta data about a Intercom contact.", + "inline": undefined, "properties": { "city": { "docs": "The city that the contact is located in", @@ -4992,6 +5020,7 @@ }, "ContactNotes": { "docs": "An object containing notes meta data about the notes that a contact has. Up to 10 will be displayed here. Use the url to get more.", + "inline": undefined, "properties": { "data": { "docs": "This object represents the notes attached to a contact.", @@ -5022,6 +5051,7 @@ }, "ContactReference": { "docs": "reference to contact object", + "inline": undefined, "properties": { "external_id": { "docs": "The unique identifier for the contact which is provided by the Client.", @@ -5042,6 +5072,7 @@ }, "ContactReplyBaseRequest": { "docs": undefined, + "inline": undefined, "properties": { "attachment_urls": { "docs": "A list of image URLs that will be added as attachments. You can include up to 10 URLs.", @@ -5066,6 +5097,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -5086,6 +5118,7 @@ "extends": [ "ContactReplyBaseRequest", ], + "inline": undefined, "properties": { "attachment_files": { "docs": "A list of files that will be added as attachments.", @@ -5105,6 +5138,7 @@ "extends": [ "ContactReplyBaseRequest", ], + "inline": undefined, "properties": { "intercom_user_id": { "docs": "The identifier for the contact as given by Intercom.", @@ -5119,6 +5153,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -5139,6 +5174,7 @@ "extends": [ "ContactReplyBaseRequest", ], + "inline": undefined, "properties": { "user_id": { "docs": "The external_id you have defined for the contact.", @@ -5154,6 +5190,7 @@ "extends": [ "ContactReplyBaseRequest", ], + "inline": undefined, "properties": { "attachment_files": { "docs": "A list of files that will be added as attachments. You can include up to 10 files.", @@ -5170,6 +5207,7 @@ }, "ContactSocialProfiles": { "docs": "An object containing social profiles that a contact has.", + "inline": undefined, "properties": { "data": { "docs": "A list of social profiles objects associated with the contact.", @@ -5182,6 +5220,7 @@ }, "ContactSubscriptionTypes": { "docs": "An object containing Subscription Types meta data about the SubscriptionTypes that a contact has.", + "inline": undefined, "properties": { "data": { "docs": "This object represents the subscriptions attached to a contact.", @@ -5212,6 +5251,7 @@ }, "ContactTags": { "docs": "An object containing tags meta data about the tags that a contact has. Up to 10 will be displayed here. Use the url to get more.", + "inline": undefined, "properties": { "data": { "docs": "This object represents the tags attached to a contact.", @@ -5242,6 +5282,7 @@ }, "ContactUnarchived": { "docs": "unarchived contact object", + "inline": undefined, "properties": { "archived": { "docs": "Whether the contact is archived or not.", @@ -5266,6 +5307,7 @@ }, "Contacts": { "docs": "The list of contacts (users or leads) involved in this conversation. This will only contain one customer unless more were added via the group conversation feature.", + "inline": undefined, "properties": { "contacts": { "docs": "The list of contacts (users or leads) involved in this conversation. This will only contain one customer unless more were added via the group conversation feature.", @@ -5282,6 +5324,7 @@ }, "ContentSourcesList": { "docs": undefined, + "inline": undefined, "properties": { "content_sources": { "docs": "The content sources used by AI Agent in the conversation.", @@ -5301,6 +5344,7 @@ }, "ConversationAttachmentFiles": { "docs": "Properties of the attachment files in a conversation part", + "inline": undefined, "properties": { "content_type": { "docs": "The content type of the file", @@ -5321,6 +5365,7 @@ }, "ConversationFirstContactReply": { "docs": "An object containing information on the first users message. For a contact initiated message this will represent the users original message.", + "inline": undefined, "properties": { "created_at": { "docs": "", @@ -5341,6 +5386,7 @@ }, "ConversationList": { "docs": "Conversations are how you can communicate with users in Intercom. They are created when a contact replies to an outbound message, or when one admin directly sends a message to a single contact.", + "inline": undefined, "properties": { "conversations": { "docs": "The list of conversation objects", @@ -5364,6 +5410,7 @@ }, "ConversationPart": { "docs": "A Conversation Part represents a message in the conversation.", + "inline": undefined, "properties": { "assigned_to": { "docs": "The id of the admin that was assigned the conversation by this conversation_part (null if there has been no change in assignment.)", @@ -5419,6 +5466,7 @@ }, "ConversationPartAuthor": { "docs": "The object who initiated the conversation, which can be a Contact, Admin or Team. Bots and campaigns send messages on behalf of Admins or Teams. For Twitter, this will be blank.", + "inline": undefined, "properties": { "email": { "docs": "The email of the author", @@ -5449,6 +5497,7 @@ }, "ConversationParts": { "docs": "A list of Conversation Part objects for each part message in the conversation. This is only returned when Retrieving a Conversation, and ignored when Listing all Conversations. There is a limit of 500 parts.", + "inline": undefined, "properties": { "conversation_parts": { "docs": "A list of Conversation Part objects for each part message in the conversation. This is only returned when Retrieving a Conversation, and ignored when Listing all Conversations. There is a limit of 500 parts.", @@ -5469,6 +5518,7 @@ }, "ConversationRating": { "docs": "The Conversation Rating object which contains information on the rating and/or remark added by a Contact and the Admin assigned to the conversation.", + "inline": undefined, "properties": { "contact": { "type": "optional", @@ -5495,6 +5545,7 @@ }, "ConversationSource": { "docs": "The Conversation Part that originated this conversation, which can be Contact, Admin, Campaign, Automated or Operator initiated.", + "inline": undefined, "properties": { "attachments": { "docs": "A list of attachments for the part.", @@ -5538,6 +5589,7 @@ }, "ConversationStatistics": { "docs": "A Statistics object containing all information required for reporting, with timestamps and calculated metrics.", + "inline": undefined, "properties": { "count_assignments": { "docs": "Number of assignments after first_contact_reply_at.", @@ -5622,6 +5674,7 @@ }, "ConversationTeammates": { "docs": "The list of teammates who participated in the conversation (wrote at least one conversation part).", + "inline": undefined, "properties": { "teammates": { "docs": "The list of teammates who participated in the conversation (wrote at least one conversation part).", @@ -5638,6 +5691,7 @@ }, "CreateArticleRequest": { "docs": "You can create an Article", + "inline": undefined, "properties": { "author_id": { "docs": "The id of the author of the article. For multilingual articles, this will be the id of the author of the default language's content. Must be a teammate on the help center's workspace.", @@ -5690,6 +5744,7 @@ "CreateMessageRequestOne": "unknown", "CreateOrUpdateCompanyRequest": { "docs": "You can create or update a Company", + "inline": undefined, "properties": { "company_id": { "docs": "The company id you have defined for the company. Can't be updated", @@ -5734,6 +5789,7 @@ }, "CreateOrUpdateTagRequest": { "docs": "You can create or update an existing tag.", + "inline": undefined, "properties": { "id": { "docs": "The id of tag to updates.", @@ -5750,6 +5806,7 @@ }, "CreatePhoneSwitchRequest": { "docs": "You can create an phone switch", + "inline": undefined, "properties": { "custom_attributes": { "type": "optional", @@ -5767,6 +5824,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -5783,6 +5841,7 @@ "docs": "The request payload for creating a ticket type. You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet](https://twemoji-cheatsheet.vercel.app/) ", + "inline": undefined, "properties": { "category": { "docs": "Category of the Ticket Type.", @@ -5829,6 +5888,7 @@ "docs": "Cursor-based pagination is a technique used in the Intercom API to navigate through large amounts of data. A "cursor" or pointer is used to keep track of the current position in the result set, allowing the API to return the data in small chunks or "pages" as needed. ", + "inline": undefined, "properties": { "next": { "type": "optional", @@ -5862,6 +5922,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -5876,6 +5937,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -5893,6 +5955,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "CustomerRequestIntercomUserId": { "docs": undefined, + "inline": true, "properties": { "intercom_user_id": { "docs": "The identifier for the contact as given by Intercom.", @@ -5905,6 +5968,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "CustomerRequestUserId": { "docs": undefined, + "inline": true, "properties": { "user_id": { "docs": "The external_id you have defined for the contact who is being added as a participant.", @@ -5917,6 +5981,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "DataAttributeList": { "docs": "A list of all data attributes belonging to a workspace for contacts, companies or conversations.", + "inline": undefined, "properties": { "data": { "docs": "A list of data attributes", @@ -5933,6 +5998,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "DataEventList": { "docs": "This will return a list of data events for the App.", + "inline": undefined, "properties": { "events": { "docs": "A list of data events", @@ -5940,7 +6006,6 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "pages": { "docs": "Pagination", - "inline": true, "type": "optional", }, "type": { @@ -5954,6 +6019,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "DataEventListPages": { "docs": "Pagination", + "inline": true, "properties": { "next": "optional", "since": "optional", @@ -5964,6 +6030,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "DataEventSummary": { "docs": "This will return a summary of data events for the App.", + "inline": undefined, "properties": { "email": { "docs": "The email address of the user", @@ -5992,6 +6059,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "DataEventSummaryItem": { "docs": "This will return a summary of a data event for the App.", + "inline": undefined, "properties": { "count": { "docs": "The number of times the event was sent", @@ -6020,6 +6088,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "DataExportCsv": { "docs": "A CSV output file", + "inline": undefined, "properties": { "company_id": { "docs": "The company ID of the user in relation to the message that was sent. Will return -1 if no company is present.", @@ -6132,6 +6201,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "DeletedArticleObject": { "docs": "Response returned when an object is deleted", + "inline": undefined, "properties": { "deleted": { "docs": "Whether the article was deleted successfully or not.", @@ -6152,6 +6222,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "DeletedCollectionObject": { "docs": "Response returned when an object is deleted", + "inline": undefined, "properties": { "deleted": { "docs": "Whether the collection was deleted successfully or not.", @@ -6172,6 +6243,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "DeletedCompanyObject": { "docs": "Response returned when an object is deleted", + "inline": undefined, "properties": { "deleted": { "docs": "Whether the company was deleted successfully or not.", @@ -6192,6 +6264,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "DeletedObject": { "docs": "Response returned when an object is deleted", + "inline": undefined, "properties": { "deleted": { "docs": "Whether the news item was deleted successfully or not.", @@ -6212,6 +6285,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "Email": { "docs": undefined, + "inline": true, "properties": { "email": { "docs": "The email you have defined for the contact who is being added as a participant.", @@ -6224,6 +6298,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "Error": { "docs": "The API will return an Error List for a failed request, which will contain one or more Error objects.", + "inline": undefined, "properties": { "errors": { "docs": "An array of one or more error objects", @@ -6250,6 +6325,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "ErrorErrorsItem": { "docs": undefined, + "inline": true, "properties": { "code": { "docs": "A string indicating the kind of error, used to further qualify the HTTP response code", @@ -6270,6 +6346,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "File": { "docs": "The value describing a file upload set for a custom attribute", + "inline": undefined, "properties": { "content_type": { "docs": "The type of file", @@ -6305,6 +6382,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "GroupContent": { "docs": "The Content of a Group.", + "inline": undefined, "properties": { "description": { "docs": "The description of the collection. Only available for collections.", @@ -6325,6 +6403,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "GroupTranslatedContent": { "docs": "The Translated Content of an Group. The keys are the locale codes and the values are the translated content of the Group.", + "inline": undefined, "properties": { "ar": { "docs": "The content of the group in Arabic", @@ -6563,6 +6642,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "LinkedObject": { "docs": "A linked conversation or ticket.", + "inline": undefined, "properties": { "category": { "docs": "Category of the Linked Ticket Object.", @@ -6583,6 +6663,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "LinkedObjectList": { "docs": "An object containing metadata about linked conversations and linked tickets. Up to 1000 can be returned.", + "inline": undefined, "properties": { "data": { "docs": "An array containing the linked conversations and linked tickets.", @@ -6617,6 +6698,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "MultipleFilterSearchRequest": { "docs": "Search using Intercoms Search APIs with more than one filter.", + "inline": undefined, "properties": { "operator": { "docs": "An operator to allow boolean inspection between multiple fields.", @@ -6644,6 +6726,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -6660,6 +6743,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "NewsItemRequest": { "docs": "A News Item is a content type in Intercom enabling you to announce product updates, company news, promotions, events and more with your customers.", + "inline": undefined, "properties": { "body": { "docs": "The news item body, which may contain HTML.", @@ -6710,6 +6794,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "NoteList": { "docs": "A paginated list of notes associated with a contact.", + "inline": undefined, "properties": { "data": { "docs": "An array of notes.", @@ -6733,6 +6818,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "OpenConversationRequest": { "docs": "Payload of the request to open a conversation", + "inline": undefined, "properties": { "admin_id": { "docs": "The id of the admin who is performing the action.", @@ -6748,6 +6834,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul Their responses are likely to contain a pages object that hosts pagination links which a client can use to paginate through the data without having to construct a query. The link relations for the pages field are as follows. ", + "inline": undefined, "properties": { "next": { "docs": "A link to the next page of results. A response that does not contain a next link does not have further data to fetch.", @@ -6778,6 +6865,7 @@ Their responses are likely to contain a pages object that hosts pagination links }, "PaginatedResponse": { "docs": "Paginated Response", + "inline": undefined, "properties": { "data": { "docs": "An array of Objects", @@ -6832,6 +6920,7 @@ Their responses are likely to contain a pages object that hosts pagination links }, "PartAttachment": { "docs": "The file attached to a part", + "inline": undefined, "properties": { "content_type": { "docs": "The content type of the attachment", @@ -6868,6 +6957,7 @@ Their responses are likely to contain a pages object that hosts pagination links }, "PhoneSwitch": { "docs": "Phone Switch Response", + "inline": undefined, "properties": { "phone": { "docs": "Phone number in E.164 format, that has received the SMS to continue the conversation in the Messenger.", @@ -6904,6 +6994,7 @@ Their responses are likely to contain a pages object that hosts pagination links }, "RedactConversationRequestConversationPart": { "docs": "Payload of the request to redact a conversation part", + "inline": true, "properties": { "conversation_id": { "docs": "The id of the conversation.", @@ -6920,6 +7011,7 @@ Their responses are likely to contain a pages object that hosts pagination links }, "RedactConversationRequestSource": { "docs": "Payload of the request to redact a conversation source", + "inline": true, "properties": { "conversation_id": { "docs": "The id of the conversation.", @@ -6936,6 +7028,7 @@ Their responses are likely to contain a pages object that hosts pagination links }, "Reference": { "docs": "reference to another object", + "inline": undefined, "properties": { "id": { "docs": "", @@ -6954,6 +7047,7 @@ Their responses are likely to contain a pages object that hosts pagination links "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -6968,6 +7062,7 @@ Their responses are likely to contain a pages object that hosts pagination links }, "SearchRequest": { "docs": "Search using Intercoms Search APIs.", + "inline": undefined, "properties": { "pagination": { "type": "optional", @@ -6982,6 +7077,7 @@ Their responses are likely to contain a pages object that hosts pagination links "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -6996,6 +7092,7 @@ Their responses are likely to contain a pages object that hosts pagination links }, "SegmentList": { "docs": "This will return a list of Segment Objects. The result may also have a pages object if the response is paginated.", + "inline": undefined, "properties": { "pages": { "docs": "A pagination object, which may be empty, indicating no further pages to fetch.", @@ -7016,6 +7113,7 @@ Their responses are likely to contain a pages object that hosts pagination links }, "Segments": { "docs": "A list of segments objects attached to a specific contact.", + "inline": undefined, "properties": { "data": { "docs": "Segment objects associated with the contact.", @@ -7032,6 +7130,7 @@ Their responses are likely to contain a pages object that hosts pagination links }, "SingleFilterSearchRequest": { "docs": "Search using Intercoms Search APIs with a single filter.", + "inline": undefined, "properties": { "field": { "docs": "The accepted field that you want to search on.", @@ -7084,6 +7183,7 @@ Their responses are likely to contain a pages object that hosts pagination links "docs": "The SLA Applied object contains the details for which SLA has been applied to this conversation. Important: if there are any canceled sla_events for the conversation - meaning an SLA has been manually removed from a conversation, the sla_status will always be returned as null. ", + "inline": undefined, "properties": { "sla_name": { "docs": "The name of the SLA as given by the teammate when it was created.", @@ -7122,6 +7222,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "SnoozeConversationRequest": { "docs": "Payload of the request to snooze a conversation", + "inline": undefined, "properties": { "admin_id": { "docs": "The id of the admin who is performing the action.", @@ -7138,6 +7239,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "SocialProfile": { "docs": "A Social Profile allows you to label your contacts, companies, and conversations and list them using that Social Profile.", + "inline": undefined, "properties": { "name": { "docs": "The name of the Social media profile", @@ -7164,6 +7266,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "StartingAfterPaging": { "docs": undefined, + "inline": undefined, "properties": { "per_page": { "docs": "The number of results to fetch per page.", @@ -7180,6 +7283,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "SubscriptionTypeList": { "docs": "A list of subscription type objects.", + "inline": undefined, "properties": { "data": { "docs": "A list of subscription type objects associated with the workspace .", @@ -7196,6 +7300,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TagCompanyRequest": { "docs": "You can tag a single company or a list of companies.", + "inline": undefined, "properties": { "companies": { "docs": "The id or company_id of the company can be passed as input parameters.", @@ -7212,6 +7317,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TagCompanyRequestCompaniesItem": { "docs": undefined, + "inline": true, "properties": { "company_id": { "docs": "The company id you have defined for the company.", @@ -7228,6 +7334,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TagMultipleUsersRequest": { "docs": "You can tag a list of users.", + "inline": undefined, "properties": { "name": { "docs": "The name of the tag, which will be created if not found.", @@ -7241,6 +7348,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TagMultipleUsersRequestUsersItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The Intercom defined id representing the user.", @@ -7253,6 +7361,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "Tags": { "docs": "A list of tags objects associated with a conversation", + "inline": undefined, "properties": { "tags": { "docs": "A list of tags objects associated with the conversation.", @@ -7269,6 +7378,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TeamList": { "docs": "This will return a list of team objects for the App.", + "inline": undefined, "properties": { "teams": { "docs": "A list of team objects", @@ -7285,6 +7395,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TeamPriorityLevel": { "docs": "Admin priority levels for teams", + "inline": undefined, "properties": { "primary_team_ids": { "docs": "The primary team ids for the team", @@ -7307,6 +7418,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -7322,6 +7434,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TicketList": { "docs": "Tickets are how you track requests from your users.", + "inline": undefined, "properties": { "pages": { "type": "optional", @@ -7345,6 +7458,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TicketPartAuthor": { "docs": "The author that wrote or triggered the part. Can be a bot, admin, team or user.", + "inline": undefined, "properties": { "email": { "docs": "The email of the author", @@ -7387,6 +7501,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TicketParts": { "docs": "A list of Ticket Part objects for each note and event in the ticket. There is a limit of 500 parts.", + "inline": undefined, "properties": { "ticket_parts": { "docs": "A list of Ticket Part objects for each ticket. There is a limit of 500 parts.", @@ -7407,6 +7522,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TicketReply": { "docs": "A Ticket Part representing a note, comment, or quick_reply on a ticket", + "inline": undefined, "properties": { "attachments": { "docs": "A list of attachments for the part.", @@ -7467,6 +7583,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -7479,6 +7596,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TicketTypeAttribute": { "docs": "Ticket type attribute, used to define each data field to be captured in a ticket.", + "inline": undefined, "properties": { "archived": { "docs": "Whether the ticket type attribute is archived or not.", @@ -7559,6 +7677,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TicketTypeAttributeList": { "docs": "A list of attributes associated with a given ticket type.", + "inline": undefined, "properties": { "ticket_type_attributes": { "docs": "A list of ticket type attributes associated with a given ticket type.", @@ -7575,6 +7694,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TicketTypeList": { "docs": "A list of ticket types associated with a given workspace.", + "inline": undefined, "properties": { "ticket_types": { "docs": "A list of ticket_types associated with a given workspace.", @@ -7591,6 +7711,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "Translation": { "docs": "A translation object contains the localised details of a subscription type.", + "inline": undefined, "properties": { "description": { "docs": "The localised description of the subscription type.", @@ -7611,6 +7732,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "UntagCompanyRequest": { "docs": "You can tag a single company or a list of companies.", + "inline": undefined, "properties": { "companies": { "docs": "The id or company_id of the company can be passed as input parameters.", @@ -7627,6 +7749,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "UntagCompanyRequestCompaniesItem": { "docs": undefined, + "inline": true, "properties": { "company_id": { "docs": "The company id you have defined for the company.", @@ -7647,6 +7770,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "UpdateArticleRequest": { "docs": "You can Update an Article", + "inline": undefined, "properties": { "author_id": { "docs": "The id of the author of the article. For multilingual articles, this will be the id of the author of the default language's content. Must be a teammate on the help center's workspace.", @@ -7698,6 +7822,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a "docs": "The request payload for updating a ticket type. You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet](https://twemoji-cheatsheet.vercel.app/) ", + "inline": undefined, "properties": { "archived": { "docs": "The archived status of the ticket type.", @@ -7747,6 +7872,7 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( "UpdateVisitorRequestOne": "unknown", "Visitor": { "docs": "Visitors are useful for representing anonymous people that have not yet been identified. They usually represent website visitors. Visitors are not visible in Intercom platform. The Visitors resource provides methods to fetch, update, convert and delete.", + "inline": undefined, "properties": { "anonymous": { "docs": "Identifies if this visitor is anonymous.", @@ -7757,11 +7883,9 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( "type": "optional", }, "avatar": { - "inline": true, "type": "optional", }, "companies": { - "inline": true, "type": "optional", }, "created_at": { @@ -7799,7 +7923,6 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( "type": "optional", }, "location_data": { - "inline": true, "type": "optional", }, "marked_email_as_spam": { @@ -7831,7 +7954,6 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( "type": "optional", }, "segments": { - "inline": true, "type": "optional", }, "session_count": { @@ -7843,11 +7965,9 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( "type": "optional", }, "social_profiles": { - "inline": true, "type": "optional", }, "tags": { - "inline": true, "type": "optional", }, "type": { @@ -7894,6 +8014,7 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( }, "VisitorAvatar": { "docs": undefined, + "inline": true, "properties": { "image_url": { "docs": "This object represents the avatar associated with the visitor.", @@ -7917,6 +8038,7 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( }, "VisitorCompanies": { "docs": undefined, + "inline": true, "properties": { "companies": "optional>", "type": { @@ -7930,6 +8052,7 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( }, "VisitorDeletedObject": { "docs": "Response returned when an object is deleted", + "inline": undefined, "properties": { "id": { "docs": "The unique identifier for the visitor which is given by Intercom.", @@ -7950,6 +8073,7 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( }, "VisitorLocationData": { "docs": undefined, + "inline": true, "properties": { "city_name": { "docs": "The city name of the visitor.", @@ -7991,6 +8115,7 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( }, "VisitorSegments": { "docs": undefined, + "inline": true, "properties": { "segments": "optional>", "type": { @@ -8004,6 +8129,7 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( }, "VisitorSocialProfiles": { "docs": undefined, + "inline": true, "properties": { "social_profiles": "optional>", "type": { @@ -8017,6 +8143,7 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( }, "VisitorTags": { "docs": undefined, + "inline": true, "properties": { "tags": "optional>", "type": { @@ -8030,6 +8157,7 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( }, "VisitorTagsTagsItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The id of the tag.", @@ -10299,6 +10427,7 @@ types: docs: The IP address of the admin. source: openapi: ../openapi.yml + inline: true ActivityLogActivityType: enum: - admin_assignment_limit_change @@ -10379,7 +10508,6 @@ types: performed_by: type: optional docs: Details about the Admin involved in the activity. - inline: true metadata: type: optional created_at: @@ -10543,6 +10671,7 @@ types: format: uuid source: openapi: ../openapi.yml + inline: true AdminReplyTicketRequest: docs: Payload of the request to reply on behalf of an admin properties: @@ -10589,6 +10718,7 @@ types: format: uri source: openapi: ../openapi.yml + inline: true Admin: docs: Admins are the teammate accounts that have access to a workspace properties: @@ -10626,7 +10756,6 @@ types: avatar: type: optional docs: This object represents the avatar associated with the admin. - inline: true email_verified: type: optional docs: Identifies if this admin's email is verified. @@ -11173,6 +11302,7 @@ types: participant. source: openapi: ../openapi.yml + inline: true ContactReplyIntercomUserIdRequest: docs: >- Payload of the request to reply on behalf of a contact using their @@ -11855,6 +11985,7 @@ types: docs: The identifier for the contact as given by Intercom. source: openapi: ../openapi.yml + inline: true CustomerRequestUserId: properties: user_id: @@ -11864,6 +11995,7 @@ types: a participant. source: openapi: ../openapi.yml + inline: true CustomerRequest: discriminated: false union: @@ -11892,6 +12024,7 @@ types: since: optional source: openapi: ../openapi.yml + inline: true DataEventList: docs: This will return a list of data events for the App. properties: @@ -11904,7 +12037,6 @@ types: pages: type: optional docs: Pagination - inline: true source: openapi: ../openapi.yml DataEventSummary: @@ -12131,6 +12263,7 @@ types: was in error. source: openapi: ../openapi.yml + inline: true Error: docs: >- The API will return an Error List for a failed request, which will contain @@ -12410,6 +12543,7 @@ types: type: list source: openapi: ../openapi.yml + inline: true MultipleFilterSearchRequest: docs: Search using Intercoms Search APIs with more than one filter. properties: @@ -12604,6 +12738,7 @@ types: docs: The id of the conversation_part. source: openapi: ../openapi.yml + inline: true RedactConversationRequestSource: docs: Payload of the request to redact a conversation source properties: @@ -12615,6 +12750,7 @@ types: docs: The id of the source. source: openapi: ../openapi.yml + inline: true RedactConversationRequest: discriminant: type base-properties: {} @@ -12652,6 +12788,7 @@ types: - type: MultipleFilterSearchRequest source: openapi: ../openapi.yml + inline: true SearchRequest: docs: Search using Intercoms Search APIs. properties: @@ -12810,6 +12947,7 @@ types: docs: The company id you have defined for the company. source: openapi: ../openapi.yml + inline: true TagCompanyRequest: docs: You can tag a single company or a list of companies. properties: @@ -12839,6 +12977,7 @@ types: docs: The Intercom defined id representing the user. source: openapi: ../openapi.yml + inline: true TagMultipleUsersRequest: docs: You can tag a list of users. properties: @@ -13133,6 +13272,7 @@ types: docs: Always set to true source: openapi: ../openapi.yml + inline: true UntagCompanyRequest: docs: You can tag a single company or a list of companies. properties: @@ -13251,6 +13391,7 @@ types: format: uri source: openapi: ../openapi.yml + inline: true VisitorCompanies: properties: type: @@ -13259,6 +13400,7 @@ types: companies: optional> source: openapi: ../openapi.yml + inline: true VisitorLocationData: properties: type: @@ -13288,6 +13430,7 @@ types: docs: The timezone of the visitor. source: openapi: ../openapi.yml + inline: true VisitorSocialProfiles: properties: type: @@ -13296,6 +13439,7 @@ types: social_profiles: optional> source: openapi: ../openapi.yml + inline: true VisitorTagsTagsItem: properties: type: @@ -13309,6 +13453,7 @@ types: docs: The name of the tag. source: openapi: ../openapi.yml + inline: true VisitorTags: properties: type: @@ -13317,6 +13462,7 @@ types: tags: optional> source: openapi: ../openapi.yml + inline: true VisitorSegments: properties: type: @@ -13325,6 +13471,7 @@ types: segments: optional> source: openapi: ../openapi.yml + inline: true Visitor: docs: >- Visitors are useful for representing anonymous people that have not yet @@ -13361,16 +13508,13 @@ types: docs: The pseudonym of the visitor. avatar: type: optional - inline: true app_id: type: optional docs: The id of the app the visitor is associated with. companies: type: optional - inline: true location_data: type: optional - inline: true las_request_at: type: optional docs: The time the Lead last recorded making a request. @@ -13391,7 +13535,6 @@ types: docs: The number of sessions the Visitor has had. social_profiles: type: optional - inline: true owner_id: type: optional docs: The id of the admin that owns the Visitor. @@ -13406,10 +13549,8 @@ types: docs: Identifies if this visitor has had a hard bounce. tags: type: optional - inline: true segments: type: optional - inline: true custom_attributes: type: optional> docs: The custom attributes you have set on the Visitor. @@ -13877,6 +14018,7 @@ You can view the currently authorised admin along with the embedded app object ( "types": { "Admin": { "docs": "Admins are teammate accounts that have access to a workspace.", + "inline": undefined, "properties": { "avatar": { "docs": "Image for the associated team or teammate", @@ -14289,6 +14431,7 @@ types: "types": { "AiAgent": { "docs": "Data related to AI Agent involvement in the conversation.", + "inline": undefined, "properties": { "content_sources": { "type": "optional", @@ -14394,6 +14537,7 @@ imports: "types": { "ContentSource": { "docs": "The content source used by AI Agent in the conversation.", + "inline": undefined, "properties": { "content_type": { "docs": "The type of the content source.", @@ -17029,6 +17173,7 @@ imports: "extends": [ "Articles", ], + "inline": undefined, "properties": { "statistics": { "type": "optional", @@ -17051,6 +17196,7 @@ imports: }, "ArticleSearchHighlights": { "docs": "The highlighted results of an Article search. In the examples provided my search query is always "my query".", + "inline": undefined, "properties": { "article_id": { "docs": "The ID of the corresponding article.", @@ -17071,6 +17217,7 @@ imports: }, "ArticleSearchHighlightsHighlightedSummaryItemItem": { "docs": "An instance of highlighted summary text.", + "inline": true, "properties": { "text": { "docs": "The text of the title.", @@ -17097,6 +17244,7 @@ imports: }, "ArticleSearchHighlightsHighlightedTitleItem": { "docs": "A highlighted article title.", + "inline": true, "properties": { "text": { "docs": "The text of the title.", @@ -17123,10 +17271,10 @@ imports: }, "ArticleSearchResponse": { "docs": "The results of an Article search", + "inline": undefined, "properties": { "data": { "docs": "An object containing the results of the search.", - "inline": true, "type": "optional", }, "pages": { @@ -17147,6 +17295,7 @@ imports: }, "ArticleSearchResponseData": { "docs": "An object containing the results of the search.", + "inline": true, "properties": { "articles": { "docs": "An array of Article objects", @@ -17163,6 +17312,7 @@ imports: }, "Articles": { "docs": "The data returned about your articles when you list them.", + "inline": undefined, "properties": { "author_id": { "docs": "The id of the author of the article. For multilingual articles, this will be the id of the author of the default language's content. Must be a teammate on the help center's workspace.", @@ -19624,6 +19774,7 @@ types: docs: The text of the title. source: openapi: ../openapi.yml + inline: true ArticleSearchHighlightsHighlightedSummaryItemItemType: enum: - highlight @@ -19642,6 +19793,7 @@ types: docs: The text of the title. source: openapi: ../openapi.yml + inline: true ArticleSearchHighlights: docs: >- The highlighted results of an Article search. In the examples provided my @@ -19670,6 +19822,7 @@ types: docs: A corresponding array of highlighted Article content source: openapi: ../openapi.yml + inline: true ArticleSearchResponse: docs: The results of an Article search properties: @@ -19682,7 +19835,6 @@ types: data: type: optional docs: An object containing the results of the search. - inline: true pages: type: optional source: @@ -20800,6 +20952,7 @@ You can fetch all companies and filter by `segment_id` or `tag_id` as a query pa "types": { "Company": { "docs": "Companies allow you to represent organizations using your product. Each company will have its own description and be associated with contacts. You can fetch, create, update and list companies.", + "inline": undefined, "properties": { "app_id": { "docs": "The Intercom defined code of the workspace the company is associated to.", @@ -20838,7 +20991,6 @@ You can fetch all companies and filter by `segment_id` or `tag_id` as a query pa "type": "optional", }, "plan": { - "inline": true, "type": "optional", }, "remote_created_at": { @@ -20847,7 +20999,6 @@ You can fetch all companies and filter by `segment_id` or `tag_id` as a query pa }, "segments": { "docs": "The list of segments associated with the company", - "inline": true, "type": "optional", }, "session_count": { @@ -20860,7 +21011,6 @@ You can fetch all companies and filter by `segment_id` or `tag_id` as a query pa }, "tags": { "docs": "The list of tags associated with the company", - "inline": true, "type": "optional", }, "type": { @@ -20886,6 +21036,7 @@ You can fetch all companies and filter by `segment_id` or `tag_id` as a query pa }, "CompanyPlan": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The id of the plan", @@ -20906,6 +21057,7 @@ You can fetch all companies and filter by `segment_id` or `tag_id` as a query pa }, "CompanySegments": { "docs": "The list of segments associated with the company", + "inline": true, "properties": { "segments": "optional>", "type": { @@ -20919,6 +21071,7 @@ You can fetch all companies and filter by `segment_id` or `tag_id` as a query pa }, "CompanyTags": { "docs": "The list of tags associated with the company", + "inline": true, "properties": { "tags": "optional>", "type": { @@ -21780,6 +21933,7 @@ types: docs: The name of the plan source: openapi: ../openapi.yml + inline: true CompanyTags: docs: The list of tags associated with the company properties: @@ -21789,6 +21943,7 @@ types: tags: optional> source: openapi: ../openapi.yml + inline: true CompanySegments: docs: The list of segments associated with the company properties: @@ -21798,6 +21953,7 @@ types: segments: optional> source: openapi: ../openapi.yml + inline: true Company: docs: >- Companies allow you to represent organizations using your product. Each @@ -21820,7 +21976,6 @@ types: to. plan: type: optional - inline: true company_id: type: optional docs: The company id you have defined for the company. @@ -21860,11 +22015,9 @@ types: tags: type: optional docs: The list of tags associated with the company - inline: true segments: type: optional docs: The list of segments associated with the company - inline: true source: openapi: ../openapi.yml ", @@ -23172,6 +23325,7 @@ The data property will show a combined list of: "types": { "Contact": { "docs": "Contact are the objects that represent your leads and users in Intercom.", + "inline": undefined, "properties": { "android_app_name": { "docs": "The name of the Android app which the contact is using.", @@ -23198,7 +23352,6 @@ The data property will show a combined list of: "type": "optional", }, "avatar": { - "inline": true, "type": "optional", }, "browser": { @@ -23359,6 +23512,7 @@ The data property will show a combined list of: }, "ContactAvatar": { "docs": undefined, + "inline": true, "properties": { "image_url": { "docs": "An image URL containing the avatar of a contact.", @@ -24517,6 +24671,7 @@ types: format: uri source: openapi: ../openapi.yml + inline: true Contact: docs: Contact are the objects that represent your leads and users in Intercom. properties: @@ -24652,7 +24807,6 @@ types: docs: The custom attributes which are set for the contact. avatar: type: optional - inline: true tags: type: optional notes: @@ -25672,10 +25826,7 @@ This will return the Message model that has been created. "docs": "The content of the message. HTML is not supported.", "type": "string", }, - "from": { - "inline": true, - "type": "CreateConversationRequestFrom", - }, + "from": "CreateConversationRequestFrom", }, }, "content-type": "application/json", @@ -29779,6 +29930,7 @@ If you want to reply to a coveration or take an action such as assign, unassign, "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -29796,6 +29948,7 @@ If you want to reply to a coveration or take an action such as assign, unassign, }, "AttachContactToConversationRequestCustomerIntercomUserId": { "docs": undefined, + "inline": true, "properties": { "customer": { "type": "optional", @@ -29811,6 +29964,7 @@ If you want to reply to a coveration or take an action such as assign, unassign, }, "AttachContactToConversationRequestCustomerUserId": { "docs": undefined, + "inline": true, "properties": { "customer": { "type": "optional", @@ -29826,6 +29980,7 @@ If you want to reply to a coveration or take an action such as assign, unassign, }, "Conversation": { "docs": "Conversations are how you can communicate with users in Intercom. They are created when a contact replies to an outbound message, or when one admin directly sends a message to a single contact.", + "inline": undefined, "properties": { "admin_assignee_id": { "docs": "The id of the admin assigned to the conversation. If it's not assigned to an admin it will return null.", @@ -29947,6 +30102,7 @@ If you want to reply to a coveration or take an action such as assign, unassign, }, "CreateConversationRequestFrom": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The identifier for the contact which is given by Intercom.", @@ -29980,6 +30136,7 @@ If you want to reply to a coveration or take an action such as assign, unassign, }, "Email": { "docs": undefined, + "inline": true, "properties": { "customer": { "type": "optional", @@ -30115,9 +30272,7 @@ service: name: CreateConversationRequest body: properties: - from: - type: CreateConversationRequestFrom - inline: true + from: CreateConversationRequestFrom body: type: string docs: The content of the message. HTML is not supported. @@ -34189,6 +34344,7 @@ types: maxLength: 24 source: openapi: ../openapi.yml + inline: true ManageConversationRequestBody: discriminant: message_type base-properties: {} @@ -34212,6 +34368,7 @@ types: type: optional source: openapi: ../openapi.yml + inline: true AttachContactToConversationRequestCustomerUserId: properties: user_id: @@ -34223,6 +34380,7 @@ types: type: optional source: openapi: ../openapi.yml + inline: true Email: properties: email: @@ -34234,6 +34392,7 @@ types: type: optional source: openapi: ../openapi.yml + inline: true AttachContactToConversationRequestCustomer: discriminated: false union: @@ -34242,6 +34401,7 @@ types: - type: Email source: openapi: ../openapi.yml + inline: true ConversationState: enum: - open @@ -34349,6 +34509,7 @@ types: "types": { "CustomObjectInstance": { "docs": "A Custom Object Instance represents an instance of a custom object type. This allows you to create and set custom attributes to store data about your customers that is not already captured by Intercom. The parent object includes recommended default attributes and you can add your own custom attributes.", + "inline": undefined, "properties": { "custom_attributes": { "docs": "The custom attributes you have set on the custom object instance.", @@ -35323,6 +35484,7 @@ You can update a data attribute. }, "DataAttribute": { "docs": "Data Attributes are metadata used to describe your contact, company and conversation models. These include standard and custom attributes. By using the data attributes endpoint, you can get the global list of attributes for your workspace, as well as create and archive custom attributes.", + "inline": undefined, "properties": { "admin_id": { "docs": "Teammate who created the attribute. Only applicable to CDAs", @@ -36457,6 +36619,7 @@ You can optionally define the result page size as well with the `per_page` param "types": { "CreateDataEventSummariesRequestEventSummaries": { "docs": "A list of event summaries for the user. Each event summary should contain the event name, the time the event occurred, and the number of times the event occurred. The event name should be a past tense 'verb-noun' combination, to improve readability, for example `updated-plan`.", + "inline": true, "properties": { "count": { "docs": "The number of times the event occurred.", @@ -36481,6 +36644,7 @@ You can optionally define the result page size as well with the `per_page` param }, "DataEvent": { "docs": "Data events are used to notify Intercom of changes to your data.", + "inline": undefined, "properties": { "created_at": { "docs": "The time the event occurred as a UTC Unix timestamp", @@ -36523,6 +36687,7 @@ You can optionally define the result page size as well with the `per_page` param "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -36540,6 +36705,7 @@ You can optionally define the result page size as well with the `per_page` param }, "LisDataEventsRequestFilterEmail": { "docs": undefined, + "inline": true, "properties": { "email": "string", }, @@ -36549,6 +36715,7 @@ You can optionally define the result page size as well with the `per_page` param }, "LisDataEventsRequestFilterIntercomUserId": { "docs": undefined, + "inline": true, "properties": { "intercom_user_id": "string", }, @@ -36558,6 +36725,7 @@ You can optionally define the result page size as well with the `per_page` param }, "LisDataEventsRequestFilterUserId": { "docs": undefined, + "inline": true, "properties": { "user_id": "string", }, @@ -36573,16 +36741,19 @@ You can optionally define the result page size as well with the `per_page` param user_id: string source: openapi: ../openapi.yml + inline: true LisDataEventsRequestFilterIntercomUserId: properties: intercom_user_id: string source: openapi: ../openapi.yml + inline: true LisDataEventsRequestFilterEmail: properties: email: string source: openapi: ../openapi.yml + inline: true LisDataEventsRequestFilter: discriminated: false union: @@ -36615,6 +36786,7 @@ You can optionally define the result page size as well with the `per_page` param docs: The last time the event was sent source: openapi: ../openapi.yml + inline: true DataEvent: docs: Data events are used to notify Intercom of changes to your data. properties: @@ -37087,6 +37259,7 @@ Your exported message data will be streamed continuously back down to you in a g "types": { "DataExport": { "docs": "The data export api is used to view all message sent & viewed in a given timeframe.", + "inline": undefined, "properties": { "download_expires_at": { "docs": "The time after which you will not be able to access the data.", @@ -38736,6 +38909,7 @@ Collections will be returned in descending order on the `updated_at` attribute. "types": { "Collection": { "docs": "Collections are top level containers for Articles within the Help Center.", + "inline": undefined, "properties": { "created_at": { "docs": "The time when the article was created (seconds). For multilingual articles, this will be the timestamp of creation of the default language's content.", @@ -38795,6 +38969,7 @@ Collections will be returned in descending order on the `updated_at` attribute. }, "HelpCenter": { "docs": "Help Centers contain collections", + "inline": undefined, "properties": { "created_at": { "docs": "The time when the Help Center was created.", @@ -38831,6 +39006,7 @@ Collections will be returned in descending order on the `updated_at` attribute. }, "HelpCenterList": { "docs": "A list of Help Centers belonging to the App", + "inline": undefined, "properties": { "data": { "docs": "An array of Help Center objects", @@ -40266,6 +40442,7 @@ This will return the Message model that has been created. "types": { "Message": { "docs": "Message are how you reach out to contacts in Intercom. They are created when an admin sends an outbound message to a contact.", + "inline": undefined, "properties": { "body": { "docs": "The message body, which may contain HTML.", @@ -41045,6 +41222,7 @@ types: "types": { "NewsItem": { "docs": "A News Item is a content type in Intercom enabling you to announce product updates, company news, promotions, events and more with your customers.", + "inline": undefined, "properties": { "body": { "docs": "The news item body, which may contain HTML.", @@ -41124,6 +41302,7 @@ types: Newsfeeds currently cannot be edited through the API, please refer to [this article](https://www.intercom.com/help/en/articles/6362267-getting-started-with-news) to set up your newsfeeds in Intercom. ", + "inline": undefined, "properties": { "created_at": { "docs": "Timestamp for when the newsfeed was created.", @@ -41148,6 +41327,7 @@ Newsfeeds currently cannot be edited through the API, please refer to [this arti }, "NewsfeedAssignment": { "docs": "Assigns a news item to a newsfeed.", + "inline": undefined, "properties": { "newsfeed_id": { "docs": "The unique identifier for the newsfeed which is given by Intercom. Publish dates cannot be in the future, to schedule news items use the dedicated feature in app (see this article).", @@ -42024,6 +42204,7 @@ types: "types": { "Note": { "docs": "Notes allow you to annotate and comment on your contacts.", + "inline": undefined, "properties": { "author": { "docs": "Optional. Represents the Admin that created the note.", @@ -42035,7 +42216,6 @@ types: }, "contact": { "docs": "Represents the contact that the note was created about.", - "inline": true, "type": "optional", }, "created_at": { @@ -42057,6 +42237,7 @@ types: }, "NoteContact": { "docs": "Represents the contact that the note was created about.", + "inline": true, "properties": { "id": { "docs": "The id of the contact.", @@ -42357,6 +42538,7 @@ types: docs: The id of the contact. source: openapi: ../openapi.yml + inline: true Note: docs: Notes allow you to annotate and comment on your contacts. properties: @@ -42372,7 +42554,6 @@ types: contact: type: optional docs: Represents the contact that the note was created about. - inline: true author: type: optional docs: Optional. Represents the Admin that created the note. @@ -42507,6 +42688,7 @@ types: "types": { "Segment": { "docs": "A segment is a group of your contacts defined by the rules that you set.", + "inline": undefined, "properties": { "count": { "docs": "The number of items in the user segment. It's returned when `include_count=true` is included in the request.", @@ -42957,6 +43139,7 @@ This will return a subscription type model for the subscription type that was ad "types": { "SubscriptionType": { "docs": "A subscription type lets customers easily opt out of non-essential communications without missing what's important to them.", + "inline": undefined, "properties": { "consent_type": { "docs": "Describes the type of consent.", @@ -44291,6 +44474,7 @@ This will return a tag object. "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -44311,6 +44495,7 @@ This will return a tag object. }, "Tag": { "docs": "A tag allows you to label your contacts, companies, and conversations and list them using that tag.", + "inline": undefined, "properties": { "applied_at": { "docs": "The time when the tag was applied to the object", @@ -45041,6 +45226,7 @@ types: "types": { "Team": { "docs": "Teams are groups of admins in Intercom.", + "inline": undefined, "properties": { "admin_ids": { "docs": "The list of admin IDs that are a part of the team.", @@ -47704,6 +47890,7 @@ The table below shows the operators you can use to define how you want to search "types": { "Contacts": { "docs": "The list of contacts affected by a ticket.", + "inline": undefined, "properties": { "contacts": { "docs": "The list of contacts affected by this ticket.", @@ -47722,6 +47909,7 @@ The table below shows the operators you can use to define how you want to search "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -47739,6 +47927,7 @@ The table below shows the operators you can use to define how you want to search }, "CreateTicketRequestContactsItemExternalId": { "docs": undefined, + "inline": true, "properties": { "external_id": { "docs": "The external_id you have defined for the contact who is being added as a participant.", @@ -47751,6 +47940,7 @@ The table below shows the operators you can use to define how you want to search }, "Email": { "docs": undefined, + "inline": true, "properties": { "email": { "docs": "The email you have defined for the contact who is being added as a participant. If a contact with this email does not exist, one will be created.", @@ -47763,6 +47953,7 @@ The table below shows the operators you can use to define how you want to search }, "ID": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The identifier for the contact as given by Intercom.", @@ -47777,6 +47968,7 @@ The table below shows the operators you can use to define how you want to search "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -47791,6 +47983,7 @@ The table below shows the operators you can use to define how you want to search }, "Ticket": { "docs": "Tickets are how you track requests from your users.", + "inline": undefined, "properties": { "admin_assignee_id": { "docs": "The id representing the admin assigned to the ticket.", @@ -47884,6 +48077,7 @@ The table below shows the operators you can use to define how you want to search }, "TicketPart": { "docs": "A Ticket Part represents a message in the ticket.", + "inline": undefined, "properties": { "assigned_to": { "docs": "The id of the admin that was assigned the ticket by this ticket_part (null if there has been no change in assignment.)", @@ -47979,6 +48173,7 @@ The table below shows the operators you can use to define how you want to search }, "TicketType": { "docs": "A ticket type, used to define the data fields to be captured in a ticket.", + "inline": undefined, "properties": { "archived": { "docs": "Whether the ticket type is archived or not.", @@ -48044,6 +48239,7 @@ The table below shows the operators you can use to define how you want to search }, "UpdateTicketRequestAssignment": { "docs": undefined, + "inline": true, "properties": { "admin_id": { "docs": "The ID of the admin performing the action.", @@ -48088,6 +48284,7 @@ types: docs: The identifier for the contact as given by Intercom. source: openapi: ../openapi.yml + inline: true CreateTicketRequestContactsItemExternalId: properties: external_id: @@ -48097,6 +48294,7 @@ types: a participant. source: openapi: ../openapi.yml + inline: true Email: properties: email: @@ -48107,6 +48305,7 @@ types: created. source: openapi: ../openapi.yml + inline: true CreateTicketRequestContactsItem: discriminated: false union: @@ -48115,6 +48314,7 @@ types: - type: Email source: openapi: ../openapi.yml + inline: true UpdateTicketRequestState: enum: - in_progress @@ -48135,6 +48335,7 @@ types: 0 to unassign it. source: openapi: ../openapi.yml + inline: true TicketCategory: enum: - Customer @@ -49748,14 +49949,8 @@ docs: Everything about your tickets "docs": "Represents the role of the Contact model. Accepts `lead` or `user`.", "type": "string", }, - "user": { - "inline": true, - "type": "unknown", - }, - "visitor": { - "inline": true, - "type": "unknown", - }, + "user": "unknown", + "visitor": "unknown", }, }, "content-type": "application/json", @@ -50465,12 +50660,8 @@ service: docs: >- Represents the role of the Contact model. Accepts `lead` or `user`. - user: - type: unknown - inline: true - visitor: - type: unknown - inline: true + user: unknown + visitor: unknown content-type: application/json response: docs: successful diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/json-string.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/json-string.json index 9c68f8b6963..516fcbe17fb 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/json-string.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/json-string.json @@ -8,6 +8,7 @@ "types": { "User": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "optional", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/merge.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/merge.json index da62e8f69b8..5419f90792a 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/merge.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/merge.json @@ -8,6 +8,7 @@ "types": { "AccountDetails": { "docs": undefined, + "inline": undefined, "properties": { "category": "optional", "end_user_email_address": { @@ -58,6 +59,7 @@ The `LinkedAccount` object is used to represent an end user's link with a specif ### Usage Example View a list of your organization's `LinkedAccount` objects.", + "inline": undefined, "properties": { "category": "optional", "end_user_email_address": "string", @@ -79,6 +81,7 @@ View a list of your organization's `LinkedAccount` objects.", }, "AccountDetailsAndActionsIntegration": { "docs": undefined, + "inline": undefined, "properties": { "available_model_operations": "optional>", "categories": "list", @@ -108,6 +111,7 @@ View a list of your organization's `LinkedAccount` objects.", }, "AccountIntegration": { "docs": undefined, + "inline": undefined, "properties": { "api_endpoints_to_documentation_urls": { "docs": "Mapping of API endpoints to documentation urls for support. Example: {'GET': [['/common-model-scopes', 'https://docs.merge.dev/accounting/common-model-scopes/#common_model_scopes_retrieve'],['/common-model-actions', 'https://docs.merge.dev/accounting/common-model-actions/#common_model_actions_retrieve']], 'POST': []}", @@ -163,6 +167,7 @@ View a list of your organization's `LinkedAccount` objects.", }, "AccountToken": { "docs": undefined, + "inline": undefined, "properties": { "account_token": "string", "integration": "AccountIntegration", @@ -189,6 +194,7 @@ The `Activity` object is used to see all available model/operation combinations ### Usage Example Fetch all the actions available for the `Zenefits` integration.", + "inline": undefined, "properties": { "available_model_operations": "optional>", "integration": "AccountIntegration", @@ -205,6 +211,7 @@ The `BankInfo` object is used to represent the Bank Account information for an E ### Usage Example Fetch from the `LIST BankInfo` endpoint and filter by `ID` to show all bank information.", + "inline": undefined, "properties": { "account_number": { "docs": "The account number.", @@ -280,6 +287,7 @@ The `Benefit` object is used to represent a benefit that an employee has enrolle ### Usage Example Fetch from the `LIST Benefits` endpoint and filter by `ID` to show all benefits.", + "inline": undefined, "properties": { "benefit_plan_type": { "docs": "The type of benefit plan", @@ -387,6 +395,7 @@ Fetch from the `LIST Benefits` endpoint and filter by `ID` to show all benefits. }, "CommonModelScopesBodyRequest": { "docs": undefined, + "inline": undefined, "properties": { "disabled_fields": "list", "enabled_actions": "list", @@ -411,6 +420,7 @@ The `Company` object is used to represent a company within the HRIS / Payroll sy ### Usage Example Fetch from the `LIST Companies` endpoint and filter by `ID` to show all companies.", + "inline": undefined, "properties": { "display_name": { "docs": "The company's display name.", @@ -454,6 +464,7 @@ Fetch from the `LIST Companies` endpoint and filter by `ID` to show all companie }, "ConditionSchema": { "docs": undefined, + "inline": undefined, "properties": { "common_model": { "docs": "The common model for which a condition schema is defined.", @@ -1035,6 +1046,7 @@ The `DataPassthrough` object is used to send information to an otherwise-unsuppo ### Usage Example Create a `DataPassthrough` to get team hierarchies from your Rippling integration.", + "inline": undefined, "properties": { "base_url_override": { "type": "optional", @@ -1084,6 +1096,7 @@ Create a `DataPassthrough` to get team hierarchies from your Rippling integratio }, "DebugModeLog": { "docs": undefined, + "inline": undefined, "properties": { "dashboard_view": "string", "log_id": "string", @@ -1095,6 +1108,7 @@ Create a `DataPassthrough` to get team hierarchies from your Rippling integratio }, "DebugModelLogSummary": { "docs": undefined, + "inline": undefined, "properties": { "method": "string", "status_code": "integer", @@ -1111,6 +1125,7 @@ The `Deduction` object is used to represent an array of the wages withheld from ### Usage Example Fetch from the `LIST Deductions` endpoint and filter by `ID` to show all deductions.", + "inline": undefined, "properties": { "company_deduction": { "docs": "The amount of money that is withheld on behalf of an employee by the company.", @@ -1168,6 +1183,7 @@ The `Earning` object is used to represent an array of different compensations th ### Usage Example Fetch from the `LIST Earnings` endpoint and filter by `ID` to show all earnings.", + "inline": undefined, "properties": { "amount": { "docs": "The amount earned.", @@ -1241,6 +1257,7 @@ The `Employee` object is used to represent any person who has been employed by a ### Usage Example Fetch from the `LIST Employee` endpoint and filter by `ID` to show all employees.", + "inline": undefined, "properties": { "avatar": { "docs": "The URL of the employee's avatar image.", @@ -1322,7 +1339,6 @@ Fetch from the `LIST Employee` endpoint and filter by `ID` to show all employees "hire_date": { "availability": "deprecated", "docs": "The date that the employee was hired, usually the day that an offer letter is signed. If an employee has multiple hire dates from previous employments, this represents the most recent hire date. Note: If you're looking for the employee's start date, refer to the start_date field.", - "inline": undefined, "type": "optional", }, "home_location": { @@ -1465,6 +1481,7 @@ Fetch from the `LIST Employee` endpoint and filter by `ID` to show all employees }, "EmployeeEndpointRequest": { "docs": undefined, + "inline": undefined, "properties": { "model": "EmployeeRequest", }, @@ -1479,6 +1496,7 @@ The `EmployeePayrollRun` object is used to represent an employee's pay statement ### Usage Example Fetch from the `LIST EmployeePayrollRun` endpoint and filter by `ID` to show all employee payroll runs.", + "inline": undefined, "properties": { "check_date": { "docs": "The day and time the payroll run was checked.", @@ -1558,6 +1576,7 @@ The `Employee` object is used to represent any person who has been employed by a ### Usage Example Fetch from the `LIST Employee` endpoint and filter by `ID` to show all employees.", + "inline": undefined, "properties": { "avatar": { "docs": "The URL of the employee's avatar image.", @@ -1634,7 +1653,6 @@ Fetch from the `LIST Employee` endpoint and filter by `ID` to show all employees "hire_date": { "availability": "deprecated", "docs": "The date that the employee was hired, usually the day that an offer letter is signed. If an employee has multiple hire dates from previous employments, this represents the most recent hire date. Note: If you're looking for the employee's start date, refer to the start_date field.", - "inline": undefined, "type": "optional", }, "home_location": { @@ -1756,6 +1774,7 @@ Fetch from the `LIST Employee` endpoint and filter by `ID` to show all employees }, "EmployeeResponse": { "docs": undefined, + "inline": undefined, "properties": { "errors": "list", "logs": "optional>", @@ -1775,6 +1794,7 @@ Please note: When there is a change in pay or title, integrations with historica ### Usage Example Fetch from the `LIST Employments` endpoint and filter by `ID` to show all employees.", + "inline": undefined, "properties": { "effective_date": { "docs": "The position's effective date.", @@ -2250,6 +2270,7 @@ Fetch from the `LIST Employments` endpoint and filter by `ID` to show all employ }, "EndUserDetailsRequest": { "docs": undefined, + "inline": undefined, "properties": { "categories": { "docs": "The integration categories to show in Merge Link.", @@ -2323,6 +2344,7 @@ Fetch from the `LIST Employments` endpoint and filter by `ID` to show all employ }, "ErrorValidationProblem": { "docs": undefined, + "inline": undefined, "properties": { "detail": "string", "problem_type": "string", @@ -2398,6 +2420,7 @@ The `GenerateRemoteKey` object is used to represent a request for a new remote k ### Usage Example Post a `GenerateRemoteKey` to create a new remote key.", + "inline": undefined, "properties": { "name": { "type": "string", @@ -2420,6 +2443,7 @@ The `Group` object is used to represent any subset of employees, such as `PayGro ### Usage Example Fetch from the `LIST Employee` endpoint and expand groups to view an employee's groups.", + "inline": undefined, "properties": { "field_mappings": "optional>", "id": { @@ -2492,6 +2516,7 @@ Fetch from the `LIST Employee` endpoint and expand groups to view an employee's }, "IgnoreCommonModelRequest": { "docs": undefined, + "inline": undefined, "properties": { "message": { "type": "optional", @@ -2510,6 +2535,7 @@ Fetch from the `LIST Employee` endpoint and expand groups to view an employee's }, "Issue": { "docs": undefined, + "inline": undefined, "properties": { "end_user": "optional>", "error_description": "string", @@ -2551,6 +2577,7 @@ Fetch from the `LIST Employee` endpoint and expand groups to view an employee's }, "LinkToken": { "docs": undefined, + "inline": undefined, "properties": { "integration_name": "optional", "link_token": "string", @@ -2562,6 +2589,7 @@ Fetch from the `LIST Employee` endpoint and expand groups to view an employee's }, "LinkedAccountCondition": { "docs": undefined, + "inline": undefined, "properties": { "common_model": { "docs": "The common model for a specific condition.", @@ -2597,6 +2625,7 @@ Fetch from the `LIST Employee` endpoint and expand groups to view an employee's }, "LinkedAccountConditionRequest": { "docs": undefined, + "inline": undefined, "properties": { "condition_schema_id": { "docs": "The ID indicating which condition schema to use for a specific condition.", @@ -2626,6 +2655,7 @@ Fetch from the `LIST Employee` endpoint and expand groups to view an employee's }, "LinkedAccountSelectiveSyncConfiguration": { "docs": undefined, + "inline": undefined, "properties": { "linked_account_conditions": { "docs": "The conditions belonging to a selective sync.", @@ -2638,6 +2668,7 @@ Fetch from the `LIST Employee` endpoint and expand groups to view an employee's }, "LinkedAccountSelectiveSyncConfigurationRequest": { "docs": undefined, + "inline": undefined, "properties": { "linked_account_conditions": { "docs": "The conditions belonging to a selective sync.", @@ -2650,6 +2681,7 @@ Fetch from the `LIST Employee` endpoint and expand groups to view an employee's }, "LinkedAccountStatus": { "docs": undefined, + "inline": undefined, "properties": { "can_make_request": "boolean", "linked_account_status": "string", @@ -2665,6 +2697,7 @@ The `Location` object is used to represent an address that can be associated wit ### Usage Example Fetch from the `LIST Locations` endpoint and filter by `ID` to show all office locations.", + "inline": undefined, "properties": { "city": { "docs": "The location's city.", @@ -3013,6 +3046,7 @@ Fetch from the `LIST Locations` endpoint and filter by `ID` to show all office l }, "MetaResponse": { "docs": undefined, + "inline": undefined, "properties": { "has_conditional_params": "boolean", "has_required_linked_account_params": "boolean", @@ -3052,6 +3086,7 @@ The `ModelOperation` object is used to represent the operations that are current ### Usage Example View what operations are supported for the `Candidate` endpoint.", + "inline": undefined, "properties": { "available_operations": "list", "model_name": "string", @@ -3069,6 +3104,7 @@ The `MultipartFormField` object is used to represent fields in an HTTP request u ### Usage Example Create a `MultipartFormField` to define a multipart form entry.", + "inline": undefined, "properties": { "content_type": { "docs": "The MIME type of the file, if the field is for a file.", @@ -3125,6 +3161,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "OperatorSchema": { "docs": undefined, + "inline": undefined, "properties": { "is_unique": { "docs": "Whether the operator can be repeated multiple times.", @@ -3141,6 +3178,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedAccountDetailsAndActionsList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3152,6 +3190,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedBankInfoList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3163,6 +3202,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedBenefitList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3174,6 +3214,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedCompanyList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3185,6 +3226,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedConditionSchemaList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3196,6 +3238,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedEmployeeList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3207,6 +3250,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedEmployeePayrollRunList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3218,6 +3262,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedEmploymentList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3229,6 +3274,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedGroupList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3240,6 +3286,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedIssueList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3251,6 +3298,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedLocationList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3262,6 +3310,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedPayGroupList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3273,6 +3322,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedPayrollRunList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3284,6 +3334,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedSyncStatusList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3295,6 +3346,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedTeamList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3306,6 +3358,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedTimeOffBalanceList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3317,6 +3370,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedTimeOffList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3980,6 +4034,7 @@ The `PayGroup` object is used to represent a subset of employees that are put to ### Usage Example Fetch from the `LIST PayGroup` endpoint and filter by `ID` to show all pay group information.", + "inline": undefined, "properties": { "field_mappings": "optional>", "id": { @@ -4045,6 +4100,7 @@ The `PayrollRun` object is used to represent a group of pay statements for a spe ### Usage Example Fetch from the `LIST PayrollRuns` endpoint and filter by `ID` to show all payroll runs.", + "inline": undefined, "properties": { "check_date": { "docs": "The day and time the payroll run was checked.", @@ -4140,6 +4196,7 @@ Fetch from the `LIST PayrollRuns` endpoint and filter by `ID` to show all payrol }, "RemoteData": { "docs": undefined, + "inline": undefined, "properties": { "data": "optional>", "path": "string", @@ -4155,6 +4212,7 @@ The `RemoteKey` object is used to represent a request for a new remote key. ### Usage Example Post a `GenerateRemoteKey` to receive a new `RemoteKey`.", + "inline": undefined, "properties": { "key": "string", "name": "string", @@ -4170,6 +4228,7 @@ The `RemoteKeyForRegeneration` object is used to exchange an old remote key for ### Usage Example Post a `RemoteKeyForRegeneration` to swap out an old remote key for a new one", + "inline": undefined, "properties": { "name": { "type": "string", @@ -4192,6 +4251,7 @@ The `RemoteResponse` object is used to represent information returned from a thi ### Usage Example View the `RemoteResponse` returned from your `DataPassthrough`.", + "inline": undefined, "properties": { "headers": "optional>", "method": "string", @@ -4300,6 +4360,7 @@ The `SyncStatus` object is used to represent the syncing state of an account ### Usage Example View the `SyncStatus` for an account to see how recently its models were synced.", + "inline": undefined, "properties": { "is_initial_sync": "boolean", "last_sync_start": "optional", @@ -4339,6 +4400,7 @@ The `Tax` object is used to represent an array of the tax deductions for a given ### Usage Example Fetch from the `LIST Taxes` endpoint and filter by `ID` to show all taxes.", + "inline": undefined, "properties": { "amount": { "docs": "The tax amount.", @@ -4396,6 +4458,7 @@ The `Team` object is used to represent a subdivision of the company, usually a d ### Usage Example If you're building a way to filter by `Team`, you'd hit the `GET Teams` endpoint to fetch the `Teams`, and then use the `ID` of the team your user selects to filter the `GET Employees` endpoint.", + "inline": undefined, "properties": { "field_mappings": "optional>", "id": { @@ -4446,6 +4509,7 @@ The `TimeOff` object is used to represent all employees' Time Off entries. ### Usage Example Fetch from the `LIST TimeOffs` endpoint and filter by `ID` to show all time off requests.", + "inline": undefined, "properties": { "amount": { "docs": "The time off quantity measured by the prescribed “units”.", @@ -4543,6 +4607,7 @@ The `TimeOffBalance` object is used to represent current balances for an employe ### Usage Example Fetch from the `LIST TimeOffBalances` endpoint and filter by `ID` to show all time off balances.", + "inline": undefined, "properties": { "balance": { "docs": "The current remaining PTO balance, always measured in terms of hours.", @@ -4603,6 +4668,7 @@ Fetch from the `LIST TimeOffBalances` endpoint and filter by `ID` to show all ti }, "TimeOffEndpointRequest": { "docs": undefined, + "inline": undefined, "properties": { "model": "TimeOffRequest", }, @@ -4617,6 +4683,7 @@ The `TimeOff` object is used to represent all employees' Time Off entries. ### Usage Example Fetch from the `LIST TimeOffs` endpoint and filter by `ID` to show all time off requests.", + "inline": undefined, "properties": { "amount": { "docs": "The time off quantity measured by the prescribed “units”.", @@ -4691,6 +4758,7 @@ Fetch from the `LIST TimeOffs` endpoint and filter by `ID` to show all time off }, "TimeOffResponse": { "docs": undefined, + "inline": undefined, "properties": { "errors": "list", "logs": "optional>", @@ -4731,6 +4799,7 @@ Fetch from the `LIST TimeOffs` endpoint and filter by `ID` to show all time off }, "ValidationProblemSource": { "docs": undefined, + "inline": undefined, "properties": { "pointer": "string", }, @@ -4740,6 +4809,7 @@ Fetch from the `LIST TimeOffs` endpoint and filter by `ID` to show all time off }, "WarningValidationProblem": { "docs": undefined, + "inline": undefined, "properties": { "detail": "string", "problem_type": "string", @@ -4752,6 +4822,7 @@ Fetch from the `LIST TimeOffs` endpoint and filter by `ID` to show all time off }, "WebhookReceiver": { "docs": undefined, + "inline": undefined, "properties": { "event": "string", "is_active": "boolean", @@ -4763,6 +4834,7 @@ Fetch from the `LIST TimeOffs` endpoint and filter by `ID` to show all time off }, "WebhookReceiverRequest": { "docs": undefined, + "inline": undefined, "properties": { "event": { "type": "string", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/multi-url-generators-yml.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/multi-url-generators-yml.json index baf93b1b740..b19790b569e 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/multi-url-generators-yml.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/multi-url-generators-yml.json @@ -141,6 +141,7 @@ "types": { "Token": { "docs": undefined, + "inline": undefined, "properties": { "accessToken": "optional", "expiresIn": "optional", @@ -152,6 +153,7 @@ }, "User": { "docs": undefined, + "inline": undefined, "properties": { "createdAt": "optional", "email": "optional", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/non-alphanumeric-characters.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/non-alphanumeric-characters.json index 43fd15d72e3..0e93f21bc04 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/non-alphanumeric-characters.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/non-alphanumeric-characters.json @@ -72,6 +72,7 @@ }, "Settings": { "docs": undefined, + "inline": undefined, "properties": { "separator": "optional", }, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/oauth.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/oauth.json index 5fa4d286016..6e76ddae20f 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/oauth.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/oauth.json @@ -129,6 +129,7 @@ }, "AuthGetTokenResponse": { "docs": undefined, + "inline": undefined, "properties": { "access_token": "optional", "expires_in": { diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/only-include-referenced-schemas.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/only-include-referenced-schemas.json index 7f579b512bc..e7c0346d557 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/only-include-referenced-schemas.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/only-include-referenced-schemas.json @@ -3942,6 +3942,7 @@ "types": { "ActivityLog": { "docs": "Activities performed by Admins.", + "inline": undefined, "properties": { "activity_description": { "docs": "A sentence or two describing the activity.", @@ -3963,7 +3964,6 @@ }, "performed_by": { "docs": "Details about the Admin involved in the activity.", - "inline": true, "type": "optional", }, }, @@ -4047,6 +4047,7 @@ }, "ActivityLogList": { "docs": "A paginated list of activity logs.", + "inline": undefined, "properties": { "activity_logs": { "docs": "An array of activity logs", @@ -4066,6 +4067,7 @@ }, "ActivityLogMetadata": { "docs": "Additional data provided about Admin activity.", + "inline": undefined, "properties": { "auto_changed": { "docs": "Indicates if the status was changed automatically or manually.", @@ -4110,6 +4112,7 @@ }, "ActivityLogPerformedBy": { "docs": "Details about the Admin involved in the activity.", + "inline": true, "properties": { "email": { "docs": "The email of the admin.", @@ -4134,6 +4137,7 @@ }, "AddressableList": { "docs": "A list used to access other resources from a parent model.", + "inline": undefined, "properties": { "id": { "docs": "The id of the addressable object", @@ -4166,6 +4170,7 @@ }, "Admin": { "docs": "Admins are the teammate accounts that have access to a workspace", + "inline": undefined, "properties": { "app": { "docs": "App that the admin belongs to.", @@ -4173,7 +4178,6 @@ }, "avatar": { "docs": "This object represents the avatar associated with the admin.", - "inline": true, "type": "optional", }, "away_mode_enabled": { @@ -4223,6 +4227,7 @@ }, "AdminPriorityLevel": { "docs": "Admin priority levels for the team", + "inline": undefined, "properties": { "primary_admin_ids": { "docs": "The primary admin ids for the team", @@ -4239,6 +4244,7 @@ }, "AdminReplyConversationRequest": { "docs": "Payload of the request to reply on behalf of an admin", + "inline": undefined, "properties": { "admin_id": { "docs": "The id of the admin who is authoring the comment.", @@ -4278,6 +4284,7 @@ }, "AdminReplyTicketRequest": { "docs": "Payload of the request to reply on behalf of an admin", + "inline": undefined, "properties": { "admin_id": { "docs": "The id of the admin who is authoring the comment.", @@ -4318,6 +4325,7 @@ }, "AdminReplyTicketRequestReplyOptionsItem": { "docs": undefined, + "inline": true, "properties": { "text": { "docs": "The text to display in this quick reply option.", @@ -4340,6 +4348,7 @@ }, "AdminWithAppAvatar": { "docs": "This object represents the avatar associated with the admin.", + "inline": true, "properties": { "image_url": { "docs": "This object represents the avatar associated with the admin.", @@ -4363,6 +4372,7 @@ }, "Admins": { "docs": "A list of admins associated with a given workspace.", + "inline": undefined, "properties": { "admins": { "docs": "A list of admins associated with a given workspace.", @@ -4379,6 +4389,7 @@ }, "App": { "docs": "App is a workspace on Intercom", + "inline": undefined, "properties": { "created_at": { "docs": "When the app was created.", @@ -4416,6 +4427,7 @@ }, "ArticleContent": { "docs": "The Content of an Article.", + "inline": undefined, "properties": { "author_id": { "docs": "The ID of the author of the article.", @@ -4470,6 +4482,7 @@ }, "ArticleStatistics": { "docs": "The statistics of an article.", + "inline": undefined, "properties": { "conversions": { "docs": "The number of conversations started from the article.", @@ -4506,6 +4519,7 @@ }, "ArticleTranslatedContent": { "docs": "The Translated Content of an Article. The keys are the locale codes and the values are the translated content of the article.", + "inline": undefined, "properties": { "ar": { "docs": "The content of the article in Arabic", @@ -4666,6 +4680,7 @@ }, "Articles": { "docs": "This will return a list of articles for the App.", + "inline": undefined, "properties": { "data": { "docs": "An array of Article objects", @@ -4689,6 +4704,7 @@ }, "AssignConversationRequest": { "docs": "Payload of the request to assign a conversation", + "inline": undefined, "properties": { "admin_id": { "docs": "The id of the admin who is performing the action.", @@ -4719,6 +4735,7 @@ }, "CloseConversationRequest": { "docs": "Payload of the request to close a conversation", + "inline": undefined, "properties": { "admin_id": { "docs": "The id of the admin who is performing the action.", @@ -4736,6 +4753,7 @@ }, "Collections": { "docs": "This will return a list of Collections for the App.", + "inline": undefined, "properties": { "data": { "docs": "An array of collection objects", @@ -4759,6 +4777,7 @@ }, "Companies": { "docs": "This will return a list of companies for the App.", + "inline": undefined, "properties": { "data": { "docs": "An array containing Company Objects.", @@ -4782,6 +4801,7 @@ }, "CompanyAttachedContacts": { "docs": "A list of Contact Objects", + "inline": undefined, "properties": { "data": { "docs": "An array containing Contact Objects", @@ -4805,6 +4825,7 @@ }, "CompanyAttachedSegments": { "docs": "A list of Segment Objects", + "inline": undefined, "properties": { "data": { "docs": "An array containing Segment Objects", @@ -4821,6 +4842,7 @@ }, "CompanyScroll": { "docs": "Companies allow you to represent organizations using your product. Each company will have its own description and be associated with contacts. You can fetch, create, update and list companies.", + "inline": undefined, "properties": { "data": { "type": "optional>", @@ -4847,6 +4869,7 @@ }, "ContactArchived": { "docs": "archived contact object", + "inline": undefined, "properties": { "archived": { "docs": "Whether the contact is archived or not.", @@ -4871,6 +4894,7 @@ }, "ContactAttachedCompanies": { "docs": "A list of Company Objects", + "inline": undefined, "properties": { "companies": { "docs": "An array containing Company Objects", @@ -4894,6 +4918,7 @@ }, "ContactCompanies": { "docs": "An object containing companies meta data about the companies that a contact has. Up to 10 will be displayed here. Use the url to get more.", + "inline": undefined, "properties": { "has_more": { "docs": "Whether there's more Addressable Objects to be viewed. If true, use the url to view all", @@ -4920,6 +4945,7 @@ }, "ContactDeleted": { "docs": "deleted contact object", + "inline": undefined, "properties": { "deleted": { "docs": "Whether the contact is deleted or not.", @@ -4944,6 +4970,7 @@ }, "ContactList": { "docs": "Contacts are your users in Intercom.", + "inline": undefined, "properties": { "data": { "docs": "The list of contact objects", @@ -4967,6 +4994,7 @@ }, "ContactLocation": { "docs": "An object containing location meta data about a Intercom contact.", + "inline": undefined, "properties": { "city": { "docs": "The city that the contact is located in", @@ -4991,6 +5019,7 @@ }, "ContactNotes": { "docs": "An object containing notes meta data about the notes that a contact has. Up to 10 will be displayed here. Use the url to get more.", + "inline": undefined, "properties": { "data": { "docs": "This object represents the notes attached to a contact.", @@ -5021,6 +5050,7 @@ }, "ContactReference": { "docs": "reference to contact object", + "inline": undefined, "properties": { "external_id": { "docs": "The unique identifier for the contact which is provided by the Client.", @@ -5041,6 +5071,7 @@ }, "ContactReplyBaseRequest": { "docs": undefined, + "inline": undefined, "properties": { "attachment_urls": { "docs": "A list of image URLs that will be added as attachments. You can include up to 10 URLs.", @@ -5065,6 +5096,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -5085,6 +5117,7 @@ "extends": [ "ContactReplyBaseRequest", ], + "inline": undefined, "properties": { "attachment_files": { "docs": "A list of files that will be added as attachments.", @@ -5104,6 +5137,7 @@ "extends": [ "ContactReplyBaseRequest", ], + "inline": undefined, "properties": { "intercom_user_id": { "docs": "The identifier for the contact as given by Intercom.", @@ -5118,6 +5152,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -5138,6 +5173,7 @@ "extends": [ "ContactReplyBaseRequest", ], + "inline": undefined, "properties": { "user_id": { "docs": "The external_id you have defined for the contact.", @@ -5153,6 +5189,7 @@ "extends": [ "ContactReplyBaseRequest", ], + "inline": undefined, "properties": { "attachment_files": { "docs": "A list of files that will be added as attachments. You can include up to 10 files.", @@ -5169,6 +5206,7 @@ }, "ContactSocialProfiles": { "docs": "An object containing social profiles that a contact has.", + "inline": undefined, "properties": { "data": { "docs": "A list of social profiles objects associated with the contact.", @@ -5181,6 +5219,7 @@ }, "ContactTags": { "docs": "An object containing tags meta data about the tags that a contact has. Up to 10 will be displayed here. Use the url to get more.", + "inline": undefined, "properties": { "data": { "docs": "This object represents the tags attached to a contact.", @@ -5211,6 +5250,7 @@ }, "ContactUnarchived": { "docs": "unarchived contact object", + "inline": undefined, "properties": { "archived": { "docs": "Whether the contact is archived or not.", @@ -5235,6 +5275,7 @@ }, "Contacts": { "docs": "The list of contacts (users or leads) involved in this conversation. This will only contain one customer unless more were added via the group conversation feature.", + "inline": undefined, "properties": { "contacts": { "docs": "The list of contacts (users or leads) involved in this conversation. This will only contain one customer unless more were added via the group conversation feature.", @@ -5251,6 +5292,7 @@ }, "ContentSourcesList": { "docs": undefined, + "inline": undefined, "properties": { "content_sources": { "docs": "The content sources used by AI Agent in the conversation.", @@ -5270,6 +5312,7 @@ }, "ConversationAttachmentFiles": { "docs": "Properties of the attachment files in a conversation part", + "inline": undefined, "properties": { "content_type": { "docs": "The content type of the file", @@ -5290,6 +5333,7 @@ }, "ConversationFirstContactReply": { "docs": "An object containing information on the first users message. For a contact initiated message this will represent the users original message.", + "inline": undefined, "properties": { "created_at": { "docs": "", @@ -5310,6 +5354,7 @@ }, "ConversationList": { "docs": "Conversations are how you can communicate with users in Intercom. They are created when a contact replies to an outbound message, or when one admin directly sends a message to a single contact.", + "inline": undefined, "properties": { "conversations": { "docs": "The list of conversation objects", @@ -5333,6 +5378,7 @@ }, "ConversationPart": { "docs": "A Conversation Part represents a message in the conversation.", + "inline": undefined, "properties": { "assigned_to": { "docs": "The id of the admin that was assigned the conversation by this conversation_part (null if there has been no change in assignment.)", @@ -5388,6 +5434,7 @@ }, "ConversationPartAuthor": { "docs": "The object who initiated the conversation, which can be a Contact, Admin or Team. Bots and campaigns send messages on behalf of Admins or Teams. For Twitter, this will be blank.", + "inline": undefined, "properties": { "email": { "docs": "The email of the author", @@ -5418,6 +5465,7 @@ }, "ConversationParts": { "docs": "A list of Conversation Part objects for each part message in the conversation. This is only returned when Retrieving a Conversation, and ignored when Listing all Conversations. There is a limit of 500 parts.", + "inline": undefined, "properties": { "conversation_parts": { "docs": "A list of Conversation Part objects for each part message in the conversation. This is only returned when Retrieving a Conversation, and ignored when Listing all Conversations. There is a limit of 500 parts.", @@ -5438,6 +5486,7 @@ }, "ConversationRating": { "docs": "The Conversation Rating object which contains information on the rating and/or remark added by a Contact and the Admin assigned to the conversation.", + "inline": undefined, "properties": { "contact": { "type": "optional", @@ -5464,6 +5513,7 @@ }, "ConversationSource": { "docs": "The Conversation Part that originated this conversation, which can be Contact, Admin, Campaign, Automated or Operator initiated.", + "inline": undefined, "properties": { "attachments": { "docs": "A list of attachments for the part.", @@ -5507,6 +5557,7 @@ }, "ConversationStatistics": { "docs": "A Statistics object containing all information required for reporting, with timestamps and calculated metrics.", + "inline": undefined, "properties": { "count_assignments": { "docs": "Number of assignments after first_contact_reply_at.", @@ -5591,6 +5642,7 @@ }, "ConversationTeammates": { "docs": "The list of teammates who participated in the conversation (wrote at least one conversation part).", + "inline": undefined, "properties": { "teammates": { "docs": "The list of teammates who participated in the conversation (wrote at least one conversation part).", @@ -5607,6 +5659,7 @@ }, "CreateArticleRequest": { "docs": "You can create an Article", + "inline": undefined, "properties": { "author_id": { "docs": "The id of the author of the article. For multilingual articles, this will be the id of the author of the default language's content. Must be a teammate on the help center's workspace.", @@ -5659,6 +5712,7 @@ "CreateMessageRequestOne": "unknown", "CreateOrUpdateCompanyRequest": { "docs": "You can create or update a Company", + "inline": undefined, "properties": { "company_id": { "docs": "The company id you have defined for the company. Can't be updated", @@ -5703,6 +5757,7 @@ }, "CreateOrUpdateTagRequest": { "docs": "You can create or update an existing tag.", + "inline": undefined, "properties": { "id": { "docs": "The id of tag to updates.", @@ -5719,6 +5774,7 @@ }, "CreatePhoneSwitchRequest": { "docs": "You can create an phone switch", + "inline": undefined, "properties": { "custom_attributes": { "type": "optional", @@ -5736,6 +5792,7 @@ "docs": "The request payload for creating a ticket type. You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet](https://twemoji-cheatsheet.vercel.app/) ", + "inline": undefined, "properties": { "category": { "docs": "Category of the Ticket Type.", @@ -5782,6 +5839,7 @@ "docs": "Cursor-based pagination is a technique used in the Intercom API to navigate through large amounts of data. A "cursor" or pointer is used to keep track of the current position in the result set, allowing the API to return the data in small chunks or "pages" as needed. ", + "inline": undefined, "properties": { "next": { "type": "optional", @@ -5815,6 +5873,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -5829,6 +5888,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -5846,6 +5906,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "CustomerRequestIntercomUserId": { "docs": undefined, + "inline": true, "properties": { "intercom_user_id": { "docs": "The identifier for the contact as given by Intercom.", @@ -5858,6 +5919,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "CustomerRequestUserId": { "docs": undefined, + "inline": true, "properties": { "user_id": { "docs": "The external_id you have defined for the contact who is being added as a participant.", @@ -5870,6 +5932,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "DataAttributeList": { "docs": "A list of all data attributes belonging to a workspace for contacts, companies or conversations.", + "inline": undefined, "properties": { "data": { "docs": "A list of data attributes", @@ -5886,6 +5949,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "DataEventSummary": { "docs": "This will return a summary of data events for the App.", + "inline": undefined, "properties": { "email": { "docs": "The email address of the user", @@ -5914,6 +5978,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "DataEventSummaryItem": { "docs": "This will return a summary of a data event for the App.", + "inline": undefined, "properties": { "count": { "docs": "The number of times the event was sent", @@ -5942,6 +6007,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "DeletedArticleObject": { "docs": "Response returned when an object is deleted", + "inline": undefined, "properties": { "deleted": { "docs": "Whether the article was deleted successfully or not.", @@ -5962,6 +6028,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "DeletedCollectionObject": { "docs": "Response returned when an object is deleted", + "inline": undefined, "properties": { "deleted": { "docs": "Whether the collection was deleted successfully or not.", @@ -5982,6 +6049,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "DeletedCompanyObject": { "docs": "Response returned when an object is deleted", + "inline": undefined, "properties": { "deleted": { "docs": "Whether the company was deleted successfully or not.", @@ -6002,6 +6070,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "DeletedObject": { "docs": "Response returned when an object is deleted", + "inline": undefined, "properties": { "deleted": { "docs": "Whether the news item was deleted successfully or not.", @@ -6022,6 +6091,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "Email": { "docs": undefined, + "inline": true, "properties": { "email": { "docs": "The email you have defined for the contact who is being added as a participant.", @@ -6034,6 +6104,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "Error": { "docs": "The API will return an Error List for a failed request, which will contain one or more Error objects.", + "inline": undefined, "properties": { "errors": { "docs": "An array of one or more error objects", @@ -6060,6 +6131,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "ErrorErrorsItem": { "docs": undefined, + "inline": true, "properties": { "code": { "docs": "A string indicating the kind of error, used to further qualify the HTTP response code", @@ -6080,6 +6152,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "File": { "docs": "The value describing a file upload set for a custom attribute", + "inline": undefined, "properties": { "content_type": { "docs": "The type of file", @@ -6115,6 +6188,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "GroupContent": { "docs": "The Content of a Group.", + "inline": undefined, "properties": { "description": { "docs": "The description of the collection. Only available for collections.", @@ -6135,6 +6209,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "GroupTranslatedContent": { "docs": "The Translated Content of an Group. The keys are the locale codes and the values are the translated content of the Group.", + "inline": undefined, "properties": { "ar": { "docs": "The content of the group in Arabic", @@ -6295,6 +6370,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "LinkedObject": { "docs": "A linked conversation or ticket.", + "inline": undefined, "properties": { "category": { "docs": "Category of the Linked Ticket Object.", @@ -6315,6 +6391,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "LinkedObjectList": { "docs": "An object containing metadata about linked conversations and linked tickets. Up to 1000 can be returned.", + "inline": undefined, "properties": { "data": { "docs": "An array containing the linked conversations and linked tickets.", @@ -6349,6 +6426,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "MultipleFilterSearchRequest": { "docs": "Search using Intercoms Search APIs with more than one filter.", + "inline": undefined, "properties": { "operator": { "docs": "An operator to allow boolean inspection between multiple fields.", @@ -6376,6 +6454,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -6392,6 +6471,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "NewsItemRequest": { "docs": "A News Item is a content type in Intercom enabling you to announce product updates, company news, promotions, events and more with your customers.", + "inline": undefined, "properties": { "body": { "docs": "The news item body, which may contain HTML.", @@ -6442,6 +6522,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "NoteList": { "docs": "A paginated list of notes associated with a contact.", + "inline": undefined, "properties": { "data": { "docs": "An array of notes.", @@ -6465,6 +6546,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "OpenConversationRequest": { "docs": "Payload of the request to open a conversation", + "inline": undefined, "properties": { "admin_id": { "docs": "The id of the admin who is performing the action.", @@ -6480,6 +6562,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul Their responses are likely to contain a pages object that hosts pagination links which a client can use to paginate through the data without having to construct a query. The link relations for the pages field are as follows. ", + "inline": undefined, "properties": { "next": { "docs": "A link to the next page of results. A response that does not contain a next link does not have further data to fetch.", @@ -6510,6 +6593,7 @@ Their responses are likely to contain a pages object that hosts pagination links }, "PaginatedResponse": { "docs": "Paginated Response", + "inline": undefined, "properties": { "data": { "docs": "An array of Objects", @@ -6564,6 +6648,7 @@ Their responses are likely to contain a pages object that hosts pagination links }, "PartAttachment": { "docs": "The file attached to a part", + "inline": undefined, "properties": { "content_type": { "docs": "The content type of the attachment", @@ -6600,6 +6685,7 @@ Their responses are likely to contain a pages object that hosts pagination links }, "PhoneSwitch": { "docs": "Phone Switch Response", + "inline": undefined, "properties": { "phone": { "docs": "Phone number in E.164 format, that has received the SMS to continue the conversation in the Messenger.", @@ -6636,6 +6722,7 @@ Their responses are likely to contain a pages object that hosts pagination links }, "RedactConversationRequestConversationPart": { "docs": "Payload of the request to redact a conversation part", + "inline": true, "properties": { "conversation_id": { "docs": "The id of the conversation.", @@ -6652,6 +6739,7 @@ Their responses are likely to contain a pages object that hosts pagination links }, "RedactConversationRequestSource": { "docs": "Payload of the request to redact a conversation source", + "inline": true, "properties": { "conversation_id": { "docs": "The id of the conversation.", @@ -6668,6 +6756,7 @@ Their responses are likely to contain a pages object that hosts pagination links }, "Reference": { "docs": "reference to another object", + "inline": undefined, "properties": { "id": { "docs": "", @@ -6686,6 +6775,7 @@ Their responses are likely to contain a pages object that hosts pagination links "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -6700,6 +6790,7 @@ Their responses are likely to contain a pages object that hosts pagination links }, "SearchRequest": { "docs": "Search using Intercoms Search APIs.", + "inline": undefined, "properties": { "pagination": { "type": "optional", @@ -6714,6 +6805,7 @@ Their responses are likely to contain a pages object that hosts pagination links "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -6728,6 +6820,7 @@ Their responses are likely to contain a pages object that hosts pagination links }, "SegmentList": { "docs": "This will return a list of Segment Objects. The result may also have a pages object if the response is paginated.", + "inline": undefined, "properties": { "pages": { "docs": "A pagination object, which may be empty, indicating no further pages to fetch.", @@ -6748,6 +6841,7 @@ Their responses are likely to contain a pages object that hosts pagination links }, "Segments": { "docs": "A list of segments objects attached to a specific contact.", + "inline": undefined, "properties": { "data": { "docs": "Segment objects associated with the contact.", @@ -6764,6 +6858,7 @@ Their responses are likely to contain a pages object that hosts pagination links }, "SingleFilterSearchRequest": { "docs": "Search using Intercoms Search APIs with a single filter.", + "inline": undefined, "properties": { "field": { "docs": "The accepted field that you want to search on.", @@ -6816,6 +6911,7 @@ Their responses are likely to contain a pages object that hosts pagination links "docs": "The SLA Applied object contains the details for which SLA has been applied to this conversation. Important: if there are any canceled sla_events for the conversation - meaning an SLA has been manually removed from a conversation, the sla_status will always be returned as null. ", + "inline": undefined, "properties": { "sla_name": { "docs": "The name of the SLA as given by the teammate when it was created.", @@ -6854,6 +6950,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "SnoozeConversationRequest": { "docs": "Payload of the request to snooze a conversation", + "inline": undefined, "properties": { "admin_id": { "docs": "The id of the admin who is performing the action.", @@ -6870,6 +6967,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "SocialProfile": { "docs": "A Social Profile allows you to label your contacts, companies, and conversations and list them using that Social Profile.", + "inline": undefined, "properties": { "name": { "docs": "The name of the Social media profile", @@ -6896,6 +6994,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "StartingAfterPaging": { "docs": undefined, + "inline": undefined, "properties": { "per_page": { "docs": "The number of results to fetch per page.", @@ -6912,6 +7011,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "SubscriptionTypeList": { "docs": "A list of subscription type objects.", + "inline": undefined, "properties": { "data": { "docs": "A list of subscription type objects associated with the workspace .", @@ -6928,6 +7028,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TagCompanyRequest": { "docs": "You can tag a single company or a list of companies.", + "inline": undefined, "properties": { "companies": { "docs": "The id or company_id of the company can be passed as input parameters.", @@ -6944,6 +7045,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TagCompanyRequestCompaniesItem": { "docs": undefined, + "inline": true, "properties": { "company_id": { "docs": "The company id you have defined for the company.", @@ -6960,6 +7062,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TagMultipleUsersRequest": { "docs": "You can tag a list of users.", + "inline": undefined, "properties": { "name": { "docs": "The name of the tag, which will be created if not found.", @@ -6973,6 +7076,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TagMultipleUsersRequestUsersItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The Intercom defined id representing the user.", @@ -6985,6 +7089,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "Tags": { "docs": "A list of tags objects associated with a conversation", + "inline": undefined, "properties": { "tags": { "docs": "A list of tags objects associated with the conversation.", @@ -7001,6 +7106,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TeamList": { "docs": "This will return a list of team objects for the App.", + "inline": undefined, "properties": { "teams": { "docs": "A list of team objects", @@ -7017,6 +7123,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TeamPriorityLevel": { "docs": "Admin priority levels for teams", + "inline": undefined, "properties": { "primary_team_ids": { "docs": "The primary team ids for the team", @@ -7039,6 +7146,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -7054,6 +7162,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TicketList": { "docs": "Tickets are how you track requests from your users.", + "inline": undefined, "properties": { "pages": { "type": "optional", @@ -7077,6 +7186,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TicketPartAuthor": { "docs": "The author that wrote or triggered the part. Can be a bot, admin, team or user.", + "inline": undefined, "properties": { "email": { "docs": "The email of the author", @@ -7119,6 +7229,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TicketParts": { "docs": "A list of Ticket Part objects for each note and event in the ticket. There is a limit of 500 parts.", + "inline": undefined, "properties": { "ticket_parts": { "docs": "A list of Ticket Part objects for each ticket. There is a limit of 500 parts.", @@ -7139,6 +7250,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TicketReply": { "docs": "A Ticket Part representing a note, comment, or quick_reply on a ticket", + "inline": undefined, "properties": { "attachments": { "docs": "A list of attachments for the part.", @@ -7199,6 +7311,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -7211,6 +7324,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TicketTypeAttribute": { "docs": "Ticket type attribute, used to define each data field to be captured in a ticket.", + "inline": undefined, "properties": { "archived": { "docs": "Whether the ticket type attribute is archived or not.", @@ -7291,6 +7405,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TicketTypeAttributeList": { "docs": "A list of attributes associated with a given ticket type.", + "inline": undefined, "properties": { "ticket_type_attributes": { "docs": "A list of ticket type attributes associated with a given ticket type.", @@ -7307,6 +7422,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TicketTypeList": { "docs": "A list of ticket types associated with a given workspace.", + "inline": undefined, "properties": { "ticket_types": { "docs": "A list of ticket_types associated with a given workspace.", @@ -7323,6 +7439,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "Translation": { "docs": "A translation object contains the localised details of a subscription type.", + "inline": undefined, "properties": { "description": { "docs": "The localised description of the subscription type.", @@ -7343,6 +7460,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "UntagCompanyRequest": { "docs": "You can tag a single company or a list of companies.", + "inline": undefined, "properties": { "companies": { "docs": "The id or company_id of the company can be passed as input parameters.", @@ -7359,6 +7477,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "UntagCompanyRequestCompaniesItem": { "docs": undefined, + "inline": true, "properties": { "company_id": { "docs": "The company id you have defined for the company.", @@ -7379,6 +7498,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "UpdateArticleRequest": { "docs": "You can Update an Article", + "inline": undefined, "properties": { "author_id": { "docs": "The id of the author of the article. For multilingual articles, this will be the id of the author of the default language's content. Must be a teammate on the help center's workspace.", @@ -7430,6 +7550,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a "docs": "The request payload for updating a ticket type. You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet](https://twemoji-cheatsheet.vercel.app/) ", + "inline": undefined, "properties": { "archived": { "docs": "The archived status of the ticket type.", @@ -7479,6 +7600,7 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( "UpdateVisitorRequestOne": "unknown", "Visitor": { "docs": "Visitors are useful for representing anonymous people that have not yet been identified. They usually represent website visitors. Visitors are not visible in Intercom platform. The Visitors resource provides methods to fetch, update, convert and delete.", + "inline": undefined, "properties": { "anonymous": { "docs": "Identifies if this visitor is anonymous.", @@ -7489,11 +7611,9 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( "type": "optional", }, "avatar": { - "inline": true, "type": "optional", }, "companies": { - "inline": true, "type": "optional", }, "created_at": { @@ -7531,7 +7651,6 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( "type": "optional", }, "location_data": { - "inline": true, "type": "optional", }, "marked_email_as_spam": { @@ -7563,7 +7682,6 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( "type": "optional", }, "segments": { - "inline": true, "type": "optional", }, "session_count": { @@ -7575,11 +7693,9 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( "type": "optional", }, "social_profiles": { - "inline": true, "type": "optional", }, "tags": { - "inline": true, "type": "optional", }, "type": { @@ -7626,6 +7742,7 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( }, "VisitorAvatar": { "docs": undefined, + "inline": true, "properties": { "image_url": { "docs": "This object represents the avatar associated with the visitor.", @@ -7649,6 +7766,7 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( }, "VisitorCompanies": { "docs": undefined, + "inline": true, "properties": { "companies": "optional>", "type": { @@ -7662,6 +7780,7 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( }, "VisitorLocationData": { "docs": undefined, + "inline": true, "properties": { "city_name": { "docs": "The city name of the visitor.", @@ -7703,6 +7822,7 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( }, "VisitorSegments": { "docs": undefined, + "inline": true, "properties": { "segments": "optional>", "type": { @@ -7716,6 +7836,7 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( }, "VisitorSocialProfiles": { "docs": undefined, + "inline": true, "properties": { "social_profiles": "optional>", "type": { @@ -7729,6 +7850,7 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( }, "VisitorTags": { "docs": undefined, + "inline": true, "properties": { "tags": "optional>", "type": { @@ -7742,6 +7864,7 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( }, "VisitorTagsTagsItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The id of the tag.", @@ -10011,6 +10134,7 @@ types: docs: The IP address of the admin. source: openapi: ../openapi.yml + inline: true ActivityLogActivityType: enum: - admin_assignment_limit_change @@ -10091,7 +10215,6 @@ types: performed_by: type: optional docs: Details about the Admin involved in the activity. - inline: true metadata: type: optional created_at: @@ -10255,6 +10378,7 @@ types: format: uuid source: openapi: ../openapi.yml + inline: true AdminReplyTicketRequest: docs: Payload of the request to reply on behalf of an admin properties: @@ -10301,6 +10425,7 @@ types: format: uri source: openapi: ../openapi.yml + inline: true Admin: docs: Admins are the teammate accounts that have access to a workspace properties: @@ -10338,7 +10463,6 @@ types: avatar: type: optional docs: This object represents the avatar associated with the admin. - inline: true email_verified: type: optional docs: Identifies if this admin's email is verified. @@ -10885,6 +11009,7 @@ types: participant. source: openapi: ../openapi.yml + inline: true ContactReplyIntercomUserIdRequest: docs: >- Payload of the request to reply on behalf of a contact using their @@ -11535,6 +11660,7 @@ types: docs: The identifier for the contact as given by Intercom. source: openapi: ../openapi.yml + inline: true CustomerRequestUserId: properties: user_id: @@ -11544,6 +11670,7 @@ types: a participant. source: openapi: ../openapi.yml + inline: true CustomerRequest: discriminated: false union: @@ -11680,6 +11807,7 @@ types: was in error. source: openapi: ../openapi.yml + inline: true Error: docs: >- The API will return an Error List for a failed request, which will contain @@ -11916,6 +12044,7 @@ types: type: list source: openapi: ../openapi.yml + inline: true MultipleFilterSearchRequest: docs: Search using Intercoms Search APIs with more than one filter. properties: @@ -12110,6 +12239,7 @@ types: docs: The id of the conversation_part. source: openapi: ../openapi.yml + inline: true RedactConversationRequestSource: docs: Payload of the request to redact a conversation source properties: @@ -12121,6 +12251,7 @@ types: docs: The id of the source. source: openapi: ../openapi.yml + inline: true RedactConversationRequest: discriminant: type base-properties: {} @@ -12158,6 +12289,7 @@ types: - type: MultipleFilterSearchRequest source: openapi: ../openapi.yml + inline: true SearchRequest: docs: Search using Intercoms Search APIs. properties: @@ -12316,6 +12448,7 @@ types: docs: The company id you have defined for the company. source: openapi: ../openapi.yml + inline: true TagCompanyRequest: docs: You can tag a single company or a list of companies. properties: @@ -12345,6 +12478,7 @@ types: docs: The Intercom defined id representing the user. source: openapi: ../openapi.yml + inline: true TagMultipleUsersRequest: docs: You can tag a list of users. properties: @@ -12639,6 +12773,7 @@ types: docs: Always set to true source: openapi: ../openapi.yml + inline: true UntagCompanyRequest: docs: You can tag a single company or a list of companies. properties: @@ -12757,6 +12892,7 @@ types: format: uri source: openapi: ../openapi.yml + inline: true VisitorCompanies: properties: type: @@ -12765,6 +12901,7 @@ types: companies: optional> source: openapi: ../openapi.yml + inline: true VisitorLocationData: properties: type: @@ -12794,6 +12931,7 @@ types: docs: The timezone of the visitor. source: openapi: ../openapi.yml + inline: true VisitorSocialProfiles: properties: type: @@ -12802,6 +12940,7 @@ types: social_profiles: optional> source: openapi: ../openapi.yml + inline: true VisitorTagsTagsItem: properties: type: @@ -12815,6 +12954,7 @@ types: docs: The name of the tag. source: openapi: ../openapi.yml + inline: true VisitorTags: properties: type: @@ -12823,6 +12963,7 @@ types: tags: optional> source: openapi: ../openapi.yml + inline: true VisitorSegments: properties: type: @@ -12831,6 +12972,7 @@ types: segments: optional> source: openapi: ../openapi.yml + inline: true Visitor: docs: >- Visitors are useful for representing anonymous people that have not yet @@ -12867,16 +13009,13 @@ types: docs: The pseudonym of the visitor. avatar: type: optional - inline: true app_id: type: optional docs: The id of the app the visitor is associated with. companies: type: optional - inline: true location_data: type: optional - inline: true las_request_at: type: optional docs: The time the Lead last recorded making a request. @@ -12897,7 +13036,6 @@ types: docs: The number of sessions the Visitor has had. social_profiles: type: optional - inline: true owner_id: type: optional docs: The id of the admin that owns the Visitor. @@ -12912,10 +13050,8 @@ types: docs: Identifies if this visitor has had a hard bounce. tags: type: optional - inline: true segments: type: optional - inline: true custom_attributes: type: optional> docs: The custom attributes you have set on the Visitor. @@ -13368,6 +13504,7 @@ You can view the currently authorised admin along with the embedded app object ( "types": { "Admin": { "docs": "Admins are teammate accounts that have access to a workspace.", + "inline": undefined, "properties": { "avatar": { "docs": "Image for the associated team or teammate", @@ -13780,6 +13917,7 @@ types: "types": { "AiAgent": { "docs": "Data related to AI Agent involvement in the conversation.", + "inline": undefined, "properties": { "content_sources": { "type": "optional", @@ -13885,6 +14023,7 @@ imports: "types": { "ContentSource": { "docs": "The content source used by AI Agent in the conversation.", + "inline": undefined, "properties": { "content_type": { "docs": "The type of the content source.", @@ -16520,6 +16659,7 @@ imports: "extends": [ "Articles", ], + "inline": undefined, "properties": { "statistics": { "type": "optional", @@ -16542,6 +16682,7 @@ imports: }, "ArticleSearchHighlights": { "docs": "The highlighted results of an Article search. In the examples provided my search query is always "my query".", + "inline": undefined, "properties": { "article_id": { "docs": "The ID of the corresponding article.", @@ -16562,6 +16703,7 @@ imports: }, "ArticleSearchHighlightsHighlightedSummaryItemItem": { "docs": "An instance of highlighted summary text.", + "inline": true, "properties": { "text": { "docs": "The text of the title.", @@ -16588,6 +16730,7 @@ imports: }, "ArticleSearchHighlightsHighlightedTitleItem": { "docs": "A highlighted article title.", + "inline": true, "properties": { "text": { "docs": "The text of the title.", @@ -16614,10 +16757,10 @@ imports: }, "ArticleSearchResponse": { "docs": "The results of an Article search", + "inline": undefined, "properties": { "data": { "docs": "An object containing the results of the search.", - "inline": true, "type": "optional", }, "pages": { @@ -16638,6 +16781,7 @@ imports: }, "ArticleSearchResponseData": { "docs": "An object containing the results of the search.", + "inline": true, "properties": { "articles": { "docs": "An array of Article objects", @@ -16654,6 +16798,7 @@ imports: }, "Articles": { "docs": "The data returned about your articles when you list them.", + "inline": undefined, "properties": { "author_id": { "docs": "The id of the author of the article. For multilingual articles, this will be the id of the author of the default language's content. Must be a teammate on the help center's workspace.", @@ -19115,6 +19260,7 @@ types: docs: The text of the title. source: openapi: ../openapi.yml + inline: true ArticleSearchHighlightsHighlightedSummaryItemItemType: enum: - highlight @@ -19133,6 +19279,7 @@ types: docs: The text of the title. source: openapi: ../openapi.yml + inline: true ArticleSearchHighlights: docs: >- The highlighted results of an Article search. In the examples provided my @@ -19161,6 +19308,7 @@ types: docs: A corresponding array of highlighted Article content source: openapi: ../openapi.yml + inline: true ArticleSearchResponse: docs: The results of an Article search properties: @@ -19173,7 +19321,6 @@ types: data: type: optional docs: An object containing the results of the search. - inline: true pages: type: optional source: @@ -20291,6 +20438,7 @@ You can fetch all companies and filter by `segment_id` or `tag_id` as a query pa "types": { "Company": { "docs": "Companies allow you to represent organizations using your product. Each company will have its own description and be associated with contacts. You can fetch, create, update and list companies.", + "inline": undefined, "properties": { "app_id": { "docs": "The Intercom defined code of the workspace the company is associated to.", @@ -20329,7 +20477,6 @@ You can fetch all companies and filter by `segment_id` or `tag_id` as a query pa "type": "optional", }, "plan": { - "inline": true, "type": "optional", }, "remote_created_at": { @@ -20338,7 +20485,6 @@ You can fetch all companies and filter by `segment_id` or `tag_id` as a query pa }, "segments": { "docs": "The list of segments associated with the company", - "inline": true, "type": "optional", }, "session_count": { @@ -20351,7 +20497,6 @@ You can fetch all companies and filter by `segment_id` or `tag_id` as a query pa }, "tags": { "docs": "The list of tags associated with the company", - "inline": true, "type": "optional", }, "type": { @@ -20377,6 +20522,7 @@ You can fetch all companies and filter by `segment_id` or `tag_id` as a query pa }, "CompanyPlan": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The id of the plan", @@ -20397,6 +20543,7 @@ You can fetch all companies and filter by `segment_id` or `tag_id` as a query pa }, "CompanySegments": { "docs": "The list of segments associated with the company", + "inline": true, "properties": { "segments": "optional>", "type": { @@ -20410,6 +20557,7 @@ You can fetch all companies and filter by `segment_id` or `tag_id` as a query pa }, "CompanyTags": { "docs": "The list of tags associated with the company", + "inline": true, "properties": { "tags": "optional>", "type": { @@ -21271,6 +21419,7 @@ types: docs: The name of the plan source: openapi: ../openapi.yml + inline: true CompanyTags: docs: The list of tags associated with the company properties: @@ -21280,6 +21429,7 @@ types: tags: optional> source: openapi: ../openapi.yml + inline: true CompanySegments: docs: The list of segments associated with the company properties: @@ -21289,6 +21439,7 @@ types: segments: optional> source: openapi: ../openapi.yml + inline: true Company: docs: >- Companies allow you to represent organizations using your product. Each @@ -21311,7 +21462,6 @@ types: to. plan: type: optional - inline: true company_id: type: optional docs: The company id you have defined for the company. @@ -21351,11 +21501,9 @@ types: tags: type: optional docs: The list of tags associated with the company - inline: true segments: type: optional docs: The list of segments associated with the company - inline: true source: openapi: ../openapi.yml ", @@ -22663,6 +22811,7 @@ The data property will show a combined list of: "types": { "Contact": { "docs": "Contact are the objects that represent your leads and users in Intercom.", + "inline": undefined, "properties": { "android_app_name": { "docs": "The name of the Android app which the contact is using.", @@ -22689,7 +22838,6 @@ The data property will show a combined list of: "type": "optional", }, "avatar": { - "inline": true, "type": "optional", }, "browser": { @@ -22850,6 +22998,7 @@ The data property will show a combined list of: }, "ContactAvatar": { "docs": undefined, + "inline": true, "properties": { "image_url": { "docs": "An image URL containing the avatar of a contact.", @@ -24008,6 +24157,7 @@ types: format: uri source: openapi: ../openapi.yml + inline: true Contact: docs: Contact are the objects that represent your leads and users in Intercom. properties: @@ -24143,7 +24293,6 @@ types: docs: The custom attributes which are set for the contact. avatar: type: optional - inline: true tags: type: optional notes: @@ -25163,10 +25312,7 @@ This will return the Message model that has been created. "docs": "The content of the message. HTML is not supported.", "type": "string", }, - "from": { - "inline": true, - "type": "CreateConversationRequestFrom", - }, + "from": "CreateConversationRequestFrom", }, }, "content-type": "application/json", @@ -29270,6 +29416,7 @@ If you want to reply to a coveration or take an action such as assign, unassign, "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -29287,6 +29434,7 @@ If you want to reply to a coveration or take an action such as assign, unassign, }, "AttachContactToConversationRequestCustomerIntercomUserId": { "docs": undefined, + "inline": true, "properties": { "customer": { "type": "optional", @@ -29302,6 +29450,7 @@ If you want to reply to a coveration or take an action such as assign, unassign, }, "AttachContactToConversationRequestCustomerUserId": { "docs": undefined, + "inline": true, "properties": { "customer": { "type": "optional", @@ -29317,6 +29466,7 @@ If you want to reply to a coveration or take an action such as assign, unassign, }, "Conversation": { "docs": "Conversations are how you can communicate with users in Intercom. They are created when a contact replies to an outbound message, or when one admin directly sends a message to a single contact.", + "inline": undefined, "properties": { "admin_assignee_id": { "docs": "The id of the admin assigned to the conversation. If it's not assigned to an admin it will return null.", @@ -29438,6 +29588,7 @@ If you want to reply to a coveration or take an action such as assign, unassign, }, "CreateConversationRequestFrom": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The identifier for the contact which is given by Intercom.", @@ -29471,6 +29622,7 @@ If you want to reply to a coveration or take an action such as assign, unassign, }, "Email": { "docs": undefined, + "inline": true, "properties": { "customer": { "type": "optional", @@ -29606,9 +29758,7 @@ service: name: CreateConversationRequest body: properties: - from: - type: CreateConversationRequestFrom - inline: true + from: CreateConversationRequestFrom body: type: string docs: The content of the message. HTML is not supported. @@ -33680,6 +33830,7 @@ types: maxLength: 24 source: openapi: ../openapi.yml + inline: true ManageConversationRequestBody: discriminant: message_type base-properties: {} @@ -33703,6 +33854,7 @@ types: type: optional source: openapi: ../openapi.yml + inline: true AttachContactToConversationRequestCustomerUserId: properties: user_id: @@ -33714,6 +33866,7 @@ types: type: optional source: openapi: ../openapi.yml + inline: true Email: properties: email: @@ -33725,6 +33878,7 @@ types: type: optional source: openapi: ../openapi.yml + inline: true AttachContactToConversationRequestCustomer: discriminated: false union: @@ -33733,6 +33887,7 @@ types: - type: Email source: openapi: ../openapi.yml + inline: true ConversationState: enum: - open @@ -33840,6 +33995,7 @@ types: "types": { "CustomObjectInstance": { "docs": "A Custom Object Instance represents an instance of a custom object type. This allows you to create and set custom attributes to store data about your customers that is not already captured by Intercom. The parent object includes recommended default attributes and you can add your own custom attributes.", + "inline": undefined, "properties": { "custom_attributes": { "docs": "The custom attributes you have set on the custom object instance.", @@ -34814,6 +34970,7 @@ You can update a data attribute. }, "DataAttribute": { "docs": "Data Attributes are metadata used to describe your contact, company and conversation models. These include standard and custom attributes. By using the data attributes endpoint, you can get the global list of attributes for your workspace, as well as create and archive custom attributes.", + "inline": undefined, "properties": { "admin_id": { "docs": "Teammate who created the attribute. Only applicable to CDAs", @@ -35948,6 +36105,7 @@ You can optionally define the result page size as well with the `per_page` param "types": { "CreateDataEventSummariesRequestEventSummaries": { "docs": "A list of event summaries for the user. Each event summary should contain the event name, the time the event occurred, and the number of times the event occurred. The event name should be a past tense 'verb-noun' combination, to improve readability, for example `updated-plan`.", + "inline": true, "properties": { "count": { "docs": "The number of times the event occurred.", @@ -35974,6 +36132,7 @@ You can optionally define the result page size as well with the `per_page` param "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -35991,6 +36150,7 @@ You can optionally define the result page size as well with the `per_page` param }, "LisDataEventsRequestFilterEmail": { "docs": undefined, + "inline": true, "properties": { "email": "string", }, @@ -36000,6 +36160,7 @@ You can optionally define the result page size as well with the `per_page` param }, "LisDataEventsRequestFilterIntercomUserId": { "docs": undefined, + "inline": true, "properties": { "intercom_user_id": "string", }, @@ -36009,6 +36170,7 @@ You can optionally define the result page size as well with the `per_page` param }, "LisDataEventsRequestFilterUserId": { "docs": undefined, + "inline": true, "properties": { "user_id": "string", }, @@ -36024,16 +36186,19 @@ You can optionally define the result page size as well with the `per_page` param user_id: string source: openapi: ../openapi.yml + inline: true LisDataEventsRequestFilterIntercomUserId: properties: intercom_user_id: string source: openapi: ../openapi.yml + inline: true LisDataEventsRequestFilterEmail: properties: email: string source: openapi: ../openapi.yml + inline: true LisDataEventsRequestFilter: discriminated: false union: @@ -36066,6 +36231,7 @@ You can optionally define the result page size as well with the `per_page` param docs: The last time the event was sent source: openapi: ../openapi.yml + inline: true imports: root: __package__.yml service: @@ -36503,6 +36669,7 @@ Your exported message data will be streamed continuously back down to you in a g "types": { "DataExport": { "docs": "The data export api is used to view all message sent & viewed in a given timeframe.", + "inline": undefined, "properties": { "download_expires_at": { "docs": "The time after which you will not be able to access the data.", @@ -38152,6 +38319,7 @@ Collections will be returned in descending order on the `updated_at` attribute. "types": { "Collection": { "docs": "Collections are top level containers for Articles within the Help Center.", + "inline": undefined, "properties": { "created_at": { "docs": "The time when the article was created (seconds). For multilingual articles, this will be the timestamp of creation of the default language's content.", @@ -38211,6 +38379,7 @@ Collections will be returned in descending order on the `updated_at` attribute. }, "HelpCenter": { "docs": "Help Centers contain collections", + "inline": undefined, "properties": { "created_at": { "docs": "The time when the Help Center was created.", @@ -38247,6 +38416,7 @@ Collections will be returned in descending order on the `updated_at` attribute. }, "HelpCenterList": { "docs": "A list of Help Centers belonging to the App", + "inline": undefined, "properties": { "data": { "docs": "An array of Help Center objects", @@ -39682,6 +39852,7 @@ This will return the Message model that has been created. "types": { "Message": { "docs": "Message are how you reach out to contacts in Intercom. They are created when an admin sends an outbound message to a contact.", + "inline": undefined, "properties": { "body": { "docs": "The message body, which may contain HTML.", @@ -40461,6 +40632,7 @@ types: "types": { "NewsItem": { "docs": "A News Item is a content type in Intercom enabling you to announce product updates, company news, promotions, events and more with your customers.", + "inline": undefined, "properties": { "body": { "docs": "The news item body, which may contain HTML.", @@ -40540,6 +40712,7 @@ types: Newsfeeds currently cannot be edited through the API, please refer to [this article](https://www.intercom.com/help/en/articles/6362267-getting-started-with-news) to set up your newsfeeds in Intercom. ", + "inline": undefined, "properties": { "created_at": { "docs": "Timestamp for when the newsfeed was created.", @@ -40564,6 +40737,7 @@ Newsfeeds currently cannot be edited through the API, please refer to [this arti }, "NewsfeedAssignment": { "docs": "Assigns a news item to a newsfeed.", + "inline": undefined, "properties": { "newsfeed_id": { "docs": "The unique identifier for the newsfeed which is given by Intercom. Publish dates cannot be in the future, to schedule news items use the dedicated feature in app (see this article).", @@ -41440,6 +41614,7 @@ types: "types": { "Note": { "docs": "Notes allow you to annotate and comment on your contacts.", + "inline": undefined, "properties": { "author": { "docs": "Optional. Represents the Admin that created the note.", @@ -41451,7 +41626,6 @@ types: }, "contact": { "docs": "Represents the contact that the note was created about.", - "inline": true, "type": "optional", }, "created_at": { @@ -41473,6 +41647,7 @@ types: }, "NoteContact": { "docs": "Represents the contact that the note was created about.", + "inline": true, "properties": { "id": { "docs": "The id of the contact.", @@ -41773,6 +41948,7 @@ types: docs: The id of the contact. source: openapi: ../openapi.yml + inline: true Note: docs: Notes allow you to annotate and comment on your contacts. properties: @@ -41788,7 +41964,6 @@ types: contact: type: optional docs: Represents the contact that the note was created about. - inline: true author: type: optional docs: Optional. Represents the Admin that created the note. @@ -41923,6 +42098,7 @@ types: "types": { "Segment": { "docs": "A segment is a group of your contacts defined by the rules that you set.", + "inline": undefined, "properties": { "count": { "docs": "The number of items in the user segment. It's returned when `include_count=true` is included in the request.", @@ -42373,6 +42549,7 @@ This will return a subscription type model for the subscription type that was ad "types": { "SubscriptionType": { "docs": "A subscription type lets customers easily opt out of non-essential communications without missing what's important to them.", + "inline": undefined, "properties": { "consent_type": { "docs": "Describes the type of consent.", @@ -43707,6 +43884,7 @@ This will return a tag object. "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -43727,6 +43905,7 @@ This will return a tag object. }, "Tag": { "docs": "A tag allows you to label your contacts, companies, and conversations and list them using that tag.", + "inline": undefined, "properties": { "applied_at": { "docs": "The time when the tag was applied to the object", @@ -44457,6 +44636,7 @@ types: "types": { "Team": { "docs": "Teams are groups of admins in Intercom.", + "inline": undefined, "properties": { "admin_ids": { "docs": "The list of admin IDs that are a part of the team.", @@ -47120,6 +47300,7 @@ The table below shows the operators you can use to define how you want to search "types": { "Contacts": { "docs": "The list of contacts affected by a ticket.", + "inline": undefined, "properties": { "contacts": { "docs": "The list of contacts affected by this ticket.", @@ -47138,6 +47319,7 @@ The table below shows the operators you can use to define how you want to search "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -47155,6 +47337,7 @@ The table below shows the operators you can use to define how you want to search }, "CreateTicketRequestContactsItemExternalId": { "docs": undefined, + "inline": true, "properties": { "external_id": { "docs": "The external_id you have defined for the contact who is being added as a participant.", @@ -47167,6 +47350,7 @@ The table below shows the operators you can use to define how you want to search }, "Email": { "docs": undefined, + "inline": true, "properties": { "email": { "docs": "The email you have defined for the contact who is being added as a participant. If a contact with this email does not exist, one will be created.", @@ -47179,6 +47363,7 @@ The table below shows the operators you can use to define how you want to search }, "ID": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The identifier for the contact as given by Intercom.", @@ -47193,6 +47378,7 @@ The table below shows the operators you can use to define how you want to search "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -47207,6 +47393,7 @@ The table below shows the operators you can use to define how you want to search }, "Ticket": { "docs": "Tickets are how you track requests from your users.", + "inline": undefined, "properties": { "admin_assignee_id": { "docs": "The id representing the admin assigned to the ticket.", @@ -47300,6 +47487,7 @@ The table below shows the operators you can use to define how you want to search }, "TicketPart": { "docs": "A Ticket Part represents a message in the ticket.", + "inline": undefined, "properties": { "assigned_to": { "docs": "The id of the admin that was assigned the ticket by this ticket_part (null if there has been no change in assignment.)", @@ -47395,6 +47583,7 @@ The table below shows the operators you can use to define how you want to search }, "TicketType": { "docs": "A ticket type, used to define the data fields to be captured in a ticket.", + "inline": undefined, "properties": { "archived": { "docs": "Whether the ticket type is archived or not.", @@ -47460,6 +47649,7 @@ The table below shows the operators you can use to define how you want to search }, "UpdateTicketRequestAssignment": { "docs": undefined, + "inline": true, "properties": { "admin_id": { "docs": "The ID of the admin performing the action.", @@ -47504,6 +47694,7 @@ types: docs: The identifier for the contact as given by Intercom. source: openapi: ../openapi.yml + inline: true CreateTicketRequestContactsItemExternalId: properties: external_id: @@ -47513,6 +47704,7 @@ types: a participant. source: openapi: ../openapi.yml + inline: true Email: properties: email: @@ -47523,6 +47715,7 @@ types: created. source: openapi: ../openapi.yml + inline: true CreateTicketRequestContactsItem: discriminated: false union: @@ -47531,6 +47724,7 @@ types: - type: Email source: openapi: ../openapi.yml + inline: true UpdateTicketRequestState: enum: - in_progress @@ -47551,6 +47745,7 @@ types: 0 to unassign it. source: openapi: ../openapi.yml + inline: true TicketCategory: enum: - Customer @@ -49164,14 +49359,8 @@ docs: Everything about your tickets "docs": "Represents the role of the Contact model. Accepts `lead` or `user`.", "type": "string", }, - "user": { - "inline": true, - "type": "unknown", - }, - "visitor": { - "inline": true, - "type": "unknown", - }, + "user": "unknown", + "visitor": "unknown", }, }, "content-type": "application/json", @@ -49881,12 +50070,8 @@ service: docs: >- Represents the role of the Contact model. Accepts `lead` or `user`. - user: - type: unknown - inline: true - visitor: - type: unknown - inline: true + user: unknown + visitor: unknown content-type: application/json response: docs: successful diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/permit.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/permit.json index f6ffd9a1a54..5afedc6c120 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/permit.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/permit.json @@ -1234,6 +1234,7 @@ "types": { "ActionBlockEditable": { "docs": undefined, + "inline": undefined, "properties": { "attributes": { "type": "optional>", @@ -1253,6 +1254,7 @@ }, "ActionBlockRead": { "docs": undefined, + "inline": undefined, "properties": { "attributes": { "type": "optional>", @@ -1286,6 +1288,7 @@ }, "AddRolePermissions": { "docs": undefined, + "inline": undefined, "properties": { "permissions": { "docs": "List of permissions to assign to the role. If a permission is already granted to the role it is skipped. Each permission can be either a resource action id, or `{resource_key}:{action_key}`, i.e: the "permission name".", @@ -1298,6 +1301,7 @@ }, "AttributeBlockEditable": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "optional description string explaining what data this attribute will store", @@ -1314,6 +1318,7 @@ }, "AttributeBlockRead": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "optional description string explaining what data this attribute will store", @@ -1358,6 +1363,7 @@ }, "BulkRoleAssignmentReport": { "docs": undefined, + "inline": undefined, "properties": { "assignments_created": { "default": 0, @@ -1370,6 +1376,7 @@ }, "BulkRoleUnAssignmentReport": { "docs": undefined, + "inline": undefined, "properties": { "assignments_removed": { "default": 0, @@ -1382,6 +1389,7 @@ }, "ConditionSetRead": { "docs": undefined, + "inline": undefined, "properties": { "autogenerated": { "default": false, @@ -1484,6 +1492,7 @@ }, "ConditionSetRuleRead": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "Date and time when the condition set rule was created (ISO_8601 format).", @@ -1566,6 +1575,7 @@ }, "EnvironmentCopyScope": { "docs": undefined, + "inline": undefined, "properties": { "resource_sets": { "docs": "Resource sets to copy", @@ -1590,6 +1600,7 @@ }, "EnvironmentCopyScopeFilters": { "docs": undefined, + "inline": undefined, "properties": { "exclude": { "docs": "Object to exclude (use * as wildcard)", @@ -1606,6 +1617,7 @@ }, "EnvironmentCopyTarget": { "docs": undefined, + "inline": undefined, "properties": { "existing": { "docs": "Identifier of an existing environment to copy into", @@ -1622,6 +1634,7 @@ }, "EnvironmentCreate": { "docs": undefined, + "inline": undefined, "properties": { "custom_branch_name": { "docs": "when using gitops feature, an optional branch name for the environment", @@ -1660,6 +1673,7 @@ }, "EnvironmentRead": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "Date and time when the environment was created (ISO_8601 format).", @@ -1730,6 +1744,7 @@ }, "EnvironmentStats": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "Date and time when the environment was created (ISO_8601 format).", @@ -1806,6 +1821,7 @@ }, "HTTPValidationError": { "docs": undefined, + "inline": undefined, "properties": { "detail": { "type": "optional>", @@ -1817,6 +1833,7 @@ }, "IdentityRead": { "docs": undefined, + "inline": undefined, "properties": { "auth0_info": { "docs": "Raw user info json coming from our identity provider and matching a specific account identity", @@ -1855,6 +1872,7 @@ }, "InviteRead": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "Date and time when the invite was created (ISO_8601 format).", @@ -1941,6 +1959,7 @@ }, "JwksObj": { "docs": undefined, + "inline": undefined, "properties": { "keys": { "docs": "The keys to match against the request headers", @@ -1992,6 +2011,7 @@ }, "OrgMemberReadWithGrants": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "Date and time when the account member was created (ISO_8601 format).", @@ -2083,6 +2103,7 @@ }, "OrganizationRead": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "Date and time when the organization was created (ISO_8601 format).", @@ -2125,6 +2146,7 @@ }, "OrganizationReadWithAPIKey": { "docs": undefined, + "inline": undefined, "properties": { "api_key_id": { "type": "optional", @@ -2179,6 +2201,7 @@ }, "PDPConfigRead": { "docs": undefined, + "inline": undefined, "properties": { "client_secret": "string", "environment_id": { @@ -2230,6 +2253,7 @@ }, "PaginatedResultConditionSetRead": { "docs": undefined, + "inline": undefined, "properties": { "data": { "docs": "List of Condition Sets", @@ -2263,6 +2287,7 @@ }, "PaginatedResultResourceRead": { "docs": undefined, + "inline": undefined, "properties": { "data": { "docs": "List of Resources", @@ -2296,6 +2321,7 @@ }, "PaginatedResultResourceRoleRead": { "docs": undefined, + "inline": undefined, "properties": { "data": { "docs": "List of Resource Roles", @@ -2329,6 +2355,7 @@ }, "PaginatedResultRoleRead": { "docs": undefined, + "inline": undefined, "properties": { "data": { "docs": "List of Roles", @@ -2362,6 +2389,7 @@ }, "PaginatedResultTenantRead": { "docs": undefined, + "inline": undefined, "properties": { "data": { "docs": "List of Tenants", @@ -2395,6 +2423,7 @@ }, "PaginatedResultUserRead": { "docs": undefined, + "inline": undefined, "properties": { "data": { "docs": "List of Users", @@ -2428,6 +2457,7 @@ }, "Permission": { "docs": undefined, + "inline": undefined, "properties": { "access_level": { "type": "MemberAccessLevel", @@ -2487,6 +2517,7 @@ }, "ProjectRead": { "docs": undefined, + "inline": undefined, "properties": { "active_policy_repo_id": { "docs": "the id of the policy repo to use for this project", @@ -2564,6 +2595,7 @@ The actions represents the ways you can interact with a protected resource.", }, "RemoveRolePermissions": { "docs": undefined, + "inline": undefined, "properties": { "permissions": { "docs": "List of permissions to remove from the role. If a permission is not found it is skipped. Each permission can be either a resource action id, or `{resource_key}:{action_key}`,i.e: the "permission name".", @@ -2576,6 +2608,7 @@ The actions represents the ways you can interact with a protected resource.", }, "ResourceActionGroupRead": { "docs": undefined, + "inline": undefined, "properties": { "actions": { "type": "optional>", @@ -2667,6 +2700,7 @@ The actions represents the ways you can interact with a protected resource.", }, "ResourceActionRead": { "docs": undefined, + "inline": undefined, "properties": { "attributes": { "docs": "optional dictionary of key-value pairs that can be used to store arbitrary metadata about this action. This metadata can be used to filter actions using query parameters with attr_ prefix", @@ -2753,6 +2787,7 @@ The actions represents the ways you can interact with a protected resource.", }, "ResourceAttributeCreate": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "An optional longer description of what this attribute respresents in your system", @@ -2779,6 +2814,7 @@ The actions represents the ways you can interact with a protected resource.", }, "ResourceAttributeRead": { "docs": undefined, + "inline": undefined, "properties": { "built_in": { "docs": "Whether the attribute is built-in, and managed by the Permit system.", @@ -2865,6 +2901,7 @@ The actions represents the ways you can interact with a protected resource.", }, "ResourceAttributeUpdate": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "An optional longer description of what this attribute respresents in your system", @@ -2881,6 +2918,7 @@ The actions represents the ways you can interact with a protected resource.", }, "ResourceInstanceRead": { "docs": undefined, + "inline": undefined, "properties": { "attributes": { "docs": "Arbitraty resource attributes that will be used to enforce attribute-based access control policies.", @@ -2973,6 +3011,7 @@ The actions represents the ways you can interact with a protected resource.", }, "ResourceRead": { "docs": undefined, + "inline": undefined, "properties": { "action_groups": { "type": "optional>>", @@ -3059,6 +3098,7 @@ The actions represents the ways you can interact with a protected resource.", }, "ResourceRoleList": { "docs": undefined, + "inline": undefined, "properties": { "roles": { "display-name": "Roles", @@ -3071,6 +3111,7 @@ The actions represents the ways you can interact with a protected resource.", }, "ResourceRoleRead": { "docs": undefined, + "inline": undefined, "properties": { "attributes": { "docs": "optional dictionary of key-value pairs that can be used to store arbitrary metadata about this role. This metadata can be used to filter role using query parameters with attr_ prefix, currently supports only 'equals' operator", @@ -3161,6 +3202,7 @@ The actions represents the ways you can interact with a protected resource.", }, "RoleAssignmentCreate": { "docs": undefined, + "inline": undefined, "properties": { "role": { "docs": "the role that will be assigned (accepts either the role id or the role key)", @@ -3181,6 +3223,7 @@ The actions represents the ways you can interact with a protected resource.", }, "RoleAssignmentRead": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "Date and time when the role assignment was created (ISO_8601 format).", @@ -3275,6 +3318,7 @@ The actions represents the ways you can interact with a protected resource.", }, "RoleAssignmentRemove": { "docs": undefined, + "inline": undefined, "properties": { "role": { "docs": "the role that will be unassigned (accepts either the role id or the role key)", @@ -3295,6 +3339,7 @@ The actions represents the ways you can interact with a protected resource.", }, "RoleBlock": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "optional description string explaining what this role represents, or what permissions are granted to it.", @@ -3311,6 +3356,7 @@ The actions represents the ways you can interact with a protected resource.", }, "RoleList": { "docs": undefined, + "inline": undefined, "properties": { "roles": { "display-name": "Roles", @@ -3323,6 +3369,7 @@ The actions represents the ways you can interact with a protected resource.", }, "RoleRead": { "docs": undefined, + "inline": undefined, "properties": { "attributes": { "docs": "optional dictionary of key-value pairs that can be used to store arbitrary metadata about this role. This metadata can be used to filter role using query parameters with attr_ prefix, currently supports only 'equals' operator", @@ -3405,6 +3452,7 @@ The actions represents the ways you can interact with a protected resource.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -3421,6 +3469,7 @@ The actions represents the ways you can interact with a protected resource.", }, "Statistics": { "docs": undefined, + "inline": undefined, "properties": { "has_decision_logs": "boolean", "members": { @@ -3483,6 +3532,7 @@ The actions represents the ways you can interact with a protected resource.", }, "TenantCreate": { "docs": undefined, + "inline": undefined, "properties": { "attributes": { "docs": "Arbitraty tenant attributes that will be used to enforce attribute-based access control policies.", @@ -3513,6 +3563,7 @@ The actions represents the ways you can interact with a protected resource.", }, "TenantCreateBulkOperationResult": { "docs": undefined, + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.json", @@ -3520,6 +3571,7 @@ The actions represents the ways you can interact with a protected resource.", }, "TenantDeleteBulkOperationResult": { "docs": undefined, + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.json", @@ -3527,6 +3579,7 @@ The actions represents the ways you can interact with a protected resource.", }, "TenantRead": { "docs": undefined, + "inline": undefined, "properties": { "attributes": { "docs": "Arbitraty tenant attributes that will be used to enforce attribute-based access control policies.", @@ -3603,6 +3656,7 @@ The actions represents the ways you can interact with a protected resource.", }, "UserCreate": { "docs": undefined, + "inline": undefined, "properties": { "attributes": { "docs": "Arbitrary user attributes that will be used to enforce attribute-based access control policies.", @@ -3643,6 +3697,7 @@ The actions represents the ways you can interact with a protected resource.", }, "UserCreateBulkOperationResult": { "docs": undefined, + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.json", @@ -3650,6 +3705,7 @@ The actions represents the ways you can interact with a protected resource.", }, "UserDeleteBulkOperationResult": { "docs": undefined, + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.json", @@ -3657,6 +3713,7 @@ The actions represents the ways you can interact with a protected resource.", }, "UserInTenant": { "docs": undefined, + "inline": undefined, "properties": { "roles": { "docs": "List of roles assigned to the user in that tenant", @@ -3677,6 +3734,7 @@ The actions represents the ways you can interact with a protected resource.", }, "UserRead": { "docs": undefined, + "inline": undefined, "properties": { "associated_tenants": { "type": "optional>", @@ -3749,7 +3807,6 @@ The actions represents the ways you can interact with a protected resource.", }, "roles": { "availability": "deprecated", - "inline": undefined, "type": "optional>", }, }, @@ -3759,6 +3816,7 @@ The actions represents the ways you can interact with a protected resource.", }, "UserReplaceBulkOperationResult": { "docs": undefined, + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.json", @@ -3766,6 +3824,7 @@ The actions represents the ways you can interact with a protected resource.", }, "UserRole": { "docs": undefined, + "inline": undefined, "properties": { "role": { "docs": "the role that is assigned", @@ -3792,6 +3851,7 @@ The actions represents the ways you can interact with a protected resource.", }, "ValidationError": { "docs": undefined, + "inline": undefined, "properties": { "loc": { "type": "list", @@ -3807,6 +3867,7 @@ The actions represents the ways you can interact with a protected resource.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -5672,6 +5733,7 @@ types: - type: PaginatedResultRoleRead source: openapi: ../openapi.json + inline: true ResourceRoleList: properties: roles: @@ -6164,6 +6226,7 @@ types: - integer source: openapi: ../openapi.json + inline: true ValidationError: properties: loc: @@ -8274,6 +8337,7 @@ Fields that will be provided will be completely overwritten.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -16345,6 +16409,7 @@ Fields that will be provided will be completely overwritten.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -18314,6 +18379,7 @@ Fields that will be provided will be completely overwritten.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -19477,6 +19543,7 @@ Fields that will be provided will be completely overwritten.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/query-params.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/query-params.json index 14a37c51036..7805574f7b8 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/query-params.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/query-params.json @@ -54,12 +54,10 @@ "types": { "SearchRequestFilter": { "docs": undefined, + "inline": undefined, "properties": { "age": "optional", - "location": { - "inline": true, - "type": "optional", - }, + "location": "optional", "name": "optional", }, "source": { @@ -68,12 +66,10 @@ }, "SearchRequestFilterLocation": { "docs": undefined, + "inline": true, "properties": { "city": "optional", - "coordinates": { - "inline": true, - "type": "optional", - }, + "coordinates": "optional", "country": "optional", }, "source": { @@ -82,6 +78,7 @@ }, "SearchRequestFilterLocationCoordinates": { "docs": undefined, + "inline": true, "properties": { "latitude": "optional", "longitude": "optional", @@ -101,6 +98,7 @@ }, "SearchResponse": { "docs": undefined, + "inline": undefined, "properties": { "results": "optional>", }, @@ -117,22 +115,20 @@ longitude: optional source: openapi: ../openapi.yml + inline: true SearchRequestFilterLocation: properties: city: optional country: optional - coordinates: - type: optional - inline: true + coordinates: optional source: openapi: ../openapi.yml + inline: true SearchRequestFilter: properties: name: optional age: optional - location: - type: optional - inline: true + location: optional source: openapi: ../openapi.yml SearchRequestSort: diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/readonly.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/readonly.json index f674df642c1..82e436f7c5a 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/readonly.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/readonly.json @@ -112,6 +112,7 @@ "types": { "UserRead": { "docs": undefined, + "inline": undefined, "properties": { "createdAt": "optional", "email": "optional", @@ -126,6 +127,7 @@ }, "UserSettingsRead": { "docs": undefined, + "inline": undefined, "properties": { "lastModified": "optional", "notifications": "optional", @@ -147,6 +149,7 @@ }, "UserStatsRead": { "docs": undefined, + "inline": undefined, "properties": { "accountStatus": "optional", "lastLoginTime": "optional", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/request-response-description.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/request-response-description.json index 42a5c8e8d06..6026fd7fecf 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/request-response-description.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/request-response-description.json @@ -42,6 +42,7 @@ "types": { "Schema1": { "docs": "Schema 1 description", + "inline": undefined, "properties": { "id": "optional", "name": "optional", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/rightbrain.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/rightbrain.json index a66844bb13a..e3c61c58e6b 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/rightbrain.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/rightbrain.json @@ -5392,6 +5392,7 @@ "types": { "AsyncJobResult": { "docs": undefined, + "inline": undefined, "properties": { "status": "string", "task_id": { @@ -5656,6 +5657,7 @@ }, "BodyFetchOrgOrgIdProjectProjectIdDatasourceBoxConnectionIdFetchPost": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "list", @@ -5667,6 +5669,7 @@ }, "BodyFetchOrgOrgIdProjectProjectIdDatasourceConfluenceConnectionIdFetchPost": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "list", @@ -5678,6 +5681,7 @@ }, "BodyFetchOrgOrgIdProjectProjectIdDatasourceDropboxConnectionIdFetchPost": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "list", @@ -5689,6 +5693,7 @@ }, "BodyFetchOrgOrgIdProjectProjectIdDatasourceGdriveConnectionIdFetchPost": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "list", @@ -5700,6 +5705,7 @@ }, "BodyFetchOrgOrgIdProjectProjectIdDatasourceNotionConnectionIdFetchPost": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "list", @@ -5711,6 +5717,7 @@ }, "BodyFetchOrgOrgIdProjectProjectIdDatasourceOnedriveConnectionIdFetchPost": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "list", @@ -5722,6 +5729,7 @@ }, "BodyFetchOrgOrgIdProjectProjectIdDatasourceSharepointConnectionIdFetchPost": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "list", @@ -5733,6 +5741,7 @@ }, "Chat": { "docs": undefined, + "inline": undefined, "properties": { "collection_id": { "type": "string", @@ -5787,6 +5796,7 @@ }, "ChatConfig": { "docs": undefined, + "inline": undefined, "properties": { "chat_guardrails": { "docs": "Conversational Guardrails can be defined to run against Chat `input` (i.e. the users query) or on Chat `output` (i.e. the LLM output)", @@ -5826,6 +5836,7 @@ }, "ChatDocument": { "docs": undefined, + "inline": undefined, "properties": { "chunks": "integer", "connection_id": { @@ -5875,6 +5886,7 @@ }, "ChatDocumentEmbeddingInstance": { "docs": undefined, + "inline": undefined, "properties": { "chat_document_id": { "type": "string", @@ -5905,6 +5917,7 @@ }, "ChatDocumentEmbeddingRecord": { "docs": undefined, + "inline": undefined, "properties": { "document": "string", "id": { @@ -5923,6 +5936,7 @@ }, "ChatDocumentQueryResult": { "docs": undefined, + "inline": undefined, "properties": { "chat_document_id": { "type": "string", @@ -5976,6 +5990,7 @@ }, "ChatGuardrail": { "docs": undefined, + "inline": undefined, "properties": { "description": "string", "id": { @@ -6097,6 +6112,7 @@ }, "ChatModel": { "docs": undefined, + "inline": undefined, "properties": { "alias": { "docs": "Human readable name for the LLM.", @@ -6252,6 +6268,7 @@ }, "Collection": { "docs": undefined, + "inline": undefined, "properties": { "created": { "type": "datetime", @@ -6336,6 +6353,7 @@ }, "CollectionEmbeddingUpdate": { "docs": undefined, + "inline": undefined, "properties": { "embedding_instance_ids": { "type": "list", @@ -6506,6 +6524,7 @@ }, "CollectionStatsResponse": { "docs": undefined, + "inline": undefined, "properties": { "documents_by_source": { "type": "list", @@ -6518,6 +6537,7 @@ }, "ComposeContent": { "docs": undefined, + "inline": undefined, "properties": { "existing_content": "string", }, @@ -6527,6 +6547,7 @@ }, "ComposeGenerate": { "docs": undefined, + "inline": undefined, "properties": { "structure": { "type": "list", @@ -6538,6 +6559,7 @@ }, "ComposeInit": { "docs": undefined, + "inline": undefined, "properties": { "audience": { "type": "optional", @@ -6590,6 +6612,7 @@ }, "ComposeSectionTalkingPoint": { "docs": undefined, + "inline": undefined, "properties": { "section_heading": "string", }, @@ -6599,6 +6622,7 @@ }, "ComposeSectionUpdate": { "docs": undefined, + "inline": undefined, "properties": { "instructions": { "type": "list", @@ -6615,6 +6639,7 @@ }, "ConversationalGuardrails": { "docs": undefined, + "inline": undefined, "properties": { "input": { "docs": "List of valid Input Conversational Guardrails to enable", @@ -6721,6 +6746,7 @@ }, "Datasource": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "string", @@ -6739,6 +6765,7 @@ }, "DatasourceConfiguration": { "docs": undefined, + "inline": undefined, "properties": { "name": "string", "private": "boolean", @@ -6750,6 +6777,7 @@ }, "DatasourceConnection": { "docs": undefined, + "inline": undefined, "properties": { "config": { "type": "optional>", @@ -6804,6 +6832,7 @@ }, "DatasourceConnectionPublic": { "docs": undefined, + "inline": undefined, "properties": { "config": { "type": "optional>", @@ -6853,6 +6882,7 @@ }, "DatasourceSyncRun": { "docs": undefined, + "inline": undefined, "properties": { "created": { "type": "datetime", @@ -7033,6 +7063,7 @@ }, "DocumentCreateTask": { "docs": undefined, + "inline": undefined, "properties": { "info": { "type": "optional>", @@ -7261,6 +7292,7 @@ }, "DocumentStatusResponse": { "docs": undefined, + "inline": undefined, "properties": { "group_id": "string", "task_count": "integer", @@ -7328,6 +7360,7 @@ }, "EmptyErrorDetails": { "docs": undefined, + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -7677,6 +7710,7 @@ }, "HTTPValidationError": { "docs": undefined, + "inline": undefined, "properties": { "detail": { "type": "optional>", @@ -7688,6 +7722,7 @@ }, "HydraWebhookTokenHookSession": { "docs": undefined, + "inline": undefined, "properties": { "client_id": "string", "id_token": { @@ -7700,6 +7735,7 @@ }, "HydraWebhookTokenHookSessionIDTokenClaims": { "docs": undefined, + "inline": undefined, "properties": { "id_token_claims": { "type": "map", @@ -7711,6 +7747,7 @@ }, "IAMMember": { "docs": undefined, + "inline": undefined, "properties": { "avatar_url": { "docs": "If avatar of the member, if it is supported by their subject type.", @@ -7742,6 +7779,7 @@ Some entities, such as Organizations, may contain members that exist without any }, "IAMObjectErrorDetails": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "optional", @@ -7754,6 +7792,7 @@ Some entities, such as Organizations, may contain members that exist without any }, "IAMPermissionTest": { "docs": undefined, + "inline": undefined, "properties": { "member": { "type": "optional", @@ -7780,6 +7819,7 @@ Some entities, such as Organizations, may contain members that exist without any "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -7792,6 +7832,7 @@ Some entities, such as Organizations, may contain members that exist without any }, "InitialComposeSection": { "docs": undefined, + "inline": undefined, "properties": { "ideas": { "type": "optional>", @@ -7823,6 +7864,7 @@ Some entities, such as Organizations, may contain members that exist without any }, "InputConversationalGuardrailDefinition": { "docs": undefined, + "inline": undefined, "properties": { "name": { "type": "Name", @@ -7834,6 +7876,7 @@ Some entities, such as Organizations, may contain members that exist without any }, "InvalidMemberErrorDetails": { "docs": undefined, + "inline": undefined, "properties": { "resource": { "type": "optional", @@ -7848,6 +7891,7 @@ Some entities, such as Organizations, may contain members that exist without any }, "InvalidMemberErrorResponse": { "docs": undefined, + "inline": undefined, "properties": { "invalidMemberError": { "docs": "Metadata detailing more information about the error.", @@ -7864,6 +7908,7 @@ Some entities, such as Organizations, may contain members that exist without any }, "InvalidRoleErrorDetails": { "docs": undefined, + "inline": undefined, "properties": { "resource": { "type": "optional", @@ -7876,6 +7921,7 @@ Some entities, such as Organizations, may contain members that exist without any }, "InvalidRoleErrorResponse": { "docs": undefined, + "inline": undefined, "properties": { "invalidRoleError": { "docs": "Metadata detailing more information about the error.", @@ -7892,6 +7938,7 @@ Some entities, such as Organizations, may contain members that exist without any }, "InvalidSubjectTypeErrorDetails": { "docs": undefined, + "inline": undefined, "properties": { "subject": { "type": "optional", @@ -7903,6 +7950,7 @@ Some entities, such as Organizations, may contain members that exist without any }, "InvalidSubjectTypeErrorResponse": { "docs": undefined, + "inline": undefined, "properties": { "invalidSubjectTypeError": { "docs": "Metadata detailing more information about the error.", @@ -7920,6 +7968,7 @@ Some entities, such as Organizations, may contain members that exist without any "KratosIdentity": { "docs": undefined, "extra-properties": true, + "inline": undefined, "properties": { "id": { "type": "string", @@ -7939,6 +7988,7 @@ Some entities, such as Organizations, may contain members that exist without any "KratosIdentityTraits": { "docs": undefined, "extra-properties": true, + "inline": undefined, "properties": { "avatar_url": { "type": "optional", @@ -7983,6 +8033,7 @@ Some entities, such as Organizations, may contain members that exist without any }, "KratosWebhook": { "docs": undefined, + "inline": undefined, "properties": { "bio": { "type": "optional", @@ -8031,6 +8082,7 @@ Some entities, such as Organizations, may contain members that exist without any "KratosWebhookDetailedMessage": { "docs": "Sourced from detailedMessage in: https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", + "inline": undefined, "properties": { "context": { "type": "optional", @@ -8048,6 +8100,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", "KratosWebhookErrorMessage": { "docs": "Sourced from errorMessage in: https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", + "inline": undefined, "properties": { "instance_ptr": "string", "messages": { @@ -8061,6 +8114,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", "KratosWebhookResponse": { "docs": "Sourced from rawHookResponse in: https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", + "inline": undefined, "properties": { "identity": { "type": "optional", @@ -8327,6 +8381,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "MalformedResourceIdentifierErrorDetails": { "docs": undefined, + "inline": undefined, "properties": { "expected_format": "string", "field": "string", @@ -8338,6 +8393,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "MalformedResourceIdentifierErrorResponse": { "docs": undefined, + "inline": undefined, "properties": { "malformedResourceIdentifierError": { "docs": "Metadata detailing more information about the error.", @@ -8354,6 +8410,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "MissingAuthenticationErrorResponse": { "docs": undefined, + "inline": undefined, "properties": { "message": { "docs": "Human readable representation of the error", @@ -8370,6 +8427,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "MultipleRolesNotAllowedErrorDetails": { "docs": undefined, + "inline": undefined, "properties": { "resource": { "type": "optional", @@ -8384,6 +8442,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "MultipleRolesNotAllowedErrorResponse": { "docs": undefined, + "inline": undefined, "properties": { "message": { "docs": "Human readable representation of the error", @@ -8409,6 +8468,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "OAuthClientCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "client_id": { "type": "string", @@ -8446,6 +8506,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "Object": { "docs": undefined, + "inline": undefined, "properties": { "createdTime": { "type": "optional", @@ -8497,6 +8558,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "Org": { "docs": undefined, + "inline": undefined, "properties": { "avatar_url": { "type": "optional", @@ -8749,6 +8811,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "OrganizationDomain": { "docs": undefined, + "inline": undefined, "properties": { "domain": "string", "id": { @@ -8893,6 +8956,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "OrganizationInvite": { "docs": undefined, + "inline": undefined, "properties": { "email_address": { "type": "string", @@ -8922,6 +8986,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "OrganizationInviteAlreadyExistsErrorDetails": { "docs": undefined, + "inline": undefined, "properties": { "email_address": "string", "organization_id": "string", @@ -8932,6 +8997,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "OrganizationInviteAlreadyExistsErrorResponse": { "docs": undefined, + "inline": undefined, "properties": { "message": { "docs": "Human readable representation of the error", @@ -8948,6 +9014,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "OrganizationMemberAlreadyExistsErrorDetails": { "docs": undefined, + "inline": undefined, "properties": { "member_id": "string", "organization_id": "string", @@ -8958,6 +9025,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "OrganizationMemberAlreadyExistsErrorResponse": { "docs": undefined, + "inline": undefined, "properties": { "message": { "docs": "Human readable representation of the error", @@ -8974,6 +9042,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "OutputConversationalGuardrailDefinition": { "docs": undefined, + "inline": undefined, "properties": { "name": { "type": "literal<"source_validation">", @@ -8985,6 +9054,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "PaginatedResultSetChat": { "docs": undefined, + "inline": undefined, "properties": { "pagination": { "docs": "Contains pagination information for the result set.", @@ -9001,6 +9071,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "PaginatedResultSetChatDocument": { "docs": undefined, + "inline": undefined, "properties": { "pagination": { "docs": "Contains pagination information for the result set.", @@ -9017,6 +9088,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "PaginatedResultSetChatDocumentEmbeddingRecord": { "docs": undefined, + "inline": undefined, "properties": { "pagination": { "docs": "Contains pagination information for the result set.", @@ -9033,6 +9105,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "PaginatedResultSetCollection": { "docs": undefined, + "inline": undefined, "properties": { "pagination": { "docs": "Contains pagination information for the result set.", @@ -9049,6 +9122,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "PaginatedResultSetDatasourceSyncRun": { "docs": undefined, + "inline": undefined, "properties": { "pagination": { "docs": "Contains pagination information for the result set.", @@ -9065,6 +9139,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "PaginatedResultSetIamMember": { "docs": undefined, + "inline": undefined, "properties": { "pagination": { "docs": "Contains pagination information for the result set.", @@ -9081,6 +9156,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "PaginatedResultSetOrganizationDomain": { "docs": undefined, + "inline": undefined, "properties": { "pagination": { "docs": "Contains pagination information for the result set.", @@ -9097,6 +9173,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "PaginatedResultSetOrganizationInvite": { "docs": undefined, + "inline": undefined, "properties": { "pagination": { "docs": "Contains pagination information for the result set.", @@ -9113,6 +9190,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "PaginatedResultSetProject": { "docs": undefined, + "inline": undefined, "properties": { "pagination": { "docs": "Contains pagination information for the result set.", @@ -9129,6 +9207,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "PaginatedResultSetTask": { "docs": undefined, + "inline": undefined, "properties": { "pagination": { "docs": "Contains pagination information for the result set.", @@ -9145,6 +9224,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "PaginatedResultSetTaskForwarder": { "docs": undefined, + "inline": undefined, "properties": { "pagination": { "docs": "Contains pagination information for the result set.", @@ -9161,6 +9241,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "PaginatedResultSetTaskRun": { "docs": undefined, + "inline": undefined, "properties": { "pagination": { "docs": "Contains pagination information for the result set.", @@ -9177,6 +9258,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "PaginationDetails": { "docs": undefined, + "inline": undefined, "properties": { "has_next": { "docs": "Indicates whether there are more results available in the next page.", @@ -9197,6 +9279,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "PermissionCheckFailedErrorDetails": { "docs": undefined, + "inline": undefined, "properties": { "permission": "string", "resource": { @@ -9212,6 +9295,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "PermissionCheckFailedErrorResponse": { "docs": undefined, + "inline": undefined, "properties": { "message": { "docs": "Human readable representation of the error", @@ -9228,6 +9312,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "Project": { "docs": undefined, + "inline": undefined, "properties": { "avatar_url": { "type": "optional", @@ -9267,6 +9352,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "ProjectConfig": { "docs": undefined, + "inline": undefined, "properties": { "chat_guardrails": { "type": "optional", @@ -9446,6 +9532,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "ProjectWithDatasources": { "docs": undefined, + "inline": undefined, "properties": { "avatar_url": { "type": "optional", @@ -9756,6 +9843,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "SourceRow": { "docs": undefined, + "inline": undefined, "properties": { "count": "integer", "source": { @@ -9790,6 +9878,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "Task": { "docs": undefined, + "inline": undefined, "properties": { "created": { "docs": "When the Task was created.", @@ -9842,6 +9931,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "TaskForwarder": { "docs": undefined, + "inline": undefined, "properties": { "config": { "docs": "Configuration parameters for the Task Forwarder such as a `destination` URL.", @@ -9894,6 +9984,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "TaskForwarderConfig": { "docs": undefined, + "inline": undefined, "properties": { "destination_url": { "docs": "The URL where Task Run result will be forwarded. Must be a valid HTTPS URL.", @@ -9906,6 +9997,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "TaskForwarderSensitiveConfig": { "docs": undefined, + "inline": undefined, "properties": { "signing_key": { "docs": "A secret key used to sign the forwarded data for verification purposes.", @@ -10041,6 +10133,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "TaskLLMConfig": { "docs": undefined, + "inline": undefined, "properties": { "temperature": { "default": 0.2, @@ -10061,6 +10154,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "TaskRAG": { "docs": undefined, + "inline": undefined, "properties": { "collection_id": { "type": "string", @@ -10079,6 +10173,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "TaskRevision": { "docs": undefined, + "inline": undefined, "properties": { "active": { "default": false, @@ -10126,7 +10221,6 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", ], "availability": "pre-release", "docs": "**Note: This is a Paid Tier feature.** Provide additional domain specific input to the LLM so that it is able to reference user specific information when executing the Task. Examples of this could be a product catalogue, terms and conditions or a user manual.", - "inline": undefined, "type": "optional", }, "system_prompt": "unknown", @@ -10218,6 +10312,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "TaskRun": { "docs": undefined, + "inline": undefined, "properties": { "created": { "docs": "The timestamp when the Task Run was created.", @@ -10395,6 +10490,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "User": { "docs": undefined, + "inline": undefined, "properties": { "avatar_url": { "type": "optional", @@ -10428,6 +10524,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "ValidationError": { "docs": undefined, + "inline": undefined, "properties": { "loc": { "type": "list", @@ -10443,6 +10540,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -15797,6 +15895,7 @@ types: - type: KratosIdentity source: openapi: ../openapi.yml + inline: true KratosWebhookResponse: docs: |- Sourced from rawHookResponse in: @@ -16506,6 +16605,7 @@ types: - integer source: openapi: ../openapi.yml + inline: true ValidationError: properties: loc: diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/rules.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/rules.json index 3cafaa6db95..082e1bbf8ef 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/rules.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/rules.json @@ -46,6 +46,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -56,6 +57,7 @@ }, "GetExampleResponseMessage": { "docs": undefined, + "inline": true, "properties": { "message": "optional", }, @@ -65,6 +67,7 @@ }, "Schema": { "docs": undefined, + "inline": undefined, "properties": { "age": { "default": 50, @@ -135,6 +138,7 @@ message: optional source: openapi: ../openapi.yml + inline: true GetExampleResponse: discriminated: false union: diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/seam.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/seam.json index b4a84ec1717..2e4e18fb434 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/seam.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/seam.json @@ -1280,6 +1280,7 @@ "types": { "AccessCode": { "docs": undefined, + "inline": undefined, "properties": { "access_code_id": { "docs": "Unique identifier for the access code.", @@ -1411,6 +1412,7 @@ }, "AcsAccessGroup": { "docs": undefined, + "inline": undefined, "properties": { "access_group_type": { "docs": " @@ -1494,6 +1496,7 @@ }, "AcsCredential": { "docs": undefined, + "inline": undefined, "properties": { "access_method": "AcsCredentialAccessMethod", "acs_credential_id": { @@ -1560,10 +1563,7 @@ }, }, "starts_at": "optional", - "visionline_metadata": { - "inline": true, - "type": "optional", - }, + "visionline_metadata": "optional", "warnings": "list", "workspace_id": { "type": "string", @@ -1591,6 +1591,7 @@ }, "AcsCredentialErrorsItem": { "docs": undefined, + "inline": true, "properties": { "error_code": "string", "message": "string", @@ -1612,6 +1613,7 @@ }, "AcsCredentialPool": { "docs": undefined, + "inline": undefined, "properties": { "acs_credential_pool_id": { "type": "string", @@ -1659,6 +1661,7 @@ }, "AcsCredentialProvisioningAutomation": { "docs": undefined, + "inline": undefined, "properties": { "acs_credential_provisioning_automation_id": { "type": "string", @@ -1704,6 +1707,7 @@ }, "AcsCredentialVisionlineMetadata": { "docs": undefined, + "inline": true, "properties": { "card_function_type": "AcsCredentialVisionlineMetadataCardFunctionType", "common_acs_entrance_ids": "optional>", @@ -1725,6 +1729,7 @@ }, "AcsCredentialWarningsItem": { "docs": undefined, + "inline": true, "properties": { "message": "string", "warning_code": "string", @@ -1735,6 +1740,7 @@ }, "AcsEntrance": { "docs": undefined, + "inline": undefined, "properties": { "acs_entrance_id": { "type": "string", @@ -1757,14 +1763,8 @@ "created_at": "datetime", "display_name": "string", "errors": "list", - "latch_metadata": { - "inline": true, - "type": "optional", - }, - "visionline_metadata": { - "inline": true, - "type": "optional", - }, + "latch_metadata": "optional", + "visionline_metadata": "optional", }, "source": { "openapi": "../openapi.json", @@ -1772,6 +1772,7 @@ }, "AcsEntranceErrorsItem": { "docs": undefined, + "inline": true, "properties": { "error_code": "string", "message": "string", @@ -1782,6 +1783,7 @@ }, "AcsEntranceLatchMetadata": { "docs": undefined, + "inline": true, "properties": { "accessibility_type": "string", "door_name": "string", @@ -1794,6 +1796,7 @@ }, "AcsEntranceVisionlineMetadata": { "docs": undefined, + "inline": true, "properties": { "door_category": "AcsEntranceVisionlineMetadataDoorCategory", "door_name": "string", @@ -1823,6 +1826,7 @@ }, "AcsEntranceVisionlineMetadataProfilesItem": { "docs": undefined, + "inline": true, "properties": { "visionline_door_profile_id": "string", "visionline_door_profile_type": "AcsEntranceVisionlineMetadataProfilesItemVisionlineDoorProfileType", @@ -1843,6 +1847,7 @@ }, "AcsSystem": { "docs": undefined, + "inline": undefined, "properties": { "acs_system_id": { "type": "string", @@ -1912,6 +1917,7 @@ }, "AcsSystemErrorsItemSeamBridgeDisconnected": { "docs": undefined, + "inline": true, "properties": { "created_at": "datetime", "message": "string", @@ -1922,6 +1928,7 @@ }, "AcsSystemErrorsItemVisionlineInstanceUnreachable": { "docs": undefined, + "inline": true, "properties": { "created_at": "datetime", "message": "string", @@ -1967,6 +1974,7 @@ }, "AcsSystemWarningsItem": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.json", @@ -1974,11 +1982,9 @@ }, "AcsUser": { "docs": undefined, + "inline": undefined, "properties": { - "access_schedule": { - "inline": true, - "type": "optional", - }, + "access_schedule": "optional", "acs_system_id": { "type": "string", "validation": { @@ -2056,6 +2062,7 @@ }, "AcsUserAccessSchedule": { "docs": undefined, + "inline": true, "properties": { "ends_at": "datetime", "starts_at": "datetime", @@ -2080,6 +2087,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -2205,6 +2213,7 @@ }, "ActionAttemptActionAttemptId": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2222,10 +2231,7 @@ }, }, "action_type": "literal<"UPDATE_NOISE_THRESHOLD">", - "error": { - "inline": true, - "type": "ActionAttemptActionAttemptIdError", - }, + "error": "ActionAttemptActionAttemptIdError", "result": "optional", "status": "literal<"error">", }, @@ -2235,6 +2241,7 @@ }, "ActionAttemptActionAttemptIdError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -2245,6 +2252,7 @@ }, "ActionAttemptEight": { "docs": "Resetting sandbox workspace failed.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2262,10 +2270,7 @@ }, }, "action_type": "literal<"RESET_SANDBOX_WORKSPACE">", - "error": { - "inline": true, - "type": "ActionAttemptEightError", - }, + "error": "ActionAttemptEightError", "result": "optional", "status": "literal<"error">", }, @@ -2275,6 +2280,7 @@ }, "ActionAttemptEightError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -2285,6 +2291,7 @@ }, "ActionAttemptEighteen": { "docs": "Setting fan mode.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2312,6 +2319,7 @@ }, "ActionAttemptEleven": { "docs": "Setting HVAC to cool failed.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2329,10 +2337,7 @@ }, }, "action_type": "literal<"SET_COOL">", - "error": { - "inline": true, - "type": "ActionAttemptElevenError", - }, + "error": "ActionAttemptElevenError", "result": "optional", "status": "literal<"error">", }, @@ -2342,6 +2347,7 @@ }, "ActionAttemptElevenError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -2352,6 +2358,7 @@ }, "ActionAttemptFifteen": { "docs": "Setting HVAC to heat-cool mode.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2379,6 +2386,7 @@ }, "ActionAttemptFive": { "docs": "Unlocking door failed.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2396,10 +2404,7 @@ }, }, "action_type": "literal<"UNLOCK_DOOR">", - "error": { - "inline": true, - "type": "ActionAttemptFiveError", - }, + "error": "ActionAttemptFiveError", "result": "optional", "status": "literal<"error">", }, @@ -2409,6 +2414,7 @@ }, "ActionAttemptFiveError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -2419,6 +2425,7 @@ }, "ActionAttemptForty": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2446,6 +2453,7 @@ }, "ActionAttemptFortyOne": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2463,10 +2471,7 @@ }, }, "action_type": "literal<"DELETE_NOISE_THRESHOLD">", - "error": { - "inline": true, - "type": "ActionAttemptFortyOneError", - }, + "error": "ActionAttemptFortyOneError", "result": "optional", "status": "literal<"error">", }, @@ -2476,6 +2481,7 @@ }, "ActionAttemptFortyOneError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -2486,6 +2492,7 @@ }, "ActionAttemptFortyThree": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2513,6 +2520,7 @@ }, "ActionAttemptFortyTwo": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2540,6 +2548,7 @@ }, "ActionAttemptFour": { "docs": "Unlocking door succeeded.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2558,10 +2567,7 @@ }, "action_type": "literal<"UNLOCK_DOOR">", "error": "optional", - "result": { - "inline": true, - "type": "ActionAttemptFourResult", - }, + "result": "ActionAttemptFourResult", "status": "literal<"success">", }, "source": { @@ -2570,6 +2576,7 @@ }, "ActionAttemptFourResult": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.json", @@ -2577,6 +2584,7 @@ }, "ActionAttemptFourteen": { "docs": "Setting HVAC to heat mode failed.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2594,10 +2602,7 @@ }, }, "action_type": "literal<"SET_HEAT">", - "error": { - "inline": true, - "type": "ActionAttemptFourteenError", - }, + "error": "ActionAttemptFourteenError", "result": "optional", "status": "literal<"error">", }, @@ -2607,6 +2612,7 @@ }, "ActionAttemptFourteenError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -2617,6 +2623,7 @@ }, "ActionAttemptNine": { "docs": "Setting HVAC to cool.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2644,6 +2651,7 @@ }, "ActionAttemptNineteen": { "docs": "Setting fan mode succeeded.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2662,10 +2670,7 @@ }, "action_type": "literal<"SET_FAN_MODE">", "error": "optional", - "result": { - "inline": true, - "type": "ActionAttemptNineteenResult", - }, + "result": "ActionAttemptNineteenResult", "status": "literal<"success">", }, "source": { @@ -2674,6 +2679,7 @@ }, "ActionAttemptNineteenResult": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.json", @@ -2681,6 +2687,7 @@ }, "ActionAttemptOne": { "docs": "Locking door succeeded.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2699,10 +2706,7 @@ }, "action_type": "literal<"LOCK_DOOR">", "error": "optional", - "result": { - "inline": true, - "type": "ActionAttemptOneResult", - }, + "result": "ActionAttemptOneResult", "status": "literal<"success">", }, "source": { @@ -2711,6 +2715,7 @@ }, "ActionAttemptOneResult": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.json", @@ -2718,6 +2723,7 @@ }, "ActionAttemptSeven": { "docs": "Resetting sandbox workspace succeeded.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2736,10 +2742,7 @@ }, "action_type": "literal<"RESET_SANDBOX_WORKSPACE">", "error": "optional", - "result": { - "inline": true, - "type": "ActionAttemptSevenResult", - }, + "result": "ActionAttemptSevenResult", "status": "literal<"success">", }, "source": { @@ -2748,6 +2751,7 @@ }, "ActionAttemptSevenResult": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.json", @@ -2755,6 +2759,7 @@ }, "ActionAttemptSeventeen": { "docs": "Setting heat-cool mode failed.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2772,10 +2777,7 @@ }, }, "action_type": "literal<"SET_HEAT_COOL">", - "error": { - "inline": true, - "type": "ActionAttemptSeventeenError", - }, + "error": "ActionAttemptSeventeenError", "result": "optional", "status": "literal<"error">", }, @@ -2785,6 +2787,7 @@ }, "ActionAttemptSeventeenError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -2795,6 +2798,7 @@ }, "ActionAttemptSix": { "docs": "Resetting sandbox workspace.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2822,6 +2826,7 @@ }, "ActionAttemptSixteen": { "docs": "Setting HVAC to heat-cool mode succeeded.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2840,10 +2845,7 @@ }, "action_type": "literal<"SET_HEAT_COOL">", "error": "optional", - "result": { - "inline": true, - "type": "ActionAttemptSixteenResult", - }, + "result": "ActionAttemptSixteenResult", "status": "literal<"success">", }, "source": { @@ -2852,6 +2854,7 @@ }, "ActionAttemptSixteenResult": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.json", @@ -2859,6 +2862,7 @@ }, "ActionAttemptTen": { "docs": "Setting HVAC to cool succeeded.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2877,10 +2881,7 @@ }, "action_type": "literal<"SET_COOL">", "error": "optional", - "result": { - "inline": true, - "type": "ActionAttemptTenResult", - }, + "result": "ActionAttemptTenResult", "status": "literal<"success">", }, "source": { @@ -2889,6 +2890,7 @@ }, "ActionAttemptTenResult": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.json", @@ -2896,6 +2898,7 @@ }, "ActionAttemptThirteen": { "docs": "Setting HVAC to heat mode succeeded.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2914,10 +2917,7 @@ }, "action_type": "literal<"SET_HEAT">", "error": "optional", - "result": { - "inline": true, - "type": "ActionAttemptThirteenResult", - }, + "result": "ActionAttemptThirteenResult", "status": "literal<"success">", }, "source": { @@ -2926,6 +2926,7 @@ }, "ActionAttemptThirteenResult": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.json", @@ -2933,6 +2934,7 @@ }, "ActionAttemptThirty": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2960,6 +2962,7 @@ }, "ActionAttemptThirtyEight": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2977,10 +2980,7 @@ }, }, "action_type": "literal<"CREATE_NOISE_THRESHOLD">", - "error": { - "inline": true, - "type": "ActionAttemptThirtyEightError", - }, + "error": "ActionAttemptThirtyEightError", "result": "optional", "status": "literal<"error">", }, @@ -2990,6 +2990,7 @@ }, "ActionAttemptThirtyEightError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -3000,6 +3001,7 @@ }, "ActionAttemptThirtyFive": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -3017,10 +3019,7 @@ }, }, "action_type": "literal<"UPDATE_ACCESS_CODE">", - "error": { - "inline": true, - "type": "ActionAttemptThirtyFiveError", - }, + "error": "ActionAttemptThirtyFiveError", "result": "optional", "status": "literal<"error">", }, @@ -3030,6 +3029,7 @@ }, "ActionAttemptThirtyFiveError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -3040,6 +3040,7 @@ }, "ActionAttemptThirtyFour": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -3067,6 +3068,7 @@ }, "ActionAttemptThirtyNine": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -3094,6 +3096,7 @@ }, "ActionAttemptThirtyOne": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -3121,6 +3124,7 @@ }, "ActionAttemptThirtySeven": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -3148,6 +3152,7 @@ }, "ActionAttemptThirtySix": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -3175,6 +3180,7 @@ }, "ActionAttemptThirtyThree": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -3202,6 +3208,7 @@ }, "ActionAttemptThirtyTwo": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -3219,10 +3226,7 @@ }, }, "action_type": "literal<"DELETE_ACCESS_CODE">", - "error": { - "inline": true, - "type": "ActionAttemptThirtyTwoError", - }, + "error": "ActionAttemptThirtyTwoError", "result": "optional", "status": "literal<"error">", }, @@ -3232,6 +3236,7 @@ }, "ActionAttemptThirtyTwoError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -3242,6 +3247,7 @@ }, "ActionAttemptThree": { "docs": "Unlocking door.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -3269,6 +3275,7 @@ }, "ActionAttemptTwelve": { "docs": "Setting HVAC to heat mode.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -3296,6 +3303,7 @@ }, "ActionAttemptTwenty": { "docs": "Setting fan mode failed.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -3313,10 +3321,7 @@ }, }, "action_type": "literal<"SET_FAN_MODE">", - "error": { - "inline": true, - "type": "ActionAttemptTwentyError", - }, + "error": "ActionAttemptTwentyError", "result": "optional", "status": "literal<"error">", }, @@ -3326,6 +3331,7 @@ }, "ActionAttemptTwentyEight": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -3353,6 +3359,7 @@ }, "ActionAttemptTwentyError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -3363,6 +3370,7 @@ }, "ActionAttemptTwentyFive": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -3390,6 +3398,7 @@ }, "ActionAttemptTwentyFour": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -3417,6 +3426,7 @@ }, "ActionAttemptTwentyNine": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -3434,10 +3444,7 @@ }, }, "action_type": "literal<"CREATE_ACCESS_CODE">", - "error": { - "inline": true, - "type": "ActionAttemptTwentyNineError", - }, + "error": "ActionAttemptTwentyNineError", "result": "optional", "status": "literal<"error">", }, @@ -3447,6 +3454,7 @@ }, "ActionAttemptTwentyNineError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -3457,6 +3465,7 @@ }, "ActionAttemptTwentyOne": { "docs": "Turning HVAC off.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -3484,6 +3493,7 @@ }, "ActionAttemptTwentySeven": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -3511,6 +3521,7 @@ }, "ActionAttemptTwentySix": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -3528,10 +3539,7 @@ }, }, "action_type": "literal<"SYNC_ACCESS_CODES">", - "error": { - "inline": true, - "type": "ActionAttemptTwentySixError", - }, + "error": "ActionAttemptTwentySixError", "result": "optional", "status": "literal<"error">", }, @@ -3541,6 +3549,7 @@ }, "ActionAttemptTwentySixError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -3551,6 +3560,7 @@ }, "ActionAttemptTwentyThree": { "docs": "Turning HVAC off failed.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -3568,10 +3578,7 @@ }, }, "action_type": "literal<"SET_THERMOSTAT_OFF">", - "error": { - "inline": true, - "type": "ActionAttemptTwentyThreeError", - }, + "error": "ActionAttemptTwentyThreeError", "result": "optional", "status": "literal<"error">", }, @@ -3581,6 +3588,7 @@ }, "ActionAttemptTwentyThreeError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -3591,6 +3599,7 @@ }, "ActionAttemptTwentyTwo": { "docs": "Turning HVAC off succeeded.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -3609,10 +3618,7 @@ }, "action_type": "literal<"SET_THERMOSTAT_OFF">", "error": "optional", - "result": { - "inline": true, - "type": "ActionAttemptTwentyTwoResult", - }, + "result": "ActionAttemptTwentyTwoResult", "status": "literal<"success">", }, "source": { @@ -3621,6 +3627,7 @@ }, "ActionAttemptTwentyTwoResult": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.json", @@ -3628,6 +3635,7 @@ }, "ActionAttemptTwo": { "docs": "Locking door failed.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -3645,10 +3653,7 @@ }, }, "action_type": "literal<"LOCK_DOOR">", - "error": { - "inline": true, - "type": "ActionAttemptTwoError", - }, + "error": "ActionAttemptTwoError", "result": "optional", "status": "literal<"error">", }, @@ -3658,6 +3663,7 @@ }, "ActionAttemptTwoError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -3668,6 +3674,7 @@ }, "ActionAttemptZero": { "docs": "Locking door.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -3695,6 +3702,7 @@ }, "ClientSession": { "docs": undefined, + "inline": undefined, "properties": { "client_session_id": { "type": "string", @@ -3728,6 +3736,7 @@ }, "ClimateSettingSchedule": { "docs": undefined, + "inline": undefined, "properties": { "automatic_cooling_enabled": "optional", "automatic_heating_enabled": "optional", @@ -3779,6 +3788,7 @@ }, "ConnectWebview": { "docs": undefined, + "inline": undefined, "properties": { "accepted_devices": { "docs": " @@ -3870,6 +3880,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -3900,6 +3911,7 @@ }, "ConnectedAccount": { "docs": undefined, + "inline": undefined, "properties": { "account_type": "optional", "account_type_display_name": "string", @@ -3916,10 +3928,7 @@ "created_at": "optional", "custom_metadata": "map", "errors": "optional", - "user_identifier": { - "inline": true, - "type": "optional", - }, + "user_identifier": "optional", "warnings": "optional", }, "source": { @@ -3930,6 +3939,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -3940,6 +3950,7 @@ }, "ConnectedAccountUserIdentifier": { "docs": undefined, + "inline": true, "properties": { "api_url": "optional", "email": "optional", @@ -3953,6 +3964,7 @@ }, "Device": { "docs": undefined, + "inline": undefined, "properties": { "can_program_offline_access_codes": "optional", "can_program_online_access_codes": "optional", @@ -4008,7 +4020,6 @@ }, "location": { "docs": "Location information for the device.", - "inline": true, "type": "optional", }, "nickname": { @@ -4055,6 +4066,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -4106,6 +4118,7 @@ }, "DeviceErrorsItem": { "docs": undefined, + "inline": true, "properties": { "error_code": "string", "message": "string", @@ -4116,6 +4129,7 @@ }, "DeviceLocation": { "docs": "Location information for the device.", + "inline": true, "properties": { "location_name": { "docs": "Name of the device location.", @@ -4132,32 +4146,19 @@ }, "DeviceProperties": { "docs": "Properties of the device.", + "inline": true, "properties": { "_experimental_supported_code_from_access_codes_lengths": "optional>", "accessory_keypad": { "docs": "Represents the accessory keypad state.", - "inline": true, "type": "optional", }, - "appearance": { - "inline": true, - "type": "DevicePropertiesAppearance", - }, - "assa_abloy_credential_service_metadata": { - "inline": true, - "type": "optional", - }, - "august_metadata": { - "inline": true, - "type": "optional", - }, - "avigilon_alta_metadata": { - "inline": true, - "type": "optional", - }, + "appearance": "DevicePropertiesAppearance", + "assa_abloy_credential_service_metadata": "optional", + "august_metadata": "optional", + "avigilon_alta_metadata": "optional", "battery": { "docs": "Represents the current status of the battery charge level. Values are "critical," which indicates an extremely low level, suggesting imminent shutdown or an urgent need for charging; "low," which signifies that the battery is under the preferred threshold and should be charged soon; "good," which denotes a satisfactory charge level, adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage.", - "inline": true, "type": "optional", }, "battery_level": { @@ -4171,57 +4172,27 @@ "multipleOf": undefined, }, }, - "brivo_metadata": { - "inline": true, - "type": "optional", - }, + "brivo_metadata": "optional", "code_constraints": "optional>", - "controlbyweb_metadata": { - "inline": true, - "type": "optional", - }, + "controlbyweb_metadata": "optional", "currently_triggering_noise_threshold_ids": { "docs": "Array of noise threshold IDs that are currently triggering.", "type": "optional>", }, "door_open": "optional", - "dormakaba_oracode_metadata": { - "inline": true, - "type": "optional", - }, - "ecobee_metadata": { - "inline": true, - "type": "optional", - }, - "four_suites_metadata": { - "inline": true, - "type": "optional", - }, - "genie_metadata": { - "inline": true, - "type": "optional", - }, + "dormakaba_oracode_metadata": "optional", + "ecobee_metadata": "optional", + "four_suites_metadata": "optional", + "genie_metadata": "optional", "has_direct_power": { "docs": "Indicates whether the device has direct power.", "type": "optional", }, "has_native_entry_events": "optional", - "honeywell_resideo_metadata": { - "inline": true, - "type": "optional", - }, - "hubitat_metadata": { - "inline": true, - "type": "optional", - }, - "igloo_metadata": { - "inline": true, - "type": "optional", - }, - "igloohome_metadata": { - "inline": true, - "type": "optional", - }, + "honeywell_resideo_metadata": "optional", + "hubitat_metadata": "optional", + "igloo_metadata": "optional", + "igloohome_metadata": "optional", "image_alt_text": { "docs": "Alt text for the device image.", "type": "optional", @@ -4236,32 +4207,17 @@ "pattern": undefined, }, }, - "keypad_battery": { - "inline": true, - "type": "optional", - }, - "kwikset_metadata": { - "inline": true, - "type": "optional", - }, + "keypad_battery": "optional", + "kwikset_metadata": "optional", "locked": "optional", - "lockly_metadata": { - "inline": true, - "type": "optional", - }, + "lockly_metadata": "optional", "manufacturer": { "docs": "Manufacturer of the device.", "type": "optional", }, "max_active_codes_supported": "optional", - "minut_metadata": { - "inline": true, - "type": "optional", - }, - "model": { - "inline": true, - "type": "DevicePropertiesModel", - }, + "minut_metadata": "optional", + "model": "DevicePropertiesModel", "name": { "docs": " --- @@ -4271,22 +4227,13 @@ ", "type": "string", }, - "nest_metadata": { - "inline": true, - "type": "optional", - }, + "nest_metadata": "optional", "noise_level_decibels": { "docs": "Indicates current noise level in decibels, if the device supports noise detection.", "type": "optional", }, - "noiseaware_metadata": { - "inline": true, - "type": "optional", - }, - "nuki_metadata": { - "inline": true, - "type": "optional", - }, + "noiseaware_metadata": "optional", + "nuki_metadata": "optional", "offline_access_codes_enabled": { "docs": "Indicates whether it is currently possible to use offline access codes for the device.", "type": "optional", @@ -4299,26 +4246,14 @@ "docs": "Indicates whether it is currently possible to use online access codes for the device.", "type": "optional", }, - "salto_metadata": { - "inline": true, - "type": "optional", - }, - "schlage_metadata": { - "inline": true, - "type": "optional", - }, - "seam_bridge_metadata": { - "inline": true, - "type": "optional", - }, + "salto_metadata": "optional", + "schlage_metadata": "optional", + "seam_bridge_metadata": "optional", "serial_number": { "docs": "Serial number of the device.", "type": "optional", }, - "smartthings_metadata": { - "inline": true, - "type": "optional", - }, + "smartthings_metadata": "optional", "supported_code_lengths": "optional>", "supports_accessory_keypad": { "docs": " @@ -4337,22 +4272,10 @@ ", "type": "optional", }, - "tedee_metadata": { - "inline": true, - "type": "optional", - }, - "ttlock_metadata": { - "inline": true, - "type": "optional", - }, - "two_n_metadata": { - "inline": true, - "type": "optional", - }, - "wyze_metadata": { - "inline": true, - "type": "optional", - }, + "tedee_metadata": "optional", + "ttlock_metadata": "optional", + "two_n_metadata": "optional", + "wyze_metadata": "optional", }, "source": { "openapi": "../openapi.json", @@ -4360,10 +4283,10 @@ }, "DevicePropertiesAccessoryKeypad": { "docs": "Represents the accessory keypad state.", + "inline": true, "properties": { "battery": { "docs": "Indicates if the keypad battery properties.", - "inline": true, "type": "optional", }, "is_connected": { @@ -4377,6 +4300,7 @@ }, "DevicePropertiesAccessoryKeypadBattery": { "docs": "Indicates if the keypad battery properties.", + "inline": true, "properties": { "level": { "type": "double", @@ -4395,6 +4319,7 @@ }, "DevicePropertiesAppearance": { "docs": undefined, + "inline": true, "properties": { "name": { "docs": "Name of the device as seen from the provider API and application, not settable through Seam.", @@ -4407,6 +4332,7 @@ }, "DevicePropertiesAssaAbloyCredentialServiceMetadata": { "docs": undefined, + "inline": true, "properties": { "endpoints": "list", "has_active_endpoint": "boolean", @@ -4417,6 +4343,7 @@ }, "DevicePropertiesAssaAbloyCredentialServiceMetadataEndpointsItem": { "docs": undefined, + "inline": true, "properties": { "endpoint_id": "string", "is_active": "boolean", @@ -4427,6 +4354,7 @@ }, "DevicePropertiesAugustMetadata": { "docs": undefined, + "inline": true, "properties": { "has_keypad": "boolean", "house_id": "optional", @@ -4442,6 +4370,7 @@ }, "DevicePropertiesAvigilonAltaMetadata": { "docs": undefined, + "inline": true, "properties": { "entry_name": "string", "entry_relays_total_count": "double", @@ -4457,6 +4386,7 @@ }, "DevicePropertiesBattery": { "docs": "Represents the current status of the battery charge level. Values are "critical," which indicates an extremely low level, suggesting imminent shutdown or an urgent need for charging; "low," which signifies that the battery is under the preferred threshold and should be charged soon; "good," which denotes a satisfactory charge level, adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage.", + "inline": true, "properties": { "level": { "type": "double", @@ -4487,6 +4417,7 @@ }, "DevicePropertiesBrivoMetadata": { "docs": undefined, + "inline": true, "properties": { "device_name": "string", }, @@ -4498,6 +4429,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -4508,6 +4440,7 @@ }, "DevicePropertiesCodeConstraintsItemMaxLength": { "docs": undefined, + "inline": true, "properties": { "constraint_type": "DevicePropertiesCodeConstraintsItemMaxLengthConstraintType", "max_length": "optional", @@ -4528,6 +4461,7 @@ }, "DevicePropertiesCodeConstraintsItemZero": { "docs": undefined, + "inline": true, "properties": { "constraint_type": "DevicePropertiesCodeConstraintsItemZeroConstraintType", }, @@ -4553,6 +4487,7 @@ }, "DevicePropertiesControlbywebMetadata": { "docs": undefined, + "inline": true, "properties": { "device_id": "string", "device_name": "string", @@ -4564,6 +4499,7 @@ }, "DevicePropertiesDormakabaOracodeMetadata": { "docs": undefined, + "inline": true, "properties": { "device_id": "optional", "door_id": "double", @@ -4580,6 +4516,7 @@ }, "DevicePropertiesDormakabaOracodeMetadataPredefinedTimeSlotsItem": { "docs": undefined, + "inline": true, "properties": { "check_in_time": "string", "check_out_time": "string", @@ -4606,6 +4543,7 @@ }, "DevicePropertiesEcobeeMetadata": { "docs": undefined, + "inline": true, "properties": { "device_name": "string", "ecobee_device_id": "string", @@ -4616,6 +4554,7 @@ }, "DevicePropertiesFourSuitesMetadata": { "docs": undefined, + "inline": true, "properties": { "device_id": "double", "device_name": "string", @@ -4627,6 +4566,7 @@ }, "DevicePropertiesGenieMetadata": { "docs": undefined, + "inline": true, "properties": { "device_name": "string", "door_name": "string", @@ -4637,6 +4577,7 @@ }, "DevicePropertiesHoneywellResideoMetadata": { "docs": undefined, + "inline": true, "properties": { "device_name": "string", "honeywell_resideo_device_id": "string", @@ -4647,6 +4588,7 @@ }, "DevicePropertiesHubitatMetadata": { "docs": undefined, + "inline": true, "properties": { "device_id": "string", "device_label": "string", @@ -4658,6 +4600,7 @@ }, "DevicePropertiesIglooMetadata": { "docs": undefined, + "inline": true, "properties": { "bridge_id": "string", "device_id": "string", @@ -4669,6 +4612,7 @@ }, "DevicePropertiesIgloohomeMetadata": { "docs": undefined, + "inline": true, "properties": { "bridge_id": "optional", "bridge_name": "optional", @@ -4682,6 +4626,7 @@ }, "DevicePropertiesKeypadBattery": { "docs": undefined, + "inline": true, "properties": { "level": "double", }, @@ -4691,6 +4636,7 @@ }, "DevicePropertiesKwiksetMetadata": { "docs": undefined, + "inline": true, "properties": { "device_id": "string", "device_name": "string", @@ -4702,6 +4648,7 @@ }, "DevicePropertiesLocklyMetadata": { "docs": undefined, + "inline": true, "properties": { "device_id": "string", "device_name": "string", @@ -4713,13 +4660,11 @@ }, "DevicePropertiesMinutMetadata": { "docs": undefined, + "inline": true, "properties": { "device_id": "string", "device_name": "string", - "latest_sensor_values": { - "inline": true, - "type": "DevicePropertiesMinutMetadataLatestSensorValues", - }, + "latest_sensor_values": "DevicePropertiesMinutMetadataLatestSensorValues", }, "source": { "openapi": "../openapi.json", @@ -4727,27 +4672,13 @@ }, "DevicePropertiesMinutMetadataLatestSensorValues": { "docs": undefined, + "inline": true, "properties": { - "accelerometer_z": { - "inline": true, - "type": "DevicePropertiesMinutMetadataLatestSensorValuesAccelerometerZ", - }, - "humidity": { - "inline": true, - "type": "DevicePropertiesMinutMetadataLatestSensorValuesHumidity", - }, - "pressure": { - "inline": true, - "type": "DevicePropertiesMinutMetadataLatestSensorValuesPressure", - }, - "sound": { - "inline": true, - "type": "DevicePropertiesMinutMetadataLatestSensorValuesSound", - }, - "temperature": { - "inline": true, - "type": "DevicePropertiesMinutMetadataLatestSensorValuesTemperature", - }, + "accelerometer_z": "DevicePropertiesMinutMetadataLatestSensorValuesAccelerometerZ", + "humidity": "DevicePropertiesMinutMetadataLatestSensorValuesHumidity", + "pressure": "DevicePropertiesMinutMetadataLatestSensorValuesPressure", + "sound": "DevicePropertiesMinutMetadataLatestSensorValuesSound", + "temperature": "DevicePropertiesMinutMetadataLatestSensorValuesTemperature", }, "source": { "openapi": "../openapi.json", @@ -4755,6 +4686,7 @@ }, "DevicePropertiesMinutMetadataLatestSensorValuesAccelerometerZ": { "docs": undefined, + "inline": true, "properties": { "time": "string", "value": "double", @@ -4765,6 +4697,7 @@ }, "DevicePropertiesMinutMetadataLatestSensorValuesHumidity": { "docs": undefined, + "inline": true, "properties": { "time": "string", "value": "double", @@ -4775,6 +4708,7 @@ }, "DevicePropertiesMinutMetadataLatestSensorValuesPressure": { "docs": undefined, + "inline": true, "properties": { "time": "string", "value": "double", @@ -4785,6 +4719,7 @@ }, "DevicePropertiesMinutMetadataLatestSensorValuesSound": { "docs": undefined, + "inline": true, "properties": { "time": "string", "value": "double", @@ -4795,6 +4730,7 @@ }, "DevicePropertiesMinutMetadataLatestSensorValuesTemperature": { "docs": undefined, + "inline": true, "properties": { "time": "string", "value": "double", @@ -4805,6 +4741,7 @@ }, "DevicePropertiesModel": { "docs": undefined, + "inline": true, "properties": { "accessory_keypad_supported": { "docs": " @@ -4845,6 +4782,7 @@ }, "DevicePropertiesNestMetadata": { "docs": undefined, + "inline": true, "properties": { "custom_name": "string", "device_name": "string", @@ -4856,6 +4794,7 @@ }, "DevicePropertiesNoiseawareMetadata": { "docs": undefined, + "inline": true, "properties": { "device_id": "string", "device_model": "DevicePropertiesNoiseawareMetadataDeviceModel", @@ -4878,6 +4817,7 @@ }, "DevicePropertiesNukiMetadata": { "docs": undefined, + "inline": true, "properties": { "device_id": "string", "device_name": "string", @@ -4891,6 +4831,7 @@ }, "DevicePropertiesSaltoMetadata": { "docs": undefined, + "inline": true, "properties": { "battery_level": "string", "customer_reference": "string", @@ -4905,6 +4846,7 @@ }, "DevicePropertiesSchlageMetadata": { "docs": undefined, + "inline": true, "properties": { "access_code_length": "optional", "device_id": "string", @@ -4917,6 +4859,7 @@ }, "DevicePropertiesSeamBridgeMetadata": { "docs": undefined, + "inline": true, "properties": { "device_num": "double", "name": "string", @@ -4937,6 +4880,7 @@ }, "DevicePropertiesSmartthingsMetadata": { "docs": undefined, + "inline": true, "properties": { "device_id": "string", "device_name": "string", @@ -4949,6 +4893,7 @@ }, "DevicePropertiesTedeeMetadata": { "docs": undefined, + "inline": true, "properties": { "bridge_id": "double", "bridge_name": "string", @@ -4964,6 +4909,7 @@ }, "DevicePropertiesTtlockMetadata": { "docs": undefined, + "inline": true, "properties": { "feature_value": "string", "lock_alias": "string", @@ -4975,6 +4921,7 @@ }, "DevicePropertiesTwoNMetadata": { "docs": undefined, + "inline": true, "properties": { "device_id": "double", "device_name": "string", @@ -4985,6 +4932,7 @@ }, "DevicePropertiesWyzeMetadata": { "docs": undefined, + "inline": true, "properties": { "device_id": "string", "device_info_model": "string", @@ -5001,6 +4949,7 @@ }, "DeviceProvider": { "docs": undefined, + "inline": undefined, "properties": { "device_provider_name": "DeviceProviderDeviceProviderName", "display_name": "string", @@ -5069,6 +5018,7 @@ }, "DeviceWarningsItem": { "docs": undefined, + "inline": true, "properties": { "message": "string", "warning_code": "string", @@ -5079,6 +5029,7 @@ }, "EnrollmentAutomation": { "docs": undefined, + "inline": undefined, "properties": { "created_at": "datetime", "credential_manager_acs_system_id": { @@ -5124,6 +5075,7 @@ }, "Event": { "docs": undefined, + "inline": undefined, "properties": { "acs_credential_id": { "type": "optional", @@ -5216,6 +5168,7 @@ }, "Network": { "docs": undefined, + "inline": undefined, "properties": { "created_at": "datetime", "display_name": "string", @@ -5244,6 +5197,7 @@ }, "NoiseThreshold": { "docs": undefined, + "inline": undefined, "properties": { "device_id": { "type": "string", @@ -5275,6 +5229,7 @@ }, "Phone": { "docs": undefined, + "inline": undefined, "properties": { "can_program_offline_access_codes": "optional", "can_program_online_access_codes": "optional", @@ -5317,17 +5272,13 @@ }, "location": { "docs": "Location information for the device.", - "inline": true, "type": "optional", }, "nickname": { "docs": "Optional nickname to describe the device, settable through Seam", "type": "optional", }, - "properties": { - "inline": true, - "type": "PhoneProperties", - }, + "properties": "PhoneProperties", "warnings": { "docs": "Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it.", "type": "list", @@ -5364,6 +5315,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -5383,6 +5335,7 @@ }, "PhoneErrorsItem": { "docs": undefined, + "inline": true, "properties": { "error_code": "string", "message": "string", @@ -5393,6 +5346,7 @@ }, "PhoneLocation": { "docs": "Location information for the device.", + "inline": true, "properties": { "location_name": { "docs": "Name of the device location.", @@ -5409,11 +5363,9 @@ }, "PhoneProperties": { "docs": undefined, + "inline": true, "properties": { - "assa_abloy_credential_service_metadata": { - "inline": true, - "type": "optional", - }, + "assa_abloy_credential_service_metadata": "optional", }, "source": { "openapi": "../openapi.json", @@ -5421,6 +5373,7 @@ }, "PhonePropertiesAssaAbloyCredentialServiceMetadata": { "docs": undefined, + "inline": true, "properties": { "endpoints": "list", "has_active_endpoint": "boolean", @@ -5431,6 +5384,7 @@ }, "PhonePropertiesAssaAbloyCredentialServiceMetadataEndpointsItem": { "docs": undefined, + "inline": true, "properties": { "endpoint_id": "string", "is_active": "boolean", @@ -5441,6 +5395,7 @@ }, "PhoneWarningsItem": { "docs": undefined, + "inline": true, "properties": { "message": "string", "warning_code": "string", @@ -5451,6 +5406,7 @@ }, "ServiceHealth": { "docs": undefined, + "inline": undefined, "properties": { "description": "string", "service": "string", @@ -5472,6 +5428,7 @@ }, "UnmanagedAccessCode": { "docs": undefined, + "inline": undefined, "properties": { "access_code_id": { "docs": "Unique identifier for the access code.", @@ -5538,6 +5495,7 @@ }, "UnmanagedDevice": { "docs": undefined, + "inline": undefined, "properties": { "can_program_offline_access_codes": "optional", "can_program_online_access_codes": "optional", @@ -5583,10 +5541,7 @@ "type": "list", }, "is_managed": "boolean", - "properties": { - "inline": true, - "type": "UnmanagedDeviceProperties", - }, + "properties": "UnmanagedDeviceProperties", "warnings": { "docs": "Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it.", "type": "list", @@ -5662,6 +5617,7 @@ }, "UnmanagedDeviceErrorsItem": { "docs": undefined, + "inline": true, "properties": { "error_code": "string", "message": "string", @@ -5672,15 +5628,14 @@ }, "UnmanagedDeviceProperties": { "docs": undefined, + "inline": true, "properties": { "accessory_keypad": { "docs": "Represents the accessory keypad state.", - "inline": true, "type": "optional", }, "battery": { "docs": "Represents the current status of the battery charge level. Values are "critical," which indicates an extremely low level, suggesting imminent shutdown or an urgent need for charging; "low," which signifies that the battery is under the preferred threshold and should be charged soon; "good," which denotes a satisfactory charge level, adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage.", - "inline": true, "type": "optional", }, "battery_level": { @@ -5712,10 +5667,7 @@ "docs": "Manufacturer of the device.", "type": "optional", }, - "model": { - "inline": true, - "type": "UnmanagedDevicePropertiesModel", - }, + "model": "UnmanagedDevicePropertiesModel", "name": { "docs": " --- @@ -5744,10 +5696,10 @@ }, "UnmanagedDevicePropertiesAccessoryKeypad": { "docs": "Represents the accessory keypad state.", + "inline": true, "properties": { "battery": { "docs": "Indicates if the keypad battery properties.", - "inline": true, "type": "optional", }, "is_connected": { @@ -5761,6 +5713,7 @@ }, "UnmanagedDevicePropertiesAccessoryKeypadBattery": { "docs": "Indicates if the keypad battery properties.", + "inline": true, "properties": { "level": { "type": "double", @@ -5779,6 +5732,7 @@ }, "UnmanagedDevicePropertiesBattery": { "docs": "Represents the current status of the battery charge level. Values are "critical," which indicates an extremely low level, suggesting imminent shutdown or an urgent need for charging; "low," which signifies that the battery is under the preferred threshold and should be charged soon; "good," which denotes a satisfactory charge level, adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage.", + "inline": true, "properties": { "level": { "type": "double", @@ -5809,6 +5763,7 @@ }, "UnmanagedDevicePropertiesModel": { "docs": undefined, + "inline": true, "properties": { "accessory_keypad_supported": { "docs": " @@ -5849,6 +5804,7 @@ }, "UnmanagedDeviceWarningsItem": { "docs": undefined, + "inline": true, "properties": { "message": "string", "warning_code": "string", @@ -5859,6 +5815,7 @@ }, "UserIdentity": { "docs": undefined, + "inline": undefined, "properties": { "created_at": "datetime", "display_name": { @@ -5923,6 +5880,7 @@ }, "Webhook": { "docs": undefined, + "inline": undefined, "properties": { "event_types": "optional>", "secret": "optional", @@ -5935,6 +5893,7 @@ }, "Workspace": { "docs": undefined, + "inline": undefined, "properties": { "company_name": "string", "connect_partner_name": { @@ -7169,10 +7128,12 @@ types: action_type: literal<"LOCK_DOOR"> source: openapi: ../openapi.json + inline: true ActionAttemptOneResult: properties: {} source: openapi: ../openapi.json + inline: true ActionAttemptOne: docs: Locking door succeeded. properties: @@ -7190,17 +7151,17 @@ types: status: literal<"success"> error: optional action_type: literal<"LOCK_DOOR"> - result: - type: ActionAttemptOneResult - inline: true + result: ActionAttemptOneResult source: openapi: ../openapi.json + inline: true ActionAttemptTwoError: properties: type: string message: string source: openapi: ../openapi.json + inline: true ActionAttemptTwo: docs: Locking door failed. properties: @@ -7218,11 +7179,10 @@ types: status: literal<"error"> result: optional action_type: literal<"LOCK_DOOR"> - error: - type: ActionAttemptTwoError - inline: true + error: ActionAttemptTwoError source: openapi: ../openapi.json + inline: true ActionAttemptThree: docs: Unlocking door. properties: @@ -7243,10 +7203,12 @@ types: action_type: literal<"UNLOCK_DOOR"> source: openapi: ../openapi.json + inline: true ActionAttemptFourResult: properties: {} source: openapi: ../openapi.json + inline: true ActionAttemptFour: docs: Unlocking door succeeded. properties: @@ -7264,17 +7226,17 @@ types: status: literal<"success"> error: optional action_type: literal<"UNLOCK_DOOR"> - result: - type: ActionAttemptFourResult - inline: true + result: ActionAttemptFourResult source: openapi: ../openapi.json + inline: true ActionAttemptFiveError: properties: type: string message: string source: openapi: ../openapi.json + inline: true ActionAttemptFive: docs: Unlocking door failed. properties: @@ -7292,11 +7254,10 @@ types: status: literal<"error"> result: optional action_type: literal<"UNLOCK_DOOR"> - error: - type: ActionAttemptFiveError - inline: true + error: ActionAttemptFiveError source: openapi: ../openapi.json + inline: true ActionAttemptSix: docs: Resetting sandbox workspace. properties: @@ -7317,10 +7278,12 @@ types: action_type: literal<"RESET_SANDBOX_WORKSPACE"> source: openapi: ../openapi.json + inline: true ActionAttemptSevenResult: properties: {} source: openapi: ../openapi.json + inline: true ActionAttemptSeven: docs: Resetting sandbox workspace succeeded. properties: @@ -7338,17 +7301,17 @@ types: status: literal<"success"> error: optional action_type: literal<"RESET_SANDBOX_WORKSPACE"> - result: - type: ActionAttemptSevenResult - inline: true + result: ActionAttemptSevenResult source: openapi: ../openapi.json + inline: true ActionAttemptEightError: properties: type: string message: string source: openapi: ../openapi.json + inline: true ActionAttemptEight: docs: Resetting sandbox workspace failed. properties: @@ -7366,11 +7329,10 @@ types: status: literal<"error"> result: optional action_type: literal<"RESET_SANDBOX_WORKSPACE"> - error: - type: ActionAttemptEightError - inline: true + error: ActionAttemptEightError source: openapi: ../openapi.json + inline: true ActionAttemptNine: docs: Setting HVAC to cool. properties: @@ -7391,10 +7353,12 @@ types: action_type: literal<"SET_COOL"> source: openapi: ../openapi.json + inline: true ActionAttemptTenResult: properties: {} source: openapi: ../openapi.json + inline: true ActionAttemptTen: docs: Setting HVAC to cool succeeded. properties: @@ -7412,17 +7376,17 @@ types: status: literal<"success"> error: optional action_type: literal<"SET_COOL"> - result: - type: ActionAttemptTenResult - inline: true + result: ActionAttemptTenResult source: openapi: ../openapi.json + inline: true ActionAttemptElevenError: properties: type: string message: string source: openapi: ../openapi.json + inline: true ActionAttemptEleven: docs: Setting HVAC to cool failed. properties: @@ -7440,11 +7404,10 @@ types: status: literal<"error"> result: optional action_type: literal<"SET_COOL"> - error: - type: ActionAttemptElevenError - inline: true + error: ActionAttemptElevenError source: openapi: ../openapi.json + inline: true ActionAttemptTwelve: docs: Setting HVAC to heat mode. properties: @@ -7465,10 +7428,12 @@ types: action_type: literal<"SET_HEAT"> source: openapi: ../openapi.json + inline: true ActionAttemptThirteenResult: properties: {} source: openapi: ../openapi.json + inline: true ActionAttemptThirteen: docs: Setting HVAC to heat mode succeeded. properties: @@ -7486,17 +7451,17 @@ types: status: literal<"success"> error: optional action_type: literal<"SET_HEAT"> - result: - type: ActionAttemptThirteenResult - inline: true + result: ActionAttemptThirteenResult source: openapi: ../openapi.json + inline: true ActionAttemptFourteenError: properties: type: string message: string source: openapi: ../openapi.json + inline: true ActionAttemptFourteen: docs: Setting HVAC to heat mode failed. properties: @@ -7514,11 +7479,10 @@ types: status: literal<"error"> result: optional action_type: literal<"SET_HEAT"> - error: - type: ActionAttemptFourteenError - inline: true + error: ActionAttemptFourteenError source: openapi: ../openapi.json + inline: true ActionAttemptFifteen: docs: Setting HVAC to heat-cool mode. properties: @@ -7539,10 +7503,12 @@ types: action_type: literal<"SET_HEAT_COOL"> source: openapi: ../openapi.json + inline: true ActionAttemptSixteenResult: properties: {} source: openapi: ../openapi.json + inline: true ActionAttemptSixteen: docs: Setting HVAC to heat-cool mode succeeded. properties: @@ -7560,17 +7526,17 @@ types: status: literal<"success"> error: optional action_type: literal<"SET_HEAT_COOL"> - result: - type: ActionAttemptSixteenResult - inline: true + result: ActionAttemptSixteenResult source: openapi: ../openapi.json + inline: true ActionAttemptSeventeenError: properties: type: string message: string source: openapi: ../openapi.json + inline: true ActionAttemptSeventeen: docs: Setting heat-cool mode failed. properties: @@ -7588,11 +7554,10 @@ types: status: literal<"error"> result: optional action_type: literal<"SET_HEAT_COOL"> - error: - type: ActionAttemptSeventeenError - inline: true + error: ActionAttemptSeventeenError source: openapi: ../openapi.json + inline: true ActionAttemptEighteen: docs: Setting fan mode. properties: @@ -7613,10 +7578,12 @@ types: action_type: literal<"SET_FAN_MODE"> source: openapi: ../openapi.json + inline: true ActionAttemptNineteenResult: properties: {} source: openapi: ../openapi.json + inline: true ActionAttemptNineteen: docs: Setting fan mode succeeded. properties: @@ -7634,17 +7601,17 @@ types: status: literal<"success"> error: optional action_type: literal<"SET_FAN_MODE"> - result: - type: ActionAttemptNineteenResult - inline: true + result: ActionAttemptNineteenResult source: openapi: ../openapi.json + inline: true ActionAttemptTwentyError: properties: type: string message: string source: openapi: ../openapi.json + inline: true ActionAttemptTwenty: docs: Setting fan mode failed. properties: @@ -7662,11 +7629,10 @@ types: status: literal<"error"> result: optional action_type: literal<"SET_FAN_MODE"> - error: - type: ActionAttemptTwentyError - inline: true + error: ActionAttemptTwentyError source: openapi: ../openapi.json + inline: true ActionAttemptTwentyOne: docs: Turning HVAC off. properties: @@ -7687,10 +7653,12 @@ types: action_type: literal<"SET_THERMOSTAT_OFF"> source: openapi: ../openapi.json + inline: true ActionAttemptTwentyTwoResult: properties: {} source: openapi: ../openapi.json + inline: true ActionAttemptTwentyTwo: docs: Turning HVAC off succeeded. properties: @@ -7708,17 +7676,17 @@ types: status: literal<"success"> error: optional action_type: literal<"SET_THERMOSTAT_OFF"> - result: - type: ActionAttemptTwentyTwoResult - inline: true + result: ActionAttemptTwentyTwoResult source: openapi: ../openapi.json + inline: true ActionAttemptTwentyThreeError: properties: type: string message: string source: openapi: ../openapi.json + inline: true ActionAttemptTwentyThree: docs: Turning HVAC off failed. properties: @@ -7736,11 +7704,10 @@ types: status: literal<"error"> result: optional action_type: literal<"SET_THERMOSTAT_OFF"> - error: - type: ActionAttemptTwentyThreeError - inline: true + error: ActionAttemptTwentyThreeError source: openapi: ../openapi.json + inline: true ActionAttemptTwentyFour: properties: action_attempt_id: @@ -7760,6 +7727,7 @@ types: action_type: literal<"SYNC_ACCESS_CODES"> source: openapi: ../openapi.json + inline: true ActionAttemptTwentyFive: properties: action_attempt_id: @@ -7779,12 +7747,14 @@ types: result: optional source: openapi: ../openapi.json + inline: true ActionAttemptTwentySixError: properties: type: string message: string source: openapi: ../openapi.json + inline: true ActionAttemptTwentySix: properties: action_attempt_id: @@ -7801,11 +7771,10 @@ types: status: literal<"error"> result: optional action_type: literal<"SYNC_ACCESS_CODES"> - error: - type: ActionAttemptTwentySixError - inline: true + error: ActionAttemptTwentySixError source: openapi: ../openapi.json + inline: true ActionAttemptTwentySeven: properties: action_attempt_id: @@ -7825,6 +7794,7 @@ types: action_type: literal<"CREATE_ACCESS_CODE"> source: openapi: ../openapi.json + inline: true ActionAttemptTwentyEight: properties: action_attempt_id: @@ -7844,12 +7814,14 @@ types: result: optional source: openapi: ../openapi.json + inline: true ActionAttemptTwentyNineError: properties: type: string message: string source: openapi: ../openapi.json + inline: true ActionAttemptTwentyNine: properties: action_attempt_id: @@ -7866,11 +7838,10 @@ types: status: literal<"error"> result: optional action_type: literal<"CREATE_ACCESS_CODE"> - error: - type: ActionAttemptTwentyNineError - inline: true + error: ActionAttemptTwentyNineError source: openapi: ../openapi.json + inline: true ActionAttemptThirty: properties: action_attempt_id: @@ -7890,6 +7861,7 @@ types: action_type: literal<"DELETE_ACCESS_CODE"> source: openapi: ../openapi.json + inline: true ActionAttemptThirtyOne: properties: action_attempt_id: @@ -7909,12 +7881,14 @@ types: result: optional source: openapi: ../openapi.json + inline: true ActionAttemptThirtyTwoError: properties: type: string message: string source: openapi: ../openapi.json + inline: true ActionAttemptThirtyTwo: properties: action_attempt_id: @@ -7931,11 +7905,10 @@ types: status: literal<"error"> result: optional action_type: literal<"DELETE_ACCESS_CODE"> - error: - type: ActionAttemptThirtyTwoError - inline: true + error: ActionAttemptThirtyTwoError source: openapi: ../openapi.json + inline: true ActionAttemptThirtyThree: properties: action_attempt_id: @@ -7955,6 +7928,7 @@ types: action_type: literal<"UPDATE_ACCESS_CODE"> source: openapi: ../openapi.json + inline: true ActionAttemptThirtyFour: properties: action_attempt_id: @@ -7974,12 +7948,14 @@ types: result: optional source: openapi: ../openapi.json + inline: true ActionAttemptThirtyFiveError: properties: type: string message: string source: openapi: ../openapi.json + inline: true ActionAttemptThirtyFive: properties: action_attempt_id: @@ -7996,11 +7972,10 @@ types: status: literal<"error"> result: optional action_type: literal<"UPDATE_ACCESS_CODE"> - error: - type: ActionAttemptThirtyFiveError - inline: true + error: ActionAttemptThirtyFiveError source: openapi: ../openapi.json + inline: true ActionAttemptThirtySix: properties: action_attempt_id: @@ -8020,6 +7995,7 @@ types: action_type: literal<"CREATE_NOISE_THRESHOLD"> source: openapi: ../openapi.json + inline: true ActionAttemptThirtySeven: properties: action_attempt_id: @@ -8039,12 +8015,14 @@ types: result: optional source: openapi: ../openapi.json + inline: true ActionAttemptThirtyEightError: properties: type: string message: string source: openapi: ../openapi.json + inline: true ActionAttemptThirtyEight: properties: action_attempt_id: @@ -8061,11 +8039,10 @@ types: status: literal<"error"> result: optional action_type: literal<"CREATE_NOISE_THRESHOLD"> - error: - type: ActionAttemptThirtyEightError - inline: true + error: ActionAttemptThirtyEightError source: openapi: ../openapi.json + inline: true ActionAttemptThirtyNine: properties: action_attempt_id: @@ -8085,6 +8062,7 @@ types: action_type: literal<"DELETE_NOISE_THRESHOLD"> source: openapi: ../openapi.json + inline: true ActionAttemptForty: properties: action_attempt_id: @@ -8104,12 +8082,14 @@ types: result: optional source: openapi: ../openapi.json + inline: true ActionAttemptFortyOneError: properties: type: string message: string source: openapi: ../openapi.json + inline: true ActionAttemptFortyOne: properties: action_attempt_id: @@ -8126,11 +8106,10 @@ types: status: literal<"error"> result: optional action_type: literal<"DELETE_NOISE_THRESHOLD"> - error: - type: ActionAttemptFortyOneError - inline: true + error: ActionAttemptFortyOneError source: openapi: ../openapi.json + inline: true ActionAttemptFortyTwo: properties: action_attempt_id: @@ -8150,6 +8129,7 @@ types: action_type: literal<"UPDATE_NOISE_THRESHOLD"> source: openapi: ../openapi.json + inline: true ActionAttemptFortyThree: properties: action_attempt_id: @@ -8169,12 +8149,14 @@ types: result: optional source: openapi: ../openapi.json + inline: true ActionAttemptActionAttemptIdError: properties: type: string message: string source: openapi: ../openapi.json + inline: true ActionAttemptActionAttemptId: properties: action_attempt_id: @@ -8191,11 +8173,10 @@ types: status: literal<"error"> result: optional action_type: literal<"UPDATE_NOISE_THRESHOLD"> - error: - type: ActionAttemptActionAttemptIdError - inline: true + error: ActionAttemptActionAttemptIdError source: openapi: ../openapi.json + inline: true ActionAttempt: discriminated: false union: @@ -8344,6 +8325,7 @@ types: - boolean source: openapi: ../openapi.json + inline: true ConnectWebview: properties: connect_webview_id: @@ -8408,6 +8390,7 @@ types: exclusive: optional source: openapi: ../openapi.json + inline: true ConnectedAccountCustomMetadataValue: discriminated: false union: @@ -8415,6 +8398,7 @@ types: - boolean source: openapi: ../openapi.json + inline: true ConnectedAccount: properties: connected_account_id: @@ -8422,9 +8406,7 @@ types: validation: format: uuid created_at: optional - user_identifier: - type: optional - inline: true + user_identifier: optional account_type: optional account_type_display_name: string errors: optional @@ -8491,6 +8473,7 @@ types: max: 1 source: openapi: ../openapi.json + inline: true DevicePropertiesAccessoryKeypad: docs: Represents the accessory keypad state. properties: @@ -8500,9 +8483,9 @@ types: battery: type: optional docs: Indicates if the keypad battery properties. - inline: true source: openapi: ../openapi.json + inline: true DevicePropertiesAppearance: properties: name: @@ -8512,6 +8495,7 @@ types: settable through Seam. source: openapi: ../openapi.json + inline: true DevicePropertiesModel: properties: can_connect_accessory_keypad: @@ -8544,6 +8528,7 @@ types: source: openapi: ../openapi.json + inline: true DevicePropertiesBatteryStatus: enum: - critical @@ -8570,18 +8555,21 @@ types: status: DevicePropertiesBatteryStatus source: openapi: ../openapi.json + inline: true DevicePropertiesAssaAbloyCredentialServiceMetadataEndpointsItem: properties: endpoint_id: string is_active: boolean source: openapi: ../openapi.json + inline: true DevicePropertiesAssaAbloyCredentialServiceMetadata: properties: has_active_endpoint: boolean endpoints: list source: openapi: ../openapi.json + inline: true DevicePropertiesAugustMetadata: properties: lock_id: string @@ -8593,6 +8581,7 @@ types: house_id: optional source: openapi: ../openapi.json + inline: true DevicePropertiesAvigilonAltaMetadata: properties: entry_name: string @@ -8604,6 +8593,7 @@ types: entry_relays_total_count: double source: openapi: ../openapi.json + inline: true DevicePropertiesSchlageMetadata: properties: device_id: string @@ -8612,6 +8602,7 @@ types: model: optional source: openapi: ../openapi.json + inline: true DevicePropertiesSmartthingsMetadata: properties: device_id: string @@ -8620,6 +8611,7 @@ types: location_id: optional source: openapi: ../openapi.json + inline: true DevicePropertiesLocklyMetadata: properties: device_id: string @@ -8627,6 +8619,7 @@ types: model: optional source: openapi: ../openapi.json + inline: true DevicePropertiesNukiMetadata: properties: device_id: string @@ -8636,6 +8629,7 @@ types: keypad_2_paired: optional source: openapi: ../openapi.json + inline: true DevicePropertiesKwiksetMetadata: properties: device_id: string @@ -8643,6 +8637,7 @@ types: model_number: string source: openapi: ../openapi.json + inline: true DevicePropertiesSaltoMetadata: properties: lock_id: string @@ -8653,17 +8648,20 @@ types: model: optional source: openapi: ../openapi.json + inline: true DevicePropertiesGenieMetadata: properties: device_name: string door_name: string source: openapi: ../openapi.json + inline: true DevicePropertiesBrivoMetadata: properties: device_name: string source: openapi: ../openapi.json + inline: true DevicePropertiesIglooMetadata: properties: device_id: string @@ -8671,6 +8669,7 @@ types: model: optional source: openapi: ../openapi.json + inline: true DevicePropertiesNoiseawareMetadataDeviceModel: enum: - indoor @@ -8686,64 +8685,60 @@ types: device_id: string source: openapi: ../openapi.json + inline: true DevicePropertiesMinutMetadataLatestSensorValuesTemperature: properties: time: string value: double source: openapi: ../openapi.json + inline: true DevicePropertiesMinutMetadataLatestSensorValuesSound: properties: time: string value: double source: openapi: ../openapi.json + inline: true DevicePropertiesMinutMetadataLatestSensorValuesHumidity: properties: time: string value: double source: openapi: ../openapi.json + inline: true DevicePropertiesMinutMetadataLatestSensorValuesPressure: properties: time: string value: double source: openapi: ../openapi.json + inline: true DevicePropertiesMinutMetadataLatestSensorValuesAccelerometerZ: properties: time: string value: double source: openapi: ../openapi.json + inline: true DevicePropertiesMinutMetadataLatestSensorValues: properties: - temperature: - type: DevicePropertiesMinutMetadataLatestSensorValuesTemperature - inline: true - sound: - type: DevicePropertiesMinutMetadataLatestSensorValuesSound - inline: true - humidity: - type: DevicePropertiesMinutMetadataLatestSensorValuesHumidity - inline: true - pressure: - type: DevicePropertiesMinutMetadataLatestSensorValuesPressure - inline: true - accelerometer_z: - type: DevicePropertiesMinutMetadataLatestSensorValuesAccelerometerZ - inline: true + temperature: DevicePropertiesMinutMetadataLatestSensorValuesTemperature + sound: DevicePropertiesMinutMetadataLatestSensorValuesSound + humidity: DevicePropertiesMinutMetadataLatestSensorValuesHumidity + pressure: DevicePropertiesMinutMetadataLatestSensorValuesPressure + accelerometer_z: DevicePropertiesMinutMetadataLatestSensorValuesAccelerometerZ source: openapi: ../openapi.json + inline: true DevicePropertiesMinutMetadata: properties: device_id: string device_name: string - latest_sensor_values: - type: DevicePropertiesMinutMetadataLatestSensorValues - inline: true + latest_sensor_values: DevicePropertiesMinutMetadataLatestSensorValues source: openapi: ../openapi.json + inline: true DevicePropertiesFourSuitesMetadata: properties: device_id: double @@ -8751,12 +8746,14 @@ types: reclose_delay_in_seconds: double source: openapi: ../openapi.json + inline: true DevicePropertiesTwoNMetadata: properties: device_id: double device_name: string source: openapi: ../openapi.json + inline: true DevicePropertiesControlbywebMetadata: properties: device_id: string @@ -8764,6 +8761,7 @@ types: relay_name: optional source: openapi: ../openapi.json + inline: true DevicePropertiesTtlockMetadata: properties: lock_id: double @@ -8771,6 +8769,7 @@ types: feature_value: string source: openapi: ../openapi.json + inline: true DevicePropertiesSeamBridgeMetadataUnlockMethod: enum: - bridge @@ -8784,6 +8783,7 @@ types: name: string source: openapi: ../openapi.json + inline: true DevicePropertiesIgloohomeMetadata: properties: device_id: string @@ -8793,6 +8793,7 @@ types: keypad_id: optional source: openapi: ../openapi.json + inline: true DevicePropertiesNestMetadata: properties: nest_device_id: string @@ -8800,18 +8801,21 @@ types: custom_name: string source: openapi: ../openapi.json + inline: true DevicePropertiesEcobeeMetadata: properties: ecobee_device_id: string device_name: string source: openapi: ../openapi.json + inline: true DevicePropertiesHoneywellResideoMetadata: properties: honeywell_resideo_device_id: string device_name: string source: openapi: ../openapi.json + inline: true DevicePropertiesHubitatMetadata: properties: device_id: string @@ -8819,6 +8823,7 @@ types: device_label: string source: openapi: ../openapi.json + inline: true DevicePropertiesDormakabaOracodeMetadataPredefinedTimeSlotsItem: properties: name: string @@ -8836,6 +8841,7 @@ types: format: uuid source: openapi: ../openapi.json + inline: true DevicePropertiesDormakabaOracodeMetadata: properties: door_id: double @@ -8849,6 +8855,7 @@ types: optional> source: openapi: ../openapi.json + inline: true DevicePropertiesWyzeMetadata: properties: device_id: string @@ -8861,6 +8868,7 @@ types: locker_status_hardlock: optional source: openapi: ../openapi.json + inline: true DevicePropertiesTedeeMetadata: properties: device_id: double @@ -8872,6 +8880,7 @@ types: keypad_id: optional source: openapi: ../openapi.json + inline: true DevicePropertiesCodeConstraintsItemZeroConstraintType: enum: - no_zeros @@ -8890,6 +8899,7 @@ types: constraint_type: DevicePropertiesCodeConstraintsItemZeroConstraintType source: openapi: ../openapi.json + inline: true DevicePropertiesCodeConstraintsItemMaxLengthConstraintType: enum: - name_length @@ -8903,6 +8913,7 @@ types: max_length: optional source: openapi: ../openapi.json + inline: true DevicePropertiesCodeConstraintsItem: discriminated: false union: @@ -8910,11 +8921,13 @@ types: - DevicePropertiesCodeConstraintsItemMaxLength source: openapi: ../openapi.json + inline: true DevicePropertiesKeypadBattery: properties: level: double source: openapi: ../openapi.json + inline: true DeviceProperties: docs: Properties of the device. properties: @@ -8933,13 +8946,8 @@ types: accessory_keypad: type: optional docs: Represents the accessory keypad state. - inline: true - appearance: - type: DevicePropertiesAppearance - inline: true - model: - type: DevicePropertiesModel - inline: true + appearance: DevicePropertiesAppearance + model: DevicePropertiesModel has_direct_power: type: optional docs: Indicates whether the device has direct power. @@ -8962,7 +8970,6 @@ types: adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage. - inline: true manufacturer: type: optional docs: Manufacturer of the device. @@ -9011,87 +9018,33 @@ types: currently_triggering_noise_threshold_ids: type: optional> docs: Array of noise threshold IDs that are currently triggering. - assa_abloy_credential_service_metadata: - type: optional - inline: true - august_metadata: - type: optional - inline: true - avigilon_alta_metadata: - type: optional - inline: true - schlage_metadata: - type: optional - inline: true - smartthings_metadata: - type: optional - inline: true - lockly_metadata: - type: optional - inline: true - nuki_metadata: - type: optional - inline: true - kwikset_metadata: - type: optional - inline: true - salto_metadata: - type: optional - inline: true - genie_metadata: - type: optional - inline: true - brivo_metadata: - type: optional - inline: true - igloo_metadata: - type: optional - inline: true - noiseaware_metadata: - type: optional - inline: true - minut_metadata: - type: optional - inline: true - four_suites_metadata: - type: optional - inline: true - two_n_metadata: - type: optional - inline: true - controlbyweb_metadata: - type: optional - inline: true - ttlock_metadata: - type: optional - inline: true - seam_bridge_metadata: - type: optional - inline: true - igloohome_metadata: - type: optional - inline: true - nest_metadata: - type: optional - inline: true - ecobee_metadata: - type: optional - inline: true - honeywell_resideo_metadata: - type: optional - inline: true - hubitat_metadata: - type: optional - inline: true - dormakaba_oracode_metadata: - type: optional - inline: true - wyze_metadata: - type: optional - inline: true - tedee_metadata: - type: optional - inline: true + assa_abloy_credential_service_metadata: optional + august_metadata: optional + avigilon_alta_metadata: optional + schlage_metadata: optional + smartthings_metadata: optional + lockly_metadata: optional + nuki_metadata: optional + kwikset_metadata: optional + salto_metadata: optional + genie_metadata: optional + brivo_metadata: optional + igloo_metadata: optional + noiseaware_metadata: optional + minut_metadata: optional + four_suites_metadata: optional + two_n_metadata: optional + controlbyweb_metadata: optional + ttlock_metadata: optional + seam_bridge_metadata: optional + igloohome_metadata: optional + nest_metadata: optional + ecobee_metadata: optional + honeywell_resideo_metadata: optional + hubitat_metadata: optional + dormakaba_oracode_metadata: optional + wyze_metadata: optional + tedee_metadata: optional _experimental_supported_code_from_access_codes_lengths: optional> code_constraints: optional> supported_code_lengths: optional> @@ -9099,12 +9052,11 @@ types: supports_backup_access_code_pool: optional has_native_entry_events: optional locked: optional - keypad_battery: - type: optional - inline: true + keypad_battery: optional door_open: optional source: openapi: ../openapi.json + inline: true DeviceLocation: docs: Location information for the device. properties: @@ -9116,18 +9068,21 @@ types: docs: Time zone of the device location. source: openapi: ../openapi.json + inline: true DeviceErrorsItem: properties: error_code: string message: string source: openapi: ../openapi.json + inline: true DeviceWarningsItem: properties: warning_code: string message: string source: openapi: ../openapi.json + inline: true DeviceCustomMetadataValue: discriminated: false union: @@ -9135,6 +9090,7 @@ types: - boolean source: openapi: ../openapi.json + inline: true Device: properties: device_id: @@ -9174,7 +9130,6 @@ types: location: type: optional docs: Location information for the device. - inline: true connected_account_id: type: string docs: Unique identifier for the account associated with the device. @@ -9273,12 +9228,14 @@ types: message: string source: openapi: ../openapi.json + inline: true UnmanagedDeviceWarningsItem: properties: warning_code: string message: string source: openapi: ../openapi.json + inline: true UnmanagedDevicePropertiesAccessoryKeypadBattery: docs: Indicates if the keypad battery properties. properties: @@ -9289,6 +9246,7 @@ types: max: 1 source: openapi: ../openapi.json + inline: true UnmanagedDevicePropertiesAccessoryKeypad: docs: Represents the accessory keypad state. properties: @@ -9298,9 +9256,9 @@ types: battery: type: optional docs: Indicates if the keypad battery properties. - inline: true source: openapi: ../openapi.json + inline: true UnmanagedDevicePropertiesBatteryStatus: enum: - critical @@ -9327,6 +9285,7 @@ types: status: UnmanagedDevicePropertiesBatteryStatus source: openapi: ../openapi.json + inline: true UnmanagedDevicePropertiesModel: properties: can_connect_accessory_keypad: @@ -9359,12 +9318,12 @@ types: source: openapi: ../openapi.json + inline: true UnmanagedDeviceProperties: properties: accessory_keypad: type: optional docs: Represents the accessory keypad state. - inline: true name: type: string docs: |2- @@ -9407,7 +9366,6 @@ types: adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage. - inline: true online_access_codes_enabled: type: optional docs: >- @@ -9418,11 +9376,10 @@ types: docs: >- Indicates whether it is currently possible to use offline access codes for the device. - model: - type: UnmanagedDevicePropertiesModel - inline: true + model: UnmanagedDevicePropertiesModel source: openapi: ../openapi.json + inline: true UnmanagedDevice: properties: device_id: @@ -9478,9 +9435,7 @@ types: type: datetime docs: Date and time at which the device object was created. is_managed: boolean - properties: - type: UnmanagedDeviceProperties - inline: true + properties: UnmanagedDeviceProperties can_remotely_unlock: optional can_remotely_lock: optional can_program_offline_access_codes: optional @@ -9685,12 +9640,14 @@ types: message: string source: openapi: ../openapi.json + inline: true AcsSystemErrorsItemVisionlineInstanceUnreachable: properties: created_at: datetime message: string source: openapi: ../openapi.json + inline: true AcsSystemErrorsItem: discriminant: error_code base-properties: {} @@ -9703,6 +9660,7 @@ types: properties: {} source: openapi: ../openapi.json + inline: true AcsSystem: properties: acs_system_id: @@ -9818,6 +9776,7 @@ types: ends_at: datetime source: openapi: ../openapi.json + inline: true AcsUser: properties: acs_user_id: @@ -9841,9 +9800,7 @@ types: external_type: optional external_type_display_name: optional is_suspended: boolean - access_schedule: - type: optional - inline: true + access_schedule: optional user_identity_id: optional user_identity_full_name: optional user_identity_email_address: optional @@ -9872,6 +9829,7 @@ types: message: string source: openapi: ../openapi.json + inline: true AcsEntranceLatchMetadata: properties: accessibility_type: string @@ -9880,6 +9838,7 @@ types: is_connected: boolean source: openapi: ../openapi.json + inline: true AcsEntranceVisionlineMetadataDoorCategory: enum: - entrance @@ -9904,6 +9863,7 @@ types: visionline_door_profile_type: AcsEntranceVisionlineMetadataProfilesItemVisionlineDoorProfileType source: openapi: ../openapi.json + inline: true AcsEntranceVisionlineMetadata: properties: door_name: string @@ -9911,6 +9871,7 @@ types: profiles: optional> source: openapi: ../openapi.json + inline: true AcsEntrance: properties: acs_system_id: @@ -9924,12 +9885,8 @@ types: created_at: datetime display_name: string errors: list - latch_metadata: - type: optional - inline: true - visionline_metadata: - type: optional - inline: true + latch_metadata: optional + visionline_metadata: optional source: openapi: ../openapi.json AcsCredentialProvisioningAutomation: @@ -9997,12 +9954,14 @@ types: message: string source: openapi: ../openapi.json + inline: true AcsCredentialWarningsItem: properties: warning_code: string message: string source: openapi: ../openapi.json + inline: true AcsCredentialVisionlineMetadataCardFunctionType: enum: - guest @@ -10017,6 +9976,7 @@ types: common_acs_entrance_ids: optional> source: openapi: ../openapi.json + inline: true AcsCredential: properties: acs_credential_id: @@ -10059,9 +10019,7 @@ types: is_multi_phone_sync_credential: optional is_latest_desired_state_synced_with_provider: optional latest_desired_state_synced_with_provider_at: optional - visionline_metadata: - type: optional - inline: true + visionline_metadata: optional source: openapi: ../openapi.json EnrollmentAutomation: @@ -10107,19 +10065,20 @@ types: is_active: boolean source: openapi: ../openapi.json + inline: true PhonePropertiesAssaAbloyCredentialServiceMetadata: properties: has_active_endpoint: boolean endpoints: list source: openapi: ../openapi.json + inline: true PhoneProperties: properties: - assa_abloy_credential_service_metadata: - type: optional - inline: true + assa_abloy_credential_service_metadata: optional source: openapi: ../openapi.json + inline: true PhoneLocation: docs: Location information for the device. properties: @@ -10131,18 +10090,21 @@ types: docs: Time zone of the device location. source: openapi: ../openapi.json + inline: true PhoneErrorsItem: properties: error_code: string message: string source: openapi: ../openapi.json + inline: true PhoneWarningsItem: properties: warning_code: string message: string source: openapi: ../openapi.json + inline: true PhoneCustomMetadataValue: discriminated: false union: @@ -10150,6 +10112,7 @@ types: - boolean source: openapi: ../openapi.json + inline: true Phone: properties: device_id: @@ -10181,13 +10144,10 @@ types: "battery," which indicates that the device can manage battery life and health. type: list - properties: - type: PhoneProperties - inline: true + properties: PhoneProperties location: type: optional docs: Location information for the device. - inline: true workspace_id: type: string docs: Unique identifier for the Seam workspace associated with the device. @@ -11047,6 +11007,7 @@ types: }, "AccessCodesCreateMultipleResponse": { "docs": undefined, + "inline": undefined, "properties": { "access_codes": "list", "ok": "boolean", @@ -11081,6 +11042,7 @@ types: }, "AccessCodesCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "access_code": "root.AccessCode", "action_attempt": "root.ActionAttempt", @@ -11092,6 +11054,7 @@ types: }, "AccessCodesDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -11102,6 +11065,7 @@ types: }, "AccessCodesGenerateCodeResponse": { "docs": undefined, + "inline": undefined, "properties": { "generated_code": "root.AccessCode", "ok": "boolean", @@ -11112,6 +11076,7 @@ types: }, "AccessCodesGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "access_code": "root.AccessCode", "ok": "boolean", @@ -11122,6 +11087,7 @@ types: }, "AccessCodesListResponse": { "docs": undefined, + "inline": undefined, "properties": { "access_codes": "list", "ok": "boolean", @@ -11132,6 +11098,7 @@ types: }, "AccessCodesPullBackupAccessCodeResponse": { "docs": undefined, + "inline": undefined, "properties": { "backup_access_code": "root.AccessCode", "ok": "boolean", @@ -11175,6 +11142,7 @@ types: }, "AccessCodesUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -11883,6 +11851,7 @@ service: "types": { "SimulateCreateUnmanagedAccessCodeResponse": { "docs": undefined, + "inline": undefined, "properties": { "access_code": "root.UnmanagedAccessCode", "ok": "boolean", @@ -12308,6 +12277,7 @@ service: "types": { "UnmanagedConvertToManagedResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -12317,6 +12287,7 @@ service: }, "UnmanagedDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -12327,6 +12298,7 @@ service: }, "UnmanagedGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "access_code": "root.UnmanagedAccessCode", "ok": "boolean", @@ -12337,6 +12309,7 @@ service: }, "UnmanagedListResponse": { "docs": undefined, + "inline": undefined, "properties": { "access_codes": "list", "ok": "boolean", @@ -12347,6 +12320,7 @@ service: }, "UnmanagedUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -12946,6 +12920,7 @@ service: "types": { "AccessGroupsAddUserResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -12955,6 +12930,7 @@ service: }, "AccessGroupsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_access_group": "root.AcsAccessGroup", "ok": "boolean", @@ -12965,6 +12941,7 @@ service: }, "AccessGroupsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_access_groups": "list", "ok": "boolean", @@ -12975,6 +12952,7 @@ service: }, "AccessGroupsListUsersResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_users": "list", "ok": "boolean", @@ -12985,6 +12963,7 @@ service: }, "AccessGroupsRemoveUserResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -13313,6 +13292,7 @@ service: "types": { "CredentialPoolsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_credential_pools": "list", "ok": "boolean", @@ -13483,6 +13463,7 @@ service: "types": { "CredentialProvisioningAutomationsLaunchResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_credential_provisioning_automation": "root.AcsCredentialProvisioningAutomation", "ok": "boolean", @@ -13778,10 +13759,7 @@ service: "type": "optional", }, "starts_at": "optional", - "visionline_metadata": { - "inline": true, - "type": "optional", - }, + "visionline_metadata": "optional", }, }, "content-type": "application/json", @@ -14307,6 +14285,7 @@ service: "types": { "CredentialsAssignResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_credential": "root.AcsCredential", "ok": "boolean", @@ -14327,6 +14306,7 @@ service: }, "CredentialsCreateRequestVisionlineMetadata": { "docs": undefined, + "inline": true, "properties": { "assa_abloy_credential_service_mobile_endpoint_id": { "type": "optional", @@ -14378,6 +14358,7 @@ service: }, "CredentialsCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_credential": "root.AcsCredential", "ok": "boolean", @@ -14388,6 +14369,7 @@ service: }, "CredentialsDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -14397,6 +14379,7 @@ service: }, "CredentialsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_credential": "root.AcsCredential", "ok": "boolean", @@ -14407,6 +14390,7 @@ service: }, "CredentialsListAccessibleEntrancesResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_entrances": "list", "ok": "boolean", @@ -14417,6 +14401,7 @@ service: }, "CredentialsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_credentials": "list", "ok": "boolean", @@ -14427,6 +14412,7 @@ service: }, "CredentialsUnassignResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_credential": "root.AcsCredential", "ok": "boolean", @@ -14437,6 +14423,7 @@ service: }, "CredentialsUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_credential": "root.AcsCredential", "ok": "boolean", @@ -14498,6 +14485,7 @@ types: joiner_acs_credential_ids: optional> source: openapi: ../openapi.json + inline: true CredentialsCreateResponse: properties: acs_credential: root.AcsCredential @@ -14636,9 +14624,7 @@ service: type: optional default: false allowed_acs_entrance_ids: optional> - visionline_metadata: - type: optional - inline: true + visionline_metadata: optional starts_at: optional ends_at: optional content-type: application/json @@ -15335,6 +15321,7 @@ service: "types": { "EntrancesGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_entrance": "root.AcsEntrance", "ok": "boolean", @@ -15345,6 +15332,7 @@ service: }, "EntrancesGrantAccessResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -15354,6 +15342,7 @@ service: }, "EntrancesListCredentialsWithAccessResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_credentials": "list", "ok": "boolean", @@ -15364,6 +15353,7 @@ service: }, "EntrancesListResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_entrances": "list", "ok": "boolean", @@ -15856,6 +15846,7 @@ service: "types": { "SystemsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_system": "root.AcsSystem", "ok": "boolean", @@ -15866,6 +15857,7 @@ service: }, "SystemsListCompatibleCredentialManagerAcsSystemsResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_systems": "list", "ok": "boolean", @@ -15876,6 +15868,7 @@ service: }, "SystemsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_systems": "list", "ok": "boolean", @@ -16192,10 +16185,7 @@ service: "request": { "body": { "properties": { - "access_schedule": { - "inline": true, - "type": "optional", - }, + "access_schedule": "optional", "acs_access_group_ids": "optional>", "acs_system_id": { "type": "string", @@ -16785,10 +16775,7 @@ service: "request": { "body": { "properties": { - "access_schedule": { - "inline": true, - "type": "optional", - }, + "access_schedule": "optional", "acs_user_id": { "type": "string", "validation": { @@ -16856,6 +16843,7 @@ service: "types": { "UsersAddToAccessGroupResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -16865,6 +16853,7 @@ service: }, "UsersCreateRequestAccessSchedule": { "docs": undefined, + "inline": true, "properties": { "ends_at": "datetime", "starts_at": "datetime", @@ -16875,6 +16864,7 @@ service: }, "UsersCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_user": "root.AcsUser", "ok": "boolean", @@ -16885,6 +16875,7 @@ service: }, "UsersDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -16894,6 +16885,7 @@ service: }, "UsersGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_user": "root.AcsUser", "ok": "boolean", @@ -16904,6 +16896,7 @@ service: }, "UsersListAccessibleEntrancesResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_entrances": "list", "ok": "boolean", @@ -16914,6 +16907,7 @@ service: }, "UsersListResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_users": "list", "ok": "boolean", @@ -16924,6 +16918,7 @@ service: }, "UsersRemoveFromAccessGroupResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -16933,6 +16928,7 @@ service: }, "UsersRevokeAccessToAllEntrancesResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -16942,6 +16938,7 @@ service: }, "UsersSuspendResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -16951,6 +16948,7 @@ service: }, "UsersUnsuspendResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -16960,6 +16958,7 @@ service: }, "UsersUpdateRequestAccessSchedule": { "docs": undefined, + "inline": true, "properties": { "ends_at": "datetime", "starts_at": "datetime", @@ -16970,6 +16969,7 @@ service: }, "UsersUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -16991,6 +16991,7 @@ service: ends_at: datetime source: openapi: ../openapi.json + inline: true UsersCreateResponse: properties: acs_user: root.AcsUser @@ -17046,6 +17047,7 @@ service: ends_at: datetime source: openapi: ../openapi.json + inline: true UsersUpdateResponse: properties: ok: boolean @@ -17110,9 +17112,7 @@ service: type: optional validation: format: uuid - access_schedule: - type: optional - inline: true + access_schedule: optional full_name: optional email: type: optional @@ -17470,9 +17470,7 @@ service: name: UsersUpdateRequest body: properties: - access_schedule: - type: optional - inline: true + access_schedule: optional acs_user_id: type: string validation: @@ -17646,6 +17644,7 @@ service: "types": { "ActionAttemptsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -17656,6 +17655,7 @@ service: }, "ActionAttemptsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempts": "list", "ok": "boolean", @@ -18206,6 +18206,7 @@ service: "types": { "ClientSessionsCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "client_session": "root.ClientSession", "ok": "boolean", @@ -18216,6 +18217,7 @@ service: }, "ClientSessionsDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -18225,6 +18227,7 @@ service: }, "ClientSessionsGetOrCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "client_session": "root.ClientSession", "ok": "boolean", @@ -18235,6 +18238,7 @@ service: }, "ClientSessionsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "client_session": "root.ClientSession", "ok": "boolean", @@ -18245,6 +18249,7 @@ service: }, "ClientSessionsGrantAccessResponse": { "docs": undefined, + "inline": undefined, "properties": { "client_session": "root.ClientSession", "ok": "boolean", @@ -18255,6 +18260,7 @@ service: }, "ClientSessionsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "client_sessions": "list", "ok": "boolean", @@ -18265,6 +18271,7 @@ service: }, "ClientSessionsRevokeResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -18951,6 +18958,7 @@ service: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -18993,6 +19001,7 @@ service: }, "ConnectWebviewsCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "connect_webview": "root.ConnectWebview", "ok": "boolean", @@ -19003,6 +19012,7 @@ service: }, "ConnectWebviewsDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -19012,6 +19022,7 @@ service: }, "ConnectWebviewsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "connect_webview": "root.ConnectWebview", "ok": "boolean", @@ -19024,6 +19035,7 @@ service: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -19034,6 +19046,7 @@ service: }, "ConnectWebviewsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "connect_webviews": "list", "ok": "boolean", @@ -19116,6 +19129,7 @@ service: - optional source: openapi: ../openapi.json + inline: true ConnectWebviewsCreateResponse: properties: connect_webview: root.ConnectWebview @@ -19140,6 +19154,7 @@ service: - boolean source: openapi: ../openapi.json + inline: true ConnectWebviewsListResponse: properties: connect_webviews: list @@ -19627,6 +19642,7 @@ service: "types": { "ConnectedAccountsDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -19638,6 +19654,7 @@ service: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -19648,6 +19665,7 @@ service: }, "ConnectedAccountsGetRequestConnectedAccountId": { "docs": undefined, + "inline": true, "properties": { "connected_account_id": { "type": "string", @@ -19665,6 +19683,7 @@ service: }, "ConnectedAccountsGetRequestEmail": { "docs": undefined, + "inline": true, "properties": { "email": { "type": "string", @@ -19682,6 +19701,7 @@ service: }, "ConnectedAccountsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "connected_account": "root.ConnectedAccount", "ok": "boolean", @@ -19694,6 +19714,7 @@ service: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -19704,6 +19725,7 @@ service: }, "ConnectedAccountsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "connected_accounts": "list", "ok": "boolean", @@ -19716,6 +19738,7 @@ service: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -19735,6 +19758,7 @@ service: }, "ConnectedAccountsUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "connected_account": "root.ConnectedAccount", "ok": "boolean", @@ -19759,6 +19783,7 @@ service: format: uuid source: openapi: ../openapi.json + inline: true ConnectedAccountsGetRequestEmail: properties: email: @@ -19767,6 +19792,7 @@ service: format: email source: openapi: ../openapi.json + inline: true ConnectedAccountsGetRequest: discriminated: false union: @@ -19787,6 +19813,7 @@ service: - boolean source: openapi: ../openapi.json + inline: true ConnectedAccountsListResponse: properties: connected_accounts: list @@ -19803,6 +19830,7 @@ service: - optional source: openapi: ../openapi.json + inline: true ConnectedAccountsUpdateResponse: properties: connected_account: root.ConnectedAccount @@ -20565,10 +20593,7 @@ service: "type": "optional", }, "name": "optional", - "properties": { - "inline": true, - "type": "optional", - }, + "properties": "optional", }, }, "content-type": "application/json", @@ -20593,6 +20618,7 @@ service: "types": { "DevicesDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -20602,6 +20628,7 @@ service: }, "DevicesGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "device": "root.Device", "ok": "boolean", @@ -20624,6 +20651,7 @@ service: }, "DevicesListDeviceProvidersResponse": { "docs": undefined, + "inline": undefined, "properties": { "device_providers": "list", "ok": "boolean", @@ -20636,6 +20664,7 @@ service: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -20795,6 +20824,7 @@ service: }, "DevicesListResponse": { "docs": undefined, + "inline": undefined, "properties": { "devices": "list", "ok": "boolean", @@ -20807,6 +20837,7 @@ service: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -20826,6 +20857,7 @@ service: }, "DevicesUpdateRequestProperties": { "docs": undefined, + "inline": true, "properties": { "name": "optional", }, @@ -20835,6 +20867,7 @@ service: }, "DevicesUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -20975,6 +21008,7 @@ service: - boolean source: openapi: ../openapi.json + inline: true DevicesListRequestIncludeIfItem: enum: - can_remotely_unlock @@ -21023,6 +21057,7 @@ service: name: optional source: openapi: ../openapi.json + inline: true DevicesUpdateRequestCustomMetadataValue: discriminated: false union: @@ -21033,6 +21068,7 @@ service: - optional source: openapi: ../openapi.json + inline: true DevicesUpdateResponse: properties: ok: boolean @@ -21422,9 +21458,7 @@ service: type: string validation: format: uuid - properties: - type: optional - inline: true + properties: optional name: optional is_managed: type: optional @@ -21620,6 +21654,7 @@ service: "types": { "SimulateConnectResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -21629,6 +21664,7 @@ service: }, "SimulateDisconnectResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -21638,6 +21674,7 @@ service: }, "SimulateRemoveResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -22044,6 +22081,7 @@ service: "types": { "UnmanagedGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "device": "root.UnmanagedDevice", "ok": "boolean", @@ -22056,6 +22094,7 @@ service: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -22215,6 +22254,7 @@ service: }, "UnmanagedListResponse": { "docs": undefined, + "inline": undefined, "properties": { "devices": "list", "ok": "boolean", @@ -22225,6 +22265,7 @@ service: }, "UnmanagedUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -22362,6 +22403,7 @@ types: - boolean source: openapi: ../openapi.json + inline: true UnmanagedListRequestIncludeIfItem: enum: - can_remotely_unlock @@ -22762,6 +22804,7 @@ service: "types": { "EventsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "event": "optional", "message": "optional", @@ -22775,6 +22818,7 @@ service: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -23263,6 +23307,7 @@ service: }, "EventsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "events": "list", "ok": "boolean", @@ -23290,6 +23335,7 @@ types: - datetime source: openapi: ../openapi.json + inline: true EventsListRequestEventType: enum: - value: device.accessory_keypad_connected @@ -24520,6 +24566,7 @@ service: "types": { "LocksGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "device": "root.Device", "lock": "root.Device", @@ -24533,6 +24580,7 @@ service: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -24692,6 +24740,7 @@ service: }, "LocksListResponse": { "docs": undefined, + "inline": undefined, "properties": { "devices": "list", "locks": "list", @@ -24703,6 +24752,7 @@ service: }, "LocksLockDoorResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -24713,6 +24763,7 @@ service: }, "LocksUnlockDoorResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -24852,6 +24903,7 @@ types: - boolean source: openapi: ../openapi.json + inline: true LocksListRequestIncludeIfItem: enum: - can_remotely_unlock @@ -25634,6 +25686,7 @@ service: "types": { "NetworksGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "network": "root.Network", "ok": "boolean", @@ -25644,6 +25697,7 @@ service: }, "NetworksListResponse": { "docs": undefined, + "inline": undefined, "properties": { "networks": "list", "ok": "boolean", @@ -26111,6 +26165,7 @@ service: "types": { "NoiseThresholdsCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "noise_threshold": "root.NoiseThreshold", @@ -26122,6 +26177,7 @@ service: }, "NoiseThresholdsDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -26132,6 +26188,7 @@ service: }, "NoiseThresholdsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "noise_threshold": "root.NoiseThreshold", "ok": "boolean", @@ -26142,6 +26199,7 @@ service: }, "NoiseThresholdsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "noise_thresholds": "list", "ok": "boolean", @@ -26152,6 +26210,7 @@ service: }, "NoiseThresholdsUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -26490,6 +26549,7 @@ service: "types": { "SimulateTriggerNoiseThresholdResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -26691,6 +26751,7 @@ service: "types": { "PhonesDeactivateResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -26700,6 +26761,7 @@ service: }, "PhonesListResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "phones": "list", @@ -26896,15 +26958,9 @@ service: "request": { "body": { "properties": { - "assa_abloy_metadata": { - "inline": true, - "type": "optional", - }, + "assa_abloy_metadata": "optional", "custom_sdk_installation_id": "optional", - "phone_metadata": { - "inline": true, - "type": "optional", - }, + "phone_metadata": "optional", "user_identity_id": { "type": "string", "validation": { @@ -26939,6 +26995,7 @@ service: "types": { "SimulateCreateSandboxPhoneRequestAssaAbloyMetadata": { "docs": undefined, + "inline": true, "properties": { "application_version": { "default": "1.0.0", @@ -26971,6 +27028,7 @@ service: }, "SimulateCreateSandboxPhoneRequestPhoneMetadata": { "docs": undefined, + "inline": true, "properties": { "device_manufacturer": { "default": "Samsung", @@ -27005,6 +27063,7 @@ service: }, "SimulateCreateSandboxPhoneResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "phone": "root.Phone", @@ -27040,6 +27099,7 @@ service: default: Samsung Galaxy S10 source: openapi: ../openapi.json + inline: true SimulateCreateSandboxPhoneRequestAssaAbloyMetadata: properties: ble_capability: @@ -27062,6 +27122,7 @@ service: default: 1 source: openapi: ../openapi.json + inline: true SimulateCreateSandboxPhoneResponse: properties: phone: root.Phone @@ -27090,12 +27151,8 @@ service: type: string validation: format: uuid - phone_metadata: - type: optional - inline: true - assa_abloy_metadata: - type: optional - inline: true + phone_metadata: optional + assa_abloy_metadata: optional content-type: application/json response: docs: OK @@ -27936,10 +27993,7 @@ service: "request": { "body": { "properties": { - "default_climate_setting": { - "inline": true, - "type": "ThermostatsUpdateRequestDefaultClimateSetting", - }, + "default_climate_setting": "ThermostatsUpdateRequestDefaultClimateSetting", "device_id": { "type": "string", "validation": { @@ -27973,6 +28027,7 @@ service: "types": { "ThermostatsCoolResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -27983,6 +28038,7 @@ service: }, "ThermostatsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "thermostat": "root.Device", @@ -27993,6 +28049,7 @@ service: }, "ThermostatsHeatCoolResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -28003,6 +28060,7 @@ service: }, "ThermostatsHeatResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -28015,6 +28073,7 @@ service: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -28174,6 +28233,7 @@ service: }, "ThermostatsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "thermostats": "list", @@ -28184,6 +28244,7 @@ service: }, "ThermostatsOffResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -28212,6 +28273,7 @@ service: }, "ThermostatsSetFanModeResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -28222,6 +28284,7 @@ service: }, "ThermostatsUpdateRequestDefaultClimateSetting": { "docs": undefined, + "inline": true, "properties": { "automatic_cooling_enabled": "optional", "automatic_heating_enabled": "optional", @@ -28249,6 +28312,7 @@ service: }, "ThermostatsUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -28404,6 +28468,7 @@ types: - boolean source: openapi: ../openapi.json + inline: true ThermostatsListRequestIncludeIfItem: enum: - can_remotely_unlock @@ -28476,6 +28541,7 @@ types: manual_override_allowed: optional source: openapi: ../openapi.json + inline: true ThermostatsUpdateResponse: properties: ok: boolean @@ -29006,9 +29072,7 @@ service: type: string validation: format: uuid - default_climate_setting: - type: ThermostatsUpdateRequestDefaultClimateSetting - inline: true + default_climate_setting: ThermostatsUpdateRequestDefaultClimateSetting content-type: application/json response: docs: OK @@ -29422,6 +29486,7 @@ service: }, "ClimateSettingSchedulesCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "climate_setting_schedule": "root.ClimateSettingSchedule", "ok": "boolean", @@ -29432,6 +29497,7 @@ service: }, "ClimateSettingSchedulesDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -29441,6 +29507,7 @@ service: }, "ClimateSettingSchedulesGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "climate_setting_schedule": "root.ClimateSettingSchedule", "ok": "boolean", @@ -29451,6 +29518,7 @@ service: }, "ClimateSettingSchedulesListResponse": { "docs": undefined, + "inline": undefined, "properties": { "climate_setting_schedules": "list", "ok": "boolean", @@ -29472,6 +29540,7 @@ service: }, "ClimateSettingSchedulesUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "climate_setting_schedule": "root.ClimateSettingSchedule", "ok": "boolean", @@ -30667,6 +30736,7 @@ service: "types": { "UserIdentitiesAddAcsUserResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -30676,6 +30746,7 @@ service: }, "UserIdentitiesCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "user_identity": "root.UserIdentity", @@ -30686,6 +30757,7 @@ service: }, "UserIdentitiesDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -30697,6 +30769,7 @@ service: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -30707,6 +30780,7 @@ service: }, "UserIdentitiesGetRequestUserIdentityId": { "docs": undefined, + "inline": true, "properties": { "user_identity_id": { "type": "string", @@ -30724,6 +30798,7 @@ service: }, "UserIdentitiesGetRequestUserIdentityKey": { "docs": undefined, + "inline": true, "properties": { "user_identity_key": "string", }, @@ -30733,6 +30808,7 @@ service: }, "UserIdentitiesGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "user_identity": "root.UserIdentity", @@ -30743,6 +30819,7 @@ service: }, "UserIdentitiesGrantAccessToDeviceResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -30752,6 +30829,7 @@ service: }, "UserIdentitiesListAccessibleDevicesResponse": { "docs": undefined, + "inline": undefined, "properties": { "accessible_devices": { "docs": " @@ -30770,6 +30848,7 @@ service: }, "UserIdentitiesListAcsSystemsResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_systems": "list", "ok": "boolean", @@ -30780,6 +30859,7 @@ service: }, "UserIdentitiesListAcsUsersResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_users": "list", "ok": "boolean", @@ -30790,6 +30870,7 @@ service: }, "UserIdentitiesListResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "user_identities": "list", @@ -30800,6 +30881,7 @@ service: }, "UserIdentitiesRemoveAcsUserResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -30809,6 +30891,7 @@ service: }, "UserIdentitiesRevokeAccessToDeviceResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -30818,6 +30901,7 @@ service: }, "UserIdentitiesUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -30852,11 +30936,13 @@ service: format: uuid source: openapi: ../openapi.json + inline: true UserIdentitiesGetRequestUserIdentityKey: properties: user_identity_key: string source: openapi: ../openapi.json + inline: true UserIdentitiesGetRequest: discriminated: false union: @@ -31725,6 +31811,7 @@ service: "types": { "EnrollmentAutomationsDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -31734,6 +31821,7 @@ service: }, "EnrollmentAutomationsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "enrollment_automation": "root.EnrollmentAutomation", "ok": "boolean", @@ -31744,11 +31832,9 @@ service: }, "EnrollmentAutomationsLaunchResponse": { "docs": undefined, + "inline": undefined, "properties": { - "enrollment_automation": { - "inline": true, - "type": "EnrollmentAutomationsLaunchResponseEnrollmentAutomation", - }, + "enrollment_automation": "EnrollmentAutomationsLaunchResponseEnrollmentAutomation", "ok": "boolean", }, "source": { @@ -31757,6 +31843,7 @@ service: }, "EnrollmentAutomationsLaunchResponseEnrollmentAutomation": { "docs": undefined, + "inline": true, "properties": { "acs_credential_provisioning_automation_id": { "type": "string", @@ -31811,6 +31898,7 @@ service: }, "EnrollmentAutomationsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "enrollment_automations": "list", "ok": "boolean", @@ -31858,11 +31946,10 @@ service: format: uuid source: openapi: ../openapi.json + inline: true EnrollmentAutomationsLaunchResponse: properties: - enrollment_automation: - type: EnrollmentAutomationsLaunchResponseEnrollmentAutomation - inline: true + enrollment_automation: EnrollmentAutomationsLaunchResponseEnrollmentAutomation ok: boolean source: openapi: ../openapi.json @@ -32290,6 +32377,7 @@ service: "types": { "WebhooksCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "webhook": "root.Webhook", @@ -32300,6 +32388,7 @@ service: }, "WebhooksDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -32309,6 +32398,7 @@ service: }, "WebhooksGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "webhook": "root.Webhook", @@ -32319,6 +32409,7 @@ service: }, "WebhooksListResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "webhooks": "list", @@ -32329,6 +32420,7 @@ service: }, "WebhooksUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -32725,6 +32817,7 @@ service: }, "WorkspacesCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "workspace": "root.Workspace", @@ -32735,6 +32828,7 @@ service: }, "WorkspacesGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "workspace": "root.Workspace", @@ -32745,6 +32839,7 @@ service: }, "WorkspacesListResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "workspaces": "list", @@ -32755,6 +32850,7 @@ service: }, "WorkspacesResetSandboxResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/squidex.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/squidex.json index f2823a0b544..a0153219d83 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/squidex.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/squidex.json @@ -5441,6 +5441,7 @@ }, "AddFieldDto": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "The name of the field. Must be unique within the schema.", @@ -5467,6 +5468,7 @@ }, "AlgoliaRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "apiKey": { "docs": "The API key to grant access to Squidex.", @@ -5513,6 +5515,7 @@ }, "AllContentsByPostDto": { "docs": undefined, + "inline": undefined, "properties": { "ids": { "docs": "The list of ids to query.", @@ -5549,11 +5552,11 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "canAccessApi": { "availability": "deprecated", "docs": "Indicates if the user can access the api.", - "inline": undefined, "type": "boolean", }, "canAccessContent": { @@ -5620,6 +5623,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "englishName": { "docs": "The english name of the language.", @@ -5651,6 +5655,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The languages.", @@ -5666,6 +5671,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "editors": { "docs": "The configured UI editors.", @@ -5694,6 +5700,7 @@ }, "ArrayFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "maxItems": { "docs": "The maximum allowed items for the field value.", @@ -5714,6 +5721,7 @@ }, "AssetChangedRuleTriggerDto": { "docs": undefined, + "inline": undefined, "properties": { "condition": { "docs": "Javascript condition when to trigger.", @@ -5729,6 +5737,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "_meta": { "docs": "The metadata.", @@ -5773,7 +5782,6 @@ "isImage": { "availability": "deprecated", "docs": "Determines of the created file is an image.", - "inline": undefined, "type": "boolean", }, "isProtected": { @@ -5807,13 +5815,11 @@ "pixelHeight": { "availability": "deprecated", "docs": "The height of the image in pixels if the asset is an image.", - "inline": undefined, "type": "optional", }, "pixelWidth": { "availability": "deprecated", "docs": "The width of the image in pixels if the asset is an image.", - "inline": undefined, "type": "optional", }, "slug": { @@ -5842,6 +5848,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "folderName": { "docs": "The folder name.", @@ -5880,6 +5887,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The assets folders.", @@ -5900,6 +5908,7 @@ }, "AssetMeta": { "docs": undefined, + "inline": undefined, "properties": { "isDuplicate": { "docs": "Indicates whether the asset is a duplicate.", @@ -5926,6 +5935,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "annotate": { "docs": "The script that is executed when annotating a content.", @@ -5981,6 +5991,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The assets.", @@ -5997,6 +6008,7 @@ }, "AssetsFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "allowDuplicates": { "docs": "True, if duplicate values are allowed.", @@ -6065,7 +6077,6 @@ "mustBeImage": { "availability": "deprecated", "docs": "True to resolve first image in the content list.", - "inline": undefined, "type": "boolean", }, "previewFormat": { @@ -6083,7 +6094,6 @@ "resolveImage": { "availability": "deprecated", "docs": "True to resolve first image in the content list.", - "inline": undefined, "type": "boolean", }, }, @@ -6093,6 +6103,7 @@ }, "AssignContributorDto": { "docs": undefined, + "inline": undefined, "properties": { "contributorId": { "docs": "The id or email of the user to add to the app.", @@ -6119,6 +6130,7 @@ }, "AzureQueueRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "connectionString": { "docs": "The connection string to the storage account.", @@ -6154,6 +6166,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "handledAssets": { "docs": "The number of handled assets.", @@ -6189,6 +6202,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The backups.", @@ -6211,6 +6225,7 @@ }, "BooleanFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "defaultValue": { "docs": "The default value for the field value.", @@ -6235,11 +6250,11 @@ }, "BulkResultDto": { "docs": undefined, + "inline": undefined, "properties": { "contentId": { "availability": "deprecated", "docs": "The ID of the entity that has been handled successfully or not.", - "inline": undefined, "type": "optional", }, "error": { @@ -6272,6 +6287,7 @@ }, "BulkUpdateAssetsJobDto": { "docs": undefined, + "inline": undefined, "properties": { "expectedVersion": { "docs": "The expected version.", @@ -6335,6 +6351,7 @@ }, "BulkUpdateContentsJobDto": { "docs": undefined, + "inline": undefined, "properties": { "data": { "docs": "The data of the content when type is set to 'Upsert', 'Create', 'Update' or 'Patch.", @@ -6387,6 +6404,7 @@ }, "CallsUsageDtoDto": { "docs": undefined, + "inline": undefined, "properties": { "allowedBytes": { "docs": "The included API traffic.", @@ -6431,6 +6449,7 @@ }, "CallsUsagePerDateDto": { "docs": undefined, + "inline": undefined, "properties": { "averageElapsedMs": { "docs": "The average duration in milliseconds.", @@ -6461,6 +6480,7 @@ }, "ChangePlanDto": { "docs": undefined, + "inline": undefined, "properties": { "planId": { "docs": "The new plan id.", @@ -6482,6 +6502,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "allowAnonymous": { "docs": "True to allow anonymous access without an access token for this client.", @@ -6521,6 +6542,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The clients.", @@ -6533,6 +6555,7 @@ }, "CommentDto": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The ID of the comment.", @@ -6567,6 +6590,7 @@ }, "CommentRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "client": { "docs": "An optional client name.", @@ -6589,6 +6613,7 @@ }, "CommentRuleTriggerDto": { "docs": undefined, + "inline": undefined, "properties": { "condition": { "docs": "Javascript condition when to trigger.", @@ -6601,6 +6626,7 @@ }, "CommentsDto": { "docs": undefined, + "inline": undefined, "properties": { "createdComments": { "docs": "The created comments including the updates.", @@ -6625,6 +6651,7 @@ }, "ComponentFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "schemaIds": { "docs": "The ID of the embedded schemas.", @@ -6637,6 +6664,7 @@ }, "ComponentsFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "maxItems": { "docs": "The maximum allowed items for the field value.", @@ -6662,6 +6690,7 @@ "ConfigurePreviewUrlsDto": "map", "ContentChangedRuleTriggerDto": { "docs": undefined, + "inline": undefined, "properties": { "handleAll": { "docs": "Determines whether the trigger should handle all content changes events.", @@ -6686,6 +6715,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "created": { "docs": "The date and time when the content item has been created.", @@ -6771,6 +6801,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The content items.", @@ -6794,6 +6825,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "contributorEmail": { "docs": "The email address.", @@ -6821,6 +6853,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "_meta": { "docs": "The metadata to provide information about this request.", @@ -6841,6 +6874,7 @@ }, "ContributorsMetadata": { "docs": undefined, + "inline": undefined, "properties": { "isInvited": { "docs": "Indicates whether the user has been invited.", @@ -6853,6 +6887,7 @@ }, "CreateContentRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "client": { "docs": "An optional client name.", @@ -6889,6 +6924,7 @@ }, "CreateRuleDto": { "docs": undefined, + "inline": undefined, "properties": { "action": { "docs": "The action properties.", @@ -6905,6 +6941,7 @@ }, "CurrentStorageDto": { "docs": undefined, + "inline": undefined, "properties": { "maxAllowed": { "docs": "The maximum allowed asset size.", @@ -6941,6 +6978,7 @@ }, "DateTimeFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "calculatedDefaultValue": { "docs": "The calculated default value for the field value.", @@ -6977,6 +7015,7 @@ }, "DiscourseRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "apiKey": { "docs": "The api key to authenticate to your discourse server.", @@ -7037,6 +7076,7 @@ }, "EditorDto": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "The name of the editor.", @@ -7053,6 +7093,7 @@ }, "ElasticSearchRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "delete": { "docs": "The condition when to delete the document.", @@ -7097,6 +7138,7 @@ }, "EmailRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "messageBody": { "docs": "The message body.", @@ -7179,6 +7221,7 @@ }, "ErrorDto": { "docs": undefined, + "inline": undefined, "properties": { "details": { "docs": "Detailed error messages.", @@ -7220,6 +7263,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "count": { "docs": "The number of handled events.", @@ -7261,6 +7305,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The event consumers.", @@ -7274,6 +7319,7 @@ "ExposedValues": "map", "FastlyRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "apiKey": { "docs": "The API key to grant access to Squidex.", @@ -7302,6 +7348,7 @@ }, "FeatureDto": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "The name of the feature.", @@ -7318,6 +7365,7 @@ }, "FeaturesDto": { "docs": undefined, + "inline": undefined, "properties": { "features": { "docs": "The latest features.", @@ -7337,6 +7385,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "fieldId": { "docs": "The ID of the field.", @@ -7476,6 +7525,7 @@ }, "FieldRuleDto": { "docs": undefined, + "inline": undefined, "properties": { "action": { "docs": "The action to perform when the condition is met.", @@ -7506,6 +7556,7 @@ }, "GeolocationFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "editor": { "docs": "The editor that is used to manage this field.", @@ -7518,6 +7569,7 @@ }, "HistoryEventDto": { "docs": undefined, + "inline": undefined, "properties": { "actor": { "docs": "The user who called the action.", @@ -7578,6 +7630,7 @@ }, "JsonFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "graphQLSchema": { "docs": "The GraphQL schema.", @@ -7590,6 +7643,7 @@ }, "LanguageDto": { "docs": undefined, + "inline": undefined, "properties": { "englishName": { "docs": "The english name of the language.", @@ -7615,6 +7669,7 @@ "LocalizedValueOfString": "map", "LogDownloadDto": { "docs": undefined, + "inline": undefined, "properties": { "downloadUrl": { "docs": "The url to download the log.", @@ -7627,6 +7682,7 @@ }, "ManualRuleTriggerDto": { "docs": undefined, + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.json", @@ -7634,6 +7690,7 @@ }, "MediumRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "accessToken": { "docs": "The self issued access token.", @@ -7691,6 +7748,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "fieldId": { "docs": "The ID of the field.", @@ -7729,6 +7787,7 @@ }, "NotificationRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "client": { "docs": "An optional client name.", @@ -7777,6 +7836,7 @@ }, "NumberFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "allowedValues": { "docs": "The allowed values for the field value.", @@ -7817,6 +7877,7 @@ }, "OpenSearchRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "delete": { "docs": "The condition when to delete the document.", @@ -7861,6 +7922,7 @@ }, "PatternDto": { "docs": undefined, + "inline": undefined, "properties": { "message": { "docs": "The regex message.", @@ -7881,6 +7943,7 @@ }, "PlanChangedDto": { "docs": undefined, + "inline": undefined, "properties": { "redirectUri": { "docs": "Optional redirect uri.", @@ -7893,6 +7956,7 @@ }, "PlanDto": { "docs": undefined, + "inline": undefined, "properties": { "confirmText": { "docs": "An optional confirm text for the monthly subscription.", @@ -7945,6 +8009,7 @@ }, "PlansDto": { "docs": undefined, + "inline": undefined, "properties": { "currentPlanId": { "docs": "The current plan id.", @@ -7995,6 +8060,7 @@ }, "PrerenderRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "token": { "docs": "The prerender token from your account.", @@ -8024,6 +8090,7 @@ "PropertyPath": "list", "QueryDto": { "docs": undefined, + "inline": undefined, "properties": { "ids": { "docs": "The optional list of ids to query.", @@ -8045,6 +8112,7 @@ }, "QueryJsonDto": { "docs": undefined, + "inline": undefined, "properties": { "filter": "optional", "fullText": "optional", @@ -8073,6 +8141,7 @@ }, "ReferencesFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "allowDuplicates": { "docs": "True, if duplicate values are allowed.", @@ -8117,6 +8186,7 @@ }, "ReferralInfo": { "docs": undefined, + "inline": undefined, "properties": { "code": "string", "condition": "string", @@ -8128,6 +8198,7 @@ }, "ReorderFieldsDto": { "docs": undefined, + "inline": undefined, "properties": { "fieldIds": { "docs": "The field ids in the target order.", @@ -8155,6 +8226,7 @@ }, "Resource": { "docs": undefined, + "inline": undefined, "properties": { "_links": { "docs": "The links.", @@ -8167,6 +8239,7 @@ }, "ResourceLink": { "docs": undefined, + "inline": undefined, "properties": { "href": { "docs": "The link url.", @@ -8202,6 +8275,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.json", @@ -8209,6 +8283,7 @@ }, "RestoreJobDto": { "docs": undefined, + "inline": undefined, "properties": { "log": { "docs": "The status log.", @@ -8246,6 +8321,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "isDefaultRole": { "docs": "Indicates if the role is an builtin default role.", @@ -8281,6 +8357,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The roles.", @@ -8326,6 +8403,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "action": { "docs": "The action properties.", @@ -8350,7 +8428,6 @@ "lastExecuted": { "availability": "deprecated", "docs": "The date and time when the rule was executed the last time.", - "inline": undefined, "type": "optional", }, "lastModified": { @@ -8388,6 +8465,7 @@ }, "RuleElementDto": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "Describes the action or trigger type.", @@ -8424,6 +8502,7 @@ }, "RuleElementPropertyDto": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "The optional description.", @@ -8463,6 +8542,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "created": { "docs": "The time when the event has been created.", @@ -8510,6 +8590,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The rule events.", @@ -8589,6 +8670,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The rules.", @@ -8605,6 +8687,7 @@ }, "ScheduleJobDto": { "docs": undefined, + "inline": undefined, "properties": { "color": { "docs": "The color of the scheduled status.", @@ -8633,6 +8716,7 @@ }, "SchemaChangedRuleTriggerDto": { "docs": undefined, + "inline": undefined, "properties": { "condition": { "docs": "Javascript condition when to trigger.", @@ -8645,6 +8729,7 @@ }, "SchemaCondition": { "docs": undefined, + "inline": undefined, "properties": { "condition": "optional", "schemaId": "string", @@ -8658,6 +8743,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "category": { "docs": "The name of the category.", @@ -8704,7 +8790,6 @@ "isSingleton": { "availability": "deprecated", "docs": "Indicates if the schema is a singleton.", - "inline": undefined, "type": "boolean", }, "lastModified": { @@ -8758,6 +8843,7 @@ }, "SchemaPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "contentEditorUrl": { "docs": "The url to the editor plugin.", @@ -8806,6 +8892,7 @@ }, "SchemaScriptsDto": { "docs": undefined, + "inline": undefined, "properties": { "change": { "docs": "The script that is executed when change a content status.", @@ -8852,6 +8939,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The schemas.", @@ -8864,6 +8952,7 @@ }, "ScriptRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "script": { "docs": "The script to render.", @@ -8885,6 +8974,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "label": { "docs": "An optional label.", @@ -8919,6 +9009,7 @@ }, "SignalRRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "action": { "docs": "* Broadcast = send to all users. @@ -8965,6 +9056,7 @@ }, "SimulatedRuleEventDto": { "docs": undefined, + "inline": undefined, "properties": { "actionData": { "docs": "The name of the action.", @@ -9024,6 +9116,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The simulated rule events.", @@ -9059,6 +9152,7 @@ }, "SlackRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "text": { "docs": "The text that is sent as message to slack.", @@ -9087,6 +9181,7 @@ }, "SortNode": { "docs": undefined, + "inline": undefined, "properties": { "order": "SortOrder", "path": "PropertyPath", @@ -9107,6 +9202,7 @@ }, "StatusInfoDto": { "docs": undefined, + "inline": undefined, "properties": { "color": { "docs": "The color of the status.", @@ -9123,6 +9219,7 @@ }, "StorageUsagePerDateDto": { "docs": undefined, + "inline": undefined, "properties": { "date": { "docs": "The date when the usage was tracked.", @@ -9178,6 +9275,7 @@ }, "StringFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "allowedValues": { "docs": "The allowed values for the field value.", @@ -9273,6 +9371,7 @@ }, "TagsFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "allowedValues": { "docs": "The allowed values for the field value.", @@ -9312,6 +9411,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "created": { "docs": "The timestamp when the team has been created.", @@ -9347,6 +9447,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "details": { "docs": "The details of the template.", @@ -9362,6 +9463,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "description": { "docs": "The description of the template.", @@ -9389,6 +9491,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The event consumers.", @@ -9401,6 +9504,7 @@ }, "TranslationDto": { "docs": undefined, + "inline": undefined, "properties": { "result": { "docs": "The result of the translation.", @@ -9431,6 +9535,7 @@ }, "TweetRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "accessSecret": { "docs": " The generated access secret.", @@ -9469,6 +9574,7 @@ }, "TypesenseRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "apiKey": { "docs": "The api key.", @@ -9519,6 +9625,7 @@ }, "UiFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "editor": { "docs": "The editor that is used to manage this field.", @@ -9531,6 +9638,7 @@ }, "UiSettingsDto": { "docs": undefined, + "inline": undefined, "properties": { "canCreateApps": { "docs": "True when the user can create apps.", @@ -9547,6 +9655,7 @@ }, "UpdateFieldDto": { "docs": undefined, + "inline": undefined, "properties": { "properties": { "docs": "The field properties.", @@ -9559,6 +9668,7 @@ }, "UpdateSettingDto": { "docs": undefined, + "inline": undefined, "properties": { "value": "unknown", }, @@ -9568,6 +9678,7 @@ }, "UpsertCommentDto": { "docs": undefined, + "inline": undefined, "properties": { "text": { "docs": "The comment text.", @@ -9596,6 +9707,7 @@ }, "UpsertSchemaDto": { "docs": undefined, + "inline": undefined, "properties": { "category": { "docs": "The category.", @@ -9640,6 +9752,7 @@ }, "UpsertSchemaFieldDto": { "docs": undefined, + "inline": undefined, "properties": { "isDisabled": { "docs": "Defines if the field is disabled.", @@ -9682,6 +9795,7 @@ }, "UpsertSchemaNestedFieldDto": { "docs": undefined, + "inline": undefined, "properties": { "isDisabled": { "docs": "Defines if the field is disabled.", @@ -9716,6 +9830,7 @@ }, "UsageRuleTriggerDto": { "docs": undefined, + "inline": undefined, "properties": { "limit": { "docs": "The number of monthly api calls.", @@ -9742,6 +9857,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "displayName": { "docs": "The display name (usually first name and last name) of the user.", @@ -9770,6 +9886,7 @@ }, "UserProperty": { "docs": undefined, + "inline": undefined, "properties": { "name": { "type": "string", @@ -9799,6 +9916,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The users.", @@ -9828,6 +9946,7 @@ }, "WebhookRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "headers": { "docs": "The message headers in the format '[Key]=[Value]', one entry per line.", @@ -9869,6 +9988,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "id": { "docs": "The workflow id.", @@ -9897,6 +10017,7 @@ }, "WorkflowStepDto": { "docs": undefined, + "inline": undefined, "properties": { "color": { "docs": "The optional color.", @@ -9929,6 +10050,7 @@ }, "WorkflowTransitionDto": { "docs": undefined, + "inline": undefined, "properties": { "expression": { "docs": "The optional expression.", @@ -9948,6 +10070,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "errors": { "docs": "The errros that should be fixed.", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/streaming.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/streaming.json index e5f60aaff72..db065712585 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/streaming.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/streaming.json @@ -285,6 +285,7 @@ "types": { "StreamUser": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "optional", @@ -302,6 +303,7 @@ }, "StreamUser2": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "optional", @@ -321,6 +323,7 @@ }, "User": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "optional", @@ -338,6 +341,7 @@ }, "User2": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "optional", @@ -357,6 +361,7 @@ }, "UserV3Response": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "optional", @@ -375,6 +380,7 @@ }, "UserV3StreamResponse": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "optional", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/suger.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/suger.json index 5d0bcf4c166..72124106e57 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/suger.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/suger.json @@ -471,6 +471,7 @@ "types": { "AzureAudience": { "docs": undefined, + "inline": undefined, "properties": { "description": "optional", "id": "optional", @@ -481,6 +482,7 @@ }, "AzureGovernmentCertification": { "docs": undefined, + "inline": undefined, "properties": { "title": "optional", "uri": "optional", @@ -492,6 +494,7 @@ }, "AzureIncludedBaseQuantity": { "docs": undefined, + "inline": undefined, "properties": { "isInfinite": "optional", "quantity": "optional", @@ -512,6 +515,7 @@ }, "AzureListingContact": { "docs": undefined, + "inline": undefined, "properties": { "email": "optional", "name": "optional", @@ -535,6 +539,7 @@ }, "AzureListingUri": { "docs": undefined, + "inline": undefined, "properties": { "displayText": "optional", "subtype": "optional", @@ -547,6 +552,7 @@ }, "AzureLocalizedDateTime": { "docs": undefined, + "inline": undefined, "properties": { "dateTimeInUtc": "optional", "localizePerMarket": "optional", @@ -557,6 +563,7 @@ }, "AzureLocalizedTimeRange": { "docs": undefined, + "inline": undefined, "properties": { "endAt": "optional", "startAt": "optional", @@ -567,6 +574,7 @@ }, "AzureMarket": { "docs": undefined, + "inline": undefined, "properties": { "friendlyName": "optional", "marketCode": { @@ -580,6 +588,7 @@ }, "AzureMarketState": { "docs": undefined, + "inline": undefined, "properties": { "marketCode": { "docs": "ISO Country Code", @@ -604,6 +613,7 @@ }, "AzureMarketplacePrice": { "docs": undefined, + "inline": undefined, "properties": { "currency": { "docs": "ISO 4217 currency code", @@ -622,6 +632,7 @@ }, "AzureMarketplacePrivateOffer": { "docs": undefined, + "inline": undefined, "properties": { "$schema": "optional", "acceptBy": { @@ -675,6 +686,7 @@ }, "AzureMarketplacePrivateOfferAcceptanceLink": { "docs": undefined, + "inline": undefined, "properties": { "beneficiaryId": { "docs": "The Customer Billing Account ID.", @@ -688,6 +700,7 @@ }, "AzureMarketplacePrivateOfferBeneficiary": { "docs": undefined, + "inline": undefined, "properties": { "beneficiaryRecipients": "optional>", "description": "optional", @@ -702,6 +715,7 @@ }, "AzureMarketplacePrivateOfferBeneficiaryRecipient": { "docs": undefined, + "inline": undefined, "properties": { "id": "optional", "recipientType": "optional", @@ -721,6 +735,7 @@ }, "AzureMarketplacePrivateOfferPricing": { "docs": undefined, + "inline": undefined, "properties": { "discountPercentage": { "docs": "between 0 and 100", @@ -785,6 +800,7 @@ }, "AzureMarketplacePrivateOfferPromotionReference": { "docs": undefined, + "inline": undefined, "properties": { "id": "optional", "name": "optional", @@ -815,6 +831,7 @@ }, "AzureMarketplaceTerm": { "docs": undefined, + "inline": undefined, "properties": { "type": "optional", "value": { @@ -839,6 +856,7 @@ }, "AzureMarketplaceValidation": { "docs": undefined, + "inline": undefined, "properties": { "$schema": "optional", "code": "optional", @@ -881,6 +899,7 @@ }, "AzurePendingUpdateInfo": { "docs": undefined, + "inline": undefined, "properties": { "status": "optional", "updateType": "optional", @@ -891,6 +910,7 @@ }, "AzurePrice": { "docs": undefined, + "inline": undefined, "properties": { "currencyCode": { "docs": "ISO currency code, Three characters", @@ -905,6 +925,7 @@ }, "AzurePriceAndAvailabilityPrivateOfferCustomMeters": { "docs": undefined, + "inline": undefined, "properties": { "meters": "optional", "priceInputOption": { @@ -928,6 +949,7 @@ }, "AzurePriceAndAvailabilityPrivateOfferPlan": { "docs": undefined, + "inline": undefined, "properties": { "$schema": "optional", "id": "optional", @@ -943,6 +965,7 @@ }, "AzurePriceAndAvailabilityPrivateOfferPrice": { "docs": undefined, + "inline": undefined, "properties": { "customMeters": "optional", "recurrentPrice": "optional", @@ -953,6 +976,7 @@ }, "AzurePriceAndAvailabilityRecurrentPrice": { "docs": undefined, + "inline": undefined, "properties": { "priceInputOption": { "docs": "default "usd"", @@ -966,6 +990,7 @@ }, "AzurePriceAndAvailabilityRecurrentPriceItem": { "docs": undefined, + "inline": undefined, "properties": { "billingTerm": "optional", "paymentOption": "optional", @@ -988,6 +1013,7 @@ }, "AzurePriceCadence": { "docs": undefined, + "inline": undefined, "properties": { "type": "optional", "value": "optional", @@ -1007,6 +1033,7 @@ }, "AzurePriceSchedule": { "docs": undefined, + "inline": undefined, "properties": { "priceCadence": "optional", "pricingModel": "optional", @@ -1029,6 +1056,7 @@ }, "AzurePricingUnit": { "docs": undefined, + "inline": undefined, "properties": { "isUnlimitedUnit": "optional", "lowerUnit": "optional", @@ -1051,6 +1079,7 @@ }, "AzureProduct": { "docs": undefined, + "inline": undefined, "properties": { "availabilities": "optional>", "branches": "optional>", @@ -1075,6 +1104,7 @@ }, "AzureProductAvailability": { "docs": undefined, + "inline": undefined, "properties": { "emailAudiences": "optional>", "enterpriseLicensing": "optional", @@ -1089,6 +1119,7 @@ }, "AzureProductBranch": { "docs": undefined, + "inline": undefined, "properties": { "currentDraftInstanceID": "optional", "friendlyName": "optional", @@ -1104,6 +1135,7 @@ }, "AzureProductFeatureAvailability": { "docs": undefined, + "inline": undefined, "properties": { "customMeters": "optional>", "id": "optional", @@ -1136,6 +1168,7 @@ }, "AzureProductListing": { "docs": undefined, + "inline": undefined, "properties": { "accessInformation": "optional", "assets": { @@ -1163,6 +1196,7 @@ }, "AzureProductListingAsset": { "docs": undefined, + "inline": undefined, "properties": { "description": "optional", "fileName": "optional", @@ -1203,6 +1237,7 @@ }, "AzureProductPackageConfiguration": { "docs": undefined, + "inline": undefined, "properties": { "azureActiveDirectoryApplicationID": "optional", "azureActiveDirectoryTenantID": "optional", @@ -1217,6 +1252,7 @@ }, "AzureProductProperty": { "docs": undefined, + "inline": undefined, "properties": { "additionalCategories": "optional>", "appVersion": "optional", @@ -1243,6 +1279,7 @@ }, "AzureProductSetup": { "docs": undefined, + "inline": undefined, "properties": { "callToAction": "optional", "channelStates": "optional>", @@ -1283,6 +1320,7 @@ }, "AzureProductSubmission": { "docs": undefined, + "inline": undefined, "properties": { "areResourcesReady": "optional", "friendlyName": "optional", @@ -1327,6 +1365,7 @@ }, "AzureProductVariant": { "docs": undefined, + "inline": undefined, "properties": { "azureGovernmentCertifications": "optional>", "cloudAvailabilities": "optional>", @@ -1350,6 +1389,7 @@ }, "AzureProductVariantCustomMeter": { "docs": undefined, + "inline": undefined, "properties": { "displayName": "optional", "id": "optional", @@ -1365,6 +1405,7 @@ }, "AzureProductVariantPriceSchedule": { "docs": undefined, + "inline": undefined, "properties": { "dateTimeRange": "optional", "friendlyName": "optional", @@ -1402,6 +1443,7 @@ }, "AzureProductVariantTrial": { "docs": undefined, + "inline": undefined, "properties": { "dateTimeRange": "optional", "duration": "optional", @@ -1435,6 +1477,7 @@ }, "AzureTypeValue": { "docs": undefined, + "inline": undefined, "properties": { "type": "optional", "value": "optional", @@ -1445,6 +1488,7 @@ }, "AzureValidationResult": { "docs": undefined, + "inline": undefined, "properties": { "errorMessage": "optional", "memberNames": "optional>", @@ -1455,6 +1499,7 @@ }, "AzureVariantResource": { "docs": undefined, + "inline": undefined, "properties": { "resources": "optional>", "variantID": "optional", @@ -1465,6 +1510,7 @@ }, "GithubComAwsAwsSdkGoV2ServiceMarketplacemeteringTypesTag": { "docs": undefined, + "inline": undefined, "properties": { "key": { "docs": "One part of a key-value pair that makes up a tag. A key is a label that acts @@ -1487,6 +1533,7 @@ This member is required.", }, "GithubComSugerioMarketplaceServiceAzureSdkMarketplacemeteringv1BatchUsageEventOkResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "result": "optional>", @@ -1497,6 +1544,7 @@ This member is required.", }, "GithubComSugerioMarketplaceServiceAzureSdkMarketplacemeteringv1UsageBatchEventOkMessage": { "docs": undefined, + "inline": undefined, "properties": { "dimension": { "docs": "Dimension identifier", @@ -1542,6 +1590,7 @@ This member is required.", }, "GithubComSugerioMarketplaceServiceAzureSdkMarketplacemeteringv1UsageEventConflictResponse": { "docs": undefined, + "inline": undefined, "properties": { "additionalInfo": "optional", "code": "optional", @@ -1553,6 +1602,7 @@ This member is required.", }, "GithubComSugerioMarketplaceServiceAzureSdkMarketplacemeteringv1UsageEventConflictResponseAdditionalInfo": { "docs": undefined, + "inline": undefined, "properties": { "acceptedMessage": "optional", }, @@ -1562,6 +1612,7 @@ This member is required.", }, "GithubComSugerioMarketplaceServiceAzureSdkMarketplacemeteringv1UsageEventOkResponse": { "docs": undefined, + "inline": undefined, "properties": { "dimension": { "docs": "Dimension identifier", @@ -1622,6 +1673,7 @@ This member is required.", }, "GithubComSugerioMarketplaceServiceRdsDbLibBillingAwsBillingEvent": { "docs": undefined, + "inline": undefined, "properties": { "action": "optional", "agreementID": "optional", @@ -1658,6 +1710,7 @@ This member is required.", }, "GithubComSugerioMarketplaceServiceRdsDbLibBillingAzureCmaRevenue": { "docs": undefined, + "inline": undefined, "properties": { "azureAssetID": "optional", "azureBillingAccountID": "optional", @@ -1683,6 +1736,7 @@ This member is required.", }, "GithubComSugerioMarketplaceServiceRdsDbLibBillingGcpChargeUsage": { "docs": undefined, + "inline": undefined, "properties": { "abandoned": "optional", "accountID": "optional", @@ -1718,6 +1772,7 @@ This member is required.", }, "MarketplacemeteringBatchMeterUsageOutput": { "docs": undefined, + "inline": undefined, "properties": { "resultMetadata": { "docs": "Metadata pertaining to the operation's result.", @@ -1743,6 +1798,7 @@ BatchMeterUsage call with this list as input in the BatchMeterUsageRequest.", "MiddlewareMetadata": "map", "ServicecontrolReportError": { "docs": undefined, + "inline": undefined, "properties": { "operationId": { "docs": "OperationId: The Operation.operation_id value from the request.", @@ -1759,6 +1815,7 @@ BatchMeterUsage call with this list as input in the BatchMeterUsageRequest.", }, "ServicecontrolReportResponse": { "docs": undefined, + "inline": undefined, "properties": { "reportErrors": { "docs": "ReportErrors: Partial failures, one for each `Operation` in the @@ -1791,6 +1848,7 @@ request.", }, "ServicecontrolStatus": { "docs": undefined, + "inline": undefined, "properties": { "code": { "docs": "Code: The status code, which should be an enum value of @@ -1815,6 +1873,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedAddEntitlementCreditResponse": { "docs": undefined, + "inline": undefined, "properties": { "creditAmountIncrement": { "docs": "The amount to be added to the credit amount.", @@ -1834,6 +1893,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedApiClientAccessToken": { "docs": undefined, + "inline": undefined, "properties": { "access_token": "optional", "expires_in": { @@ -1852,6 +1912,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedAwsAccountIdentifier": { "docs": undefined, + "inline": undefined, "properties": { "awsAccountID": { "docs": "The AWS Account ID of the buyer in AWS Marketplace", @@ -1873,6 +1934,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedAwsAceIntegration": { "docs": undefined, + "inline": undefined, "properties": { "credential": "optional", "partnerId": { @@ -1898,6 +1960,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedAwsIntegrationCredential": { "docs": undefined, + "inline": undefined, "properties": { "accessKeyId": { "docs": "The access key ID of the IAM user for Suger service to access the client's AWS services.", @@ -1918,6 +1981,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedAwsMarketplaceIntegration": { "docs": "The data struct to store integration info for Suger service to access the client's AWS services.", + "inline": undefined, "properties": { "externalID": { "docs": "The external ID for assuming IAM role. If empty, means no external ID set or needed. Otherwise, it should be auth_id in table identity.organization.", @@ -1974,6 +2038,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedAwsSaasProduct": { "docs": undefined, + "inline": undefined, "properties": { "Description": "optional", "Dimensions": "optional>", @@ -1992,6 +2057,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedAwsSaasProductAdditionalResource": { "docs": undefined, + "inline": undefined, "properties": { "Text": "optional", "Type": "optional", @@ -2003,6 +2069,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedAwsSaasProductDeliveryOption": { "docs": undefined, + "inline": undefined, "properties": { "FulfillmentUrl": "optional", "Id": "optional", @@ -2014,6 +2081,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedAwsSaasProductDescription": { "docs": undefined, + "inline": undefined, "properties": { "AssociatedProducts": "optional", "Categories": "optional>", @@ -2036,6 +2104,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedAwsSaasProductDimension": { "docs": undefined, + "inline": undefined, "properties": { "Description": "optional", "Key": "optional", @@ -2049,6 +2118,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedAwsSaasProductPromotionalResources": { "docs": undefined, + "inline": undefined, "properties": { "AdditionalResources": "optional>", "LogoUrl": "optional", @@ -2059,6 +2129,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedAwsSaasProductSupportInformation": { "docs": undefined, + "inline": undefined, "properties": { "Description": "optional", }, @@ -2068,6 +2139,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedAwsSaasProductVersion": { "docs": undefined, + "inline": undefined, "properties": { "DeliveryOptions": "optional>", "Id": "optional", @@ -2078,6 +2150,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedAwsSnsSubscription": { "docs": undefined, + "inline": undefined, "properties": { "Endpoint": "optional", "Protocol": "optional", @@ -2101,6 +2174,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedAzureAdIdentifier": { "docs": undefined, + "inline": undefined, "properties": { "buyerInfo": "optional", "companyInfo": "optional", @@ -2121,6 +2195,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedAzureBuyerInfo": { "docs": undefined, + "inline": undefined, "properties": { "billingAccountId": "optional", "customerId": "optional", @@ -2133,6 +2208,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedAzureIntegration": { "docs": undefined, + "inline": undefined, "properties": { "cmaFullSyncDone": { "docs": "Is Azure Commercial Marketplace Analytics (CMA) full-sync done.", @@ -2150,6 +2226,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedAzureIntegrationCredential": { "docs": undefined, + "inline": undefined, "properties": { "accessToken": "optional", "clientID": "optional", @@ -2172,6 +2249,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedAzureMarketplaceSubscription": { "docs": undefined, + "inline": undefined, "properties": { "allowedCustomerOperations": "optional>", "autoRenew": "optional", @@ -2241,6 +2319,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedAzureTerm": { "docs": undefined, + "inline": undefined, "properties": { "chargeDuration": "optional", "endDate": "optional", @@ -2253,6 +2332,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedBuyerInfo": { "docs": undefined, + "inline": undefined, "properties": { "awsBuyer": { "docs": "Buyer from AWS Marketplace", @@ -2285,6 +2365,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedCommitDimension": { "docs": "The commit dimension. There may be one or more commit dimensions defined in single product, offer or entitlement.", + "inline": undefined, "properties": { "category": "optional", "description": "optional", @@ -2368,6 +2449,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedCompanyInfo": { "docs": undefined, + "inline": undefined, "properties": { "addressLine1": "optional", "addressLine2": "optional", @@ -2384,6 +2466,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedContact": { "docs": undefined, + "inline": undefined, "properties": { "company": "optional", "email": "optional", @@ -2395,6 +2478,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedEntitlementInfo": { "docs": undefined, + "inline": undefined, "properties": { "autoRenew": { "docs": "Is this Entitlement Auto Renew enabled.", @@ -2463,6 +2547,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedEntitlementTermInfo": { "docs": undefined, + "inline": undefined, "properties": { "type": "optional", }, @@ -2488,6 +2573,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedEntitlementUsageRecord": { "docs": undefined, + "inline": undefined, "properties": { "amounts": "optional>", "date": "optional", @@ -2529,6 +2615,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedGcpCommerceProducerExternalAccountSpec": { "docs": undefined, + "inline": undefined, "properties": { "loginUri": "optional", "signupUri": "optional", @@ -2540,6 +2627,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedGcpCommerceProducerListingSpec": { "docs": undefined, + "inline": undefined, "properties": { "externalAccountSpec": "optional", "listingType": "optional>", @@ -2552,6 +2640,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedGcpCommerceProducerMarketingSpec": { "docs": undefined, + "inline": undefined, "properties": { "description": "optional", "displayNames": { @@ -2580,6 +2669,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedGcpCommerceProducerPrice": { "docs": undefined, + "inline": undefined, "properties": { "currencyCode": { "docs": "ISO currency code, Three UPPER_CASE characters", @@ -2600,6 +2690,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedGcpCommerceProducerPriceInfo": { "docs": undefined, + "inline": undefined, "properties": { "description": "optional", "priceModel": "optional", @@ -2629,6 +2720,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedGcpCommerceProducerPriceSubscription": { "docs": undefined, + "inline": undefined, "properties": { "period": "optional>", "price": { @@ -2643,6 +2735,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedGcpCommerceProducerPriceTier": { "docs": undefined, + "inline": undefined, "properties": { "endUsageAmount": { "docs": "The usage amount below which this tier is effective.", @@ -2663,6 +2756,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedGcpCommerceProducerPriceUsage": { "docs": undefined, + "inline": undefined, "properties": { "displayQuantity": { "docs": "Default value is 1.", @@ -2681,6 +2775,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedGcpCommerceProducerPurchaseMetric": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "Description: A detailed description of the metric, which can be used in documentation.", @@ -2708,6 +2803,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedGcpCommerceProducerPurchaseSpec": { "docs": undefined, + "inline": undefined, "properties": { "metrics": "optional>", "purchaseOptionSpecs": "optional>", @@ -2718,6 +2814,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedGcpCommerceProducerServiceBilling": { "docs": undefined, + "inline": undefined, "properties": { "metrics": { "docs": "in format of ["{product-name}.endpoints.{provider-id}.cloud.goog/{plan_key}_{usage_dimension_key}"]", @@ -2730,6 +2827,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedGcpCommerceProducerServiceConfig": { "docs": undefined, + "inline": undefined, "properties": { "billing": "optional", "metrics": { @@ -2752,6 +2850,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedGcpCommerceProducerSupportSpec": { "docs": undefined, + "inline": undefined, "properties": { "description": "optional", "email": "optional", @@ -2763,6 +2862,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedGcpIntegration": { "docs": undefined, + "inline": undefined, "properties": { "gcpProjectId": "optional", "gcpProjectNumber": "optional", @@ -2800,6 +2900,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedGcpMarketplaceConsumer": { "docs": undefined, + "inline": undefined, "properties": { "project": { "docs": "The project name with format `projects/`.", @@ -2812,6 +2913,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedGcpMarketplaceEntitlement": { "docs": undefined, + "inline": undefined, "properties": { "account": { "docs": "The resource name of the account that this entitlement is based on, if any, in format ""providers/{provider_id}/accounts/{account_id}"", @@ -2973,6 +3075,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedGcpMarketplaceUserAccount": { "docs": undefined, + "inline": undefined, "properties": { "approvals": { "docs": "The approvals for this account, that are permitted or have been completed.", @@ -3011,6 +3114,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedGcpMarketplaceUserAccountApproval": { "docs": undefined, + "inline": undefined, "properties": { "name": "optional", "reason": { @@ -3055,6 +3159,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedGcpProduct": { "docs": undefined, + "inline": undefined, "properties": { "createTime": "optional", "id": { @@ -3079,6 +3184,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedGcpPurchasePlan": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "The Plan key.", @@ -3097,6 +3203,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedGcpUserInfo": { "docs": undefined, + "inline": undefined, "properties": { "roles": { "docs": "An array of strings representing the user's roles. Right now, it can be either: ** account_admin, which indicates that the user is a Billing Account Administrator of the billing account that purchased the product, or ** project_editor, which indicates that the user is a Project Editor, but not a Billing Administrator, of the project under that billing account.", @@ -3113,6 +3220,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedHubspotCrmCredential": { "docs": undefined, + "inline": undefined, "properties": { "accessToken": "optional", "acquiredOn": { @@ -3128,6 +3236,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedHubspotCrmIntegration": { "docs": undefined, + "inline": undefined, "properties": { "credential": "optional", "portalId": { @@ -3142,6 +3251,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedIdentityBuyer": { "docs": undefined, + "inline": undefined, "properties": { "creationTime": "optional", "description": "optional", @@ -3169,6 +3279,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedIdentityIntegration": { "docs": undefined, + "inline": undefined, "properties": { "createdBy": "optional", "creationTime": "optional", @@ -3206,6 +3317,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedIntegrationInfo": { "docs": undefined, + "inline": undefined, "properties": { "awsAceIntegration": { "docs": "AWS ACE Integration", @@ -3239,6 +3351,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedListRevenueRecordDetailsResponse": { "docs": undefined, + "inline": undefined, "properties": { "nextOffset": "optional", "revenueRecordDetails": "optional>", @@ -3249,6 +3362,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedListRevenueRecordsResponse": { "docs": undefined, + "inline": undefined, "properties": { "nextOffset": "optional", "revenueRecords": "optional>", @@ -3259,6 +3373,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedListUsageRecordGroupsResponse": { "docs": undefined, + "inline": undefined, "properties": { "nextOffset": "optional", "usageRecordGroups": "optional>", @@ -3269,6 +3384,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedListUsageRecordReportsResponse": { "docs": undefined, + "inline": undefined, "properties": { "nextOffset": "optional", "usageRecordReports": "optional>", @@ -3279,6 +3395,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedMeteringDimension": { "docs": "The dimension to meter usage in entitlement.", + "inline": undefined, "properties": { "category": "optional", "description": "optional", @@ -3305,6 +3422,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedMeteringUsageRecordGroup": { "docs": undefined, + "inline": undefined, "properties": { "creationTime": "optional", "entitlementID": "optional", @@ -3323,6 +3441,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedMeteringUsageRecordGroupMetaInfo": { "docs": undefined, + "inline": undefined, "properties": { "originRecords": { "docs": "The original records reported by the customer before convertion. If no dimension mapping is applied, this field is the same as the records field.", @@ -3335,6 +3454,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedMeteringUsageRecordReport": { "docs": undefined, + "inline": undefined, "properties": { "creationTime": "optional", "entitlementID": "optional", @@ -3350,6 +3470,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedMeteringUsageRecordReportInfo": { "docs": undefined, + "inline": undefined, "properties": { "awsMeteringResponse": { "docs": "The raw response from AWS metering service.", @@ -3422,6 +3543,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedNotificationEvent": { "docs": undefined, + "inline": undefined, "properties": { "action": "optional", "entityID": "optional", @@ -3488,6 +3610,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedOfferInfo": { "docs": undefined, + "inline": undefined, "properties": { "azureOriginalPlan": { "docs": "The origin pricing of Azure plan. Only applicable for Azure Marketplace plans.", @@ -3554,6 +3677,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedOfferMetaInfo": { "docs": undefined, + "inline": undefined, "properties": { "baseAgreementId": { "docs": "Applicable for AWS Marketplace only, when the IsAgreementBasedOffer is true.", @@ -3582,6 +3706,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedOperation": { "docs": undefined, + "inline": undefined, "properties": { "endTime": "optional", "id": { @@ -3601,6 +3726,7 @@ This field is present only if the product has usage-based billing configured.", "SharedOperationType": "literal<"TemporalWorkflow">", "SharedPaymentInstallment": { "docs": undefined, + "inline": undefined, "properties": { "amount": "optional", "chargeOn": "optional", @@ -3611,6 +3737,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedProductInfo": { "docs": undefined, + "inline": undefined, "properties": { "attributes": "optional>", "awsSaasProduct": "optional", @@ -3630,6 +3757,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedRevenueRecord": { "docs": undefined, + "inline": undefined, "properties": { "amount": { "docs": "The revenue amount for the revenue report", @@ -3671,6 +3799,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedRevenueRecordDetail": { "docs": undefined, + "inline": undefined, "properties": { "awsRevenueRecordDetail": { "docs": "For AWS Marketplace", @@ -3691,6 +3820,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedRevenueRecordInfo": { "docs": undefined, + "inline": undefined, "properties": { "awsRevenueRecords": { "docs": "For raw revenue records in AWS Marketplace", @@ -3711,6 +3841,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedRevenueReport": { "docs": undefined, + "inline": undefined, "properties": { "buyerID": "optional", "entitlementID": "optional", @@ -3738,6 +3869,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedSalesforceCrmCredential": { "docs": undefined, + "inline": undefined, "properties": { "access_token": "optional", "exp": "optional", @@ -3750,6 +3882,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedSalesforceCrmIntegration": { "docs": undefined, + "inline": undefined, "properties": { "credential": { "docs": "System created", @@ -3770,6 +3903,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedSalesforceSyncFilter": { "docs": undefined, + "inline": undefined, "properties": { "fieldName": "optional", "operator": "optional", @@ -3781,6 +3915,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedSlackIntegration": { "docs": undefined, + "inline": undefined, "properties": { "accessToken": "optional", "appId": "optional", @@ -3804,6 +3939,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedUsageCount": { "docs": undefined, + "inline": undefined, "properties": { "creditCount": { "docs": "The count of this dimension usage records that are handled as credit.", @@ -3824,6 +3960,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedUsageReport": { "docs": undefined, + "inline": undefined, "properties": { "entitlementID": "optional", "organizationID": "optional", @@ -3853,6 +3990,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedWorkloadEntitlement": { "docs": undefined, + "inline": undefined, "properties": { "buyerID": "optional", "creationTime": "optional", @@ -3905,6 +4043,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedWorkloadEntitlementTerm": { "docs": undefined, + "inline": undefined, "properties": { "buyerID": "optional", "commitAmount": "optional", @@ -3943,6 +4082,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedWorkloadOffer": { "docs": undefined, + "inline": undefined, "properties": { "createdBy": "optional", "creationTime": "optional", @@ -4016,6 +4156,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedWorkloadProduct": { "docs": undefined, + "inline": undefined, "properties": { "createdBy": "optional", "creationTime": "optional", @@ -4061,6 +4202,7 @@ This field is present only if the product has usage-based billing configured.", }, "SlackOAuthResponseIncomingWebhook": { "docs": undefined, + "inline": undefined, "properties": { "channel": "optional", "channel_id": "optional", @@ -4073,6 +4215,7 @@ This field is present only if the product has usage-based billing configured.", }, "SlackOAuthV2ResponseAuthedUser": { "docs": undefined, + "inline": undefined, "properties": { "access_token": "optional", "expires_in": "optional", @@ -4087,6 +4230,7 @@ This field is present only if the product has usage-based billing configured.", }, "SlackOAuthV2ResponseEnterprise": { "docs": undefined, + "inline": undefined, "properties": { "id": "optional", "name": "optional", @@ -4097,6 +4241,7 @@ This field is present only if the product has usage-based billing configured.", }, "SlackOAuthV2ResponseTeam": { "docs": undefined, + "inline": undefined, "properties": { "id": "optional", "name": "optional", @@ -4107,6 +4252,7 @@ This field is present only if the product has usage-based billing configured.", }, "SqlNullTime": { "docs": undefined, + "inline": undefined, "properties": { "time": "optional", "valid": { @@ -4120,6 +4266,7 @@ This field is present only if the product has usage-based billing configured.", }, "TypesEntitlement": { "docs": undefined, + "inline": undefined, "properties": { "customerIdentifier": { "docs": "The customer identifier is a handle to each unique customer in an application. @@ -4154,6 +4301,7 @@ provided by AWS Marketplace when the product listing is created.", }, "TypesUsageAllocation": { "docs": undefined, + "inline": undefined, "properties": { "allocatedUsageQuantity": { "docs": "The total quantity allocated to this bucket of usage. @@ -4173,6 +4321,7 @@ tags, this parameter can be left out.", }, "TypesUsageRecord": { "docs": undefined, + "inline": undefined, "properties": { "customerIdentifier": { "docs": "The CustomerIdentifier is obtained through the ResolveCustomer operation and @@ -4213,6 +4362,7 @@ must equal the Quantity of the UsageRecord.", }, "TypesUsageRecordResult": { "docs": undefined, + "inline": undefined, "properties": { "meteringRecordId": { "docs": "The MeteringRecordId is a unique identifier for this metering event.", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/superagent.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/superagent.json index 46f2bad87d8..44feacf2182 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/superagent.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/superagent.json @@ -262,6 +262,7 @@ "types": { "HTTPValidationError": { "docs": undefined, + "inline": undefined, "properties": { "detail": { "type": "optional>", @@ -273,6 +274,7 @@ }, "ValidationError": { "docs": undefined, + "inline": undefined, "properties": { "loc": { "type": "list", @@ -288,6 +290,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -439,6 +442,7 @@ types: - integer source: openapi: ../openapi.yml + inline: true ValidationError: properties: loc: diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/switchboard.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/switchboard.json index 0695f1d3262..a1ceab6b0ca 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/switchboard.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/switchboard.json @@ -85,6 +85,7 @@ "types": { "ClientProvidedResponseMetadata": { "docs": undefined, + "inline": undefined, "properties": { "clientRequestId": "optional", "timeThresholdMs": "optional", @@ -95,6 +96,7 @@ }, "DefaultMetaWrapper": { "docs": undefined, + "inline": undefined, "properties": { "requestId": "optional", }, @@ -104,6 +106,7 @@ }, "ErrorEnvelope": { "docs": undefined, + "inline": undefined, "properties": { "HttpStatus": "long", "Message": "string", @@ -118,6 +121,7 @@ }, "ErrorMessage": { "docs": undefined, + "inline": undefined, "properties": { "code": { "docs": "Error code", @@ -138,6 +142,7 @@ }, "ExtensionV1": { "docs": undefined, + "inline": undefined, "properties": { "date_created": { "docs": "Date the extension was created", @@ -168,6 +173,7 @@ }, "ExtensionV1EnvelopeDefaultMetaWrapper": { "docs": undefined, + "inline": undefined, "properties": { "data": "ExtensionV1", "errors": "optional>", @@ -180,6 +186,7 @@ }, "ExternalSessionAiResponseMetadata": { "docs": undefined, + "inline": undefined, "properties": { "clientProvided": "optional", "requestId": "optional", @@ -202,6 +209,7 @@ }, "ExternalSessionAiResponseMetadataUsage": { "docs": undefined, + "inline": undefined, "properties": { "credits": { "docs": "The credit usage for this request", @@ -218,6 +226,7 @@ }, "Issue": { "docs": undefined, + "inline": undefined, "properties": { "code": { "docs": "Issue code", @@ -238,6 +247,7 @@ }, "ListExtensionV1EnvelopeDefaultMetaWrapper": { "docs": undefined, + "inline": undefined, "properties": { "data": "optional>", "errors": "optional>", @@ -250,6 +260,7 @@ }, "ListProfileV1EnvelopeDefaultMetaWrapper": { "docs": undefined, + "inline": undefined, "properties": { "data": "optional>", "errors": "optional>", @@ -262,6 +273,7 @@ }, "LiveViewConnectionInfo": { "docs": undefined, + "inline": undefined, "properties": { "airtop_browser_url": { "docs": "Websocket url to connect to the airtop browser", @@ -278,6 +290,7 @@ }, "ModelResponse": { "docs": undefined, + "inline": undefined, "properties": { "modelResponse": "string", }, @@ -287,6 +300,7 @@ }, "ModelResponseExternalSessionAiResponseMetadataWrapper": { "docs": undefined, + "inline": undefined, "properties": { "data": "ModelResponse", "errors": "optional>", @@ -299,6 +313,7 @@ }, "Pagination": { "docs": undefined, + "inline": undefined, "properties": { "currentLimit": "long", "currentPage": "long", @@ -315,6 +330,7 @@ }, "ProfileV1": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "Name of the profile", @@ -351,6 +367,7 @@ }, "ProfileV1EnvelopeDefaultMetaWrapper": { "docs": undefined, + "inline": undefined, "properties": { "data": "ProfileV1", "errors": "optional>", @@ -363,6 +380,7 @@ }, "ScrapeModelResponse": { "docs": undefined, + "inline": undefined, "properties": { "modelResponse": "ScrapeResponseOutput", }, @@ -372,6 +390,7 @@ }, "ScrapeModelResponseExternalSessionAiResponseMetadataWrapper": { "docs": undefined, + "inline": undefined, "properties": { "data": "ScrapeModelResponse", "errors": "optional>", @@ -384,6 +403,7 @@ }, "ScrapeResponseContent": { "docs": undefined, + "inline": undefined, "properties": { "contentType": { "docs": "The mime type of content extracted from the browser window", @@ -400,6 +420,7 @@ }, "ScrapeResponseOutput": { "docs": undefined, + "inline": undefined, "properties": { "scrapedContent": { "docs": "The scraped content of the browser window", @@ -420,6 +441,7 @@ }, "SessionConfig": { "docs": undefined, + "inline": undefined, "properties": { "persist_profile": { "docs": "Persist the profile", @@ -456,6 +478,7 @@ }, "SessionConfigV1": { "docs": undefined, + "inline": undefined, "properties": { "persist_profile": { "docs": "Persist the profile", @@ -492,6 +515,7 @@ }, "SessionWithConnectionInfo": { "docs": undefined, + "inline": undefined, "properties": { "cdp_url": { "docs": "Url to connect to chrome devtools protocol port on the airtop browser. Include the header 'Authorization: Bearer .'", @@ -550,6 +574,7 @@ }, "SessionWithConnectionInfoEnvelopeDefaultMetaWrapper": { "docs": undefined, + "inline": undefined, "properties": { "data": "SessionWithConnectionInfo", "errors": "optional>", @@ -562,6 +587,7 @@ }, "SessionsWithPagination": { "docs": undefined, + "inline": undefined, "properties": { "pagination": { "docs": "Pagination info", @@ -578,6 +604,7 @@ }, "SessionsWithPaginationEnvelopeDefaultMetaWrapper": { "docs": undefined, + "inline": undefined, "properties": { "data": "SessionsWithPagination", "errors": "optional>", @@ -590,6 +617,7 @@ }, "StatusMessage": { "docs": undefined, + "inline": undefined, "properties": { "event": { "docs": "Event name", @@ -626,6 +654,7 @@ }, "Window": { "docs": undefined, + "inline": undefined, "properties": { "liveViewUrl": { "docs": "Url for live view session", @@ -646,6 +675,7 @@ }, "WindowEnvelopeDefaultMetaWrapper": { "docs": undefined, + "inline": undefined, "properties": { "data": "Window", "errors": "optional>", @@ -2412,6 +2442,7 @@ service: }, "SessionsEventsResponseError": { "docs": undefined, + "inline": true, "properties": { "data": "root.ErrorMessage", "id": { @@ -2429,6 +2460,7 @@ service: }, "SessionsEventsResponseStatus": { "docs": undefined, + "inline": true, "properties": { "data": "root.StatusMessage", "id": { @@ -2479,6 +2511,7 @@ service: docs: The retry time in milliseconds. source: openapi: ../openapi.yml + inline: true SessionsEventsResponseError: properties: data: root.ErrorMessage @@ -2490,6 +2523,7 @@ service: docs: The retry time in milliseconds. source: openapi: ../openapi.yml + inline: true SessionsEventsResponse: discriminant: event base-properties: {} diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/uint.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/uint.json index 9b212e39608..4f6a0945092 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/uint.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/uint.json @@ -56,6 +56,7 @@ "Response": { "docs": "A generic response type used throughout the API. ", + "inline": undefined, "properties": { "id": "optional", "value": "optional", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/union-extension.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/union-extension.json index 899a6b98447..2cd36da9bf4 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/union-extension.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/union-extension.json @@ -8,6 +8,7 @@ "types": { "CounterPartyAccount": { "docs": undefined, + "inline": undefined, "properties": { "currency": "optional", "iban": "optional", @@ -19,6 +20,7 @@ }, "IbanField": { "docs": undefined, + "inline": undefined, "properties": { "iban": "optional", }, @@ -28,6 +30,7 @@ }, "Other": { "docs": undefined, + "inline": undefined, "properties": { "identification": "optional", "schemeNameCone": "optional", @@ -38,6 +41,7 @@ }, "OtherField": { "docs": undefined, + "inline": undefined, "properties": { "other": "optional", }, @@ -49,6 +53,7 @@ "discriminated": false, "docs": "PartyAccount with excluded currency in response", "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/unions-v1.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/unions-v1.json index fe864f4bcbb..76bed63af51 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/unions-v1.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/unions-v1.json @@ -8,6 +8,7 @@ "types": { "EnticingTitle": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "optional", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/uploadcare.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/uploadcare.json index 38c775415ad..5773676cd25 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/uploadcare.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/uploadcare.json @@ -878,6 +878,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -906,6 +907,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -924,11 +926,11 @@ }, "ContentInfo": { "docs": "Information about file content.", + "inline": undefined, "properties": { "image": "optional", "mime": { "docs": "MIME type.", - "inline": true, "type": "optional", }, "video": "optional", @@ -939,6 +941,7 @@ }, "ContentInfoMime": { "docs": "MIME type.", + "inline": true, "properties": { "mime": { "docs": "Full MIME type.", @@ -961,6 +964,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -980,6 +984,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -1046,6 +1051,7 @@ See [signed uploads](https://uploadcare.com/docs/security/secure-uploads/) for d }, "FileUploadInfo": { "docs": "Information about an uploaded file.", + "inline": undefined, "properties": { "content_info": "optional", "done": { @@ -1118,6 +1124,7 @@ See [signed uploads](https://uploadcare.com/docs/security/secure-uploads/) for d }, "FileUploadInfoErrorStatus": { "docs": undefined, + "inline": undefined, "properties": { "error": { "docs": "Human readable description of the issue with the fetch/upload task. @@ -1147,6 +1154,7 @@ page for a full list of all possible error codes. "extends": [ "FileUploadInfo", ], + "inline": undefined, "properties": { "type": "optional>", }, @@ -1156,6 +1164,7 @@ page for a full list of all possible error codes. }, "FileUploadInfoProgressStatus": { "docs": undefined, + "inline": undefined, "properties": { "done": { "docs": "How many bytes of the file have been fetched so far. @@ -1185,6 +1194,7 @@ example, [compressed form](https://developer.mozilla.org/en-US/docs/Web/HTTP/Hea "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -1198,6 +1208,7 @@ example, [compressed form](https://developer.mozilla.org/en-US/docs/Web/HTTP/Hea "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -1211,6 +1222,7 @@ example, [compressed form](https://developer.mozilla.org/en-US/docs/Web/HTTP/Hea "extends": [ "FileUploadInfo", ], + "inline": undefined, "properties": { "status": { "docs": "The file has been fetched/uploaded successfully.", @@ -1223,6 +1235,7 @@ example, [compressed form](https://developer.mozilla.org/en-US/docs/Web/HTTP/Hea }, "FileUploadInfoUnknownStatus": { "docs": undefined, + "inline": undefined, "properties": { "status": { "docs": "The system does not have information about the task. @@ -1240,6 +1253,7 @@ that are tool old (or that have not been created at all). }, "FileUploadInfoWaitingStatus": { "docs": undefined, + "inline": undefined, "properties": { "status": { "docs": "The system is preparing to handle the request. @@ -1255,6 +1269,7 @@ that are tool old (or that have not been created at all). "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -1267,6 +1282,7 @@ that are tool old (or that have not been created at all). "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -1282,6 +1298,7 @@ that are tool old (or that have not been created at all). "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -1315,6 +1332,7 @@ that are tool old (or that have not been created at all). "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -1333,6 +1351,7 @@ that are tool old (or that have not been created at all). }, "FromUrlUploadResponseSchema": { "docs": "`/from_url/` upload response.", + "inline": undefined, "properties": { "token": { "docs": "Token to identify a `/from_url/` request.", @@ -1364,6 +1383,7 @@ that are tool old (or that have not been created at all). }, "GroupInfo": { "docs": "File group information object.", + "inline": undefined, "properties": { "cdn_url": { "docs": "Group's CDN URL.", @@ -1382,7 +1402,6 @@ that are tool old (or that have not been created at all). "datetime_stored": { "availability": "deprecated", "docs": "ISO-8601 date and time when the group was marked as stored.", - "inline": undefined, "type": "optional", }, "files": { @@ -1421,6 +1440,7 @@ that are tool old (or that have not been created at all). }, "ImageInfo": { "docs": "Image metadata.", + "inline": undefined, "properties": { "color_mode": { "docs": "Image color mode.", @@ -1440,7 +1460,6 @@ that are tool old (or that have not been created at all). }, "geo_location": { "docs": "Geo-location of image from EXIF.", - "inline": true, "type": "optional", }, "height": { @@ -1492,6 +1511,7 @@ that are tool old (or that have not been created at all). }, "ImageInfoGeoLocation": { "docs": "Geo-location of image from EXIF.", + "inline": true, "properties": { "latitude": { "docs": "Location latitude.", @@ -1508,10 +1528,10 @@ that are tool old (or that have not been created at all). }, "LegacyVideoInfo": { "docs": "Video metadata.", + "inline": undefined, "properties": { "audio": { "docs": "Audio stream's metadata.", - "inline": true, "type": "optional", }, "bitrate": { @@ -1528,7 +1548,6 @@ that are tool old (or that have not been created at all). }, "video": { "docs": "Video stream's metadata.", - "inline": true, "type": "optional", }, }, @@ -1538,6 +1557,7 @@ that are tool old (or that have not been created at all). }, "LegacyVideoInfoAudio": { "docs": "Audio stream's metadata.", + "inline": true, "properties": { "bitrate": { "docs": "Audio stream's bitrate.", @@ -1562,6 +1582,7 @@ that are tool old (or that have not been created at all). }, "LegacyVideoInfoVideo": { "docs": "Video stream's metadata.", + "inline": true, "properties": { "bitrate": { "docs": "Video stream's bitrate.", @@ -1623,6 +1644,7 @@ See [docs](https://uploadcare.com/docs/file-metadata/) and [REST API v0.7](/api- "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -1644,6 +1666,7 @@ See [docs](https://uploadcare.com/docs/file-metadata/) and [REST API v0.7](/api- "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -1656,6 +1679,7 @@ See [docs](https://uploadcare.com/docs/file-metadata/) and [REST API v0.7](/api- "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -1687,6 +1711,7 @@ See [docs](https://uploadcare.com/docs/file-metadata/) and [REST API v0.7](/api- "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -1748,6 +1773,7 @@ See [docs](https://uploadcare.com/docs/file-metadata/) and [REST API v0.7](/api- }, "SchemasImageInfo": { "docs": "Image metadata.", + "inline": undefined, "properties": { "color_mode": { "docs": "Image color mode.", @@ -1767,7 +1793,6 @@ See [docs](https://uploadcare.com/docs/file-metadata/) and [REST API v0.7](/api- }, "geo_location": { "docs": "Geo-location of image from EXIF.", - "inline": true, "type": "optional", }, "height": { @@ -1819,6 +1844,7 @@ See [docs](https://uploadcare.com/docs/file-metadata/) and [REST API v0.7](/api- }, "SchemasImageInfoGeoLocation": { "docs": "Geo-location of image from EXIF.", + "inline": true, "properties": { "latitude": { "docs": "Location latitude.", @@ -1932,6 +1958,7 @@ change the value to `auto`. }, "VideoInfo": { "docs": "Video metadata.", + "inline": undefined, "properties": { "audio": "list", "bitrate": { @@ -1954,6 +1981,7 @@ change the value to `auto`. }, "VideoInfoAudioItem": { "docs": "Audio stream's metadata.", + "inline": true, "properties": { "bitrate": { "docs": "Audio stream's bitrate.", @@ -1978,6 +2006,7 @@ change the value to `auto`. }, "VideoInfoVideoItem": { "docs": "Video stream's metadata.", + "inline": true, "properties": { "bitrate": { "docs": "Video stream's bitrate.", @@ -2625,6 +2654,7 @@ change the value to `auto`. docs: Location longitude. source: openapi: ../openapi.json + inline: true ImageInfo: docs: Image metadata. properties: @@ -2652,7 +2682,6 @@ change the value to `auto`. geo_location: type: optional docs: Geo-location of image from EXIF. - inline: true datetime_original: type: optional docs: >- @@ -2680,6 +2709,7 @@ change the value to `auto`. docs: Audio stream's number of channels. source: openapi: ../openapi.json + inline: true LegacyVideoInfoVideo: docs: Video stream's metadata. properties: @@ -2700,6 +2730,7 @@ change the value to `auto`. docs: Video stream codec. source: openapi: ../openapi.json + inline: true LegacyVideoInfo: docs: Video metadata. properties: @@ -2715,11 +2746,9 @@ change the value to `auto`. audio: type: optional docs: Audio stream's metadata. - inline: true video: type: optional docs: Video stream's metadata. - inline: true source: openapi: ../openapi.json SchemasImageInfoColorMode: @@ -2749,6 +2778,7 @@ change the value to `auto`. docs: Location longitude. source: openapi: ../openapi.json + inline: true SchemasImageInfo: docs: Image metadata. properties: @@ -2776,7 +2806,6 @@ change the value to `auto`. geo_location: type: optional docs: Geo-location of image from EXIF. - inline: true datetime_original: type: optional docs: >- @@ -2804,6 +2833,7 @@ change the value to `auto`. docs: Audio stream's number of channels. source: openapi: ../openapi.json + inline: true VideoInfoVideoItem: docs: Video stream's metadata. properties: @@ -2824,6 +2854,7 @@ change the value to `auto`. docs: Video stream's codec. source: openapi: ../openapi.json + inline: true VideoInfo: docs: Video metadata. properties: @@ -2854,13 +2885,13 @@ change the value to `auto`. docs: Subtype of MIME type. source: openapi: ../openapi.json + inline: true ContentInfo: docs: Information about file content. properties: mime: type: optional docs: MIME type. - inline: true image: optional video: optional source: @@ -6118,6 +6149,7 @@ to us as a value of the `part_size` parameter (in bytes). "docs": "JSON object where the key is the file name of the uploaded file and the value is the unique ID of the file on our systems. ", + "inline": undefined, "properties": { "filename": { "type": "optional", @@ -6176,6 +6208,7 @@ to the value of the `check_URL_duplicates` parameter. "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -6188,6 +6221,7 @@ to the value of the `check_URL_duplicates` parameter. "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -6201,6 +6235,7 @@ to the value of the `check_URL_duplicates` parameter. }, "MultipartFileUploadStartResponse": { "docs": undefined, + "inline": undefined, "properties": { "parts": "list", "uuid": { diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/valtown.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/valtown.json index ad573176833..89e122cf6a8 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/valtown.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/valtown.json @@ -86,6 +86,7 @@ "types": { "BasicVal": { "docs": "A Val", + "inline": undefined, "properties": { "author": { "docs": "The user who created this val", @@ -106,10 +107,7 @@ "pattern": undefined, }, }, - "links": { - "inline": true, - "type": "BasicValLinks", - }, + "links": "BasicValLinks", "name": { "docs": "The name of this val", "type": "string", @@ -154,6 +152,7 @@ }, "BasicValAuthor": { "docs": "The user who created this val", + "inline": true, "properties": { "id": { "type": "string", @@ -172,6 +171,7 @@ }, "BasicValLinks": { "docs": undefined, + "inline": true, "properties": { "module": { "docs": "The URL of this Val’s source code as a module", @@ -236,6 +236,7 @@ }, "EmailsSendRequestInternalServerErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "error": "string", }, @@ -245,6 +246,7 @@ }, "EvalGetRequestBadRequestErrorBody": { "docs": "The function throw an error or had invalid syntax", + "inline": undefined, "properties": { "error": "string", "type": "literal<"error">", @@ -255,6 +257,7 @@ }, "EvalPostRequestBadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "error": "string", "type": "literal<"error">", @@ -265,6 +268,7 @@ }, "ExtendedVal": { "docs": "A Val", + "inline": undefined, "properties": { "author": { "docs": "The user who created this val", @@ -296,10 +300,7 @@ "multipleOf": undefined, }, }, - "links": { - "inline": true, - "type": "ExtendedValLinks", - }, + "links": "ExtendedValLinks", "name": { "docs": "The name of this val", "type": "string", @@ -358,6 +359,7 @@ }, "ExtendedValAuthor": { "docs": "The user who created this val", + "inline": true, "properties": { "id": { "type": "string", @@ -376,6 +378,7 @@ }, "ExtendedValLinks": { "docs": undefined, + "inline": true, "properties": { "module": { "docs": "The URL of this Val’s source code as a module", @@ -440,6 +443,7 @@ }, "PaginationLinks": { "docs": "Links to use for pagination", + "inline": undefined, "properties": { "next": { "docs": "URL of the next page, if any", @@ -478,6 +482,7 @@ }, "ResultSet": { "docs": "Result of executing an SQL statement.", + "inline": undefined, "properties": { "columnTypes": { "docs": "Types of columns. @@ -522,6 +527,7 @@ This value is not specified for other SQL statements.", This value is not specified if the SQL statement was not an INSERT or if the table was not a ROWID table.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -532,6 +538,7 @@ This value is not specified if the SQL statement was not an INSERT or if the tab }, "User": { "docs": "User object", + "inline": undefined, "properties": { "bio": { "docs": "The user’s biography, if they have provided one", @@ -547,10 +554,7 @@ This value is not specified if the SQL statement was not an INSERT or if the tab "pattern": undefined, }, }, - "links": { - "inline": true, - "type": "UserLinks", - }, + "links": "UserLinks", "profileImageUrl": { "docs": "URL that points to the user’s profile image, if one exists", "type": "optional", @@ -582,6 +586,7 @@ This value is not specified if the SQL statement was not an INSERT or if the tab }, "UserLinks": { "docs": undefined, + "inline": true, "properties": { "self": { "docs": "URL of this user on this API", @@ -628,6 +633,7 @@ This value is not specified if the SQL statement was not an INSERT or if the tab format: uri source: openapi: ../openapi.yml + inline: true User: docs: User object properties: @@ -654,9 +660,7 @@ This value is not specified if the SQL statement was not an INSERT or if the tab docs: URL of this user’s profile on Val Town’s website validation: format: uri - links: - type: UserLinks - inline: true + links: UserLinks source: openapi: ../openapi.yml ResultSetLastInsertRowid: @@ -672,6 +676,7 @@ This value is not specified if the SQL statement was not an INSERT or if the tab - double source: openapi: ../openapi.yml + inline: true ResultSet: docs: Result of executing an SQL statement. properties: @@ -759,6 +764,7 @@ This value is not specified if the SQL statement was not an INSERT or if the tab format: uri source: openapi: ../openapi.yml + inline: true ExtendedValAuthor: docs: The user who created this val properties: @@ -769,6 +775,7 @@ This value is not specified if the SQL statement was not an INSERT or if the tab username: optional source: openapi: ../openapi.yml + inline: true ExtendedVal: docs: A Val properties: @@ -808,9 +815,7 @@ This value is not specified if the SQL statement was not an INSERT or if the tab docs: The URL of this val on the Val Town website validation: format: uri - links: - type: ExtendedValLinks - inline: true + links: ExtendedValLinks author: type: optional docs: The user who created this val @@ -872,6 +877,7 @@ This value is not specified if the SQL statement was not an INSERT or if the tab format: uri source: openapi: ../openapi.yml + inline: true BasicValAuthor: docs: The user who created this val properties: @@ -882,6 +888,7 @@ This value is not specified if the SQL statement was not an INSERT or if the tab username: optional source: openapi: ../openapi.yml + inline: true BasicVal: docs: A Val properties: @@ -921,9 +928,7 @@ This value is not specified if the SQL statement was not an INSERT or if the tab docs: The URL of this val on the Val Town website validation: format: uri - links: - type: BasicValLinks - inline: true + links: BasicValLinks author: type: optional docs: The user who created this val @@ -1118,6 +1123,7 @@ API endpoints", "types": { "AliasValResponse": { "docs": "A Val", + "inline": undefined, "properties": { "author": { "docs": "The user who created this val", @@ -1149,10 +1155,7 @@ API endpoints", "multipleOf": undefined, }, }, - "links": { - "inline": true, - "type": "AliasValResponseLinks", - }, + "links": "AliasValResponseLinks", "name": { "docs": "The name of this val", "type": "string", @@ -1211,6 +1214,7 @@ API endpoints", }, "AliasValResponseAuthor": { "docs": "The user who created this val", + "inline": true, "properties": { "id": { "type": "string", @@ -1229,6 +1233,7 @@ API endpoints", }, "AliasValResponseLinks": { "docs": undefined, + "inline": true, "properties": { "module": { "docs": "The URL of this Val’s source code as a module", @@ -1421,6 +1426,7 @@ types: format: uri source: openapi: ../openapi.yml + inline: true AliasValResponseAuthor: docs: The user who created this val properties: @@ -1431,6 +1437,7 @@ types: username: optional source: openapi: ../openapi.yml + inline: true AliasValResponse: docs: A Val properties: @@ -1470,9 +1477,7 @@ types: docs: The URL of this val on the Val Town website validation: format: uri - links: - type: AliasValResponseLinks - inline: true + links: AliasValResponseLinks author: type: optional docs: The user who created this val @@ -1625,6 +1630,7 @@ types: "types": { "BlobListingItem": { "docs": undefined, + "inline": undefined, "properties": { "key": "string", "lastModified": { @@ -1831,6 +1837,7 @@ docs: Blobs "types": { "AttachmentObject": { "docs": undefined, + "inline": true, "properties": { "content": "string", "contentId": { @@ -1852,6 +1859,7 @@ docs: Blobs "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1867,6 +1875,7 @@ docs: Blobs "discriminated": false, "docs": "A single email or list of emails for one of the address fields", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1882,6 +1891,7 @@ docs: Blobs }, "EmailNameAndAddress": { "docs": "An email address and name", + "inline": true, "properties": { "email": "string", "name": { @@ -1894,6 +1904,7 @@ docs: Blobs }, "EmailsSendResponse": { "docs": "Successfully sent email", + "inline": undefined, "properties": { "message": "string", }, @@ -1905,6 +1916,7 @@ docs: Blobs "discriminated": false, "docs": "A reply-to list of email addresses", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1929,6 +1941,7 @@ docs: Blobs email: string source: openapi: ../openapi.yml + inline: true EmailData: discriminated: false union: @@ -1937,6 +1950,7 @@ docs: Blobs docs: An email address and name source: openapi: ../openapi.yml + inline: true EmailDataInput: discriminated: false docs: A single email or list of emails for one of the address fields @@ -1946,6 +1960,7 @@ docs: Blobs - type: list source: openapi: ../openapi.yml + inline: true AttachmentObject: properties: content: string @@ -1958,6 +1973,7 @@ docs: Blobs type: optional source: openapi: ../openapi.yml + inline: true ReplyToList: discriminated: false docs: A reply-to list of email addresses @@ -1967,6 +1983,7 @@ docs: Blobs - type: list source: openapi: ../openapi.yml + inline: true EmailsSendResponse: docs: Successfully sent email properties: @@ -2347,6 +2364,7 @@ give access to details and data from the requesting user.", }, "MeCommentsResponse": { "docs": "A paginated result set", + "inline": undefined, "properties": { "data": "list", "links": "root.PaginationLinks", @@ -2357,11 +2375,9 @@ give access to details and data from the requesting user.", }, "MeCommentsResponseDataItem": { "docs": undefined, + "inline": true, "properties": { - "author": { - "inline": true, - "type": "MeCommentsResponseDataItemAuthor", - }, + "author": "MeCommentsResponseDataItemAuthor", "comment": { "docs": "Text of the given comment, in Markdown", "type": "string", @@ -2377,10 +2393,7 @@ give access to details and data from the requesting user.", "pattern": undefined, }, }, - "val": { - "inline": true, - "type": "MeCommentsResponseDataItemVal", - }, + "val": "MeCommentsResponseDataItemVal", }, "source": { "openapi": "../openapi.yml", @@ -2388,6 +2401,7 @@ give access to details and data from the requesting user.", }, "MeCommentsResponseDataItemAuthor": { "docs": undefined, + "inline": true, "properties": { "id": { "type": "string", @@ -2406,6 +2420,7 @@ give access to details and data from the requesting user.", }, "MeCommentsResponseDataItemVal": { "docs": undefined, + "inline": true, "properties": { "author": { "docs": "The user who created this val", @@ -2445,6 +2460,7 @@ give access to details and data from the requesting user.", }, "MeCommentsResponseDataItemValAuthor": { "docs": "The user who created this val", + "inline": true, "properties": { "id": { "type": "string", @@ -2474,6 +2490,7 @@ give access to details and data from the requesting user.", }, "MeGetResponse": { "docs": "Your user information, with tier and email included", + "inline": undefined, "properties": { "bio": { "docs": "The user’s biography, if they have provided one", @@ -2493,10 +2510,7 @@ give access to details and data from the requesting user.", "pattern": undefined, }, }, - "links": { - "inline": true, - "type": "MeGetResponseLinks", - }, + "links": "MeGetResponseLinks", "profileImageUrl": { "docs": "URL that points to the user’s profile image, if one exists", "type": "optional", @@ -2532,6 +2546,7 @@ give access to details and data from the requesting user.", }, "MeGetResponseLinks": { "docs": undefined, + "inline": true, "properties": { "self": { "docs": "URL of this user on this API", @@ -2560,6 +2575,7 @@ give access to details and data from the requesting user.", }, "MeLikesResponse": { "docs": "A paginated result set", + "inline": undefined, "properties": { "data": "list", "links": "root.PaginationLinks", @@ -2570,6 +2586,7 @@ give access to details and data from the requesting user.", }, "MeReferencesResponse": { "docs": "A paginated result set", + "inline": undefined, "properties": { "data": "list", "links": "root.PaginationLinks", @@ -2580,15 +2597,14 @@ give access to details and data from the requesting user.", }, "MeReferencesResponseDataItem": { "docs": "A description of a dependency from one val (reference) to another (dependsOn) that was introduced at a particular time.", + "inline": true, "properties": { "dependsOn": { "docs": "A val in a dependency relationship", - "inline": true, "type": "MeReferencesResponseDataItemDependsOn", }, "reference": { "docs": "A val in a dependency relationship", - "inline": true, "type": "MeReferencesResponseDataItemReference", }, "referencedAt": "datetime", @@ -2599,6 +2615,7 @@ give access to details and data from the requesting user.", }, "MeReferencesResponseDataItemDependsOn": { "docs": "A val in a dependency relationship", + "inline": true, "properties": { "author_id": { "docs": "The ID of the person who authored this val", @@ -2635,6 +2652,7 @@ give access to details and data from the requesting user.", }, "MeReferencesResponseDataItemReference": { "docs": "A val in a dependency relationship", + "inline": true, "properties": { "author_id": { "docs": "The ID of the person who authored this val", @@ -2681,6 +2699,7 @@ give access to details and data from the requesting user.", format: uri source: openapi: ../openapi.yml + inline: true MeGetResponseTier: enum: - free @@ -2714,9 +2733,7 @@ give access to details and data from the requesting user.", docs: URL of this user’s profile on Val Town’s website validation: format: uri - links: - type: MeGetResponseLinks - inline: true + links: MeGetResponseLinks tier: type: optional docs: Your account tier @@ -2749,6 +2766,7 @@ give access to details and data from the requesting user.", username: optional source: openapi: ../openapi.yml + inline: true MeCommentsResponseDataItemValPrivacy: enum: - public @@ -2769,6 +2787,7 @@ give access to details and data from the requesting user.", username: optional source: openapi: ../openapi.yml + inline: true MeCommentsResponseDataItemVal: properties: name: @@ -2792,6 +2811,7 @@ give access to details and data from the requesting user.", docs: The user who created this val source: openapi: ../openapi.yml + inline: true MeCommentsResponseDataItem: properties: comment: @@ -2803,14 +2823,11 @@ give access to details and data from the requesting user.", validation: format: uuid createdAt: datetime - author: - type: MeCommentsResponseDataItemAuthor - inline: true - val: - type: MeCommentsResponseDataItemVal - inline: true + author: MeCommentsResponseDataItemAuthor + val: MeCommentsResponseDataItemVal source: openapi: ../openapi.yml + inline: true MeCommentsResponse: docs: A paginated result set properties: @@ -2839,6 +2856,7 @@ give access to details and data from the requesting user.", docs: The name of this val source: openapi: ../openapi.yml + inline: true MeReferencesResponseDataItemDependsOn: docs: A val in a dependency relationship properties: @@ -2860,6 +2878,7 @@ give access to details and data from the requesting user.", docs: The name of this val source: openapi: ../openapi.yml + inline: true MeReferencesResponseDataItem: docs: >- A description of a dependency from one val (reference) to another @@ -2868,14 +2887,13 @@ give access to details and data from the requesting user.", reference: type: MeReferencesResponseDataItemReference docs: A val in a dependency relationship - inline: true dependsOn: type: MeReferencesResponseDataItemDependsOn docs: A val in a dependency relationship - inline: true referencedAt: datetime source: openapi: ../openapi.yml + inline: true MeReferencesResponse: docs: A paginated result set properties: @@ -3184,6 +3202,7 @@ imports: "types": { "SearchValsResponse": { "docs": "A paginated result set", + "inline": undefined, "properties": { "data": "list", "links": "root.PaginationLinks", @@ -3431,6 +3450,7 @@ docs: Search "types": { "ParameterizedQuery": { "docs": "A parameterized SQL query. See https://docs.turso.tech/sdk/ts/reference#batch-transactions for reference", + "inline": true, "properties": { "args": { "display-name": "StatementArg", @@ -3460,6 +3480,7 @@ docs: Search "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3478,6 +3499,7 @@ docs: Search "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3496,6 +3518,7 @@ docs: Search "discriminated": false, "docs": "List of arguments to be used in the given statement", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3508,6 +3531,7 @@ docs: Search "discriminated": false, "docs": "A value to be used as a parameter", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3529,6 +3553,7 @@ docs: Search - boolean source: openapi: ../openapi.yml + inline: true StatementArg: discriminated: false docs: List of arguments to be used in the given statement @@ -3537,6 +3562,7 @@ docs: Search - map> source: openapi: ../openapi.yml + inline: true ParameterizedQuery: docs: >- A parameterized SQL query. See @@ -3551,6 +3577,7 @@ docs: Search docs: List of arguments to be used in the given statement source: openapi: ../openapi.yml + inline: true SqliteExecuteRequestStatement: discriminated: false union: @@ -3563,6 +3590,7 @@ docs: Search reference source: openapi: ../openapi.yml + inline: true SqliteBatchRequestStatementsItem: discriminated: false union: @@ -3575,6 +3603,7 @@ docs: Search reference source: openapi: ../openapi.yml + inline: true SqliteBatchRequestMode: enum: - write @@ -3820,6 +3849,7 @@ docs: SQLite "types": { "UsersValsResponse": { "docs": "A paginated result set", + "inline": undefined, "properties": { "data": "list", "links": "root.PaginationLinks", @@ -4779,6 +4809,7 @@ let you get, create, and run vals.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -4794,6 +4825,7 @@ let you get, create, and run vals.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -4807,6 +4839,7 @@ let you get, create, and run vals.", }, "ValsCancelResponse": { "docs": "The evaluation_id was successfully searched for and the evaluation was either already done or now has been cancelled", + "inline": undefined, "properties": { "found": { "docs": "True if the evaluation was found and cancelled", @@ -4865,6 +4898,7 @@ let you get, create, and run vals.", }, "ValsListResponse": { "docs": "A paginated result set", + "inline": undefined, "properties": { "data": "list", "links": "root.PaginationLinks", @@ -4875,6 +4909,7 @@ let you get, create, and run vals.", }, "ValsListResponseDataItem": { "docs": undefined, + "inline": true, "properties": { "createdAt": "datetime", "val_id": { @@ -5004,6 +5039,7 @@ let you get, create, and run vals.", createdAt: datetime source: openapi: ../openapi.yml + inline: true ValsListResponse: docs: A paginated result set properties: diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/vellum.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/vellum.json index 4165199b999..55d38ec4f57 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/vellum.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/vellum.json @@ -761,6 +761,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "ChatMessage": { "docs": undefined, + "inline": undefined, "properties": { "role": "ChatMessageRole", "text": "string", @@ -771,6 +772,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "ChatMessageRequest": { "docs": undefined, + "inline": undefined, "properties": { "role": "ChatMessageRole", "text": "string", @@ -796,6 +798,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "ConditionalNodeResult": { "docs": undefined, + "inline": undefined, "properties": { "data": "ConditionalNodeResultData", }, @@ -805,6 +808,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "ConditionalNodeResultData": { "docs": undefined, + "inline": undefined, "properties": { "source_handle_id": "optional", }, @@ -825,6 +829,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "DeploymentNodeResult": { "docs": undefined, + "inline": undefined, "properties": { "data": "DeploymentNodeResultData", }, @@ -834,6 +839,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "DeploymentNodeResultData": { "docs": undefined, + "inline": undefined, "properties": { "delta": "optional", "output_id": "string", @@ -845,6 +851,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "DeploymentRead": { "docs": undefined, + "inline": undefined, "properties": { "active_model_version_ids": "list", "created": "datetime", @@ -921,6 +928,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "Document": { "docs": undefined, + "inline": undefined, "properties": { "external_id": { "docs": "The unique ID of the document as represented in an external system and specified when it was originally uploaded.", @@ -959,6 +967,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "DocumentDocumentToDocumentIndex": { "docs": undefined, + "inline": undefined, "properties": { "document_index_id": { "docs": "Vellum-generated ID that uniquely identifies the index this document is included in.", @@ -997,6 +1006,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "DocumentIndexRead": { "docs": undefined, + "inline": undefined, "properties": { "created": "datetime", "environment": { @@ -1065,6 +1075,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "EnrichedNormalizedCompletion": { "docs": undefined, + "inline": undefined, "properties": { "external_id": { "docs": "The external ID that was originally provided along with the generation request, which uniquely identifies this generation in an external system.", @@ -1121,6 +1132,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "EvaluationParams": { "docs": undefined, + "inline": undefined, "properties": { "target": { "docs": "The target value to compare the LLM output against. Typically what you expect or desire the LLM output to be.", @@ -1133,6 +1145,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "EvaluationParamsRequest": { "docs": undefined, + "inline": undefined, "properties": { "target": { "docs": "The target value to compare the LLM output against. Typically what you expect or desire the LLM output to be.", @@ -1158,6 +1171,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "GenerateErrorResponse": { "docs": undefined, + "inline": undefined, "properties": { "detail": { "docs": "Details about why the request failed.", @@ -1170,6 +1184,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "GenerateOptionsRequest": { "docs": undefined, + "inline": undefined, "properties": { "logprobs": { "docs": "Which logprobs to include, if any. Defaults to NONE. @@ -1185,6 +1200,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "GenerateRequest": { "docs": undefined, + "inline": undefined, "properties": { "chat_history": { "docs": "Optionally provide a list of chat messages that'll be used in place of the special {$chat_history} variable, if included in the prompt.", @@ -1205,6 +1221,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "GenerateResponse": { "docs": undefined, + "inline": undefined, "properties": { "results": { "docs": "The results of each generation request.", @@ -1217,6 +1234,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "GenerateResult": { "docs": undefined, + "inline": undefined, "properties": { "data": { "docs": "An object containing the resulting generation. This key will be absent if the LLM provider experienced an error.", @@ -1233,6 +1251,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "GenerateResultData": { "docs": undefined, + "inline": undefined, "properties": { "completions": { "docs": "The generated completions. This will generally be a list of length one.", @@ -1245,6 +1264,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "GenerateResultError": { "docs": undefined, + "inline": undefined, "properties": { "message": { "docs": "The error message returned by the LLM provider.", @@ -1257,6 +1277,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "GenerateStreamResponse": { "docs": undefined, + "inline": undefined, "properties": { "delta": "GenerateStreamResult", }, @@ -1266,6 +1287,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "GenerateStreamResult": { "docs": undefined, + "inline": undefined, "properties": { "data": "optional", "error": "optional", @@ -1277,6 +1299,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "GenerateStreamResultData": { "docs": undefined, + "inline": undefined, "properties": { "completion": "EnrichedNormalizedCompletion", "completion_index": "integer", @@ -1326,6 +1349,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "ModelVersionBuildConfig": { "docs": undefined, + "inline": undefined, "properties": { "base_model": { "docs": "The name of the base model used to create this model version, as identified by the LLM provider.", @@ -1342,6 +1366,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "ModelVersionCompilePromptResponse": { "docs": undefined, + "inline": undefined, "properties": { "prompt": { "docs": "Information about the compiled prompt.", @@ -1354,6 +1379,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "ModelVersionCompiledPrompt": { "docs": undefined, + "inline": undefined, "properties": { "num_tokens": { "docs": "The approximate number of tokens used by the compiled prompt.", @@ -1377,6 +1403,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "ModelVersionExecConfig": { "docs": undefined, + "inline": undefined, "properties": { "input_variables": { "docs": "Names of the input variables specified in the prompt template.", @@ -1399,6 +1426,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "ModelVersionExecConfigParameters": { "docs": undefined, + "inline": undefined, "properties": { "frequency_penalty": "double", "logit_bias": "optional>>", @@ -1415,6 +1443,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "ModelVersionRead": { "docs": undefined, + "inline": undefined, "properties": { "build_config": { "docs": "Configuration used to build this model version.", @@ -1501,6 +1530,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "ModelVersionSandboxSnapshot": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The ID of the sandbox snapshot.", @@ -1529,6 +1559,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "NormalizedLogProbs": { "docs": undefined, + "inline": undefined, "properties": { "likelihood": "optional", "tokens": "list", @@ -1539,6 +1570,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "NormalizedTokenLogProbs": { "docs": undefined, + "inline": undefined, "properties": { "logprob": "optional", "text_offset": "integer", @@ -1551,6 +1583,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "PaginatedSlimDocumentList": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "next": { @@ -1598,6 +1631,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "PromptNodeResult": { "docs": undefined, + "inline": undefined, "properties": { "data": "PromptNodeResultData", }, @@ -1607,6 +1641,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "PromptNodeResultData": { "docs": undefined, + "inline": undefined, "properties": { "delta": "optional", "output_id": "string", @@ -1618,6 +1653,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "PromptTemplateBlock": { "docs": undefined, + "inline": undefined, "properties": { "block_type": "BlockTypeEnum", "id": "string", @@ -1629,6 +1665,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "PromptTemplateBlockData": { "docs": undefined, + "inline": undefined, "properties": { "blocks": "list", "version": "integer", @@ -1639,6 +1676,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "PromptTemplateBlockDataRequest": { "docs": undefined, + "inline": undefined, "properties": { "blocks": "list", "version": "integer", @@ -1649,6 +1687,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "PromptTemplateBlockProperties": { "docs": undefined, + "inline": undefined, "properties": { "blocks": "optional>", "chat_message_unterminated": { @@ -1668,6 +1707,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "PromptTemplateBlockPropertiesRequest": { "docs": undefined, + "inline": undefined, "properties": { "blocks": "optional>", "chat_message_unterminated": { @@ -1703,6 +1743,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "PromptTemplateBlockRequest": { "docs": undefined, + "inline": undefined, "properties": { "block_type": "BlockTypeEnum", "id": { @@ -1722,6 +1763,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "PromptTemplateInputVariable": { "docs": undefined, + "inline": undefined, "properties": { "key": { "docs": "The name of the input variable.", @@ -1734,6 +1776,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "PromptTemplateInputVariableRequest": { "docs": undefined, + "inline": undefined, "properties": { "key": { "docs": "The name of the input variable.", @@ -1775,6 +1818,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "RegisterPromptErrorResponse": { "docs": undefined, + "inline": undefined, "properties": { "detail": { "docs": "Details about why the request failed.", @@ -1787,6 +1831,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "RegisterPromptModelParametersRequest": { "docs": undefined, + "inline": undefined, "properties": { "frequency_penalty": "double", "logit_bias": "optional>>", @@ -1803,6 +1848,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "RegisterPromptPrompt": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The ID of the generated prompt.", @@ -1819,6 +1865,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "RegisterPromptPromptInfoRequest": { "docs": undefined, + "inline": undefined, "properties": { "input_variables": { "docs": "Names of the input variables specified in the prompt template.", @@ -1836,6 +1883,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "RegisterPromptResponse": { "docs": undefined, + "inline": undefined, "properties": { "deployment": { "docs": "Information about the generated deployment", @@ -1864,6 +1912,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "RegisteredPromptDeployment": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The ID of the generated deployment.", @@ -1884,6 +1933,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "RegisteredPromptModelVersion": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The ID of the generated model version.", @@ -1900,6 +1950,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "RegisteredPromptSandbox": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The ID of the generated sandbox.", @@ -1916,6 +1967,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "RegisteredPromptSandboxSnapshot": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The ID of the generated sandbox snapshot.", @@ -1928,6 +1980,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "SandboxMetricInputParams": { "docs": undefined, + "inline": undefined, "properties": { "params": "optional", }, @@ -1937,6 +1990,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "SandboxMetricInputParamsRequest": { "docs": undefined, + "inline": undefined, "properties": { "params": "optional", }, @@ -1946,6 +2000,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "SandboxNodeResult": { "docs": undefined, + "inline": undefined, "properties": { "data": "SandboxNodeResultData", }, @@ -1955,6 +2010,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "SandboxNodeResultData": { "docs": undefined, + "inline": undefined, "properties": { "delta": "optional", "output_id": "string", @@ -1966,6 +2022,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "SandboxScenario": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The id of the scenario", @@ -1987,6 +2044,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "ScenarioInput": { "docs": undefined, + "inline": undefined, "properties": { "chat_history": "optional>", "key": "string", @@ -1999,6 +2057,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "ScenarioInputRequest": { "docs": undefined, + "inline": undefined, "properties": { "chat_history": "optional>", "key": { @@ -2030,6 +2089,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "SearchErrorResponse": { "docs": undefined, + "inline": undefined, "properties": { "detail": { "docs": "Details about why the request failed.", @@ -2042,6 +2102,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "SearchFiltersRequest": { "docs": undefined, + "inline": undefined, "properties": { "external_ids": { "docs": "The document external IDs to filter by", @@ -2054,6 +2115,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "SearchNodeResult": { "docs": undefined, + "inline": undefined, "properties": { "data": "SearchNodeResultData", }, @@ -2063,6 +2125,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "SearchNodeResultData": { "docs": undefined, + "inline": undefined, "properties": { "results": "list>", "results_output_id": "string", @@ -2075,6 +2138,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "SearchRequestOptionsRequest": { "docs": undefined, + "inline": undefined, "properties": { "filters": { "docs": "The filters to apply to the search.", @@ -2099,6 +2163,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "SearchResponse": { "docs": undefined, + "inline": undefined, "properties": { "results": { "docs": "The results of the search. Each result represents a chunk that matches the search query.", @@ -2111,6 +2176,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "SearchResult": { "docs": undefined, + "inline": undefined, "properties": { "document": { "docs": "The document that contains the chunk that matched the search query.", @@ -2132,6 +2198,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "SearchResultMergingRequest": { "docs": undefined, + "inline": undefined, "properties": { "enabled": { "docs": "Whether to enable merging results", @@ -2144,6 +2211,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "SearchWeightsRequest": { "docs": undefined, + "inline": undefined, "properties": { "keywords": { "docs": "The relative weight to give to keyword matches", @@ -2160,6 +2228,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "SlimDocument": { "docs": undefined, + "inline": undefined, "properties": { "document_to_document_indexes": "list", "external_id": { @@ -2232,6 +2301,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "SubmitCompletionActualRequest": { "docs": undefined, + "inline": undefined, "properties": { "external_id": { "docs": "The external ID that was originally provided when generating the completion that you'd now like to submit actuals for. Must provide either this or id.", @@ -2279,6 +2349,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "SubmitCompletionActualsErrorResponse": { "docs": undefined, + "inline": undefined, "properties": { "detail": "string", }, @@ -2288,6 +2359,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "TerminalNodeChatHistoryResult": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "The unique name given to the terminal node that produced this output.", @@ -2301,6 +2373,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "TerminalNodeJsonResult": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "The unique name given to the terminal node that produced this output.", @@ -2314,6 +2387,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "TerminalNodeResult": { "docs": undefined, + "inline": undefined, "properties": { "data": "TerminalNodeResultData", }, @@ -2323,6 +2397,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "TerminalNodeResultData": { "docs": undefined, + "inline": undefined, "properties": { "output": "TerminalNodeResultOutput", }, @@ -2347,6 +2422,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "TerminalNodeStringResult": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "The unique name given to the terminal node that produced this output.", @@ -2360,6 +2436,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "TestSuiteTestCase": { "docs": undefined, + "inline": undefined, "properties": { "evaluation_params": { "docs": "Parameters to use when evaluating the test case, specific to the test suite's evaluation metric.", @@ -2384,6 +2461,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "UploadDocumentErrorResponse": { "docs": undefined, + "inline": undefined, "properties": { "detail": "string", }, @@ -2393,6 +2471,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "UploadDocumentResponse": { "docs": undefined, + "inline": undefined, "properties": { "document_id": { "docs": "The ID of the newly created document.", @@ -2411,6 +2490,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "WorkflowEventError": { "docs": undefined, + "inline": undefined, "properties": { "code": "WorkflowExecutionEventErrorCode", "message": "string", @@ -2432,6 +2512,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "WorkflowExecutionNodeResultEvent": { "docs": undefined, + "inline": undefined, "properties": { "data": "WorkflowNodeResultEvent", "external_id": "optional", @@ -2443,6 +2524,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "WorkflowExecutionWorkflowResultEvent": { "docs": undefined, + "inline": undefined, "properties": { "data": "WorkflowResultEvent", "external_id": "optional", @@ -2472,6 +2554,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "WorkflowNodeResultEvent": { "docs": undefined, + "inline": undefined, "properties": { "data": "optional", "error": "optional", @@ -2502,6 +2585,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "WorkflowRequestChatHistoryInputRequest": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "The variable's name, as defined in the Workflow.", @@ -2536,6 +2620,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "WorkflowRequestJsonInputRequest": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "The variable's name, as defined in the Workflow.", @@ -2555,6 +2640,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "WorkflowRequestStringInputRequest": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "The variable's name, as defined in the Workflow.", @@ -2574,6 +2660,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "WorkflowResultEvent": { "docs": undefined, + "inline": undefined, "properties": { "error": "optional", "id": "string", @@ -2602,6 +2689,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "WorkflowResultEventOutputDataChatHistory": { "docs": undefined, + "inline": undefined, "properties": { "delta": { "docs": "The newly output string value. Only relevant for string outputs with a state of STREAMING.", @@ -2618,6 +2706,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "WorkflowResultEventOutputDataJson": { "docs": undefined, + "inline": undefined, "properties": { "delta": { "docs": "The newly output string value. Only relevant for string outputs with a state of STREAMING.", @@ -2634,6 +2723,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "WorkflowResultEventOutputDataString": { "docs": undefined, + "inline": undefined, "properties": { "delta": { "docs": "The newly output string value, meant to be concatenated with all previous. Will be non-null for events of state STREAMING.", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/webflow.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/webflow.json index e6a84a7cbd1..70c050afdda 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/webflow.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/webflow.json @@ -3192,6 +3192,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -3202,6 +3203,7 @@ }, "AccessGroupsListRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -3216,6 +3218,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -3226,6 +3229,7 @@ }, "ActivityLogsListRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -3238,6 +3242,7 @@ }, "AssetsCreateFolderRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -3250,6 +3255,7 @@ }, "AssetsCreateRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -3262,6 +3268,7 @@ }, "AssetsDeleteRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -3274,6 +3281,7 @@ }, "AssetsGetFolderRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -3286,6 +3294,7 @@ }, "AssetsGetRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -3298,6 +3307,7 @@ }, "AssetsListFoldersRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -3310,6 +3320,7 @@ }, "AssetsListRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -3322,6 +3333,7 @@ }, "AssetsUpdateRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -3334,6 +3346,7 @@ }, "CollectionsCreateRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -3346,6 +3359,7 @@ }, "CollectionsDeleteRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -3358,6 +3372,7 @@ }, "CollectionsGetRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -3370,6 +3385,7 @@ }, "CollectionsListRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -3384,6 +3400,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3394,6 +3411,7 @@ }, "ConflictErrorBodyOne": { "docs": undefined, + "inline": true, "properties": { "code": { "docs": "Error code", @@ -3420,6 +3438,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3430,6 +3449,7 @@ }, "ConflictErrorBodyZero": { "docs": undefined, + "inline": true, "properties": { "code": { "docs": "Error code", @@ -3456,6 +3476,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3466,6 +3487,7 @@ }, "DeleteCollectionRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -3478,6 +3500,7 @@ }, "EcommerceGetSettingsRequestConflictErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": { "docs": "Error code", @@ -3502,6 +3525,7 @@ }, "EcommerceGetSettingsRequestForbiddenErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "details": "optional>", "externalReference": "optional", @@ -3515,6 +3539,7 @@ }, "EcommerceGetSettingsRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -3527,6 +3552,7 @@ }, "FieldsCreateRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -3539,6 +3565,7 @@ }, "FieldsUpdateRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -3551,6 +3578,7 @@ }, "ForbiddenErrorBodyOne": { "docs": undefined, + "inline": true, "properties": { "code": { "docs": "Error code", @@ -3577,6 +3605,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3587,6 +3616,7 @@ }, "ForbiddenErrorBodyZero": { "docs": undefined, + "inline": true, "properties": { "code": { "docs": "Error code", @@ -3613,6 +3643,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3623,6 +3654,7 @@ }, "FormsGetRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -3635,6 +3667,7 @@ }, "FormsGetSubmissionRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -3647,6 +3680,7 @@ }, "FormsListRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -3659,6 +3693,7 @@ }, "FormsListSubmissionsRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -3671,6 +3706,7 @@ }, "FormsUpdateSubmissionRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -3683,6 +3719,7 @@ }, "InventoryListRequestConflictErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": { "docs": "Error code", @@ -3707,6 +3744,7 @@ }, "InventoryListRequestForbiddenErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "details": "optional>", "externalReference": "optional", @@ -3720,6 +3758,7 @@ }, "InventoryListRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -3732,6 +3771,7 @@ }, "InventoryUpdateRequestConflictErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": { "docs": "Error code", @@ -3756,6 +3796,7 @@ }, "InventoryUpdateRequestForbiddenErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "details": "optional>", "externalReference": "optional", @@ -3769,6 +3810,7 @@ }, "InventoryUpdateRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -3781,6 +3823,7 @@ }, "ItemsCreateItemForMultipleLocalesRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -3793,6 +3836,7 @@ }, "ItemsCreateItemLiveRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -3805,6 +3849,7 @@ }, "ItemsCreateItemRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -3817,6 +3862,7 @@ }, "ItemsDeleteItemLiveRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -3829,6 +3875,7 @@ }, "ItemsDeleteItemRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -3841,6 +3888,7 @@ }, "ItemsGetItemLiveRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -3853,6 +3901,7 @@ }, "ItemsGetItemRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -3865,6 +3914,7 @@ }, "ItemsListItemsLiveRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -3877,6 +3927,7 @@ }, "ItemsListItemsRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -3889,6 +3940,7 @@ }, "ItemsPublishItemRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -3901,6 +3953,7 @@ }, "ItemsUpdateItemLiveRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -3913,6 +3966,7 @@ }, "ItemsUpdateItemRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -4047,6 +4101,7 @@ }, "OrdersGetRequestConflictErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": { "docs": "Error code", @@ -4071,6 +4126,7 @@ }, "OrdersGetRequestForbiddenErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "details": "optional>", "externalReference": "optional", @@ -4084,6 +4140,7 @@ }, "OrdersGetRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -4096,6 +4153,7 @@ }, "OrdersListRequestConflictErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": { "docs": "Error code", @@ -4120,6 +4178,7 @@ }, "OrdersListRequestForbiddenErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "details": "optional>", "externalReference": "optional", @@ -4133,6 +4192,7 @@ }, "OrdersListRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -4145,6 +4205,7 @@ }, "OrdersRefundRequestConflictErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": { "docs": "Error code", @@ -4169,6 +4230,7 @@ }, "OrdersRefundRequestForbiddenErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "details": "optional>", "externalReference": "optional", @@ -4182,6 +4244,7 @@ }, "OrdersRefundRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -4194,6 +4257,7 @@ }, "OrdersUpdateFulfillRequestConflictErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": { "docs": "Error code", @@ -4218,6 +4282,7 @@ }, "OrdersUpdateFulfillRequestForbiddenErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "details": "optional>", "externalReference": "optional", @@ -4231,6 +4296,7 @@ }, "OrdersUpdateFulfillRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -4243,6 +4309,7 @@ }, "OrdersUpdateRequestConflictErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": { "docs": "Error code", @@ -4267,6 +4334,7 @@ }, "OrdersUpdateRequestForbiddenErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "details": "optional>", "externalReference": "optional", @@ -4280,6 +4348,7 @@ }, "OrdersUpdateRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -4292,6 +4361,7 @@ }, "OrdersUpdateUnfulfillRequestConflictErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": { "docs": "Error code", @@ -4316,6 +4386,7 @@ }, "OrdersUpdateUnfulfillRequestForbiddenErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "details": "optional>", "externalReference": "optional", @@ -4329,6 +4400,7 @@ }, "OrdersUpdateUnfulfillRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -4341,6 +4413,7 @@ }, "PagesGetContentRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -4353,6 +4426,7 @@ }, "PagesGetMetadataRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -4365,6 +4439,7 @@ }, "PagesListRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -4377,6 +4452,7 @@ }, "ProductsCreateRequestConflictErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": { "docs": "Error code", @@ -4401,6 +4477,7 @@ }, "ProductsCreateRequestForbiddenErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "details": "optional>", "externalReference": "optional", @@ -4414,6 +4491,7 @@ }, "ProductsCreateRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -4426,6 +4504,7 @@ }, "ProductsCreateSkuRequestConflictErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": { "docs": "Error code", @@ -4450,6 +4529,7 @@ }, "ProductsCreateSkuRequestForbiddenErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "details": "optional>", "externalReference": "optional", @@ -4463,6 +4543,7 @@ }, "ProductsCreateSkuRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -4475,6 +4556,7 @@ }, "ProductsGetRequestConflictErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": { "docs": "Error code", @@ -4499,6 +4581,7 @@ }, "ProductsGetRequestForbiddenErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "details": "optional>", "externalReference": "optional", @@ -4512,6 +4595,7 @@ }, "ProductsGetRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -4524,6 +4608,7 @@ }, "ProductsListRequestConflictErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": { "docs": "Error code", @@ -4548,6 +4633,7 @@ }, "ProductsListRequestForbiddenErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "details": "optional>", "externalReference": "optional", @@ -4561,6 +4647,7 @@ }, "ProductsListRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -4573,6 +4660,7 @@ }, "ProductsUpdateRequestConflictErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": { "docs": "Error code", @@ -4597,6 +4685,7 @@ }, "ProductsUpdateRequestForbiddenErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "details": "optional>", "externalReference": "optional", @@ -4610,6 +4699,7 @@ }, "ProductsUpdateRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -4622,6 +4712,7 @@ }, "ProductsUpdateSkuRequestConflictErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": { "docs": "Error code", @@ -4646,6 +4737,7 @@ }, "ProductsUpdateSkuRequestForbiddenErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "details": "optional>", "externalReference": "optional", @@ -4659,6 +4751,7 @@ }, "ProductsUpdateSkuRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -4671,6 +4764,7 @@ }, "ScriptsDeleteCustomCodeRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -4683,6 +4777,7 @@ }, "ScriptsGetCustomCodeRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -4695,6 +4790,7 @@ }, "ScriptsListCustomCodeBlocksRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -4707,6 +4803,7 @@ }, "ScriptsListRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -4719,6 +4816,7 @@ }, "ScriptsRegisterHostedRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -4731,6 +4829,7 @@ }, "ScriptsRegisterInlineRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -4743,6 +4842,7 @@ }, "ScriptsUpsertCustomCodeRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -4755,6 +4855,7 @@ }, "SitesGetCustomDomainRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -4767,6 +4868,7 @@ }, "SitesGetRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -4779,6 +4881,7 @@ }, "SitesListRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -4791,6 +4894,7 @@ }, "SitesPublishRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -4803,6 +4907,7 @@ }, "TokenAuthorizedByRequestForbiddenErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "details": "optional>", "externalReference": "optional", @@ -4816,6 +4921,7 @@ }, "UpdatePageSettingsRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -4828,6 +4934,7 @@ }, "UpdateStaticContentRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -4842,6 +4949,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -4852,6 +4960,7 @@ }, "UsersDeleteRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -4866,6 +4975,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -4876,6 +4986,7 @@ }, "UsersGetRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -4890,6 +5001,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -4902,6 +5014,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -4912,6 +5025,7 @@ }, "UsersInviteRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -4926,6 +5040,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -4936,6 +5051,7 @@ }, "UsersListRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -4950,6 +5066,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -4960,6 +5077,7 @@ }, "UsersUpdateRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -4972,6 +5090,7 @@ }, "WebhooksCreateRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -4984,6 +5103,7 @@ }, "WebhooksDeleteRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -4996,6 +5116,7 @@ }, "WebhooksGetRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -5008,6 +5129,7 @@ }, "WebhooksListRequestTooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -5142,6 +5264,7 @@ - map source: openapi: ../openapi.yml + inline: true ForbiddenErrorBodyZero: properties: code: @@ -5158,6 +5281,7 @@ docs: Array of errors source: openapi: ../openapi.yml + inline: true ForbiddenErrorBodyOneDetailsItem: discriminated: false union: @@ -5165,6 +5289,7 @@ - map source: openapi: ../openapi.yml + inline: true ForbiddenErrorBodyOne: properties: code: @@ -5181,6 +5306,7 @@ docs: Array of errors source: openapi: ../openapi.yml + inline: true ActivityLogsListRequestForbiddenErrorBody: discriminated: false union: @@ -5654,6 +5780,7 @@ - map source: openapi: ../openapi.yml + inline: true ConflictErrorBodyZero: properties: code: @@ -5670,6 +5797,7 @@ docs: Array of errors source: openapi: ../openapi.yml + inline: true ConflictErrorBodyOneDetailsItem: discriminated: false union: @@ -5677,6 +5805,7 @@ - map source: openapi: ../openapi.yml + inline: true ConflictErrorBodyOne: properties: code: @@ -5693,6 +5822,7 @@ docs: Array of errors source: openapi: ../openapi.yml + inline: true UsersInviteRequestConflictErrorBody: discriminated: false union: @@ -5739,6 +5869,7 @@ - map source: openapi: ../openapi.yml + inline: true ProductsListRequestConflictErrorBody: properties: code: @@ -8794,6 +8925,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "AccessGroupsListResponse": { "docs": "The list access groups results", + "inline": undefined, "properties": { "accessGroups": { "docs": "List of Site Access Groups", @@ -8824,6 +8956,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "AccessGroupsListResponseAccessGroupsItem": { "docs": undefined, + "inline": true, "properties": { "createdOn": { "docs": "The date the Access Group was created", @@ -8886,6 +9019,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) docs: The date the Access Group was created source: openapi: ../openapi.yml + inline: true AccessGroupsListResponse: docs: The list access groups results properties: @@ -9499,6 +9633,7 @@ service: "types": { "AssetsCreateFolderResponse": { "docs": "Asset Folder details", + "inline": undefined, "properties": { "assets": { "docs": "Array of Asset instances in the folder", @@ -9535,6 +9670,7 @@ service: }, "AssetsCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "assetUrl": { "docs": "S3 link to the asset", @@ -9576,7 +9712,6 @@ service: }, "uploadDetails": { "docs": "Metadata for uploading the asset binary", - "inline": true, "type": "optional", }, "uploadUrl": { @@ -9595,6 +9730,7 @@ service: }, "AssetsCreateResponseUploadDetails": { "docs": "Metadata for uploading the asset binary", + "inline": true, "properties": { "Cache-Control": "optional", "Policy": "optional", @@ -9614,6 +9750,7 @@ service: }, "AssetsGetFolderResponse": { "docs": "Asset Folder details", + "inline": undefined, "properties": { "assets": { "docs": "Array of Asset instances in the folder", @@ -9650,6 +9787,7 @@ service: }, "AssetsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "altText": { "docs": "The visual description of the asset", @@ -9705,6 +9843,7 @@ service: }, "AssetsGetResponseVariantsItem": { "docs": undefined, + "inline": true, "properties": { "displayName": { "docs": "Display name of the variant", @@ -9751,6 +9890,7 @@ service: }, "AssetsListFoldersResponse": { "docs": "The Asset Folders object", + "inline": undefined, "properties": { "assetFolders": { "docs": "A list of Asset folders", @@ -9758,7 +9898,6 @@ service: }, "pagination": { "docs": "Pagination object", - "inline": true, "type": "optional", }, }, @@ -9768,6 +9907,7 @@ service: }, "AssetsListFoldersResponseAssetFoldersItem": { "docs": "Asset Folder details", + "inline": true, "properties": { "assets": { "docs": "Array of Asset instances in the folder", @@ -9804,6 +9944,7 @@ service: }, "AssetsListFoldersResponsePagination": { "docs": "Pagination object", + "inline": true, "properties": { "limit": { "docs": "The limit used for pagination", @@ -9824,6 +9965,7 @@ service: }, "AssetsListResponse": { "docs": "A list of assets", + "inline": undefined, "properties": { "assets": "optional>", }, @@ -9833,6 +9975,7 @@ service: }, "AssetsListResponseAssetsItem": { "docs": undefined, + "inline": true, "properties": { "altText": { "docs": "The visual description of the asset", @@ -9888,6 +10031,7 @@ service: }, "AssetsListResponseAssetsItemVariantsItem": { "docs": undefined, + "inline": true, "properties": { "displayName": { "docs": "Display name of the variant", @@ -9934,6 +10078,7 @@ service: }, "AssetsUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "altText": { "docs": "The visual description of the asset", @@ -9989,6 +10134,7 @@ service: }, "AssetsUpdateResponseVariantsItem": { "docs": undefined, + "inline": true, "properties": { "displayName": { "docs": "Display name of the variant", @@ -10066,6 +10212,7 @@ service: docs: Any associated validation errors source: openapi: ../openapi.yml + inline: true AssetsListResponseAssetsItem: properties: id: @@ -10103,6 +10250,7 @@ service: docs: The visual description of the asset source: openapi: ../openapi.yml + inline: true AssetsListResponse: docs: A list of assets properties: @@ -10125,12 +10273,12 @@ service: Cache-Control: optional source: openapi: ../openapi.yml + inline: true AssetsCreateResponse: properties: uploadDetails: type: optional docs: Metadata for uploading the asset binary - inline: true contentType: optional id: optional parentFolder: @@ -10193,6 +10341,7 @@ service: docs: Any associated validation errors source: openapi: ../openapi.yml + inline: true AssetsGetResponse: properties: id: @@ -10260,6 +10409,7 @@ service: docs: Any associated validation errors source: openapi: ../openapi.yml + inline: true AssetsUpdateResponse: properties: id: @@ -10323,6 +10473,7 @@ service: docs: Date that the Asset Folder was last updated on source: openapi: ../openapi.yml + inline: true AssetsListFoldersResponsePagination: docs: Pagination object properties: @@ -10337,6 +10488,7 @@ service: docs: The total number of records source: openapi: ../openapi.yml + inline: true AssetsListFoldersResponse: docs: The Asset Folders object properties: @@ -10346,7 +10498,6 @@ service: pagination: type: optional docs: Pagination object - inline: true source: openapi: ../openapi.yml AssetsCreateFolderResponse: @@ -11079,6 +11230,7 @@ service: "types": { "CollectionsCreateResponse": { "docs": "A collection object", + "inline": undefined, "properties": { "createdOn": { "docs": "The date the collection was created", @@ -11115,6 +11267,7 @@ service: }, "CollectionsCreateResponseFieldsItem": { "docs": "The details of a field in a collection", + "inline": true, "properties": { "displayName": { "docs": "The name of a field", @@ -11172,6 +11325,7 @@ service: }, "CollectionsGetResponse": { "docs": "A collection object", + "inline": undefined, "properties": { "createdOn": { "docs": "The date the collection was created", @@ -11208,6 +11362,7 @@ service: }, "CollectionsGetResponseFieldsItem": { "docs": "The details of a field in a collection", + "inline": true, "properties": { "displayName": { "docs": "The name of a field", @@ -11265,6 +11420,7 @@ service: }, "CollectionsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "collections": { "docs": "An array of Collections", @@ -11277,6 +11433,7 @@ service: }, "CollectionsListResponseCollectionsItem": { "docs": "A collection object", + "inline": true, "properties": { "createdOn": { "docs": "The date the collection was created", @@ -11335,6 +11492,7 @@ service: docs: The date the collection was last updated source: openapi: ../openapi.yml + inline: true CollectionsListResponse: properties: collections: @@ -11388,6 +11546,7 @@ service: docs: Additional text to help anyone filling out this field source: openapi: ../openapi.yml + inline: true CollectionsCreateResponse: docs: A collection object properties: @@ -11462,6 +11621,7 @@ service: docs: Additional text to help anyone filling out this field source: openapi: ../openapi.yml + inline: true CollectionsGetResponse: docs: A collection object properties: @@ -11896,6 +12056,7 @@ service: }, "FieldsCreateResponse": { "docs": "The details of a field in a collection", + "inline": undefined, "properties": { "displayName": { "docs": "The name of a field", @@ -11953,6 +12114,7 @@ service: }, "FieldsUpdateResponse": { "docs": "The details of a field in a collection", + "inline": undefined, "properties": { "displayName": { "docs": "The name of a field", @@ -13231,6 +13393,7 @@ service: "ItemsCreateItemForMultipleLocalesRequestFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -13248,6 +13411,7 @@ service: "ItemsCreateItemForMultipleLocalesResponse": { "docs": "The fields that define the schema for a given Item are based on the Collection that Item belongs to. Beyond the user defined fields, there are a handful of additional fields that are automatically created for all items ", + "inline": undefined, "properties": { "cmsLocaleIds": { "docs": "Array of identifiers for the locales where the item will be created", @@ -13288,6 +13452,7 @@ service: "ItemsCreateItemForMultipleLocalesResponseFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -13305,6 +13470,7 @@ service: "ItemsCreateItemLiveRequestFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -13322,6 +13488,7 @@ service: "ItemsCreateItemLiveResponse": { "docs": "The fields that define the schema for a given Item are based on the Collection that Item belongs to. Beyond the user defined fields, there are a handful of additional fields that are automatically created for all items ", + "inline": undefined, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -13362,6 +13529,7 @@ service: "ItemsCreateItemLiveResponseFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -13379,6 +13547,7 @@ service: "ItemsCreateItemRequestFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -13396,6 +13565,7 @@ service: "ItemsCreateItemResponse": { "docs": "The fields that define the schema for a given Item are based on the Collection that Item belongs to. Beyond the user defined fields, there are a handful of additional fields that are automatically created for all items ", + "inline": undefined, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -13436,6 +13606,7 @@ service: "ItemsCreateItemResponseFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -13453,6 +13624,7 @@ service: "ItemsGetItemLiveResponse": { "docs": "The fields that define the schema for a given Item are based on the Collection that Item belongs to. Beyond the user defined fields, there are a handful of additional fields that are automatically created for all items ", + "inline": undefined, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -13493,6 +13665,7 @@ service: "ItemsGetItemLiveResponseFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -13510,6 +13683,7 @@ service: "ItemsGetItemResponse": { "docs": "The fields that define the schema for a given Item are based on the Collection that Item belongs to. Beyond the user defined fields, there are a handful of additional fields that are automatically created for all items ", + "inline": undefined, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -13550,6 +13724,7 @@ service: "ItemsGetItemResponseFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -13585,15 +13760,13 @@ service: }, "ItemsListItemsLiveResponse": { "docs": "Results from collection items list", + "inline": undefined, "properties": { "items": { "docs": "List of Items within the collection", "type": "optional>", }, - "pagination": { - "inline": true, - "type": "optional", - }, + "pagination": "optional", }, "source": { "openapi": "../openapi.yml", @@ -13602,6 +13775,7 @@ service: "ItemsListItemsLiveResponseItemsItem": { "docs": "The fields that define the schema for a given Item are based on the Collection that Item belongs to. Beyond the user defined fields, there are a handful of additional fields that are automatically created for all items ", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -13642,6 +13816,7 @@ service: "ItemsListItemsLiveResponseItemsItemFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -13658,6 +13833,7 @@ service: }, "ItemsListItemsLiveResponsePagination": { "docs": undefined, + "inline": true, "properties": { "limit": { "default": 100, @@ -13699,15 +13875,13 @@ service: }, "ItemsListItemsResponse": { "docs": "Results from collection items list", + "inline": undefined, "properties": { "items": { "docs": "List of Items within the collection", "type": "optional>", }, - "pagination": { - "inline": true, - "type": "optional", - }, + "pagination": "optional", }, "source": { "openapi": "../openapi.yml", @@ -13716,6 +13890,7 @@ service: "ItemsListItemsResponseItemsItem": { "docs": "The fields that define the schema for a given Item are based on the Collection that Item belongs to. Beyond the user defined fields, there are a handful of additional fields that are automatically created for all items ", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -13756,6 +13931,7 @@ service: "ItemsListItemsResponseItemsItemFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -13772,6 +13948,7 @@ service: }, "ItemsListItemsResponsePagination": { "docs": undefined, + "inline": true, "properties": { "limit": { "default": 100, @@ -13794,6 +13971,7 @@ service: }, "ItemsPublishItemResponse": { "docs": undefined, + "inline": undefined, "properties": { "errors": "optional>", "publishedItemIds": "optional>", @@ -13805,6 +13983,7 @@ service: "ItemsUpdateItemLiveRequestFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -13822,6 +14001,7 @@ service: "ItemsUpdateItemLiveResponse": { "docs": "The fields that define the schema for a given Item are based on the Collection that Item belongs to. Beyond the user defined fields, there are a handful of additional fields that are automatically created for all items ", + "inline": undefined, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -13862,6 +14042,7 @@ service: "ItemsUpdateItemLiveResponseFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -13879,6 +14060,7 @@ service: "ItemsUpdateItemRequestFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -13896,6 +14078,7 @@ service: "ItemsUpdateItemResponse": { "docs": "The fields that define the schema for a given Item are based on the Collection that Item belongs to. Beyond the user defined fields, there are a handful of additional fields that are automatically created for all items ", + "inline": undefined, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -13936,6 +14119,7 @@ service: "ItemsUpdateItemResponseFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -13979,6 +14163,7 @@ service: extra-properties: true source: openapi: ../openapi.yml + inline: true ItemsListItemsResponseItemsItem: docs: > The fields that define the schema for a given Item are based on the @@ -14012,6 +14197,7 @@ service: fieldData: optional source: openapi: ../openapi.yml + inline: true ItemsListItemsResponsePagination: properties: limit: @@ -14027,15 +14213,14 @@ service: docs: Total number of items in the collection source: openapi: ../openapi.yml + inline: true ItemsListItemsResponse: docs: Results from collection items list properties: items: type: optional> docs: List of Items within the collection - pagination: - type: optional - inline: true + pagination: optional source: openapi: ../openapi.yml ItemsCreateItemRequestFieldData: @@ -14051,6 +14236,7 @@ service: extra-properties: true source: openapi: ../openapi.yml + inline: true ItemsCreateItemResponseFieldData: properties: name: @@ -14064,6 +14250,7 @@ service: extra-properties: true source: openapi: ../openapi.yml + inline: true ItemsCreateItemResponse: docs: > The fields that define the schema for a given Item are based on the @@ -14123,6 +14310,7 @@ service: extra-properties: true source: openapi: ../openapi.yml + inline: true ItemsListItemsLiveResponseItemsItem: docs: > The fields that define the schema for a given Item are based on the @@ -14156,6 +14344,7 @@ service: fieldData: optional source: openapi: ../openapi.yml + inline: true ItemsListItemsLiveResponsePagination: properties: limit: @@ -14171,15 +14360,14 @@ service: docs: Total number of items in the collection source: openapi: ../openapi.yml + inline: true ItemsListItemsLiveResponse: docs: Results from collection items list properties: items: type: optional> docs: List of Items within the collection - pagination: - type: optional - inline: true + pagination: optional source: openapi: ../openapi.yml ItemsCreateItemLiveRequestFieldData: @@ -14195,6 +14383,7 @@ service: extra-properties: true source: openapi: ../openapi.yml + inline: true ItemsCreateItemLiveResponseFieldData: properties: name: @@ -14208,6 +14397,7 @@ service: extra-properties: true source: openapi: ../openapi.yml + inline: true ItemsCreateItemLiveResponse: docs: > The fields that define the schema for a given Item are based on the @@ -14254,6 +14444,7 @@ service: extra-properties: true source: openapi: ../openapi.yml + inline: true ItemsCreateItemForMultipleLocalesResponseFieldData: properties: name: @@ -14267,6 +14458,7 @@ service: extra-properties: true source: openapi: ../openapi.yml + inline: true ItemsCreateItemForMultipleLocalesResponse: docs: > The fields that define the schema for a given Item are based on the @@ -14313,6 +14505,7 @@ service: extra-properties: true source: openapi: ../openapi.yml + inline: true ItemsGetItemResponse: docs: > The fields that define the schema for a given Item are based on the @@ -14359,6 +14552,7 @@ service: extra-properties: true source: openapi: ../openapi.yml + inline: true ItemsUpdateItemResponseFieldData: properties: name: @@ -14372,6 +14566,7 @@ service: extra-properties: true source: openapi: ../openapi.yml + inline: true ItemsUpdateItemResponse: docs: > The fields that define the schema for a given Item are based on the @@ -14418,6 +14613,7 @@ service: extra-properties: true source: openapi: ../openapi.yml + inline: true ItemsGetItemLiveResponse: docs: > The fields that define the schema for a given Item are based on the @@ -14464,6 +14660,7 @@ service: extra-properties: true source: openapi: ../openapi.yml + inline: true ItemsUpdateItemLiveResponseFieldData: properties: name: @@ -14477,6 +14674,7 @@ service: extra-properties: true source: openapi: ../openapi.yml + inline: true ItemsUpdateItemLiveResponse: docs: > The fields that define the schema for a given Item are based on the @@ -15335,6 +15533,7 @@ Required scope | `ecommerce:read` "types": { "EcommerceGetSettingsResponse": { "docs": "Ecommerce settings for a Webflow Site", + "inline": undefined, "properties": { "createdOn": { "docs": "Date that the Site was created on", @@ -15811,10 +16010,10 @@ service: "types": { "FormSubmissionPayload": { "docs": "The Webhook payload for when a form is submitted", + "inline": undefined, "properties": { "payload": { "docs": "The payload of data sent from Webflow", - "inline": true, "type": "optional", }, "triggerType": { @@ -15828,6 +16027,7 @@ service: }, "FormSubmissionPayloadPayload": { "docs": "The payload of data sent from Webflow", + "inline": true, "properties": { "data": { "docs": "The data submitted in the form", @@ -15868,6 +16068,7 @@ service: }, "FormsGetResponse": { "docs": "A form and its corresponding metadata", + "inline": undefined, "properties": { "createdOn": { "docs": "Date that the Form was created on", @@ -15903,7 +16104,6 @@ service: }, "responseSettings": { "docs": "Settings for form responses", - "inline": true, "type": "optional", }, "siteDomainId": { @@ -15925,6 +16125,7 @@ service: }, "FormsGetResponseFieldsValue": { "docs": "An object containing field info for a specific fieldID.", + "inline": true, "properties": { "displayName": { "docs": "The field name displayed on the site", @@ -15962,6 +16163,7 @@ service: }, "FormsGetResponseResponseSettings": { "docs": "Settings for form responses", + "inline": true, "properties": { "redirectAction": { "docs": "The action to take after form submission", @@ -15986,6 +16188,7 @@ service: }, "FormsGetSubmissionResponse": { "docs": "A form submission", + "inline": undefined, "properties": { "dateSubmitted": { "docs": "Date that the Form was submitted on", @@ -16018,11 +16221,11 @@ service: }, "FormsListResponse": { "docs": "A list of forms", + "inline": undefined, "properties": { "forms": "optional>", "pagination": { "docs": "Pagination object", - "inline": true, "type": "optional", }, }, @@ -16032,6 +16235,7 @@ service: }, "FormsListResponseFormsItem": { "docs": "A Webflow form", + "inline": true, "properties": { "createdOn": { "docs": "Date that the Form was created on", @@ -16067,7 +16271,6 @@ service: }, "responseSettings": { "docs": "Settings for form responses", - "inline": true, "type": "optional", }, "siteDomainId": { @@ -16089,6 +16292,7 @@ service: }, "FormsListResponseFormsItemFieldsValue": { "docs": "An object containing field info for a specific fieldID.", + "inline": true, "properties": { "displayName": { "docs": "The field name displayed on the site", @@ -16126,6 +16330,7 @@ service: }, "FormsListResponseFormsItemResponseSettings": { "docs": "Settings for form responses", + "inline": true, "properties": { "redirectAction": { "docs": "The action to take after form submission", @@ -16150,6 +16355,7 @@ service: }, "FormsListResponsePagination": { "docs": "Pagination object", + "inline": true, "properties": { "limit": { "docs": "The limit used for pagination", @@ -16170,11 +16376,11 @@ service: }, "FormsListSubmissionsResponse": { "docs": "A list of form submissions", + "inline": undefined, "properties": { "formSubmissions": "optional>", "pagination": { "docs": "Pagination object", - "inline": true, "type": "optional", }, }, @@ -16184,6 +16390,7 @@ service: }, "FormsListSubmissionsResponseFormSubmissionsItem": { "docs": undefined, + "inline": true, "properties": { "dateSubmitted": { "docs": "Date that the Form was submitted on", @@ -16216,6 +16423,7 @@ service: }, "FormsListSubmissionsResponsePagination": { "docs": "Pagination object", + "inline": true, "properties": { "limit": { "docs": "The limit used for pagination", @@ -16236,6 +16444,7 @@ service: }, "FormsUpdateSubmissionResponse": { "docs": "A form submission", + "inline": undefined, "properties": { "dateSubmitted": { "docs": "Date that the Form was submitted on", @@ -16353,6 +16562,7 @@ service: docs: Whether the field is visible to the user source: openapi: ../openapi.yml + inline: true FormsListResponseFormsItemResponseSettings: docs: Settings for form responses properties: @@ -16370,6 +16580,7 @@ service: docs: Whether to send an email confirmation to the user source: openapi: ../openapi.yml + inline: true FormsListResponseFormsItem: docs: A Webflow form properties: @@ -16388,7 +16599,6 @@ service: responseSettings: type: optional docs: Settings for form responses - inline: true id: type: optional docs: The unique id for the Form @@ -16412,6 +16622,7 @@ service: docs: The unique id of the Workspace the Site belongs to source: openapi: ../openapi.yml + inline: true FormsListResponsePagination: docs: Pagination object properties: @@ -16426,6 +16637,7 @@ service: docs: The total number of records source: openapi: ../openapi.yml + inline: true FormsListResponse: docs: A list of forms properties: @@ -16433,7 +16645,6 @@ service: pagination: type: optional docs: Pagination object - inline: true source: openapi: ../openapi.yml FormsGetResponseFieldsValueType: @@ -16463,6 +16674,7 @@ service: docs: Whether the field is visible to the user source: openapi: ../openapi.yml + inline: true FormsGetResponseResponseSettings: docs: Settings for form responses properties: @@ -16480,6 +16692,7 @@ service: docs: Whether to send an email confirmation to the user source: openapi: ../openapi.yml + inline: true FormsGetResponse: docs: A form and its corresponding metadata properties: @@ -16498,7 +16711,6 @@ service: responseSettings: type: optional docs: Settings for form responses - inline: true id: type: optional docs: The unique id for the Form @@ -16544,6 +16756,7 @@ service: docs: The data submitted in the Form source: openapi: ../openapi.yml + inline: true FormsListSubmissionsResponsePagination: docs: Pagination object properties: @@ -16558,6 +16771,7 @@ service: docs: The total number of records source: openapi: ../openapi.yml + inline: true FormsListSubmissionsResponse: docs: A list of form submissions properties: @@ -16565,7 +16779,6 @@ service: pagination: type: optional docs: Pagination object - inline: true source: openapi: ../openapi.yml FormsGetSubmissionResponse: @@ -16643,6 +16856,7 @@ service: docs: The unique id of the Form element source: openapi: ../openapi.yml + inline: true FormSubmissionPayload: docs: The Webhook payload for when a form is submitted properties: @@ -16652,7 +16866,6 @@ service: payload: type: optional docs: The payload of data sent from Webflow - inline: true source: openapi: ../openapi.yml imports: @@ -17137,6 +17350,7 @@ Required scope | `ecommerce:write` "types": { "EcommInventoryChangedPayload": { "docs": "The availabile inventory for an item", + "inline": undefined, "properties": { "id": { "docs": "Unique identifier for a SKU item", @@ -17167,6 +17381,7 @@ Required scope | `ecommerce:write` }, "InventoryListResponse": { "docs": "The availabile inventory for an item", + "inline": undefined, "properties": { "id": { "docs": "Unique identifier for a SKU item", @@ -17207,6 +17422,7 @@ Required scope | `ecommerce:write` }, "InventoryUpdateResponse": { "docs": "The availabile inventory for an item", + "inline": undefined, "properties": { "id": { "docs": "Unique identifier for a SKU item", @@ -17462,6 +17678,7 @@ webhooks: "CollectionItemChangedPayload": { "docs": "The fields that define the schema for a given Item are based on the Collection that Item belongs to. Beyond the user defined fields, there are a handful of additional fields that are automatically created for all items ", + "inline": undefined, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -17502,6 +17719,7 @@ webhooks: "CollectionItemChangedPayloadFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -17519,6 +17737,7 @@ webhooks: "CollectionItemCreatedPayload": { "docs": "The fields that define the schema for a given Item are based on the Collection that Item belongs to. Beyond the user defined fields, there are a handful of additional fields that are automatically created for all items ", + "inline": undefined, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -17559,6 +17778,7 @@ webhooks: "CollectionItemCreatedPayloadFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -17575,10 +17795,10 @@ webhooks: }, "CollectionItemDeletedPayload": { "docs": undefined, + "inline": undefined, "properties": { "payload": { "docs": "The payload of data sent from Webflow", - "inline": true, "type": "optional", }, "triggerType": { @@ -17592,6 +17812,7 @@ webhooks: }, "CollectionItemDeletedPayloadPayload": { "docs": "The payload of data sent from Webflow", + "inline": true, "properties": { "collectionId": { "docs": "The ID of the collection", @@ -17616,10 +17837,10 @@ webhooks: }, "CollectionItemUnpublishedPayload": { "docs": undefined, + "inline": undefined, "properties": { "payload": { "docs": "The payload of data sent from Webflow", - "inline": true, "type": "optional", }, "triggerType": { @@ -17633,6 +17854,7 @@ webhooks: }, "CollectionItemUnpublishedPayloadPayload": { "docs": "The payload of data sent from Webflow", + "inline": true, "properties": { "collectionId": { "docs": "The ID of the collection", @@ -17773,6 +17995,7 @@ webhooks: extra-properties: true source: openapi: ../openapi.yml + inline: true CollectionItemCreatedPayload: docs: > The fields that define the schema for a given Item are based on the @@ -17819,6 +18042,7 @@ webhooks: extra-properties: true source: openapi: ../openapi.yml + inline: true CollectionItemChangedPayload: docs: > The fields that define the schema for a given Item are based on the @@ -17869,6 +18093,7 @@ webhooks: docs: The ID of the collection source: openapi: ../openapi.yml + inline: true CollectionItemDeletedPayload: properties: triggerType: @@ -17877,7 +18102,6 @@ webhooks: payload: type: optional docs: The payload of data sent from Webflow - inline: true source: openapi: ../openapi.yml CollectionItemUnpublishedPayloadPayload: @@ -17897,6 +18121,7 @@ webhooks: docs: The ID of the collection source: openapi: ../openapi.yml + inline: true CollectionItemUnpublishedPayload: properties: triggerType: @@ -17905,7 +18130,6 @@ webhooks: payload: type: optional docs: The payload of data sent from Webflow - inline: true source: openapi: ../openapi.yml webhooks: @@ -19913,6 +20137,7 @@ Required scope | `ecommerce:write` "types": { "EcommNewOrderPayload": { "docs": undefined, + "inline": undefined, "properties": { "acceptedOn": { "docs": "The ISO8601 timestamp that an Order was placed.", @@ -19986,10 +20211,7 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "metadata": { - "inline": true, - "type": "optional", - }, + "metadata": "optional", "netAmount": { "docs": "The net amount after application fees", "type": "optional", @@ -20008,10 +20230,7 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "paypalDetails": { - "inline": true, - "type": "optional", - }, + "paypalDetails": "optional", "purchasedItems": { "docs": "An array of all things that the Customer purchased.", "type": "optional>", @@ -20072,6 +20291,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadAllAddressesItem": { "docs": "A customer address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -20136,6 +20356,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadApplicationFee": { "docs": "The application fee assessed by the platform", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -20156,6 +20377,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadBillingAddress": { "docs": "The billing address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -20220,6 +20442,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadCustomerInfo": { "docs": "An object with the keys `fullName` and `email`.", + "inline": true, "properties": { "email": { "docs": "The Customer's email address", @@ -20242,6 +20465,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadCustomerPaid": { "docs": "The total paid by the customer", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -20279,6 +20503,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadDownloadFilesItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier for the downloadable file", @@ -20305,6 +20530,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadMetadata": { "docs": undefined, + "inline": true, "properties": { "isBuyNow": "optional", }, @@ -20314,6 +20540,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadNetAmount": { "docs": "The net amount after application fees", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -20334,6 +20561,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadPaypalDetails": { "docs": undefined, + "inline": true, "properties": { "captureId": { "docs": "PayPal capture identifier", @@ -20366,6 +20594,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadPurchasedItemsItem": { "docs": "An Item that was purchased", + "inline": true, "properties": { "count": { "docs": "Number of Item purchased.", @@ -20431,6 +20660,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadPurchasedItemsItemRowTotal": { "docs": "The total for the row", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -20451,11 +20681,9 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadPurchasedItemsItemVariantImage": { "docs": undefined, + "inline": true, "properties": { - "file": { - "inline": true, - "type": "optional", - }, + "file": "optional", "url": { "docs": "The hosted location for the Variant's image", "type": "optional", @@ -20473,6 +20701,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadPurchasedItemsItemVariantImageFile": { "docs": undefined, + "inline": true, "properties": { "contentType": { "docs": "The MIME type of the image", @@ -20509,6 +20738,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadPurchasedItemsItemVariantImageFileVariantsItem": { "docs": undefined, + "inline": true, "properties": { "height": { "docs": "The image height in pixels", @@ -20540,6 +20770,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadPurchasedItemsItemVariantPrice": { "docs": "The price corresponding to the variant", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -20560,6 +20791,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadShippingAddress": { "docs": "The shipping address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -20643,6 +20875,7 @@ Required scope | `ecommerce:write` "EcommNewOrderPayloadStripeCard": { "docs": "Details on the card used to fulfill this order, if this order was finalized with Stripe. ", + "inline": true, "properties": { "brand": { "docs": "The card's brand (ie. credit card network)", @@ -20650,7 +20883,6 @@ Required scope | `ecommerce:write` }, "expires": { "docs": "The card's expiration date.", - "inline": true, "type": "optional", }, "last4": { @@ -20689,6 +20921,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadStripeCardExpires": { "docs": "The card's expiration date.", + "inline": true, "properties": { "month": { "docs": "Month that the card expires", @@ -20705,6 +20938,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadStripeDetails": { "docs": "An object with various Stripe IDs, useful for linking into the stripe dashboard.", + "inline": true, "properties": { "chargeId": { "docs": "Stripe-generated charge identifier, or null", @@ -20745,6 +20979,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadTotals": { "docs": "An object describing various pricing totals", + "inline": true, "properties": { "extras": { "docs": "An array of extra items, includes discounts, shipping, and taxes.", @@ -20765,6 +21000,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadTotalsExtrasItem": { "docs": "Extra order items, includes discounts, shipping, and taxes.", + "inline": true, "properties": { "description": { "docs": "A human-readable (but English) description of this extra charge.", @@ -20789,6 +21025,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadTotalsExtrasItemPrice": { "docs": "The price for the item", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -20824,6 +21061,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadTotalsSubtotal": { "docs": "The subtotal price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -20844,6 +21082,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadTotalsTotal": { "docs": "The total price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -20864,6 +21103,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayload": { "docs": undefined, + "inline": undefined, "properties": { "acceptedOn": { "docs": "The ISO8601 timestamp that an Order was placed.", @@ -20937,10 +21177,7 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "metadata": { - "inline": true, - "type": "optional", - }, + "metadata": "optional", "netAmount": { "docs": "The net amount after application fees", "type": "optional", @@ -20959,10 +21196,7 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "paypalDetails": { - "inline": true, - "type": "optional", - }, + "paypalDetails": "optional", "purchasedItems": { "docs": "An array of all things that the Customer purchased.", "type": "optional>", @@ -21023,6 +21257,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadAllAddressesItem": { "docs": "A customer address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -21087,6 +21322,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadApplicationFee": { "docs": "The application fee assessed by the platform", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -21107,6 +21343,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadBillingAddress": { "docs": "The billing address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -21171,6 +21408,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadCustomerInfo": { "docs": "An object with the keys `fullName` and `email`.", + "inline": true, "properties": { "email": { "docs": "The Customer's email address", @@ -21193,6 +21431,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadCustomerPaid": { "docs": "The total paid by the customer", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -21230,6 +21469,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadDownloadFilesItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier for the downloadable file", @@ -21256,6 +21496,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadMetadata": { "docs": undefined, + "inline": true, "properties": { "isBuyNow": "optional", }, @@ -21265,6 +21506,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadNetAmount": { "docs": "The net amount after application fees", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -21285,6 +21527,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadPaypalDetails": { "docs": undefined, + "inline": true, "properties": { "captureId": { "docs": "PayPal capture identifier", @@ -21317,6 +21560,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadPurchasedItemsItem": { "docs": "An Item that was purchased", + "inline": true, "properties": { "count": { "docs": "Number of Item purchased.", @@ -21382,6 +21626,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadPurchasedItemsItemRowTotal": { "docs": "The total for the row", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -21402,11 +21647,9 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadPurchasedItemsItemVariantImage": { "docs": undefined, + "inline": true, "properties": { - "file": { - "inline": true, - "type": "optional", - }, + "file": "optional", "url": { "docs": "The hosted location for the Variant's image", "type": "optional", @@ -21424,6 +21667,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadPurchasedItemsItemVariantImageFile": { "docs": undefined, + "inline": true, "properties": { "contentType": { "docs": "The MIME type of the image", @@ -21460,6 +21704,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadPurchasedItemsItemVariantImageFileVariantsItem": { "docs": undefined, + "inline": true, "properties": { "height": { "docs": "The image height in pixels", @@ -21491,6 +21736,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadPurchasedItemsItemVariantPrice": { "docs": "The price corresponding to the variant", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -21511,6 +21757,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadShippingAddress": { "docs": "The shipping address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -21594,6 +21841,7 @@ Required scope | `ecommerce:write` "EcommOrderChangedPayloadStripeCard": { "docs": "Details on the card used to fulfill this order, if this order was finalized with Stripe. ", + "inline": true, "properties": { "brand": { "docs": "The card's brand (ie. credit card network)", @@ -21601,7 +21849,6 @@ Required scope | `ecommerce:write` }, "expires": { "docs": "The card's expiration date.", - "inline": true, "type": "optional", }, "last4": { @@ -21640,6 +21887,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadStripeCardExpires": { "docs": "The card's expiration date.", + "inline": true, "properties": { "month": { "docs": "Month that the card expires", @@ -21656,6 +21904,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadStripeDetails": { "docs": "An object with various Stripe IDs, useful for linking into the stripe dashboard.", + "inline": true, "properties": { "chargeId": { "docs": "Stripe-generated charge identifier, or null", @@ -21696,6 +21945,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadTotals": { "docs": "An object describing various pricing totals", + "inline": true, "properties": { "extras": { "docs": "An array of extra items, includes discounts, shipping, and taxes.", @@ -21716,6 +21966,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadTotalsExtrasItem": { "docs": "Extra order items, includes discounts, shipping, and taxes.", + "inline": true, "properties": { "description": { "docs": "A human-readable (but English) description of this extra charge.", @@ -21740,6 +21991,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadTotalsExtrasItemPrice": { "docs": "The price for the item", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -21775,6 +22027,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadTotalsSubtotal": { "docs": "The subtotal price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -21795,6 +22048,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadTotalsTotal": { "docs": "The total price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -21815,6 +22069,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "acceptedOn": { "docs": "The ISO8601 timestamp that an Order was placed.", @@ -21888,10 +22143,7 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "metadata": { - "inline": true, - "type": "optional", - }, + "metadata": "optional", "netAmount": { "docs": "The net amount after application fees", "type": "optional", @@ -21910,10 +22162,7 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "paypalDetails": { - "inline": true, - "type": "optional", - }, + "paypalDetails": "optional", "purchasedItems": { "docs": "An array of all things that the Customer purchased.", "type": "optional>", @@ -21974,6 +22223,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponseAllAddressesItem": { "docs": "A customer address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -22038,6 +22288,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponseApplicationFee": { "docs": "The application fee assessed by the platform", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -22058,6 +22309,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponseBillingAddress": { "docs": "The billing address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -22122,6 +22374,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponseCustomerInfo": { "docs": "An object with the keys `fullName` and `email`.", + "inline": true, "properties": { "email": { "docs": "The Customer's email address", @@ -22144,6 +22397,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponseCustomerPaid": { "docs": "The total paid by the customer", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -22181,6 +22435,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponseDownloadFilesItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier for the downloadable file", @@ -22207,6 +22462,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponseMetadata": { "docs": undefined, + "inline": true, "properties": { "isBuyNow": "optional", }, @@ -22216,6 +22472,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponseNetAmount": { "docs": "The net amount after application fees", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -22236,6 +22493,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponsePaypalDetails": { "docs": undefined, + "inline": true, "properties": { "captureId": { "docs": "PayPal capture identifier", @@ -22268,6 +22526,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponsePurchasedItemsItem": { "docs": "An Item that was purchased", + "inline": true, "properties": { "count": { "docs": "Number of Item purchased.", @@ -22333,6 +22592,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponsePurchasedItemsItemRowTotal": { "docs": "The total for the row", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -22353,11 +22613,9 @@ Required scope | `ecommerce:write` }, "OrdersGetResponsePurchasedItemsItemVariantImage": { "docs": undefined, + "inline": true, "properties": { - "file": { - "inline": true, - "type": "optional", - }, + "file": "optional", "url": { "docs": "The hosted location for the Variant's image", "type": "optional", @@ -22375,6 +22633,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponsePurchasedItemsItemVariantImageFile": { "docs": undefined, + "inline": true, "properties": { "contentType": { "docs": "The MIME type of the image", @@ -22411,6 +22670,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponsePurchasedItemsItemVariantImageFileVariantsItem": { "docs": undefined, + "inline": true, "properties": { "height": { "docs": "The image height in pixels", @@ -22442,6 +22702,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponsePurchasedItemsItemVariantPrice": { "docs": "The price corresponding to the variant", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -22462,6 +22723,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponseShippingAddress": { "docs": "The shipping address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -22545,6 +22807,7 @@ Required scope | `ecommerce:write` "OrdersGetResponseStripeCard": { "docs": "Details on the card used to fulfill this order, if this order was finalized with Stripe. ", + "inline": true, "properties": { "brand": { "docs": "The card's brand (ie. credit card network)", @@ -22552,7 +22815,6 @@ Required scope | `ecommerce:write` }, "expires": { "docs": "The card's expiration date.", - "inline": true, "type": "optional", }, "last4": { @@ -22591,6 +22853,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponseStripeCardExpires": { "docs": "The card's expiration date.", + "inline": true, "properties": { "month": { "docs": "Month that the card expires", @@ -22607,6 +22870,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponseStripeDetails": { "docs": "An object with various Stripe IDs, useful for linking into the stripe dashboard.", + "inline": true, "properties": { "chargeId": { "docs": "Stripe-generated charge identifier, or null", @@ -22647,6 +22911,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponseTotals": { "docs": "An object describing various pricing totals", + "inline": true, "properties": { "extras": { "docs": "An array of extra items, includes discounts, shipping, and taxes.", @@ -22667,6 +22932,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponseTotalsExtrasItem": { "docs": "Extra order items, includes discounts, shipping, and taxes.", + "inline": true, "properties": { "description": { "docs": "A human-readable (but English) description of this extra charge.", @@ -22691,6 +22957,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponseTotalsExtrasItemPrice": { "docs": "The price for the item", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -22726,6 +22993,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponseTotalsSubtotal": { "docs": "The subtotal price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -22746,6 +23014,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponseTotalsTotal": { "docs": "The total price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -22782,6 +23051,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponse": { "docs": "Results from order list", + "inline": undefined, "properties": { "orders": { "docs": "List of orders", @@ -22789,7 +23059,6 @@ Required scope | `ecommerce:write` }, "pagination": { "docs": "Pagination object", - "inline": true, "type": "optional", }, }, @@ -22799,6 +23068,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItem": { "docs": undefined, + "inline": true, "properties": { "acceptedOn": { "docs": "The ISO8601 timestamp that an Order was placed.", @@ -22872,10 +23142,7 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "metadata": { - "inline": true, - "type": "optional", - }, + "metadata": "optional", "netAmount": { "docs": "The net amount after application fees", "type": "optional", @@ -22894,10 +23161,7 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "paypalDetails": { - "inline": true, - "type": "optional", - }, + "paypalDetails": "optional", "purchasedItems": { "docs": "An array of all things that the Customer purchased.", "type": "optional>", @@ -22958,6 +23222,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemAllAddressesItem": { "docs": "A customer address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -23022,6 +23287,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemApplicationFee": { "docs": "The application fee assessed by the platform", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -23042,6 +23308,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemBillingAddress": { "docs": "The billing address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -23106,6 +23373,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemCustomerInfo": { "docs": "An object with the keys `fullName` and `email`.", + "inline": true, "properties": { "email": { "docs": "The Customer's email address", @@ -23128,6 +23396,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemCustomerPaid": { "docs": "The total paid by the customer", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -23165,6 +23434,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemDownloadFilesItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier for the downloadable file", @@ -23191,6 +23461,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemMetadata": { "docs": undefined, + "inline": true, "properties": { "isBuyNow": "optional", }, @@ -23200,6 +23471,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemNetAmount": { "docs": "The net amount after application fees", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -23220,6 +23492,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemPaypalDetails": { "docs": undefined, + "inline": true, "properties": { "captureId": { "docs": "PayPal capture identifier", @@ -23252,6 +23525,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemPurchasedItemsItem": { "docs": "An Item that was purchased", + "inline": true, "properties": { "count": { "docs": "Number of Item purchased.", @@ -23317,6 +23591,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemPurchasedItemsItemRowTotal": { "docs": "The total for the row", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -23337,11 +23612,9 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemPurchasedItemsItemVariantImage": { "docs": undefined, + "inline": true, "properties": { - "file": { - "inline": true, - "type": "optional", - }, + "file": "optional", "url": { "docs": "The hosted location for the Variant's image", "type": "optional", @@ -23359,6 +23632,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemPurchasedItemsItemVariantImageFile": { "docs": undefined, + "inline": true, "properties": { "contentType": { "docs": "The MIME type of the image", @@ -23395,6 +23669,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemPurchasedItemsItemVariantImageFileVariantsItem": { "docs": undefined, + "inline": true, "properties": { "height": { "docs": "The image height in pixels", @@ -23426,6 +23701,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemPurchasedItemsItemVariantPrice": { "docs": "The price corresponding to the variant", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -23446,6 +23722,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemShippingAddress": { "docs": "The shipping address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -23529,6 +23806,7 @@ Required scope | `ecommerce:write` "OrdersListResponseOrdersItemStripeCard": { "docs": "Details on the card used to fulfill this order, if this order was finalized with Stripe. ", + "inline": true, "properties": { "brand": { "docs": "The card's brand (ie. credit card network)", @@ -23536,7 +23814,6 @@ Required scope | `ecommerce:write` }, "expires": { "docs": "The card's expiration date.", - "inline": true, "type": "optional", }, "last4": { @@ -23575,6 +23852,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemStripeCardExpires": { "docs": "The card's expiration date.", + "inline": true, "properties": { "month": { "docs": "Month that the card expires", @@ -23591,6 +23869,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemStripeDetails": { "docs": "An object with various Stripe IDs, useful for linking into the stripe dashboard.", + "inline": true, "properties": { "chargeId": { "docs": "Stripe-generated charge identifier, or null", @@ -23631,6 +23910,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemTotals": { "docs": "An object describing various pricing totals", + "inline": true, "properties": { "extras": { "docs": "An array of extra items, includes discounts, shipping, and taxes.", @@ -23651,6 +23931,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemTotalsExtrasItem": { "docs": "Extra order items, includes discounts, shipping, and taxes.", + "inline": true, "properties": { "description": { "docs": "A human-readable (but English) description of this extra charge.", @@ -23675,6 +23956,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemTotalsExtrasItemPrice": { "docs": "The price for the item", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -23710,6 +23992,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemTotalsSubtotal": { "docs": "The subtotal price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -23730,6 +24013,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemTotalsTotal": { "docs": "The total price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -23750,6 +24034,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponsePagination": { "docs": "Pagination object", + "inline": true, "properties": { "limit": { "docs": "The limit used for pagination", @@ -23781,6 +24066,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponse": { "docs": undefined, + "inline": undefined, "properties": { "acceptedOn": { "docs": "The ISO8601 timestamp that an Order was placed.", @@ -23854,10 +24140,7 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "metadata": { - "inline": true, - "type": "optional", - }, + "metadata": "optional", "netAmount": { "docs": "The net amount after application fees", "type": "optional", @@ -23876,10 +24159,7 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "paypalDetails": { - "inline": true, - "type": "optional", - }, + "paypalDetails": "optional", "purchasedItems": { "docs": "An array of all things that the Customer purchased.", "type": "optional>", @@ -23940,6 +24220,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponseAllAddressesItem": { "docs": "A customer address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -24004,6 +24285,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponseApplicationFee": { "docs": "The application fee assessed by the platform", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -24024,6 +24306,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponseBillingAddress": { "docs": "The billing address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -24088,6 +24371,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponseCustomerInfo": { "docs": "An object with the keys `fullName` and `email`.", + "inline": true, "properties": { "email": { "docs": "The Customer's email address", @@ -24110,6 +24394,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponseCustomerPaid": { "docs": "The total paid by the customer", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -24147,6 +24432,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponseDownloadFilesItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier for the downloadable file", @@ -24173,6 +24459,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponseMetadata": { "docs": undefined, + "inline": true, "properties": { "isBuyNow": "optional", }, @@ -24182,6 +24469,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponseNetAmount": { "docs": "The net amount after application fees", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -24202,6 +24490,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponsePaypalDetails": { "docs": undefined, + "inline": true, "properties": { "captureId": { "docs": "PayPal capture identifier", @@ -24234,6 +24523,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponsePurchasedItemsItem": { "docs": "An Item that was purchased", + "inline": true, "properties": { "count": { "docs": "Number of Item purchased.", @@ -24299,6 +24589,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponsePurchasedItemsItemRowTotal": { "docs": "The total for the row", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -24319,11 +24610,9 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponsePurchasedItemsItemVariantImage": { "docs": undefined, + "inline": true, "properties": { - "file": { - "inline": true, - "type": "optional", - }, + "file": "optional", "url": { "docs": "The hosted location for the Variant's image", "type": "optional", @@ -24341,6 +24630,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponsePurchasedItemsItemVariantImageFile": { "docs": undefined, + "inline": true, "properties": { "contentType": { "docs": "The MIME type of the image", @@ -24377,6 +24667,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponsePurchasedItemsItemVariantImageFileVariantsItem": { "docs": undefined, + "inline": true, "properties": { "height": { "docs": "The image height in pixels", @@ -24408,6 +24699,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponsePurchasedItemsItemVariantPrice": { "docs": "The price corresponding to the variant", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -24428,6 +24720,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponseShippingAddress": { "docs": "The shipping address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -24511,6 +24804,7 @@ Required scope | `ecommerce:write` "OrdersRefundResponseStripeCard": { "docs": "Details on the card used to fulfill this order, if this order was finalized with Stripe. ", + "inline": true, "properties": { "brand": { "docs": "The card's brand (ie. credit card network)", @@ -24518,7 +24812,6 @@ Required scope | `ecommerce:write` }, "expires": { "docs": "The card's expiration date.", - "inline": true, "type": "optional", }, "last4": { @@ -24557,6 +24850,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponseStripeCardExpires": { "docs": "The card's expiration date.", + "inline": true, "properties": { "month": { "docs": "Month that the card expires", @@ -24573,6 +24867,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponseStripeDetails": { "docs": "An object with various Stripe IDs, useful for linking into the stripe dashboard.", + "inline": true, "properties": { "chargeId": { "docs": "Stripe-generated charge identifier, or null", @@ -24613,6 +24908,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponseTotals": { "docs": "An object describing various pricing totals", + "inline": true, "properties": { "extras": { "docs": "An array of extra items, includes discounts, shipping, and taxes.", @@ -24633,6 +24929,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponseTotalsExtrasItem": { "docs": "Extra order items, includes discounts, shipping, and taxes.", + "inline": true, "properties": { "description": { "docs": "A human-readable (but English) description of this extra charge.", @@ -24657,6 +24954,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponseTotalsExtrasItemPrice": { "docs": "The price for the item", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -24692,6 +24990,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponseTotalsSubtotal": { "docs": "The subtotal price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -24712,6 +25011,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponseTotalsTotal": { "docs": "The total price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -24732,6 +25032,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponse": { "docs": undefined, + "inline": undefined, "properties": { "acceptedOn": { "docs": "The ISO8601 timestamp that an Order was placed.", @@ -24805,10 +25106,7 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "metadata": { - "inline": true, - "type": "optional", - }, + "metadata": "optional", "netAmount": { "docs": "The net amount after application fees", "type": "optional", @@ -24827,10 +25125,7 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "paypalDetails": { - "inline": true, - "type": "optional", - }, + "paypalDetails": "optional", "purchasedItems": { "docs": "An array of all things that the Customer purchased.", "type": "optional>", @@ -24891,6 +25186,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponseAllAddressesItem": { "docs": "A customer address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -24955,6 +25251,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponseApplicationFee": { "docs": "The application fee assessed by the platform", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -24975,6 +25272,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponseBillingAddress": { "docs": "The billing address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -25039,6 +25337,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponseCustomerInfo": { "docs": "An object with the keys `fullName` and `email`.", + "inline": true, "properties": { "email": { "docs": "The Customer's email address", @@ -25061,6 +25360,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponseCustomerPaid": { "docs": "The total paid by the customer", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -25098,6 +25398,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponseDownloadFilesItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier for the downloadable file", @@ -25124,6 +25425,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponseMetadata": { "docs": undefined, + "inline": true, "properties": { "isBuyNow": "optional", }, @@ -25133,6 +25435,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponseNetAmount": { "docs": "The net amount after application fees", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -25153,6 +25456,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponsePaypalDetails": { "docs": undefined, + "inline": true, "properties": { "captureId": { "docs": "PayPal capture identifier", @@ -25185,6 +25489,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponsePurchasedItemsItem": { "docs": "An Item that was purchased", + "inline": true, "properties": { "count": { "docs": "Number of Item purchased.", @@ -25250,6 +25555,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponsePurchasedItemsItemRowTotal": { "docs": "The total for the row", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -25270,11 +25576,9 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponsePurchasedItemsItemVariantImage": { "docs": undefined, + "inline": true, "properties": { - "file": { - "inline": true, - "type": "optional", - }, + "file": "optional", "url": { "docs": "The hosted location for the Variant's image", "type": "optional", @@ -25292,6 +25596,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponsePurchasedItemsItemVariantImageFile": { "docs": undefined, + "inline": true, "properties": { "contentType": { "docs": "The MIME type of the image", @@ -25328,6 +25633,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponsePurchasedItemsItemVariantImageFileVariantsItem": { "docs": undefined, + "inline": true, "properties": { "height": { "docs": "The image height in pixels", @@ -25359,6 +25665,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponsePurchasedItemsItemVariantPrice": { "docs": "The price corresponding to the variant", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -25379,6 +25686,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponseShippingAddress": { "docs": "The shipping address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -25462,6 +25770,7 @@ Required scope | `ecommerce:write` "OrdersUpdateFulfillResponseStripeCard": { "docs": "Details on the card used to fulfill this order, if this order was finalized with Stripe. ", + "inline": true, "properties": { "brand": { "docs": "The card's brand (ie. credit card network)", @@ -25469,7 +25778,6 @@ Required scope | `ecommerce:write` }, "expires": { "docs": "The card's expiration date.", - "inline": true, "type": "optional", }, "last4": { @@ -25508,6 +25816,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponseStripeCardExpires": { "docs": "The card's expiration date.", + "inline": true, "properties": { "month": { "docs": "Month that the card expires", @@ -25524,6 +25833,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponseStripeDetails": { "docs": "An object with various Stripe IDs, useful for linking into the stripe dashboard.", + "inline": true, "properties": { "chargeId": { "docs": "Stripe-generated charge identifier, or null", @@ -25564,6 +25874,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponseTotals": { "docs": "An object describing various pricing totals", + "inline": true, "properties": { "extras": { "docs": "An array of extra items, includes discounts, shipping, and taxes.", @@ -25584,6 +25895,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponseTotalsExtrasItem": { "docs": "Extra order items, includes discounts, shipping, and taxes.", + "inline": true, "properties": { "description": { "docs": "A human-readable (but English) description of this extra charge.", @@ -25608,6 +25920,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponseTotalsExtrasItemPrice": { "docs": "The price for the item", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -25643,6 +25956,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponseTotalsSubtotal": { "docs": "The subtotal price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -25663,6 +25977,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponseTotalsTotal": { "docs": "The total price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -25683,6 +25998,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "acceptedOn": { "docs": "The ISO8601 timestamp that an Order was placed.", @@ -25756,10 +26072,7 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "metadata": { - "inline": true, - "type": "optional", - }, + "metadata": "optional", "netAmount": { "docs": "The net amount after application fees", "type": "optional", @@ -25778,10 +26091,7 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "paypalDetails": { - "inline": true, - "type": "optional", - }, + "paypalDetails": "optional", "purchasedItems": { "docs": "An array of all things that the Customer purchased.", "type": "optional>", @@ -25842,6 +26152,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponseAllAddressesItem": { "docs": "A customer address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -25906,6 +26217,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponseApplicationFee": { "docs": "The application fee assessed by the platform", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -25926,6 +26238,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponseBillingAddress": { "docs": "The billing address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -25990,6 +26303,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponseCustomerInfo": { "docs": "An object with the keys `fullName` and `email`.", + "inline": true, "properties": { "email": { "docs": "The Customer's email address", @@ -26012,6 +26326,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponseCustomerPaid": { "docs": "The total paid by the customer", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -26049,6 +26364,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponseDownloadFilesItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier for the downloadable file", @@ -26075,6 +26391,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponseMetadata": { "docs": undefined, + "inline": true, "properties": { "isBuyNow": "optional", }, @@ -26084,6 +26401,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponseNetAmount": { "docs": "The net amount after application fees", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -26104,6 +26422,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponsePaypalDetails": { "docs": undefined, + "inline": true, "properties": { "captureId": { "docs": "PayPal capture identifier", @@ -26136,6 +26455,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponsePurchasedItemsItem": { "docs": "An Item that was purchased", + "inline": true, "properties": { "count": { "docs": "Number of Item purchased.", @@ -26201,6 +26521,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponsePurchasedItemsItemRowTotal": { "docs": "The total for the row", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -26221,11 +26542,9 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponsePurchasedItemsItemVariantImage": { "docs": undefined, + "inline": true, "properties": { - "file": { - "inline": true, - "type": "optional", - }, + "file": "optional", "url": { "docs": "The hosted location for the Variant's image", "type": "optional", @@ -26243,6 +26562,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponsePurchasedItemsItemVariantImageFile": { "docs": undefined, + "inline": true, "properties": { "contentType": { "docs": "The MIME type of the image", @@ -26279,6 +26599,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponsePurchasedItemsItemVariantImageFileVariantsItem": { "docs": undefined, + "inline": true, "properties": { "height": { "docs": "The image height in pixels", @@ -26310,6 +26631,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponsePurchasedItemsItemVariantPrice": { "docs": "The price corresponding to the variant", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -26330,6 +26652,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponseShippingAddress": { "docs": "The shipping address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -26413,6 +26736,7 @@ Required scope | `ecommerce:write` "OrdersUpdateResponseStripeCard": { "docs": "Details on the card used to fulfill this order, if this order was finalized with Stripe. ", + "inline": true, "properties": { "brand": { "docs": "The card's brand (ie. credit card network)", @@ -26420,7 +26744,6 @@ Required scope | `ecommerce:write` }, "expires": { "docs": "The card's expiration date.", - "inline": true, "type": "optional", }, "last4": { @@ -26459,6 +26782,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponseStripeCardExpires": { "docs": "The card's expiration date.", + "inline": true, "properties": { "month": { "docs": "Month that the card expires", @@ -26475,6 +26799,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponseStripeDetails": { "docs": "An object with various Stripe IDs, useful for linking into the stripe dashboard.", + "inline": true, "properties": { "chargeId": { "docs": "Stripe-generated charge identifier, or null", @@ -26515,6 +26840,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponseTotals": { "docs": "An object describing various pricing totals", + "inline": true, "properties": { "extras": { "docs": "An array of extra items, includes discounts, shipping, and taxes.", @@ -26535,6 +26861,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponseTotalsExtrasItem": { "docs": "Extra order items, includes discounts, shipping, and taxes.", + "inline": true, "properties": { "description": { "docs": "A human-readable (but English) description of this extra charge.", @@ -26559,6 +26886,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponseTotalsExtrasItemPrice": { "docs": "The price for the item", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -26594,6 +26922,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponseTotalsSubtotal": { "docs": "The subtotal price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -26614,6 +26943,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponseTotalsTotal": { "docs": "The total price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -26634,6 +26964,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponse": { "docs": undefined, + "inline": undefined, "properties": { "acceptedOn": { "docs": "The ISO8601 timestamp that an Order was placed.", @@ -26707,10 +27038,7 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "metadata": { - "inline": true, - "type": "optional", - }, + "metadata": "optional", "netAmount": { "docs": "The net amount after application fees", "type": "optional", @@ -26729,10 +27057,7 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "paypalDetails": { - "inline": true, - "type": "optional", - }, + "paypalDetails": "optional", "purchasedItems": { "docs": "An array of all things that the Customer purchased.", "type": "optional>", @@ -26793,6 +27118,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponseAllAddressesItem": { "docs": "A customer address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -26857,6 +27183,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponseApplicationFee": { "docs": "The application fee assessed by the platform", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -26877,6 +27204,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponseBillingAddress": { "docs": "The billing address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -26941,6 +27269,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponseCustomerInfo": { "docs": "An object with the keys `fullName` and `email`.", + "inline": true, "properties": { "email": { "docs": "The Customer's email address", @@ -26963,6 +27292,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponseCustomerPaid": { "docs": "The total paid by the customer", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -27000,6 +27330,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponseDownloadFilesItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier for the downloadable file", @@ -27026,6 +27357,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponseMetadata": { "docs": undefined, + "inline": true, "properties": { "isBuyNow": "optional", }, @@ -27035,6 +27367,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponseNetAmount": { "docs": "The net amount after application fees", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -27055,6 +27388,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponsePaypalDetails": { "docs": undefined, + "inline": true, "properties": { "captureId": { "docs": "PayPal capture identifier", @@ -27087,6 +27421,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponsePurchasedItemsItem": { "docs": "An Item that was purchased", + "inline": true, "properties": { "count": { "docs": "Number of Item purchased.", @@ -27152,6 +27487,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponsePurchasedItemsItemRowTotal": { "docs": "The total for the row", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -27172,11 +27508,9 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponsePurchasedItemsItemVariantImage": { "docs": undefined, + "inline": true, "properties": { - "file": { - "inline": true, - "type": "optional", - }, + "file": "optional", "url": { "docs": "The hosted location for the Variant's image", "type": "optional", @@ -27194,6 +27528,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponsePurchasedItemsItemVariantImageFile": { "docs": undefined, + "inline": true, "properties": { "contentType": { "docs": "The MIME type of the image", @@ -27230,6 +27565,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponsePurchasedItemsItemVariantImageFileVariantsItem": { "docs": undefined, + "inline": true, "properties": { "height": { "docs": "The image height in pixels", @@ -27261,6 +27597,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponsePurchasedItemsItemVariantPrice": { "docs": "The price corresponding to the variant", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -27281,6 +27618,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponseShippingAddress": { "docs": "The shipping address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -27364,6 +27702,7 @@ Required scope | `ecommerce:write` "OrdersUpdateUnfulfillResponseStripeCard": { "docs": "Details on the card used to fulfill this order, if this order was finalized with Stripe. ", + "inline": true, "properties": { "brand": { "docs": "The card's brand (ie. credit card network)", @@ -27371,7 +27710,6 @@ Required scope | `ecommerce:write` }, "expires": { "docs": "The card's expiration date.", - "inline": true, "type": "optional", }, "last4": { @@ -27410,6 +27748,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponseStripeCardExpires": { "docs": "The card's expiration date.", + "inline": true, "properties": { "month": { "docs": "Month that the card expires", @@ -27426,6 +27765,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponseStripeDetails": { "docs": "An object with various Stripe IDs, useful for linking into the stripe dashboard.", + "inline": true, "properties": { "chargeId": { "docs": "Stripe-generated charge identifier, or null", @@ -27466,6 +27806,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponseTotals": { "docs": "An object describing various pricing totals", + "inline": true, "properties": { "extras": { "docs": "An array of extra items, includes discounts, shipping, and taxes.", @@ -27486,6 +27827,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponseTotalsExtrasItem": { "docs": "Extra order items, includes discounts, shipping, and taxes.", + "inline": true, "properties": { "description": { "docs": "A human-readable (but English) description of this extra charge.", @@ -27510,6 +27852,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponseTotalsExtrasItemPrice": { "docs": "The price for the item", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -27545,6 +27888,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponseTotalsSubtotal": { "docs": "The subtotal price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -27565,6 +27909,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponseTotalsTotal": { "docs": "The total price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -28093,6 +28438,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemNetAmount: docs: The net amount after application fees properties: @@ -28107,6 +28453,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemApplicationFee: docs: The application fee assessed by the platform properties: @@ -28121,6 +28468,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemAllAddressesItemType: enum: - shipping @@ -28171,6 +28519,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemShippingAddressType: enum: - shipping @@ -28221,6 +28570,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemBillingAddressType: enum: - shipping @@ -28271,6 +28621,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemCustomerInfo: docs: An object with the keys `fullName` and `email`. properties: @@ -28284,6 +28635,7 @@ Required scope | `ecommerce:write` format: email source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemPurchasedItemsItemRowTotal: docs: The total for the row properties: @@ -28298,6 +28650,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemPurchasedItemsItemVariantImageFileVariantsItem: properties: url: @@ -28317,6 +28670,7 @@ Required scope | `ecommerce:write` docs: The image height in pixels source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemPurchasedItemsItemVariantImageFile: properties: size: @@ -28343,6 +28697,7 @@ Required scope | `ecommerce:write` docs: Variants of the supplied image source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemPurchasedItemsItemVariantImage: properties: url: @@ -28350,12 +28705,10 @@ Required scope | `ecommerce:write` docs: The hosted location for the Variant's image validation: format: uri - file: - type: >- - optional - inline: true + file: optional source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemPurchasedItemsItemVariantPrice: docs: The price corresponding to the variant properties: @@ -28370,6 +28723,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemPurchasedItemsItem: docs: An Item that was purchased properties: @@ -28418,6 +28772,7 @@ Required scope | `ecommerce:write` docs: The physical length of the variant if provided, or null source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemStripeDetails: docs: >- An object with various Stripe IDs, useful for linking into the stripe @@ -28449,6 +28804,7 @@ Required scope | `ecommerce:write` docs: Stripe-generated refund reason, or null source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemStripeCardBrand: enum: - Visa @@ -28474,6 +28830,7 @@ Required scope | `ecommerce:write` docs: Month that the card expires source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemStripeCard: docs: > Details on the card used to fulfill this order, if this order was @@ -28491,9 +28848,9 @@ Required scope | `ecommerce:write` expires: type: optional docs: The card's expiration date. - inline: true source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemPaypalDetails: properties: orderId: @@ -28516,11 +28873,13 @@ Required scope | `ecommerce:write` docs: PayPal dispute identifier source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemMetadata: properties: isBuyNow: optional source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemTotalsSubtotal: docs: The subtotal price properties: @@ -28535,6 +28894,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemTotalsExtrasItemType: enum: - discount @@ -28559,6 +28919,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemTotalsExtrasItem: docs: Extra order items, includes discounts, shipping, and taxes. properties: @@ -28576,6 +28937,7 @@ Required scope | `ecommerce:write` docs: The price for the item source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemTotalsTotal: docs: The total price properties: @@ -28590,6 +28952,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemTotals: docs: An object describing various pricing totals properties: @@ -28604,6 +28967,7 @@ Required scope | `ecommerce:write` docs: The total price source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemDownloadFilesItem: properties: id: @@ -28619,6 +28983,7 @@ Required scope | `ecommerce:write` format: uri source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItem: properties: orderId: @@ -28720,18 +29085,14 @@ Required scope | `ecommerce:write` docs: > Details on the card used to fulfill this order, if this order was finalized with Stripe. - paypalDetails: - type: optional - inline: true + paypalDetails: optional customData: type: optional>> docs: > An array of additional inputs for custom order data gathering. Each object in the array represents an input with a name, and a textInput, textArea, or checkbox value. - metadata: - type: optional - inline: true + metadata: optional isCustomerDeleted: type: optional docs: > @@ -28759,6 +29120,7 @@ Required scope | `ecommerce:write` docs: An array of downloadable file objects. source: openapi: ../openapi.yml + inline: true OrdersListResponsePagination: docs: Pagination object properties: @@ -28773,6 +29135,7 @@ Required scope | `ecommerce:write` docs: The total number of records source: openapi: ../openapi.yml + inline: true OrdersListResponse: docs: Results from order list properties: @@ -28782,7 +29145,6 @@ Required scope | `ecommerce:write` pagination: type: optional docs: Pagination object - inline: true source: openapi: ../openapi.yml OrdersGetResponseStatus: @@ -28827,6 +29189,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersGetResponseNetAmount: docs: The net amount after application fees properties: @@ -28841,6 +29204,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersGetResponseApplicationFee: docs: The application fee assessed by the platform properties: @@ -28855,6 +29219,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersGetResponseAllAddressesItemType: enum: - shipping @@ -28905,6 +29270,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersGetResponseShippingAddressType: enum: - shipping @@ -28955,6 +29321,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersGetResponseBillingAddressType: enum: - shipping @@ -29005,6 +29372,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersGetResponseCustomerInfo: docs: An object with the keys `fullName` and `email`. properties: @@ -29018,6 +29386,7 @@ Required scope | `ecommerce:write` format: email source: openapi: ../openapi.yml + inline: true OrdersGetResponsePurchasedItemsItemRowTotal: docs: The total for the row properties: @@ -29032,6 +29401,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersGetResponsePurchasedItemsItemVariantImageFileVariantsItem: properties: url: @@ -29051,6 +29421,7 @@ Required scope | `ecommerce:write` docs: The image height in pixels source: openapi: ../openapi.yml + inline: true OrdersGetResponsePurchasedItemsItemVariantImageFile: properties: size: @@ -29077,6 +29448,7 @@ Required scope | `ecommerce:write` docs: Variants of the supplied image source: openapi: ../openapi.yml + inline: true OrdersGetResponsePurchasedItemsItemVariantImage: properties: url: @@ -29084,11 +29456,10 @@ Required scope | `ecommerce:write` docs: The hosted location for the Variant's image validation: format: uri - file: - type: optional - inline: true + file: optional source: openapi: ../openapi.yml + inline: true OrdersGetResponsePurchasedItemsItemVariantPrice: docs: The price corresponding to the variant properties: @@ -29103,6 +29474,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersGetResponsePurchasedItemsItem: docs: An Item that was purchased properties: @@ -29151,6 +29523,7 @@ Required scope | `ecommerce:write` docs: The physical length of the variant if provided, or null source: openapi: ../openapi.yml + inline: true OrdersGetResponseStripeDetails: docs: >- An object with various Stripe IDs, useful for linking into the stripe @@ -29182,6 +29555,7 @@ Required scope | `ecommerce:write` docs: Stripe-generated refund reason, or null source: openapi: ../openapi.yml + inline: true OrdersGetResponseStripeCardBrand: enum: - Visa @@ -29207,6 +29581,7 @@ Required scope | `ecommerce:write` docs: Month that the card expires source: openapi: ../openapi.yml + inline: true OrdersGetResponseStripeCard: docs: > Details on the card used to fulfill this order, if this order was @@ -29224,9 +29599,9 @@ Required scope | `ecommerce:write` expires: type: optional docs: The card's expiration date. - inline: true source: openapi: ../openapi.yml + inline: true OrdersGetResponsePaypalDetails: properties: orderId: @@ -29249,11 +29624,13 @@ Required scope | `ecommerce:write` docs: PayPal dispute identifier source: openapi: ../openapi.yml + inline: true OrdersGetResponseMetadata: properties: isBuyNow: optional source: openapi: ../openapi.yml + inline: true OrdersGetResponseTotalsSubtotal: docs: The subtotal price properties: @@ -29268,6 +29645,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersGetResponseTotalsExtrasItemType: enum: - discount @@ -29292,6 +29670,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersGetResponseTotalsExtrasItem: docs: Extra order items, includes discounts, shipping, and taxes. properties: @@ -29309,6 +29688,7 @@ Required scope | `ecommerce:write` docs: The price for the item source: openapi: ../openapi.yml + inline: true OrdersGetResponseTotalsTotal: docs: The total price properties: @@ -29323,6 +29703,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersGetResponseTotals: docs: An object describing various pricing totals properties: @@ -29337,6 +29718,7 @@ Required scope | `ecommerce:write` docs: The total price source: openapi: ../openapi.yml + inline: true OrdersGetResponseDownloadFilesItem: properties: id: @@ -29352,6 +29734,7 @@ Required scope | `ecommerce:write` format: uri source: openapi: ../openapi.yml + inline: true OrdersGetResponse: properties: orderId: @@ -29453,18 +29836,14 @@ Required scope | `ecommerce:write` docs: > Details on the card used to fulfill this order, if this order was finalized with Stripe. - paypalDetails: - type: optional - inline: true + paypalDetails: optional customData: type: optional>> docs: > An array of additional inputs for custom order data gathering. Each object in the array represents an input with a name, and a textInput, textArea, or checkbox value. - metadata: - type: optional - inline: true + metadata: optional isCustomerDeleted: type: optional docs: > @@ -29534,6 +29913,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateResponseNetAmount: docs: The net amount after application fees properties: @@ -29548,6 +29928,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateResponseApplicationFee: docs: The application fee assessed by the platform properties: @@ -29562,6 +29943,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateResponseAllAddressesItemType: enum: - shipping @@ -29612,6 +29994,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersUpdateResponseShippingAddressType: enum: - shipping @@ -29662,6 +30045,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersUpdateResponseBillingAddressType: enum: - shipping @@ -29712,6 +30096,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersUpdateResponseCustomerInfo: docs: An object with the keys `fullName` and `email`. properties: @@ -29725,6 +30110,7 @@ Required scope | `ecommerce:write` format: email source: openapi: ../openapi.yml + inline: true OrdersUpdateResponsePurchasedItemsItemRowTotal: docs: The total for the row properties: @@ -29739,6 +30125,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateResponsePurchasedItemsItemVariantImageFileVariantsItem: properties: url: @@ -29758,6 +30145,7 @@ Required scope | `ecommerce:write` docs: The image height in pixels source: openapi: ../openapi.yml + inline: true OrdersUpdateResponsePurchasedItemsItemVariantImageFile: properties: size: @@ -29784,6 +30172,7 @@ Required scope | `ecommerce:write` docs: Variants of the supplied image source: openapi: ../openapi.yml + inline: true OrdersUpdateResponsePurchasedItemsItemVariantImage: properties: url: @@ -29791,11 +30180,10 @@ Required scope | `ecommerce:write` docs: The hosted location for the Variant's image validation: format: uri - file: - type: optional - inline: true + file: optional source: openapi: ../openapi.yml + inline: true OrdersUpdateResponsePurchasedItemsItemVariantPrice: docs: The price corresponding to the variant properties: @@ -29810,6 +30198,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateResponsePurchasedItemsItem: docs: An Item that was purchased properties: @@ -29858,6 +30247,7 @@ Required scope | `ecommerce:write` docs: The physical length of the variant if provided, or null source: openapi: ../openapi.yml + inline: true OrdersUpdateResponseStripeDetails: docs: >- An object with various Stripe IDs, useful for linking into the stripe @@ -29889,6 +30279,7 @@ Required scope | `ecommerce:write` docs: Stripe-generated refund reason, or null source: openapi: ../openapi.yml + inline: true OrdersUpdateResponseStripeCardBrand: enum: - Visa @@ -29914,6 +30305,7 @@ Required scope | `ecommerce:write` docs: Month that the card expires source: openapi: ../openapi.yml + inline: true OrdersUpdateResponseStripeCard: docs: > Details on the card used to fulfill this order, if this order was @@ -29931,9 +30323,9 @@ Required scope | `ecommerce:write` expires: type: optional docs: The card's expiration date. - inline: true source: openapi: ../openapi.yml + inline: true OrdersUpdateResponsePaypalDetails: properties: orderId: @@ -29956,11 +30348,13 @@ Required scope | `ecommerce:write` docs: PayPal dispute identifier source: openapi: ../openapi.yml + inline: true OrdersUpdateResponseMetadata: properties: isBuyNow: optional source: openapi: ../openapi.yml + inline: true OrdersUpdateResponseTotalsSubtotal: docs: The subtotal price properties: @@ -29975,6 +30369,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateResponseTotalsExtrasItemType: enum: - discount @@ -29999,6 +30394,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateResponseTotalsExtrasItem: docs: Extra order items, includes discounts, shipping, and taxes. properties: @@ -30016,6 +30412,7 @@ Required scope | `ecommerce:write` docs: The price for the item source: openapi: ../openapi.yml + inline: true OrdersUpdateResponseTotalsTotal: docs: The total price properties: @@ -30030,6 +30427,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateResponseTotals: docs: An object describing various pricing totals properties: @@ -30044,6 +30442,7 @@ Required scope | `ecommerce:write` docs: The total price source: openapi: ../openapi.yml + inline: true OrdersUpdateResponseDownloadFilesItem: properties: id: @@ -30059,6 +30458,7 @@ Required scope | `ecommerce:write` format: uri source: openapi: ../openapi.yml + inline: true OrdersUpdateResponse: properties: orderId: @@ -30160,18 +30560,14 @@ Required scope | `ecommerce:write` docs: > Details on the card used to fulfill this order, if this order was finalized with Stripe. - paypalDetails: - type: optional - inline: true + paypalDetails: optional customData: type: optional>> docs: > An array of additional inputs for custom order data gathering. Each object in the array represents an input with a name, and a textInput, textArea, or checkbox value. - metadata: - type: optional - inline: true + metadata: optional isCustomerDeleted: type: optional docs: > @@ -30241,6 +30637,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponseNetAmount: docs: The net amount after application fees properties: @@ -30255,6 +30652,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponseApplicationFee: docs: The application fee assessed by the platform properties: @@ -30269,6 +30667,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponseAllAddressesItemType: enum: - shipping @@ -30319,6 +30718,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponseShippingAddressType: enum: - shipping @@ -30369,6 +30769,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponseBillingAddressType: enum: - shipping @@ -30419,6 +30820,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponseCustomerInfo: docs: An object with the keys `fullName` and `email`. properties: @@ -30432,6 +30834,7 @@ Required scope | `ecommerce:write` format: email source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponsePurchasedItemsItemRowTotal: docs: The total for the row properties: @@ -30446,6 +30849,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponsePurchasedItemsItemVariantImageFileVariantsItem: properties: url: @@ -30465,6 +30869,7 @@ Required scope | `ecommerce:write` docs: The image height in pixels source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponsePurchasedItemsItemVariantImageFile: properties: size: @@ -30491,6 +30896,7 @@ Required scope | `ecommerce:write` docs: Variants of the supplied image source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponsePurchasedItemsItemVariantImage: properties: url: @@ -30498,12 +30904,10 @@ Required scope | `ecommerce:write` docs: The hosted location for the Variant's image validation: format: uri - file: - type: >- - optional - inline: true + file: optional source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponsePurchasedItemsItemVariantPrice: docs: The price corresponding to the variant properties: @@ -30518,6 +30922,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponsePurchasedItemsItem: docs: An Item that was purchased properties: @@ -30566,6 +30971,7 @@ Required scope | `ecommerce:write` docs: The physical length of the variant if provided, or null source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponseStripeDetails: docs: >- An object with various Stripe IDs, useful for linking into the stripe @@ -30597,6 +31003,7 @@ Required scope | `ecommerce:write` docs: Stripe-generated refund reason, or null source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponseStripeCardBrand: enum: - Visa @@ -30622,6 +31029,7 @@ Required scope | `ecommerce:write` docs: Month that the card expires source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponseStripeCard: docs: > Details on the card used to fulfill this order, if this order was @@ -30639,9 +31047,9 @@ Required scope | `ecommerce:write` expires: type: optional docs: The card's expiration date. - inline: true source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponsePaypalDetails: properties: orderId: @@ -30664,11 +31072,13 @@ Required scope | `ecommerce:write` docs: PayPal dispute identifier source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponseMetadata: properties: isBuyNow: optional source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponseTotalsSubtotal: docs: The subtotal price properties: @@ -30683,6 +31093,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponseTotalsExtrasItemType: enum: - discount @@ -30707,6 +31118,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponseTotalsExtrasItem: docs: Extra order items, includes discounts, shipping, and taxes. properties: @@ -30724,6 +31136,7 @@ Required scope | `ecommerce:write` docs: The price for the item source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponseTotalsTotal: docs: The total price properties: @@ -30738,6 +31151,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponseTotals: docs: An object describing various pricing totals properties: @@ -30752,6 +31166,7 @@ Required scope | `ecommerce:write` docs: The total price source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponseDownloadFilesItem: properties: id: @@ -30767,6 +31182,7 @@ Required scope | `ecommerce:write` format: uri source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponse: properties: orderId: @@ -30868,18 +31284,14 @@ Required scope | `ecommerce:write` docs: > Details on the card used to fulfill this order, if this order was finalized with Stripe. - paypalDetails: - type: optional - inline: true + paypalDetails: optional customData: type: optional>> docs: > An array of additional inputs for custom order data gathering. Each object in the array represents an input with a name, and a textInput, textArea, or checkbox value. - metadata: - type: optional - inline: true + metadata: optional isCustomerDeleted: type: optional docs: > @@ -30949,6 +31361,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponseNetAmount: docs: The net amount after application fees properties: @@ -30963,6 +31376,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponseApplicationFee: docs: The application fee assessed by the platform properties: @@ -30977,6 +31391,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponseAllAddressesItemType: enum: - shipping @@ -31027,6 +31442,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponseShippingAddressType: enum: - shipping @@ -31077,6 +31493,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponseBillingAddressType: enum: - shipping @@ -31127,6 +31544,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponseCustomerInfo: docs: An object with the keys `fullName` and `email`. properties: @@ -31140,6 +31558,7 @@ Required scope | `ecommerce:write` format: email source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponsePurchasedItemsItemRowTotal: docs: The total for the row properties: @@ -31154,6 +31573,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponsePurchasedItemsItemVariantImageFileVariantsItem: properties: url: @@ -31173,6 +31593,7 @@ Required scope | `ecommerce:write` docs: The image height in pixels source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponsePurchasedItemsItemVariantImageFile: properties: size: @@ -31199,6 +31620,7 @@ Required scope | `ecommerce:write` docs: Variants of the supplied image source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponsePurchasedItemsItemVariantImage: properties: url: @@ -31206,12 +31628,11 @@ Required scope | `ecommerce:write` docs: The hosted location for the Variant's image validation: format: uri - file: - type: >- - optional - inline: true + file: >- + optional source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponsePurchasedItemsItemVariantPrice: docs: The price corresponding to the variant properties: @@ -31226,6 +31647,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponsePurchasedItemsItem: docs: An Item that was purchased properties: @@ -31274,6 +31696,7 @@ Required scope | `ecommerce:write` docs: The physical length of the variant if provided, or null source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponseStripeDetails: docs: >- An object with various Stripe IDs, useful for linking into the stripe @@ -31305,6 +31728,7 @@ Required scope | `ecommerce:write` docs: Stripe-generated refund reason, or null source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponseStripeCardBrand: enum: - Visa @@ -31330,6 +31754,7 @@ Required scope | `ecommerce:write` docs: Month that the card expires source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponseStripeCard: docs: > Details on the card used to fulfill this order, if this order was @@ -31347,9 +31772,9 @@ Required scope | `ecommerce:write` expires: type: optional docs: The card's expiration date. - inline: true source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponsePaypalDetails: properties: orderId: @@ -31372,11 +31797,13 @@ Required scope | `ecommerce:write` docs: PayPal dispute identifier source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponseMetadata: properties: isBuyNow: optional source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponseTotalsSubtotal: docs: The subtotal price properties: @@ -31391,6 +31818,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponseTotalsExtrasItemType: enum: - discount @@ -31415,6 +31843,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponseTotalsExtrasItem: docs: Extra order items, includes discounts, shipping, and taxes. properties: @@ -31432,6 +31861,7 @@ Required scope | `ecommerce:write` docs: The price for the item source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponseTotalsTotal: docs: The total price properties: @@ -31446,6 +31876,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponseTotals: docs: An object describing various pricing totals properties: @@ -31460,6 +31891,7 @@ Required scope | `ecommerce:write` docs: The total price source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponseDownloadFilesItem: properties: id: @@ -31475,6 +31907,7 @@ Required scope | `ecommerce:write` format: uri source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponse: properties: orderId: @@ -31576,18 +32009,14 @@ Required scope | `ecommerce:write` docs: > Details on the card used to fulfill this order, if this order was finalized with Stripe. - paypalDetails: - type: optional - inline: true + paypalDetails: optional customData: type: optional>> docs: > An array of additional inputs for custom order data gathering. Each object in the array represents an input with a name, and a textInput, textArea, or checkbox value. - metadata: - type: optional - inline: true + metadata: optional isCustomerDeleted: type: optional docs: > @@ -31665,6 +32094,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersRefundResponseNetAmount: docs: The net amount after application fees properties: @@ -31679,6 +32109,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersRefundResponseApplicationFee: docs: The application fee assessed by the platform properties: @@ -31693,6 +32124,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersRefundResponseAllAddressesItemType: enum: - shipping @@ -31743,6 +32175,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersRefundResponseShippingAddressType: enum: - shipping @@ -31793,6 +32226,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersRefundResponseBillingAddressType: enum: - shipping @@ -31843,6 +32277,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersRefundResponseCustomerInfo: docs: An object with the keys `fullName` and `email`. properties: @@ -31856,6 +32291,7 @@ Required scope | `ecommerce:write` format: email source: openapi: ../openapi.yml + inline: true OrdersRefundResponsePurchasedItemsItemRowTotal: docs: The total for the row properties: @@ -31870,6 +32306,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersRefundResponsePurchasedItemsItemVariantImageFileVariantsItem: properties: url: @@ -31889,6 +32326,7 @@ Required scope | `ecommerce:write` docs: The image height in pixels source: openapi: ../openapi.yml + inline: true OrdersRefundResponsePurchasedItemsItemVariantImageFile: properties: size: @@ -31915,6 +32353,7 @@ Required scope | `ecommerce:write` docs: Variants of the supplied image source: openapi: ../openapi.yml + inline: true OrdersRefundResponsePurchasedItemsItemVariantImage: properties: url: @@ -31922,11 +32361,10 @@ Required scope | `ecommerce:write` docs: The hosted location for the Variant's image validation: format: uri - file: - type: optional - inline: true + file: optional source: openapi: ../openapi.yml + inline: true OrdersRefundResponsePurchasedItemsItemVariantPrice: docs: The price corresponding to the variant properties: @@ -31941,6 +32379,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersRefundResponsePurchasedItemsItem: docs: An Item that was purchased properties: @@ -31989,6 +32428,7 @@ Required scope | `ecommerce:write` docs: The physical length of the variant if provided, or null source: openapi: ../openapi.yml + inline: true OrdersRefundResponseStripeDetails: docs: >- An object with various Stripe IDs, useful for linking into the stripe @@ -32020,6 +32460,7 @@ Required scope | `ecommerce:write` docs: Stripe-generated refund reason, or null source: openapi: ../openapi.yml + inline: true OrdersRefundResponseStripeCardBrand: enum: - Visa @@ -32045,6 +32486,7 @@ Required scope | `ecommerce:write` docs: Month that the card expires source: openapi: ../openapi.yml + inline: true OrdersRefundResponseStripeCard: docs: > Details on the card used to fulfill this order, if this order was @@ -32062,9 +32504,9 @@ Required scope | `ecommerce:write` expires: type: optional docs: The card's expiration date. - inline: true source: openapi: ../openapi.yml + inline: true OrdersRefundResponsePaypalDetails: properties: orderId: @@ -32087,11 +32529,13 @@ Required scope | `ecommerce:write` docs: PayPal dispute identifier source: openapi: ../openapi.yml + inline: true OrdersRefundResponseMetadata: properties: isBuyNow: optional source: openapi: ../openapi.yml + inline: true OrdersRefundResponseTotalsSubtotal: docs: The subtotal price properties: @@ -32106,6 +32550,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersRefundResponseTotalsExtrasItemType: enum: - discount @@ -32130,6 +32575,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersRefundResponseTotalsExtrasItem: docs: Extra order items, includes discounts, shipping, and taxes. properties: @@ -32147,6 +32593,7 @@ Required scope | `ecommerce:write` docs: The price for the item source: openapi: ../openapi.yml + inline: true OrdersRefundResponseTotalsTotal: docs: The total price properties: @@ -32161,6 +32608,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersRefundResponseTotals: docs: An object describing various pricing totals properties: @@ -32175,6 +32623,7 @@ Required scope | `ecommerce:write` docs: The total price source: openapi: ../openapi.yml + inline: true OrdersRefundResponseDownloadFilesItem: properties: id: @@ -32190,6 +32639,7 @@ Required scope | `ecommerce:write` format: uri source: openapi: ../openapi.yml + inline: true OrdersRefundResponse: properties: orderId: @@ -32291,18 +32741,14 @@ Required scope | `ecommerce:write` docs: > Details on the card used to fulfill this order, if this order was finalized with Stripe. - paypalDetails: - type: optional - inline: true + paypalDetails: optional customData: type: optional>> docs: > An array of additional inputs for custom order data gathering. Each object in the array represents an input with a name, and a textInput, textArea, or checkbox value. - metadata: - type: optional - inline: true + metadata: optional isCustomerDeleted: type: optional docs: > @@ -32372,6 +32818,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadNetAmount: docs: The net amount after application fees properties: @@ -32386,6 +32833,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadApplicationFee: docs: The application fee assessed by the platform properties: @@ -32400,6 +32848,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadAllAddressesItemType: enum: - shipping @@ -32450,6 +32899,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadShippingAddressType: enum: - shipping @@ -32500,6 +32950,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadBillingAddressType: enum: - shipping @@ -32550,6 +33001,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadCustomerInfo: docs: An object with the keys `fullName` and `email`. properties: @@ -32563,6 +33015,7 @@ Required scope | `ecommerce:write` format: email source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadPurchasedItemsItemRowTotal: docs: The total for the row properties: @@ -32577,6 +33030,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadPurchasedItemsItemVariantImageFileVariantsItem: properties: url: @@ -32596,6 +33050,7 @@ Required scope | `ecommerce:write` docs: The image height in pixels source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadPurchasedItemsItemVariantImageFile: properties: size: @@ -32622,6 +33077,7 @@ Required scope | `ecommerce:write` docs: Variants of the supplied image source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadPurchasedItemsItemVariantImage: properties: url: @@ -32629,11 +33085,10 @@ Required scope | `ecommerce:write` docs: The hosted location for the Variant's image validation: format: uri - file: - type: optional - inline: true + file: optional source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadPurchasedItemsItemVariantPrice: docs: The price corresponding to the variant properties: @@ -32648,6 +33103,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadPurchasedItemsItem: docs: An Item that was purchased properties: @@ -32696,6 +33152,7 @@ Required scope | `ecommerce:write` docs: The physical length of the variant if provided, or null source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadStripeDetails: docs: >- An object with various Stripe IDs, useful for linking into the stripe @@ -32727,6 +33184,7 @@ Required scope | `ecommerce:write` docs: Stripe-generated refund reason, or null source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadStripeCardBrand: enum: - Visa @@ -32752,6 +33210,7 @@ Required scope | `ecommerce:write` docs: Month that the card expires source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadStripeCard: docs: > Details on the card used to fulfill this order, if this order was @@ -32769,9 +33228,9 @@ Required scope | `ecommerce:write` expires: type: optional docs: The card's expiration date. - inline: true source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadPaypalDetails: properties: orderId: @@ -32794,11 +33253,13 @@ Required scope | `ecommerce:write` docs: PayPal dispute identifier source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadMetadata: properties: isBuyNow: optional source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadTotalsSubtotal: docs: The subtotal price properties: @@ -32813,6 +33274,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadTotalsExtrasItemType: enum: - discount @@ -32837,6 +33299,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadTotalsExtrasItem: docs: Extra order items, includes discounts, shipping, and taxes. properties: @@ -32854,6 +33317,7 @@ Required scope | `ecommerce:write` docs: The price for the item source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadTotalsTotal: docs: The total price properties: @@ -32868,6 +33332,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadTotals: docs: An object describing various pricing totals properties: @@ -32882,6 +33347,7 @@ Required scope | `ecommerce:write` docs: The total price source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadDownloadFilesItem: properties: id: @@ -32897,6 +33363,7 @@ Required scope | `ecommerce:write` format: uri source: openapi: ../openapi.yml + inline: true EcommNewOrderPayload: properties: orderId: @@ -32998,18 +33465,14 @@ Required scope | `ecommerce:write` docs: > Details on the card used to fulfill this order, if this order was finalized with Stripe. - paypalDetails: - type: optional - inline: true + paypalDetails: optional customData: type: optional>> docs: > An array of additional inputs for custom order data gathering. Each object in the array represents an input with a name, and a textInput, textArea, or checkbox value. - metadata: - type: optional - inline: true + metadata: optional isCustomerDeleted: type: optional docs: > @@ -33079,6 +33542,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadNetAmount: docs: The net amount after application fees properties: @@ -33093,6 +33557,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadApplicationFee: docs: The application fee assessed by the platform properties: @@ -33107,6 +33572,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadAllAddressesItemType: enum: - shipping @@ -33157,6 +33623,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadShippingAddressType: enum: - shipping @@ -33207,6 +33674,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadBillingAddressType: enum: - shipping @@ -33257,6 +33725,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadCustomerInfo: docs: An object with the keys `fullName` and `email`. properties: @@ -33270,6 +33739,7 @@ Required scope | `ecommerce:write` format: email source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadPurchasedItemsItemRowTotal: docs: The total for the row properties: @@ -33284,6 +33754,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadPurchasedItemsItemVariantImageFileVariantsItem: properties: url: @@ -33303,6 +33774,7 @@ Required scope | `ecommerce:write` docs: The image height in pixels source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadPurchasedItemsItemVariantImageFile: properties: size: @@ -33329,6 +33801,7 @@ Required scope | `ecommerce:write` docs: Variants of the supplied image source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadPurchasedItemsItemVariantImage: properties: url: @@ -33336,11 +33809,10 @@ Required scope | `ecommerce:write` docs: The hosted location for the Variant's image validation: format: uri - file: - type: optional - inline: true + file: optional source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadPurchasedItemsItemVariantPrice: docs: The price corresponding to the variant properties: @@ -33355,6 +33827,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadPurchasedItemsItem: docs: An Item that was purchased properties: @@ -33403,6 +33876,7 @@ Required scope | `ecommerce:write` docs: The physical length of the variant if provided, or null source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadStripeDetails: docs: >- An object with various Stripe IDs, useful for linking into the stripe @@ -33434,6 +33908,7 @@ Required scope | `ecommerce:write` docs: Stripe-generated refund reason, or null source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadStripeCardBrand: enum: - Visa @@ -33459,6 +33934,7 @@ Required scope | `ecommerce:write` docs: Month that the card expires source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadStripeCard: docs: > Details on the card used to fulfill this order, if this order was @@ -33476,9 +33952,9 @@ Required scope | `ecommerce:write` expires: type: optional docs: The card's expiration date. - inline: true source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadPaypalDetails: properties: orderId: @@ -33501,11 +33977,13 @@ Required scope | `ecommerce:write` docs: PayPal dispute identifier source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadMetadata: properties: isBuyNow: optional source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadTotalsSubtotal: docs: The subtotal price properties: @@ -33520,6 +33998,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadTotalsExtrasItemType: enum: - discount @@ -33544,6 +34023,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadTotalsExtrasItem: docs: Extra order items, includes discounts, shipping, and taxes. properties: @@ -33561,6 +34041,7 @@ Required scope | `ecommerce:write` docs: The price for the item source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadTotalsTotal: docs: The total price properties: @@ -33575,6 +34056,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadTotals: docs: An object describing various pricing totals properties: @@ -33589,6 +34071,7 @@ Required scope | `ecommerce:write` docs: The total price source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadDownloadFilesItem: properties: id: @@ -33604,6 +34087,7 @@ Required scope | `ecommerce:write` format: uri source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayload: properties: orderId: @@ -33705,18 +34189,14 @@ Required scope | `ecommerce:write` docs: > Details on the card used to fulfill this order, if this order was finalized with Stripe. - paypalDetails: - type: optional - inline: true + paypalDetails: optional customData: type: optional>> docs: > An array of additional inputs for custom order data gathering. Each object in the array represents an input with a name, and a textInput, textArea, or checkbox value. - metadata: - type: optional - inline: true + metadata: optional isCustomerDeleted: type: optional docs: > @@ -36170,10 +36650,10 @@ Required scope | `pages:write` "types": { "PageCreatedPayload": { "docs": "The Webhook payload for when a Page is created", + "inline": undefined, "properties": { "payload": { "docs": "The payload of data sent from Webflow", - "inline": true, "type": "optional", }, "triggerType": { @@ -36187,6 +36667,7 @@ Required scope | `pages:write` }, "PageCreatedPayloadPayload": { "docs": "The payload of data sent from Webflow", + "inline": true, "properties": { "createdOn": "optional", "pageId": "optional", @@ -36199,10 +36680,10 @@ Required scope | `pages:write` }, "PageDeletedPayload": { "docs": "The Webhook payload for when a Page is deleted", + "inline": undefined, "properties": { "payload": { "docs": "The payload of data sent from Webflow", - "inline": true, "type": "optional", }, "triggerType": { @@ -36216,6 +36697,7 @@ Required scope | `pages:write` }, "PageDeletedPayloadPayload": { "docs": "The payload of data sent from Webflow", + "inline": true, "properties": { "deletedOn": "optional", "pageId": "optional", @@ -36228,10 +36710,10 @@ Required scope | `pages:write` }, "PageMetadataUpdatedPayload": { "docs": "The Webhook payload for when a Page's metadata is updated", + "inline": undefined, "properties": { "payload": { "docs": "The payload of data sent from Webflow", - "inline": true, "type": "optional", }, "triggerType": { @@ -36245,6 +36727,7 @@ Required scope | `pages:write` }, "PageMetadataUpdatedPayloadPayload": { "docs": "The payload of data sent from Webflow", + "inline": true, "properties": { "lastUpdated": "optional", "pageId": "optional", @@ -36258,6 +36741,7 @@ Required scope | `pages:write` "PagesGetContentResponse": { "docs": "The DOM (Document Object Model) schema represents the content structure of a web page. It captures various content nodes, such as text and images, along with their associated attributes. Each node has a unique identifier and can be of different types like text or image. The schema also provides pagination details for scenarios where the content nodes are too many to be fetched in a single request. ", + "inline": undefined, "properties": { "nodes": "optional>", "pageId": { @@ -36266,7 +36750,6 @@ Required scope | `pages:write` }, "pagination": { "docs": "Pagination object", - "inline": true, "type": "optional", }, }, @@ -36277,6 +36760,7 @@ Required scope | `pages:write` "PagesGetContentResponseNodesItem": { "docs": "A generic representation of a content element within the Document Object Model (DOM). Each node has a unique identifier and a specific type that determines its content structure and attributes. ", + "inline": true, "properties": { "attributes": { "docs": "The custom attributes of the node", @@ -36289,13 +36773,11 @@ Required scope | `pages:write` "image": { "docs": "Represents an image within the DOM. It contains details about the image, such as its alternative text (alt) for accessibility and an asset identifier for fetching the actual image resource. Additional attributes can be associated with the image for styling or other purposes. ", - "inline": true, "type": "optional", }, "text": { "docs": "Represents textual content within the DOM. It contains both the raw text and its HTML representation, allowing for flexibility in rendering and processing. Additional attributes can be associated with the text for styling or other purposes. ", - "inline": true, "type": "optional", }, "type": "optional", @@ -36307,6 +36789,7 @@ Required scope | `pages:write` "PagesGetContentResponseNodesItemImage": { "docs": "Represents an image within the DOM. It contains details about the image, such as its alternative text (alt) for accessibility and an asset identifier for fetching the actual image resource. Additional attributes can be associated with the image for styling or other purposes. ", + "inline": true, "properties": { "alt": "optional", "assetId": "optional", @@ -36318,6 +36801,7 @@ Required scope | `pages:write` "PagesGetContentResponseNodesItemText": { "docs": "Represents textual content within the DOM. It contains both the raw text and its HTML representation, allowing for flexibility in rendering and processing. Additional attributes can be associated with the text for styling or other purposes. ", + "inline": true, "properties": { "html": "optional", "text": "optional", @@ -36337,6 +36821,7 @@ Required scope | `pages:write` }, "PagesGetContentResponsePagination": { "docs": "Pagination object", + "inline": true, "properties": { "limit": { "docs": "The limit used for pagination", @@ -36357,6 +36842,7 @@ Required scope | `pages:write` }, "PagesGetMetadataResponse": { "docs": "The Page object", + "inline": undefined, "properties": { "archived": { "default": false, @@ -36400,7 +36886,6 @@ Required scope | `pages:write` }, "openGraph": { "docs": "Open Graph fields for the Page", - "inline": true, "type": "optional", }, "parentId": { @@ -36413,7 +36898,6 @@ Required scope | `pages:write` }, "seo": { "docs": "SEO-related fields for the Page", - "inline": true, "type": "optional", }, "siteId": { @@ -36435,6 +36919,7 @@ Required scope | `pages:write` }, "PagesGetMetadataResponseOpenGraph": { "docs": "Open Graph fields for the Page", + "inline": true, "properties": { "description": { "docs": "The description supplied to Open Graph annotations", @@ -36461,6 +36946,7 @@ Required scope | `pages:write` }, "PagesGetMetadataResponseSeo": { "docs": "SEO-related fields for the Page", + "inline": true, "properties": { "description": { "docs": "The Page description shown in search engine results", @@ -36477,11 +36963,11 @@ Required scope | `pages:write` }, "PagesListResponse": { "docs": "The Page object", + "inline": undefined, "properties": { "pages": "optional>", "pagination": { "docs": "Pagination object", - "inline": true, "type": "optional", }, }, @@ -36491,6 +36977,7 @@ Required scope | `pages:write` }, "PagesListResponsePagesItem": { "docs": "The Page object", + "inline": true, "properties": { "archived": { "default": false, @@ -36534,7 +37021,6 @@ Required scope | `pages:write` }, "openGraph": { "docs": "Open Graph fields for the Page", - "inline": true, "type": "optional", }, "parentId": { @@ -36547,7 +37033,6 @@ Required scope | `pages:write` }, "seo": { "docs": "SEO-related fields for the Page", - "inline": true, "type": "optional", }, "siteId": { @@ -36569,6 +37054,7 @@ Required scope | `pages:write` }, "PagesListResponsePagesItemOpenGraph": { "docs": "Open Graph fields for the Page", + "inline": true, "properties": { "description": { "docs": "The description supplied to Open Graph annotations", @@ -36595,6 +37081,7 @@ Required scope | `pages:write` }, "PagesListResponsePagesItemSeo": { "docs": "SEO-related fields for the Page", + "inline": true, "properties": { "description": { "docs": "The Page description shown in search engine results", @@ -36611,6 +37098,7 @@ Required scope | `pages:write` }, "PagesListResponsePagination": { "docs": "Pagination object", + "inline": true, "properties": { "limit": { "docs": "The limit used for pagination", @@ -36631,6 +37119,7 @@ Required scope | `pages:write` }, "UpdatePageSettingsRequestOpenGraph": { "docs": "Open Graph fields for the Page", + "inline": true, "properties": { "description": { "docs": "The description supplied to Open Graph annotations", @@ -36657,6 +37146,7 @@ Required scope | `pages:write` }, "UpdatePageSettingsRequestSeo": { "docs": "SEO-related fields for the Page", + "inline": true, "properties": { "description": { "docs": "The Page description shown in search engine results", @@ -36673,6 +37163,7 @@ Required scope | `pages:write` }, "UpdatePageSettingsResponse": { "docs": "The Page object", + "inline": undefined, "properties": { "archived": { "default": false, @@ -36716,7 +37207,6 @@ Required scope | `pages:write` }, "openGraph": { "docs": "Open Graph fields for the Page", - "inline": true, "type": "optional", }, "parentId": { @@ -36729,7 +37219,6 @@ Required scope | `pages:write` }, "seo": { "docs": "SEO-related fields for the Page", - "inline": true, "type": "optional", }, "siteId": { @@ -36751,6 +37240,7 @@ Required scope | `pages:write` }, "UpdatePageSettingsResponseOpenGraph": { "docs": "Open Graph fields for the Page", + "inline": true, "properties": { "description": { "docs": "The description supplied to Open Graph annotations", @@ -36777,6 +37267,7 @@ Required scope | `pages:write` }, "UpdatePageSettingsResponseSeo": { "docs": "SEO-related fields for the Page", + "inline": true, "properties": { "description": { "docs": "The Page description shown in search engine results", @@ -36793,6 +37284,7 @@ Required scope | `pages:write` }, "UpdateStaticContentRequestNodesItem": { "docs": undefined, + "inline": true, "properties": { "nodeId": { "docs": "Node UUID", @@ -36809,6 +37301,7 @@ Required scope | `pages:write` }, "UpdateStaticContentResponse": { "docs": undefined, + "inline": undefined, "properties": { "errors": { "docs": "A list of error messages, if any.", @@ -36907,6 +37400,7 @@ Required scope | `pages:write` docs: The Page description shown in search engine results source: openapi: ../openapi.yml + inline: true PagesListResponsePagesItemOpenGraph: docs: Open Graph fields for the Page properties: @@ -36928,6 +37422,7 @@ Required scope | `pages:write` default: true source: openapi: ../openapi.yml + inline: true PagesListResponsePagesItem: docs: The Page object properties: @@ -36980,11 +37475,9 @@ Required scope | `pages:write` seo: type: optional docs: SEO-related fields for the Page - inline: true openGraph: type: optional docs: Open Graph fields for the Page - inline: true localeId: type: optional docs: Unique ID of the page locale @@ -36993,6 +37486,7 @@ Required scope | `pages:write` docs: Relative path of the published page URL source: openapi: ../openapi.yml + inline: true PagesListResponsePagination: docs: Pagination object properties: @@ -37007,6 +37501,7 @@ Required scope | `pages:write` docs: The total number of records source: openapi: ../openapi.yml + inline: true PagesListResponse: docs: The Page object properties: @@ -37014,7 +37509,6 @@ Required scope | `pages:write` pagination: type: optional docs: Pagination object - inline: true source: openapi: ../openapi.yml PagesGetMetadataResponseSeo: @@ -37028,6 +37522,7 @@ Required scope | `pages:write` docs: The Page description shown in search engine results source: openapi: ../openapi.yml + inline: true PagesGetMetadataResponseOpenGraph: docs: Open Graph fields for the Page properties: @@ -37049,6 +37544,7 @@ Required scope | `pages:write` default: true source: openapi: ../openapi.yml + inline: true PagesGetMetadataResponse: docs: The Page object properties: @@ -37101,11 +37597,9 @@ Required scope | `pages:write` seo: type: optional docs: SEO-related fields for the Page - inline: true openGraph: type: optional docs: Open Graph fields for the Page - inline: true localeId: type: optional docs: Unique ID of the page locale @@ -37125,6 +37619,7 @@ Required scope | `pages:write` docs: The Page description shown in search engine results source: openapi: ../openapi.yml + inline: true UpdatePageSettingsRequestOpenGraph: docs: Open Graph fields for the Page properties: @@ -37146,6 +37641,7 @@ Required scope | `pages:write` default: true source: openapi: ../openapi.yml + inline: true UpdatePageSettingsResponseSeo: docs: SEO-related fields for the Page properties: @@ -37157,6 +37653,7 @@ Required scope | `pages:write` docs: The Page description shown in search engine results source: openapi: ../openapi.yml + inline: true UpdatePageSettingsResponseOpenGraph: docs: Open Graph fields for the Page properties: @@ -37178,6 +37675,7 @@ Required scope | `pages:write` default: true source: openapi: ../openapi.yml + inline: true UpdatePageSettingsResponse: docs: The Page object properties: @@ -37230,11 +37728,9 @@ Required scope | `pages:write` seo: type: optional docs: SEO-related fields for the Page - inline: true openGraph: type: optional docs: Open Graph fields for the Page - inline: true localeId: type: optional docs: Unique ID of the page locale @@ -37260,6 +37756,7 @@ Required scope | `pages:write` text: optional source: openapi: ../openapi.yml + inline: true PagesGetContentResponseNodesItemImage: docs: > Represents an image within the DOM. It contains details about the image, @@ -37271,6 +37768,7 @@ Required scope | `pages:write` assetId: optional source: openapi: ../openapi.yml + inline: true PagesGetContentResponseNodesItem: docs: > A generic representation of a content element within the Document Object @@ -37288,7 +37786,6 @@ Required scope | `pages:write` text and its HTML representation, allowing for flexibility in rendering and processing. Additional attributes can be associated with the text for styling or other purposes. - inline: true image: type: optional docs: > @@ -37297,12 +37794,12 @@ Required scope | `pages:write` asset identifier for fetching the actual image resource. Additional attributes can be associated with the image for styling or other purposes. - inline: true attributes: type: optional> docs: The custom attributes of the node source: openapi: ../openapi.yml + inline: true PagesGetContentResponsePagination: docs: Pagination object properties: @@ -37317,6 +37814,7 @@ Required scope | `pages:write` docs: The total number of records source: openapi: ../openapi.yml + inline: true PagesGetContentResponse: docs: > The DOM (Document Object Model) schema represents the content structure of @@ -37333,7 +37831,6 @@ Required scope | `pages:write` pagination: type: optional docs: Pagination object - inline: true source: openapi: ../openapi.yml UpdateStaticContentRequestNodesItem: @@ -37348,6 +37845,7 @@ Required scope | `pages:write` be the same as what's returned from the Get Content endpoint. source: openapi: ../openapi.yml + inline: true UpdateStaticContentResponse: properties: errors: @@ -37364,6 +37862,7 @@ Required scope | `pages:write` createdOn: optional source: openapi: ../openapi.yml + inline: true PageCreatedPayload: docs: The Webhook payload for when a Page is created properties: @@ -37373,7 +37872,6 @@ Required scope | `pages:write` payload: type: optional docs: The payload of data sent from Webflow - inline: true source: openapi: ../openapi.yml PageMetadataUpdatedPayloadPayload: @@ -37385,6 +37883,7 @@ Required scope | `pages:write` lastUpdated: optional source: openapi: ../openapi.yml + inline: true PageMetadataUpdatedPayload: docs: The Webhook payload for when a Page's metadata is updated properties: @@ -37394,7 +37893,6 @@ Required scope | `pages:write` payload: type: optional docs: The payload of data sent from Webflow - inline: true source: openapi: ../openapi.yml PageDeletedPayloadPayload: @@ -37406,6 +37904,7 @@ Required scope | `pages:write` deletedOn: optional source: openapi: ../openapi.yml + inline: true PageDeletedPayload: docs: The Webhook payload for when a Page is deleted properties: @@ -37415,7 +37914,6 @@ Required scope | `pages:write` payload: type: optional docs: The payload of data sent from Webflow - inline: true source: openapi: ../openapi.yml imports: @@ -38070,6 +38568,7 @@ webhooks: "types": { "ScriptsGetCustomCodeResponse": { "docs": undefined, + "inline": undefined, "properties": { "createdOn": { "docs": "Date when the Site's scripts were created", @@ -38090,6 +38589,7 @@ webhooks: }, "ScriptsGetCustomCodeResponseScriptsItem": { "docs": undefined, + "inline": true, "properties": { "attributes": { "docs": "Developer-specified key/value pairs to be applied as attributes to the script", @@ -38126,6 +38626,7 @@ webhooks: }, "ScriptsUpsertCustomCodeRequestScriptsItem": { "docs": undefined, + "inline": true, "properties": { "attributes": { "docs": "Developer-specified key/value pairs to be applied as attributes to the script", @@ -38162,6 +38663,7 @@ webhooks: }, "ScriptsUpsertCustomCodeResponse": { "docs": undefined, + "inline": undefined, "properties": { "createdOn": { "docs": "Date when the Site's scripts were created", @@ -38182,6 +38684,7 @@ webhooks: }, "ScriptsUpsertCustomCodeResponseScriptsItem": { "docs": undefined, + "inline": true, "properties": { "attributes": { "docs": "Developer-specified key/value pairs to be applied as attributes to the script", @@ -38250,6 +38753,7 @@ webhooks: script source: openapi: ../openapi.yml + inline: true ScriptsGetCustomCodeResponse: properties: scripts: @@ -38294,6 +38798,7 @@ webhooks: script source: openapi: ../openapi.yml + inline: true ScriptsUpsertCustomCodeResponseScriptsItemLocation: enum: - header @@ -38325,6 +38830,7 @@ webhooks: script source: openapi: ../openapi.yml + inline: true ScriptsUpsertCustomCodeResponse: properties: scripts: @@ -39290,6 +39796,7 @@ Required scope | `ecommerce:write` "types": { "ProductsCreateRequestProduct": { "docs": "The Product object", + "inline": true, "properties": { "fieldData": { "docs": "Contains content-specific details for a product, covering both standard (e.g., title, description) and custom fields tailored to the product setup.", @@ -39302,6 +39809,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateRequestProductFieldData": { "docs": "Contains content-specific details for a product, covering both standard (e.g., title, description) and custom fields tailored to the product setup.", + "inline": true, "properties": { "categories": { "docs": "The categories your product belongs to.", @@ -39358,6 +39866,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateRequestProductFieldDataSkuPropertiesItem": { "docs": "A variant/option type for a SKU", + "inline": true, "properties": { "enum": { "docs": "The individual Product variants that are contained within the collection", @@ -39378,6 +39887,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateRequestProductFieldDataSkuPropertiesItemEnumItem": { "docs": "Enumerated Product variants/Options for the SKU", + "inline": true, "properties": { "id": { "docs": "Unique identifier for a Product variant/Option", @@ -39530,6 +40040,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateRequestSku": { "docs": "The SKU object", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -39562,24 +40073,20 @@ Required scope | `ecommerce:write` }, "ProductsCreateRequestSkuFieldData": { "docs": "Standard and Custom fields for a SKU", + "inline": true, "properties": { "compare-at-price": { "docs": "comparison price of SKU", - "inline": true, "type": "optional", }, "ec-sku-billing-method": "optional", - "ec-sku-subscription-plan": { - "inline": true, - "type": "optional", - }, + "ec-sku-subscription-plan": "optional", "name": { "docs": "Name of the Product", "type": "string", }, "price": { "docs": "price of SKU", - "inline": true, "type": "ProductsCreateRequestSkuFieldDataPrice", }, "quantity": { @@ -39607,6 +40114,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateRequestSkuFieldDataCompareAtPrice": { "docs": "comparison price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -39635,6 +40143,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateRequestSkuFieldDataEcSkuSubscriptionPlan": { "docs": undefined, + "inline": true, "properties": { "frequency": { "docs": "Frequncy of billing within interval", @@ -39668,6 +40177,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateRequestSkuFieldDataEcSkuSubscriptionPlanPlansItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier of the plan", @@ -39699,6 +40209,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateRequestSkuFieldDataPrice": { "docs": "price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -39715,10 +40226,10 @@ Required scope | `ecommerce:write` }, "ProductsCreateResponse": { "docs": "A product and its SKUs.", + "inline": undefined, "properties": { "product": { "docs": "The Product object", - "inline": true, "type": "optional", }, "skus": { @@ -39732,6 +40243,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateResponseProduct": { "docs": "The Product object", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -39774,6 +40286,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateResponseProductFieldData": { "docs": "Contains content-specific details for a product, covering both standard (e.g., title, description) and custom fields tailored to the product setup.", + "inline": true, "properties": { "categories": { "docs": "The categories your product belongs to.", @@ -39830,6 +40343,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateResponseProductFieldDataSkuPropertiesItem": { "docs": "A variant/option type for a SKU", + "inline": true, "properties": { "enum": { "docs": "The individual Product variants that are contained within the collection", @@ -39850,6 +40364,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateResponseProductFieldDataSkuPropertiesItemEnumItem": { "docs": "Enumerated Product variants/Options for the SKU", + "inline": true, "properties": { "id": { "docs": "Unique identifier for a Product variant/Option", @@ -39991,6 +40506,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateResponseSkusItem": { "docs": "The SKU object", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -40023,24 +40539,20 @@ Required scope | `ecommerce:write` }, "ProductsCreateResponseSkusItemFieldData": { "docs": "Standard and Custom fields for a SKU", + "inline": true, "properties": { "compare-at-price": { "docs": "comparison price of SKU", - "inline": true, "type": "optional", }, "ec-sku-billing-method": "optional", - "ec-sku-subscription-plan": { - "inline": true, - "type": "optional", - }, + "ec-sku-subscription-plan": "optional", "name": { "docs": "Name of the Product", "type": "string", }, "price": { "docs": "price of SKU", - "inline": true, "type": "ProductsCreateResponseSkusItemFieldDataPrice", }, "quantity": { @@ -40068,6 +40580,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateResponseSkusItemFieldDataCompareAtPrice": { "docs": "comparison price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -40096,6 +40609,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateResponseSkusItemFieldDataEcSkuSubscriptionPlan": { "docs": undefined, + "inline": true, "properties": { "frequency": { "docs": "Frequncy of billing within interval", @@ -40129,6 +40643,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateResponseSkusItemFieldDataEcSkuSubscriptionPlanPlansItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier of the plan", @@ -40160,6 +40675,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateResponseSkusItemFieldDataPrice": { "docs": "price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -40187,6 +40703,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuRequestSkusItem": { "docs": "The SKU object", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -40219,24 +40736,20 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuRequestSkusItemFieldData": { "docs": "Standard and Custom fields for a SKU", + "inline": true, "properties": { "compare-at-price": { "docs": "comparison price of SKU", - "inline": true, "type": "optional", }, "ec-sku-billing-method": "optional", - "ec-sku-subscription-plan": { - "inline": true, - "type": "optional", - }, + "ec-sku-subscription-plan": "optional", "name": { "docs": "Name of the Product", "type": "string", }, "price": { "docs": "price of SKU", - "inline": true, "type": "ProductsCreateSkuRequestSkusItemFieldDataPrice", }, "quantity": { @@ -40264,6 +40777,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuRequestSkusItemFieldDataCompareAtPrice": { "docs": "comparison price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -40292,6 +40806,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuRequestSkusItemFieldDataEcSkuSubscriptionPlan": { "docs": undefined, + "inline": true, "properties": { "frequency": { "docs": "Frequncy of billing within interval", @@ -40325,6 +40840,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuRequestSkusItemFieldDataEcSkuSubscriptionPlanPlansItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier of the plan", @@ -40356,6 +40872,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuRequestSkusItemFieldDataPrice": { "docs": "price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -40372,6 +40889,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuResponse": { "docs": undefined, + "inline": undefined, "properties": { "skus": "optional>", }, @@ -40381,6 +40899,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuResponseSkusItem": { "docs": "The SKU object", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -40413,24 +40932,20 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuResponseSkusItemFieldData": { "docs": "Standard and Custom fields for a SKU", + "inline": true, "properties": { "compare-at-price": { "docs": "comparison price of SKU", - "inline": true, "type": "optional", }, "ec-sku-billing-method": "optional", - "ec-sku-subscription-plan": { - "inline": true, - "type": "optional", - }, + "ec-sku-subscription-plan": "optional", "name": { "docs": "Name of the Product", "type": "string", }, "price": { "docs": "price of SKU", - "inline": true, "type": "ProductsCreateSkuResponseSkusItemFieldDataPrice", }, "quantity": { @@ -40458,6 +40973,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuResponseSkusItemFieldDataCompareAtPrice": { "docs": "comparison price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -40486,6 +41002,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuResponseSkusItemFieldDataEcSkuSubscriptionPlan": { "docs": undefined, + "inline": true, "properties": { "frequency": { "docs": "Frequncy of billing within interval", @@ -40519,6 +41036,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuResponseSkusItemFieldDataEcSkuSubscriptionPlanPlansItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier of the plan", @@ -40550,6 +41068,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuResponseSkusItemFieldDataPrice": { "docs": "price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -40566,10 +41085,10 @@ Required scope | `ecommerce:write` }, "ProductsGetResponse": { "docs": "A product and its SKUs.", + "inline": undefined, "properties": { "product": { "docs": "The Product object", - "inline": true, "type": "optional", }, "skus": { @@ -40583,6 +41102,7 @@ Required scope | `ecommerce:write` }, "ProductsGetResponseProduct": { "docs": "The Product object", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -40625,6 +41145,7 @@ Required scope | `ecommerce:write` }, "ProductsGetResponseProductFieldData": { "docs": "Contains content-specific details for a product, covering both standard (e.g., title, description) and custom fields tailored to the product setup.", + "inline": true, "properties": { "categories": { "docs": "The categories your product belongs to.", @@ -40681,6 +41202,7 @@ Required scope | `ecommerce:write` }, "ProductsGetResponseProductFieldDataSkuPropertiesItem": { "docs": "A variant/option type for a SKU", + "inline": true, "properties": { "enum": { "docs": "The individual Product variants that are contained within the collection", @@ -40701,6 +41223,7 @@ Required scope | `ecommerce:write` }, "ProductsGetResponseProductFieldDataSkuPropertiesItemEnumItem": { "docs": "Enumerated Product variants/Options for the SKU", + "inline": true, "properties": { "id": { "docs": "Unique identifier for a Product variant/Option", @@ -40842,6 +41365,7 @@ Required scope | `ecommerce:write` }, "ProductsGetResponseSkusItem": { "docs": "The SKU object", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -40874,24 +41398,20 @@ Required scope | `ecommerce:write` }, "ProductsGetResponseSkusItemFieldData": { "docs": "Standard and Custom fields for a SKU", + "inline": true, "properties": { "compare-at-price": { "docs": "comparison price of SKU", - "inline": true, "type": "optional", }, "ec-sku-billing-method": "optional", - "ec-sku-subscription-plan": { - "inline": true, - "type": "optional", - }, + "ec-sku-subscription-plan": "optional", "name": { "docs": "Name of the Product", "type": "string", }, "price": { "docs": "price of SKU", - "inline": true, "type": "ProductsGetResponseSkusItemFieldDataPrice", }, "quantity": { @@ -40919,6 +41439,7 @@ Required scope | `ecommerce:write` }, "ProductsGetResponseSkusItemFieldDataCompareAtPrice": { "docs": "comparison price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -40947,6 +41468,7 @@ Required scope | `ecommerce:write` }, "ProductsGetResponseSkusItemFieldDataEcSkuSubscriptionPlan": { "docs": undefined, + "inline": true, "properties": { "frequency": { "docs": "Frequncy of billing within interval", @@ -40980,6 +41502,7 @@ Required scope | `ecommerce:write` }, "ProductsGetResponseSkusItemFieldDataEcSkuSubscriptionPlanPlansItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier of the plan", @@ -41011,6 +41534,7 @@ Required scope | `ecommerce:write` }, "ProductsGetResponseSkusItemFieldDataPrice": { "docs": "price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -41027,6 +41551,7 @@ Required scope | `ecommerce:write` }, "ProductsListResponse": { "docs": "Results from product list", + "inline": undefined, "properties": { "items": { "docs": "List of Item objects within the Collection. Contains product and skus keys for each Item", @@ -41034,7 +41559,6 @@ Required scope | `ecommerce:write` }, "pagination": { "docs": "Pagination object", - "inline": true, "type": "optional", }, }, @@ -41044,10 +41568,10 @@ Required scope | `ecommerce:write` }, "ProductsListResponseItemsItem": { "docs": "A product and its SKUs.", + "inline": true, "properties": { "product": { "docs": "The Product object", - "inline": true, "type": "optional", }, "skus": { @@ -41061,6 +41585,7 @@ Required scope | `ecommerce:write` }, "ProductsListResponseItemsItemProduct": { "docs": "The Product object", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -41103,6 +41628,7 @@ Required scope | `ecommerce:write` }, "ProductsListResponseItemsItemProductFieldData": { "docs": "Contains content-specific details for a product, covering both standard (e.g., title, description) and custom fields tailored to the product setup.", + "inline": true, "properties": { "categories": { "docs": "The categories your product belongs to.", @@ -41159,6 +41685,7 @@ Required scope | `ecommerce:write` }, "ProductsListResponseItemsItemProductFieldDataSkuPropertiesItem": { "docs": "A variant/option type for a SKU", + "inline": true, "properties": { "enum": { "docs": "The individual Product variants that are contained within the collection", @@ -41179,6 +41706,7 @@ Required scope | `ecommerce:write` }, "ProductsListResponseItemsItemProductFieldDataSkuPropertiesItemEnumItem": { "docs": "Enumerated Product variants/Options for the SKU", + "inline": true, "properties": { "id": { "docs": "Unique identifier for a Product variant/Option", @@ -41320,6 +41848,7 @@ Required scope | `ecommerce:write` }, "ProductsListResponseItemsItemSkusItem": { "docs": "The SKU object", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -41352,24 +41881,20 @@ Required scope | `ecommerce:write` }, "ProductsListResponseItemsItemSkusItemFieldData": { "docs": "Standard and Custom fields for a SKU", + "inline": true, "properties": { "compare-at-price": { "docs": "comparison price of SKU", - "inline": true, "type": "optional", }, "ec-sku-billing-method": "optional", - "ec-sku-subscription-plan": { - "inline": true, - "type": "optional", - }, + "ec-sku-subscription-plan": "optional", "name": { "docs": "Name of the Product", "type": "string", }, "price": { "docs": "price of SKU", - "inline": true, "type": "ProductsListResponseItemsItemSkusItemFieldDataPrice", }, "quantity": { @@ -41397,6 +41922,7 @@ Required scope | `ecommerce:write` }, "ProductsListResponseItemsItemSkusItemFieldDataCompareAtPrice": { "docs": "comparison price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -41425,6 +41951,7 @@ Required scope | `ecommerce:write` }, "ProductsListResponseItemsItemSkusItemFieldDataEcSkuSubscriptionPlan": { "docs": undefined, + "inline": true, "properties": { "frequency": { "docs": "Frequncy of billing within interval", @@ -41458,6 +41985,7 @@ Required scope | `ecommerce:write` }, "ProductsListResponseItemsItemSkusItemFieldDataEcSkuSubscriptionPlanPlansItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier of the plan", @@ -41489,6 +42017,7 @@ Required scope | `ecommerce:write` }, "ProductsListResponseItemsItemSkusItemFieldDataPrice": { "docs": "price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -41505,6 +42034,7 @@ Required scope | `ecommerce:write` }, "ProductsListResponsePagination": { "docs": "Pagination object", + "inline": true, "properties": { "limit": { "docs": "The limit used for pagination", @@ -41525,6 +42055,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateRequestProduct": { "docs": "The Product object", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -41567,6 +42098,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateRequestProductFieldData": { "docs": "Contains content-specific details for a product, covering both standard (e.g., title, description) and custom fields tailored to the product setup.", + "inline": true, "properties": { "categories": { "docs": "The categories your product belongs to.", @@ -41623,6 +42155,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateRequestProductFieldDataSkuPropertiesItem": { "docs": "A variant/option type for a SKU", + "inline": true, "properties": { "enum": { "docs": "The individual Product variants that are contained within the collection", @@ -41643,6 +42176,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateRequestProductFieldDataSkuPropertiesItemEnumItem": { "docs": "Enumerated Product variants/Options for the SKU", + "inline": true, "properties": { "id": { "docs": "Unique identifier for a Product variant/Option", @@ -41795,6 +42329,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateRequestSku": { "docs": "The SKU object", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -41827,24 +42362,20 @@ Required scope | `ecommerce:write` }, "ProductsUpdateRequestSkuFieldData": { "docs": "Standard and Custom fields for a SKU", + "inline": true, "properties": { "compare-at-price": { "docs": "comparison price of SKU", - "inline": true, "type": "optional", }, "ec-sku-billing-method": "optional", - "ec-sku-subscription-plan": { - "inline": true, - "type": "optional", - }, + "ec-sku-subscription-plan": "optional", "name": { "docs": "Name of the Product", "type": "string", }, "price": { "docs": "price of SKU", - "inline": true, "type": "ProductsUpdateRequestSkuFieldDataPrice", }, "quantity": { @@ -41872,6 +42403,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateRequestSkuFieldDataCompareAtPrice": { "docs": "comparison price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -41900,6 +42432,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateRequestSkuFieldDataEcSkuSubscriptionPlan": { "docs": undefined, + "inline": true, "properties": { "frequency": { "docs": "Frequncy of billing within interval", @@ -41933,6 +42466,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateRequestSkuFieldDataEcSkuSubscriptionPlanPlansItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier of the plan", @@ -41964,6 +42498,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateRequestSkuFieldDataPrice": { "docs": "price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -41980,6 +42515,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateResponse": { "docs": "The Product object", + "inline": undefined, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -42022,6 +42558,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateResponseFieldData": { "docs": "Contains content-specific details for a product, covering both standard (e.g., title, description) and custom fields tailored to the product setup.", + "inline": true, "properties": { "categories": { "docs": "The categories your product belongs to.", @@ -42078,6 +42615,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateResponseFieldDataSkuPropertiesItem": { "docs": "A variant/option type for a SKU", + "inline": true, "properties": { "enum": { "docs": "The individual Product variants that are contained within the collection", @@ -42098,6 +42636,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateResponseFieldDataSkuPropertiesItemEnumItem": { "docs": "Enumerated Product variants/Options for the SKU", + "inline": true, "properties": { "id": { "docs": "Unique identifier for a Product variant/Option", @@ -42250,6 +42789,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateSkuRequestSku": { "docs": "The SKU object", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -42282,24 +42822,20 @@ Required scope | `ecommerce:write` }, "ProductsUpdateSkuRequestSkuFieldData": { "docs": "Standard and Custom fields for a SKU", + "inline": true, "properties": { "compare-at-price": { "docs": "comparison price of SKU", - "inline": true, "type": "optional", }, "ec-sku-billing-method": "optional", - "ec-sku-subscription-plan": { - "inline": true, - "type": "optional", - }, + "ec-sku-subscription-plan": "optional", "name": { "docs": "Name of the Product", "type": "string", }, "price": { "docs": "price of SKU", - "inline": true, "type": "ProductsUpdateSkuRequestSkuFieldDataPrice", }, "quantity": { @@ -42327,6 +42863,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateSkuRequestSkuFieldDataCompareAtPrice": { "docs": "comparison price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -42355,6 +42892,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateSkuRequestSkuFieldDataEcSkuSubscriptionPlan": { "docs": undefined, + "inline": true, "properties": { "frequency": { "docs": "Frequncy of billing within interval", @@ -42388,6 +42926,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateSkuRequestSkuFieldDataEcSkuSubscriptionPlanPlansItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier of the plan", @@ -42419,6 +42958,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateSkuRequestSkuFieldDataPrice": { "docs": "price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -42435,6 +42975,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateSkuResponse": { "docs": "The SKU object", + "inline": undefined, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -42467,24 +43008,20 @@ Required scope | `ecommerce:write` }, "ProductsUpdateSkuResponseFieldData": { "docs": "Standard and Custom fields for a SKU", + "inline": true, "properties": { "compare-at-price": { "docs": "comparison price of SKU", - "inline": true, "type": "optional", }, "ec-sku-billing-method": "optional", - "ec-sku-subscription-plan": { - "inline": true, - "type": "optional", - }, + "ec-sku-subscription-plan": "optional", "name": { "docs": "Name of the Product", "type": "string", }, "price": { "docs": "price of SKU", - "inline": true, "type": "ProductsUpdateSkuResponseFieldDataPrice", }, "quantity": { @@ -42512,6 +43049,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateSkuResponseFieldDataCompareAtPrice": { "docs": "comparison price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -42540,6 +43078,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateSkuResponseFieldDataEcSkuSubscriptionPlan": { "docs": undefined, + "inline": true, "properties": { "frequency": { "docs": "Frequncy of billing within interval", @@ -42573,6 +43112,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateSkuResponseFieldDataEcSkuSubscriptionPlanPlansItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier of the plan", @@ -42604,6 +43144,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateSkuResponseFieldDataPrice": { "docs": "price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -42635,6 +43176,7 @@ Required scope | `ecommerce:write` docs: Slug for the Product variant/Option in the Site URL structure source: openapi: ../openapi.yml + inline: true ProductsListResponseItemsItemProductFieldDataSkuPropertiesItem: docs: A variant/option type for a SKU properties: @@ -42652,6 +43194,7 @@ Required scope | `ecommerce:write` list source: openapi: ../openapi.yml + inline: true ProductsListResponseItemsItemProductFieldDataTaxCategory: enum: - value: standard-taxable @@ -42767,6 +43310,7 @@ Required scope | `ecommerce:write` Digital, Service, Advanced" source: openapi: ../openapi.yml + inline: true ProductsListResponseItemsItemProduct: docs: The Product object properties: @@ -42801,6 +43345,7 @@ Required scope | `ecommerce:write` product setup. source: openapi: ../openapi.yml + inline: true ProductsListResponseItemsItemSkusItemFieldDataPrice: docs: price of SKU properties: @@ -42812,6 +43357,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsListResponseItemsItemSkusItemFieldDataCompareAtPrice: docs: comparison price of SKU properties: @@ -42823,6 +43369,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsListResponseItemsItemSkusItemFieldDataEcSkuBillingMethod: enum: - value: one-time @@ -42861,6 +43408,7 @@ Required scope | `ecommerce:write` docs: The status of the plan source: openapi: ../openapi.yml + inline: true ProductsListResponseItemsItemSkusItemFieldDataEcSkuSubscriptionPlan: properties: interval: @@ -42877,6 +43425,7 @@ Required scope | `ecommerce:write` optional> source: openapi: ../openapi.yml + inline: true ProductsListResponseItemsItemSkusItemFieldData: docs: Standard and Custom fields for a SKU properties: @@ -42894,17 +43443,13 @@ Required scope | `ecommerce:write` price: type: ProductsListResponseItemsItemSkusItemFieldDataPrice docs: price of SKU - inline: true compare-at-price: type: optional docs: comparison price of SKU - inline: true ec-sku-billing-method: >- optional - ec-sku-subscription-plan: - type: >- - optional - inline: true + ec-sku-subscription-plan: >- + optional track-inventory: type: optional docs: >- @@ -42916,6 +43461,7 @@ Required scope | `ecommerce:write` docs: Quantity of SKU that will be tracked as items are ordered. source: openapi: ../openapi.yml + inline: true ProductsListResponseItemsItemSkusItem: docs: The SKU object properties: @@ -42939,18 +43485,19 @@ Required scope | `ecommerce:write` docs: Standard and Custom fields for a SKU source: openapi: ../openapi.yml + inline: true ProductsListResponseItemsItem: docs: A product and its SKUs. properties: product: type: optional docs: The Product object - inline: true skus: type: optional> docs: A list of SKU Objects source: openapi: ../openapi.yml + inline: true ProductsListResponsePagination: docs: Pagination object properties: @@ -42965,6 +43512,7 @@ Required scope | `ecommerce:write` docs: The total number of records source: openapi: ../openapi.yml + inline: true ProductsListResponse: docs: Results from product list properties: @@ -42976,7 +43524,6 @@ Required scope | `ecommerce:write` pagination: type: optional docs: Pagination object - inline: true source: openapi: ../openapi.yml ProductsCreateRequestPublishStatus: @@ -43001,6 +43548,7 @@ Required scope | `ecommerce:write` docs: Slug for the Product variant/Option in the Site URL structure source: openapi: ../openapi.yml + inline: true ProductsCreateRequestProductFieldDataSkuPropertiesItem: docs: A variant/option type for a SKU properties: @@ -43017,6 +43565,7 @@ Required scope | `ecommerce:write` type: list source: openapi: ../openapi.yml + inline: true ProductsCreateRequestProductFieldDataTaxCategory: enum: - value: standard-taxable @@ -43131,6 +43680,7 @@ Required scope | `ecommerce:write` Digital, Service, Advanced" source: openapi: ../openapi.yml + inline: true ProductsCreateRequestProduct: docs: The Product object properties: @@ -43142,6 +43692,7 @@ Required scope | `ecommerce:write` product setup. source: openapi: ../openapi.yml + inline: true ProductsCreateRequestSkuFieldDataPrice: docs: price of SKU properties: @@ -43153,6 +43704,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsCreateRequestSkuFieldDataCompareAtPrice: docs: comparison price of SKU properties: @@ -43164,6 +43716,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsCreateRequestSkuFieldDataEcSkuBillingMethod: enum: - value: one-time @@ -43202,6 +43755,7 @@ Required scope | `ecommerce:write` docs: The status of the plan source: openapi: ../openapi.yml + inline: true ProductsCreateRequestSkuFieldDataEcSkuSubscriptionPlan: properties: interval: @@ -43218,6 +43772,7 @@ Required scope | `ecommerce:write` optional> source: openapi: ../openapi.yml + inline: true ProductsCreateRequestSkuFieldData: docs: Standard and Custom fields for a SKU properties: @@ -43235,15 +43790,11 @@ Required scope | `ecommerce:write` price: type: ProductsCreateRequestSkuFieldDataPrice docs: price of SKU - inline: true compare-at-price: type: optional docs: comparison price of SKU - inline: true ec-sku-billing-method: optional - ec-sku-subscription-plan: - type: optional - inline: true + ec-sku-subscription-plan: optional track-inventory: type: optional docs: >- @@ -43255,6 +43806,7 @@ Required scope | `ecommerce:write` docs: Quantity of SKU that will be tracked as items are ordered. source: openapi: ../openapi.yml + inline: true ProductsCreateRequestSku: docs: The SKU object properties: @@ -43278,6 +43830,7 @@ Required scope | `ecommerce:write` docs: Standard and Custom fields for a SKU source: openapi: ../openapi.yml + inline: true ProductsCreateResponseProductFieldDataSkuPropertiesItemEnumItem: docs: Enumerated Product variants/Options for the SKU properties: @@ -43292,6 +43845,7 @@ Required scope | `ecommerce:write` docs: Slug for the Product variant/Option in the Site URL structure source: openapi: ../openapi.yml + inline: true ProductsCreateResponseProductFieldDataSkuPropertiesItem: docs: A variant/option type for a SKU properties: @@ -43308,6 +43862,7 @@ Required scope | `ecommerce:write` type: list source: openapi: ../openapi.yml + inline: true ProductsCreateResponseProductFieldDataTaxCategory: enum: - value: standard-taxable @@ -43423,6 +43978,7 @@ Required scope | `ecommerce:write` Digital, Service, Advanced" source: openapi: ../openapi.yml + inline: true ProductsCreateResponseProduct: docs: The Product object properties: @@ -43457,6 +44013,7 @@ Required scope | `ecommerce:write` product setup. source: openapi: ../openapi.yml + inline: true ProductsCreateResponseSkusItemFieldDataPrice: docs: price of SKU properties: @@ -43468,6 +44025,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsCreateResponseSkusItemFieldDataCompareAtPrice: docs: comparison price of SKU properties: @@ -43479,6 +44037,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsCreateResponseSkusItemFieldDataEcSkuBillingMethod: enum: - value: one-time @@ -43517,6 +44076,7 @@ Required scope | `ecommerce:write` docs: The status of the plan source: openapi: ../openapi.yml + inline: true ProductsCreateResponseSkusItemFieldDataEcSkuSubscriptionPlan: properties: interval: @@ -43533,6 +44093,7 @@ Required scope | `ecommerce:write` optional> source: openapi: ../openapi.yml + inline: true ProductsCreateResponseSkusItemFieldData: docs: Standard and Custom fields for a SKU properties: @@ -43550,15 +44111,11 @@ Required scope | `ecommerce:write` price: type: ProductsCreateResponseSkusItemFieldDataPrice docs: price of SKU - inline: true compare-at-price: type: optional docs: comparison price of SKU - inline: true ec-sku-billing-method: optional - ec-sku-subscription-plan: - type: optional - inline: true + ec-sku-subscription-plan: optional track-inventory: type: optional docs: >- @@ -43570,6 +44127,7 @@ Required scope | `ecommerce:write` docs: Quantity of SKU that will be tracked as items are ordered. source: openapi: ../openapi.yml + inline: true ProductsCreateResponseSkusItem: docs: The SKU object properties: @@ -43593,13 +44151,13 @@ Required scope | `ecommerce:write` docs: Standard and Custom fields for a SKU source: openapi: ../openapi.yml + inline: true ProductsCreateResponse: docs: A product and its SKUs. properties: product: type: optional docs: The Product object - inline: true skus: type: optional> docs: A list of SKU Objects @@ -43619,6 +44177,7 @@ Required scope | `ecommerce:write` docs: Slug for the Product variant/Option in the Site URL structure source: openapi: ../openapi.yml + inline: true ProductsGetResponseProductFieldDataSkuPropertiesItem: docs: A variant/option type for a SKU properties: @@ -43635,6 +44194,7 @@ Required scope | `ecommerce:write` type: list source: openapi: ../openapi.yml + inline: true ProductsGetResponseProductFieldDataTaxCategory: enum: - value: standard-taxable @@ -43749,6 +44309,7 @@ Required scope | `ecommerce:write` Digital, Service, Advanced" source: openapi: ../openapi.yml + inline: true ProductsGetResponseProduct: docs: The Product object properties: @@ -43783,6 +44344,7 @@ Required scope | `ecommerce:write` product setup. source: openapi: ../openapi.yml + inline: true ProductsGetResponseSkusItemFieldDataPrice: docs: price of SKU properties: @@ -43794,6 +44356,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsGetResponseSkusItemFieldDataCompareAtPrice: docs: comparison price of SKU properties: @@ -43805,6 +44368,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsGetResponseSkusItemFieldDataEcSkuBillingMethod: enum: - value: one-time @@ -43843,6 +44407,7 @@ Required scope | `ecommerce:write` docs: The status of the plan source: openapi: ../openapi.yml + inline: true ProductsGetResponseSkusItemFieldDataEcSkuSubscriptionPlan: properties: interval: @@ -43859,6 +44424,7 @@ Required scope | `ecommerce:write` optional> source: openapi: ../openapi.yml + inline: true ProductsGetResponseSkusItemFieldData: docs: Standard and Custom fields for a SKU properties: @@ -43876,15 +44442,11 @@ Required scope | `ecommerce:write` price: type: ProductsGetResponseSkusItemFieldDataPrice docs: price of SKU - inline: true compare-at-price: type: optional docs: comparison price of SKU - inline: true ec-sku-billing-method: optional - ec-sku-subscription-plan: - type: optional - inline: true + ec-sku-subscription-plan: optional track-inventory: type: optional docs: >- @@ -43896,6 +44458,7 @@ Required scope | `ecommerce:write` docs: Quantity of SKU that will be tracked as items are ordered. source: openapi: ../openapi.yml + inline: true ProductsGetResponseSkusItem: docs: The SKU object properties: @@ -43919,13 +44482,13 @@ Required scope | `ecommerce:write` docs: Standard and Custom fields for a SKU source: openapi: ../openapi.yml + inline: true ProductsGetResponse: docs: A product and its SKUs. properties: product: type: optional docs: The Product object - inline: true skus: type: optional> docs: A list of SKU Objects @@ -43953,6 +44516,7 @@ Required scope | `ecommerce:write` docs: Slug for the Product variant/Option in the Site URL structure source: openapi: ../openapi.yml + inline: true ProductsUpdateRequestProductFieldDataSkuPropertiesItem: docs: A variant/option type for a SKU properties: @@ -43969,6 +44533,7 @@ Required scope | `ecommerce:write` type: list source: openapi: ../openapi.yml + inline: true ProductsUpdateRequestProductFieldDataTaxCategory: enum: - value: standard-taxable @@ -44083,6 +44648,7 @@ Required scope | `ecommerce:write` Digital, Service, Advanced" source: openapi: ../openapi.yml + inline: true ProductsUpdateRequestProduct: docs: The Product object properties: @@ -44117,6 +44683,7 @@ Required scope | `ecommerce:write` product setup. source: openapi: ../openapi.yml + inline: true ProductsUpdateRequestSkuFieldDataPrice: docs: price of SKU properties: @@ -44128,6 +44695,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsUpdateRequestSkuFieldDataCompareAtPrice: docs: comparison price of SKU properties: @@ -44139,6 +44707,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsUpdateRequestSkuFieldDataEcSkuBillingMethod: enum: - value: one-time @@ -44177,6 +44746,7 @@ Required scope | `ecommerce:write` docs: The status of the plan source: openapi: ../openapi.yml + inline: true ProductsUpdateRequestSkuFieldDataEcSkuSubscriptionPlan: properties: interval: @@ -44193,6 +44763,7 @@ Required scope | `ecommerce:write` optional> source: openapi: ../openapi.yml + inline: true ProductsUpdateRequestSkuFieldData: docs: Standard and Custom fields for a SKU properties: @@ -44210,15 +44781,11 @@ Required scope | `ecommerce:write` price: type: ProductsUpdateRequestSkuFieldDataPrice docs: price of SKU - inline: true compare-at-price: type: optional docs: comparison price of SKU - inline: true ec-sku-billing-method: optional - ec-sku-subscription-plan: - type: optional - inline: true + ec-sku-subscription-plan: optional track-inventory: type: optional docs: >- @@ -44230,6 +44797,7 @@ Required scope | `ecommerce:write` docs: Quantity of SKU that will be tracked as items are ordered. source: openapi: ../openapi.yml + inline: true ProductsUpdateRequestSku: docs: The SKU object properties: @@ -44253,6 +44821,7 @@ Required scope | `ecommerce:write` docs: Standard and Custom fields for a SKU source: openapi: ../openapi.yml + inline: true ProductsUpdateResponseFieldDataSkuPropertiesItemEnumItem: docs: Enumerated Product variants/Options for the SKU properties: @@ -44267,6 +44836,7 @@ Required scope | `ecommerce:write` docs: Slug for the Product variant/Option in the Site URL structure source: openapi: ../openapi.yml + inline: true ProductsUpdateResponseFieldDataSkuPropertiesItem: docs: A variant/option type for a SKU properties: @@ -44283,6 +44853,7 @@ Required scope | `ecommerce:write` type: list source: openapi: ../openapi.yml + inline: true ProductsUpdateResponseFieldDataTaxCategory: enum: - value: standard-taxable @@ -44397,6 +44968,7 @@ Required scope | `ecommerce:write` Digital, Service, Advanced" source: openapi: ../openapi.yml + inline: true ProductsUpdateResponse: docs: The Product object properties: @@ -44450,6 +45022,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsCreateSkuRequestSkusItemFieldDataCompareAtPrice: docs: comparison price of SKU properties: @@ -44461,6 +45034,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsCreateSkuRequestSkusItemFieldDataEcSkuBillingMethod: enum: - value: one-time @@ -44499,6 +45073,7 @@ Required scope | `ecommerce:write` docs: The status of the plan source: openapi: ../openapi.yml + inline: true ProductsCreateSkuRequestSkusItemFieldDataEcSkuSubscriptionPlan: properties: interval: @@ -44515,6 +45090,7 @@ Required scope | `ecommerce:write` optional> source: openapi: ../openapi.yml + inline: true ProductsCreateSkuRequestSkusItemFieldData: docs: Standard and Custom fields for a SKU properties: @@ -44532,16 +45108,11 @@ Required scope | `ecommerce:write` price: type: ProductsCreateSkuRequestSkusItemFieldDataPrice docs: price of SKU - inline: true compare-at-price: type: optional docs: comparison price of SKU - inline: true ec-sku-billing-method: optional - ec-sku-subscription-plan: - type: >- - optional - inline: true + ec-sku-subscription-plan: optional track-inventory: type: optional docs: >- @@ -44553,6 +45124,7 @@ Required scope | `ecommerce:write` docs: Quantity of SKU that will be tracked as items are ordered. source: openapi: ../openapi.yml + inline: true ProductsCreateSkuRequestSkusItem: docs: The SKU object properties: @@ -44576,6 +45148,7 @@ Required scope | `ecommerce:write` docs: Standard and Custom fields for a SKU source: openapi: ../openapi.yml + inline: true ProductsCreateSkuResponseSkusItemFieldDataPrice: docs: price of SKU properties: @@ -44587,6 +45160,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsCreateSkuResponseSkusItemFieldDataCompareAtPrice: docs: comparison price of SKU properties: @@ -44598,6 +45172,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsCreateSkuResponseSkusItemFieldDataEcSkuBillingMethod: enum: - value: one-time @@ -44636,6 +45211,7 @@ Required scope | `ecommerce:write` docs: The status of the plan source: openapi: ../openapi.yml + inline: true ProductsCreateSkuResponseSkusItemFieldDataEcSkuSubscriptionPlan: properties: interval: @@ -44652,6 +45228,7 @@ Required scope | `ecommerce:write` optional> source: openapi: ../openapi.yml + inline: true ProductsCreateSkuResponseSkusItemFieldData: docs: Standard and Custom fields for a SKU properties: @@ -44669,16 +45246,12 @@ Required scope | `ecommerce:write` price: type: ProductsCreateSkuResponseSkusItemFieldDataPrice docs: price of SKU - inline: true compare-at-price: type: optional docs: comparison price of SKU - inline: true ec-sku-billing-method: optional - ec-sku-subscription-plan: - type: >- - optional - inline: true + ec-sku-subscription-plan: >- + optional track-inventory: type: optional docs: >- @@ -44690,6 +45263,7 @@ Required scope | `ecommerce:write` docs: Quantity of SKU that will be tracked as items are ordered. source: openapi: ../openapi.yml + inline: true ProductsCreateSkuResponseSkusItem: docs: The SKU object properties: @@ -44713,6 +45287,7 @@ Required scope | `ecommerce:write` docs: Standard and Custom fields for a SKU source: openapi: ../openapi.yml + inline: true ProductsCreateSkuResponse: properties: skus: optional> @@ -44737,6 +45312,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsUpdateSkuRequestSkuFieldDataCompareAtPrice: docs: comparison price of SKU properties: @@ -44748,6 +45324,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsUpdateSkuRequestSkuFieldDataEcSkuBillingMethod: enum: - value: one-time @@ -44786,6 +45363,7 @@ Required scope | `ecommerce:write` docs: The status of the plan source: openapi: ../openapi.yml + inline: true ProductsUpdateSkuRequestSkuFieldDataEcSkuSubscriptionPlan: properties: interval: @@ -44802,6 +45380,7 @@ Required scope | `ecommerce:write` optional> source: openapi: ../openapi.yml + inline: true ProductsUpdateSkuRequestSkuFieldData: docs: Standard and Custom fields for a SKU properties: @@ -44819,15 +45398,11 @@ Required scope | `ecommerce:write` price: type: ProductsUpdateSkuRequestSkuFieldDataPrice docs: price of SKU - inline: true compare-at-price: type: optional docs: comparison price of SKU - inline: true ec-sku-billing-method: optional - ec-sku-subscription-plan: - type: optional - inline: true + ec-sku-subscription-plan: optional track-inventory: type: optional docs: >- @@ -44839,6 +45414,7 @@ Required scope | `ecommerce:write` docs: Quantity of SKU that will be tracked as items are ordered. source: openapi: ../openapi.yml + inline: true ProductsUpdateSkuRequestSku: docs: The SKU object properties: @@ -44862,6 +45438,7 @@ Required scope | `ecommerce:write` docs: Standard and Custom fields for a SKU source: openapi: ../openapi.yml + inline: true ProductsUpdateSkuResponseFieldDataPrice: docs: price of SKU properties: @@ -44873,6 +45450,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsUpdateSkuResponseFieldDataCompareAtPrice: docs: comparison price of SKU properties: @@ -44884,6 +45462,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsUpdateSkuResponseFieldDataEcSkuBillingMethod: enum: - value: one-time @@ -44922,6 +45501,7 @@ Required scope | `ecommerce:write` docs: The status of the plan source: openapi: ../openapi.yml + inline: true ProductsUpdateSkuResponseFieldDataEcSkuSubscriptionPlan: properties: interval: @@ -44938,6 +45518,7 @@ Required scope | `ecommerce:write` optional> source: openapi: ../openapi.yml + inline: true ProductsUpdateSkuResponseFieldData: docs: Standard and Custom fields for a SKU properties: @@ -44955,15 +45536,11 @@ Required scope | `ecommerce:write` price: type: ProductsUpdateSkuResponseFieldDataPrice docs: price of SKU - inline: true compare-at-price: type: optional docs: comparison price of SKU - inline: true ec-sku-billing-method: optional - ec-sku-subscription-plan: - type: optional - inline: true + ec-sku-subscription-plan: optional track-inventory: type: optional docs: >- @@ -44975,6 +45552,7 @@ Required scope | `ecommerce:write` docs: Quantity of SKU that will be tracked as items are ordered. source: openapi: ../openapi.yml + inline: true ProductsUpdateSkuResponse: docs: The SKU object properties: @@ -45868,6 +46446,7 @@ service: "types": { "ScriptsListResponse": { "docs": "A list of scripts registered to the site", + "inline": undefined, "properties": { "registeredScripts": "optional>", }, @@ -45877,6 +46456,7 @@ service: }, "ScriptsListResponseRegisteredScriptsItem": { "docs": "Registered custom code for application", + "inline": true, "properties": { "canCopy": { "default": false, @@ -45918,6 +46498,7 @@ service: }, "ScriptsRegisterHostedResponse": { "docs": "Registered custom code for application", + "inline": undefined, "properties": { "canCopy": { "default": false, @@ -45959,6 +46540,7 @@ service: }, "ScriptsRegisterInlineResponse": { "docs": "Registered custom code for application", + "inline": undefined, "properties": { "canCopy": { "default": false, @@ -46037,6 +46619,7 @@ service: docs: A Semantic Version (SemVer) string, denoting the version of the script source: openapi: ../openapi.yml + inline: true ScriptsListResponse: docs: A list of scripts registered to the site properties: @@ -46718,10 +47301,10 @@ service: "types": { "SitePublishPayload": { "docs": "The Webhook payload for when a Site is published", + "inline": undefined, "properties": { "payload": { "docs": "The payload of data sent from Webflow", - "inline": true, "type": "optional", }, "triggerType": { @@ -46735,6 +47318,7 @@ service: }, "SitePublishPayloadPayload": { "docs": "The payload of data sent from Webflow", + "inline": true, "properties": { "domains": { "docs": "The domains that were published", @@ -46759,6 +47343,7 @@ service: }, "SitesGetCustomDomainResponse": { "docs": undefined, + "inline": undefined, "properties": { "customDomains": "optional>", }, @@ -46768,6 +47353,7 @@ service: }, "SitesGetCustomDomainResponseCustomDomainsItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "Unique identifier for the Domain", @@ -46784,6 +47370,7 @@ service: }, "SitesGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "createdOn": { "docs": "Date the Site was created", @@ -46806,10 +47393,7 @@ service: "docs": "Date the Site was last updated", "type": "optional", }, - "locales": { - "inline": true, - "type": "optional", - }, + "locales": "optional", "parentFolderId": { "docs": "The ID of the parent folder the Site exists in", "type": "optional", @@ -46843,6 +47427,7 @@ service: }, "SitesGetResponseCustomDomainsItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "Unique identifier for the Domain", @@ -46859,10 +47444,10 @@ service: }, "SitesGetResponseLocales": { "docs": undefined, + "inline": true, "properties": { "primary": { "docs": "The primary locale for the site or application.", - "inline": true, "type": "optional", }, "secondary": { @@ -46876,6 +47461,7 @@ service: }, "SitesGetResponseLocalesPrimary": { "docs": "The primary locale for the site or application.", + "inline": true, "properties": { "cmsLocaleId": { "docs": "A CMS-specific identifier for the locale.", @@ -46916,6 +47502,7 @@ service: }, "SitesGetResponseLocalesSecondaryItem": { "docs": undefined, + "inline": true, "properties": { "cmsLocaleId": { "docs": "A CMS-specific identifier for the locale.", @@ -46956,6 +47543,7 @@ service: }, "SitesListResponse": { "docs": undefined, + "inline": undefined, "properties": { "sites": "optional>", }, @@ -46965,6 +47553,7 @@ service: }, "SitesListResponseSitesItem": { "docs": undefined, + "inline": true, "properties": { "createdOn": { "docs": "Date the Site was created", @@ -46987,10 +47576,7 @@ service: "docs": "Date the Site was last updated", "type": "optional", }, - "locales": { - "inline": true, - "type": "optional", - }, + "locales": "optional", "parentFolderId": { "docs": "The ID of the parent folder the Site exists in", "type": "optional", @@ -47024,6 +47610,7 @@ service: }, "SitesListResponseSitesItemCustomDomainsItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "Unique identifier for the Domain", @@ -47040,10 +47627,10 @@ service: }, "SitesListResponseSitesItemLocales": { "docs": undefined, + "inline": true, "properties": { "primary": { "docs": "The primary locale for the site or application.", - "inline": true, "type": "optional", }, "secondary": { @@ -47057,6 +47644,7 @@ service: }, "SitesListResponseSitesItemLocalesPrimary": { "docs": "The primary locale for the site or application.", + "inline": true, "properties": { "cmsLocaleId": { "docs": "A CMS-specific identifier for the locale.", @@ -47097,6 +47685,7 @@ service: }, "SitesListResponseSitesItemLocalesSecondaryItem": { "docs": undefined, + "inline": true, "properties": { "cmsLocaleId": { "docs": "A CMS-specific identifier for the locale.", @@ -47137,6 +47726,7 @@ service: }, "SitesPublishResponse": { "docs": undefined, + "inline": undefined, "properties": { "customDomains": { "docs": "Array of domains objects", @@ -47154,6 +47744,7 @@ service: }, "SitesPublishResponseCustomDomainsItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "Unique identifier for the Domain", @@ -47211,6 +47802,7 @@ service: docs: The registered Domain name source: openapi: ../openapi.yml + inline: true SitesListResponseSitesItemLocalesPrimary: docs: The primary locale for the site or application. properties: @@ -47242,6 +47834,7 @@ service: format like 'en-US'. source: openapi: ../openapi.yml + inline: true SitesListResponseSitesItemLocalesSecondaryItem: properties: id: @@ -47272,17 +47865,18 @@ service: format like 'en-US'. source: openapi: ../openapi.yml + inline: true SitesListResponseSitesItemLocales: properties: primary: type: optional docs: The primary locale for the site or application. - inline: true secondary: type: optional> docs: A list of secondary locales available for the site or application. source: openapi: ../openapi.yml + inline: true SitesListResponseSitesItem: properties: id: @@ -47318,11 +47912,10 @@ service: type: optional docs: The ID of the parent folder the Site exists in customDomains: optional> - locales: - type: optional - inline: true + locales: optional source: openapi: ../openapi.yml + inline: true SitesListResponse: properties: sites: optional> @@ -47338,6 +47931,7 @@ service: docs: The registered Domain name source: openapi: ../openapi.yml + inline: true SitesGetResponseLocalesPrimary: docs: The primary locale for the site or application. properties: @@ -47369,6 +47963,7 @@ service: format like 'en-US'. source: openapi: ../openapi.yml + inline: true SitesGetResponseLocalesSecondaryItem: properties: id: @@ -47399,17 +47994,18 @@ service: format like 'en-US'. source: openapi: ../openapi.yml + inline: true SitesGetResponseLocales: properties: primary: type: optional docs: The primary locale for the site or application. - inline: true secondary: type: optional> docs: A list of secondary locales available for the site or application. source: openapi: ../openapi.yml + inline: true SitesGetResponse: properties: id: @@ -47445,9 +48041,7 @@ service: type: optional docs: The ID of the parent folder the Site exists in customDomains: optional> - locales: - type: optional - inline: true + locales: optional source: openapi: ../openapi.yml SitesGetCustomDomainResponseCustomDomainsItem: @@ -47460,6 +48054,7 @@ service: docs: The registered Domain name source: openapi: ../openapi.yml + inline: true SitesGetCustomDomainResponse: properties: customDomains: optional> @@ -47475,6 +48070,7 @@ service: docs: The registered Domain name source: openapi: ../openapi.yml + inline: true SitesPublishResponse: properties: customDomains: @@ -47503,6 +48099,7 @@ service: docs: The name and id of the user who published the site source: openapi: ../openapi.yml + inline: true SitePublishPayload: docs: The Webhook payload for when a Site is published properties: @@ -47512,7 +48109,6 @@ service: payload: type: optional docs: The payload of data sent from Webflow - inline: true source: openapi: ../openapi.yml imports: @@ -47901,11 +48497,11 @@ webhooks: "types": { "ActivityLogsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "items": "optional>", "pagination": { "docs": "Pagination object", - "inline": true, "type": "optional", }, }, @@ -47915,6 +48511,7 @@ webhooks: }, "ActivityLogsListResponseItemsItem": { "docs": undefined, + "inline": true, "properties": { "createdOn": "optional", "event": "optional", @@ -47926,10 +48523,7 @@ webhooks: "resourceId": "optional", "resourceName": "optional", "resourceOperation": "optional", - "user": { - "inline": true, - "type": "optional", - }, + "user": "optional", }, "source": { "openapi": "../openapi.yml", @@ -47949,6 +48543,7 @@ webhooks: }, "ActivityLogsListResponseItemsItemUser": { "docs": undefined, + "inline": true, "properties": { "displayName": "optional", "id": "optional", @@ -47959,6 +48554,7 @@ webhooks: }, "ActivityLogsListResponsePagination": { "docs": "Pagination object", + "inline": true, "properties": { "limit": { "docs": "The limit used for pagination", @@ -47995,6 +48591,7 @@ webhooks: displayName: optional source: openapi: ../openapi.yml + inline: true ActivityLogsListResponseItemsItem: properties: id: optional @@ -48002,9 +48599,7 @@ webhooks: lastUpdated: optional event: optional resourceOperation: optional - user: - type: optional - inline: true + user: optional resourceId: optional resourceName: optional newValue: optional @@ -48012,6 +48607,7 @@ webhooks: payload: optional> source: openapi: ../openapi.yml + inline: true ActivityLogsListResponsePagination: docs: Pagination object properties: @@ -48026,13 +48622,13 @@ webhooks: docs: The total number of records source: openapi: ../openapi.yml + inline: true ActivityLogsListResponse: properties: items: optional> pagination: type: optional docs: Pagination object - inline: true source: openapi: ../openapi.yml imports: @@ -48406,6 +49002,7 @@ service: "types": { "ScriptsGetCustomCodeResponse": { "docs": undefined, + "inline": undefined, "properties": { "createdOn": { "docs": "Date when the Site's scripts were created", @@ -48426,6 +49023,7 @@ service: }, "ScriptsGetCustomCodeResponseScriptsItem": { "docs": undefined, + "inline": true, "properties": { "attributes": { "docs": "Developer-specified key/value pairs to be applied as attributes to the script", @@ -48462,11 +49060,11 @@ service: }, "ScriptsListCustomCodeBlocksResponse": { "docs": "Custom Code Blocks corresponding to where scripts were applied", + "inline": undefined, "properties": { "blocks": "optional>", "pagination": { "docs": "Pagination object", - "inline": true, "type": "optional", }, }, @@ -48476,6 +49074,7 @@ service: }, "ScriptsListCustomCodeBlocksResponseBlocksItem": { "docs": "A specific instance of Custom Code applied to a Site or Page", + "inline": true, "properties": { "createdOn": { "docs": "The date the Block was created", @@ -48508,6 +49107,7 @@ service: }, "ScriptsListCustomCodeBlocksResponseBlocksItemScriptsItem": { "docs": undefined, + "inline": true, "properties": { "attributes": { "docs": "Developer-specified key/value pairs to be applied as attributes to the script", @@ -48554,6 +49154,7 @@ service: }, "ScriptsListCustomCodeBlocksResponsePagination": { "docs": "Pagination object", + "inline": true, "properties": { "limit": { "docs": "The limit used for pagination", @@ -48574,6 +49175,7 @@ service: }, "ScriptsUpsertCustomCodeRequestScriptsItem": { "docs": undefined, + "inline": true, "properties": { "attributes": { "docs": "Developer-specified key/value pairs to be applied as attributes to the script", @@ -48610,6 +49212,7 @@ service: }, "ScriptsUpsertCustomCodeResponse": { "docs": undefined, + "inline": undefined, "properties": { "createdOn": { "docs": "Date when the Site's scripts were created", @@ -48630,6 +49233,7 @@ service: }, "ScriptsUpsertCustomCodeResponseScriptsItem": { "docs": undefined, + "inline": true, "properties": { "attributes": { "docs": "Developer-specified key/value pairs to be applied as attributes to the script", @@ -48698,6 +49302,7 @@ service: script source: openapi: ../openapi.yml + inline: true ScriptsGetCustomCodeResponse: properties: scripts: @@ -48742,6 +49347,7 @@ service: script source: openapi: ../openapi.yml + inline: true ScriptsUpsertCustomCodeResponseScriptsItemLocation: enum: - header @@ -48773,6 +49379,7 @@ service: script source: openapi: ../openapi.yml + inline: true ScriptsUpsertCustomCodeResponse: properties: scripts: @@ -48824,6 +49431,7 @@ service: script source: openapi: ../openapi.yml + inline: true ScriptsListCustomCodeBlocksResponseBlocksItem: docs: A specific instance of Custom Code applied to a Site or Page properties: @@ -48850,6 +49458,7 @@ service: docs: The date the Block was most recently updated source: openapi: ../openapi.yml + inline: true ScriptsListCustomCodeBlocksResponsePagination: docs: Pagination object properties: @@ -48864,6 +49473,7 @@ service: docs: The total number of records source: openapi: ../openapi.yml + inline: true ScriptsListCustomCodeBlocksResponse: docs: Custom Code Blocks corresponding to where scripts were applied properties: @@ -48871,7 +49481,6 @@ service: pagination: type: optional docs: Pagination object - inline: true source: openapi: ../openapi.yml imports: @@ -49194,6 +49803,7 @@ service: "types": { "TokenAuthorizedByResponse": { "docs": undefined, + "inline": undefined, "properties": { "email": { "docs": "The user's email address", @@ -49224,11 +49834,11 @@ service: }, "TokenIntrospectResponse": { "docs": undefined, + "inline": undefined, "properties": { "application": "optional", "authorization": { "docs": "The Authorization object", - "inline": true, "type": "optional", }, }, @@ -49238,11 +49848,9 @@ service: }, "TokenIntrospectResponseAuthorization": { "docs": "The Authorization object", + "inline": true, "properties": { - "authorizedTo": { - "inline": true, - "type": "optional", - }, + "authorizedTo": "optional", "createdOn": { "docs": "The date the Authorization was created", "type": "optional", @@ -49274,6 +49882,7 @@ service: }, "TokenIntrospectResponseAuthorizationAuthorizedTo": { "docs": undefined, + "inline": true, "properties": { "siteIds": { "docs": "Array of Sites this app is authorized to", @@ -49326,6 +49935,7 @@ service: docs: Array of Users this app is authorized to source: openapi: ../openapi.yml + inline: true TokenIntrospectResponseAuthorization: docs: The Authorization object properties: @@ -49347,17 +49957,15 @@ service: scope: type: optional docs: Comma separted list of OAuth scopes corresponding to the Authorization - authorizedTo: - type: optional - inline: true + authorizedTo: optional source: openapi: ../openapi.yml + inline: true TokenIntrospectResponse: properties: authorization: type: optional docs: The Authorization object - inline: true application: optional source: openapi: ../openapi.yml @@ -49892,6 +50500,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) "types": { "UserAccountAddedPayload": { "docs": undefined, + "inline": undefined, "properties": { "payload": { "docs": "The fields that define the schema for a given Item are based on the Collection that Item belongs to. Beyond the user defined fields, there are a handful of additional fields that are automatically created for all items @@ -49910,6 +50519,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) "UserAccountAddedPayloadPayload": { "docs": "The fields that define the schema for a given Item are based on the Collection that Item belongs to. Beyond the user defined fields, there are a handful of additional fields that are automatically created for all items ", + "inline": true, "properties": { "accessGroups": { "docs": "Access groups the user belongs to", @@ -49921,7 +50531,6 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "data": { "docs": "An object containing the User's basic info and custom fields", - "inline": true, "type": "optional", }, "id": { @@ -49955,6 +50564,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UserAccountAddedPayloadPayloadAccessGroupsItem": { "docs": "Access group slugs and types", + "inline": true, "properties": { "slug": { "docs": "Access group identifier for APIs", @@ -49987,11 +50597,9 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UserAccountAddedPayloadPayloadData": { "docs": "An object containing the User's basic info and custom fields", + "inline": true, "properties": { - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", }, "source": { "openapi": "../openapi.yml", @@ -49999,6 +50607,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UserAccountAddedPayloadPayloadDataData": { "docs": undefined, + "inline": true, "properties": { "accept-communications": { "docs": "Boolean indicating if the user has accepted to receive communications @@ -50053,6 +50662,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UserAccountDeletedPayload": { "docs": undefined, + "inline": undefined, "properties": { "payload": { "docs": "The fields that define the schema for a given Item are based on the Collection that Item belongs to. Beyond the user defined fields, there are a handful of additional fields that are automatically created for all items @@ -50071,6 +50681,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) "UserAccountDeletedPayloadPayload": { "docs": "The fields that define the schema for a given Item are based on the Collection that Item belongs to. Beyond the user defined fields, there are a handful of additional fields that are automatically created for all items ", + "inline": true, "properties": { "accessGroups": { "docs": "Access groups the user belongs to", @@ -50082,7 +50693,6 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "data": { "docs": "An object containing the User's basic info and custom fields", - "inline": true, "type": "optional", }, "id": { @@ -50116,6 +50726,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UserAccountDeletedPayloadPayloadAccessGroupsItem": { "docs": "Access group slugs and types", + "inline": true, "properties": { "slug": { "docs": "Access group identifier for APIs", @@ -50148,11 +50759,9 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UserAccountDeletedPayloadPayloadData": { "docs": "An object containing the User's basic info and custom fields", + "inline": true, "properties": { - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", }, "source": { "openapi": "../openapi.yml", @@ -50160,6 +50769,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UserAccountDeletedPayloadPayloadDataData": { "docs": undefined, + "inline": true, "properties": { "accept-communications": { "docs": "Boolean indicating if the user has accepted to receive communications @@ -50214,6 +50824,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UserAccountUpdatedPayload": { "docs": undefined, + "inline": undefined, "properties": { "payload": { "docs": "The fields that define the schema for a given Item are based on the Collection that Item belongs to. Beyond the user defined fields, there are a handful of additional fields that are automatically created for all items @@ -50232,6 +50843,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) "UserAccountUpdatedPayloadPayload": { "docs": "The fields that define the schema for a given Item are based on the Collection that Item belongs to. Beyond the user defined fields, there are a handful of additional fields that are automatically created for all items ", + "inline": true, "properties": { "accessGroups": { "docs": "Access groups the user belongs to", @@ -50243,7 +50855,6 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "data": { "docs": "An object containing the User's basic info and custom fields", - "inline": true, "type": "optional", }, "id": { @@ -50277,6 +50888,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UserAccountUpdatedPayloadPayloadAccessGroupsItem": { "docs": "Access group slugs and types", + "inline": true, "properties": { "slug": { "docs": "Access group identifier for APIs", @@ -50309,11 +50921,9 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UserAccountUpdatedPayloadPayloadData": { "docs": "An object containing the User's basic info and custom fields", + "inline": true, "properties": { - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", }, "source": { "openapi": "../openapi.yml", @@ -50321,6 +50931,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UserAccountUpdatedPayloadPayloadDataData": { "docs": undefined, + "inline": true, "properties": { "accept-communications": { "docs": "Boolean indicating if the user has accepted to receive communications @@ -50376,6 +50987,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) "UsersGetResponse": { "docs": "The fields that define the schema for a given Item are based on the Collection that Item belongs to. Beyond the user defined fields, there are a handful of additional fields that are automatically created for all items ", + "inline": undefined, "properties": { "accessGroups": { "docs": "Access groups the user belongs to", @@ -50387,7 +50999,6 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "data": { "docs": "An object containing the User's basic info and custom fields", - "inline": true, "type": "optional", }, "id": { @@ -50421,6 +51032,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UsersGetResponseAccessGroupsItem": { "docs": "Access group slugs and types", + "inline": true, "properties": { "slug": { "docs": "Access group identifier for APIs", @@ -50453,11 +51065,9 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UsersGetResponseData": { "docs": "An object containing the User's basic info and custom fields", + "inline": true, "properties": { - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", }, "source": { "openapi": "../openapi.yml", @@ -50465,6 +51075,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UsersGetResponseDataData": { "docs": undefined, + "inline": true, "properties": { "accept-communications": { "docs": "Boolean indicating if the user has accepted to receive communications @@ -50509,6 +51120,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) "UsersInviteResponse": { "docs": "The fields that define the schema for a given Item are based on the Collection that Item belongs to. Beyond the user defined fields, there are a handful of additional fields that are automatically created for all items ", + "inline": undefined, "properties": { "accessGroups": { "docs": "Access groups the user belongs to", @@ -50520,7 +51132,6 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "data": { "docs": "An object containing the User's basic info and custom fields", - "inline": true, "type": "optional", }, "id": { @@ -50554,6 +51165,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UsersInviteResponseAccessGroupsItem": { "docs": "Access group slugs and types", + "inline": true, "properties": { "slug": { "docs": "Access group identifier for APIs", @@ -50586,11 +51198,9 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UsersInviteResponseData": { "docs": "An object containing the User's basic info and custom fields", + "inline": true, "properties": { - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", }, "source": { "openapi": "../openapi.yml", @@ -50598,6 +51208,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UsersInviteResponseDataData": { "docs": undefined, + "inline": true, "properties": { "accept-communications": { "docs": "Boolean indicating if the user has accepted to receive communications @@ -50698,6 +51309,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UsersListResponse": { "docs": "The list users results", + "inline": undefined, "properties": { "count": { "docs": "Number of users returned", @@ -50729,6 +51341,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) "UsersListResponseUsersItem": { "docs": "The fields that define the schema for a given Item are based on the Collection that Item belongs to. Beyond the user defined fields, there are a handful of additional fields that are automatically created for all items ", + "inline": true, "properties": { "accessGroups": { "docs": "Access groups the user belongs to", @@ -50740,7 +51353,6 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "data": { "docs": "An object containing the User's basic info and custom fields", - "inline": true, "type": "optional", }, "id": { @@ -50774,6 +51386,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UsersListResponseUsersItemAccessGroupsItem": { "docs": "Access group slugs and types", + "inline": true, "properties": { "slug": { "docs": "Access group identifier for APIs", @@ -50806,11 +51419,9 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UsersListResponseUsersItemData": { "docs": "An object containing the User's basic info and custom fields", + "inline": true, "properties": { - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", }, "source": { "openapi": "../openapi.yml", @@ -50818,6 +51429,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UsersListResponseUsersItemDataData": { "docs": undefined, + "inline": true, "properties": { "accept-communications": { "docs": "Boolean indicating if the user has accepted to receive communications @@ -50861,6 +51473,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UsersUpdateRequestData": { "docs": undefined, + "inline": true, "properties": { "accept-communications": { "docs": "Boolean indicating if the user has accepted to receive communications @@ -50885,6 +51498,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) "UsersUpdateResponse": { "docs": "The fields that define the schema for a given Item are based on the Collection that Item belongs to. Beyond the user defined fields, there are a handful of additional fields that are automatically created for all items ", + "inline": undefined, "properties": { "accessGroups": { "docs": "Access groups the user belongs to", @@ -50896,7 +51510,6 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "data": { "docs": "An object containing the User's basic info and custom fields", - "inline": true, "type": "optional", }, "id": { @@ -50930,6 +51543,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UsersUpdateResponseAccessGroupsItem": { "docs": "Access group slugs and types", + "inline": true, "properties": { "slug": { "docs": "Access group identifier for APIs", @@ -50962,11 +51576,9 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UsersUpdateResponseData": { "docs": "An object containing the User's basic info and custom fields", + "inline": true, "properties": { - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", }, "source": { "openapi": "../openapi.yml", @@ -50974,6 +51586,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UsersUpdateResponseDataData": { "docs": undefined, + "inline": true, "properties": { "accept-communications": { "docs": "Boolean indicating if the user has accepted to receive communications @@ -51173,6 +51786,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) * `ecommerce` - Assigned to the user via an ecommerce purchase source: openapi: ../openapi.yml + inline: true UsersListResponseUsersItemDataData: properties: name: @@ -51196,14 +51810,14 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) docs: Custom user attributes source: openapi: ../openapi.yml + inline: true UsersListResponseUsersItemData: docs: An object containing the User's basic info and custom fields properties: - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml + inline: true UsersListResponseUsersItem: docs: > The fields that define the schema for a given Item are based on the @@ -51238,9 +51852,9 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) data: type: optional docs: An object containing the User's basic info and custom fields - inline: true source: openapi: ../openapi.yml + inline: true UsersListResponse: docs: The list users results properties: @@ -51295,6 +51909,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) * `ecommerce` - Assigned to the user via an ecommerce purchase source: openapi: ../openapi.yml + inline: true UsersGetResponseDataData: properties: name: @@ -51318,14 +51933,14 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) docs: Custom user attributes source: openapi: ../openapi.yml + inline: true UsersGetResponseData: docs: An object containing the User's basic info and custom fields properties: - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml + inline: true UsersGetResponse: docs: > The fields that define the schema for a given Item are based on the @@ -51360,7 +51975,6 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) data: type: optional docs: An object containing the User's basic info and custom fields - inline: true source: openapi: ../openapi.yml UsersUpdateRequestData: @@ -51379,6 +51993,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) Boolean indicating if the user has accepted to receive communications source: openapi: ../openapi.yml + inline: true UsersUpdateResponseStatus: enum: - invited @@ -51411,6 +52026,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) * `ecommerce` - Assigned to the user via an ecommerce purchase source: openapi: ../openapi.yml + inline: true UsersUpdateResponseDataData: properties: name: @@ -51434,14 +52050,14 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) docs: Custom user attributes source: openapi: ../openapi.yml + inline: true UsersUpdateResponseData: docs: An object containing the User's basic info and custom fields properties: - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml + inline: true UsersUpdateResponse: docs: > The fields that define the schema for a given Item are based on the @@ -51476,7 +52092,6 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) data: type: optional docs: An object containing the User's basic info and custom fields - inline: true source: openapi: ../openapi.yml UsersInviteResponseStatus: @@ -51511,6 +52126,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) * `ecommerce` - Assigned to the user via an ecommerce purchase source: openapi: ../openapi.yml + inline: true UsersInviteResponseDataData: properties: name: @@ -51534,14 +52150,14 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) docs: Custom user attributes source: openapi: ../openapi.yml + inline: true UsersInviteResponseData: docs: An object containing the User's basic info and custom fields properties: - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml + inline: true UsersInviteResponse: docs: > The fields that define the schema for a given Item are based on the @@ -51576,7 +52192,6 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) data: type: optional docs: An object containing the User's basic info and custom fields - inline: true source: openapi: ../openapi.yml UserAccountAddedPayloadTriggerType: @@ -51619,6 +52234,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) * `ecommerce` - Assigned to the user via an ecommerce purchase source: openapi: ../openapi.yml + inline: true UserAccountAddedPayloadPayloadDataData: properties: name: @@ -51642,14 +52258,14 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) docs: Custom user attributes source: openapi: ../openapi.yml + inline: true UserAccountAddedPayloadPayloadData: docs: An object containing the User's basic info and custom fields properties: - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml + inline: true UserAccountAddedPayloadPayload: docs: > The fields that define the schema for a given Item are based on the @@ -51684,9 +52300,9 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) data: type: optional docs: An object containing the User's basic info and custom fields - inline: true source: openapi: ../openapi.yml + inline: true UserAccountAddedPayload: properties: triggerType: @@ -51741,6 +52357,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) * `ecommerce` - Assigned to the user via an ecommerce purchase source: openapi: ../openapi.yml + inline: true UserAccountUpdatedPayloadPayloadDataData: properties: name: @@ -51764,14 +52381,14 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) docs: Custom user attributes source: openapi: ../openapi.yml + inline: true UserAccountUpdatedPayloadPayloadData: docs: An object containing the User's basic info and custom fields properties: - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml + inline: true UserAccountUpdatedPayloadPayload: docs: > The fields that define the schema for a given Item are based on the @@ -51806,9 +52423,9 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) data: type: optional docs: An object containing the User's basic info and custom fields - inline: true source: openapi: ../openapi.yml + inline: true UserAccountUpdatedPayload: properties: triggerType: @@ -51863,6 +52480,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) * `ecommerce` - Assigned to the user via an ecommerce purchase source: openapi: ../openapi.yml + inline: true UserAccountDeletedPayloadPayloadDataData: properties: name: @@ -51886,14 +52504,14 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) docs: Custom user attributes source: openapi: ../openapi.yml + inline: true UserAccountDeletedPayloadPayloadData: docs: An object containing the User's basic info and custom fields properties: - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml + inline: true UserAccountDeletedPayloadPayload: docs: > The fields that define the schema for a given Item are based on the @@ -51928,9 +52546,9 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) data: type: optional docs: An object containing the User's basic info and custom fields - inline: true source: openapi: ../openapi.yml + inline: true UserAccountDeletedPayload: properties: triggerType: @@ -52600,6 +53218,7 @@ webhooks: "types": { "WebhooksCreateRequestFilter": { "docs": "Only supported for the `form_submission` trigger type. Filter for the form you want Webhooks to be sent for. ", + "inline": true, "properties": { "name": { "docs": "The name of the form you'd like to recieve notifications for.", @@ -52650,6 +53269,7 @@ webhooks: }, "WebhooksCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "createdOn": { "docs": "Date the Webhook registration was created", @@ -52657,7 +53277,6 @@ webhooks: }, "filter": { "docs": "Only supported for the `form_submission` trigger type. Filter for the form you want Webhooks to be sent for. ", - "inline": true, "type": "optional", }, "id": { @@ -52706,6 +53325,7 @@ webhooks: }, "WebhooksCreateResponseFilter": { "docs": "Only supported for the `form_submission` trigger type. Filter for the form you want Webhooks to be sent for. ", + "inline": true, "properties": { "name": { "docs": "The name of the form you'd like to recieve notifications for.", @@ -52756,6 +53376,7 @@ webhooks: }, "WebhooksGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "createdOn": { "docs": "Date the Webhook registration was created", @@ -52763,7 +53384,6 @@ webhooks: }, "filter": { "docs": "Only supported for the `form_submission` trigger type. Filter for the form you want Webhooks to be sent for. ", - "inline": true, "type": "optional", }, "id": { @@ -52812,6 +53432,7 @@ webhooks: }, "WebhooksGetResponseFilter": { "docs": "Only supported for the `form_submission` trigger type. Filter for the form you want Webhooks to be sent for. ", + "inline": true, "properties": { "name": { "docs": "The name of the form you'd like to recieve notifications for.", @@ -52862,10 +53483,10 @@ webhooks: }, "WebhooksListResponse": { "docs": undefined, + "inline": undefined, "properties": { "pagination": { "docs": "Pagination object", - "inline": true, "type": "optional", }, "webhooks": "optional>", @@ -52876,6 +53497,7 @@ webhooks: }, "WebhooksListResponsePagination": { "docs": "Pagination object", + "inline": true, "properties": { "limit": { "docs": "The limit used for pagination", @@ -52896,6 +53518,7 @@ webhooks: }, "WebhooksListResponseWebhooksItem": { "docs": undefined, + "inline": true, "properties": { "createdOn": { "docs": "Date the Webhook registration was created", @@ -52903,7 +53526,6 @@ webhooks: }, "filter": { "docs": "Only supported for the `form_submission` trigger type. Filter for the form you want Webhooks to be sent for. ", - "inline": true, "type": "optional", }, "id": { @@ -52952,6 +53574,7 @@ webhooks: }, "WebhooksListResponseWebhooksItemFilter": { "docs": "Only supported for the `form_submission` trigger type. Filter for the form you want Webhooks to be sent for. ", + "inline": true, "properties": { "name": { "docs": "The name of the form you'd like to recieve notifications for.", @@ -53017,6 +53640,7 @@ webhooks: docs: The total number of records source: openapi: ../openapi.yml + inline: true WebhooksListResponseWebhooksItemTriggerType: enum: - form_submission @@ -53087,6 +53711,7 @@ webhooks: docs: The name of the form you'd like to recieve notifications for. source: openapi: ../openapi.yml + inline: true WebhooksListResponseWebhooksItem: properties: id: @@ -53150,7 +53775,6 @@ webhooks: docs: >- Only supported for the `form_submission` trigger type. Filter for the form you want Webhooks to be sent for. - inline: true lastTriggered: type: optional docs: Date the Webhook instance was last triggered @@ -53159,12 +53783,12 @@ webhooks: docs: Date the Webhook registration was created source: openapi: ../openapi.yml + inline: true WebhooksListResponse: properties: pagination: type: optional docs: Pagination object - inline: true webhooks: optional> source: openapi: ../openapi.yml @@ -53238,6 +53862,7 @@ webhooks: docs: The name of the form you'd like to recieve notifications for. source: openapi: ../openapi.yml + inline: true WebhooksCreateResponseTriggerType: enum: - form_submission @@ -53308,6 +53933,7 @@ webhooks: docs: The name of the form you'd like to recieve notifications for. source: openapi: ../openapi.yml + inline: true WebhooksCreateResponse: properties: id: @@ -53371,7 +53997,6 @@ webhooks: docs: >- Only supported for the `form_submission` trigger type. Filter for the form you want Webhooks to be sent for. - inline: true lastTriggered: type: optional docs: Date the Webhook instance was last triggered @@ -53450,6 +54075,7 @@ webhooks: docs: The name of the form you'd like to recieve notifications for. source: openapi: ../openapi.yml + inline: true WebhooksGetResponse: properties: id: @@ -53513,7 +54139,6 @@ webhooks: docs: >- Only supported for the `form_submission` trigger type. Filter for the form you want Webhooks to be sent for. - inline: true lastTriggered: type: optional docs: Date the Webhook instance was last triggered diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/webhooks.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/webhooks.json index d52ee4ba306..6549bc09a14 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/webhooks.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/webhooks.json @@ -8,6 +8,7 @@ "types": { "Pet": { "docs": undefined, + "inline": undefined, "properties": { "id": "long", "name": "string", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-audiences.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-audiences.json index d4e90646a7b..692e2c0fb1d 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-audiences.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-audiences.json @@ -51,12 +51,12 @@ "types": { "BaseUser": { "docs": undefined, + "inline": undefined, "properties": { "id": { "audiences": [ "public", ], - "inline": undefined, "type": "optional", "validation": { "format": "uuid", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-auth-variables.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-auth-variables.json index 2c23ca6fdaf..0b288cfa31b 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-auth-variables.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-auth-variables.json @@ -71,6 +71,7 @@ "types": { "UserGetAllResponseItem": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "optional", @@ -88,6 +89,7 @@ }, "UserGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "optional", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-encoding.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-encoding.json index ae27944f654..915d16f92c3 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-encoding.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-encoding.json @@ -22,6 +22,7 @@ "type": "google.protobuf.Value", }, }, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-global-headers.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-global-headers.json index 3918bfd4d6d..c96e3d9c727 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-global-headers.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-global-headers.json @@ -8,6 +8,7 @@ "types": { "StreamUser": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "optional", @@ -26,6 +27,7 @@ }, "User": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "optional", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-ignore.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-ignore.json index f63e11f3957..3ae3f0d02bb 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-ignore.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-ignore.json @@ -58,6 +58,7 @@ "types": { "Meta": { "docs": undefined, + "inline": undefined, "properties": { "hasMore": "optional", }, @@ -67,6 +68,7 @@ }, "User": { "docs": undefined, + "inline": undefined, "properties": { "age": "optional", "email": "optional", @@ -87,6 +89,7 @@ }, "UsersResponse": { "docs": undefined, + "inline": undefined, "properties": { "meta": "optional", "users": "optional>", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-pagination.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-pagination.json index a01b42ff886..d3241a7f8f5 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-pagination.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-pagination.json @@ -63,6 +63,7 @@ "types": { "Meta": { "docs": undefined, + "inline": undefined, "properties": { "hasMore": "optional", }, @@ -72,6 +73,7 @@ }, "User": { "docs": undefined, + "inline": undefined, "properties": { "age": "optional", "email": "optional", @@ -92,6 +94,7 @@ }, "UsersResponse": { "docs": undefined, + "inline": undefined, "properties": { "meta": "optional", "users": "optional>", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-property-name.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-property-name.json index 440124a54b1..44779d38820 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-property-name.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-property-name.json @@ -8,9 +8,9 @@ "types": { "BaseUser": { "docs": undefined, + "inline": undefined, "properties": { "id": { - "inline": undefined, "name": "renamed_id", "type": "optional", "validation": { diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-resolutions.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-resolutions.json index ed9839ce3ac..98f46b082c0 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-resolutions.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-resolutions.json @@ -8,6 +8,7 @@ "types": { "User": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "optional", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-sdk-group-name-with-streaming.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-sdk-group-name-with-streaming.json index ab43256e6ff..b71914d179a 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-sdk-group-name-with-streaming.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-sdk-group-name-with-streaming.json @@ -8,6 +8,7 @@ "types": { "StreamUser": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "optional", @@ -26,6 +27,7 @@ }, "User": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "optional", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-sdk-group-name.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-sdk-group-name.json index ba79432b480..8922916ae27 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-sdk-group-name.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-sdk-group-name.json @@ -8,6 +8,7 @@ "types": { "Person": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "optional", @@ -137,6 +138,7 @@ service: "types": { "User": { "docs": "This user object should be in user.yml", + "inline": undefined, "properties": { "associatedPersons": "optional>", "id": { diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-streaming-with-audiences.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-streaming-with-audiences.json index f4893974af2..9cacc3dfa11 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-streaming-with-audiences.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-streaming-with-audiences.json @@ -8,6 +8,7 @@ "types": { "StreamUser": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "optional", @@ -26,6 +27,7 @@ }, "User": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "optional", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-streaming-with-reference.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-streaming-with-reference.json index 947e7655e1e..f86cece83a3 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-streaming-with-reference.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-streaming-with-reference.json @@ -8,6 +8,7 @@ "types": { "Completion": { "docs": undefined, + "inline": undefined, "properties": { "text": "optional", }, @@ -17,6 +18,7 @@ }, "CompletionChunk": { "docs": undefined, + "inline": undefined, "properties": { "text": "optional", }, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-streaming-with-sse.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-streaming-with-sse.json index 798002653c1..59b19cf5096 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-streaming-with-sse.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-streaming-with-sse.json @@ -8,6 +8,7 @@ "types": { "Completion": { "docs": undefined, + "inline": undefined, "properties": { "text": "optional", }, @@ -17,6 +18,7 @@ }, "CompletionChunk": { "docs": undefined, + "inline": undefined, "properties": { "text": "optional", }, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-streaming-with-stream-condition.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-streaming-with-stream-condition.json index c2486c68f87..1192924a90b 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-streaming-with-stream-condition.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-streaming-with-stream-condition.json @@ -116,6 +116,7 @@ "types": { "ChatFullResponse": { "docs": "Full response to a chat question when the result is not streamed.", + "inline": undefined, "properties": { "answer": { "docs": "The message from the chat model for the chat message.", @@ -136,6 +137,7 @@ }, "ChatStreamedResponse": { "docs": "An individual event when the response is streamed.", + "inline": undefined, "properties": { "chunk": { "docs": "The chunk of the response.", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-token-variable-name.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-token-variable-name.json index cb4279a8c61..c9383c0f0d5 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-token-variable-name.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-token-variable-name.json @@ -8,6 +8,7 @@ "types": { "Completion": { "docs": undefined, + "inline": undefined, "properties": { "text": "optional", }, @@ -17,6 +18,7 @@ }, "CompletionChunk": { "docs": undefined, + "inline": undefined, "properties": { "text": "optional", }, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-version.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-version.json index 3ae0294234c..546971d5294 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-version.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/x-fern-version.json @@ -8,6 +8,7 @@ "types": { "Completion": { "docs": undefined, + "inline": undefined, "properties": { "text": "optional", }, @@ -17,6 +18,7 @@ }, "CompletionChunk": { "docs": undefined, + "inline": undefined, "properties": { "text": "optional", }, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/aries.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/aries.json index 7c1c3ae54a3..9827abc0503 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/aries.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/aries.json @@ -66099,8 +66099,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -66293,8 +66292,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -66349,8 +66347,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -67196,8 +67193,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -67224,8 +67220,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -67252,8 +67247,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -67281,8 +67275,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -67309,8 +67302,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -67337,8 +67329,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -68274,8 +68265,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -68311,8 +68301,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -68963,8 +68952,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -69445,8 +69433,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -70249,8 +70236,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -72553,8 +72539,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -72582,8 +72567,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -72956,8 +72940,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -74175,8 +74158,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -74197,8 +74179,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -74322,8 +74303,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -74395,8 +74375,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -74417,8 +74396,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -74486,8 +74464,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -77011,8 +76988,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -77040,8 +77016,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -78036,8 +78011,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -78298,8 +78272,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -79704,8 +79677,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -79771,8 +79743,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -83580,8 +83551,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -83601,8 +83571,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -83822,8 +83791,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -83850,8 +83818,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -83878,8 +83845,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -85141,8 +85107,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -86265,8 +86230,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -86400,8 +86364,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -87653,8 +87616,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -90829,8 +90791,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -90856,8 +90817,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -90883,8 +90843,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -90910,8 +90869,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -91122,8 +91080,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -94217,8 +94174,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -94244,8 +94200,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -94271,8 +94226,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -95288,8 +95242,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -96027,8 +95980,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/axle.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/axle.json index 245778f185d..2db562985f3 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/axle.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/axle.json @@ -252,8 +252,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -547,8 +546,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/buzzshot.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/buzzshot.json index aa665439005..04b8bd82c58 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/buzzshot.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/buzzshot.json @@ -3764,8 +3764,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -4297,8 +4296,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/deel.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/deel.json index c72e38c6d94..31a8fe37f28 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/deel.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/deel.json @@ -37693,8 +37693,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -37729,8 +37728,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -37743,8 +37741,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -37818,8 +37815,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -37875,8 +37871,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -38069,8 +38064,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -39518,8 +39512,7 @@ "groupName": [], "type": "nullable" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -39603,8 +39596,7 @@ "groupName": [], "type": "nullable" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -39668,8 +39660,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -39736,8 +39727,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -39787,8 +39777,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -41113,8 +41102,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -41828,8 +41816,7 @@ "groupName": [], "type": "nullable" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -41913,8 +41900,7 @@ "groupName": [], "type": "nullable" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -41978,8 +41964,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -42031,8 +42016,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -42082,8 +42066,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -42945,8 +42928,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -43033,8 +43015,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -43083,8 +43064,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -44194,8 +44174,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -45325,8 +45304,7 @@ "groupName": [], "type": "nullable" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -45379,8 +45357,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -46128,8 +46105,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -46676,8 +46652,7 @@ "groupName": [], "type": "nullable" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -46729,8 +46704,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -46904,8 +46878,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -47677,8 +47650,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -47726,8 +47698,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -47776,8 +47747,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -47826,8 +47796,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -48405,8 +48374,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -48466,8 +48434,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -48527,8 +48494,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -49648,8 +49614,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -49665,8 +49630,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -49934,8 +49898,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -49996,8 +49959,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -50049,8 +50011,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -50101,8 +50062,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -50115,8 +50075,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -50228,8 +50187,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -50334,8 +50292,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -50693,8 +50650,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -50748,8 +50704,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -50765,8 +50720,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -50877,8 +50831,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -50983,8 +50936,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -51054,8 +51006,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -51137,8 +51088,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -51222,8 +51172,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -51290,8 +51239,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -51359,8 +51307,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -51428,8 +51375,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -51497,8 +51443,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -51552,8 +51497,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -51598,8 +51542,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -51616,8 +51559,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -51784,8 +51726,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -51882,8 +51823,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -54655,8 +54595,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -54781,8 +54720,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -57865,8 +57803,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/flagright.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/flagright.json index 56ef2030144..f928c13278a 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/flagright.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/flagright.json @@ -13970,8 +13970,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/flexport.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/flexport.json index c7f760dffc9..fa7d8717d5b 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/flexport.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/flexport.json @@ -2083,8 +2083,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -4165,8 +4164,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -11043,8 +11041,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -15222,8 +15219,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -16465,8 +16461,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -18408,8 +18403,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -20188,8 +20182,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -23975,8 +23968,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -26847,8 +26839,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -29293,8 +29284,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -31574,8 +31564,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -34932,8 +34921,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -36152,8 +36140,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -37999,8 +37986,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -38943,8 +38929,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -41521,8 +41506,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -44431,8 +44415,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -51093,8 +51076,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -54488,8 +54470,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -61262,8 +61243,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -79457,8 +79437,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/hathora.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/hathora.json index b7a278033c9..b0bee722ce1 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/hathora.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/hathora.json @@ -9843,8 +9843,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -9899,8 +9898,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -10386,8 +10384,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -10442,8 +10439,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/hookdeck.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/hookdeck.json index 20e2ff39c28..21b37f8e33c 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/hookdeck.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/hookdeck.json @@ -57307,8 +57307,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -57746,8 +57745,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/intercom.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/intercom.json index 736c277e8ad..e721eefc875 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/intercom.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/intercom.json @@ -105710,8 +105710,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -107750,8 +107749,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -109483,8 +109481,7 @@ ], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -111671,8 +111668,7 @@ ], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -112055,8 +112051,7 @@ ], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -112132,8 +112127,7 @@ ], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -113842,8 +113836,7 @@ ], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -118556,8 +118549,7 @@ "generatedName": "ConvertVisitorRequestUserOne", "type": "unknown" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -118567,8 +118559,7 @@ "generatedName": "ConvertVisitorRequestVisitorTwo", "type": "unknown" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -118990,8 +118981,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -119338,8 +119328,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -121691,8 +121680,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -126208,8 +126196,7 @@ ], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -132810,8 +132797,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -133531,8 +133517,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -133628,8 +133613,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -133825,8 +133809,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -134036,8 +134019,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -134276,8 +134258,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -134349,8 +134330,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/only-include-referenced-schemas.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/only-include-referenced-schemas.json index 736c277e8ad..e721eefc875 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/only-include-referenced-schemas.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/only-include-referenced-schemas.json @@ -105710,8 +105710,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -107750,8 +107749,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -109483,8 +109481,7 @@ ], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -111671,8 +111668,7 @@ ], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -112055,8 +112051,7 @@ ], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -112132,8 +112127,7 @@ ], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -113842,8 +113836,7 @@ ], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -118556,8 +118549,7 @@ "generatedName": "ConvertVisitorRequestUserOne", "type": "unknown" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -118567,8 +118559,7 @@ "generatedName": "ConvertVisitorRequestVisitorTwo", "type": "unknown" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -118990,8 +118981,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -119338,8 +119328,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -121691,8 +121680,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -126208,8 +126196,7 @@ ], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -132810,8 +132797,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -133531,8 +133517,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -133628,8 +133613,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -133825,8 +133809,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -134036,8 +134019,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -134276,8 +134258,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -134349,8 +134330,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/query-params.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/query-params.json index b866af652d6..d712c32cd7d 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/query-params.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/query-params.json @@ -165,8 +165,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -182,8 +181,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/seam.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/seam.json index 8909b81d7cf..34a3f589b69 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/seam.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/seam.json @@ -12568,8 +12568,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -24422,8 +24421,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -34010,8 +34008,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -39010,8 +39007,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -41312,8 +41308,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -45836,8 +45831,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -45982,8 +45976,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -48939,8 +48932,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -50208,8 +50200,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -50338,8 +50329,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -50540,8 +50530,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -50670,8 +50659,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -50872,8 +50860,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -51002,8 +50989,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -51204,8 +51190,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -51334,8 +51319,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -51536,8 +51520,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -51666,8 +51649,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -51868,8 +51850,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -51998,8 +51979,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -52200,8 +52180,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -52330,8 +52309,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -52532,8 +52510,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -52662,8 +52639,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -52987,8 +52963,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -53311,8 +53286,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -53635,8 +53609,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -53959,8 +53932,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -54283,8 +54255,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -54607,8 +54578,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -54931,8 +54901,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -55984,8 +55953,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -56515,8 +56483,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -56533,8 +56500,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -56569,8 +56535,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -56720,8 +56685,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -56842,8 +56806,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -57141,8 +57104,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -57280,8 +57242,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -57404,8 +57365,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -57496,8 +57456,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -57588,8 +57547,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -57661,8 +57619,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -57772,8 +57729,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -57840,8 +57796,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -57955,8 +57910,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -58009,8 +57963,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -58049,8 +58002,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -58122,8 +58074,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -58231,8 +58182,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -58324,8 +58274,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -58373,8 +58322,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -58422,8 +58370,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -58471,8 +58418,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -58520,8 +58466,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -58534,8 +58479,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -58551,8 +58495,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -58619,8 +58562,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -58673,8 +58615,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -58746,8 +58687,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -58814,8 +58754,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -58900,8 +58839,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -59011,8 +58949,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -59079,8 +59016,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -59133,8 +59069,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -59187,8 +59122,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -59255,8 +59189,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -59560,8 +59493,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -59708,8 +59640,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -59837,8 +59768,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -60186,8 +60116,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -60287,8 +60216,7 @@ "groupName": [], "type": "nullable" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -61148,8 +61076,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -61166,8 +61093,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -61359,8 +61285,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -61550,8 +61475,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -61564,8 +61488,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -63525,8 +63448,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -63907,8 +63829,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -64065,8 +63986,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -64864,8 +64784,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -65197,8 +65116,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -65211,8 +65129,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -65279,8 +65196,7 @@ "groupName": [], "type": "nullable" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/uploadcare.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/uploadcare.json index 429a09e2576..b3a1535c918 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/uploadcare.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/uploadcare.json @@ -10717,8 +10717,7 @@ "groupName": [], "type": "nullable" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -10990,8 +10989,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -11122,8 +11120,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -11371,8 +11368,7 @@ "groupName": [], "type": "nullable" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -11819,8 +11815,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/valtown.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/valtown.json index 53a5c2e1695..32ddbd6aa94 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/valtown.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/valtown.json @@ -822,8 +822,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -1269,8 +1268,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -1970,8 +1968,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -2129,8 +2126,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -2533,8 +2529,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -2627,8 +2622,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -9003,8 +8997,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -9430,8 +9423,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -9823,8 +9815,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/webflow.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/webflow.json index 3758e6612db..e932e71b8f7 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/webflow.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/webflow.json @@ -659,8 +659,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -677,8 +676,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -1430,8 +1428,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -1651,8 +1648,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -3107,8 +3103,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -3328,8 +3323,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -4959,8 +4953,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -5198,8 +5191,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -10471,8 +10463,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -12342,8 +12333,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -18900,8 +18890,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -19013,8 +19002,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -19175,8 +19163,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -20154,8 +20141,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -20267,8 +20253,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -21099,8 +21084,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -21212,8 +21196,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -21621,8 +21604,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -21734,8 +21716,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -22507,8 +22488,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -22577,8 +22557,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -22721,8 +22700,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -29312,8 +29290,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -31006,8 +30983,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -33828,8 +33804,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -35332,8 +35307,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -35578,8 +35552,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -36366,8 +36339,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -36669,8 +36641,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -37292,8 +37263,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -38297,8 +38267,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -38566,8 +38535,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -39521,8 +39489,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -40442,8 +40409,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -42581,8 +42547,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -42599,8 +42564,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -44139,8 +44103,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -44157,8 +44120,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -46045,8 +46007,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -46063,8 +46024,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -47311,8 +47271,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -47329,8 +47288,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -50186,8 +50144,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -50443,8 +50400,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -50512,8 +50468,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -50765,8 +50720,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -50956,8 +50910,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -52827,8 +52780,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -52896,8 +52848,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -53149,8 +53100,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -53226,8 +53176,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -53935,8 +53884,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -54192,8 +54140,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -54261,8 +54208,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -54514,8 +54460,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -56323,8 +56268,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -56580,8 +56524,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -56649,8 +56592,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -56902,8 +56844,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -58754,8 +58695,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -59009,8 +58949,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -59078,8 +59017,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -59331,8 +59269,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -59408,8 +59345,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -61325,8 +61261,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -61394,8 +61329,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -61647,8 +61581,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -62006,8 +61939,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -62075,8 +62007,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -62328,8 +62259,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -63458,8 +63388,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -63527,8 +63456,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -63780,8 +63708,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -63854,8 +63781,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -64126,8 +64052,7 @@ }, "type": "object" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -64195,8 +64120,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -64448,8 +64372,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -67456,8 +67379,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -68140,8 +68062,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -68309,8 +68230,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -68389,8 +68309,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -69088,8 +69007,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -73990,8 +73908,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -74674,8 +74591,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -74843,8 +74759,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -74923,8 +74838,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -79509,8 +79423,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -80193,8 +80106,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -80362,8 +80274,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -80442,8 +80353,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -84969,8 +84879,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -85653,8 +85562,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -85822,8 +85730,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -85902,8 +85809,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -90383,8 +90289,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -91067,8 +90972,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -91236,8 +91140,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -91316,8 +91219,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -95856,8 +95758,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -96540,8 +96441,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -96709,8 +96609,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -96789,8 +96688,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -101613,8 +101511,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -102112,8 +102009,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -104268,8 +104164,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -104952,8 +104847,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -105121,8 +105015,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -105201,8 +105094,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -109022,8 +108914,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -109706,8 +109597,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -109875,8 +109765,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -109955,8 +109844,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] }, { "conflict": {}, @@ -112280,8 +112168,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -112298,8 +112185,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -112858,8 +112744,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -112876,8 +112761,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -113436,8 +113320,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -113454,8 +113337,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -114359,8 +114241,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -114573,8 +114454,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -114779,8 +114659,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -114986,8 +114865,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], @@ -115192,8 +115070,7 @@ "groupName": [], "type": "optional" }, - "audiences": [], - "inline": true + "audiences": [] } ], "allOfPropertyConflicts": [], diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/ada.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/ada.json index f24f2d5ad51..3b1f368def2 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/ada.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/ada.json @@ -125,6 +125,7 @@ "EndUser": "unknown", "EndUserCreatedWebhookPayload": { "docs": undefined, + "inline": undefined, "properties": { "data": "optional", "timestamp": "optional", @@ -137,6 +138,7 @@ "EndUserRequest": "unknown", "EndUserUpdatedWebhookPayload": { "docs": undefined, + "inline": undefined, "properties": { "data": "optional", "timestamp": "optional", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/anyOf.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/anyOf.json index b0be7e7f005..cf8ad12d6e2 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/anyOf.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/anyOf.json @@ -58,6 +58,7 @@ "Response": { "docs": "A generic response type used throughout the API. ", + "inline": undefined, "properties": { "value": { "docs": "An optional numerical value. diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/apiture.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/apiture.json index 79f78211b7f..a8837830bb1 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/apiture.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/apiture.json @@ -425,6 +425,7 @@ This error response may have one of the following `type` values: "types": { "AbstractBody": { "docs": "An abstract schema used to define other request and response body model schemas.", + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -436,6 +437,7 @@ This error response may have one of the following `type` values: "AbstractBody", "AbstractPagedBodyFields", ], + "inline": undefined, "properties": { "start": { "docs": "The opaque cursor that specifies the starting location of this page of items.", @@ -454,6 +456,7 @@ This error response may have one of the following `type` values: }, "AbstractPagedBodyFields": { "docs": "Common properties of collection page responses.", + "inline": undefined, "properties": { "limit": { "default": 100, @@ -488,6 +491,7 @@ This error response may have one of the following `type` values: "AbstractBody", "AccountFields", ], + "inline": undefined, "properties": { "allows": { "docs": "Flags which indicate the permissions the current authorized user has on this account resource.", @@ -559,6 +563,7 @@ This error response may have one of the following `type` values: }, "AccountBalance": { "docs": "The current balances of the given account.", + "inline": undefined, "properties": { "available": { "docs": "The available balance: the funds available for use. This is the string representation of the exact decimal amount.", @@ -594,6 +599,7 @@ This error response may have one of the following `type` values: "extends": [ "AbstractBody", ], + "inline": undefined, "properties": { "items": { "docs": "An array of items, one for each of the `?accounts=` in the request, returned in the same order.", @@ -606,6 +612,7 @@ This error response may have one of the following `type` values: }, "AccountFields": { "docs": "Fragment schema use to build other account schemas.", + "inline": undefined, "properties": { "id": { "docs": "The unique identifier for this account resource. This is an immutable opaque string.", @@ -645,6 +652,7 @@ This error response may have one of the following `type` values: }, "AccountItem": { "docs": "An account item in a list items in the `accounts` schema.", + "inline": undefined, "properties": { "allows": { "type": "AccountPermissions", @@ -680,6 +688,7 @@ This error response may have one of the following `type` values: "extends": [ "AbstractBody", ], + "inline": undefined, "properties": { "id": "ReadOnlyResourceId", "name": { @@ -699,6 +708,7 @@ This error response may have one of the following `type` values: }, "AccountJointOwners": { "docs": undefined, + "inline": undefined, "properties": { "items": { "docs": "An array containing account joint owner items.", @@ -736,6 +746,7 @@ Account transfers are only allowed between `internal` and `external` accounts. A }, "AccountPermissions": { "docs": "Flags which indicate the permissions the current authorized user has on this account item resource. Most of these properties may only be `true` for internal accounts. These permissions are available in account items in the [`accounts`](#schema-accounts) list. See [`fullAccountPermissions`](#schema-fullAccountPermissions) for all capabilities a customer has on an account (the `account.allows` object in the [`account`](#schema-account) object response from [`getAccount`](#op-getAccount).)", + "inline": undefined, "properties": { "billPay": { "docs": "If `true`, the customer may use this account for Bill Pay.", @@ -785,6 +796,7 @@ Account transfers are only allowed between `internal` and `external` accounts. A "extends": [ "AbstractBody", ], + "inline": undefined, "properties": { "count": { "docs": "The total number of accounts for which the user has access. This value ignores any filters. This value is _optional_ and may be omitted if the count is not computable efficiently.", @@ -947,6 +959,7 @@ Account transfers are only allowed between `internal` and `external` accounts. A "extends": [ "AddressFields", ], + "inline": undefined, "properties": { "postalCode": { "docs": "The postal code, which varies in format by country. If `countryCode` is `US`, this should be a five digit US ZIP code or ten character ZIP+4.", @@ -985,6 +998,7 @@ Account transfers are only allowed between `internal` and `external` accounts. A }, "AddressFields": { "docs": "Properties of a simple address, used to compose other addresses.", + "inline": undefined, "properties": { "address1": { "docs": "The first line of the postal address. In the US, this typically includes the building number and street name.", @@ -1043,6 +1057,7 @@ Account transfers are only allowed between `internal` and `external` accounts. A }, "ApiProblem": { "docs": "API problem or error, as per [RFC 7807 application/problem+json](https://tools.ietf.org/html/rfc7807).", + "inline": undefined, "properties": { "attributes": { "docs": "Additional optional attributes related to the problem. This data conforms to the schema associated with the error type.", @@ -1099,6 +1114,7 @@ Account transfers are only allowed between `internal` and `external` accounts. A }, "ChallengeFactor": { "docs": "An challenge factor. See [`requiredIdentityChallenge`](#schema-requiredIdentityChallenge) for multiple examples.", + "inline": undefined, "properties": { "labels": { "docs": "A list of text label which identifies the channel(s) though which the user completes the challenge. For an `sms` or `voice` challenge, the only label item is the last four digits of the corresponding phone number. For an `email` challenge, each label is the masked email address.", @@ -1172,6 +1188,7 @@ Account transfers are only allowed between `internal` and `external` accounts. A }, "ChallengeSecurityQuestion": { "docs": "A single security question within the `questions` array of the [`challengeSecurityQuestions`](#schema-challengeSecurityQuestions)", + "inline": undefined, "properties": { "id": { "docs": "The unique ID of security question prompt. This should be included in the [`challengeVerification`](#schema-challengeVerification) response as the `promptId`.", @@ -1194,6 +1211,7 @@ Account transfers are only allowed between `internal` and `external` accounts. A }, "ChallengeSecurityQuestions": { "docs": "Describes a `securityQuestions` challenge. This is omitted if the challenge `type` is not `securityQuestions`.", + "inline": undefined, "properties": { "questions": { "docs": "The array of security questions.", @@ -1230,6 +1248,7 @@ Account transfers are only allowed between `internal` and `external` accounts. A }, "CutoffTime": { "docs": "A representation of a cutoff time for a money movement process at a financial institution.", + "inline": undefined, "properties": { "time": { "docs": "The cutoff time for a product formatted in [RFC 3339](https://datatracker.ietf.org/doc/html/rfc3339) `time` format: `hh:mm`. The time is expressed in 24 hour time and is set to the local time zone of the financial institution.", @@ -1304,6 +1323,7 @@ Account transfers are only allowed between `internal` and `external` accounts. A "extends": [ "AbstractBody", ], + "inline": undefined, "properties": { "items": { "docs": "A list of cutoff times for a financial institution.", @@ -1338,6 +1358,7 @@ The client can use this value to localize the `items[].time` values to the local "extends": [ "AbstractBody", ], + "inline": undefined, "properties": { "items": "unknown", "limit": { @@ -1438,6 +1459,7 @@ The client can use this value to localize the `items[].time` values to the local "extends": [ "AccountPermissions", ], + "inline": undefined, "properties": { "manageJointOwners": { "docs": "If `true`, the customer can list the other joint owners on the account and invite new joint owners.", @@ -1457,6 +1479,7 @@ The client can use this value to localize the `items[].time` values to the local "extends": [ "AbstractBody", ], + "inline": undefined, "properties": { "incompleteAccounts": { "docs": "Pass these values as the `?accounts=` query parameter on the next retry of the [`listAccountBalances`](#op-listAccountBalances) operation. This value is empty if the client has reached the retry limit.", @@ -1487,6 +1510,7 @@ The client can use this value to localize the `items[].time` values to the local "extends": [ "AbstractBody", ], + "inline": undefined, "properties": { "retryCount": { "docs": "Pass this value as the as the `?retryCount=` parameter with the next retry of the [`listTransactions`](#op-listTransactions) operation.", @@ -1554,6 +1578,7 @@ The client can use this value to localize the `items[].time` values to the local "extends": [ "AbstractBody", ], + "inline": undefined, "properties": { "found": { "docs": "`true` if a financial institution was found matching the requested FI locator, `false` if none was found.", @@ -1578,6 +1603,7 @@ The client can use this value to localize the `items[].time` values to the local "AbstractBody", "JointOwnerInvitationFields", ], + "inline": undefined, "properties": { "id": { "docs": "The unique ID of the invitation.", @@ -1590,6 +1616,7 @@ The client can use this value to localize the `items[].time` values to the local }, "JointOwnerInvitationFields": { "docs": "Fields used to compose other joint owner invitation schemas.", + "inline": undefined, "properties": { "disallowDebitCardAccess": { "default": false, @@ -1673,6 +1700,7 @@ The client can use this value to localize the `items[].time` values to the local }, "OverdraftAccountFields": { "docs": "Fields of an overdraft protection account, used to compose other schemas.", + "inline": undefined, "properties": { "id": { "docs": "The unique ID of the account resource. Use this as the `{accountId}` in [`getAccount`](#op-getAccount) or [`listAccountBalances`](#op-listAccountBalances).", @@ -1706,6 +1734,7 @@ The client can use this value to localize the `items[].time` values to the local "AbstractBody", "OverdraftProtectionFields", ], + "inline": undefined, "properties": { "maximumOverdraftAccounts": { "docs": "The maximum number of overdraft protection accounts that may be linked to the account.", @@ -1725,6 +1754,7 @@ The client can use this value to localize the `items[].time` values to the local }, "OverdraftProtectionFields": { "docs": "Fields used to compose other overdraft protection schemas.", + "inline": undefined, "properties": { "accounts": { "type": "optional", @@ -1750,6 +1780,7 @@ The client can use this value to localize the `items[].time` values to the local "AbstractBody", "ApiProblem", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -1757,6 +1788,7 @@ The client can use this value to localize the `items[].time` values to the local }, "ProductReference": { "docs": "A reference to a banking product.", + "inline": undefined, "properties": { "code": { "docs": "The product's product code. Codes are unique to the financial institution.", @@ -1857,6 +1889,7 @@ The client can use this value to localize the `items[].time` values to the local }, "RequiredIdentityChallenge": { "docs": "A request from the service for the user to verify their identity. This contains a challenge ID, the corresponding operation ID, and a list of challenge factors for identity verification. The user must complete one of these challenge factors to satisfy the challenge. This schema defines the attributes in the 401 [Unauthorized problem response](#schema-apiProblem) when the 401 problem type name is `challengeRequired`. See the "Challenge API" for details.", + "inline": undefined, "properties": { "challengeId": { "docs": "The unique ID of this challenge instance. This is an opaque string. This is passed when starting a challenge factor or when validating the identity challenge responses.", @@ -1887,6 +1920,7 @@ The client can use this value to localize the `items[].time` values to the local }, "SimpleInstitution": { "docs": "A simple representation of a financial institution.", + "inline": undefined, "properties": { "address": { "docs": "The financial institution's postal mailing address.", @@ -1933,6 +1967,7 @@ The client can use this value to localize the `items[].time` values to the local }, "TimestampFields": { "docs": "Timestamps which describe when a resource was created or last updated.", + "inline": undefined, "properties": { "createdAt": { "docs": "The date-time when this resource was created, in [RFC 3339](https://tools.ietf.org/html/rfc3339) date-time `YYYY-MM-DDThh:mm:ss.sssZ` format, UTC. This is derived and immutable.", @@ -1949,6 +1984,7 @@ The client can use this value to localize the `items[].time` values to the local }, "TransactionCategories": { "docs": undefined, + "inline": undefined, "properties": { "items": { "docs": "An array containing transaction category items.", @@ -1961,6 +1997,7 @@ The client can use this value to localize the `items[].time` values to the local }, "TransactionCategorization": { "docs": "The transaction categorization.", + "inline": undefined, "properties": { "id": { "docs": "The unique ID of this transaction's category.", @@ -1986,6 +2023,7 @@ The client can use this value to localize the `items[].time` values to the local "AbstractBody", "TransactionCategorization", ], + "inline": undefined, "properties": { "type": { "type": "TransactionCategoryType", @@ -2037,6 +2075,7 @@ The client can use this value to localize the `items[].time` values to the local }, "TransactionCheck": { "docs": "Describes a check associated with a transaction for a checking account. This object is only present if the transaction `type` is `debit` and the `subtype` is `check`.", + "inline": undefined, "properties": { "imageBack_url": { "docs": "The URL for downloading the image of the front of the check.", @@ -2076,6 +2115,7 @@ The client can use this value to localize the `items[].time` values to the local }, "TransactionFields": { "docs": "Common fields of the transaction resource used to build other model schemas.", + "inline": undefined, "properties": { "amount": { "docs": "The transaction amount in dollars. This value is negative if the transaction is a debit and positive if it is a credit.", @@ -2095,7 +2135,6 @@ The client can use this value to localize the `items[].time` values to the local "createdOn": { "availability": "deprecated", "docs": "The date when the transaction occurred in `YYYY-MM-DD` [RFC 3339](https://tools.ietf.org/html/rfc3339) `date` format. This is derived and immutable.
**Warning**: The property `createdOn` was deprecated on version `v2.1.0` of the schema. Use the `occurredOn` property instead. `createdOn` will be removed on version `v3.0.0` of the schema.", - "inline": undefined, "type": "optional", "validation": { "format": "date", @@ -2154,7 +2193,6 @@ The client can use this value to localize the `items[].time` values to the local "postedOn": { "availability": "deprecated", "docs": "The date when this transaction was posted (cleared and applied to the account balance) in [RFC 3339](https://tools.ietf.org/html/rfc3339) date `YYYY-MM-DD` format, UTC. This is derived and immutable and only present if `posted` is `true`.
**Warning**: The property `postedOn` was deprecated on version `v2.1.0` of the schema. Use the `occurredOn` property instead. `postedOn` will be removed on version `v3.0.0` of the schema.", - "inline": undefined, "type": "optional", "validation": { "format": "date", @@ -2182,6 +2220,7 @@ The client can use this value to localize the `items[].time` values to the local "AbstractBody", "TransactionFields", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -2189,6 +2228,7 @@ The client can use this value to localize the `items[].time` values to the local }, "TransactionMerchant": { "docs": "Describes the merchant associated with a transaction.", + "inline": undefined, "properties": { "logo_url": { "docs": "The optional URL of the merchant's logo. This image must be an image resource (SVG, PNG, GIF, JPEG image) that does not require any authentication. The URL may contain query parameters.", @@ -2295,6 +2335,7 @@ The client can use this value to localize the `items[].time` values to the local "extends": [ "AbstractPagedBody", ], + "inline": undefined, "properties": { "count": { "docs": "The total number of transactions which satisfy the request filters. This is optional and only included if the service can calculate it.", @@ -2322,6 +2363,7 @@ The client can use this value to localize the `items[].time` values to the local "AbstractBody", "TransferItem", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -2329,6 +2371,7 @@ The client can use this value to localize the `items[].time` values to the local }, "TransferAccountReference": { "docs": "A reference to a banking account used within an account to account transfer. This object may be set from an account's `account.reference` object.", + "inline": undefined, "properties": { "id": { "docs": "The unique ID of a banking account.", @@ -2359,6 +2402,7 @@ The client can use this value to localize the `items[].time` values to the local }, "TransferDateRestriction": { "docs": "A date where a transfer restriction occurs, and the `reason` it is restricted. If the `reason` is `holiday`, `closure` and the transfer is an ACH transfer, the object also contains either a `debitOn` or `creditOn` date or both.", + "inline": undefined, "properties": { "creditOn": { "docs": "The date the local financial institution account is credited in [RFC 3339 `YYYY-MM-DD`](https://tools.ietf.org/html/rfc3339) date format. This is derived from the `date` based on the `risk` level. The credit-on date normally falls one business day after the restricted `date`. This property is only returned if the payment `type` is `achDebit` or `ach`.", @@ -2455,6 +2499,7 @@ The response may include dates prior to requested the start date, as that is use "extends": [ "AbstractBody", ], + "inline": undefined, "properties": { "accuracyEndsOn": { "docs": "The service only knows [bank holidays](https://www.federalreserve.gov/aboutthefed/k8.htm) for about two to four years in advance. This date is the end of that known holiday schedule, although the requested dates may extend well beyond this date. Any dates in the response beyond this date may omit holidays but may include other restricted dates based on the financial institution's normal scheduled closures such as Saturdays and Sundays.", @@ -2477,6 +2522,7 @@ The response may include dates prior to requested the start date, as that is use }, "TransferFields": { "docs": "Common fields of the transfer resource used to build other model schemas.", + "inline": undefined, "properties": { "amount": { "docs": "The amount of money to transfer between accounts.", @@ -2596,6 +2642,7 @@ The response may include dates prior to requested the start date, as that is use "TransferFields", "TimestampFields", ], + "inline": undefined, "properties": { "id": { "docs": "The unique identifier for this transfer resource. This is an immutable opaque string.", @@ -2633,6 +2680,7 @@ The response may include dates prior to requested the start date, as that is use "extends": [ "TransferSchedule", ], + "inline": undefined, "properties": { "creditsOn": { "docs": "The effective the transfer is scheduled to credit the target account, in `YYYY-MM-DD` [RFC 3339](https://tools.ietf.org/html/rfc3339) `date` format. This is derived from the `scheduledOn` date, based on the financial institution's transfer rules.", @@ -2693,6 +2741,7 @@ The response may include dates prior to requested the start date, as that is use "docs": "The scheduled date when the transfer should be completed, the recurrence, if any, and other derived dates based on the scheduled date. For recurring transfer schedules, `endsOn`, `count`, and `amountLimit` are mutually exclusive.", + "inline": undefined, "properties": { "amountLimit": { "docs": "For recurring schedules (`frequency` is not `once`), this is the total dollar amount limit including the first transfer. No transfers are scheduled if they would exceed this amount. This property is ignored if `frequency` is `once`.", @@ -2778,6 +2827,7 @@ For recurring transfer schedules, `endsOn`, `count`, and `amountLimit` are mutua }, "TransferScheduleItem": { "docs": "Summary representation of a transfer schedule resource in transfer schedule list.", + "inline": undefined, "properties": { "effectiveOn": { "docs": "The effective date of the recurrence in `YYYY-MM-DD` [RFC 3339](https://tools.ietf.org/html/rfc3339) date format. When the effective date differs from the scheduled date, it is due to a banking holiday, weekend, or other non-business day. The date is adjusted to before the scheduled date when the transfer direction is `credit` and adjusted to after the scheduled date when the transfer direction is `debit`.", @@ -2809,6 +2859,7 @@ For recurring transfer schedules, `endsOn`, `count`, and `amountLimit` are mutua "extends": [ "AbstractBody", ], + "inline": undefined, "properties": { "items": { "docs": "An array containing upcoming transfer schedule items.", @@ -2928,6 +2979,7 @@ For recurring transfer schedules, `endsOn`, `count`, and `amountLimit` are mutua "extends": [ "AbstractPagedBody", ], + "inline": undefined, "properties": { "count": { "docs": "The number of transfers that meet the filters in the `listTransfers` operation. This is optional and only included if the service can calculate it efficiently.", @@ -2954,6 +3006,7 @@ For recurring transfer schedules, `endsOn`, `count`, and `amountLimit` are mutua "extends": [ "SimpleInstitution", ], + "inline": undefined, "properties": { "localClearingCode": { "docs": "The clearing code used to identify the financial institution for select countries.", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/application-json.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/application-json.json index e2c70ce1468..38a6d0941a4 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/application-json.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/application-json.json @@ -65,6 +65,7 @@ "types": { "Data": { "docs": undefined, + "inline": undefined, "properties": { "bar": "optional", "foo": "optional", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/aries.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/aries.json index a916f8ae779..ce5781685ec 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/aries.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/aries.json @@ -89,6 +89,7 @@ "types": { "AMLRecord": { "docs": undefined, + "inline": undefined, "properties": { "aml": { "type": "optional>", @@ -106,6 +107,7 @@ }, "ActionMenuFetchResult": { "docs": undefined, + "inline": undefined, "properties": { "result": { "type": "optional", @@ -122,10 +124,10 @@ "ActionMenuModulesResult": "map", "AdminConfig": { "docs": undefined, + "inline": undefined, "properties": { "config": { "docs": "Configuration settings", - "inline": true, "type": "optional", }, }, @@ -135,6 +137,7 @@ }, "AdminConfigConfig": { "docs": "Configuration settings", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -142,6 +145,7 @@ }, "AdminModules": { "docs": undefined, + "inline": undefined, "properties": { "result": { "docs": "List of admin modules", @@ -156,10 +160,10 @@ "AdminShutdown": "map", "AdminStatus": { "docs": undefined, + "inline": undefined, "properties": { "conductor": { "docs": "Conductor statistics", - "inline": true, "type": "optional", }, "label": { @@ -168,7 +172,6 @@ }, "timing": { "docs": "Timing results", - "inline": true, "type": "optional", }, "version": { @@ -182,6 +185,7 @@ }, "AdminStatusConductor": { "docs": "Conductor statistics", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -189,6 +193,7 @@ }, "AdminStatusLiveliness": { "docs": undefined, + "inline": undefined, "properties": { "alive": { "docs": "Liveliness status", @@ -201,6 +206,7 @@ }, "AdminStatusReadiness": { "docs": undefined, + "inline": undefined, "properties": { "ready": { "docs": "Readiness status", @@ -213,6 +219,7 @@ }, "AdminStatusTiming": { "docs": "Timing results", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -220,6 +227,7 @@ }, "AttachDecorator": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Attachment identifier", @@ -261,6 +269,7 @@ }, "AttachDecoratorData": { "docs": undefined, + "inline": undefined, "properties": { "base64": { "docs": "Base64-encoded data", @@ -300,6 +309,7 @@ }, "AttachDecoratorData1Jws": { "docs": undefined, + "inline": undefined, "properties": { "header": { "type": "AttachDecoratorDataJWSHeader", @@ -331,6 +341,7 @@ }, "AttachDecoratorDataJWS": { "docs": undefined, + "inline": undefined, "properties": { "header": { "type": "optional", @@ -366,6 +377,7 @@ }, "AttachDecoratorDataJWSHeader": { "docs": undefined, + "inline": undefined, "properties": { "kid": { "docs": "Key identifier, in W3C did:key or DID URL format", @@ -388,6 +400,7 @@ }, "AttachmentDef": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "Attachment identifier", @@ -420,6 +433,7 @@ }, "AttributeMimeTypesResult": { "docs": undefined, + "inline": undefined, "properties": { "results": { "type": "optional>>", @@ -432,29 +446,24 @@ "BasicMessageModuleResponse": "map", "ClaimFormat": { "docs": undefined, + "inline": undefined, "properties": { "jwt": { - "inline": true, "type": "optional", }, "jwt_vc": { - "inline": true, "type": "optional", }, "jwt_vp": { - "inline": true, "type": "optional", }, "ldp": { - "inline": true, "type": "optional", }, "ldp_vc": { - "inline": true, "type": "optional", }, "ldp_vp": { - "inline": true, "type": "optional", }, }, @@ -464,6 +473,7 @@ }, "ClaimFormatJwtVc": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -471,6 +481,7 @@ }, "ClaimFormatJwtVp": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -478,6 +489,7 @@ }, "ClaimFormatLdpVc": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -485,6 +497,7 @@ }, "ClaimFormatLdpVp": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -492,6 +505,7 @@ }, "ConnRecord": { "docs": undefined, + "inline": undefined, "properties": { "accept": { "docs": "Connection acceptance: manual or auto", @@ -671,6 +685,7 @@ }, "ConnectionInvitation": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -717,6 +732,7 @@ }, "ConnectionList": { "docs": undefined, + "inline": undefined, "properties": { "results": { "docs": "List of connection records", @@ -729,10 +745,10 @@ }, "ConnectionMetadata": { "docs": undefined, + "inline": undefined, "properties": { "results": { "docs": "Dictionary of metadata associated with connection.", - "inline": true, "type": "optional", }, }, @@ -742,6 +758,7 @@ }, "ConnectionMetadataResults": { "docs": "Dictionary of metadata associated with connection.", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -750,6 +767,7 @@ "ConnectionModuleResponse": "map", "ConnectionStaticResult": { "docs": undefined, + "inline": undefined, "properties": { "my_did": { "docs": "Local DID", @@ -811,6 +829,7 @@ }, "Constraints": { "docs": undefined, + "inline": undefined, "properties": { "fields": { "type": "optional>", @@ -882,6 +901,7 @@ }, "CreateWalletResponse": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "Time of record creation", @@ -899,7 +919,6 @@ }, "settings": { "docs": "Settings for this wallet.", - "inline": true, "type": "optional", }, "state": { @@ -941,6 +960,7 @@ }, "CreateWalletResponseSettings": { "docs": "Settings for this wallet.", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -948,6 +968,7 @@ }, "CreateWalletTokenResponse": { "docs": undefined, + "inline": undefined, "properties": { "token": { "docs": "Authorization token to authenticate wallet requests", @@ -960,6 +981,7 @@ }, "CredAttrSpec": { "docs": undefined, + "inline": undefined, "properties": { "mime-type": { "docs": "MIME type: omit for (null) default", @@ -980,6 +1002,7 @@ }, "CredDefValue": { "docs": undefined, + "inline": undefined, "properties": { "primary": { "type": "optional", @@ -994,6 +1017,7 @@ }, "CredDefValuePrimary": { "docs": undefined, + "inline": undefined, "properties": { "n": { "type": "optional", @@ -1041,6 +1065,7 @@ }, "CredDefValueRevocation": { "docs": undefined, + "inline": undefined, "properties": { "g": { "type": "optional", @@ -1082,6 +1107,7 @@ }, "CredInfoList": { "docs": undefined, + "inline": undefined, "properties": { "results": { "type": "optional>", @@ -1093,10 +1119,10 @@ }, "CredRevIndyRecordsResult": { "docs": undefined, + "inline": undefined, "properties": { "rev_reg_delta": { "docs": "Indy revocation registry delta", - "inline": true, "type": "optional", }, }, @@ -1106,6 +1132,7 @@ }, "CredRevIndyRecordsResultRevRegDelta": { "docs": "Indy revocation registry delta", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -1113,6 +1140,7 @@ }, "CredRevRecordDetailsResult": { "docs": undefined, + "inline": undefined, "properties": { "results": { "type": "optional>", @@ -1124,6 +1152,7 @@ }, "CredRevRecordResult": { "docs": undefined, + "inline": undefined, "properties": { "result": { "type": "optional", @@ -1135,6 +1164,7 @@ }, "CredRevokedResult": { "docs": undefined, + "inline": undefined, "properties": { "revoked": { "docs": "Whether credential is revoked on the ledger", @@ -1147,6 +1177,7 @@ }, "Credential": { "docs": undefined, + "inline": undefined, "properties": { "@context": { "docs": "The JSON-LD context of the credential", @@ -1202,6 +1233,7 @@ }, "CredentialDefinition": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "Credential definition identifier", @@ -1245,6 +1277,7 @@ }, "CredentialDefinitionGetResult": { "docs": undefined, + "inline": undefined, "properties": { "credential_definition": { "type": "optional", @@ -1256,6 +1289,7 @@ }, "CredentialDefinitionSendResult": { "docs": undefined, + "inline": undefined, "properties": { "credential_definition_id": { "docs": "Credential definition identifier", @@ -1278,6 +1312,7 @@ }, "CredentialDefinitionsCreatedResult": { "docs": undefined, + "inline": undefined, "properties": { "credential_definition_ids": { "type": "optional>", @@ -1289,6 +1324,7 @@ }, "CredentialOffer": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -1315,6 +1351,7 @@ }, "CredentialPreview": { "docs": undefined, + "inline": undefined, "properties": { "@type": { "docs": "Message type identifier", @@ -1332,6 +1369,7 @@ }, "CredentialProposal": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -1403,6 +1441,7 @@ }, "CredentialStatusOptions": { "docs": undefined, + "inline": undefined, "properties": { "type": { "docs": "Credential status method type to use for the credential. Should match status method registered in the Verifiable Credential Extension Registry", @@ -1415,6 +1454,7 @@ }, "DID": { "docs": undefined, + "inline": undefined, "properties": { "did": { "docs": "DID of interest", @@ -1455,6 +1495,7 @@ }, "DIDCreateOptions": { "docs": undefined, + "inline": undefined, "properties": { "did": { "docs": "Specify final value of the did (including did:: prefix)if the method supports or requires so.", @@ -1477,6 +1518,7 @@ }, "DIDEndpoint": { "docs": undefined, + "inline": undefined, "properties": { "did": { "docs": "DID of interest", @@ -1505,6 +1547,7 @@ }, "DIDList": { "docs": undefined, + "inline": undefined, "properties": { "results": { "docs": "DID list", @@ -1517,6 +1560,7 @@ }, "DIDResult": { "docs": undefined, + "inline": undefined, "properties": { "result": { "type": "optional", @@ -1528,6 +1572,7 @@ }, "DIFField": { "docs": undefined, + "inline": undefined, "properties": { "filter": { "type": "optional", @@ -1554,6 +1599,7 @@ }, "DIFHolder": { "docs": undefined, + "inline": undefined, "properties": { "directive": { "docs": "Preference", @@ -1569,6 +1615,7 @@ }, "DIFOptions": { "docs": undefined, + "inline": undefined, "properties": { "challenge": { "docs": "Challenge protect against replay attack", @@ -1591,6 +1638,7 @@ }, "DIFPresSpec": { "docs": undefined, + "inline": undefined, "properties": { "issuer_id": { "docs": "Issuer identifier to sign the presentation, if different from current public DID", @@ -1601,12 +1649,10 @@ }, "record_ids": { "docs": "Mapping of input_descriptor id to list of stored W3C credential record_id", - "inline": true, "type": "optional", }, "reveal_doc": { "docs": "reveal doc [JSON-LD frame] dict used to derive the credential when selective disclosure is required", - "inline": true, "type": "optional", }, }, @@ -1616,6 +1662,7 @@ }, "DIFProofProposal": { "docs": undefined, + "inline": undefined, "properties": { "input_descriptors": { "type": "optional>", @@ -1630,6 +1677,7 @@ }, "DIFProofRequest": { "docs": undefined, + "inline": undefined, "properties": { "options": { "type": "optional", @@ -1683,6 +1731,7 @@ }, "DifPresSpecRecordIds": { "docs": "Mapping of input_descriptor id to list of stored W3C credential record_id", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -1690,6 +1739,7 @@ }, "DifPresSpecRevealDoc": { "docs": "reveal doc [JSON-LD frame] dict used to derive the credential when selective disclosure is required", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -1697,6 +1747,7 @@ }, "Disclose": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -1717,6 +1768,7 @@ }, "Disclosures": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -1737,10 +1789,10 @@ }, "Doc": { "docs": undefined, + "inline": undefined, "properties": { "credential": { "docs": "Credential to sign", - "inline": true, "type": "DocCredential", }, "options": "DocOptions", @@ -1751,6 +1803,7 @@ }, "DocCredential": { "docs": "Credential to sign", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -1762,6 +1815,7 @@ }, "EndorserInfo": { "docs": undefined, + "inline": undefined, "properties": { "endorser_did": { "docs": "Endorser DID", @@ -1778,6 +1832,7 @@ }, "EndpointsResult": { "docs": undefined, + "inline": undefined, "properties": { "my_endpoint": { "docs": "My endpoint", @@ -1806,6 +1861,7 @@ }, "Filter": { "docs": undefined, + "inline": undefined, "properties": { "const": { "docs": "Const", @@ -1861,6 +1917,7 @@ }, "Generated": { "docs": undefined, + "inline": undefined, "properties": { "master_secret": { "type": "optional", @@ -1896,6 +1953,7 @@ }, "GetDIDEndpointResponse": { "docs": undefined, + "inline": undefined, "properties": { "endpoint": { "docs": "Full verification key", @@ -1914,6 +1972,7 @@ }, "GetDIDVerkeyResponse": { "docs": undefined, + "inline": undefined, "properties": { "verkey": { "docs": "Full verification key", @@ -1932,6 +1991,7 @@ }, "GetNymRoleResponse": { "docs": undefined, + "inline": undefined, "properties": { "role": { "docs": "Ledger role", @@ -1959,6 +2019,7 @@ "HolderModuleResponse": "map", "IndyAttrValue": { "docs": undefined, + "inline": undefined, "properties": { "encoded": { "docs": "Attribute encoded value", @@ -1981,6 +2042,7 @@ }, "IndyCredAbstract": { "docs": undefined, + "inline": undefined, "properties": { "cred_def_id": { "docs": "Credential definition identifier", @@ -2024,6 +2086,7 @@ }, "IndyCredInfo": { "docs": undefined, + "inline": undefined, "properties": { "attrs": { "docs": "Attribute names and value", @@ -2080,6 +2143,7 @@ }, "IndyCredPrecis": { "docs": undefined, + "inline": undefined, "properties": { "cred_info": { "type": "optional", @@ -2105,15 +2169,14 @@ }, "IndyCredRequest": { "docs": undefined, + "inline": undefined, "properties": { "blinded_ms": { "docs": "Blinded master secret", - "inline": true, "type": "IndyCredRequestBlindedMs", }, "blinded_ms_correctness_proof": { "docs": "Blinded master secret correctness proof", - "inline": true, "type": "IndyCredRequestBlindedMsCorrectnessProof", }, "cred_def_id": { @@ -2153,6 +2216,7 @@ }, "IndyCredRequestBlindedMs": { "docs": "Blinded master secret", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -2160,6 +2224,7 @@ }, "IndyCredRequestBlindedMsCorrectnessProof": { "docs": "Blinded master secret correctness proof", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -2167,6 +2232,7 @@ }, "IndyCredential": { "docs": undefined, + "inline": undefined, "properties": { "cred_def_id": { "docs": "Credential definition identifier", @@ -2180,7 +2246,6 @@ }, "rev_reg": { "docs": "Revocation registry state", - "inline": true, "type": "optional", }, "rev_reg_id": { @@ -2205,12 +2270,10 @@ }, "signature": { "docs": "Credential signature", - "inline": true, "type": "signature", }, "signature_correctness_proof": { "docs": "Credential signature correctness proof", - "inline": true, "type": "IndyCredentialSignatureCorrectnessProof", }, "values": { @@ -2219,7 +2282,6 @@ }, "witness": { "docs": "Witness for revocation proof", - "inline": true, "type": "optional", }, }, @@ -2229,6 +2291,7 @@ }, "IndyCredentialRevReg": { "docs": "Revocation registry state", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -2236,6 +2299,7 @@ }, "IndyCredentialSignatureCorrectnessProof": { "docs": "Credential signature correctness proof", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -2247,6 +2311,7 @@ }, "IndyEQProof": { "docs": undefined, + "inline": undefined, "properties": { "a_prime": { "type": "optional", @@ -2297,6 +2362,7 @@ }, "IndyGEProof": { "docs": undefined, + "inline": undefined, "properties": { "alpha": { "type": "optional", @@ -2335,6 +2401,7 @@ }, "IndyGEProofPred": { "docs": undefined, + "inline": undefined, "properties": { "attr_name": { "docs": "Attribute name, indy-canonicalized", @@ -2367,6 +2434,7 @@ }, "IndyKeyCorrectnessProof": { "docs": undefined, + "inline": undefined, "properties": { "c": { "docs": "c in key correctness proof", @@ -2399,6 +2467,7 @@ }, "IndyNonRevocProof": { "docs": undefined, + "inline": undefined, "properties": { "c_list": { "type": "optional>", @@ -2413,6 +2482,7 @@ }, "IndyNonRevocationInterval": { "docs": undefined, + "inline": undefined, "properties": { "from": { "docs": "Earliest time of interest in non-revocation interval", @@ -2443,6 +2513,7 @@ }, "IndyPresAttrSpec": { "docs": undefined, + "inline": undefined, "properties": { "cred_def_id": { "type": "optional", @@ -2476,6 +2547,7 @@ }, "IndyPresPredSpec": { "docs": undefined, + "inline": undefined, "properties": { "cred_def_id": { "docs": "Credential definition identifier", @@ -2530,6 +2602,7 @@ }, "IndyPresPreview": { "docs": undefined, + "inline": undefined, "properties": { "@type": { "docs": "Message type identifier", @@ -2544,6 +2617,7 @@ }, "IndyPresSpec": { "docs": undefined, + "inline": undefined, "properties": { "requested_attributes": { "docs": "Nested object mapping proof request attribute referents to requested-attribute specifiers", @@ -2568,6 +2642,7 @@ }, "IndyPrimaryProof": { "docs": undefined, + "inline": undefined, "properties": { "eq_proof": { "type": "optional", @@ -2587,6 +2662,7 @@ }, "IndyProof": { "docs": undefined, + "inline": undefined, "properties": { "identifiers": { "docs": "Indy proof.identifiers content", @@ -2605,6 +2681,7 @@ }, "IndyProofIdentifier": { "docs": undefined, + "inline": undefined, "properties": { "cred_def_id": { "docs": "Credential definition identifier", @@ -2654,6 +2731,7 @@ }, "IndyProofProof": { "docs": undefined, + "inline": undefined, "properties": { "aggregated_proof": { "type": "optional", @@ -2669,6 +2747,7 @@ }, "IndyProofProofAggregatedProof": { "docs": undefined, + "inline": undefined, "properties": { "c_hash": { "docs": "c_hash value", @@ -2685,6 +2764,7 @@ }, "IndyProofProofProofsProof": { "docs": undefined, + "inline": undefined, "properties": { "non_revoc_proof": { "type": "optional", @@ -2707,6 +2787,7 @@ }, "IndyProofReqAttrSpec": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "Attribute name", @@ -2730,6 +2811,7 @@ }, "IndyProofReqAttrSpecNonRevoked": { "docs": undefined, + "inline": undefined, "properties": { "from": { "docs": "Earliest time of interest in non-revocation interval", @@ -2760,6 +2842,7 @@ }, "IndyProofReqPredSpec": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "Attribute name", @@ -2787,6 +2870,7 @@ }, "IndyProofReqPredSpecNonRevoked": { "docs": undefined, + "inline": undefined, "properties": { "from": { "docs": "Earliest time of interest in non-revocation interval", @@ -2841,6 +2925,7 @@ }, "IndyProofRequest": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "Proof request name", @@ -2884,6 +2969,7 @@ }, "IndyProofRequestNonRevoked": { "docs": undefined, + "inline": undefined, "properties": { "from": { "docs": "Earliest time of interest in non-revocation interval", @@ -2914,6 +3000,7 @@ }, "IndyProofRequestedProof": { "docs": undefined, + "inline": undefined, "properties": { "predicates": { "docs": "Proof requested proof predicates.", @@ -2929,12 +3016,10 @@ }, "self_attested_attrs": { "docs": "Proof requested proof self-attested attributes", - "inline": true, "type": "optional", }, "unrevealed_attrs": { "docs": "Unrevealed attributes", - "inline": true, "type": "optional", }, }, @@ -2944,6 +3029,7 @@ }, "IndyProofRequestedProofPredicate": { "docs": undefined, + "inline": undefined, "properties": { "sub_proof_index": { "docs": "Sub-proof index", @@ -2956,6 +3042,7 @@ }, "IndyProofRequestedProofRevealedAttr": { "docs": undefined, + "inline": undefined, "properties": { "encoded": { "docs": "Encoded value", @@ -2982,6 +3069,7 @@ }, "IndyProofRequestedProofRevealedAttrGroup": { "docs": undefined, + "inline": undefined, "properties": { "sub_proof_index": { "docs": "Sub-proof index", @@ -2998,6 +3086,7 @@ }, "IndyProofRequestedProofSelfAttestedAttrs": { "docs": "Proof requested proof self-attested attributes", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -3005,6 +3094,7 @@ }, "IndyProofRequestedProofUnrevealedAttrs": { "docs": "Unrevealed attributes", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -3012,6 +3102,7 @@ }, "IndyRequestedCredsRequestedAttr": { "docs": undefined, + "inline": undefined, "properties": { "cred_id": { "docs": "Wallet credential identifier (typically but not necessarily a UUID)", @@ -3028,6 +3119,7 @@ }, "IndyRequestedCredsRequestedPred": { "docs": undefined, + "inline": undefined, "properties": { "cred_id": { "docs": "Wallet credential identifier (typically but not necessarily a UUID)", @@ -3051,6 +3143,7 @@ }, "IndyRevRegDef": { "docs": undefined, + "inline": undefined, "properties": { "credDefId": { "docs": "Credential definition identifier", @@ -3100,6 +3193,7 @@ }, "IndyRevRegDefValue": { "docs": undefined, + "inline": undefined, "properties": { "issuanceType": { "docs": "Issuance type", @@ -3140,6 +3234,7 @@ }, "IndyRevRegDefValuePublicKeys": { "docs": undefined, + "inline": undefined, "properties": { "accumKey": { "type": "optional", @@ -3151,6 +3246,7 @@ }, "IndyRevRegDefValuePublicKeysAccumKey": { "docs": undefined, + "inline": undefined, "properties": { "z": { "docs": "Value for z", @@ -3163,6 +3259,7 @@ }, "IndyRevRegEntry": { "docs": undefined, + "inline": undefined, "properties": { "value": { "type": "optional", @@ -3184,6 +3281,7 @@ }, "IndyRevRegEntryValue": { "docs": undefined, + "inline": undefined, "properties": { "accum": { "docs": "Accumulator value", @@ -3204,6 +3302,7 @@ }, "InputDescriptors": { "docs": undefined, + "inline": undefined, "properties": { "constraints": { "type": "optional", @@ -3217,7 +3316,6 @@ }, "metadata": { "docs": "Metadata dictionary", - "inline": true, "type": "optional", }, "name": { @@ -3243,6 +3341,7 @@ "IntroModuleResponse": "map", "InvitationMessage": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -3281,6 +3380,7 @@ }, "InvitationRecord": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "Time of record creation", @@ -3340,6 +3440,7 @@ }, "InvitationResult": { "docs": undefined, + "inline": undefined, "properties": { "connection_id": { "docs": "Connection identifier", @@ -3360,6 +3461,7 @@ "IssueCredentialModuleResponse": "map", "IssuerCredRevRecord": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "Time of record creation", @@ -3434,6 +3536,7 @@ }, "IssuerRevRegRecord": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "Time of record creation", @@ -3552,6 +3655,7 @@ }, "Keylist": { "docs": undefined, + "inline": undefined, "properties": { "results": { "docs": "List of keylist records", @@ -3564,6 +3668,7 @@ }, "KeylistQuery": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -3575,7 +3680,6 @@ }, "filter": { "docs": "Query dictionary object", - "inline": true, "type": "optional", }, "paginate": { @@ -3588,6 +3692,7 @@ }, "KeylistQueryFilter": { "docs": "Query dictionary object", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -3595,6 +3700,7 @@ }, "KeylistQueryPaginate": { "docs": undefined, + "inline": undefined, "properties": { "limit": { "docs": "Limit for keylist query", @@ -3611,6 +3717,7 @@ }, "KeylistUpdate": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -3631,6 +3738,7 @@ }, "KeylistUpdateRule": { "docs": undefined, + "inline": undefined, "properties": { "action": { "docs": "Action for specific key", @@ -3663,6 +3771,7 @@ }, "LDProofVCDetail": { "docs": undefined, + "inline": undefined, "properties": { "credential": "LdProofVcDetailCredential", "options": "LdProofVcDetailOptions", @@ -3673,6 +3782,7 @@ }, "LDProofVCDetailOptions": { "docs": undefined, + "inline": undefined, "properties": { "challenge": { "docs": "A challenge to include in the proof. SHOULD be provided by the requesting party of the credential (=holder)", @@ -3722,6 +3832,7 @@ }, "LedgerConfigInstance": { "docs": undefined, + "inline": undefined, "properties": { "genesis_file": { "docs": "genesis_file", @@ -3750,6 +3861,7 @@ }, "LedgerConfigList": { "docs": undefined, + "inline": undefined, "properties": { "ledger_config_list": "list", }, @@ -3760,6 +3872,7 @@ "LedgerModulesResult": "map", "LinkedDataProof": { "docs": undefined, + "inline": undefined, "properties": { "challenge": { "docs": "Associates a challenge with a proof, for use with a proofPurpose such as authentication", @@ -3822,6 +3935,7 @@ }, "MediationDeny": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -3844,6 +3958,7 @@ }, "MediationGrant": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -3867,6 +3982,7 @@ }, "MediationList": { "docs": undefined, + "inline": undefined, "properties": { "results": { "docs": "List of mediation records", @@ -3879,6 +3995,7 @@ }, "MediationRecord": { "docs": undefined, + "inline": undefined, "properties": { "connection_id": "string", "created_at": { @@ -3928,6 +4045,7 @@ }, "Menu": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -3960,6 +4078,7 @@ }, "MenuForm": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "Additional descriptive text for menu form", @@ -3984,6 +4103,7 @@ }, "MenuFormParam": { "docs": undefined, + "inline": undefined, "properties": { "default": { "docs": "Default parameter value", @@ -4016,6 +4136,7 @@ }, "MenuJson": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "Introductory text for the menu", @@ -4040,6 +4161,7 @@ }, "MenuOption": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "Additional descriptive text for menu option", @@ -4068,6 +4190,7 @@ "MultitenantModuleResponse": "map", "OobRecord": { "docs": undefined, + "inline": undefined, "properties": { "attach_thread_id": { "docs": "Connection record identifier", @@ -4169,6 +4292,7 @@ }, "PingRequestResponse": { "docs": undefined, + "inline": undefined, "properties": { "thread_id": { "docs": "Thread ID of the ping message", @@ -4181,6 +4305,7 @@ }, "PresentationDefinition": { "docs": undefined, + "inline": undefined, "properties": { "format": { "type": "optional", @@ -4216,6 +4341,7 @@ }, "PresentationProposal": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -4239,6 +4365,7 @@ }, "PresentationRequest": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -4262,6 +4389,7 @@ }, "ProtocolDescriptor": { "docs": undefined, + "inline": undefined, "properties": { "pid": "string", "roles": { @@ -4275,6 +4403,7 @@ }, "PublishRevocations": { "docs": undefined, + "inline": undefined, "properties": { "rrid2crid": { "docs": "Credential revocation ids by revocation registry id", @@ -4287,6 +4416,7 @@ }, "Queries": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -4306,6 +4436,7 @@ }, "Query": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -4326,6 +4457,7 @@ }, "QueryItem": { "docs": undefined, + "inline": undefined, "properties": { "feature-type": { "docs": "feature type", @@ -4355,6 +4487,7 @@ }, "RawEncoded": { "docs": undefined, + "inline": undefined, "properties": { "encoded": { "docs": "Encoded value", @@ -4377,15 +4510,14 @@ }, "ResolutionResult": { "docs": undefined, + "inline": undefined, "properties": { "did_document": { "docs": "DID Document", - "inline": true, "type": "ResolutionResultDidDocument", }, "metadata": { "docs": "Resolution metadata", - "inline": true, "type": "ResolutionResultMetadata", }, }, @@ -4395,6 +4527,7 @@ }, "ResolutionResultDidDocument": { "docs": "DID Document", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4402,6 +4535,7 @@ }, "ResolutionResultMetadata": { "docs": "Resolution metadata", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4409,6 +4543,7 @@ }, "RevRegIssuedResult": { "docs": undefined, + "inline": undefined, "properties": { "result": { "docs": "Number of credentials issued against revocation registry", @@ -4428,6 +4563,7 @@ }, "RevRegResult": { "docs": undefined, + "inline": undefined, "properties": { "result": { "type": "optional", @@ -4439,20 +4575,18 @@ }, "RevRegWalletUpdatedResult": { "docs": undefined, + "inline": undefined, "properties": { "accum_calculated": { "docs": "Calculated accumulator for phantom revocations", - "inline": true, "type": "optional", }, "accum_fixed": { "docs": "Applied ledger transaction to fix revocations", - "inline": true, "type": "optional", }, "rev_reg_delta": { "docs": "Indy revocation registry delta", - "inline": true, "type": "optional", }, }, @@ -4462,6 +4596,7 @@ }, "RevRegWalletUpdatedResultAccumCalculated": { "docs": "Calculated accumulator for phantom revocations", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4469,6 +4604,7 @@ }, "RevRegWalletUpdatedResultAccumFixed": { "docs": "Applied ledger transaction to fix revocations", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4476,6 +4612,7 @@ }, "RevRegWalletUpdatedResultRevRegDelta": { "docs": "Indy revocation registry delta", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4483,6 +4620,7 @@ }, "RevRegsCreated": { "docs": undefined, + "inline": undefined, "properties": { "rev_reg_ids": { "type": "optional>", @@ -4495,6 +4633,7 @@ "RevocationModuleResponse": "map", "RouteRecord": { "docs": undefined, + "inline": undefined, "properties": { "connection_id": { "type": "optional", @@ -4540,6 +4679,7 @@ }, "Schema": { "docs": undefined, + "inline": undefined, "properties": { "attrNames": { "docs": "Schema attribute names", @@ -4597,6 +4737,7 @@ }, "SchemaGetResult": { "docs": undefined, + "inline": undefined, "properties": { "schema": { "type": "optional", @@ -4608,6 +4749,7 @@ }, "SchemaInputDescriptor": { "docs": undefined, + "inline": undefined, "properties": { "required": { "docs": "Required", @@ -4624,6 +4766,7 @@ }, "SchemaSendResult": { "docs": undefined, + "inline": undefined, "properties": { "schema": { "type": "optional", @@ -4649,6 +4792,7 @@ }, "SchemasCreatedResult": { "docs": undefined, + "inline": undefined, "properties": { "schema_ids": { "type": "optional>", @@ -4660,6 +4804,7 @@ }, "SchemasInputDescriptorFilter": { "docs": undefined, + "inline": undefined, "properties": { "oneof_filter": { "docs": "oneOf", @@ -4679,6 +4824,7 @@ }, "ServiceDecorator": { "docs": undefined, + "inline": undefined, "properties": { "recipientKeys": { "docs": "List of recipient keys", @@ -4699,6 +4845,7 @@ }, "SignResponse": { "docs": undefined, + "inline": undefined, "properties": { "error": { "docs": "Error text", @@ -4706,7 +4853,6 @@ }, "signed_doc": { "docs": "Signed document", - "inline": true, "type": "optional", }, }, @@ -4716,6 +4862,7 @@ }, "SignResponseSignedDoc": { "docs": "Signed document", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4723,6 +4870,7 @@ }, "SignatureOptions": { "docs": undefined, + "inline": undefined, "properties": { "challenge": { "type": "optional", @@ -4742,6 +4890,7 @@ }, "SignedDoc": { "docs": undefined, + "inline": undefined, "properties": { "proof": "SignedDocProof", }, @@ -4755,6 +4904,7 @@ }, "SubmissionRequirements": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "Count Value", @@ -4794,6 +4944,7 @@ }, "TAAAcceptance": { "docs": undefined, + "inline": undefined, "properties": { "mechanism": { "type": "optional", @@ -4815,6 +4966,7 @@ }, "TAAInfo": { "docs": undefined, + "inline": undefined, "properties": { "aml_record": { "type": "optional", @@ -4835,6 +4987,7 @@ }, "TAARecord": { "docs": undefined, + "inline": undefined, "properties": { "digest": { "type": "optional", @@ -4852,6 +5005,7 @@ }, "TAAResult": { "docs": undefined, + "inline": undefined, "properties": { "result": { "type": "optional", @@ -4863,6 +5017,7 @@ }, "TailsDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "message": { "type": "optional", @@ -4874,6 +5029,7 @@ }, "TransactionJobs": { "docs": undefined, + "inline": undefined, "properties": { "transaction_my_job": { "docs": "My transaction related job", @@ -4912,6 +5068,7 @@ }, "TransactionList": { "docs": undefined, + "inline": undefined, "properties": { "results": { "docs": "List of transaction records", @@ -4924,6 +5081,7 @@ }, "TransactionRecord": { "docs": undefined, + "inline": undefined, "properties": { "_type": { "docs": "Transaction type", @@ -4954,7 +5112,6 @@ "type": "optional>", }, "meta_data": { - "inline": true, "type": "optional", }, "signature_request": { @@ -4972,7 +5129,6 @@ "type": "optional", }, "timing": { - "inline": true, "type": "optional", }, "trace": { @@ -5000,6 +5156,7 @@ }, "TransactionRecordMessagesAttachItem": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -5007,6 +5164,7 @@ }, "TransactionRecordMetaData": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -5014,6 +5172,7 @@ }, "TransactionRecordSignatureRequestItem": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -5021,6 +5180,7 @@ }, "TransactionRecordSignatureResponseItem": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -5028,6 +5188,7 @@ }, "TransactionRecordTiming": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -5035,6 +5196,7 @@ }, "TxnOrCredentialDefinitionSendResult": { "docs": undefined, + "inline": undefined, "properties": { "sent": { "type": "optional", @@ -5053,6 +5215,7 @@ }, "TxnOrPublishRevocationsResult": { "docs": undefined, + "inline": undefined, "properties": { "sent": { "type": "optional", @@ -5071,6 +5234,7 @@ }, "TxnOrRegisterLedgerNymResponse": { "docs": undefined, + "inline": undefined, "properties": { "success": { "docs": "Success of nym registration operation", @@ -5090,6 +5254,7 @@ }, "TxnOrRevRegResult": { "docs": undefined, + "inline": undefined, "properties": { "sent": { "type": "optional", @@ -5108,6 +5273,7 @@ }, "TxnOrSchemaSendResult": { "docs": undefined, + "inline": undefined, "properties": { "sent": { "type": "optional", @@ -5134,6 +5300,7 @@ }, "V10CredentialExchange": { "docs": undefined, + "inline": undefined, "properties": { "auto_issue": { "docs": "Issuer choice to issue to request in this credential exchange", @@ -5196,7 +5363,6 @@ }, "credential_request_metadata": { "docs": "(Indy) credential request metadata", - "inline": true, "type": "optional", }, "error_msg": { @@ -5285,6 +5451,7 @@ }, "V10CredentialExchangeCredentialRequestMetadata": { "docs": "(Indy) credential request metadata", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -5302,6 +5469,7 @@ }, "V10CredentialExchangeListResult": { "docs": undefined, + "inline": undefined, "properties": { "results": { "docs": "Aries#0036 v1.0 credential exchange records", @@ -5328,6 +5496,7 @@ }, "V10DiscoveryExchangeListResult": { "docs": undefined, + "inline": undefined, "properties": { "results": { "type": "optional>", @@ -5343,6 +5512,7 @@ }, "V10DiscoveryRecord": { "docs": undefined, + "inline": undefined, "properties": { "connection_id": { "docs": "Connection identifier", @@ -5406,6 +5576,7 @@ "V10PresentProofModuleResponse": "map", "V10PresentationExchange": { "docs": undefined, + "inline": undefined, "properties": { "auto_present": { "docs": "Prover choice to auto-present proof as verifier requests", @@ -5503,6 +5674,7 @@ }, "V10PresentationExchangeList": { "docs": undefined, + "inline": undefined, "properties": { "results": { "docs": "Aries RFC 37 v1.0 presentation exchange records", @@ -5551,6 +5723,7 @@ }, "V20CredAttrSpec": { "docs": undefined, + "inline": undefined, "properties": { "mime-type": { "docs": "MIME type: omit for (null) default", @@ -5579,6 +5752,7 @@ }, "V20CredExFree": { "docs": undefined, + "inline": undefined, "properties": { "auto_remove": { "docs": "Whether to remove the credential exchange record on completion (overrides --preserve-exchange-records configuration setting)", @@ -5617,6 +5791,7 @@ }, "V20CredExRecord": { "docs": undefined, + "inline": undefined, "properties": { "auto_issue": { "docs": "Issuer choice to issue to request in this credential exchange", @@ -5711,21 +5886,18 @@ }, "V20CredExRecordByFormat": { "docs": undefined, + "inline": undefined, "properties": { "cred_issue": { - "inline": true, "type": "optional", }, "cred_offer": { - "inline": true, "type": "optional", }, "cred_proposal": { - "inline": true, "type": "optional", }, "cred_request": { - "inline": true, "type": "optional", }, }, @@ -5735,6 +5907,7 @@ }, "V20CredExRecordByFormatCredIssue": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -5742,6 +5915,7 @@ }, "V20CredExRecordByFormatCredOffer": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -5749,6 +5923,7 @@ }, "V20CredExRecordByFormatCredProposal": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -5756,6 +5931,7 @@ }, "V20CredExRecordByFormatCredRequest": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -5783,6 +5959,7 @@ }, "V20CredExRecordDetail": { "docs": undefined, + "inline": undefined, "properties": { "cred_ex_record": { "type": "optional", @@ -5804,6 +5981,7 @@ }, "V20CredExRecordIndy": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "Time of record creation", @@ -5829,7 +6007,6 @@ }, "cred_request_metadata": { "docs": "Credential request metadata for indy holder", - "inline": true, "type": "optional", }, "cred_rev_id": { @@ -5873,6 +6050,7 @@ }, "V20CredExRecordIndyCredRequestMetadata": { "docs": "Credential request metadata for indy holder", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -5890,6 +6068,7 @@ }, "V20CredExRecordLdProof": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "Time of record creation", @@ -5934,6 +6113,7 @@ }, "V20CredExRecordListResult": { "docs": undefined, + "inline": undefined, "properties": { "results": { "docs": "Credential exchange records and corresponding detail records", @@ -6003,6 +6183,7 @@ }, "V20CredFilter": { "docs": undefined, + "inline": undefined, "properties": { "indy": { "type": "optional", @@ -6017,6 +6198,7 @@ }, "V20CredFilterIndy": { "docs": undefined, + "inline": undefined, "properties": { "cred_def_id": { "docs": "Credential definition identifier", @@ -6083,6 +6265,7 @@ }, "V20CredFormat": { "docs": undefined, + "inline": undefined, "properties": { "attach_id": { "docs": "Attachment identifier", @@ -6099,6 +6282,7 @@ }, "V20CredIssue": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -6131,6 +6315,7 @@ }, "V20CredOffer": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -6166,6 +6351,7 @@ }, "V20CredPreview": { "docs": undefined, + "inline": undefined, "properties": { "@type": { "docs": "Message type identifier", @@ -6179,6 +6365,7 @@ }, "V20CredProposal": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -6214,6 +6401,7 @@ }, "V20CredRequest": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -6246,6 +6434,7 @@ }, "V20DiscoveryExchangeListResult": { "docs": undefined, + "inline": undefined, "properties": { "results": { "type": "optional>", @@ -6261,6 +6450,7 @@ }, "V20DiscoveryExchangeResult": { "docs": undefined, + "inline": undefined, "properties": { "results": { "type": "optional", @@ -6272,6 +6462,7 @@ }, "V20DiscoveryRecord": { "docs": undefined, + "inline": undefined, "properties": { "connection_id": { "docs": "Connection identifier", @@ -6335,6 +6526,7 @@ "V20IssueCredentialModuleResponse": "map", "V20Pres": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -6362,6 +6554,7 @@ }, "V20PresExRecord": { "docs": undefined, + "inline": undefined, "properties": { "auto_present": { "docs": "Prover choice to auto-present proof as verifier requests", @@ -6449,17 +6642,15 @@ }, "V20PresExRecordByFormat": { "docs": undefined, + "inline": undefined, "properties": { "pres": { - "inline": true, "type": "optional", }, "pres_proposal": { - "inline": true, "type": "optional", }, "pres_request": { - "inline": true, "type": "optional", }, }, @@ -6469,6 +6660,7 @@ }, "V20PresExRecordByFormatPresProposal": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -6476,6 +6668,7 @@ }, "V20PresExRecordByFormatPresRequest": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -6493,6 +6686,7 @@ }, "V20PresExRecordList": { "docs": undefined, + "inline": undefined, "properties": { "results": { "docs": "Presentation exchange records", @@ -6572,6 +6766,7 @@ }, "V20PresFormat": { "docs": undefined, + "inline": undefined, "properties": { "attach_id": { "docs": "Attachment identifier", @@ -6588,6 +6783,7 @@ }, "V20PresProposal": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -6615,6 +6811,7 @@ }, "V20PresProposalByFormat": { "docs": undefined, + "inline": undefined, "properties": { "dif": { "type": "optional", @@ -6637,6 +6834,7 @@ }, "V20PresRequest": { "docs": undefined, + "inline": undefined, "properties": { "@id": { "docs": "Message identifier", @@ -6668,6 +6866,7 @@ }, "V20PresRequestByFormat": { "docs": undefined, + "inline": undefined, "properties": { "dif": { "type": "optional", @@ -6699,6 +6898,7 @@ "V20PresentProofModuleResponse": "map", "VCRecord": { "docs": undefined, + "inline": undefined, "properties": { "contexts": { "type": "optional>", @@ -6708,7 +6908,6 @@ }, "cred_value": { "docs": "(JSON-serializable) credential value", - "inline": true, "type": "optional", }, "expanded_types": { @@ -6742,6 +6941,7 @@ }, "VCRecordList": { "docs": undefined, + "inline": undefined, "properties": { "results": { "type": "optional>", @@ -6753,6 +6953,7 @@ }, "VcRecordCredValue": { "docs": "(JSON-serializable) credential value", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -6764,6 +6965,7 @@ }, "VerifyResponse": { "docs": undefined, + "inline": undefined, "properties": { "error": { "docs": "Error text", @@ -6777,6 +6979,7 @@ }, "WalletList": { "docs": undefined, + "inline": undefined, "properties": { "results": { "docs": "List of wallet records", @@ -6790,6 +6993,7 @@ "WalletModuleResponse": "map", "WalletRecord": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "Time of record creation", @@ -6807,7 +7011,6 @@ }, "settings": { "docs": "Settings for this wallet.", - "inline": true, "type": "optional", }, "state": { @@ -6845,6 +7048,7 @@ }, "WalletRecordSettings": { "docs": "Settings for this wallet.", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -6852,6 +7056,7 @@ }, "WriteLedgerRequest": { "docs": undefined, + "inline": undefined, "properties": { "ledger_id": { "type": "optional", @@ -6883,6 +7088,7 @@ }, "jwt": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -6890,6 +7096,7 @@ }, "ldp": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -6897,6 +7104,7 @@ }, "metadata": { "docs": "Metadata dictionary", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -6914,6 +7122,7 @@ }, "pres": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -6931,6 +7140,7 @@ }, "signature": { "docs": "Credential signature", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -6938,6 +7148,7 @@ }, "witness": { "docs": "Witness for revocation proof", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -7022,12 +7233,12 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true AdminConfig: properties: config: type: optional docs: Configuration settings - inline: true source: openapi: ../openapi.yml AdminModules: @@ -7044,24 +7255,24 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true AdminStatusTiming: docs: Timing results properties: {} source: openapi: ../openapi.yml + inline: true AdminStatus: properties: conductor: type: optional docs: Conductor statistics - inline: true label: type: optional docs: Default label timing: type: optional docs: Timing results - inline: true version: type: optional docs: Version code @@ -7206,46 +7417,46 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true ClaimFormatJwtVc: properties: {} source: openapi: ../openapi.yml + inline: true ClaimFormatJwtVp: properties: {} source: openapi: ../openapi.yml + inline: true ldp: properties: {} source: openapi: ../openapi.yml + inline: true ClaimFormatLdpVc: properties: {} source: openapi: ../openapi.yml + inline: true ClaimFormatLdpVp: properties: {} source: openapi: ../openapi.yml + inline: true ClaimFormat: properties: jwt: type: optional - inline: true jwt_vc: type: optional - inline: true jwt_vp: type: optional - inline: true ldp: type: optional - inline: true ldp_vc: type: optional - inline: true ldp_vp: type: optional - inline: true source: openapi: ../openapi.yml ConnRecordAccept: @@ -7414,12 +7625,12 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true ConnectionMetadata: properties: results: type: optional docs: Dictionary of metadata associated with connection. - inline: true source: openapi: ../openapi.yml ConnectionModuleResponse: map @@ -7519,6 +7730,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true CreateWalletResponse: properties: created_at: @@ -7534,7 +7746,6 @@ types: settings: type: optional docs: Settings for this wallet. - inline: true state: type: optional docs: Current record state @@ -7640,12 +7851,12 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true CredRevIndyRecordsResult: properties: rev_reg_delta: type: optional docs: Indy revocation registry delta - inline: true source: openapi: ../openapi.yml CredRevRecordDetailsResult: @@ -7985,6 +8196,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true DifPresSpecRevealDoc: docs: >- reveal doc [JSON-LD frame] dict used to derive the credential when @@ -7992,6 +8204,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true DIFPresSpec: properties: issuer_id: @@ -8006,13 +8219,11 @@ types: docs: >- Mapping of input_descriptor id to list of stored W3C credential record_id - inline: true reveal_doc: type: optional docs: >- reveal doc [JSON-LD frame] dict used to derive the credential when selective disclosure is required - inline: true source: openapi: ../openapi.yml DIFProofProposal: @@ -8062,12 +8273,12 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true Doc: properties: credential: type: DocCredential docs: Credential to sign - inline: true options: DocOptions source: openapi: ../openapi.yml @@ -8273,21 +8484,21 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true IndyCredRequestBlindedMsCorrectnessProof: docs: Blinded master secret correctness proof properties: {} source: openapi: ../openapi.yml + inline: true IndyCredRequest: properties: blinded_ms: type: IndyCredRequestBlindedMs docs: Blinded master secret - inline: true blinded_ms_correctness_proof: type: IndyCredRequestBlindedMsCorrectnessProof docs: Blinded master secret correctness proof - inline: true cred_def_id: type: string docs: Credential definition identifier @@ -8312,21 +8523,25 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true signature: docs: Credential signature properties: {} source: openapi: ../openapi.yml + inline: true IndyCredentialSignatureCorrectnessProof: docs: Credential signature correctness proof properties: {} source: openapi: ../openapi.yml + inline: true witness: docs: Witness for revocation proof properties: {} source: openapi: ../openapi.yml + inline: true IndyCredential: properties: cred_def_id: @@ -8338,7 +8553,6 @@ types: rev_reg: type: optional docs: Revocation registry state - inline: true rev_reg_id: type: optional docs: Revocation registry identifier @@ -8354,18 +8568,15 @@ types: signature: type: signature docs: Credential signature - inline: true signature_correctness_proof: type: IndyCredentialSignatureCorrectnessProof docs: Credential signature correctness proof - inline: true values: type: map docs: Credential attributes witness: type: optional docs: Witness for revocation proof - inline: true source: openapi: ../openapi.yml IndyEQProof: @@ -8755,11 +8966,13 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true IndyProofRequestedProofUnrevealedAttrs: docs: Unrevealed attributes properties: {} source: openapi: ../openapi.yml + inline: true IndyProofRequestedProof: properties: predicates: @@ -8776,11 +8989,9 @@ types: self_attested_attrs: type: optional docs: Proof requested proof self-attested attributes - inline: true unrevealed_attrs: type: optional docs: Unrevealed attributes - inline: true source: openapi: ../openapi.yml IndyProofRequestedProofPredicate: @@ -8938,6 +9149,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true InputDescriptors: properties: constraints: @@ -8950,7 +9162,6 @@ types: metadata: type: optional docs: Metadata dictionary - inline: true name: type: optional docs: Name @@ -9173,6 +9384,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true KeylistQuery: properties: '@id': @@ -9184,7 +9396,6 @@ types: filter: type: optional docs: Query dictionary object - inline: true paginate: type: optional source: @@ -9711,21 +9922,21 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true ResolutionResultMetadata: docs: Resolution metadata properties: {} source: openapi: ../openapi.yml + inline: true ResolutionResult: properties: did_document: type: ResolutionResultDidDocument docs: DID Document - inline: true metadata: type: ResolutionResultMetadata docs: Resolution metadata - inline: true source: openapi: ../openapi.yml RevRegIssuedResult: @@ -9748,30 +9959,30 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true RevRegWalletUpdatedResultAccumFixed: docs: Applied ledger transaction to fix revocations properties: {} source: openapi: ../openapi.yml + inline: true RevRegWalletUpdatedResultRevRegDelta: docs: Indy revocation registry delta properties: {} source: openapi: ../openapi.yml + inline: true RevRegWalletUpdatedResult: properties: accum_calculated: type: optional docs: Calculated accumulator for phantom revocations - inline: true accum_fixed: type: optional docs: Applied ledger transaction to fix revocations - inline: true rev_reg_delta: type: optional docs: Indy revocation registry delta - inline: true source: openapi: ../openapi.yml RevRegsCreated: @@ -9903,6 +10114,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true SignResponse: properties: error: @@ -9911,7 +10123,6 @@ types: signed_doc: type: optional docs: Signed document - inline: true source: openapi: ../openapi.yml SignatureOptions: @@ -10046,22 +10257,27 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true TransactionRecordMetaData: properties: {} source: openapi: ../openapi.yml + inline: true TransactionRecordSignatureRequestItem: properties: {} source: openapi: ../openapi.yml + inline: true TransactionRecordSignatureResponseItem: properties: {} source: openapi: ../openapi.yml + inline: true TransactionRecordTiming: properties: {} source: openapi: ../openapi.yml + inline: true TransactionRecord: properties: _type: @@ -10086,7 +10302,6 @@ types: type: optional> meta_data: type: optional - inline: true signature_request: type: optional> signature_response: @@ -10099,7 +10314,6 @@ types: docs: Thread Identifier timing: type: optional - inline: true trace: type: optional docs: Record trace information, based on agent configuration @@ -10161,6 +10375,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true V10CredentialExchangeInitiator: enum: - self @@ -10221,7 +10436,6 @@ types: credential_request_metadata: type: optional docs: (Indy) credential request metadata - inline: true error_msg: type: optional docs: Error message @@ -10555,32 +10769,32 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true V20CredExRecordByFormatCredOffer: properties: {} source: openapi: ../openapi.yml + inline: true V20CredExRecordByFormatCredProposal: properties: {} source: openapi: ../openapi.yml + inline: true V20CredExRecordByFormatCredRequest: properties: {} source: openapi: ../openapi.yml + inline: true V20CredExRecordByFormat: properties: cred_issue: type: optional - inline: true cred_offer: type: optional - inline: true cred_proposal: type: optional - inline: true cred_request: type: optional - inline: true source: openapi: ../openapi.yml V20CredExRecordDetail: @@ -10598,6 +10812,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true V20CredExRecordIndy: properties: created_at: @@ -10619,7 +10834,6 @@ types: cred_request_metadata: type: optional docs: Credential request metadata for indy holder - inline: true cred_rev_id: type: optional docs: Credential revocation identifier within revocation registry @@ -11005,25 +11219,25 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true V20PresExRecordByFormatPresProposal: properties: {} source: openapi: ../openapi.yml + inline: true V20PresExRecordByFormatPresRequest: properties: {} source: openapi: ../openapi.yml + inline: true V20PresExRecordByFormat: properties: pres: type: optional - inline: true pres_proposal: type: optional - inline: true pres_request: type: optional - inline: true source: openapi: ../openapi.yml V20PresExRecordList: @@ -11104,6 +11318,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true VCRecord: properties: contexts: @@ -11113,7 +11328,6 @@ types: cred_value: type: optional docs: (JSON-serializable) credential value - inline: true expanded_types: type: optional> given_id: @@ -11167,6 +11381,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true WalletRecord: properties: created_at: @@ -11182,7 +11397,6 @@ types: settings: type: optional docs: Settings for this wallet. - inline: true state: type: optional docs: Current record state @@ -12825,6 +13039,7 @@ docs: Simple messaging "types": { "ConnectionMetadataSetRequestMetadata": { "docs": "Dictionary of metadata to set for connection.", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -12832,6 +13047,7 @@ docs: Simple messaging }, "CreateInvitationRequestMetadata": { "docs": "Optional metadata to attach to the connection created with the invitation", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -12916,11 +13132,13 @@ docs: Simple messaging properties: {} source: openapi: ../openapi.yml + inline: true ConnectionMetadataSetRequestMetadata: docs: Dictionary of metadata to set for connection. properties: {} source: openapi: ../openapi.yml + inline: true imports: root: __package__.yml service: @@ -29288,6 +29506,7 @@ docs: Interaction with ledger }, "KeylistQueryFilterRequestFilter": { "docs": "Filter for keylist query", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -29829,6 +30048,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true GetMatchingMediationRecordsRequestState: enum: - request @@ -30976,6 +31196,7 @@ docs: Multitenant wallet management "types": { "InvitationCreateRequestMetadata": { "docs": "Optional metadata to attach to the connection created with the invitation", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -30991,6 +31212,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true service: auth: false base-path: '' diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/assembly.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/assembly.json index 37e3055f359..08c5dad13a5 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/assembly.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/assembly.json @@ -100,6 +100,7 @@ }, "AutoHighlightResult": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of times the key phrase appears in the audio file", @@ -126,6 +127,7 @@ "docs": "An array of results for the Key Phrases model, if it was enabled during the transcription request. See [Key phrases](https://www.assemblyai.com/docs/Models/key_phrases) for more information. ", + "inline": undefined, "properties": { "results": { "docs": "A temporally-sequential array of Key Phrases", @@ -138,6 +140,7 @@ See [Key phrases](https://www.assemblyai.com/docs/Models/key_phrases) for more i }, "Chapter": { "docs": "Chapter of the audio file", + "inline": undefined, "properties": { "end": { "docs": "The starting time, in milliseconds, for the chapter", @@ -166,6 +169,7 @@ See [Key phrases](https://www.assemblyai.com/docs/Models/key_phrases) for more i }, "ContentSafetyLabel": { "docs": undefined, + "inline": undefined, "properties": { "confidence": { "docs": "The confidence score for the topic being discussed, from 0 to 1", @@ -200,6 +204,7 @@ See [Key phrases](https://www.assemblyai.com/docs/Models/key_phrases) for more i }, "ContentSafetyLabelResult": { "docs": undefined, + "inline": undefined, "properties": { "labels": { "docs": "An array of objects, one per sensitive topic that was detected in the section", @@ -236,6 +241,7 @@ See [Key phrases](https://www.assemblyai.com/docs/Models/key_phrases) for more i }, "CreateTranscriptOptionalParameters": { "docs": "The parameters for creating a transcript", + "inline": undefined, "properties": { "audio_end_at": { "docs": "The point in time, in milliseconds, to stop transcribing in your media file", @@ -385,6 +391,7 @@ Valid values are in the range [0, 1] inclusive. }, "Entity": { "docs": "A detected entity", + "inline": undefined, "properties": { "end": { "docs": "The ending time, in milliseconds, for the detected entity in the audio file", @@ -536,6 +543,7 @@ Valid values are in the range [0, 1] inclusive. }, "Error": { "docs": undefined, + "inline": undefined, "properties": { "error": { "docs": "Error message", @@ -553,6 +561,7 @@ Valid values are in the range [0, 1] inclusive. "extends": [ "LemurBaseResponse", ], + "inline": undefined, "properties": { "response": { "docs": "The response generated by LeMUR.", @@ -565,6 +574,7 @@ Valid values are in the range [0, 1] inclusive. }, "LemurBaseParameters": { "docs": undefined, + "inline": undefined, "properties": { "context": { "docs": "Context to provide the model. This can be a string or a free-form JSON value.", @@ -595,6 +605,7 @@ Can be any value between 0.0 and 1.0 inclusive. "discriminated": false, "docs": "Context to provide the model. This can be a string or a free-form JSON value.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -605,6 +616,7 @@ Can be any value between 0.0 and 1.0 inclusive. }, "LemurBaseResponse": { "docs": undefined, + "inline": undefined, "properties": { "request_id": { "docs": "The ID of the LeMUR request", @@ -628,6 +640,7 @@ Can be any value between 0.0 and 1.0 inclusive. }, "LemurQuestion": { "docs": undefined, + "inline": undefined, "properties": { "answer_format": { "docs": "How you want the answer to be returned. This can be any text. Can't be used with answer_options. Examples: "short sentence", "bullet points" @@ -654,6 +667,7 @@ Can be any value between 0.0 and 1.0 inclusive. }, "LemurQuestionAnswer": { "docs": "An answer generated by LeMUR and its question.", + "inline": undefined, "properties": { "answer": { "docs": "The answer generated by LeMUR.", @@ -673,6 +687,7 @@ Can be any value between 0.0 and 1.0 inclusive. "extends": [ "LemurBaseResponse", ], + "inline": undefined, "properties": { "response": { "docs": "The answers generated by LeMUR and their questions.", @@ -687,6 +702,7 @@ Can be any value between 0.0 and 1.0 inclusive. "discriminated": false, "docs": "Any context about the transcripts you wish to provide. This can be a string, or free-form JSON.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -700,6 +716,7 @@ Can be any value between 0.0 and 1.0 inclusive. "extends": [ "LemurBaseResponse", ], + "inline": undefined, "properties": { "response": { "docs": "The response generated by LeMUR.", @@ -715,6 +732,7 @@ Can be any value between 0.0 and 1.0 inclusive. "extends": [ "LemurBaseResponse", ], + "inline": undefined, "properties": { "response": { "docs": "The response generated by LeMUR.", @@ -727,6 +745,7 @@ Can be any value between 0.0 and 1.0 inclusive. }, "PageDetails": { "docs": undefined, + "inline": undefined, "properties": { "current_url": "string", "limit": "integer", @@ -740,6 +759,7 @@ Can be any value between 0.0 and 1.0 inclusive. }, "ParagraphsResponse": { "docs": undefined, + "inline": undefined, "properties": { "audio_duration": "double", "confidence": { @@ -795,6 +815,7 @@ Can be any value between 0.0 and 1.0 inclusive. }, "PurgeLemurRequestDataResponse": { "docs": undefined, + "inline": undefined, "properties": { "deleted": { "docs": "Whether the request data was deleted.", @@ -815,6 +836,7 @@ Can be any value between 0.0 and 1.0 inclusive. }, "RealtimeTemporaryTokenResponse": { "docs": undefined, + "inline": undefined, "properties": { "token": { "docs": "The temporary authentication token for real-time transcription", @@ -827,6 +849,7 @@ Can be any value between 0.0 and 1.0 inclusive. }, "RedactedAudioResponse": { "docs": undefined, + "inline": undefined, "properties": { "redacted_audio_url": { "docs": "The URL of the redacted audio file", @@ -847,6 +870,7 @@ Can be any value between 0.0 and 1.0 inclusive. }, "SentencesResponse": { "docs": undefined, + "inline": undefined, "properties": { "audio_duration": "double", "confidence": { @@ -878,6 +902,7 @@ Can be any value between 0.0 and 1.0 inclusive. }, "SentimentAnalysisResult": { "docs": "The result of the sentiment analysis model.", + "inline": undefined, "properties": { "confidence": { "docs": "The confidence score for the detected sentiment of the sentence, from 0 to 1", @@ -917,6 +942,7 @@ Can be any value between 0.0 and 1.0 inclusive. }, "SeverityScoreSummary": { "docs": undefined, + "inline": undefined, "properties": { "high": { "type": "double", @@ -1001,6 +1027,7 @@ Can be any value between 0.0 and 1.0 inclusive. }, "Timestamp": { "docs": "Timestamp containing a start and end property in milliseconds.", + "inline": undefined, "properties": { "end": { "docs": "The end time in milliseconds", @@ -1017,6 +1044,7 @@ Can be any value between 0.0 and 1.0 inclusive. }, "TopicDetectionResult": { "docs": "THe result of the topic detection model.", + "inline": undefined, "properties": { "labels": "optional>", "text": { @@ -1031,6 +1059,7 @@ Can be any value between 0.0 and 1.0 inclusive. }, "TopicDetectionResultLabelsItem": { "docs": undefined, + "inline": true, "properties": { "label": { "docs": "The IAB taxonomical label for the label of the detected topic, where > denotes supertopic/subtopic relationship", @@ -1054,11 +1083,11 @@ Can be any value between 0.0 and 1.0 inclusive. }, "Transcript": { "docs": "A transcript object", + "inline": undefined, "properties": { "acoustic_model": { "availability": "deprecated", "docs": "The acoustic model that was used for the transcription", - "inline": undefined, "type": "string", }, "audio_duration": { @@ -1186,7 +1215,6 @@ The default value is 'en_us'. "language_model": { "availability": "deprecated", "docs": "The language model that was used for the transcription", - "inline": undefined, "type": "string", }, "punctuate": { @@ -1246,7 +1274,6 @@ Valid values are in the range [0, 1] inclusive. "speed_boost": { "availability": "deprecated", "docs": "Whether speed boost was enabled in the transcription request", - "inline": undefined, "type": "optional", }, "status": { @@ -1335,6 +1362,7 @@ See [Speech recognition](https://www.assemblyai.com/docs/Models/speech_recogniti "docs": "An array of results for the Content Moderation model, if it was enabled during the transcription request. See [Content moderation](https://www.assemblyai.com/docs/Models/content_moderation) for more information. ", + "inline": true, "properties": { "results": "list", "status": { @@ -1348,6 +1376,7 @@ See [Content moderation](https://www.assemblyai.com/docs/Models/content_moderati }, "TranscriptCustomSpelling": { "docs": "Object containing words or phrases to replace, and the word or phrase to replace with", + "inline": undefined, "properties": { "from": { "docs": "Words or phrases to replace", @@ -1366,6 +1395,7 @@ See [Content moderation](https://www.assemblyai.com/docs/Models/content_moderati "docs": "An array of results for the Topic Detection model, if it was enabled during the transcription request. See [Topic Detection](https://www.assemblyai.com/docs/Models/iab_classification) for more information. ", + "inline": true, "properties": { "results": { "docs": "An array of results for the Topic Detection model.", @@ -1417,6 +1447,7 @@ The default value is 'en_us'. }, "TranscriptList": { "docs": undefined, + "inline": undefined, "properties": { "page_details": "PageDetails", "transcripts": "list", @@ -1427,6 +1458,7 @@ The default value is 'en_us'. }, "TranscriptListItem": { "docs": undefined, + "inline": undefined, "properties": { "audio_url": "string", "completed": "optional", @@ -1441,6 +1473,7 @@ The default value is 'en_us'. }, "TranscriptListParameters": { "docs": undefined, + "inline": undefined, "properties": { "after_id": { "docs": "Get transcripts that were created after this transcript ID", @@ -1480,6 +1513,7 @@ The default value is 'en_us'. }, "TranscriptParagraph": { "docs": undefined, + "inline": undefined, "properties": { "confidence": { "type": "double", @@ -1502,6 +1536,7 @@ The default value is 'en_us'. }, "TranscriptSentence": { "docs": undefined, + "inline": undefined, "properties": { "confidence": { "type": "double", @@ -1548,6 +1583,7 @@ The default value is 'en_us'. }, "TranscriptUtterance": { "docs": undefined, + "inline": undefined, "properties": { "channel": "string", "confidence": { @@ -1571,6 +1607,7 @@ The default value is 'en_us'. }, "TranscriptWord": { "docs": undefined, + "inline": undefined, "properties": { "confidence": { "type": "double", @@ -1593,6 +1630,7 @@ The default value is 'en_us'. }, "UploadedFile": { "docs": undefined, + "inline": undefined, "properties": { "upload_url": { "docs": "A URL that points to your audio file, accessible only by AssemblyAI's servers", @@ -1605,6 +1643,7 @@ The default value is 'en_us'. }, "WordSearchMatch": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total amount of times the word is in the transcript", @@ -1629,6 +1668,7 @@ The default value is 'en_us'. }, "WordSearchResponse": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The ID of the transcript", @@ -2110,6 +2150,7 @@ types: results: list source: openapi: ../openapi.yml + inline: true TranscriptIabCategoriesResult: docs: > An array of results for the Topic Detection model, if it was enabled @@ -2132,6 +2173,7 @@ types: docs: The overall relevance of topic to the entire audio file source: openapi: ../openapi.yml + inline: true Transcript: docs: A transcript object properties: @@ -2640,6 +2682,7 @@ types: denotes supertopic/subtopic relationship source: openapi: ../openapi.yml + inline: true TopicDetectionResult: docs: THe result of the topic detection model. properties: @@ -2965,6 +3008,7 @@ types: - map source: openapi: ../openapi.yml + inline: true LemurBaseParameters: properties: transcript_ids: @@ -3002,6 +3046,7 @@ types: - map source: openapi: ../openapi.yml + inline: true LemurQuestion: properties: question: diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/availability.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/availability.json index c64a46f497d..e7f1fccca1e 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/availability.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/availability.json @@ -261,6 +261,7 @@ "DeprecatedParam": "string", "NotDeprecatedSettings": { "docs": undefined, + "inline": undefined, "properties": { "not_deprecated_setting": "optional", }, @@ -271,6 +272,7 @@ "WholeDeprecatedSettings": { "availability": "deprecated", "docs": undefined, + "inline": undefined, "properties": { "fine_setting": "optional", }, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/axle.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/axle.json index d1e6db18881..c894a317c7d 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/axle.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/axle.json @@ -8,6 +8,7 @@ "types": { "Address": { "docs": undefined, + "inline": undefined, "properties": { "addressLine1": { "type": "optional", @@ -34,6 +35,7 @@ }, "Carrier": { "docs": undefined, + "inline": undefined, "properties": { "address": { "type": "Address", @@ -53,6 +55,7 @@ }, "Coverage": { "docs": undefined, + "inline": undefined, "properties": { "code": "CoverageCode", "deductible": { @@ -90,6 +93,7 @@ }, "Error": { "docs": undefined, + "inline": undefined, "properties": { "message": { "docs": "Provides a reason for why the operation failed, if available.", @@ -105,6 +109,7 @@ }, "Insured": { "docs": undefined, + "inline": undefined, "properties": { "dateOfBirth": { "type": "optional", @@ -136,6 +141,7 @@ }, "Property": { "docs": undefined, + "inline": undefined, "properties": { "data": { "type": "Vehicle", @@ -153,6 +159,7 @@ }, "ThirdParty": { "docs": undefined, + "inline": undefined, "properties": { "address": { "type": "optional
", @@ -183,6 +190,7 @@ }, "User": { "docs": "User to attach to Ignition session. If user is set, unique `id` must be provided.", + "inline": undefined, "properties": { "email": { "docs": "User's email address.", @@ -211,6 +219,7 @@ }, "Vehicle": { "docs": undefined, + "inline": undefined, "properties": { "bodyStyle": { "type": "optional", @@ -451,6 +460,7 @@ "types": { "Account": { "docs": "An Account represents an account with an insurance carrier and includes high-level account information (e.g. name) and any Policy objects associated with the Account.", + "inline": undefined, "properties": { "carrier": "string", "createdAt": "string", @@ -473,6 +483,7 @@ }, "GetAccountResponse": { "docs": undefined, + "inline": undefined, "properties": { "data": "optional", "success": "optional", @@ -483,6 +494,7 @@ }, "Policy": { "docs": "A Policy represents a specific policy associated with an Account and includes high-level policy information (e.g. policy number) and any children objects (e.g., coverages) associated with the policy.", + "inline": undefined, "properties": { "account": "string", "address": { @@ -758,6 +770,7 @@ service: "types": { "GetCarrierResponse": { "docs": undefined, + "inline": undefined, "properties": { "data": "optional", "success": "optional", @@ -768,6 +781,7 @@ service: }, "GetCarriersResponse": { "docs": undefined, + "inline": undefined, "properties": { "data": "optional>", "success": "optional", @@ -940,11 +954,9 @@ service: "types": { "StartIgnitionResponse": { "docs": "", + "inline": undefined, "properties": { - "data": { - "inline": true, - "type": "StartIgnitionResponseData", - }, + "data": "StartIgnitionResponseData", "success": { "type": "root.Success", }, @@ -955,6 +967,7 @@ service: }, "StartIgnitionResponseData": { "docs": undefined, + "inline": true, "properties": { "ignitionToken": { "docs": "The unique ID for the ignition session.", @@ -984,14 +997,13 @@ types: docs: The unique ID for the ignition session. source: openapi: ../openapi.yml + inline: true StartIgnitionResponse: docs: '' properties: success: type: root.Success - data: - type: StartIgnitionResponseData - inline: true + data: StartIgnitionResponseData source: openapi: ../openapi.yml service: @@ -1175,6 +1187,7 @@ service: "types": { "GetPolicyResponse": { "docs": undefined, + "inline": undefined, "properties": { "data": "optional", "success": "optional", @@ -1360,11 +1373,9 @@ Auth codes are ephemeral and expire after 10 minutes, while accessTokens do not "types": { "ExchangeTokenResponse": { "docs": "", + "inline": undefined, "properties": { - "data": { - "inline": true, - "type": "ExchangeTokenResponseData", - }, + "data": "ExchangeTokenResponseData", "success": { "type": "root.Success", }, @@ -1375,6 +1386,7 @@ Auth codes are ephemeral and expire after 10 minutes, while accessTokens do not }, "ExchangeTokenResponseData": { "docs": undefined, + "inline": true, "properties": { "accessToken": { "docs": "The token required for access to the requested Account and Policy objects.", @@ -1416,14 +1428,13 @@ types: type: list source: openapi: ../openapi.yml + inline: true ExchangeTokenResponse: docs: '' properties: success: type: root.Success - data: - type: ExchangeTokenResponseData - inline: true + data: ExchangeTokenResponseData source: openapi: ../openapi.yml service: diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/belvo.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/belvo.json index cfb4eda0f63..0d85935ecd3 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/belvo.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/belvo.json @@ -139,6 +139,7 @@ "types": { "AccessToResourceDenied": { "docs": "This error occurs when you try to access Belvo's resource without the correct permissions.", + "inline": undefined, "properties": { "code": { "docs": "A unique error code (`access_to_resource_denied`) that allows you to classify and handle the error programmatically. @@ -174,6 +175,7 @@ For `access_to_resource_denied` errors, the description is: **Note**: For our recurring expenses resource, this account relates to the account that was analyzed to generate the recurring expenses report. ", + "inline": undefined, "properties": { "balance": "AccountsBalance", "balance_type": { @@ -187,7 +189,6 @@ For `access_to_resource_denied` errors, the description is: *The institution's product ID for the account type.* ", - "inline": undefined, "type": "optional", }, "category": "optional", @@ -230,7 +231,6 @@ For `access_to_resource_denied` errors, the description is: *The institution's internal identification for the account.* ", - "inline": undefined, "type": "optional", }, "last_accessed_at": { @@ -278,6 +278,7 @@ For example: `0444/45722-0`. "AccountsBalance": { "docs": "Details regarding the current and available balances for the account. ", + "inline": undefined, "properties": { "available": { "docs": "The balance that the account owner can use. @@ -315,6 +316,7 @@ The amount remaining to pay on the users's loan (same as `loan_data.outstanding_ }, "AccountsCreditData": { "docs": "The credit options associated with this account.", + "inline": undefined, "properties": { "collected_at": { "docs": "The ISO-8601 timestamp when the data point was collected.", @@ -332,7 +334,6 @@ The amount remaining to pay on the users's loan (same as `loan_data.outstanding_ "availability": "deprecated", "docs": "*This field has been deprecated.* ", - "inline": undefined, "type": "optional", }, "interest_rate": { @@ -346,7 +347,6 @@ The amount remaining to pay on the users's loan (same as `loan_data.outstanding_ *The date when the last credit payment was made.* ", - "inline": undefined, "type": "optional", }, "minimum_payment": { @@ -359,7 +359,6 @@ The amount remaining to pay on the users's loan (same as `loan_data.outstanding_ *The recurrent monthly payment, if applicable.* ", - "inline": undefined, "type": "optional", }, "next_payment_date": { @@ -377,6 +376,7 @@ The amount remaining to pay on the users's loan (same as `loan_data.outstanding_ }, "AccountsFundsData": { "docs": undefined, + "inline": undefined, "properties": { "balance": { "docs": "The amount in the fund.", @@ -409,6 +409,7 @@ The amount remaining to pay on the users's loan (same as `loan_data.outstanding_ }, "AccountsFundsDataPublicIdentifications": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "The type of identification number for the fund.", @@ -425,6 +426,7 @@ The amount remaining to pay on the users's loan (same as `loan_data.outstanding_ }, "AccountsLoanData": { "docs": "The loan options associated with this account.", + "inline": undefined, "properties": { "collected_at": { "docs": "The ISO-8601 timestamp when the data point was collected.", @@ -464,7 +466,6 @@ The amount remaining to pay on the users's loan (same as `loan_data.outstanding_ Please see `principal` instead. ", - "inline": undefined, "type": "optional", }, "cutting_date": { @@ -473,7 +474,6 @@ Please see `principal` instead. The closing date of the loan period. ", - "inline": undefined, "type": "optional", }, "cutting_day": { @@ -482,7 +482,6 @@ The closing date of the loan period. The closing day of the month for the loan. ", - "inline": undefined, "type": "optional", }, "fees": { @@ -495,7 +494,6 @@ The closing day of the month for the loan. Please see the `interest_rates` object instead. ", - "inline": undefined, "type": "optional", }, "interest_rates": { @@ -508,7 +506,6 @@ Please see the `interest_rates` object instead. The date when the last loan payment was made. ", - "inline": undefined, "type": "optional", }, "last_period_balance": { @@ -517,7 +514,6 @@ The date when the last loan payment was made. Please see `outstanding_balance` instead. ", - "inline": undefined, "type": "optional", }, "limit_day": { @@ -526,7 +522,6 @@ Please see `outstanding_balance` instead. Please see `payment_day` instead. ", - "inline": undefined, "type": "optional", }, "loan_type": { @@ -543,7 +538,6 @@ Please see `payment_day` instead. The minimum amount required to pay to avoid generating interest. ", - "inline": undefined, "type": "optional", }, "number_of_installments_outstanding": { @@ -578,6 +572,7 @@ The minimum amount required to pay to avoid generating interest. }, "AccountsLoanDataFees": { "docs": "Breakdown of the fees applied to the loan.", + "inline": undefined, "properties": { "type": "EnumLoanDataFeeType", "value": { @@ -592,6 +587,7 @@ The minimum amount required to pay to avoid generating interest. }, "AccountsLoanDataInterestRate": { "docs": "Breakdown of the interest applied to the loan.", + "inline": undefined, "properties": { "name": { "docs": "The name of the type of interest rate applied to the loan.", @@ -609,6 +605,7 @@ The minimum amount required to pay to avoid generating interest. }, "AccountsPaginatedResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -636,6 +633,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "AccountsReceivablesData": { "docs": "Additional details regarding the receivables account, if applicable.", + "inline": undefined, "properties": { "anticipated": { "docs": "The amount that the owner of the account received earlier than contracted.", @@ -660,6 +658,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "AnnualCostsAndDeductionsStatementBusiness": { "docs": "Object containing the reported annual costs and applicable deductions.", + "inline": undefined, "properties": { "administration_expenses": { "docs": "Total costs of the company related to training, company offsites, or similar.", @@ -688,6 +687,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "AnnualIncomeStatementBusiness": { "docs": "Object containing the reported annual incomes, deductions, and final balances of the tax payer.", + "inline": undefined, "properties": { "dividends": { "docs": "Total income that the company generated from dividends.", @@ -720,6 +720,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "AnnualIncomeStatementIndividual": { "docs": "Object containing the reported annual incomes, deductions, and final balances of the tax payer.", + "inline": undefined, "properties": { "annual_totals": "AnnualTotalsIndividual", "gross_income": "GrossIncomeIndividual", @@ -732,6 +733,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "AnnualTotalsIndividual": { "docs": "Object containing the tax payers total exempt, deducted, and ordinary net incomes.", + "inline": undefined, "properties": { "total_applicable_deductions": { "docs": "Total deductions that the taxpayer can apply to their income, according to the institution.", @@ -756,6 +758,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "AsynchronousAccepted202": { "docs": undefined, + "inline": undefined, "properties": { "request_id": { "docs": "The unique ID for this request. We recommend you store this value to later identify which webhook event relates to an asynchronous request.", @@ -768,6 +771,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "BUSINESS": { "docs": "Details about the OFPI payment method.", + "inline": undefined, "properties": { "open_finance": "PaymentIntentPaymentMethodDetailsBodyBusinessOfpi", }, @@ -779,6 +783,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -820,6 +825,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "Balance": { "docs": undefined, + "inline": undefined, "properties": { "account": "optional", "balance": { @@ -832,14 +838,12 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro The ISO-8601 timestamp when the data point was collected. ", - "inline": undefined, "type": "optional", }, "current_balance": { "availability": "deprecated", "docs": "*This field has been deprecated. Please use the `balance` field instead.* ", - "inline": undefined, "type": "optional", }, "id": { @@ -858,7 +862,6 @@ The ISO-8601 timestamp when the data point was collected. *The ID of the banking statement used to extract the `balance`.* ", - "inline": undefined, "type": "optional", }, "value_date": { @@ -878,6 +881,7 @@ The ISO-8601 timestamp when the data point was collected. }, "BalancesPaginatedResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -905,6 +909,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "BankAccountBusinessPse": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "The ISO-8601 timestamp of when the data point was first created in Belvo's database.", @@ -977,6 +982,7 @@ For `BUSINESS` bank accounts that Belvo creates for organizations, this field is }, "BankAccountDetailsOfpi": { "docs": undefined, + "inline": undefined, "properties": { "account_type": "EnumBankAccountPixAccountTypeOfpi", "agency": { @@ -995,6 +1001,7 @@ For `BUSINESS` bank accounts that Belvo creates for organizations, this field is }, "BankAccountDetailsOfpiPix": { "docs": undefined, + "inline": undefined, "properties": { "country": "EnumPaymentsCountry", "pix_key": { @@ -1008,6 +1015,7 @@ For `BUSINESS` bank accounts that Belvo creates for organizations, this field is }, "BankAccountDetailsOpenFinance": { "docs": undefined, + "inline": undefined, "properties": { "account_type": "EnumBankAccountPixAccountTypeOfpi", "agency": { @@ -1026,6 +1034,7 @@ For `BUSINESS` bank accounts that Belvo creates for organizations, this field is }, "BankAccountDetailsOpenFinancePix": { "docs": undefined, + "inline": undefined, "properties": { "country": "EnumPaymentsCountry", "pix_key": { @@ -1041,6 +1050,7 @@ For `BUSINESS` bank accounts that Belvo creates for organizations, this field is "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1055,6 +1065,7 @@ For `BUSINESS` bank accounts that Belvo creates for organizations, this field is }, "BankAccountInformationContentPse": { "docs": "Information about the payer's institution", + "inline": undefined, "properties": { "payer_institution": { "docs": "Belvo's unique identifier for the payer’s institution.", @@ -1073,6 +1084,7 @@ For `BUSINESS` bank accounts that Belvo creates for organizations, this field is }, "BankAccountInformationPse": { "docs": "Information about the payer's bank account. Belvo returns this object when the payer's bank account information is not saved in the Belvo database.", + "inline": undefined, "properties": { "bank_account_information": { "type": "optional", @@ -1084,6 +1096,7 @@ For `BUSINESS` bank accounts that Belvo creates for organizations, this field is }, "BankAccountOfpiResponse": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "The ISO-8601 timestamp of when the data point was last updated in Belvo's database.", @@ -1144,6 +1157,7 @@ For `BUSINESS` bank accounts that Belvo creates for organizations, this field is "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1158,6 +1172,7 @@ For `BUSINESS` bank accounts that Belvo creates for organizations, this field is }, "BankAccountPaginatedResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -1187,6 +1202,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1202,6 +1218,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "BeneficiaryBankAccountOfpi": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "The ISO-8601 timestamp of when the data point was last updated in Belvo's database.", @@ -1243,6 +1260,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1257,6 +1275,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "BeneficiaryBankAccountPse": { "docs": undefined, + "inline": undefined, "properties": { "holder": { "type": "optional", @@ -1292,6 +1311,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "Business": { "docs": "Details regarding the business bank account holder.", + "inline": undefined, "properties": { "Information": { "type": "optional", @@ -1304,6 +1324,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "Categorization": { "docs": undefined, + "inline": undefined, "properties": { "transactions": { "docs": "An array of enriched transaction objects.", @@ -1316,6 +1337,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "CategorizationBody": { "docs": undefined, + "inline": undefined, "properties": { "account_category": "EnumCategorizationAccountCategory", "account_holder_id": { @@ -1377,6 +1399,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "CategorizationBodyRequest": { "docs": undefined, + "inline": undefined, "properties": { "account_category": "EnumCategorizationAccountCategory", "account_holder_id": { @@ -1433,6 +1456,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro "CategorizationMerchantData": { "docs": "Additional data regarding the merchant involved in the transaction. ", + "inline": undefined, "properties": { "logo": { "docs": "The URL to the merchant's logo.", @@ -1453,6 +1477,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "Charge": { "docs": undefined, + "inline": undefined, "properties": { "amount": { "docs": "The amount of the charge. @@ -1564,6 +1589,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1578,6 +1604,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "ChargePaymentMethodDetailsOfpiContent": { "docs": "Information about the payer of a PSE payment.", + "inline": undefined, "properties": { "beneficiary_bank_account": { "docs": "Belvo's unique ID used to identify the beneficiary's bank account.", @@ -1606,6 +1633,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "ChargePaymentMethodDetailsPseContent": { "docs": "Information about the payer of a PSE payment.", + "inline": undefined, "properties": { "payer_bank_account": { "docs": "Belvo's unique ID used to identify the customer’s bank account.", @@ -1646,6 +1674,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "CreateBankAccountOfpi": { "docs": undefined, + "inline": undefined, "properties": { "details": { "docs": "Information regarding the bank account.", @@ -1674,6 +1703,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro "discriminated": false, "docs": "Information regarding the bank account.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1688,6 +1718,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "CreateBankAccountPse": { "docs": undefined, + "inline": undefined, "properties": { "holder": { "docs": "Information regarding the business bank account holder.", @@ -1715,6 +1746,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "CreateCustomerOfpi": { "docs": undefined, + "inline": undefined, "properties": { "address": { "docs": "The customer's physical address. @@ -1763,6 +1795,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "CreateCustomerPse": { "docs": undefined, + "inline": undefined, "properties": { "address": { "docs": "The customer's physical address. @@ -1811,6 +1844,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "CreatePaymentLinkOfpi": { "docs": undefined, + "inline": undefined, "properties": { "allowed_payment_method_types": { "docs": "A list of payment method types allowed in this payment intent. For OFPI, this value must be set to `open_finance`.", @@ -1869,6 +1903,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro **Note:** You can send through this value either as a string or an float. Regardless of the type you choose to send the `amount` as, Belvo returns a string with two decimal points, separated by a period ( `.`). For example, `1234.12`. ", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1887,6 +1922,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "CreatePaymentLinkPse": { "docs": undefined, + "inline": undefined, "properties": { "allowed_payment_method_types": { "docs": "A list of payment method types allowed in this payment intent. For PSE, this value must be set to `pse`.", @@ -1945,6 +1981,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro **Note:** You can send this value either as a string or an integer. Regardless of the type you choose to send the `amount` as, Belvo returns a string with two decimal points, separated by a period ( `.`). For example, `350000.00`. ", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1963,6 +2000,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "CustomerOfpi": { "docs": undefined, + "inline": undefined, "properties": { "address": { "docs": "The customers physical address. @@ -2035,6 +2073,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "CustomerPaginatedResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -2064,6 +2103,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -2078,6 +2118,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "CustomerPse": { "docs": undefined, + "inline": undefined, "properties": { "address": { "docs": "The customers physical address. @@ -2156,6 +2197,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "DisplayConfirmationRequiredContentPse": { "docs": "Object detailing the next steps you should follow for a specific `next_step` type.", + "inline": undefined, "properties": { "payer_institution": { "type": "optional", @@ -2167,6 +2209,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "DisplayConfirmationRequiredOfpi": { "docs": "Object detailing the next steps you should follow for a specific `next_step` type.", + "inline": undefined, "properties": { "beneficiary_bank_account": { "type": "optional", @@ -2189,6 +2232,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "DisplayCredentialsRequiredContentPse": { "docs": "Object containing form fields for the required credentials (for example, `username` or `password`) in this step.", + "inline": undefined, "properties": { "payer_institution": { "type": "optional", @@ -2200,6 +2244,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "DisplayCustomerBankAccountsContentPse": { "docs": "Object detailing what payment method information you need to display.", + "inline": undefined, "properties": { "beneficiary_bank_account": { "type": "optional", @@ -2215,6 +2260,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "DisplayPaymentFailed": { "docs": "Details regarding the payer institution.", + "inline": undefined, "properties": { "payer_institution": "optional", }, @@ -2224,6 +2270,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "DisplayPaymentMethodInformationContentOfpi": { "docs": "Object detailing what payment method information you need to display.", + "inline": undefined, "properties": { "institutions": { "docs": "An array of institution objects.", @@ -2236,6 +2283,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "DisplayPaymentMethodInformationContentPse": { "docs": "Object detailing what payment method information you need to display.", + "inline": undefined, "properties": { "customer_bank_accounts": { "docs": "Array of bank account objects. @@ -2254,6 +2302,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "DisplayPaymentProcessing": { "docs": "Details regarding the payer institution.", + "inline": undefined, "properties": { "payer_institution": "optional", }, @@ -2263,6 +2312,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "DisplayPaymentSucceeded": { "docs": "Details regarding the payer institution.", + "inline": undefined, "properties": { "payer_institution": "optional", }, @@ -2272,6 +2322,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "DisplayTokenRequiredContentPse": { "docs": undefined, + "inline": undefined, "properties": { "payer_institution": "optional", }, @@ -2281,6 +2332,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "DocumentIdBusiness": { "docs": "Object containing information about the ID document of the tax payer.", + "inline": undefined, "properties": { "document_number": { "docs": "The number of the ID document.", @@ -2297,6 +2349,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "DocumentIdIndividual": { "docs": "Object containing information about the ID document of the tax payer.", + "inline": undefined, "properties": { "document_number": { "docs": "The number of the ID document.", @@ -2313,6 +2366,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "DocumentInformationBusiness": { "docs": "Object containing detailed information about the fiscal document.", + "inline": undefined, "properties": { "form_number": { "docs": "The institution-provided identifier for the tax declaration.", @@ -2338,6 +2392,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "DocumentInformationIndividual": { "docs": "Object containing detailed information about the fiscal document.", + "inline": undefined, "properties": { "form_number": { "docs": "Institution-provided identifier for the tax declaration.", @@ -2363,6 +2418,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "EmploymentRecord": { "docs": "Emploment record response payload", + "inline": undefined, "properties": { "collected_at": { "docs": "The ISO-8601 timestamp when the data point was collected.", @@ -2423,6 +2479,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "EmploymentRecordDetail": { "docs": "Details regarding the individual's employment history.", + "inline": undefined, "properties": { "collected_at": { "docs": "The ISO-8601 timestamp when the data point was collected.", @@ -2498,6 +2555,7 @@ For Mexico, this is the *daily* rate that the individual earned, including the p }, "EmploymentRecordDocumentId": { "docs": "Details regarding the individual's ID documents.", + "inline": undefined, "properties": { "document_number": { "docs": "The ID document's number (as a string). @@ -2512,6 +2570,7 @@ For Mexico, this is the *daily* rate that the individual earned, including the p }, "EmploymentRecordEmploymentStatusUpdates": { "docs": "Details regarding any employment changes of the individual.", + "inline": undefined, "properties": { "base_salary": { "docs": "The base salary of the individual, current as of the `update_date`. @@ -2537,6 +2596,7 @@ For Mexico, this is the *daily* rate that the individual earned, including the p }, "EmploymentRecordEntitlement": { "docs": "Details regarding the benefits the individual is entitled to.", + "inline": undefined, "properties": { "entitled_to_company_benefits": { "docs": "Indicates whether or not the individual is entitled to company benefits. @@ -2567,6 +2627,7 @@ For Mexico, this is the *daily* rate that the individual earned, including the p }, "EmploymentRecordFile": { "docs": "Additional PDF binary files relating to the individual's employment.", + "inline": undefined, "properties": { "type": { "docs": "The title of the document. @@ -2585,6 +2646,7 @@ For Mexico, this is the *daily* rate that the individual earned, including the p }, "EmploymentRecordPersonalData": { "docs": "Details regarding the personal information of the individual.", + "inline": undefined, "properties": { "birth_date": { "docs": "The date of the birth of the individual, in `YYYY-MM-DD` format. @@ -2629,6 +2691,7 @@ For Mexico, this is the *daily* rate that the individual earned, including the p }, "EmploymentRecordSocialSecuritySummary": { "docs": "Details regarding the individual's social security contributions.", + "inline": undefined, "properties": { "weeks_contributed": { "docs": "Number of weeks the individual has contributed to their social security, based on the number of weeks the individual has worked according to IMSS. @@ -2652,6 +2715,7 @@ For Mexico, this is the *daily* rate that the individual earned, including the p }, "EmploymentRecordsPaginatedResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -3761,6 +3825,7 @@ We return one of the following enum values: }, "EquityStatementBusiness": { "docs": "Object containing the general fiscal situation of the taxpayer.", + "inline": undefined, "properties": { "accounts_documents_and_finance_leases_receivable": { "docs": "Total of all payments the company expects to receive (for example, from partial invoices that have not been paid yet).", @@ -3801,6 +3866,7 @@ We return one of the following enum values: }, "EquityStatementIndividual": { "docs": "Object containing the general fiscal situation of the taxpayer.", + "inline": undefined, "properties": { "total_debts": { "docs": "The total debts of the tax_payer", @@ -3821,6 +3887,7 @@ We return one of the following enum values: }, "EyodIncomeVerificationBodyRequest": { "docs": undefined, + "inline": undefined, "properties": { "account_category": "EnumIncomeVerificationAccountCategory", "account_holder_id": { @@ -3882,6 +3949,7 @@ We return one of the following enum values: }, "GrossIncomeIndividual": { "docs": "Object containing the declared gross income of the tax payer.", + "inline": undefined, "properties": { "capital_income": { "docs": "Income received from an investment (such as dividends or from renting a property).", @@ -3906,6 +3974,7 @@ We return one of the following enum values: }, "HolderBankAccountInformationPse": { "docs": "Object with additional information about the individual that holds the bank account.", + "inline": undefined, "properties": { "first_name": { "docs": "The account holder's first name.", @@ -3922,6 +3991,7 @@ We return one of the following enum values: }, "HolderBankAccountPse": { "docs": "Details regarding the bank account holder.", + "inline": undefined, "properties": { "information": "optional", "type": "optional", @@ -3934,6 +4004,7 @@ We return one of the following enum values: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3948,6 +4019,7 @@ We return one of the following enum values: }, "INDIVIDUAL": { "docs": "Details about the OFPI payment method.", + "inline": undefined, "properties": { "open_finance": "PaymentIntentPaymentMethodDetailsBodyIndividualOfpi", }, @@ -3957,6 +4029,7 @@ We return one of the following enum values: }, "Income": { "docs": "Income insights", + "inline": undefined, "properties": { "created_at": { "docs": "The ISO-8601 timestamp of when the data point was created in Belvo's database.", @@ -4087,6 +4160,7 @@ For each income stream, we provide additional insights such as: - Key metrics about the transaction amounts. ℹ️ If no income sources are found, we return an empty array. ", + "inline": undefined, "properties": { "account_id": { "docs": "Unique ID for the bank account to be verified for income streams.", @@ -4186,6 +4260,7 @@ For each income stream, we provide additional insights such as: }, "IncomesPaginatedResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -4213,6 +4288,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "Institution": { "docs": undefined, + "inline": undefined, "properties": { "country_codes": { "docs": "The country codes where the institution is available, for example: @@ -4293,6 +4369,7 @@ Please see our [Institutions](https://developers.belvo.com/docs/institution) Dev }, "InstitutionAccount": { "docs": "Details regarding the institution.", + "inline": undefined, "properties": { "name": { "docs": "The name of the institution, as designated by Belvo. @@ -4307,6 +4384,7 @@ Please see our [Institutions](https://developers.belvo.com/docs/institution) Dev }, "InstitutionDownError": { "docs": "This error occurs when the institution's website that you're trying to access is down due to maintenance or other issues, which means Belvo is unable to create new links or retrieve new data.", + "inline": undefined, "properties": { "code": { "docs": "A unique error code (`institution_down`) that allows you to classify and handle the error programmatically. @@ -4339,6 +4417,7 @@ For `institution_down` errors, the description is: }, "InstitutionFormField": { "docs": undefined, + "inline": undefined, "properties": { "label": { "docs": "The label of the form field. For example: @@ -4387,6 +4466,7 @@ For `institution_down` errors, the description is: }, "InstitutionInactiveError": { "docs": "This error occurs when we (Belvo) have deactivated the institution in our API.", + "inline": undefined, "properties": { "code": { "docs": "A unique error code (`institution_inactive`) that allows you to classify and handle the error programmatically. @@ -4419,6 +4499,7 @@ For `institution_inactive` errors, the description is: }, "InstitutionUnavailableError": { "docs": "This error occurs when the institution's website that you're trying to access is down due to maintenance or other issues, which means Belvo is unable to create new links or retrieve new data.", + "inline": undefined, "properties": { "code": { "docs": "A unique error code (`institution_unavailable`) that allows you to classify and handle the error programmatically. @@ -4451,6 +4532,7 @@ For `institution_unavailable` errors, the description is: }, "InstitutionsFeature": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "The description of the feature.", @@ -4467,6 +4549,7 @@ For `institution_unavailable` errors, the description is: }, "InstitutionsFormField": { "docs": undefined, + "inline": undefined, "properties": { "label": { "docs": "The label of the form field. For example: @@ -4507,6 +4590,7 @@ For `institution_unavailable` errors, the description is: }, "InstitutionsFormFieldValues": { "docs": undefined, + "inline": undefined, "properties": { "code": { "docs": "The code of the document.", @@ -4539,6 +4623,7 @@ For `institution_unavailable` errors, the description is: }, "InstitutionsPaginatedResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -4566,6 +4651,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "InvalidAccessMode": { "docs": "This error occurs when you try to update a link from single to recurrent, but there are no login credentials stored for the user.", + "inline": undefined, "properties": { "code": { "docs": "A unique error code (`invalid_access_mode_switch`) that allows you to classify and handle the error programmatically. @@ -4598,6 +4684,7 @@ For `invalid_access_mode_switch` errors, the description is: }, "InvalidLinkError": { "docs": "This error occurs when you try to access an account but the user credentials are no longer valid, prompting an error from the institution.", + "inline": undefined, "properties": { "code": { "docs": "A unique error code (`invalid_link`) that allows you to classify and handle the error programmatically. @@ -4630,6 +4717,7 @@ For `invalid_link` errors, the description is: }, "InvalidPeriodError": { "docs": "This error occurs when you request incomes for a link within a given date range, however, the period between `date_from` and `date_to` is less than 90 days.", + "inline": undefined, "properties": { "code": { "docs": "A unique error code (`invalid_period`) that allows you to classify and handle the error programmatically. @@ -4662,6 +4750,7 @@ For `invalid_period` errors, the description is: }, "InvestmentsPortfolio": { "docs": undefined, + "inline": undefined, "properties": { "balance_gross": { "docs": "The current gross total value of the entire portfolio and all its underlying instruments, as given by the institution. @@ -4720,6 +4809,7 @@ Please note that other currencies other than in the list above may be returned. }, "InvestmentsPortfolioInstrument": { "docs": undefined, + "inline": undefined, "properties": { "average_acquisition_price": { "docs": "The average price of each share acquired in the instrument.", @@ -4813,6 +4903,7 @@ For example, the due date, the liquidity date, the previdencia type, and so on. }, "InvestmentsPortfolioInstrumentFees": { "docs": undefined, + "inline": undefined, "properties": { "type": { "docs": "The fee type incurred when making the purchase of the instrument.", @@ -4829,6 +4920,7 @@ For example, the due date, the liquidity date, the previdencia type, and so on. }, "InvestmentsPortfolioInstrumentInterestRate": { "docs": undefined, + "inline": undefined, "properties": { "index": { "docs": "If applicable, the index type that the `interest_rates.value` is calculated against.", @@ -4853,6 +4945,7 @@ For example, the due date, the liquidity date, the previdencia type, and so on. }, "InvestmentsPortfolioInstrumentPublicId": { "docs": "The public identifiers for the instrument.", + "inline": undefined, "properties": { "type": { "docs": "The type of public identifier for the instrument.", @@ -4869,6 +4962,7 @@ For example, the due date, the liquidity date, the previdencia type, and so on. }, "InvestmentsPortfolioInstrumentRedemptionConditions": { "docs": undefined, + "inline": undefined, "properties": { "type": { "docs": "The name of the redemption condition.", @@ -4885,6 +4979,7 @@ For example, the due date, the liquidity date, the previdencia type, and so on. }, "InvestmentsPortfoliosPaginatedResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -4912,6 +5007,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "InvoiceDetailDian": { "docs": undefined, + "inline": undefined, "properties": { "collected_at": { "docs": "The ISO-8601 timestamp when the data point was collected.", @@ -4971,6 +5067,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "InvoiceDetailRetainedTaxSat": { "docs": undefined, + "inline": undefined, "properties": { "collected_at": { "docs": "The ISO-8601 timestamp when the data point was collected.", @@ -5000,6 +5097,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "InvoiceDetailSat": { "docs": undefined, + "inline": undefined, "properties": { "collected_at": { "docs": "The ISO-8601 timestamp when the data point was collected.", @@ -5067,6 +5165,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "InvoiceDian": { "docs": undefined, + "inline": undefined, "properties": { "cancelation_status": { "docs": "**Note**: This field is not applicable for DIAN Colombia and will return `null`.", @@ -5186,7 +5285,6 @@ For example: If the invoice is paid in installments, this field indicates the da "availability": "deprecated", "docs": "The description of the payment method used for this invoice. ", - "inline": undefined, "type": "optional", }, "payment_type": { @@ -5292,6 +5390,7 @@ For detailed information regarding DIAN's payment types, please see their [offic "InvoiceSenderDetailsDian": { "docs": "Details regarding the sender. ", + "inline": undefined, "properties": { "address": { "docs": "The sender's address. @@ -5347,6 +5446,7 @@ For detailed information regarding DIAN's tax schemes, please see their [officia "InvoiceWarningsDian": { "docs": "**Note**: This field is not applicable for DIAN Colombia and will return `null`. ", + "inline": undefined, "properties": { "code": { "docs": "**Note**: This field is not applicable for DIAN Colombia and will return `null`. @@ -5366,6 +5466,7 @@ For detailed information regarding DIAN's tax schemes, please see their [officia "InvoiceWarningsSat": { "docs": "Object containing information about any warnings related to this invoice. ", + "inline": undefined, "properties": { "code": { "docs": "The warning code. @@ -5384,6 +5485,7 @@ For detailed information regarding DIAN's tax schemes, please see their [officia }, "InvoiceWithIdSat": { "docs": undefined, + "inline": undefined, "properties": { "cancelation_status": { "docs": "If the invoice is cancelled, this field indicates the status of the cancellation.", @@ -5492,7 +5594,6 @@ For detailed information regarding DIAN's tax schemes, please see their [officia *The description of the payment method used for this invoice.* ", - "inline": undefined, "type": "optional", }, "payment_type": { @@ -5506,7 +5607,6 @@ For detailed information regarding DIAN's tax schemes, please see their [officia "availability": "deprecated", "docs": "*This field has been deprecated.* ", - "inline": undefined, "type": "optional", }, "payments": { @@ -5524,7 +5624,6 @@ For detailed information regarding DIAN's tax schemes, please see their [officia "availability": "deprecated", "docs": "This field has been deprecated. Please use `receiver_tax_fraud_status` instead. ", - "inline": undefined, "type": "optional", }, "receiver_id": { @@ -5547,7 +5646,6 @@ Possible statuses are: "availability": "deprecated", "docs": "This field has been deprecated. Please use `sender_tax_fraud_status` instead. ", - "inline": undefined, "type": "optional", }, "sender_id": { @@ -5612,6 +5710,7 @@ Possible statuses are: }, "InvoicesPaymentsDian": { "docs": undefined, + "inline": undefined, "properties": { "amount": { "docs": "**Note**: This field is not applicable for DIAN Colombia and will return `null`. @@ -5680,6 +5779,7 @@ Possible statuses are: }, "InvoicesPaymentsRelatedDocumentsDian": { "docs": "List of all the related deferred invoices affected by the payment.", + "inline": undefined, "properties": { "amount_paid": { "docs": "**Note**: This field is not applicable for DIAN Colombia and will return `null`. @@ -5723,6 +5823,7 @@ Possible statuses are: }, "InvoicesPaymentsRelatedDocumentsSat": { "docs": "List of all the related deferred invoices affected by the payment.", + "inline": undefined, "properties": { "amount_paid": { "docs": "The amount paid in this installment. @@ -5772,6 +5873,7 @@ Possible statuses are: }, "InvoicesPaymentsSat": { "docs": undefined, + "inline": undefined, "properties": { "amount": { "docs": "The invoice amount, in the currency of the original invoice. @@ -5849,6 +5951,7 @@ Please note that other currencies other than in the list above may be returned. "InvoicesPayrollDian": { "docs": "**Note**: This field is not applicable for DIAN Colombia and will return `null`. ", + "inline": undefined, "properties": { "amount": { "docs": "**Note**: This field is not applicable for DIAN Colombia and will return `null`. @@ -5915,6 +6018,7 @@ Please note that other currencies other than in the list above may be returned. "InvoicesPayrollSat": { "docs": "Details regarding the payroll payment. Only applicable for payroll invoices. ", + "inline": undefined, "properties": { "amount": { "docs": "The total amount of the payroll payment. @@ -5983,6 +6087,7 @@ Please note that other currencies other than in the list above may be returned. "InvoicesReceiverDetailsDian": { "docs": "Details regarding the receiver. ", + "inline": undefined, "properties": { "address": { "docs": "The receiver's address. @@ -6037,6 +6142,7 @@ For detailed information regarding DIAN's tax schemes, please see their [officia }, "InvoicesResponsePaginatedResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -6066,6 +6172,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -6080,6 +6187,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "LastErrorInvalidCredentials": { "docs": "Information about the error you ran into in the previous step of the payment intent, if applicable. This error can occur when the credentials that your customer provides are incorrect.", + "inline": undefined, "properties": { "error_code": { "docs": "A unique error code (`invalid_credentials`) that allows you to classify and handle the error programmatically.", @@ -6096,6 +6204,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "LastErrorInvalidToken": { "docs": "Information about the error you ran into in the previous step of the payment intent, if applicable. This error can occur when the MFA token your customer provides is invalid.", + "inline": undefined, "properties": { "error_code": { "docs": "A unique error code (`invalid_token`) that allows you to classify and handle the error programmatically.", @@ -6112,6 +6221,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "LastErrorLoginError": { "docs": "Information about the error you ran into in the previous step of the payment intent, if applicable. This error can occur when something unexpected happened in the `pse_display_credentials_required` next step.", + "inline": undefined, "properties": { "error_code": { "docs": "A unique error code (`login_error`) that allows you to classify and handle the error programmatically.", @@ -6128,6 +6238,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "LastErrorPaymentError": { "docs": "Information about the error you ran into in the previous step of the payment intent, if applicable. This error can occur when something unexpected happened during the payment intent process.", + "inline": undefined, "properties": { "error_code": { "docs": "A unique error code (`payment_error`) that allows you to classify and handle the error programmatically.", @@ -6144,6 +6255,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "LastErrorSessionExpired": { "docs": "Information about the error you ran into in the previous step of the payment intent, if applicable. This error occurs when you try to send a PATCH request after the session has already expired (the session expires after 10 minutes).", + "inline": undefined, "properties": { "error_code": { "docs": "A unique error code (`session_expired`) that allows you to classify and handle the error programmatically.", @@ -6160,6 +6272,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "LastErrorTwoFactor": { "docs": "Information about the error you ran into in the previous step of the payment intent, if applicable. This error can occur when something unexpected happened in the `pse_display_token_required` next step.", + "inline": undefined, "properties": { "error_code": { "docs": "A unique error code (`login_two_factor_error`) that allows you to classify and handle the error programmatically.", @@ -6176,6 +6289,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "Link": { "docs": undefined, + "inline": undefined, "properties": { "access_mode": "optional", "created_at": { @@ -6249,6 +6363,7 @@ A unique 44-character string that can be used to identify a user at a given inst - the MFA token your user provides is not supported by Belvo. - there is an issue with the institution that prevents logins. - the user's account is either locked or the user does not have permission to access their internet banking.", + "inline": undefined, "properties": { "code": { "docs": "A unique error code (`login_error`) that allows you to classify and handle the error programmatically. @@ -6287,6 +6402,7 @@ For `login_error` errors, the description can be one of the following: }, "NeedsRedirectContent": { "docs": "Details regarding the payer institution.", + "inline": undefined, "properties": { "payer_institution": "optional", }, @@ -6296,6 +6412,7 @@ For `login_error` errors, the description can be one of the following: }, "NeedsRedirectContentPse": { "docs": "Details regarding the payer institution.", + "inline": undefined, "properties": { "payer_institution": "optional", }, @@ -6305,6 +6422,7 @@ For `login_error` errors, the description can be one of the following: }, "NetIncomeIndividual": { "docs": "Object containing the declared net income of the tax payer. The values are calculated as the `gross_income` - `non_taxable_income`.", + "inline": undefined, "properties": { "capital_income": { "docs": "Income received from an investment (such as dividends or from renting a property).", @@ -6329,6 +6447,7 @@ For `login_error` errors, the description can be one of the following: }, "NextStepDisplayConfirmationRequiredOfpi": { "docs": "Object detailing the next steps you should follow for a specific `next_step` type.", + "inline": undefined, "properties": { "open_finance_display_confirmation_required": { "type": "optional", @@ -6347,6 +6466,7 @@ For `login_error` errors, the description can be one of the following: }, "NextStepDisplayConfirmationRequiredPse": { "docs": "Object detailing the next steps you should follow for a specific `next_step` type.", + "inline": undefined, "properties": { "pse_display_confirmation_required": { "type": "optional", @@ -6365,6 +6485,7 @@ For `login_error` errors, the description can be one of the following: }, "NextStepDisplayCredentialsRequiredPse": { "docs": "Object detailing the next steps you should follow for a specific `next_step` type.", + "inline": undefined, "properties": { "pse_display_credentials_required": { "type": "optional", @@ -6383,6 +6504,7 @@ For `login_error` errors, the description can be one of the following: }, "NextStepDisplayCustomerBankAccountsPse": { "docs": "Object detailing the next steps you should follow for a specific `next_step` type.", + "inline": undefined, "properties": { "pse_display_customer_bank_accounts": { "type": "optional", @@ -6401,6 +6523,7 @@ For `login_error` errors, the description can be one of the following: }, "NextStepDisplayNeedsRedirectPse": { "docs": "Object detailing the next steps you should follow for a specific `next_step` type.", + "inline": undefined, "properties": { "pse_display_needs_redirect": { "type": "optional", @@ -6419,6 +6542,7 @@ For `login_error` errors, the description can be one of the following: }, "NextStepDisplayPaymentFailed": { "docs": "Object detailing the next steps you should follow for a specific `next_step` type.", + "inline": undefined, "properties": { "open_finance_display_payment_failed": { "type": "optional", @@ -6437,6 +6561,7 @@ For `login_error` errors, the description can be one of the following: }, "NextStepDisplayPaymentMethodInformation": { "docs": "Object detailing the next steps you should follow for a specific `next_step` type.", + "inline": undefined, "properties": { "open_finance_display_payment_method_information": { "type": "optional", @@ -6455,6 +6580,7 @@ For `login_error` errors, the description can be one of the following: }, "NextStepDisplayPaymentMethodInformationPse": { "docs": "Object detailing the next steps you should follow for a specific `next_step` type. You'll need to send a PATCH request with the institution selected by the customer or their bank accounts (if there are accounts already saved in the Belvo database).", + "inline": undefined, "properties": { "pse_display_payment_method_information": { "type": "optional", @@ -6473,6 +6599,7 @@ For `login_error` errors, the description can be one of the following: }, "NextStepDisplayPaymentProcessing": { "docs": "Object detailing the next steps you should follow for a specific `next_step` type.", + "inline": undefined, "properties": { "open_finance_display_payment_processing": { "type": "optional", @@ -6491,6 +6618,7 @@ For `login_error` errors, the description can be one of the following: }, "NextStepDisplayPaymentSucceeded": { "docs": "Object detailing the next steps you should follow for a specific `next_step` type.", + "inline": undefined, "properties": { "open_finance_display_payment_succeeded": { "type": "optional", @@ -6509,6 +6637,7 @@ For `login_error` errors, the description can be one of the following: }, "NextStepDisplayTokenRequiredPse": { "docs": "Object detailing the next steps you should follow for a specific `next_step` type.", + "inline": undefined, "properties": { "pse_display_token_required": { "type": "optional", @@ -6530,6 +6659,7 @@ For `login_error` errors, the description can be one of the following: }, "NextStepNeedsRedirect": { "docs": "Object detailing the next steps you should follow for a specific `next_step` type.", + "inline": undefined, "properties": { "open_finance_display_needs_redirect": { "type": "optional", @@ -6548,6 +6678,7 @@ For `login_error` errors, the description can be one of the following: }, "NonTaxableIncomeIndividual": { "docs": "Object containing the declared non-taxable income of the tax payer.", + "inline": undefined, "properties": { "capital_income": { "docs": "Income received from an investment (such as dividends or from renting a property).", @@ -6572,6 +6703,7 @@ For `login_error` errors, the description can be one of the following: }, "NotFoundErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": { "docs": "A unique error code (`not_found`) that allows you to classify and handle the error programmatically. @@ -6604,6 +6736,7 @@ For `not_found` errors, the description is: }, "OFPB": { "docs": "Details about the organization's bank account that will receive the payment.", + "inline": undefined, "properties": { "beneficiary_bank_account": { "docs": "Belvo's unique ID used to identify the beneficiary's bank account.", @@ -6626,6 +6759,7 @@ For `not_found` errors, the description is: }, "OFPI": { "docs": "Details about the payment method.", + "inline": undefined, "properties": { "open_finance": { "type": "optional", @@ -6637,6 +6771,7 @@ For `not_found` errors, the description is: }, "Owner": { "docs": undefined, + "inline": undefined, "properties": { "address": { "docs": "The accounts owners registered address.", @@ -6677,7 +6812,6 @@ For `not_found` errors, the description is: *The first name of the account owner.* ", - "inline": undefined, "type": "optional", }, "id": { @@ -6700,7 +6834,6 @@ For `not_found` errors, the description is: *The last name of the account owner.* ", - "inline": undefined, "type": "optional", }, "link": { @@ -6723,7 +6856,6 @@ For `not_found` errors, the description is: *The second last name of the account owner.* ", - "inline": undefined, "type": "optional", }, }, @@ -6733,6 +6865,7 @@ For `not_found` errors, the description is: }, "OwnerDocumentId": { "docs": "Information regarding the identification document the owner provided to the bank.", + "inline": undefined, "properties": { "document_number": { "docs": "The document's identification number.", @@ -6762,6 +6895,7 @@ For `not_found` errors, the description is: }, "OwnersPaginatedResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -6789,6 +6923,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "PSE": { "docs": "Object with payment method details to create a payment intent.", + "inline": undefined, "properties": { "pse": { "type": "PSE", @@ -6800,6 +6935,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "PaginatedResponseLink": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -6824,6 +6960,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "PatchBody": { "docs": "A JSON object containing a session UUID and a MFA token", + "inline": undefined, "properties": { "link": { "docs": "The `link.id` you want to resume. Must be the same `link.id` as the one you receive in the 428 Token Required response that contains the `session` ID.", @@ -6862,6 +6999,7 @@ When set to `false`, the data won't be persisted and we return a 200 OK response }, "PatchBodyWithoutSaveData": { "docs": "A JSON object containing a session UUID and a MFA token", + "inline": undefined, "properties": { "link": { "docs": "The `link.id` you want to resume. Must be the same `link.id` as the one you receive in the 428 Token Required response that contains the `session` ID.", @@ -6894,6 +7032,7 @@ When set to `false`, the data won't be persisted and we return a 200 OK response }, "PatchPaymentIntentsBodyPse": { "docs": undefined, + "inline": undefined, "properties": { "pse": { "type": "optional", @@ -6905,6 +7044,7 @@ When set to `false`, the data won't be persisted and we return a 200 OK response }, "PatchPaymentMethodDetailsPse": { "docs": "Object with required fields to fill information in the payment intent object. The information you need to send through depends on the next step Belvo returns in the response.", + "inline": undefined, "properties": { "password": { "docs": "The password used to log in to the institution. @@ -6955,6 +7095,7 @@ When set to `false`, the data won't be persisted and we return a 200 OK response }, "PaymentInstitution": { "docs": undefined, + "inline": undefined, "properties": { "active": { "docs": "Indicates whether this institution is available for use or not.", @@ -7011,6 +7152,7 @@ When set to `false`, the data won't be persisted and we return a 200 OK response }, "PaymentIntentOfpi": { "docs": undefined, + "inline": undefined, "properties": { "allowed_payment_method_types": { "docs": "A list of payment method types allowed in this payment intent. For OFPI, the value will be `open_finance`.", @@ -7026,7 +7168,6 @@ When set to `false`, the data won't be persisted and we return a 200 OK response "docs": "An array of charge objects related to this paymnet intent. If no charges are associated, we return an empty array. **Note**: The charges resource will be deprecated and removed from our API by end of Q1 2023. We recommend not using any data from this resource.", - "inline": undefined, "type": "optional>", }, "created_at": { @@ -7140,6 +7281,7 @@ When set to `false`, the data won't be persisted and we return a 200 OK response "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -7154,6 +7296,7 @@ When set to `false`, the data won't be persisted and we return a 200 OK response }, "PaymentIntentPaginatedResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -7181,6 +7324,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "PaymentIntentPaymentMethodDetailsBodyBusinessOfpi": { "docs": "Payment method type selected.", + "inline": undefined, "properties": { "beneficiary_bank_account": { "docs": "Belvo's unique ID used to identify the beneficiary's bank account.", @@ -7219,6 +7363,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "PaymentIntentPaymentMethodDetailsBodyIndividualOfpi": { "docs": "Payment method type selected.", + "inline": undefined, "properties": { "beneficiary_bank_account": { "docs": "Belvo's unique ID used to identify the beneficiary's bank account.", @@ -7257,6 +7402,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "PaymentIntentPaymentMethodDetailsBodyPse": { "docs": "Details about the payment method type selected.", + "inline": undefined, "properties": { "belvo_flow": { "default": true, @@ -7312,6 +7458,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "PaymentIntentPse": { "docs": undefined, + "inline": undefined, "properties": { "allowed_payment_method_types": { "docs": "A list of payment method types allowed in this payment intent. For PSE, the value will be `pse`.", @@ -7327,7 +7474,6 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro "docs": "An array of charge objects related to this paymnet intent. If no charges are associated, we return an empty array. **Note**: The charges resource will be deprecated and removed from our API by end of Q1 2023. We recommend not using any data from this resource.", - "inline": undefined, "type": "optional>", }, "created_at": { @@ -7411,6 +7557,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -7467,6 +7614,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "PaymentLinkCallbackUrls": { "docs": undefined, + "inline": undefined, "properties": { "cancel": { "docs": "The URL that the user should be redirected to if they decide to cancel the payment process or if an error occurs. @@ -7489,6 +7637,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro "docs": "The URLs that the user should be redirected to. **Note:** This field will return an empty object if your integration only generates payment links through the [Belvo Dashboard](https://dashboard.belvo.com/).", + "inline": undefined, "properties": { "cancel": { "docs": "The URL that the user should be redirected to if they decide to cancel the payment process or if an error occurs.", @@ -7505,6 +7654,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "PaymentLinkListOfpi": { "docs": undefined, + "inline": undefined, "properties": { "access_token": { "docs": "The Belvo-generated access token for the payment link. @@ -7581,6 +7731,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "PaymentLinkListPse": { "docs": undefined, + "inline": undefined, "properties": { "access_token": { "docs": "The Belvo-generated access token for the payment link. @@ -7657,6 +7808,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "PaymentLinkOfpi": { "docs": undefined, + "inline": undefined, "properties": { "access_token": { "docs": "The Belvo-generated access token for the payment link. @@ -7726,6 +7878,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "PaymentLinkPaginatedResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -7755,6 +7908,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -7769,6 +7923,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "PaymentLinkPse": { "docs": undefined, + "inline": undefined, "properties": { "access_token": { "docs": "The Belvo-generated access token for the payment link. @@ -7838,6 +7993,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "PaymentMethodInfoCustomerBankAccountsPse": { "docs": undefined, + "inline": undefined, "properties": { "customer": { "docs": "Belvo's unique ID for the current customer.", @@ -7873,6 +8029,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "PaymentMethodInformationBodyOfpi": { "docs": "Payment method type selected.", + "inline": undefined, "properties": { "end_to_end_id": { "docs": "A unique ID for the transaction in the Brazil's PIX payment system.", @@ -7893,6 +8050,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "PaymentMethodInformationBodyPse": { "docs": "Payment method type selected.", + "inline": undefined, "properties": { "bank_payment_id": { "docs": "Unique payment ID provided the institution.", @@ -7917,6 +8075,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "PaymentMethodInformationDetailsPse": { "docs": undefined, + "inline": undefined, "properties": { "account_type": { "docs": "The type of bank account. For example, `Ahorros` or `Corriente`.", @@ -7930,6 +8089,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "PaymentTransaction": { "docs": undefined, + "inline": undefined, "properties": { "amount": { "docs": "The transaction amount. @@ -8010,6 +8170,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -8024,6 +8185,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "PaymentWebhook": { "docs": undefined, + "inline": undefined, "properties": { "auth_header": { "docs": "The authentication header for the request. **Must** be set to `Authorization`.", @@ -8070,6 +8232,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "PaymentsInstitutionsPaginatedResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -8097,6 +8260,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "PaymentsTransactionsPaginatedResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -8124,6 +8288,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "PaymentsWay": { "docs": undefined, + "inline": undefined, "properties": { "form_id": { "docs": "Your unique Payments Way form ID. @@ -8144,6 +8309,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "PaymentsWebhooksPaginatedResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -8171,6 +8337,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "PensionIncomeStatementIndividual": { "docs": "Object containing the tax payer's total pension income.", + "inline": undefined, "properties": { "net_pension_income": { "docs": "The total net pension of the taxpayer.", @@ -8187,6 +8354,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "ReceivablesTransaction": { "docs": undefined, + "inline": undefined, "properties": { "account": "ReceivablesTransactionAccount", "collected_at": { @@ -8254,6 +8422,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "ReceivablesTransactionAccount": { "docs": "Basic information about the account associated with the transaction.", + "inline": undefined, "properties": { "id": { "docs": "Belvo's unique ID for the account associated with the transaction.", @@ -8273,6 +8442,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "ReceivablesTransactionNumberOfInstallments": { "docs": "Details regarding the number of installments for the transaction, if applicable.", + "inline": undefined, "properties": { "paid": { "docs": "The number of payments already made to pay the cost of the transaction.", @@ -8289,6 +8459,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "ReceivablesTransactionsPaginatedResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -8316,6 +8487,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "RecevablesTransactionFees": { "docs": "Details regarding the fees applied to the transaction.", + "inline": undefined, "properties": { "type": "optional", "value": { @@ -8329,6 +8501,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "RecurringExpenseSourceTransaction": { "docs": "An array of minified transaction objects used to evaluate the recurring expense. If no transactions were found, we return an empty array.", + "inline": undefined, "properties": { "amount": { "docs": "The transaction amount.", @@ -8359,6 +8532,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro ℹ️ If no recurring expense insights are found, we return an empty array. ", + "inline": undefined, "properties": { "account": "optional", "average_transaction_amount": { @@ -8407,6 +8581,7 @@ Based on the frequency, you can infer how many days until the next charge will o }, "RecurringExpensesPaginatedResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -8434,6 +8609,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "ReportingId": { "docs": "Object containing information about where the tax payer reports their income.", + "inline": undefined, "properties": { "reporting_type": { "docs": "The type of reporting ID. For DIAN, this is the sectional address code (*Codigo Dirrecion Seccional*)", @@ -8450,6 +8626,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "RequestTimeoutErrorBody": { "docs": "Belvo has a limit regarding the time it takes to log in, retrieve account data, and log out. A timeout occurs when there is a very high amount of data and everything could not be obtained within the allotted time.", + "inline": undefined, "properties": { "code": { "docs": "A unique error code (`request_timeout`) that allows you to classify and handle the error programmatically. @@ -8482,6 +8659,7 @@ For `request_timeout` errors, the description is: }, "RetentionBreakdown": { "docs": "A breakdown of the retained taxes", + "inline": undefined, "properties": { "base_amount": { "docs": "The base amount that was used to calculate the tax retention. @@ -8506,6 +8684,7 @@ For `request_timeout` errors, the description is: }, "RiskInsights": { "docs": undefined, + "inline": undefined, "properties": { "accounts": { "docs": "An array of Belvo-generated account numbers (UUIDs) that were used during the risk insights analysis. If no accounts were found, we return an empty array.", @@ -8547,6 +8726,7 @@ For `request_timeout` errors, the description is: }, "RiskInsightsBalanceMetrics": { "docs": "Balance metrics calculated based on the user's balances from checking and savings accounts.", + "inline": undefined, "properties": { "balance_threshold_x": { "docs": "The threshold used to compute `days_balance_below_x_period`. Please note, this is value is country specific (both in terms of the amount and the currency). @@ -8628,6 +8808,7 @@ For `request_timeout` errors, the description is: However, internal transfers (transfers between accounts belonging to the same link) are not used in the calculation. ", + "inline": undefined, "properties": { "positive_to_negative_ratio_1m": { "docs": "The ratio between sum_positive / sum_negative in the last month (counted from the time of the request). @@ -8689,6 +8870,7 @@ However, internal transfers (transfers between accounts belonging to the same li }, "RiskInsightsCreditCardMetrics": { "docs": "Aggregated metrics calculated based on the link's credit card accounts.", + "inline": undefined, "properties": { "num_accounts": { "docs": "Number of credit cards accounts associated to the link. @@ -8719,6 +8901,7 @@ However, internal transfers (transfers between accounts belonging to the same li }, "RiskInsightsLoansMetrics": { "docs": "Aggregated metrics calculated based on the user's loan accounts.", + "inline": undefined, "properties": { "num_accounts": { "docs": "Number of loan accounts associated with the link. @@ -8747,6 +8930,7 @@ However, internal transfers (transfers between accounts belonging to the same li }, "RiskInsightsPaginatedResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -8774,6 +8958,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "RiskInsightsTransactionMetrics": { "docs": "Aggregated metrics calculated band on the user's transactions from checking, savings, credit card, and loan accounts.", + "inline": undefined, "properties": { "max_incoming_amount_1m": { "docs": "The highest value inflow transaction in the last month. @@ -8950,6 +9135,7 @@ If the account has not been open long enough to have the transaction data for a }, "SecretKeys": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "The ISO-8601 timestamp of when the secret key was created. @@ -8982,6 +9168,7 @@ If the account has not been open long enough to have the transaction data for a }, "SecretKeysPaginatedResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -9009,6 +9196,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "SessionExpiredError": { "docs": "This error occurs when you try to resume a request session that has already expired. This is usually because the user took too long to provide their authentication token.", + "inline": undefined, "properties": { "code": { "docs": "A unique error code (`session_expired`) that allows you to classify and handle the error programmatically. @@ -9041,6 +9229,7 @@ For `session_expired` errors, the description is: }, "StandardRequest": { "docs": undefined, + "inline": undefined, "properties": { "link": { "docs": "The `link.id` that you want to get information for.", @@ -9069,6 +9258,7 @@ When set to `false`, the data won't be persisted and we return a 200 OK response }, "TaxAssessmentBusiness": { "docs": "Object containing the calculated tax assessment of the tax payer. This includes the total taxable income, the income tax applied, and taxes already withheld.", + "inline": undefined, "properties": { "fortuitous_profit_tax": { "docs": "The tax applied on your unexpected income (such as lottery wins or house sales).", @@ -9113,6 +9303,7 @@ When set to `false`, the data won't be persisted and we return a 200 OK response }, "TaxAssessmentIndividual": { "docs": "Object containing the calculated tax assessment of the tax payer. This includes the total taxable income, the income tax applied, and taxes already withheld.", + "inline": undefined, "properties": { "balance_payable": { "docs": "How much the tax payer is required to pay.", @@ -9161,6 +9352,7 @@ The amount the tax payer has as a "credit" fromt he previous year (this is equal }, "TaxComplianceStatus": { "docs": undefined, + "inline": undefined, "properties": { "collected_at": { "docs": "The ISO-8601 timestamp when the data point was collected.", @@ -9206,6 +9398,7 @@ The amount the tax payer has as a "credit" fromt he previous year (this is equal }, "TaxComplianceStatusPaginatedResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -9233,6 +9426,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "TaxDeclarationBusiness": { "docs": undefined, + "inline": undefined, "properties": { "annual_costs_and_deductions_statement": "AnnualCostsAndDeductionsStatementBusiness", "annual_income_statement": "AnnualIncomeStatementBusiness", @@ -9289,6 +9483,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "TaxDeclarationBusinessPaginated": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -9316,6 +9511,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "TaxDeclarationIndividual": { "docs": undefined, + "inline": undefined, "properties": { "annual_income_statement": "AnnualIncomeStatementIndividual", "collected_at": { @@ -9372,6 +9568,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "TaxDeclarationIndividualPaginated": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -9399,6 +9596,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "TaxPayerInformationBusiness": { "docs": "Object containing information about the tax payer.", + "inline": undefined, "properties": { "company_name": { "docs": "The name of the company, as registered at the institution.", @@ -9433,6 +9631,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "TaxPayerInformationIndividual": { "docs": "Object containing information about the tax payer.", + "inline": undefined, "properties": { "document_id": "DocumentIdIndividual", "first_last_name": { @@ -9463,6 +9662,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "TaxRetentions": { "docs": undefined, + "inline": undefined, "properties": { "cancelled_at": { "docs": "The ISO-8601 timestamp of when the tax retention was canceled (if applicable). @@ -9587,6 +9787,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "TaxRetentionsPaginatedResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -9615,6 +9816,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro "TaxReturnBusiness": { "docs": undefined, "extra-properties": true, + "inline": undefined, "properties": { "cifras_cierre_ejercicio": { "docs": "Details regarding key numbers at the end of the fiscal exercise.", @@ -9702,6 +9904,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro "TaxReturnBusinessMonthly": { "docs": undefined, "extra-properties": true, + "inline": undefined, "properties": { "collected_at": { "docs": "The ISO-8601 timestamp when the data point was collected.", @@ -9773,6 +9976,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro "TaxReturnPersonal": { "docs": undefined, "extra-properties": true, + "inline": undefined, "properties": { "collected_at": { "docs": "The ISO-8601 timestamp when the data point was collected.", @@ -9862,6 +10066,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro "TaxReturnPersonalMonthly": { "docs": undefined, "extra-properties": true, + "inline": undefined, "properties": { "collected_at": { "docs": "The ISO-8601 timestamp when the data point was collected.", @@ -9925,6 +10130,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro "TaxReturnsBusinessMonthlyPaginated": { "docs": undefined, "extra-properties": true, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -9953,6 +10159,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro "TaxReturnsBusinessPaginated": { "docs": undefined, "extra-properties": true, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -9980,6 +10187,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "TaxReturnsMonthlyRequest": { "docs": "Request body for monthly tax returns", + "inline": undefined, "properties": { "attach_pdf": { "default": false, @@ -10028,6 +10236,7 @@ When set to `false`, the data won't be persisted and we return a 200 OK response "TaxReturnsPersonalMonthlyPaginated": { "docs": undefined, "extra-properties": true, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -10056,6 +10265,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro "TaxReturnsPersonalPaginated": { "docs": undefined, "extra-properties": true, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -10083,6 +10293,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "TaxReturnsYearlyRequest": { "docs": "Request body for yearly tax returns", + "inline": undefined, "properties": { "attach_pdf": { "default": false, @@ -10130,6 +10341,7 @@ By default, Belvo returns the yearly (annual) tax returns. }, "TaxStatusAddressBetweenStreetDian": { "docs": undefined, + "inline": undefined, "properties": { "street_one": { "docs": "**Note**: This field is not applicable for DIAN Colombia and will return `null`. @@ -10148,6 +10360,7 @@ By default, Belvo returns the yearly (annual) tax returns. }, "TaxStatusAddressBetweenStreetSat": { "docs": undefined, + "inline": undefined, "properties": { "street_one": { "docs": "The first street that `street` is located between.", @@ -10164,6 +10377,7 @@ By default, Belvo returns the yearly (annual) tax returns. }, "TaxStatusAddressDian": { "docs": "The tax payer's address details.", + "inline": undefined, "properties": { "between_street": { "docs": "**Note**: This field is not applicable for DIAN Colombia and will return `null`. @@ -10216,6 +10430,7 @@ By default, Belvo returns the yearly (annual) tax returns. }, "TaxStatusAddressSat": { "docs": "The tax payer's address details.", + "inline": undefined, "properties": { "between_street": { "docs": "Additional information about where the `street` is located. @@ -10268,6 +10483,7 @@ By default, Belvo returns the yearly (annual) tax returns. }, "TaxStatusDian": { "docs": undefined, + "inline": undefined, "properties": { "address": "optional", "collected_at": { @@ -10358,6 +10574,7 @@ Note: For individuals in Colombia, this field will return `null`. }, "TaxStatusEconomicActivityDian": { "docs": undefined, + "inline": undefined, "properties": { "economic_activity": { "docs": "The economic activity code, according to the fiscal institution. @@ -10403,6 +10620,7 @@ For detailed information regarding DIAN's economic activities, please see their }, "TaxStatusEconomicActivitySat": { "docs": undefined, + "inline": undefined, "properties": { "economic_activity": { "docs": "The description of the economic activity.", @@ -10448,6 +10666,7 @@ For detailed information regarding DIAN's economic activities, please see their ℹ️ For non-business accounts, this field will return empty. ", + "inline": undefined, "properties": { "end_date": { "docs": "**Note**: This field is not applicable for DIAN Colombia and will return `null`. @@ -10491,6 +10710,7 @@ For detailed information regarding DIAN's economic activities, please see their ℹ️ For non-business accounts, this field will return empty. ", + "inline": undefined, "properties": { "end_date": { "docs": "The date when obligation ended. @@ -10531,6 +10751,7 @@ For detailed information regarding DIAN's economic activities, please see their }, "TaxStatusPaginatedResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -10560,6 +10781,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -10574,6 +10796,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "TaxStatusRegimensDian": { "docs": undefined, + "inline": undefined, "properties": { "end_date": { "docs": "**Note**: This field is not applicable for DIAN Colombia and will return `null`. @@ -10608,6 +10831,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "TaxStatusRegimensSat": { "docs": undefined, + "inline": undefined, "properties": { "end_date": { "docs": "The end date of the regimen. @@ -10642,6 +10866,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "TaxStatusSat": { "docs": undefined, + "inline": undefined, "properties": { "address": "optional", "collected_at": { @@ -10729,6 +10954,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "TaxStatusTaxPayerInformationDian": { "docs": "Details regarding the taxpayer.", + "inline": undefined, "properties": { "commercial_name": { "docs": "The name of the business designated for consumers and the general public. @@ -10805,6 +11031,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "TaxStatusTaxPayerInformationSat": { "docs": "Details regarding the taxpayer.", + "inline": undefined, "properties": { "commercial_name": { "docs": "The name of the business designated for consumers and the general public. @@ -10881,6 +11108,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "TokenRequiredResponse": { "docs": "MFA Token Required", + "inline": undefined, "properties": { "code": { "docs": "A unique error code (`token_required`) that allows you to classify and handle the error programmatically. @@ -10938,6 +11166,7 @@ For `token_required` errors, the description is: }, "TokenRequiredResponseTokenGenerationData": { "docs": "Details on how to generate the token.", + "inline": undefined, "properties": { "expects_user_input": { "default": true, @@ -10969,6 +11198,7 @@ You will still need to make a PATCH call to complete the request.", - a user is attempting to log in to their institution via Belvo while also already being logged in to their institution on a web browser or mobile app. - you make a request for information while Belvo is scraping data from the institution for that user.", + "inline": undefined, "properties": { "code": { "docs": "A unique error code (`too_many_sessions`) that allows you to classify and handle the error programmatically. @@ -11001,6 +11231,7 @@ For `too_many_sessions` errors, the description is: }, "Transaction": { "docs": undefined, + "inline": undefined, "properties": { "account": "optional", "accounting_date": { @@ -11098,6 +11329,7 @@ For `too_many_sessions` errors, the description is: }, "TransactionBankAccountBodyPse": { "docs": "Information about the payer's bank account. Belvo returns the bank account ID when the account is already saved in the Belvo database.", + "inline": undefined, "properties": { "bank_account": { "docs": "Belvo's unique identifier for the payer’s bank account.", @@ -11122,6 +11354,7 @@ For `too_many_sessions` errors, the description is: "discriminated": false, "docs": "Object containing the payer's bank account information.", "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -11136,6 +11369,7 @@ For `too_many_sessions` errors, the description is: }, "TransactionCreditCardData": { "docs": "Additional data provided by the institution for credit card transactions.", + "inline": undefined, "properties": { "bill_amount": { "docs": "The aggregate bill amount, as of `collected_at`.", @@ -11170,6 +11404,7 @@ We only return merchant information for new transactions made from *checking* or > **Get merchant information** We retrieve the merchant information for a transaction as part of our [Transaction categorization](https://developers.belvo.com/docs/banking#categorizing-transactions) product, turning raw data into actionable insights. To enable this product, just [reach out](https://belvo.com/contact/?utm_source=documentation) to us, and we'll get right to it. ", + "inline": undefined, "properties": { "logo": { "docs": "The URL to the merchant's logo.", @@ -11190,6 +11425,7 @@ We only return merchant information for new transactions made from *checking* or }, "TransactionsPaginatedResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "The total number of results in your Belvo account.", @@ -11217,6 +11453,7 @@ In our documentation example, we use `{endpoint}` as a placeholder value. In pro }, "TransactionsRequest": { "docs": undefined, + "inline": undefined, "properties": { "account": { "docs": "If provided, we return transactions only from this account.", @@ -11279,6 +11516,7 @@ When set to `false`, the data won't be persisted and we return a 200 OK response }, "UnauthorizedErrorBody": { "docs": "This error occurs when you try to make an API call using incorrect Belvo API credentials (either your secret key or secret password, or both, are incorrect).", + "inline": undefined, "properties": { "code": { "docs": "A unique error code (`authentication_failed`) that allows you to classify and handle the error programmatically. @@ -11312,6 +11550,7 @@ For `authentication_failed` errors, the description is: "UnconfirmedLinkError": { "docs": "This error occurs when you try to access a link that was paused previously (and as such is not active now). A Link's status is set to `unconfirmed_link` when your user has not completed the Link creation process successfully (for example, they might not provide a valid MFA token).", + "inline": undefined, "properties": { "code": { "docs": "A unique error code (`unconfirmed_link`) that allows you to classify and handle the error programmatically. @@ -11344,6 +11583,7 @@ For `unconfirmed_link` errors, the description is: }, "UnexpectedError": { "docs": "This error occurs when we (Belvo) have encountered an internal system error (sorry about that) or due to an unsupported response from the institution.", + "inline": undefined, "properties": { "code": { "docs": "A unique error code (`unexpected_error`) that allows you to classify and handle the error programmatically. @@ -11376,6 +11616,7 @@ For `unexpected_error` errors, the description is: }, "UnsupportedOperationError": { "docs": "This error occurs when you try to access some data operation that Belvo does not support for an institution. For example, trying to access the Balances resource for fiscal institutions.", + "inline": undefined, "properties": { "code": { "docs": "A unique error code (`unsupported_operation`) that allows you to classify and handle the error programmatically. @@ -11408,6 +11649,7 @@ For `unsupported_operation` errors, the description is: }, "ValidationError": { "docs": "This error occurs when you try to resume a request session that has already expired. This is usually because the user took too long to provide their authentication token.", + "inline": undefined, "properties": { "code": { "docs": "A unique error code (`null`, `does_not_exist`, `required`) that allows you to classify and handle the error programmatically. @@ -14683,6 +14925,7 @@ types: - type: InvoiceDian source: openapi: ../openapi.yml + inline: true InvoicesResponsePaginatedResponse: properties: count: @@ -15674,6 +15917,7 @@ types: - type: TaxStatusDian source: openapi: ../openapi.yml + inline: true TaxStatusPaginatedResponse: properties: count: @@ -18917,6 +19161,7 @@ types: - type: CustomerPse source: openapi: ../openapi.yml + inline: true CustomerPaginatedResponse: properties: count: @@ -19071,6 +19316,7 @@ types: - type: INDIVIDUAL source: openapi: ../openapi.yml + inline: true OFPI: docs: Details about the payment method. properties: @@ -19085,6 +19331,7 @@ types: - type: BankAccountDetailsOfpiPix source: openapi: ../openapi.yml + inline: true BankAccountOfpiResponse: properties: id: @@ -19209,6 +19456,7 @@ types: - BankAccountPseResponse source: openapi: ../openapi.yml + inline: true BankAccountPaginatedResponse: properties: count: @@ -19243,6 +19491,7 @@ types: - type: INDIVIDUAL source: openapi: ../openapi.yml + inline: true CreateBankAccountOfpiDetails: discriminated: false docs: Information regarding the bank account. @@ -19251,6 +19500,7 @@ types: - type: BankAccountDetailsOfpiPix source: openapi: ../openapi.yml + inline: true CreateBankAccountOfpi: properties: institution: @@ -19480,6 +19730,7 @@ types: - type: PaymentLinkListPse source: openapi: ../openapi.yml + inline: true PaymentLinkPaginatedResponse: properties: count: @@ -19588,6 +19839,7 @@ types: - float source: openapi: ../openapi.yml + inline: true CreatePaymentLinkOfpi: properties: amount: @@ -19654,6 +19906,7 @@ types: - long source: openapi: ../openapi.yml + inline: true CreatePaymentLinkPse: properties: amount: @@ -19790,6 +20043,7 @@ types: - type: BankAccountDetailsOpenFinancePix source: openapi: ../openapi.yml + inline: true BeneficiaryBankAccountOfpi: properties: id: @@ -20112,6 +20366,7 @@ types: - type: TransactionBankAccountPse source: openapi: ../openapi.yml + inline: true PaymentTransaction: properties: id: @@ -20178,6 +20433,7 @@ types: - type: OFPI source: openapi: ../openapi.yml + inline: true Charge: properties: id: @@ -20294,6 +20550,7 @@ types: - type: BUSINESS source: openapi: ../openapi.yml + inline: true PaymentIntentOfpi: properties: id: @@ -20822,6 +21079,7 @@ types: - type: LastErrorSessionExpired source: openapi: ../openapi.yml + inline: true PaymentIntentPse: properties: id: @@ -30487,6 +30745,7 @@ docs: >- "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -30503,6 +30762,7 @@ docs: >- "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -30517,6 +30777,7 @@ docs: >- "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -31642,6 +31903,7 @@ docs: >- "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -31658,6 +31920,7 @@ docs: >- "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -31674,6 +31937,7 @@ docs: >- "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -41085,6 +41349,7 @@ When set to `false`, the data won't be persisted and we return a 200 OK response "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -41101,6 +41366,7 @@ When set to `false`, the data won't be persisted and we return a 200 OK response "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -41117,6 +41383,7 @@ When set to `false`, the data won't be persisted and we return a 200 OK response "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -49769,6 +50036,7 @@ During the payment intent flow, you need to fill in the payment intent with requ **Note:** You can send through this value either as a string or an integer. Regardless of the type you choose to send the `amount` as, Belvo returns a string with two decimal points, separated by a period ( `.`). For example, `350000.00`. ", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -50403,6 +50671,7 @@ types: - long source: openapi: ../openapi.yml + inline: true ", }, "paymentLinks.yml": { @@ -50812,6 +51081,7 @@ types: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -50828,6 +51098,7 @@ types: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -50844,6 +51115,7 @@ types: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -59238,6 +59510,7 @@ When set to `false`, the data won't be persisted and we return a 200 OK response "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -59254,6 +59527,7 @@ When set to `false`, the data won't be persisted and we return a 200 OK response "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -59270,6 +59544,7 @@ When set to `false`, the data won't be persisted and we return a 200 OK response "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -65638,6 +65913,7 @@ client.connect() "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -65660,6 +65936,7 @@ client.connect() "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -65682,6 +65959,7 @@ client.connect() "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -65698,6 +65976,7 @@ client.connect() "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -70927,6 +71206,7 @@ When set to `false`, the data won't be persisted and we return a 200 OK response "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -70943,6 +71223,7 @@ When set to `false`, the data won't be persisted and we return a 200 OK response "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/buzzshot.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/buzzshot.json index 771f63d4430..fd91f1ef799 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/buzzshot.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/buzzshot.json @@ -8,12 +8,10 @@ "types": { "Game": { "docs": undefined, + "inline": undefined, "properties": { "added_at": "optional", - "complete": { - "inline": true, - "type": "GameComplete", - }, + "complete": "GameComplete", "date": { "type": "string", "validation": { @@ -47,6 +45,7 @@ }, "GameComplete": { "docs": undefined, + "inline": true, "properties": { "completed_at": "datetime", "completion_time": "optional", @@ -60,6 +59,7 @@ }, "GameExtraFieldsItem": { "docs": undefined, + "inline": true, "properties": { "key": "string", "label": "optional", @@ -72,6 +72,7 @@ }, "GamePhotosItem": { "docs": undefined, + "inline": true, "properties": { "added_at": "optional", "photo": "string", @@ -92,6 +93,7 @@ }, "Group": { "docs": undefined, + "inline": undefined, "properties": { "added_at": "optional", "date": { @@ -127,12 +129,10 @@ }, "GroupGamesItem": { "docs": undefined, + "inline": true, "properties": { "added_at": "optional", - "complete": { - "inline": true, - "type": "GroupGamesItemComplete", - }, + "complete": "GroupGamesItemComplete", "date": { "type": "string", "validation": { @@ -164,6 +164,7 @@ }, "GroupGamesItemComplete": { "docs": undefined, + "inline": true, "properties": { "completed_at": "datetime", "completion_time": "optional", @@ -177,6 +178,7 @@ }, "GroupGamesItemExtraFieldsItem": { "docs": undefined, + "inline": true, "properties": { "key": "string", "label": "optional", @@ -189,6 +191,7 @@ }, "GroupPhotosItem": { "docs": undefined, + "inline": true, "properties": { "added_at": "optional", "game": "optional", @@ -210,6 +213,7 @@ }, "GroupPlayersItem": { "docs": undefined, + "inline": true, "properties": { "added_at": "optional", "email": { @@ -251,6 +255,7 @@ }, "GroupPlayersItemExtraFieldsItem": { "docs": undefined, + "inline": true, "properties": { "key": "string", "label": "optional", @@ -263,6 +268,7 @@ }, "Photo": { "docs": undefined, + "inline": undefined, "properties": { "added_at": "optional", "id": "optional", @@ -283,6 +289,7 @@ }, "PhotoProcessedItem": { "docs": undefined, + "inline": true, "properties": { "added_at": "optional", "game": "optional", @@ -305,6 +312,7 @@ }, "Player": { "docs": undefined, + "inline": undefined, "properties": { "added_at": "optional", "email": { @@ -346,6 +354,7 @@ }, "PlayerExtraFieldsItem": { "docs": undefined, + "inline": true, "properties": { "key": "string", "label": "optional", @@ -358,6 +367,7 @@ }, "Room": { "docs": undefined, + "inline": undefined, "properties": { "hidden": "optional", "id": "optional", @@ -399,6 +409,7 @@ ready: optional source: openapi: ../openapi.yml + inline: true GameExtraFieldsItem: properties: key: string @@ -407,6 +418,7 @@ present: boolean source: openapi: ../openapi.yml + inline: true GameComplete: properties: completed_at: datetime @@ -416,6 +428,7 @@ completion_time: optional source: openapi: ../openapi.yml + inline: true Game: properties: id: optional @@ -435,9 +448,7 @@ room: optional photos: optional> extra_fields: list - complete: - type: GameComplete - inline: true + complete: GameComplete source: openapi: ../openapi.yml GroupGamesItemExtraFieldsItem: @@ -448,6 +459,7 @@ present: boolean source: openapi: ../openapi.yml + inline: true GroupGamesItemComplete: properties: completed_at: datetime @@ -457,6 +469,7 @@ completion_time: optional source: openapi: ../openapi.yml + inline: true GroupGamesItem: properties: id: optional @@ -474,11 +487,10 @@ start_at: optional room: optional extra_fields: list - complete: - type: GroupGamesItemComplete - inline: true + complete: GroupGamesItemComplete source: openapi: ../openapi.yml + inline: true GroupPlayersItemExtraFieldsItem: properties: key: string @@ -487,6 +499,7 @@ present: boolean source: openapi: ../openapi.yml + inline: true GroupPlayersItem: properties: added_at: optional @@ -509,6 +522,7 @@ signature: optional source: openapi: ../openapi.yml + inline: true GroupPhotosItem: properties: added_at: optional @@ -521,6 +535,7 @@ ready: optional source: openapi: ../openapi.yml + inline: true Group: properties: id: optional @@ -550,6 +565,7 @@ present: boolean source: openapi: ../openapi.yml + inline: true Player: properties: id: optional @@ -585,6 +601,7 @@ ready: optional source: openapi: ../openapi.yml + inline: true Photo: properties: id: optional @@ -1303,6 +1320,7 @@ "types": { "ListAccountsResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "next": { @@ -1331,6 +1349,7 @@ }, "ListGamesResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "next": { @@ -1359,6 +1378,7 @@ }, "ListGroupsResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "next": { @@ -1387,6 +1407,7 @@ }, "ListLocationsResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "next": { @@ -1415,6 +1436,7 @@ }, "ListPhotosResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "next": { @@ -1443,6 +1465,7 @@ }, "ListPlayersResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "next": { diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/deel.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/deel.json index 326c7d434dd..13cfb2c3ff7 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/deel.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/deel.json @@ -99,22 +99,14 @@ "types": { "Agreement": { "docs": undefined, + "inline": undefined, "properties": { "agreement_title": "string", "agreement_type": "string", - "client_legal_entity": { - "inline": true, - "type": "AgreementClientLegalEntity", - }, + "client_legal_entity": "AgreementClientLegalEntity", "id": "double", - "msa": { - "inline": true, - "type": "AgreementMsa", - }, - "provider_legal_entity": { - "inline": true, - "type": "AgreementProviderLegalEntity", - }, + "msa": "AgreementMsa", + "provider_legal_entity": "AgreementProviderLegalEntity", }, "source": { "openapi": "../openapi.yml", @@ -122,6 +114,7 @@ }, "AgreementClientLegalEntity": { "docs": undefined, + "inline": true, "properties": { "id": "double", "name": "string", @@ -133,6 +126,7 @@ "AgreementList": "list", "AgreementListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "AgreementList", "page": "optional", @@ -143,6 +137,7 @@ }, "AgreementMsa": { "docs": undefined, + "inline": true, "properties": { "id": "string", "title": "string", @@ -153,6 +148,7 @@ }, "AgreementProviderLegalEntity": { "docs": undefined, + "inline": true, "properties": { "id": "double", "name": "string", @@ -171,6 +167,7 @@ }, "AgreementsSearchForm": { "docs": "Convenient model to encapsulate query parameters to get a list of agreements.", + "inline": undefined, "properties": { "contract_id": "optional", "limit": "optional", @@ -182,6 +179,7 @@ }, "AlternateEmailItem": { "docs": undefined, + "inline": undefined, "properties": { "email": "optional", "isVerified": "boolean", @@ -196,6 +194,7 @@ }, "ApiError": { "docs": undefined, + "inline": undefined, "properties": { "message": { "docs": "A description of the returned error", @@ -212,6 +211,7 @@ }, "ApiErrorContainer": { "docs": undefined, + "inline": undefined, "properties": { "errors": "optional>", "request": "optional", @@ -222,6 +222,7 @@ }, "ApiErrorRequest": { "docs": undefined, + "inline": undefined, "properties": { "api_req_id": { "docs": "The request ID of the failed request", @@ -258,6 +259,7 @@ }, "BasicContract": { "docs": undefined, + "inline": undefined, "properties": { "client": "ClientOfBasicContract", "created_at": "optional", @@ -300,40 +302,26 @@ }, "BasicInvoiceAdjustment": { "docs": undefined, + "inline": undefined, "properties": { "attachment": "optional", - "contract": { - "inline": true, - "type": "BasicInvoiceAdjustmentContract", - }, + "contract": "BasicInvoiceAdjustmentContract", "created_at": "optional", "currency_code": "CurrencyCodeRequired", "custom_scale": "optional", "date_submitted": "optional", "description": "string", "id": "UniqueObjectIdentifier", - "payment_cycle": { - "inline": true, - "type": "BasicInvoiceAdjustmentPaymentCycle", - }, + "payment_cycle": "BasicInvoiceAdjustmentPaymentCycle", "public_id": "optional", "quantity": "optional", - "reported_by": { - "inline": true, - "type": "BasicInvoiceAdjustmentReportedBy", - }, - "reviewed_by": { - "inline": true, - "type": "optional", - }, + "reported_by": "BasicInvoiceAdjustmentReportedBy", + "reviewed_by": "optional", "scale": "optional", "status": "optional", "total_amount": "string", "type": "InvoiceAdjustmentTypeEnum", - "worksheet": { - "inline": true, - "type": "optional", - }, + "worksheet": "optional", }, "source": { "openapi": "../openapi.yml", @@ -341,6 +329,7 @@ }, "BasicInvoiceAdjustmentContract": { "docs": undefined, + "inline": true, "properties": { "id": "string", "title": "string", @@ -352,6 +341,7 @@ }, "BasicInvoiceAdjustmentPaymentCycle": { "docs": undefined, + "inline": true, "properties": { "end_date": "optional", "start_date": "optional", @@ -362,6 +352,7 @@ }, "BasicInvoiceAdjustmentReportedBy": { "docs": undefined, + "inline": true, "properties": { "full_name": "string", "id": "double", @@ -372,6 +363,7 @@ }, "BasicInvoiceAdjustmentReviewedBy": { "docs": undefined, + "inline": true, "properties": { "full_name": "string", "id": "double", @@ -384,6 +376,7 @@ }, "BasicInvoiceAdjustmentWorksheet": { "docs": undefined, + "inline": true, "properties": { "days": { "type": "double", @@ -432,6 +425,7 @@ }, "BasicLegalEntity": { "docs": undefined, + "inline": undefined, "properties": { "entity_subtype": "LegalEntitySubType", "entity_type": "LegalEntityType", @@ -444,6 +438,7 @@ }, "BasicOrganization": { "docs": undefined, + "inline": undefined, "properties": { "id": "double", "name": { @@ -462,6 +457,7 @@ }, "BasicTeam": { "docs": undefined, + "inline": undefined, "properties": { "id": "double", "name": { @@ -480,32 +476,21 @@ }, "BasicTimesheet": { "docs": undefined, + "inline": undefined, "properties": { "attachment": "optional", - "contract": { - "inline": true, - "type": "BasicTimesheetContract", - }, + "contract": "BasicTimesheetContract", "created_at": "string", "currency_code": "CurrencyCodeRequired", "custom_scale": "optional", "date_submitted": "optional", "description": "string", "id": "UniqueObjectIdentifier", - "payment_cycle": { - "inline": true, - "type": "optional", - }, + "payment_cycle": "optional", "public_id": "optional", "quantity": "optional", - "reported_by": { - "inline": true, - "type": "BasicTimesheetReportedBy", - }, - "reviewed_by": { - "inline": true, - "type": "optional", - }, + "reported_by": "BasicTimesheetReportedBy", + "reviewed_by": "optional", "scale": "optional", "status": "optional", "total_amount": { @@ -516,10 +501,7 @@ "docs": "Deprecated - it is always "work"", "type": "string", }, - "worksheet": { - "inline": true, - "type": "optional", - }, + "worksheet": "optional", }, "source": { "openapi": "../openapi.yml", @@ -527,6 +509,7 @@ }, "BasicTimesheetContract": { "docs": undefined, + "inline": true, "properties": { "id": "string", "title": "string", @@ -538,6 +521,7 @@ }, "BasicTimesheetPaymentCycle": { "docs": undefined, + "inline": true, "properties": { "end_date": "optional", "start_date": "optional", @@ -548,6 +532,7 @@ }, "BasicTimesheetReportedBy": { "docs": undefined, + "inline": true, "properties": { "full_name": "string", "id": "double", @@ -558,6 +543,7 @@ }, "BasicTimesheetReviewedBy": { "docs": undefined, + "inline": true, "properties": { "full_name": "string", "id": "double", @@ -570,6 +556,7 @@ }, "BasicTimesheetWorksheet": { "docs": undefined, + "inline": true, "properties": { "days": { "type": "double", @@ -618,6 +605,7 @@ }, "ClientLegalEntity": { "docs": undefined, + "inline": undefined, "properties": { "email": "optional", "id": "long", @@ -633,6 +621,7 @@ }, "ClientOfBasicContract": { "docs": undefined, + "inline": undefined, "properties": { "team": "optional", }, @@ -642,6 +631,7 @@ }, "ClientOfContract": { "docs": undefined, + "inline": undefined, "properties": { "email": "optional", "full_name": "string", @@ -655,6 +645,7 @@ }, "CompensationDetailsOfContract": { "docs": undefined, + "inline": undefined, "properties": { "amount": "string", "currency_code": "CurrencyCodeRequired", @@ -672,6 +663,7 @@ }, "CompensationDetailsOfContractToCreateOngoingTimeBased": { "docs": undefined, + "inline": undefined, "properties": { "amount": "double", "scale": "WorkStatementScaleEnum", @@ -682,6 +674,7 @@ }, "CompensationDetailsOfContractToCreatePayAsYouGoTimeBased": { "docs": undefined, + "inline": undefined, "properties": { "amount": "double", "scale": "WorkStatementScaleEnum", @@ -692,6 +685,7 @@ }, "CompensationDetailsOfContractToCreateShared": { "docs": undefined, + "inline": undefined, "properties": { "amount": { "docs": "Amount to be paid. This field can be excluded when creating a Pay-as-you-go task-based or Milestone contracts.", @@ -747,6 +741,7 @@ }, "Contract": { "docs": undefined, + "inline": undefined, "properties": { "client": "optional", "compensation_details": "CompensationDetailsOfContract", @@ -796,6 +791,7 @@ }, "ContractContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "Contract", }, @@ -805,6 +801,7 @@ }, "ContractContainerOngoingTimeBased": { "docs": undefined, + "inline": undefined, "properties": { "data": "Contract", }, @@ -814,6 +811,7 @@ }, "ContractContainerPayAsYouGoTimeBased": { "docs": undefined, + "inline": undefined, "properties": { "data": "Contract", }, @@ -823,6 +821,7 @@ }, "ContractContainerPaygMilestones": { "docs": undefined, + "inline": undefined, "properties": { "data": "Contract", }, @@ -832,6 +831,7 @@ }, "ContractContainerPaygTasks": { "docs": undefined, + "inline": undefined, "properties": { "data": "Contract", }, @@ -841,6 +841,7 @@ }, "ContractCustomField": { "docs": "Customized attributes on contracts (Employee ID, Project code, etc).", + "inline": undefined, "properties": { "name": { "docs": "Custom field property name.", @@ -857,6 +858,7 @@ }, "ContractDetailsToAmend": { "docs": "You can specify any combination of data points that need changing.", + "inline": undefined, "properties": { "amount": { "type": "optional", @@ -936,6 +938,7 @@ }, "ContractDocumentContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "optional", }, @@ -945,6 +948,7 @@ }, "ContractExternalIdPatchedContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "ContractExternalIdToPatch", }, @@ -955,6 +959,7 @@ "ContractExternalIdPatchedResponseContainer": "ContractExternalIdToPatch", "ContractExternalIdToPatch": { "docs": undefined, + "inline": undefined, "properties": { "external_id": { "docs": "A unique identifier for the object provided by an external system.", @@ -977,6 +982,7 @@ }, "ContractInvitationToCreate": { "docs": undefined, + "inline": undefined, "properties": { "email": "EmailTypeRequired", "message": { @@ -997,6 +1003,7 @@ "ContractList": "list", "ContractListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "ContractList", "page": "PageInfo", @@ -1010,6 +1017,7 @@ "discriminated": false, "docs": "Search form should include parameters varied based on usage of cursor for pagination. NOTE: that all query parameters are based on strings", "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -1020,6 +1028,7 @@ }, "ContractSearchFormWithCursor": { "docs": "This is a model to make it easier to understand and restrict search parameters", + "inline": undefined, "properties": { "after_cursor": { "docs": "Return next page of results after given cursor.", @@ -1043,6 +1052,7 @@ }, "ContractSearchFormWithoutCursor": { "docs": "This is a model to make it easier to understand and restrict search parameters", + "inline": undefined, "properties": { "countries": "optional", "currencies": "optional", @@ -1094,6 +1104,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1106,6 +1117,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1118,6 +1130,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1130,6 +1143,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1140,6 +1154,7 @@ }, "ContractSignatureToCreate": { "docs": undefined, + "inline": undefined, "properties": { "client_signature": { "docs": "Signature of client.", @@ -1190,6 +1205,7 @@ "ContractTemplateList": "list", "ContractTemplateListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "optional", }, @@ -1199,6 +1215,7 @@ }, "ContractTemplateSummary": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "Unique identifier of a contract template", @@ -1215,6 +1232,7 @@ }, "ContractTerminationResult": { "docs": undefined, + "inline": undefined, "properties": { "completion_date": { "docs": "Date the contract is marked for completion", @@ -1231,6 +1249,7 @@ }, "ContractTerminationResultContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "ContractTerminationResult", }, @@ -1242,6 +1261,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -1257,6 +1277,7 @@ "extends": [ "ContractToCreateShared", ], + "inline": undefined, "properties": { "compensation_details": "ContractToCreateOngoingTimeBasedCompensationDetails", "type": "literal<"ongoing_time_based">", @@ -1267,6 +1288,7 @@ }, "ContractToCreateOngoingTimeBasedCompensationDetails": { "docs": undefined, + "inline": true, "properties": { "amount": { "docs": "Amount to be paid. This field can be excluded when creating a Pay-as-you-go task-based or Milestone contracts.", @@ -1326,6 +1348,7 @@ "extends": [ "ContractToCreateShared", ], + "inline": undefined, "properties": { "compensation_details": "ContractToCreatePayAsYouGoTimeBasedCompensationDetails", "type": "literal<"pay_as_you_go_time_based">", @@ -1336,6 +1359,7 @@ }, "ContractToCreatePayAsYouGoTimeBasedCompensationDetails": { "docs": undefined, + "inline": true, "properties": { "amount": { "docs": "Amount to be paid. This field can be excluded when creating a Pay-as-you-go task-based or Milestone contracts.", @@ -1395,6 +1419,7 @@ "extends": [ "ContractToCreateShared", ], + "inline": undefined, "properties": { "compensation_details": "CompensationDetailsOfContractToCreateShared", "type": "literal<"payg_milestones">", @@ -1408,6 +1433,7 @@ "extends": [ "ContractToCreateShared", ], + "inline": undefined, "properties": { "compensation_details": "CompensationDetailsOfContractToCreateShared", "type": "literal<"payg_tasks">", @@ -1418,11 +1444,9 @@ }, "ContractToCreateShared": { "docs": "Details of contract to create", + "inline": undefined, "properties": { - "client": { - "inline": true, - "type": "ContractToCreateSharedClient", - }, + "client": "ContractToCreateSharedClient", "country_code": "optional", "external_id": { "docs": "External Id.", @@ -1430,7 +1454,6 @@ }, "job_title": { "docs": "Worker's job title. You can enter a custom job title or use a pre-defiled job title using the Id retrieved in job-titles endpoint.", - "inline": true, "type": "ContractToCreateSharedJobTitle", }, "meta": "MetaDataOfContractToCreate", @@ -1441,7 +1464,6 @@ }, "seniority": { "docs": "Job seniority level. Please use the seniority levels endpoint to retrieve the list of seniority levels.", - "inline": true, "type": "optional", }, "special_clause": { @@ -1461,7 +1483,6 @@ "who_reports": "optional", "worker": { "docs": "Worker properties", - "inline": true, "type": "optional", }, }, @@ -1471,15 +1492,14 @@ }, "ContractToCreateSharedClient": { "docs": undefined, + "inline": true, "properties": { "legal_entity": { "docs": "Choose the Deel legal entity for this contract. Use legal entity endpoint to retrieve a list of legal entities in your organization.", - "inline": true, "type": "ContractToCreateSharedClientLegalEntity", }, "team": { "docs": "Choose the Deel team for this contract. Use teams endpoint to retrieve a list of teams in your organization.", - "inline": true, "type": "ContractToCreateSharedClientTeam", }, }, @@ -1489,6 +1509,7 @@ }, "ContractToCreateSharedClientLegalEntity": { "docs": "Choose the Deel legal entity for this contract. Use legal entity endpoint to retrieve a list of legal entities in your organization.", + "inline": true, "properties": { "id": "double", }, @@ -1498,6 +1519,7 @@ }, "ContractToCreateSharedClientTeam": { "docs": "Choose the Deel team for this contract. Use teams endpoint to retrieve a list of teams in your organization.", + "inline": true, "properties": { "id": "double", }, @@ -1507,6 +1529,7 @@ }, "ContractToCreateSharedJobTitle": { "docs": "Worker's job title. You can enter a custom job title or use a pre-defiled job title using the Id retrieved in job-titles endpoint.", + "inline": true, "properties": { "id": { "docs": "Id of an predefined job title.", @@ -1529,6 +1552,7 @@ }, "ContractToCreateSharedSeniority": { "docs": "Job seniority level. Please use the seniority levels endpoint to retrieve the list of seniority levels.", + "inline": true, "properties": { "id": "optional", }, @@ -1538,6 +1562,7 @@ }, "ContractToCreateSharedWorker": { "docs": "Worker properties", + "inline": true, "properties": { "expected_email": "optional", "first_name": { @@ -1567,6 +1592,7 @@ }, "ContractToTerminate": { "docs": undefined, + "inline": undefined, "properties": { "completion_date": "optional", "message": { @@ -1628,6 +1654,7 @@ }, "Contractor": { "docs": undefined, + "inline": undefined, "properties": { "name": { "default": "", @@ -1652,6 +1679,7 @@ }, "Country": { "docs": undefined, + "inline": undefined, "properties": { "code": "CountryCode", "eor_support": { @@ -1706,6 +1734,7 @@ "CountryList": "list", "CountryListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "CountryList", }, @@ -1715,6 +1744,7 @@ }, "CreateTimeoff": { "docs": undefined, + "inline": undefined, "properties": { "end_date": { "docs": "End date of employee's time off.", @@ -1755,6 +1785,7 @@ }, "CreateTimeoffContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "CreateTimeoff", }, @@ -1775,6 +1806,7 @@ }, "Currency": { "docs": undefined, + "inline": undefined, "properties": { "code": "CurrencyCodeRequired", "name": { @@ -1814,6 +1846,7 @@ "CurrencyList": "list", "CurrencyListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "CurrencyList", }, @@ -1881,12 +1914,10 @@ }, "EmployeeList": { "docs": undefined, + "inline": undefined, "properties": { "birth_date": "optional", - "client_legal_entity": { - "inline": true, - "type": "optional", - }, + "client_legal_entity": "optional", "completion_date": "optional", "country": "optional", "email": "optional", @@ -1898,10 +1929,7 @@ "id": "optional", "job_title": "optional", "last_name": "optional", - "monthly_payment": { - "inline": true, - "type": "optional", - }, + "monthly_payment": "optional", "payments": "optional>", "personal_email": "optional", "pic_url": "optional", @@ -1918,6 +1946,7 @@ }, "EmployeeListClientLegalEntity": { "docs": undefined, + "inline": true, "properties": { "id": "optional", "name": "optional", @@ -1928,6 +1957,7 @@ }, "EmployeeListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "list", }, @@ -1937,6 +1967,7 @@ }, "EmployeeListMonthlyPayment": { "docs": undefined, + "inline": true, "properties": { "count": "optional", }, @@ -1946,6 +1977,7 @@ }, "EmployeeListPaymentsItem": { "docs": undefined, + "inline": true, "properties": { "contract_name": "optional", "currency": "optional", @@ -1958,6 +1990,7 @@ }, "Employment": { "docs": undefined, + "inline": undefined, "properties": { "client_legal_entity": { "docs": "The client legal entity associated with the employment.", @@ -2050,6 +2083,7 @@ }, "EmploymentDetailsOfContract": { "docs": undefined, + "inline": undefined, "properties": { "country": "optional", "days_per_week": "double", @@ -2068,6 +2102,7 @@ }, "EorClientTimeoffRequests": { "docs": undefined, + "inline": undefined, "properties": { "current_approved": { "docs": "Days off approved.", @@ -2101,6 +2136,7 @@ }, "EorClientTimeoffs": { "docs": undefined, + "inline": undefined, "properties": { "employees": { "docs": "List of employee time offs.", @@ -2114,6 +2150,7 @@ }, "EorClientTimeoffsContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "EorClientTimeoffs", }, @@ -2123,28 +2160,14 @@ }, "EorContractCreated": { "docs": undefined, + "inline": undefined, "properties": { - "client": { - "inline": true, - "type": "optional", - }, - "compensation_details": { - "inline": true, - "type": "optional", - }, + "client": "optional", + "compensation_details": "optional", "created_at": "optional", - "employee": { - "inline": true, - "type": "optional", - }, - "employment": { - "inline": true, - "type": "optional", - }, - "health_plan": { - "inline": true, - "type": "optional", - }, + "employee": "optional", + "employment": "optional", + "health_plan": "optional", "id": { "docs": "Id of the contract quote created", "type": "optional", @@ -2163,11 +2186,9 @@ }, "EorContractCreatedClient": { "docs": undefined, + "inline": true, "properties": { - "legal_entity": { - "inline": true, - "type": "optional", - }, + "legal_entity": "optional", }, "source": { "openapi": "../openapi.yml", @@ -2175,6 +2196,7 @@ }, "EorContractCreatedClientLegalEntity": { "docs": undefined, + "inline": true, "properties": { "name": { "docs": "Legal entity name.", @@ -2187,6 +2209,7 @@ }, "EorContractCreatedCompensationDetails": { "docs": undefined, + "inline": true, "properties": { "currency": { "docs": "Currency of gross annual salary.", @@ -2211,6 +2234,7 @@ }, "EorContractCreatedContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "EorContractCreated", }, @@ -2220,6 +2244,7 @@ }, "EorContractCreatedEmployee": { "docs": undefined, + "inline": true, "properties": { "email": { "docs": "Employee's email.", @@ -2244,6 +2269,7 @@ }, "EorContractCreatedEmployment": { "docs": undefined, + "inline": true, "properties": { "calculated_holidays": { "docs": "Number of calculate holidays for this contract.", @@ -2282,6 +2308,7 @@ }, "EorContractCreatedHealthPlan": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "Health plan ID", @@ -2298,23 +2325,12 @@ }, "EorContractToCreate": { "docs": undefined, + "inline": undefined, "properties": { - "client": { - "inline": true, - "type": "EorContractToCreateClient", - }, - "compensation_details": { - "inline": true, - "type": "EorContractToCreateCompensationDetails", - }, - "employee": { - "inline": true, - "type": "optional", - }, - "employment": { - "inline": true, - "type": "EorContractToCreateEmployment", - }, + "client": "EorContractToCreateClient", + "compensation_details": "EorContractToCreateCompensationDetails", + "employee": "optional", + "employment": "EorContractToCreateEmployment", "health_plan_id": { "docs": "Healthare plan Id. You can see available healthcare plans in the country guide endpoint.", "type": "optional", @@ -2325,13 +2341,9 @@ }, "quote_additional_fields": { "docs": "Some countries require additional employee information for employment contracts.", - "inline": true, "type": "optional", }, - "seniority": { - "inline": true, - "type": "EorContractToCreateSeniority", - }, + "seniority": "EorContractToCreateSeniority", }, "source": { "openapi": "../openapi.yml", @@ -2339,15 +2351,10 @@ }, "EorContractToCreateClient": { "docs": undefined, + "inline": true, "properties": { - "legal_entity": { - "inline": true, - "type": "optional", - }, - "team": { - "inline": true, - "type": "optional", - }, + "legal_entity": "optional", + "team": "optional", }, "source": { "openapi": "../openapi.yml", @@ -2355,6 +2362,7 @@ }, "EorContractToCreateClientLegalEntity": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "Enter the Id of legal entity under which you want to hire this person. Use /legal-entities endpoint to retrieve a list of legal entities in your organization.", @@ -2367,6 +2375,7 @@ }, "EorContractToCreateClientTeam": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "Enter the Id of team this person will be hired in. Use /teams endpoint to retrieve a list of teams in your organization.", @@ -2379,6 +2388,7 @@ }, "EorContractToCreateCompensationDetails": { "docs": undefined, + "inline": true, "properties": { "currency": { "docs": "Salary currency.", @@ -2403,11 +2413,9 @@ }, "EorContractToCreateEmployee": { "docs": undefined, + "inline": true, "properties": { - "address": { - "inline": true, - "type": "optional", - }, + "address": "optional", "email": { "docs": "Employee's email address.", "type": "optional", @@ -2431,6 +2439,7 @@ }, "EorContractToCreateEmployeeAddress": { "docs": undefined, + "inline": true, "properties": { "city": { "docs": "City name.", @@ -2456,6 +2465,7 @@ }, "EorContractToCreateEmployment": { "docs": undefined, + "inline": true, "properties": { "country": "optional", "end_date": "optional", @@ -2522,6 +2532,7 @@ }, "EorContractToCreateQuoteAdditionalFields": { "docs": "Some countries require additional employee information for employment contracts.", + "inline": true, "properties": { "dob": { "docs": "Employee's date of birth.", @@ -2552,6 +2563,7 @@ }, "EorContractToCreateSeniority": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "Enter the Id retrieved from the seniority lookup endpoint. Enter 34 for "Not Applicable".", @@ -2564,6 +2576,7 @@ }, "EorCountryValidations": { "docs": undefined, + "inline": undefined, "properties": { "adjustments_information_box": { "docs": "Country specific notes and information.", @@ -2575,20 +2588,15 @@ }, "definite_contract": { "docs": "Conditions to make definitive contract.", - "inline": true, "type": "optional", }, - "health_insurance": { - "inline": true, - "type": "optional", - }, + "health_insurance": "optional", "hiring_guide_country_name": { "docs": "Country name.", "type": "optional", }, "holiday": { "docs": "Range of the number of holidays.", - "inline": true, "type": "optional", }, "insurance_fee": { @@ -2597,35 +2605,27 @@ }, "part_time_holiday": { "docs": "Holiday type and range for part-time contracts.", - "inline": true, "type": "optional", }, "part_time_probation": { "docs": "Probation period range for part-time contracts.", - "inline": true, "type": "optional", }, "probation": { "docs": "Probation period range.", - "inline": true, "type": "optional", }, "salary": { "docs": "Salary range.", - "inline": true, "type": "optional", }, - "sick_days": { - "inline": true, - "type": "optional", - }, + "sick_days": "optional", "start_date_buffer": { "docs": "Calculate employee's minimum start date using the start date buffer. Today's date + (number of business days x start_date_buffer) = Minimum start date.", "type": "optional", }, "work_schedule": { "docs": "Employee's Work schedule in days and hours.", - "inline": true, "type": "optional", }, }, @@ -2635,6 +2635,7 @@ }, "EorCountryValidationsContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "EorCountryValidations", }, @@ -2644,6 +2645,7 @@ }, "EorCountryValidationsDefiniteContract": { "docs": "Conditions to make definitive contract.", + "inline": true, "properties": { "maximum_limitation": "optional", "type": "optional", @@ -2664,6 +2666,7 @@ }, "EorCountryValidationsHealthInsurance": { "docs": undefined, + "inline": true, "properties": { "providers": "optional>", "status": "optional", @@ -2674,6 +2677,7 @@ }, "EorCountryValidationsHoliday": { "docs": "Range of the number of holidays.", + "inline": true, "properties": { "min": { "docs": "Minimum number of holidays required for a legally compliant contract.", @@ -2686,6 +2690,7 @@ }, "EorCountryValidationsPartTimeHoliday": { "docs": "Holiday type and range for part-time contracts.", + "inline": true, "properties": { "min": { "docs": "Minimum number of holidays required for a legally compliant contract.", @@ -2709,6 +2714,7 @@ }, "EorCountryValidationsPartTimeProbation": { "docs": "Probation period range for part-time contracts.", + "inline": true, "properties": { "max": { "docs": "Maximum probation days allowed for a legally compliant contract.", @@ -2725,6 +2731,7 @@ }, "EorCountryValidationsProbation": { "docs": "Probation period range.", + "inline": true, "properties": { "max": { "docs": "Maximum probation days allowed for a legally compliant contract.", @@ -2741,6 +2748,7 @@ }, "EorCountryValidationsSalary": { "docs": "Salary range.", + "inline": true, "properties": { "max": { "docs": "Maximum wage allowed for a legally compliant contract.", @@ -2757,6 +2765,7 @@ }, "EorCountryValidationsSickDays": { "docs": undefined, + "inline": true, "properties": { "max": { "docs": "Maximum number of sick days allowed for a legally compliant contract.", @@ -2773,15 +2782,10 @@ }, "EorCountryValidationsWorkSchedule": { "docs": "Employee's Work schedule in days and hours.", + "inline": true, "properties": { - "days": { - "inline": true, - "type": "optional", - }, - "hours": { - "inline": true, - "type": "optional", - }, + "days": "optional", + "hours": "optional", }, "source": { "openapi": "../openapi.yml", @@ -2789,6 +2793,7 @@ }, "EorCountryValidationsWorkScheduleDays": { "docs": undefined, + "inline": true, "properties": { "max": "optional", }, @@ -2798,6 +2803,7 @@ }, "EorCountryValidationsWorkScheduleHours": { "docs": undefined, + "inline": true, "properties": { "max": "optional", }, @@ -2807,6 +2813,7 @@ }, "EorEntitlementListItem": { "docs": "Entitlement Item for a given year.", + "inline": undefined, "properties": { "max_rollover_yearly": "optional", "other_leave_approved": { @@ -2874,6 +2881,7 @@ }, "EorEntitlements": { "docs": "Time-off Entitlements for EOR contracts.", + "inline": undefined, "properties": { "entitlements": { "docs": "List of entitlements.", @@ -2886,6 +2894,7 @@ }, "EorEntitlementsContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "EorEntitlements", }, @@ -2911,6 +2920,7 @@ }, "EorTimeoffsBaseItem": { "docs": undefined, + "inline": undefined, "properties": { "attachments": "optional", "date_is_half_day": { @@ -2985,6 +2995,7 @@ }, "EorTimeoffsContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "EorTimeoffs", }, @@ -2994,6 +3005,7 @@ }, "EorTimeoffsEmployeeItem": { "docs": undefined, + "inline": undefined, "properties": { "contract_id": "string", "eor_contract_id": "double", @@ -3022,6 +3034,7 @@ "extends": [ "EorTimeoffsBaseItem", ], + "inline": undefined, "properties": { "applied_changes": { "docs": "List of changes applied to the time off.", @@ -3052,6 +3065,7 @@ }, "EorTimeoffsItemContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "EorTimeoffsItem", }, @@ -3061,11 +3075,9 @@ }, "EstimateFirstPayment": { "docs": "Details of pro rata payment to create.", + "inline": undefined, "properties": { - "compensation_details": { - "inline": true, - "type": "EstimateFirstPaymentCompensationDetails", - }, + "compensation_details": "EstimateFirstPaymentCompensationDetails", "country_code": "CountryCode", "start_date": "DateStringRequired", "type": "ContractTypeEnum", @@ -3076,6 +3088,7 @@ }, "EstimateFirstPaymentCompensationDetails": { "docs": undefined, + "inline": true, "properties": { "amount": { "docs": "Amount to be paid. Must be a positive number.", @@ -3138,6 +3151,7 @@ }, "ExchangeRates": { "docs": undefined, + "inline": undefined, "properties": { "rates": "optional>", "risk": "optional", @@ -3148,6 +3162,7 @@ }, "FileAttachmentInfo": { "docs": "This object is used for linking file attachments to your records.", + "inline": undefined, "properties": { "filename": { "docs": "Original filename you used to upload using attachments end-point.", @@ -3164,6 +3179,7 @@ }, "FileObject": { "docs": "This is the file you will upload in a multi-part form.", + "inline": undefined, "properties": { "file": { "docs": "Upload the file you want to attach to this entry.", @@ -3210,6 +3226,7 @@ }, "FinalPaymentCalculated": { "docs": undefined, + "inline": undefined, "properties": { "calculation_type": { "docs": "Either works days or calendar days", @@ -3260,6 +3277,7 @@ }, "FinalPaymentCalculatedContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "FinalPaymentCalculated", }, @@ -3269,6 +3287,7 @@ }, "FinalPaymentCalculatedLastCycle": { "docs": "The last payment cycle.", + "inline": true, "properties": { "completion_date": "optional", "end": "optional", @@ -3280,6 +3299,7 @@ }, "FirstPaymentDate": { "docs": "First payment date", + "inline": undefined, "properties": { "due": "optional", }, @@ -3289,6 +3309,7 @@ }, "GenericReportReviewCreated": { "docs": undefined, + "inline": undefined, "properties": { "id": "UniqueObjectIdentifier", "public_id": "optional", @@ -3300,6 +3321,7 @@ }, "GenericReportReviewCreatedContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "GenericReportReviewCreatedList", }, @@ -3310,11 +3332,9 @@ "GenericReportReviewCreatedList": "list", "GenericResultCreated": { "docs": undefined, + "inline": undefined, "properties": { - "data": { - "inline": true, - "type": "GenericResultCreatedData", - }, + "data": "GenericResultCreatedData", }, "source": { "openapi": "../openapi.yml", @@ -3322,6 +3342,7 @@ }, "GenericResultCreatedData": { "docs": undefined, + "inline": true, "properties": { "created": "boolean", }, @@ -3331,11 +3352,9 @@ }, "GenericResultDeleted": { "docs": undefined, + "inline": undefined, "properties": { - "data": { - "inline": true, - "type": "GenericResultDeletedData", - }, + "data": "GenericResultDeletedData", }, "source": { "openapi": "../openapi.yml", @@ -3343,6 +3362,7 @@ }, "GenericResultDeletedData": { "docs": undefined, + "inline": true, "properties": { "deleted": { "docs": "Confirms the deletion.", @@ -3355,11 +3375,9 @@ }, "GenericResultUpdated": { "docs": undefined, + "inline": undefined, "properties": { - "data": { - "inline": true, - "type": "GenericResultUpdatedData", - }, + "data": "GenericResultUpdatedData", }, "source": { "openapi": "../openapi.yml", @@ -3367,6 +3385,7 @@ }, "GenericResultUpdatedData": { "docs": undefined, + "inline": true, "properties": { "updated": "boolean", }, @@ -3376,6 +3395,7 @@ }, "HealthInsuranceProvider": { "docs": "Health insurance provider.", + "inline": undefined, "properties": { "attachments": { "docs": "File attachments.", @@ -3427,6 +3447,7 @@ }, "HealthInsuranceProviderAttachmentsItem": { "docs": undefined, + "inline": true, "properties": { "id": "optional", "label": "optional", @@ -3437,6 +3458,7 @@ }, "HealthInsuranceProviderPlansItem": { "docs": undefined, + "inline": true, "properties": { "currency": { "docs": "Insurance payment currency.", @@ -3473,6 +3495,7 @@ }, "HrisCompensation": { "docs": undefined, + "inline": undefined, "properties": { "currency": { "type": "string", @@ -3491,6 +3514,7 @@ }, "HrisContractBase": { "docs": undefined, + "inline": undefined, "properties": { "contract_oid": { "docs": "The Hris Direct employee contract ID", @@ -3509,6 +3533,7 @@ "extends": [ "HrisContractBase", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -3519,6 +3544,7 @@ "extends": [ "HrisContractBase", ], + "inline": undefined, "properties": { "part_time_percentage": { "docs": "required if employmentType is "PART_TIME"", @@ -3538,16 +3564,14 @@ }, "HrisDirectEmployee": { "docs": undefined, + "inline": undefined, "properties": { "compensation": "HrisCompensation", "contract": "HrisDirectEmployeeContract", "employee_details": "HrisDirectEmployeeDetails", "job_information": "HrisDirectEmployeeJobInformation", "team_information": "HrisTeamInformation", - "vacation_info": { - "inline": true, - "type": "optional", - }, + "vacation_info": "optional", }, "source": { "openapi": "../openapi.yml", @@ -3555,6 +3579,7 @@ }, "HrisDirectEmployeeContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "HrisDirectEmployeeResponse", }, @@ -3578,6 +3603,7 @@ }, "HrisDirectEmployeeDetails": { "docs": undefined, + "inline": undefined, "properties": { "country": { "type": "string", @@ -3651,6 +3677,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3664,6 +3691,7 @@ "extends": [ "HrisDirectEmployee", ], + "inline": undefined, "properties": { "id": { "docs": "The Hris Direct employee ID", @@ -3676,6 +3704,7 @@ }, "HrisDirectEmployeeVacationInfo": { "docs": undefined, + "inline": true, "properties": { "vacation_accrual_start_date": { "type": "string", @@ -3703,6 +3732,7 @@ }, "HrisJobInformationBase": { "docs": undefined, + "inline": undefined, "properties": { "seniority_id": "double", }, @@ -3715,6 +3745,7 @@ "extends": [ "HrisJobInformationBase", ], + "inline": undefined, "properties": { "job_title_id": "double", }, @@ -3727,6 +3758,7 @@ "extends": [ "HrisJobInformationBase", ], + "inline": undefined, "properties": { "job_title_name": "string", }, @@ -3736,6 +3768,7 @@ }, "HrisTeamInformation": { "docs": undefined, + "inline": undefined, "properties": { "legal_entity_id": "double", "team_id": "double", @@ -3746,6 +3779,7 @@ }, "InputToDeletePgoTask": { "docs": undefined, + "inline": undefined, "properties": { "data": "PgoTaskToDelete", }, @@ -3755,11 +3789,9 @@ }, "InputToShieldContract": { "docs": undefined, + "inline": undefined, "properties": { - "data": { - "inline": true, - "type": "InputToShieldContractData", - }, + "data": "InputToShieldContractData", }, "source": { "openapi": "../openapi.yml", @@ -3767,6 +3799,7 @@ }, "InputToShieldContractData": { "docs": undefined, + "inline": true, "properties": { "agreement_id": { "docs": "MSA contract id (agreement).", @@ -3779,6 +3812,7 @@ }, "InvitationsOfBasicContract": { "docs": undefined, + "inline": undefined, "properties": { "client_email": "optional", "worker_email": "optional", @@ -3789,6 +3823,7 @@ }, "Invoice": { "docs": undefined, + "inline": undefined, "properties": { "amount": { "docs": "Billed amount.", @@ -3851,6 +3886,7 @@ "BasicInvoiceAdjustment", "InvoiceAdjustmentApproversContainer", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -3858,6 +3894,7 @@ }, "InvoiceAdjustmentApprover": { "docs": undefined, + "inline": undefined, "properties": { "approved": "boolean", "email": "string", @@ -3870,6 +3907,7 @@ "InvoiceAdjustmentApproverList": "list", "InvoiceAdjustmentApproversContainer": { "docs": undefined, + "inline": undefined, "properties": { "approvers": "InvoiceAdjustmentApproverList", }, @@ -3879,6 +3917,7 @@ }, "InvoiceAdjustmentContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "InvoiceAdjustment", }, @@ -3888,6 +3927,7 @@ }, "InvoiceAdjustmentCreated": { "docs": "Details of invoice adjustment created.", + "inline": undefined, "properties": { "created": "boolean", "created_at": "optional", @@ -3901,6 +3941,7 @@ }, "InvoiceAdjustmentCreatedContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "InvoiceAdjustmentCreated", }, @@ -3911,6 +3952,7 @@ "InvoiceAdjustmentList": "list", "InvoiceAdjustmentListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "InvoiceAdjustmentList", "page": "PageInfoWithoutCursorNew", @@ -3921,6 +3963,7 @@ }, "InvoiceAdjustmentReviewToCreate": { "docs": undefined, + "inline": undefined, "properties": { "reason": "optional", "status": "InvoiceAdjustmentReviewToCreateStatus", @@ -3940,6 +3983,7 @@ }, "InvoiceAdjustmentReviewsToCreate": { "docs": undefined, + "inline": undefined, "properties": { "ids": "TimesheetIdItems", "reason": "optional", @@ -3960,6 +4004,7 @@ }, "InvoiceAdjustmentSearchContainer": { "docs": "This is a model to make it easier to understand and restrict search parameters", + "inline": undefined, "properties": { "contract_id": "optional", "contract_types": "optional", @@ -4016,6 +4061,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -4028,6 +4074,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -4040,6 +4087,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -4055,6 +4103,7 @@ "InvoiceAdjustmentStatusEnumList": "list>", "InvoiceAdjustmentToCreate": { "docs": "Details of invoice adjustment to create.", + "inline": undefined, "properties": { "amount": { "docs": "Amount to be paid. Must be a positive number.", @@ -4092,6 +4141,7 @@ "InvoiceAdjustmentToCreate", "FileObject", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4099,6 +4149,7 @@ }, "InvoiceAdjustmentToUpdate": { "docs": "Details of invoice adjustment to update.", + "inline": undefined, "properties": { "amount": { "type": "optional", @@ -4175,6 +4226,7 @@ }, "InvoiceContract": { "docs": undefined, + "inline": undefined, "properties": { "contract_type": { "docs": "Type of Deel contract.", @@ -4210,6 +4262,7 @@ }, "InvoiceDownloadContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "InvoiceDownloadObject", }, @@ -4219,6 +4272,7 @@ }, "InvoiceDownloadObject": { "docs": undefined, + "inline": undefined, "properties": { "expires_at": { "docs": "Expiration date time of download URL.", @@ -4240,6 +4294,7 @@ "InvoiceList": "list", "InvoiceListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "InvoiceObject", }, @@ -4249,6 +4304,7 @@ }, "InvoiceObject": { "docs": undefined, + "inline": undefined, "properties": { "rows": "optional", "total": "optional", @@ -4298,6 +4354,7 @@ }, "JobTitle": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "Unique identifier for the job title in Deel platform.", @@ -4315,12 +4372,10 @@ "JobTitleList": "list", "JobTitleListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "JobTitleList", - "page": { - "inline": true, - "type": "JobTitleListContainerPage", - }, + "page": "JobTitleListContainerPage", }, "source": { "openapi": "../openapi.yml", @@ -4328,6 +4383,7 @@ }, "JobTitleListContainerPage": { "docs": undefined, + "inline": true, "properties": { "cursor": { "docs": "Use for pagination to get next set of records after the given cursor.", @@ -4342,6 +4398,7 @@ "LegalEntityList": "list", "LegalEntityListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "optional", }, @@ -4361,6 +4418,7 @@ }, "MetaDataOfContractToCreate": { "docs": "Additional custom info about a contract", + "inline": undefined, "properties": { "documents_required": { "docs": "Require the contractor to upload necessary compliance documents as per their country’s labor laws.", @@ -4374,6 +4432,7 @@ }, "Milestone": { "docs": undefined, + "inline": undefined, "properties": { "amount": { "docs": "Amount to be paid for the milestone.", @@ -4394,12 +4453,10 @@ }, "reported_by": { "docs": "Milestone creator.", - "inline": true, "type": "MilestoneReportedBy", }, "reviewed_by": { "docs": "Reviewer's information.", - "inline": true, "type": "optional", }, "status": { @@ -4417,6 +4474,7 @@ }, "MilestoneContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "Milestone", }, @@ -4427,6 +4485,7 @@ "MilestoneList": "list", "MilestoneListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "MilestoneList", }, @@ -4436,6 +4495,7 @@ }, "MilestoneProperties": { "docs": undefined, + "inline": undefined, "properties": { "amount": { "docs": "Amount to be paid for the milestone.", @@ -4456,6 +4516,7 @@ }, "MilestoneReportedBy": { "docs": "Milestone creator.", + "inline": true, "properties": { "full_name": { "docs": "Reporter's full name.", @@ -4472,6 +4533,7 @@ }, "MilestoneReviewToCreate": { "docs": undefined, + "inline": undefined, "properties": { "reason": "optional", "status": "MilestoneReviewToCreateStatus", @@ -4491,6 +4553,7 @@ }, "MilestoneReviewedBy": { "docs": "Reviewer's information.", + "inline": true, "properties": { "full_name": { "docs": "Reviewer's full name.", @@ -4507,6 +4570,7 @@ }, "MilestoneReviewsToCreate": { "docs": undefined, + "inline": undefined, "properties": { "ids": "list", "reason": "optional", @@ -4532,6 +4596,7 @@ "MilestoneProperties", "FileObject", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4539,6 +4604,7 @@ }, "MonthlyPayment": { "docs": "Monthly payment details for the user", + "inline": undefined, "properties": { "count": { "docs": "The number of monthly payments", @@ -4644,6 +4710,7 @@ }, "OffCyclePayment": { "docs": undefined, + "inline": undefined, "properties": { "amount": { "docs": "Amount of off-cycle payment.", @@ -4658,14 +4725,8 @@ }, "id": "UniqueObjectIdentifier", "public_id": "optional", - "reported_by": { - "inline": true, - "type": "OffCyclePaymentReportedBy", - }, - "reviewed_by": { - "inline": true, - "type": "optional", - }, + "reported_by": "OffCyclePaymentReportedBy", + "reviewed_by": "optional", "status": "optional", }, "source": { @@ -4674,6 +4735,7 @@ }, "OffCyclePaymentContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "OffCyclePayment", }, @@ -4684,6 +4746,7 @@ "OffCyclePaymentList": "list", "OffCyclePaymentListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "OffCyclePaymentList", }, @@ -4693,6 +4756,7 @@ }, "OffCyclePaymentReportedBy": { "docs": undefined, + "inline": true, "properties": { "full_name": { "docs": "Full name of the creator.", @@ -4709,6 +4773,7 @@ }, "OffCyclePaymentReviewedBy": { "docs": undefined, + "inline": true, "properties": { "full_name": { "docs": "Full name of the reviewer.", @@ -4733,6 +4798,7 @@ }, "OffCyclePaymentToCreate": { "docs": "Details of invoice adjustment to create.", + "inline": undefined, "properties": { "amount": { "docs": "Amount to be paid. Must be a positive number.", @@ -4762,6 +4828,7 @@ "OrganizationList": "list", "OrganizationListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "OrganizationList", }, @@ -4771,6 +4838,7 @@ }, "OutputToCreateFileRef": { "docs": undefined, + "inline": undefined, "properties": { "key": "string", "url": "string", @@ -4781,6 +4849,7 @@ }, "OutputToCreateFileRefContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "OutputToCreateFileRef", }, @@ -4790,6 +4859,7 @@ }, "PageInfo": { "docs": undefined, + "inline": undefined, "properties": { "cursor": "string", "total_rows": "double", @@ -4800,6 +4870,7 @@ }, "PageInfoWithoutCursor": { "docs": undefined, + "inline": undefined, "properties": { "total_rows": "double", }, @@ -4809,6 +4880,7 @@ }, "PageInfoWithoutCursorNew": { "docs": undefined, + "inline": undefined, "properties": { "items_per_page": { "type": "double", @@ -4838,6 +4910,7 @@ }, "Payment": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "Timestamp when the record was created.", @@ -4867,6 +4940,7 @@ }, "PaymentBreakDown": { "docs": undefined, + "inline": undefined, "properties": { "adjustment": "optional", "approve_date": "optional", @@ -4933,6 +5007,7 @@ }, "PaymentBreakDownContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "list", }, @@ -4943,6 +5018,7 @@ "PaymentList": "list", "PaymentListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "PaymentObject", }, @@ -4952,6 +5028,7 @@ }, "PaymentMethod": { "docs": undefined, + "inline": undefined, "properties": { "type": "PaymentMethodEnum", }, @@ -4987,6 +5064,7 @@ }, "PaymentObject": { "docs": undefined, + "inline": undefined, "properties": { "rows": "optional", "total": "optional", @@ -4997,6 +5075,7 @@ }, "PaymentStatementInitiatedWebhook": { "docs": undefined, + "inline": undefined, "properties": { "billing_invoices": "list", "invoices": "list", @@ -5018,6 +5097,7 @@ "PaymentStatusEnumList": "list", "PaymentWorker": { "docs": undefined, + "inline": undefined, "properties": { "contract_id": { "docs": "The worker's Deel contract Id.", @@ -5040,6 +5120,7 @@ "PaymentWorkerList": "list", "People": { "docs": "People object representing a Deel", + "inline": undefined, "properties": { "birth_date": { "docs": "Date of birth of the user in ISO format (yyyy-mm-dd)", @@ -5180,6 +5261,7 @@ }, "PeopleClientLegalEntity": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The unique identifier for the client legal entity.", @@ -5196,6 +5278,7 @@ }, "PeopleContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "list", }, @@ -5205,6 +5288,7 @@ }, "PeopleMe": { "docs": "People object representing a Deel", + "inline": undefined, "properties": { "avatar_url": { "docs": "URL of the user's avatar", @@ -5269,6 +5353,7 @@ "PeopleMeContainer": "PeopleMe", "PeoplePayment": { "docs": undefined, + "inline": undefined, "properties": { "contract_name": { "docs": "The name of the contract associated with the payment", @@ -5293,6 +5378,7 @@ }, "PgoTask": { "docs": undefined, + "inline": undefined, "properties": { "amount": { "docs": "Fixed rate for this task.", @@ -5316,6 +5402,7 @@ }, "PgoTaskReviewsByIdToCreate": { "docs": undefined, + "inline": undefined, "properties": { "reason": { "docs": "Review comments.", @@ -5342,6 +5429,7 @@ }, "PgoTaskReviewsToCreate": { "docs": undefined, + "inline": undefined, "properties": { "ids": "list", "reason": { @@ -5369,6 +5457,7 @@ }, "PgoTaskToCreate": { "docs": undefined, + "inline": undefined, "properties": { "amount": { "docs": "Fixed rate for this task.", @@ -5393,6 +5482,7 @@ }, "PgoTaskToDelete": { "docs": undefined, + "inline": undefined, "properties": { "delete_recurring_report": { "docs": "Request to delete recurring report.", @@ -5409,6 +5499,7 @@ }, "PremiumResultAdded": { "docs": undefined, + "inline": undefined, "properties": { "calculated_premium": { "docs": "Cost for Deel Premium.", @@ -5418,18 +5509,9 @@ "docs": "Deel Premium plan id.", "type": "string", }, - "misclassification_guarantee": { - "inline": true, - "type": "PremiumResultAddedMisclassificationGuarantee", - }, - "penalties": { - "inline": true, - "type": "PremiumResultAddedPenalties", - }, - "third_party_liabilities": { - "inline": true, - "type": "PremiumResultAddedThirdPartyLiabilities", - }, + "misclassification_guarantee": "PremiumResultAddedMisclassificationGuarantee", + "penalties": "PremiumResultAddedPenalties", + "third_party_liabilities": "PremiumResultAddedThirdPartyLiabilities", }, "source": { "openapi": "../openapi.yml", @@ -5437,6 +5519,7 @@ }, "PremiumResultAddedContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "PremiumResultAdded", }, @@ -5446,6 +5529,7 @@ }, "PremiumResultAddedMisclassificationGuarantee": { "docs": undefined, + "inline": true, "properties": { "description": { "docs": "Cover your legal defense costs.", @@ -5462,6 +5546,7 @@ }, "PremiumResultAddedPenalties": { "docs": undefined, + "inline": true, "properties": { "description": { "docs": "Get indemnity against tax authority penalties, liabilities and fines.", @@ -5478,6 +5563,7 @@ }, "PremiumResultAddedThirdPartyLiabilities": { "docs": undefined, + "inline": true, "properties": { "description": { "docs": "Get indemnity against third parties up to $10k depending on the court's decision.", @@ -5494,6 +5580,7 @@ }, "PremiumToAdd": { "docs": undefined, + "inline": undefined, "properties": { "agreement_reflects_relation": { "docs": "Is the Contractor Agreement selected on the Deel Platform perfectly reflecting your organizations relation and actual working practices with the contractor?", @@ -5510,6 +5597,7 @@ }, "ProRata": { "docs": "Details of the pro rata for the first payment", + "inline": undefined, "properties": { "calculation_type": { "docs": "Either works days or calendar days", @@ -5599,6 +5687,7 @@ }, "ResponseEstimateFirstPayment": { "docs": undefined, + "inline": undefined, "properties": { "first_payment_dates": "optional>", "pro_rata": "optional", @@ -5609,6 +5698,7 @@ }, "ResponseEstimateFirstPaymentContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "ResponseEstimateFirstPayment", }, @@ -5618,6 +5708,7 @@ }, "Seniority": { "docs": "Seniority describes level of expertise at a job e.g. junior", + "inline": undefined, "properties": { "id": { "docs": "Unique identifier for seniority record", @@ -5645,6 +5736,7 @@ "SeniorityList": "list", "SeniorityListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "SeniorityList", }, @@ -5654,6 +5746,7 @@ }, "SeniorityRequired": { "docs": "Seniority describes level of expertise at a job e.g. junior", + "inline": undefined, "properties": { "id": { "docs": "Unique identifier for seniority record.", @@ -5680,6 +5773,7 @@ }, "SignaturesOfBasicContract": { "docs": undefined, + "inline": undefined, "properties": { "client_signed_at": "optional", "worker_signature": { @@ -5694,6 +5788,7 @@ }, "SignaturesOfContract": { "docs": undefined, + "inline": undefined, "properties": { "client_signature": { "docs": "normally name of client is used as signature", @@ -5722,6 +5817,7 @@ }, "StateOfCountry": { "docs": "It may be called states, provinces, prefectures or regions, or none at all", + "inline": undefined, "properties": { "code": { "docs": "Territory code.", @@ -5751,6 +5847,7 @@ "TaskList": "list", "TaskListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "TaskList", }, @@ -5760,6 +5857,7 @@ }, "Team": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The unique identifier for the team.", @@ -5777,6 +5875,7 @@ "TeamList": "list", "TeamListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "TeamList", }, @@ -5786,6 +5885,7 @@ }, "TeamOfBasicContract": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "Unique reference of a team", @@ -5802,6 +5902,7 @@ }, "TeamOfContract": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "Unique reference of a team", @@ -5818,6 +5919,7 @@ }, "TimeoffReview": { "docs": undefined, + "inline": undefined, "properties": { "denial_reason": { "docs": "Denial reason for the time off requested.", @@ -5835,6 +5937,7 @@ "TimeoffTypeList": "list", "TimeoffTypeListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "TimeoffTypeList", }, @@ -5848,6 +5951,7 @@ }, "TimeoffsAttachmentsItem": { "docs": "A item in attachments array. 2022-09-08 FE only allows for "SICK LEAVE"", + "inline": undefined, "properties": { "file_extension": { "docs": "The file name extension", @@ -5865,6 +5969,7 @@ }, "TimeoffsProfile": { "docs": undefined, + "inline": undefined, "properties": { "id": "double", "is_employee": { @@ -5908,6 +6013,7 @@ "BasicTimesheet", "TimesheetApproversContainer", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -5916,12 +6022,10 @@ "TimesheetAccountingRefs": "optional>", "TimesheetAccountingRefsItem": { "docs": undefined, + "inline": undefined, "properties": { "integration": "string", - "mapping_category": { - "inline": true, - "type": "optional", - }, + "mapping_category": "optional", }, "source": { "openapi": "../openapi.yml", @@ -5929,6 +6033,7 @@ }, "TimesheetAccountingRefsItemMappingCategory": { "docs": undefined, + "inline": true, "properties": { "id": "string", "name": "string", @@ -5939,6 +6044,7 @@ }, "TimesheetApprover": { "docs": undefined, + "inline": undefined, "properties": { "approved": "boolean", "email": "string", @@ -5951,6 +6057,7 @@ "TimesheetApproverList": "list", "TimesheetApproversContainer": { "docs": undefined, + "inline": undefined, "properties": { "approvers": "TimesheetApproverList", }, @@ -5960,6 +6067,7 @@ }, "TimesheetContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "Timesheet", }, @@ -5972,6 +6080,7 @@ "discriminated": false, "docs": "ID of an existing timesheet record", "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -5983,6 +6092,7 @@ "TimesheetList": "list", "TimesheetListContainer": { "docs": undefined, + "inline": undefined, "properties": { "data": "TimesheetList", "page": "PageInfoWithoutCursor", @@ -5993,6 +6103,7 @@ }, "TimesheetReviewToCreate": { "docs": undefined, + "inline": undefined, "properties": { "reason": "optional", "status": "TimesheetReviewToCreateStatus", @@ -6012,6 +6123,7 @@ }, "TimesheetReviewsToCreate": { "docs": undefined, + "inline": undefined, "properties": { "ids": "TimesheetIdItems", "reason": "optional", @@ -6032,6 +6144,7 @@ }, "TimesheetSearchContainer": { "docs": "This is a model to make it easier to understand and restrict search parameters", + "inline": undefined, "properties": { "contract_id": "optional", "contract_types": "optional", @@ -6088,6 +6201,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -6100,6 +6214,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -6112,6 +6227,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -6122,6 +6238,7 @@ }, "TimesheetSharedProperties": { "docs": "Details of timesheet to create; a client, contractor or EOR may create a timesheet", + "inline": undefined, "properties": { "contract_id": { "docs": "Id of a Deel contract.", @@ -6154,6 +6271,7 @@ "TimesheetSharedProperties", "FileObject", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -6161,6 +6279,7 @@ }, "TimesheetToUpdate": { "docs": "Details of timesheet to create; a client, contractor or EOR may update a timesheet", + "inline": undefined, "properties": { "description": "string", "quantity": "double", @@ -6178,6 +6297,7 @@ "discriminated": false, "docs": "Unique identifier of this resource.", "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -6206,6 +6326,7 @@ }, "WebhookItem": { "docs": undefined, + "inline": undefined, "properties": { "api_version": { "default": "v1", @@ -6259,6 +6380,7 @@ }, "WebhookItemResponse": { "docs": undefined, + "inline": undefined, "properties": { "data": "WebhookItem", }, @@ -6278,6 +6400,7 @@ }, "WebhookListResponse": { "docs": undefined, + "inline": undefined, "properties": { "data": "list", }, @@ -6380,6 +6503,7 @@ }, "WorkerLegalEntity": { "docs": undefined, + "inline": undefined, "properties": { "personal_name": "string", "registration_number": "string", @@ -6391,6 +6515,7 @@ }, "WorkerOfBasicContract": { "docs": undefined, + "inline": undefined, "properties": { "alternate_email": "optional", "email": "optional", @@ -6412,6 +6537,7 @@ }, "WorkerOfContract": { "docs": undefined, + "inline": undefined, "properties": { "alternate_email": "optional", "date_of_birth": "optional", @@ -6604,6 +6730,7 @@ - ContractTypeEnumList source: openapi: ../openapi.yml + inline: true ContractSearchFormWithoutCursorStatuses: discriminated: false union: @@ -6611,6 +6738,7 @@ - ContractStatusEnum source: openapi: ../openapi.yml + inline: true ContractSearchFormWithoutCursorCountries: discriminated: false union: @@ -6618,6 +6746,7 @@ - CountryCode source: openapi: ../openapi.yml + inline: true ContractSearchFormWithoutCursorCurrencies: discriminated: false union: @@ -6625,6 +6754,7 @@ - CurrencyCodeRequired source: openapi: ../openapi.yml + inline: true ContractSearchFormWithoutCursor: docs: >- This is a model to make it easier to understand and restrict search @@ -7031,6 +7161,7 @@ scale: WorkStatementScaleEnum source: openapi: ../openapi.yml + inline: true ContractToCreatePayAsYouGoTimeBased: properties: type: literal<"pay_as_you_go_time_based"> @@ -7091,6 +7222,7 @@ scale: WorkStatementScaleEnum source: openapi: ../openapi.yml + inline: true ContractToCreateOngoingTimeBased: properties: type: literal<"ongoing_time_based"> @@ -7107,6 +7239,7 @@ id: double source: openapi: ../openapi.yml + inline: true ContractToCreateSharedClientTeam: docs: >- Choose the Deel team for this contract. Use teams endpoint to retrieve a @@ -7115,6 +7248,7 @@ id: double source: openapi: ../openapi.yml + inline: true ContractToCreateSharedClient: properties: legal_entity: @@ -7122,15 +7256,14 @@ docs: >- Choose the Deel legal entity for this contract. Use legal entity endpoint to retrieve a list of legal entities in your organization. - inline: true team: type: ContractToCreateSharedClientTeam docs: >- Choose the Deel team for this contract. Use teams endpoint to retrieve a list of teams in your organization. - inline: true source: openapi: ../openapi.yml + inline: true ContractToCreateSharedJobTitle: docs: >- Worker's job title. You can enter a custom job title or use a pre-defiled @@ -7146,6 +7279,7 @@ maxLength: 255 source: openapi: ../openapi.yml + inline: true ContractToCreateSharedSeniority: docs: >- Job seniority level. Please use the seniority levels endpoint to retrieve @@ -7154,6 +7288,7 @@ id: optional source: openapi: ../openapi.yml + inline: true ContractToCreateSharedWorker: docs: Worker properties properties: @@ -7170,6 +7305,7 @@ maxLength: 255 source: openapi: ../openapi.yml + inline: true ContractToCreateShared: docs: Details of contract to create properties: @@ -7190,21 +7326,17 @@ docs: Enter any special clause you may have. start_date: optional termination_date: optional - client: - type: ContractToCreateSharedClient - inline: true + client: ContractToCreateSharedClient job_title: type: ContractToCreateSharedJobTitle docs: >- Worker's job title. You can enter a custom job title or use a pre-defiled job title using the Id retrieved in job-titles endpoint. - inline: true seniority: type: optional docs: >- Job seniority level. Please use the seniority levels endpoint to retrieve the list of seniority levels. - inline: true notice_period: optional who_reports: optional meta: MetaDataOfContractToCreate @@ -7214,7 +7346,6 @@ worker: type: optional docs: Worker properties - inline: true source: openapi: ../openapi.yml MetaDataOfContractToCreate: @@ -7442,6 +7573,7 @@ min: 0 source: openapi: ../openapi.yml + inline: true BasicTimesheetReviewedBy: properties: id: double @@ -7450,6 +7582,7 @@ remarks: string source: openapi: ../openapi.yml + inline: true BasicTimesheetContract: properties: id: string @@ -7457,18 +7590,21 @@ type: ContractTypeEnum source: openapi: ../openapi.yml + inline: true BasicTimesheetPaymentCycle: properties: start_date: optional end_date: optional source: openapi: ../openapi.yml + inline: true BasicTimesheetReportedBy: properties: id: double full_name: string source: openapi: ../openapi.yml + inline: true BasicTimesheet: properties: id: UniqueObjectIdentifier @@ -7490,21 +7626,11 @@ scale: optional custom_scale: optional attachment: optional - worksheet: - type: optional - inline: true - reviewed_by: - type: optional - inline: true - contract: - type: BasicTimesheetContract - inline: true - payment_cycle: - type: optional - inline: true - reported_by: - type: BasicTimesheetReportedBy - inline: true + worksheet: optional + reviewed_by: optional + contract: BasicTimesheetContract + payment_cycle: optional + reported_by: BasicTimesheetReportedBy source: openapi: ../openapi.yml TimesheetContainer: @@ -7649,6 +7775,7 @@ - ContractTypeEnum source: openapi: ../openapi.yml + inline: true TimesheetSearchContainerTypes: discriminated: false union: @@ -7656,6 +7783,7 @@ - TimesheetTypeEnum source: openapi: ../openapi.yml + inline: true TimesheetSearchContainerStatuses: discriminated: false union: @@ -7663,6 +7791,7 @@ - optional source: openapi: ../openapi.yml + inline: true TimesheetSearchContainer: docs: >- This is a model to make it easier to understand and restrict search @@ -7706,12 +7835,11 @@ name: string source: openapi: ../openapi.yml + inline: true TimesheetAccountingRefsItem: properties: integration: string - mapping_category: - type: optional - inline: true + mapping_category: optional source: openapi: ../openapi.yml TimesheetAccountingRefs: optional> @@ -7722,6 +7850,7 @@ - ContractTypeEnum source: openapi: ../openapi.yml + inline: true InvoiceAdjustmentSearchContainerTypes: discriminated: false union: @@ -7729,6 +7858,7 @@ - InvoiceAdjustmentTypeEnum source: openapi: ../openapi.yml + inline: true InvoiceAdjustmentSearchContainerStatuses: discriminated: false union: @@ -7736,6 +7866,7 @@ - optional source: openapi: ../openapi.yml + inline: true InvoiceAdjustmentSearchContainer: docs: >- This is a model to make it easier to understand and restrict search @@ -7800,6 +7931,7 @@ min: 0 source: openapi: ../openapi.yml + inline: true BasicInvoiceAdjustmentReviewedBy: properties: id: double @@ -7808,6 +7940,7 @@ remarks: string source: openapi: ../openapi.yml + inline: true BasicInvoiceAdjustmentContract: properties: id: string @@ -7815,18 +7948,21 @@ type: ContractTypeEnum source: openapi: ../openapi.yml + inline: true BasicInvoiceAdjustmentPaymentCycle: properties: start_date: optional end_date: optional source: openapi: ../openapi.yml + inline: true BasicInvoiceAdjustmentReportedBy: properties: id: double full_name: string source: openapi: ../openapi.yml + inline: true BasicInvoiceAdjustment: properties: id: UniqueObjectIdentifier @@ -7842,21 +7978,11 @@ scale: optional custom_scale: optional attachment: optional - worksheet: - type: optional - inline: true - reviewed_by: - type: optional - inline: true - contract: - type: BasicInvoiceAdjustmentContract - inline: true - payment_cycle: - type: BasicInvoiceAdjustmentPaymentCycle - inline: true - reported_by: - type: BasicInvoiceAdjustmentReportedBy - inline: true + worksheet: optional + reviewed_by: optional + contract: BasicInvoiceAdjustmentContract + payment_cycle: BasicInvoiceAdjustmentPaymentCycle + reported_by: BasicInvoiceAdjustmentReportedBy source: openapi: ../openapi.yml InvoiceAdjustmentContainer: @@ -7976,11 +8102,10 @@ created: boolean source: openapi: ../openapi.yml + inline: true GenericResultCreated: properties: - data: - type: GenericResultCreatedData - inline: true + data: GenericResultCreatedData source: openapi: ../openapi.yml ContractExternalIdPatchedResponseContainer: ContractExternalIdToPatch @@ -7994,11 +8119,10 @@ updated: boolean source: openapi: ../openapi.yml + inline: true GenericResultUpdated: properties: - data: - type: GenericResultUpdatedData - inline: true + data: GenericResultUpdatedData source: openapi: ../openapi.yml GenericResultDeletedData: @@ -8008,11 +8132,10 @@ docs: Confirms the deletion. source: openapi: ../openapi.yml + inline: true GenericResultDeleted: properties: - data: - type: GenericResultDeletedData - inline: true + data: GenericResultDeletedData source: openapi: ../openapi.yml ContractTypeEnumList: @@ -8274,12 +8397,11 @@ docs: Use for pagination to get next set of records after the given cursor. source: openapi: ../openapi.yml + inline: true JobTitleListContainer: properties: data: JobTitleList - page: - type: JobTitleListContainerPage - inline: true + page: JobTitleListContainerPage source: openapi: ../openapi.yml JobTitleList: list @@ -8500,6 +8622,7 @@ docs: Reviewer's full name. source: openapi: ../openapi.yml + inline: true MilestoneReportedBy: docs: Milestone creator. properties: @@ -8511,6 +8634,7 @@ docs: Reporter's full name. source: openapi: ../openapi.yml + inline: true Milestone: properties: id: @@ -8527,11 +8651,9 @@ reviewed_by: type: optional docs: Reviewer's information. - inline: true reported_by: type: MilestoneReportedBy docs: Milestone creator. - inline: true title: type: string docs: Title of milestone. @@ -8626,15 +8748,14 @@ work_week_end: optional source: openapi: ../openapi.yml + inline: true EstimateFirstPayment: docs: Details of pro rata payment to create. properties: type: ContractTypeEnum country_code: CountryCode start_date: DateStringRequired - compensation_details: - type: EstimateFirstPaymentCompensationDetails - inline: true + compensation_details: EstimateFirstPaymentCompensationDetails source: openapi: ../openapi.yml ProRataCalculationType: @@ -8706,6 +8827,7 @@ docs: Remarks made during review process. source: openapi: ../openapi.yml + inline: true OffCyclePaymentReportedBy: properties: id: @@ -8716,6 +8838,7 @@ docs: Full name of the creator. source: openapi: ../openapi.yml + inline: true OffCyclePayment: properties: id: UniqueObjectIdentifier @@ -8730,12 +8853,8 @@ type: string docs: Amount of off-cycle payment. created_at: optional - reviewed_by: - type: optional - inline: true - reported_by: - type: OffCyclePaymentReportedBy - inline: true + reviewed_by: optional + reported_by: OffCyclePaymentReportedBy source: openapi: ../openapi.yml FileAttachmentInfo: @@ -8878,32 +8997,29 @@ title: string source: openapi: ../openapi.yml + inline: true AgreementClientLegalEntity: properties: id: double name: string source: openapi: ../openapi.yml + inline: true AgreementProviderLegalEntity: properties: id: double name: string source: openapi: ../openapi.yml + inline: true Agreement: properties: id: double agreement_title: string agreement_type: string - msa: - type: AgreementMsa - inline: true - client_legal_entity: - type: AgreementClientLegalEntity - inline: true - provider_legal_entity: - type: AgreementProviderLegalEntity - inline: true + msa: AgreementMsa + client_legal_entity: AgreementClientLegalEntity + provider_legal_entity: AgreementProviderLegalEntity source: openapi: ../openapi.yml InputToShieldContractData: @@ -8913,11 +9029,10 @@ docs: MSA contract id (agreement). source: openapi: ../openapi.yml + inline: true InputToShieldContract: properties: - data: - type: InputToShieldContractData - inline: true + data: InputToShieldContractData source: openapi: ../openapi.yml PremiumToAdd: @@ -8977,6 +9092,7 @@ completion_date: optional source: openapi: ../openapi.yml + inline: true FinalPaymentCalculatedCalculationType: enum: - CUSTOM_AMOUNT @@ -9023,6 +9139,7 @@ docs: Cover your legal defense costs. source: openapi: ../openapi.yml + inline: true PremiumResultAddedPenalties: properties: name: @@ -9033,6 +9150,7 @@ docs: Get indemnity against tax authority penalties, liabilities and fines. source: openapi: ../openapi.yml + inline: true PremiumResultAddedThirdPartyLiabilities: properties: name: @@ -9045,6 +9163,7 @@ court's decision. source: openapi: ../openapi.yml + inline: true PremiumResultAdded: properties: id: @@ -9053,15 +9172,9 @@ calculated_premium: type: double docs: Cost for Deel Premium. - misclassification_guarantee: - type: PremiumResultAddedMisclassificationGuarantee - inline: true - penalties: - type: PremiumResultAddedPenalties - inline: true - third_party_liabilities: - type: PremiumResultAddedThirdPartyLiabilities - inline: true + misclassification_guarantee: PremiumResultAddedMisclassificationGuarantee + penalties: PremiumResultAddedPenalties + third_party_liabilities: PremiumResultAddedThirdPartyLiabilities source: openapi: ../openapi.yml EorEntitlements: @@ -9216,6 +9329,7 @@ country: optional source: openapi: ../openapi.yml + inline: true EorContractToCreateEmployee: properties: first_name: @@ -9230,11 +9344,10 @@ nationality: type: string docs: Employee's nationality. - address: - type: optional - inline: true + address: optional source: openapi: ../openapi.yml + inline: true EorContractToCreateEmploymentType: enum: - value: Full-time @@ -9290,6 +9403,7 @@ chooseing "STANDARD" time_off_type. source: openapi: ../openapi.yml + inline: true EorContractToCreateSeniority: properties: id: @@ -9299,6 +9413,7 @@ for "Not Applicable". source: openapi: ../openapi.yml + inline: true EorContractToCreateClientLegalEntity: properties: id: @@ -9309,6 +9424,7 @@ your organization. source: openapi: ../openapi.yml + inline: true EorContractToCreateClientTeam: properties: id: @@ -9318,16 +9434,14 @@ to retrieve a list of teams in your organization. source: openapi: ../openapi.yml + inline: true EorContractToCreateClient: properties: - legal_entity: - type: optional - inline: true - team: - type: optional - inline: true + legal_entity: optional + team: optional source: openapi: ../openapi.yml + inline: true EorContractToCreateCompensationDetails: properties: salary: @@ -9348,6 +9462,7 @@ PERCENTAGE or FIXED. source: openapi: ../openapi.yml + inline: true EorContractToCreateQuoteAdditionalFieldsWorkerType: enum: - Skilled @@ -9371,32 +9486,22 @@ docs: Employee's date of birth. source: openapi: ../openapi.yml + inline: true EorContractToCreate: properties: - employee: - type: optional - inline: true - employment: - type: EorContractToCreateEmployment - inline: true + employee: optional + employment: EorContractToCreateEmployment job_title: type: optional docs: Employee's job title. - seniority: - type: EorContractToCreateSeniority - inline: true - client: - type: EorContractToCreateClient - inline: true - compensation_details: - type: EorContractToCreateCompensationDetails - inline: true + seniority: EorContractToCreateSeniority + client: EorContractToCreateClient + compensation_details: EorContractToCreateCompensationDetails quote_additional_fields: type: optional docs: >- Some countries require additional employee information for employment contracts. - inline: true health_plan_id: type: optional docs: >- @@ -9436,6 +9541,7 @@ docs: Number of calculate holidays for this contract. source: openapi: ../openapi.yml + inline: true EorContractCreatedClientLegalEntity: properties: name: @@ -9443,13 +9549,13 @@ docs: Legal entity name. source: openapi: ../openapi.yml + inline: true EorContractCreatedClient: properties: - legal_entity: - type: optional - inline: true + legal_entity: optional source: openapi: ../openapi.yml + inline: true EorContractCreatedCompensationDetails: properties: salary: @@ -9466,6 +9572,7 @@ docs: Type fo variable compensation. source: openapi: ../openapi.yml + inline: true EorContractCreatedEmployee: properties: legal_name: @@ -9482,6 +9589,7 @@ docs: Employee's email. source: openapi: ../openapi.yml + inline: true EorContractCreatedHealthPlan: properties: id: @@ -9492,6 +9600,7 @@ docs: Health plan name source: openapi: ../openapi.yml + inline: true EorContractCreated: properties: id: @@ -9503,21 +9612,11 @@ job_title: type: optional docs: Employee's job title. - employment: - type: optional - inline: true - client: - type: optional - inline: true - compensation_details: - type: optional - inline: true - employee: - type: optional - inline: true - health_plan: - type: optional - inline: true + employment: optional + client: optional + compensation_details: optional + employee: optional + health_plan: optional seniority: optional source: openapi: ../openapi.yml @@ -9529,6 +9628,7 @@ docs: Minimum number of holidays required for a legally compliant contract. source: openapi: ../openapi.yml + inline: true EorCountryValidationsPartTimeHolidayType: enum: - PRORATED @@ -9545,6 +9645,7 @@ docs: Minimum number of holidays required for a legally compliant contract. source: openapi: ../openapi.yml + inline: true EorCountryValidationsSickDays: properties: min: @@ -9555,6 +9656,7 @@ docs: Maximum number of sick days allowed for a legally compliant contract. source: openapi: ../openapi.yml + inline: true EorCountryValidationsSalary: docs: Salary range. properties: @@ -9566,6 +9668,7 @@ docs: Maximum wage allowed for a legally compliant contract. source: openapi: ../openapi.yml + inline: true EorCountryValidationsProbation: docs: Probation period range. properties: @@ -9577,6 +9680,7 @@ docs: Maximum probation days allowed for a legally compliant contract. source: openapi: ../openapi.yml + inline: true EorCountryValidationsPartTimeProbation: docs: Probation period range for part-time contracts. properties: @@ -9588,27 +9692,27 @@ docs: Maximum probation days allowed for a legally compliant contract. source: openapi: ../openapi.yml + inline: true EorCountryValidationsWorkScheduleDays: properties: max: optional source: openapi: ../openapi.yml + inline: true EorCountryValidationsWorkScheduleHours: properties: max: optional source: openapi: ../openapi.yml + inline: true EorCountryValidationsWorkSchedule: docs: Employee's Work schedule in days and hours. properties: - days: - type: optional - inline: true - hours: - type: optional - inline: true + days: optional + hours: optional source: openapi: ../openapi.yml + inline: true EorCountryValidationsDefiniteContractType: enum: - ALLOWED_WITHOUT_LIMITATION @@ -9623,41 +9727,35 @@ maximum_limitation: optional source: openapi: ../openapi.yml + inline: true EorCountryValidationsHealthInsurance: properties: status: optional providers: optional> source: openapi: ../openapi.yml + inline: true EorCountryValidations: properties: holiday: type: optional docs: Range of the number of holidays. - inline: true part_time_holiday: type: optional docs: Holiday type and range for part-time contracts. - inline: true - sick_days: - type: optional - inline: true + sick_days: optional salary: type: optional docs: Salary range. - inline: true probation: type: optional docs: Probation period range. - inline: true part_time_probation: type: optional docs: Probation period range for part-time contracts. - inline: true work_schedule: type: optional docs: Employee's Work schedule in days and hours. - inline: true insurance_fee: type: optional docs: Insurance fee. @@ -9676,13 +9774,10 @@ definite_contract: type: optional docs: Conditions to make definitive contract. - inline: true adjustments_information_box: type: optional docs: Country specific notes and information. - health_insurance: - type: optional - inline: true + health_insurance: optional source: openapi: ../openapi.yml HealthInsuranceProviderAttachmentsItem: @@ -9691,6 +9786,7 @@ label: optional source: openapi: ../openapi.yml + inline: true HealthInsuranceProviderPlansItem: properties: id: @@ -9708,6 +9804,7 @@ is_enabled: optional source: openapi: ../openapi.yml + inline: true HealthInsuranceProvider: docs: Health insurance provider. properties: @@ -10025,17 +10122,20 @@ contract_name: optional source: openapi: ../openapi.yml + inline: true EmployeeListClientLegalEntity: properties: id: optional name: optional source: openapi: ../openapi.yml + inline: true EmployeeListMonthlyPayment: properties: count: optional source: openapi: ../openapi.yml + inline: true EmployeeList: properties: id: optional @@ -10055,16 +10155,12 @@ job_title: optional payments: optional> hourly_report_total: optional - client_legal_entity: - type: optional - inline: true + client_legal_entity: optional state: optional seniority: optional completion_date: optional hiring_status: optional - monthly_payment: - type: optional - inline: true + monthly_payment: optional source: openapi: ../openapi.yml WebhookItemStatus: @@ -10441,6 +10537,7 @@ - HrisJobInformationTitleName source: openapi: ../openapi.yml + inline: true HrisDirectEmployeeContract: discriminant: employment_type base-properties: {} @@ -10462,6 +10559,7 @@ max: 365 source: openapi: ../openapi.yml + inline: true HrisDirectEmployee: properties: employee_details: HrisDirectEmployeeDetails @@ -10469,9 +10567,7 @@ job_information: HrisDirectEmployeeJobInformation compensation: HrisCompensation contract: HrisDirectEmployeeContract - vacation_info: - type: optional - inline: true + vacation_info: optional source: openapi: ../openapi.yml HrisDirectEmployeeResponse: @@ -11464,10 +11560,7 @@ docs: End-points to retrieve paid invoices and reciepts. "request": { "body": { "properties": { - "data": { - "inline": true, - "type": "InputToCreateFileRefData", - }, + "data": "InputToCreateFileRefData", }, }, "content-type": "application/json", @@ -11492,6 +11585,7 @@ docs: End-points to retrieve paid invoices and reciepts. "types": { "InputToCreateFileRefData": { "docs": undefined, + "inline": true, "properties": { "content_type": "root.FileRefTypeEnum", }, @@ -11509,6 +11603,7 @@ types: content_type: root.FileRefTypeEnum source: openapi: ../openapi.yml + inline: true service: auth: false base-path: '' @@ -11527,9 +11622,7 @@ service: name: InputToCreateFileRef body: properties: - data: - type: InputToCreateFileRefData - inline: true + data: InputToCreateFileRefData content-type: application/json response: docs: Successful operation. diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/default-content.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/default-content.json index 1954cba0fbe..4368af83af9 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/default-content.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/default-content.json @@ -8,6 +8,7 @@ "types": { "GenerateContentResponse": { "docs": undefined, + "inline": undefined, "properties": { "bar": "optional", }, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/devrev.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/devrev.json index eb425cf5e35..5d4a3ddaf8a 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/devrev.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/devrev.json @@ -97,6 +97,7 @@ }, "ArtifactsLocateResponse": { "docs": "The response to getting an artifact's download URL.", + "inline": undefined, "properties": { "expires_at": { "docs": "The expiration timestamp of the URL.", @@ -113,6 +114,7 @@ }, "ArtifactsPrepareResponse": { "docs": "The response to preparing a URL to upload a file.", + "inline": undefined, "properties": { "form_data": { "docs": "The POST policy form data.", @@ -133,6 +135,7 @@ }, "ArtifactsPrepareResponseFormData": { "docs": undefined, + "inline": undefined, "properties": { "key": { "docs": "Key of the form field.", @@ -149,6 +152,7 @@ }, "AtomBase": { "docs": undefined, + "inline": undefined, "properties": { "created_by": { "type": "optional", @@ -179,6 +183,7 @@ }, "AtomBaseSummary": { "docs": undefined, + "inline": undefined, "properties": { "display_id": { "docs": "Human-readable object ID unique to the Dev organization.", @@ -246,6 +251,7 @@ authentication connection that is set up for a Dev organization. "docs": "Object encapsulating the configuration parameters for an Azure AD authentication connection. ", + "inline": undefined, "properties": { "client_id": { "docs": "Client ID for the Azure authentication connection.", @@ -268,6 +274,7 @@ authentication connection. "docs": "Object encapsulating the configuration parameters for a Google Apps authentication connection. ", + "inline": undefined, "properties": { "client_id": { "docs": "Client ID for the Google Apps authentication connection.", @@ -292,6 +299,7 @@ authentication connection. "docs": "Object encapsulating the configuration parameters for an OIDC authentication connection. ", + "inline": undefined, "properties": { "client_id": { "docs": "Client ID for the OIDC authentication connection.", @@ -314,6 +322,7 @@ authentication connection. "docs": "Object encapsulating the configuration parameters for a SAML authentication connection. ", + "inline": undefined, "properties": { "sign_in_endpoint": { "docs": "Sign In endpoint for the SAML authentication connection.", @@ -361,6 +370,7 @@ for each authentication connection will depend on the type value. "extends": [ "AtomBase", ], + "inline": undefined, "properties": { "client_id": { "docs": "An identifier that represents the application that requested the @@ -511,6 +521,7 @@ token. Only applicable for application access tokens. "docs": "Response for the request to create a new token corresponding to the requested token type. ", + "inline": undefined, "properties": { "access_token": { "docs": "The issued JSON Web Token (JWT) corresponding to the requested @@ -549,6 +560,7 @@ of values in which the order of values does not matter. }, "AuthTokensGetResponse": { "docs": "The response to get the token metadata.", + "inline": undefined, "properties": { "token": { "type": "AuthToken", @@ -560,6 +572,7 @@ of values in which the order of values does not matter. }, "AuthTokensListResponse": { "docs": "The response to list the token metadata.", + "inline": undefined, "properties": { "tokens": { "docs": "The list of token metadata.", @@ -572,6 +585,7 @@ of values in which the order of values does not matter. }, "AuthTokensOrgTraits": { "docs": "Carries Rev org info.", + "inline": undefined, "properties": { "display_name": { "docs": "The display name of the Rev org.", @@ -590,6 +604,7 @@ of values in which the order of values does not matter. "docs": "Carries info corresponding to the Rev user to be provisioned and/or issue a Rev session token. ", + "inline": undefined, "properties": { "org_ref": { "docs": "An identifier which uniquely identifies a Rev org.", @@ -616,6 +631,7 @@ issue a Rev session token. }, "AuthTokensUpdateResponse": { "docs": "Response for the request to update the token metadata.", + "inline": undefined, "properties": { "token": { "type": "AuthToken", @@ -627,6 +643,7 @@ issue a Rev session token. }, "AuthTokensUserTraits": { "docs": "Carries Rev user info.", + "inline": undefined, "properties": { "display_name": { "docs": "The display name of the Rev user.", @@ -703,6 +720,7 @@ authentication connections have different configuration parameters. "docs": "Response for the request to create a new enterprise authentication connection. ", + "inline": undefined, "properties": { "auth_connection": { "type": "AuthConnection", @@ -716,6 +734,7 @@ connection. "docs": "Response object encapsulating the configuration details of an authentication connection. ", + "inline": undefined, "properties": { "auth_connection": { "type": "AuthConnection", @@ -729,6 +748,7 @@ authentication connection. "docs": "Response object for the request to list all the social and enterprise authentication connections configured for a Dev organization. ", + "inline": undefined, "properties": { "auth_connections": { "docs": "List of all the authentication connections currently configured for @@ -804,6 +824,7 @@ that can be updated. "docs": "Response for the request to update an enterprise authentication connection. ", + "inline": undefined, "properties": { "auth_connection": { "type": "AuthConnection", @@ -818,6 +839,7 @@ connection. "extends": [ "UserBase", ], + "inline": undefined, "properties": { "external_identities": { "docs": "IDs of the Dev User outside the DevRev SOR.", @@ -833,6 +855,7 @@ connection. }, "DevUsersListResponse": { "docs": "The response to listing the Dev users.", + "inline": undefined, "properties": { "dev_users": { "docs": "The list of Dev users.", @@ -858,6 +881,7 @@ sort order. If not set, then no prior elements exist. "DevUsersSelfResponse": { "docs": "The response to getting the information for the authenticated user. ", + "inline": undefined, "properties": { "dev_user": { "type": "DevUser", @@ -875,6 +899,7 @@ sort order. If not set, then no prior elements exist. "extends": [ "ErrorBase", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -885,6 +910,7 @@ sort order. If not set, then no prior elements exist. }, "ErrorBadRequestInvalidEnumValue": { "docs": undefined, + "inline": undefined, "properties": { "allowed_values": { "docs": "The allowed values for the field.", @@ -905,6 +931,7 @@ sort order. If not set, then no prior elements exist. }, "ErrorBadRequestMissingRequiredField": { "docs": undefined, + "inline": undefined, "properties": { "field_name": { "docs": "The missing field's name.", @@ -932,6 +959,7 @@ sort order. If not set, then no prior elements exist. }, "ErrorBadRequestValueNotPermitted": { "docs": undefined, + "inline": undefined, "properties": { "field_name": { "docs": "The field whose value is not permitted.", @@ -948,6 +976,7 @@ sort order. If not set, then no prior elements exist. }, "ErrorBase": { "docs": undefined, + "inline": undefined, "properties": { "message": { "docs": "The message associated with the error.", @@ -963,6 +992,7 @@ sort order. If not set, then no prior elements exist. "extends": [ "ErrorBase", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -977,6 +1007,7 @@ sort order. If not set, then no prior elements exist. "extends": [ "ErrorBase", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -991,6 +1022,7 @@ sort order. If not set, then no prior elements exist. "extends": [ "ErrorBase", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -1005,6 +1037,7 @@ sort order. If not set, then no prior elements exist. "extends": [ "ErrorBase", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -1019,6 +1052,7 @@ sort order. If not set, then no prior elements exist. "extends": [ "ErrorBase", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -1033,6 +1067,7 @@ sort order. If not set, then no prior elements exist. "extends": [ "ErrorBase", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -1044,6 +1079,7 @@ sort order. If not set, then no prior elements exist. }, "EventPartCreated": { "docs": undefined, + "inline": undefined, "properties": { "part": { "type": "part", @@ -1055,6 +1091,7 @@ sort order. If not set, then no prior elements exist. }, "EventPartDeleted": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The ID of the part that was deleted.", @@ -1067,6 +1104,7 @@ sort order. If not set, then no prior elements exist. }, "EventPartUpdated": { "docs": undefined, + "inline": undefined, "properties": { "part": { "type": "part", @@ -1078,6 +1116,7 @@ sort order. If not set, then no prior elements exist. }, "EventRevOrgCreated": { "docs": undefined, + "inline": undefined, "properties": { "rev_org": { "type": "RevOrg", @@ -1089,6 +1128,7 @@ sort order. If not set, then no prior elements exist. }, "EventRevOrgDeleted": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The ID of the Rev organization that was deleted.", @@ -1101,6 +1141,7 @@ sort order. If not set, then no prior elements exist. }, "EventRevOrgUpdated": { "docs": undefined, + "inline": undefined, "properties": { "rev_org": { "type": "RevOrg", @@ -1112,6 +1153,7 @@ sort order. If not set, then no prior elements exist. }, "EventTagCreated": { "docs": undefined, + "inline": undefined, "properties": { "tag": { "type": "tag", @@ -1123,6 +1165,7 @@ sort order. If not set, then no prior elements exist. }, "EventTagDeleted": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The ID of the tag that was deleted.", @@ -1135,6 +1178,7 @@ sort order. If not set, then no prior elements exist. }, "EventTagUpdated": { "docs": undefined, + "inline": undefined, "properties": { "tag": { "type": "tag", @@ -1146,6 +1190,7 @@ sort order. If not set, then no prior elements exist. }, "EventTimelineEntryCreated": { "docs": undefined, + "inline": undefined, "properties": { "entry": { "type": "TimelineEntry", @@ -1157,6 +1202,7 @@ sort order. If not set, then no prior elements exist. }, "EventTimelineEntryDeleted": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The ID of the timeline entry that was deleted.", @@ -1169,6 +1215,7 @@ sort order. If not set, then no prior elements exist. }, "EventTimelineEntryUpdated": { "docs": undefined, + "inline": undefined, "properties": { "entry": { "type": "TimelineEntry", @@ -1180,6 +1227,7 @@ sort order. If not set, then no prior elements exist. }, "EventWebhookCreated": { "docs": undefined, + "inline": undefined, "properties": { "webhook": { "type": "webhook", @@ -1191,6 +1239,7 @@ sort order. If not set, then no prior elements exist. }, "EventWebhookDeleted": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The ID of the webhook that was deleted.", @@ -1203,6 +1252,7 @@ sort order. If not set, then no prior elements exist. }, "EventWebhookUpdated": { "docs": undefined, + "inline": undefined, "properties": { "webhook": { "type": "webhook", @@ -1214,6 +1264,7 @@ sort order. If not set, then no prior elements exist. }, "EventWorkCreated": { "docs": undefined, + "inline": undefined, "properties": { "work": { "type": "work", @@ -1225,6 +1276,7 @@ sort order. If not set, then no prior elements exist. }, "EventWorkDeleted": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The ID of the work that was deleted.", @@ -1237,6 +1289,7 @@ sort order. If not set, then no prior elements exist. }, "EventWorkUpdated": { "docs": undefined, + "inline": undefined, "properties": { "work": { "type": "work", @@ -1291,6 +1344,7 @@ always be returned in the specified sort-by order. "extends": [ "AtomBase", ], + "inline": undefined, "properties": { "display_name": { "docs": "Name of the Organization.", @@ -1306,6 +1360,7 @@ always be returned in the specified sort-by order. "extends": [ "AtomBaseSummary", ], + "inline": undefined, "properties": { "display_name": { "docs": "Name of the Organization.", @@ -1347,6 +1402,7 @@ always be returned in the specified sort-by order. "extends": [ "AtomBase", ], + "inline": undefined, "properties": { "artifacts": { "docs": "The attached artifacts.", @@ -1378,6 +1434,7 @@ always be returned in the specified sort-by order. "extends": [ "AtomBaseSummary", ], + "inline": undefined, "properties": { "name": { "docs": "Name of the part.", @@ -1454,6 +1511,7 @@ always be returned in the specified sort-by order. }, "PartsCreateRequestCapability": { "docs": undefined, + "inline": undefined, "properties": { "parent_part": { "docs": "ID of the parent product for the capability.", @@ -1466,6 +1524,7 @@ always be returned in the specified sort-by order. }, "PartsCreateRequestEnhancement": { "docs": undefined, + "inline": undefined, "properties": { "parent_part": { "docs": "ID of the parent part on which the enhancement is to be created. @@ -1484,6 +1543,7 @@ always be returned in the specified sort-by order. }, "PartsCreateRequestFeature": { "docs": undefined, + "inline": undefined, "properties": { "parent_part": { "docs": "ID of the parent capability/feature for the feature.", @@ -1499,6 +1559,7 @@ always be returned in the specified sort-by order. }, "PartsCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "part": { "type": "part", @@ -1513,6 +1574,7 @@ always be returned in the specified sort-by order. }, "PartsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "part": { "type": "part", @@ -1524,6 +1586,7 @@ always be returned in the specified sort-by order. }, "PartsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "next_cursor": { "docs": "The cursor used to iterate subsequent results in accordance to the @@ -1592,6 +1655,7 @@ sort order. If not set, then no prior elements exist. }, "PartsUpdateRequestEnhancement": { "docs": undefined, + "inline": undefined, "properties": { "target_close_date": { "docs": "Updates the target close date of the enhancement.", @@ -1607,6 +1671,7 @@ sort order. If not set, then no prior elements exist. }, "PartsUpdateRequestOwnedBy": { "docs": undefined, + "inline": undefined, "properties": { "set": { "docs": "Sets the owner IDs to the provided user IDs. This must not be @@ -1624,6 +1689,7 @@ empty. }, "PartsUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "part": { "type": "part", @@ -1644,6 +1710,7 @@ empty. "extends": [ "OrgBase", ], + "inline": undefined, "properties": { "description": { "docs": "Description of the Rev organization.", @@ -1672,6 +1739,7 @@ organization. "RevOrgsCreateResponse": { "docs": "Response object for request to create a new Rev organization. ", + "inline": undefined, "properties": { "rev_org": { "type": "RevOrg", @@ -1687,6 +1755,7 @@ organization. }, "RevOrgsGetResponse": { "docs": "The response to getting a Rev organization's information.", + "inline": undefined, "properties": { "rev_org": { "type": "RevOrg", @@ -1699,6 +1768,7 @@ organization. "RevOrgsListResponse": { "docs": "The response to getting a list of Rev organizations' information. ", + "inline": undefined, "properties": { "next_cursor": { "docs": "The cursor used to iterate subsequent results in accordance to the @@ -1723,6 +1793,7 @@ sort order. If not set, then no prior elements exist. }, "RevOrgsUpdateResponse": { "docs": "Response object to updating Rev organization's information.", + "inline": undefined, "properties": { "rev_org": { "type": "RevOrg", @@ -1737,6 +1808,7 @@ sort order. If not set, then no prior elements exist. "extends": [ "UserBaseSummary", ], + "inline": undefined, "properties": { "external_ref": { "docs": "External ref is a mutable unique identifier for a user within the @@ -1755,6 +1827,7 @@ system-generated identifier will be assigned to the user. }, "SetTagWithValue": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The ID of the tag.", @@ -1773,6 +1846,7 @@ the value must be one that's specified in the tag's allowed values. }, "StageInit": { "docs": "Sets an object's initial stage.", + "inline": undefined, "properties": { "name": { "docs": "The name of the stage.", @@ -1785,6 +1859,7 @@ the value must be one that's specified in the tag's allowed values. }, "StageUpdate": { "docs": "Updates an object's stage.", + "inline": undefined, "properties": { "name": { "docs": "The updated name of the stage, otherwise unchanged if not set. @@ -1804,6 +1879,7 @@ the value must be one that's specified in the tag's allowed values. "extends": [ "AtomBaseSummary", ], + "inline": undefined, "properties": { "name": { "docs": "The name of the tag, which denotes the logical concept by which all @@ -1819,6 +1895,7 @@ unique. }, "TagWithValue": { "docs": undefined, + "inline": undefined, "properties": { "tag": { "type": "TagSummary", @@ -1834,6 +1911,7 @@ unique. }, "TagsCreateResponse": { "docs": "The response to creating a new tag.", + "inline": undefined, "properties": { "tag": { "type": "tag", @@ -1849,6 +1927,7 @@ unique. }, "TagsGetResponse": { "docs": "The response to getting a tag's information.", + "inline": undefined, "properties": { "tag": { "type": "tag", @@ -1860,6 +1939,7 @@ unique. }, "TagsListResponse": { "docs": "The response to listing the tags.", + "inline": undefined, "properties": { "next_cursor": { "docs": "The cursor used to iterate subsequent results in accordance to the @@ -1884,6 +1964,7 @@ sort order. If not set, then no prior elements exist. }, "TagsUpdateAllowedValues": { "docs": "Specifies an update to a tag's allowed values.", + "inline": undefined, "properties": { "set": { "docs": "Sets the allowed values for the tag.", @@ -1896,6 +1977,7 @@ sort order. If not set, then no prior elements exist. }, "TagsUpdateResponse": { "docs": "The response for updating a tag.", + "inline": undefined, "properties": { "tag": { "type": "tag", @@ -1922,6 +2004,7 @@ sort order. If not set, then no prior elements exist. "extends": [ "TimelineEntryBase", ], + "inline": undefined, "properties": { "artifacts": { "docs": "The artifacts for the comment.", @@ -1976,6 +2059,7 @@ will appear in the response. }, "TimelineEntriesCreateRequestTimelineComment": { "docs": undefined, + "inline": undefined, "properties": { "artifacts": { "docs": "The IDs of the artifacts attached to the comment.", @@ -2000,6 +2084,7 @@ will appear in the response. "TimelineEntriesCreateRequestType": "literal<"timeline_comment">", "TimelineEntriesCreateResponse": { "docs": "The response to creating a timeline entry for an object.", + "inline": undefined, "properties": { "timeline_entry": { "type": "TimelineEntry", @@ -2011,6 +2096,7 @@ will appear in the response. }, "TimelineEntriesGetResponse": { "docs": "The request to getting a timeline entry.", + "inline": undefined, "properties": { "timeline_entry": { "type": "TimelineEntry", @@ -2022,6 +2108,7 @@ will appear in the response. }, "TimelineEntriesListResponse": { "docs": "The response to listing timeline entries for an object.", + "inline": undefined, "properties": { "next_cursor": { "docs": "The cursor used to iterate subsequent results in accordance to the @@ -2066,6 +2153,7 @@ sort order. If not set, then no prior elements exist. }, "TimelineEntriesUpdateRequestTimelineComment": { "docs": undefined, + "inline": undefined, "properties": { "artifacts": { "type": "optional", @@ -2088,6 +2176,7 @@ sort order. If not set, then no prior elements exist. }, "TimelineEntriesUpdateRequestTimelineCommentArtifacts": { "docs": undefined, + "inline": undefined, "properties": { "add": { "docs": "Adds the provided artifacts to the comment. An artifact cannot be @@ -2114,6 +2203,7 @@ not present, then it's ignored. Mututally exclusive with `set`. "TimelineEntriesUpdateRequestType": "literal<"timeline_comment">", "TimelineEntriesUpdateResponse": { "docs": "The response to updating a timeline entry.", + "inline": undefined, "properties": { "timeline_entry": { "type": "TimelineEntry", @@ -2154,6 +2244,7 @@ default visibility. "extends": [ "AtomBase", ], + "inline": undefined, "properties": { "display_name": { "docs": "The user's display name. The name is non-unique and mutable. @@ -2184,6 +2275,7 @@ default visibility. "extends": [ "AtomBaseSummary", ], + "inline": undefined, "properties": { "display_name": { "docs": "The user's display name. The name is non-unique and mutable. @@ -2247,6 +2339,7 @@ default visibility. }, "WebhookEventRequest": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The event's ID.", @@ -2331,6 +2424,7 @@ seconds. }, "WebhookEventResponse": { "docs": undefined, + "inline": undefined, "properties": { "challenge": { "docs": "The challenge from the "verify" request, otherwise this should not @@ -2378,6 +2472,7 @@ be set for other request types. }, "WebhookEventVerify": { "docs": undefined, + "inline": undefined, "properties": { "challenge": { "docs": "The challenge that must be echoed in the response.", @@ -2407,6 +2502,7 @@ be set for other request types. }, "WebhooksCreateResponse": { "docs": "The response to creating a new webhook.", + "inline": undefined, "properties": { "webhook": { "type": "webhook", @@ -2422,6 +2518,7 @@ be set for other request types. }, "WebhooksGetResponse": { "docs": "The response to getting the information for the webhook.", + "inline": undefined, "properties": { "webhook": { "type": "webhook", @@ -2433,6 +2530,7 @@ be set for other request types. }, "WebhooksListResponse": { "docs": "The response to listing the webhooks.", + "inline": undefined, "properties": { "webhooks": { "docs": "The list of webhooks.", @@ -2455,6 +2553,7 @@ be set for other request types. }, "WebhooksUpdateRequestEventTypes": { "docs": undefined, + "inline": undefined, "properties": { "add": { "docs": "The event types to add. If a provided event type is already set for @@ -2484,6 +2583,7 @@ event types. Note this is mutually exclusive with 'add' and }, "WebhooksUpdateResponse": { "docs": "The response to updating the webhook.", + "inline": undefined, "properties": { "webhook": { "type": "webhook", @@ -2498,6 +2598,7 @@ event types. Note this is mutually exclusive with 'add' and "extends": [ "AtomBase", ], + "inline": undefined, "properties": { "applies_to_part": "optional", "artifacts": { @@ -2601,6 +2702,7 @@ issues. }, "WorksCreateRequestIssue": { "docs": undefined, + "inline": undefined, "properties": { "priority": { "type": "optional", @@ -2616,6 +2718,7 @@ issues. }, "WorksCreateRequestTicket": { "docs": undefined, + "inline": undefined, "properties": { "group": { "docs": "The group that the ticket is associated with.", @@ -2635,6 +2738,7 @@ issues. }, "WorksCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "work": { "type": "work", @@ -2649,6 +2753,7 @@ issues. }, "WorksExportResponse": { "docs": undefined, + "inline": undefined, "properties": { "works": { "docs": "The resulting collection of work items.", @@ -2661,6 +2766,7 @@ issues. }, "WorksGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "work": { "type": "work", @@ -2672,6 +2778,7 @@ issues. }, "WorksListResponse": { "docs": undefined, + "inline": undefined, "properties": { "next_cursor": { "docs": "The cursor used to iterate subsequent results in accordance to the @@ -2746,6 +2853,7 @@ sort order. If not set, then no prior elements exist. }, "WorksUpdateRequestArtifactIds": { "docs": undefined, + "inline": undefined, "properties": { "set": { "docs": "Sets the IDs to the provided artifact IDs.", @@ -2758,6 +2866,7 @@ sort order. If not set, then no prior elements exist. }, "WorksUpdateRequestIssue": { "docs": undefined, + "inline": undefined, "properties": { "priority": { "type": "optional", @@ -2773,6 +2882,7 @@ sort order. If not set, then no prior elements exist. }, "WorksUpdateRequestOwnedBy": { "docs": undefined, + "inline": undefined, "properties": { "set": { "docs": "Sets the owner IDs to the provided user IDs. This must not be @@ -2787,6 +2897,7 @@ empty. }, "WorksUpdateRequestReportedBy": { "docs": undefined, + "inline": undefined, "properties": { "set": { "docs": "Sets the users that reported the work to the provided user IDs. @@ -2800,6 +2911,7 @@ empty. }, "WorksUpdateRequestTags": { "docs": undefined, + "inline": undefined, "properties": { "set": { "docs": "Sets the provided tags on the work item.", @@ -2812,6 +2924,7 @@ empty. }, "WorksUpdateRequestTicket": { "docs": undefined, + "inline": undefined, "properties": { "group": { "docs": "The group that the ticket is associated with.", @@ -2832,6 +2945,7 @@ empty. }, "WorksUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "work": { "type": "work", @@ -2849,6 +2963,7 @@ empty. "extends": [ "PartBase", ], + "inline": undefined, "properties": { "target_close_date": { "docs": "Timestamp when the enhancement is expected to be closed.", @@ -2864,6 +2979,7 @@ empty. "extends": [ "WorkBase", ], + "inline": undefined, "properties": { "priority": "optional", }, @@ -2891,6 +3007,7 @@ empty. }, "stage": { "docs": "Describes the current stage of a work item.", + "inline": undefined, "properties": { "name": { "docs": "Current stage name of the work item.", @@ -2906,6 +3023,7 @@ empty. "extends": [ "AtomBase", ], + "inline": undefined, "properties": { "allowed_values": { "docs": "The allowed values for the tag, where a value is provided when a @@ -2937,6 +3055,7 @@ unique. "extends": [ "WorkBase", ], + "inline": undefined, "properties": { "group": "optional", "rev_org": "optional", @@ -2951,6 +3070,7 @@ unique. "extends": [ "AtomBase", ], + "inline": undefined, "properties": { "event_types": { "docs": "The event types that the webhook will receive.", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/discriminated-union-value-title.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/discriminated-union-value-title.json index 5303ec20f77..bf6d9105202 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/discriminated-union-value-title.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/discriminated-union-value-title.json @@ -58,6 +58,7 @@ "Response": { "docs": "A generic response type used throughout the API. ", + "inline": undefined, "properties": { "value": { "docs": "An optional numerical value. diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/enum-casing.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/enum-casing.json index c41e060c95c..f672a171260 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/enum-casing.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/enum-casing.json @@ -45,6 +45,7 @@ "types": { "ExampleResponse": { "docs": undefined, + "inline": undefined, "properties": { "custom_fields": "optional>", "message": "optional", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/flagright.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/flagright.json index e11da0bb39e..c0257a814df 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/flagright.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/flagright.json @@ -1990,6 +1990,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu "types": { "ACHDetails": { "docs": "Model for ACH payment method", + "inline": undefined, "properties": { "accountNumber": { "docs": "Bank account number of the individual", @@ -2057,6 +2058,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "Address": { "docs": "Model for standardized address", + "inline": undefined, "properties": { "addressLines": { "docs": "Address lines of the user's residence address", @@ -2113,6 +2115,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "AlertClosedDetails": { "docs": undefined, + "inline": undefined, "properties": { "alertId": { "type": "optional", @@ -2154,6 +2157,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "Amount": { "docs": "Model for amount", + "inline": undefined, "properties": { "amountCurrency": { "type": "CurrencyCode", @@ -2173,6 +2177,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu "BusinessBase", "BusinessOptional", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -2180,6 +2185,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "BusinessBase": { "docs": "Model for a business user base fields", + "inline": undefined, "properties": { "createdTimestamp": { "docs": "Timestamp when the user was created", @@ -2209,6 +2215,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "BusinessEntityLink": { "docs": undefined, + "inline": undefined, "properties": { "childUserIds": { "type": "optional>", @@ -2223,6 +2230,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "BusinessOptional": { "docs": "Model for a business user - optional fields", + "inline": undefined, "properties": { "acquisitionChannel": { "type": "optional", @@ -2312,6 +2320,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "BusinessUsersResponse": { "docs": "Model for business user risk score response", + "inline": undefined, "properties": { "userId": { "docs": "user ID the risk score pertains to", @@ -2333,6 +2342,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu "extends": [ "Business", ], + "inline": undefined, "properties": { "executedRules": "optional>", "hitRules": "optional>", @@ -2343,6 +2353,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "CardDetails": { "docs": "Model for credit or debit card details", + "inline": undefined, "properties": { "3dsDone": { "docs": "Whether 3ds was successfully enforced for the transaction", @@ -2451,6 +2462,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "CardExpiry": { "docs": undefined, + "inline": undefined, "properties": { "month": { "type": "optional", @@ -2465,6 +2477,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "CardMerchantDetails": { "docs": undefined, + "inline": undefined, "properties": { "MCC": { "type": "optional", @@ -2505,6 +2518,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "CaseClosedDetails": { "docs": undefined, + "inline": undefined, "properties": { "caseId": { "type": "optional", @@ -2534,6 +2548,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "CaseManagementEvent": { "docs": "Model for case management events", + "inline": undefined, "properties": { "caseStatus": { "docs": "Status of a case. E.g. Open, Closed etc.", @@ -2605,6 +2620,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "CheckDetails": { "docs": undefined, + "inline": undefined, "properties": { "checkIdentifier": { "type": "optional", @@ -2655,6 +2671,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "CompanyFinancialDetails": { "docs": "Model for business user company financial details", + "inline": undefined, "properties": { "expectedTransactionAmountPerMonth": { "type": "optional", @@ -2673,6 +2690,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "CompanyGeneralDetails": { "docs": "Model for business user company general details", + "inline": undefined, "properties": { "businessIndustry": { "docs": "The industry the business operates in for a business customer", @@ -2724,6 +2742,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "CompanyRegistrationDetails": { "docs": "Model for business user company registration details", + "inline": undefined, "properties": { "dateOfRegistration": { "type": "optional", @@ -2766,6 +2785,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "ConsumerName": { "docs": "Model for a generic consumer name", + "inline": undefined, "properties": { "firstName": { "docs": "First name of the user", @@ -2804,6 +2824,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "ConsumerUsersResponse": { "docs": "Model for consumer user risk score response", + "inline": undefined, "properties": { "userId": { "docs": "user ID the risk score pertains to", @@ -2822,6 +2843,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "ContactDetails": { "docs": "Model for business user contact information details", + "inline": undefined, "properties": { "addresses": { "docs": "Address(es) of the company", @@ -3390,6 +3412,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "Date": { "docs": "Model for date", + "inline": undefined, "properties": { "day": { "docs": "Day of date", @@ -3410,6 +3433,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "DeviceData": { "docs": "Model for device data", + "inline": undefined, "properties": { "appVersion": { "docs": "The version of the app your user is using on their device at a given timestamp for an event or transaction", @@ -3504,6 +3528,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "ExecutedRulesResult": { "docs": "Model for list of executed rules", + "inline": undefined, "properties": { "labels": { "type": "optional>", @@ -3556,6 +3581,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "FailedRulesResult": { "docs": "Model for list of rules failed execution. It means rules could not be run", + "inline": undefined, "properties": { "failureException": { "type": "RuleFailureException", @@ -3597,6 +3623,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "FalsePositiveDetails": { "docs": undefined, + "inline": undefined, "properties": { "confidenceScore": "double", "isFalsePositive": "boolean", @@ -3611,6 +3638,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "GenericBankAccountDetails": { "docs": "Model for any generic bank account", + "inline": undefined, "properties": { "accountNumber": { "docs": "Bank account number", @@ -3661,6 +3689,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "HitRulesDetails": { "docs": "Model for list of hit rules", + "inline": undefined, "properties": { "labels": { "type": "optional>", @@ -3712,6 +3741,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "IBANDetails": { "docs": "Standardized model for Bank Details", + "inline": undefined, "properties": { "BIC": { "docs": "Identifier for the bank. Can be routing number, BIK number, SWIFT code, BIC number etc.", @@ -3781,6 +3811,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "KYCStatusDetails": { "docs": undefined, + "inline": undefined, "properties": { "reason": { "type": "optional", @@ -3795,6 +3826,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "LegalDocument": { "docs": "LegalDocument model generalizes User's identity document type (ex: Passport)", + "inline": undefined, "properties": { "documentExpirationDate": { "docs": "User's identity document expiration date (UNIX timestamp in milliseconds)", @@ -3841,6 +3873,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "LegalEntity": { "docs": "Model for business user legal entity details", + "inline": undefined, "properties": { "companyFinancialDetails": { "type": "optional", @@ -3865,6 +3898,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "ListData": { "docs": "Payload of a list, new or existed", + "inline": undefined, "properties": { "items": { "docs": "List items", @@ -3880,6 +3914,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "ListExisted": { "docs": "List with ID and header", + "inline": undefined, "properties": { "header": { "type": "ListHeader", @@ -3896,6 +3931,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "ListHeader": { "docs": undefined, + "inline": undefined, "properties": { "createdTimestamp": "double", "listId": "string", @@ -3912,6 +3948,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "ListItem": { "docs": undefined, + "inline": undefined, "properties": { "key": "string", "metadata": { @@ -3928,6 +3965,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu "ListMetadata": { "docs": undefined, "extra-properties": true, + "inline": undefined, "properties": { "checksum": { "type": "optional", @@ -3978,6 +4016,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "MCCDetails": { "docs": undefined, + "inline": undefined, "properties": { "code": { "docs": "Merchant code", @@ -3994,6 +4033,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "MpesaDetails": { "docs": "Model for Mpesa payment method", + "inline": undefined, "properties": { "businessShortCode": { "docs": "Business code", @@ -4037,6 +4077,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "PEPStatus": { "docs": undefined, + "inline": undefined, "properties": { "isPepHit": "boolean", "pepCountry": { @@ -4071,6 +4112,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "Person": { "docs": "Model for a generic individual - different from User model by not having userId field", + "inline": undefined, "properties": { "contactDetails": { "type": "optional", @@ -4099,6 +4141,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu "extends": [ "RulesResults", ], + "inline": undefined, "properties": { "message": "optional", "userId": { @@ -4121,6 +4164,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu "extends": [ "TransactionMonitoringResult", ], + "inline": undefined, "properties": { "message": "optional", }, @@ -4133,6 +4177,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu "extends": [ "RulesResults", ], + "inline": undefined, "properties": { "message": "optional", "userId": { @@ -4164,6 +4209,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "RiskScoringResult": { "docs": "Model for results from Risk Scoring", + "inline": undefined, "properties": { "customerRiskAssessment": { "docs": "Quantified dynamic risk score", @@ -4196,6 +4242,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "RuleFailureException": { "docs": undefined, + "inline": undefined, "properties": { "exceptionDescription": { "docs": "Name of the rule", @@ -4233,6 +4280,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "RuleHitMeta": { "docs": "Details of rule execution, for internal purposes only", + "inline": undefined, "properties": { "falsePositiveDetails": "optional", "hitDirections": "optional>", @@ -4274,6 +4322,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "RulesResults": { "docs": undefined, + "inline": undefined, "properties": { "executedRules": { "docs": "Unique transaction identifier", @@ -4290,6 +4339,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "SWIFTDetails": { "docs": "Model for SWIFT payment method", + "inline": undefined, "properties": { "accountNumber": { "docs": "Account number", @@ -4347,6 +4397,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "SanctionsDetails": { "docs": undefined, + "inline": undefined, "properties": { "entityType": { "type": "optional", @@ -4375,6 +4426,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "Tag": { "docs": "Generic key-value pair model to append a custom variable being sent to Flagright API", + "inline": undefined, "properties": { "key": { "docs": "Key value when you are creating a custom variable", @@ -4403,6 +4455,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "Thing": { "docs": undefined, + "inline": undefined, "properties": { "publishedAt": "optional", }, @@ -4416,6 +4469,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu "TransactionBase", "TransactionUpdatable", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4423,6 +4477,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "TransactionAmountDetails": { "docs": "Model for transaction amount details", + "inline": undefined, "properties": { "country": { "type": "optional", @@ -4441,6 +4496,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "TransactionAmountLimit": { "docs": undefined, + "inline": undefined, "properties": { "day": { "type": "optional", @@ -4461,6 +4517,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "TransactionBase": { "docs": "Model for transaction base Payload", + "inline": undefined, "properties": { "destinationUserId": { "docs": "UserId for transaction's destination. In other words, where the value is being transferred to.", @@ -4501,6 +4558,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "TransactionCountLimit": { "docs": undefined, + "inline": undefined, "properties": { "day": { "type": "optional", @@ -4524,6 +4582,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu "extends": [ "RulesResults", ], + "inline": undefined, "properties": { "eventId": "string", "transaction": "Transaction", @@ -4534,6 +4593,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "TransactionLimit": { "docs": undefined, + "inline": undefined, "properties": { "averageTransactionAmountLimit": { "type": "optional", @@ -4551,6 +4611,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "TransactionLimits": { "docs": "Model for transaction limits for a given user", + "inline": undefined, "properties": { "maximumDailyTransactionLimit": { "type": "optional", @@ -4571,7 +4632,6 @@ In order to make individual events retrievable, you also need to pass in a uniqu "type": "optional", }, "paymentMethodLimits": { - "inline": true, "type": "optional", }, }, @@ -4581,6 +4641,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "TransactionLimitsPaymentMethodLimits": { "docs": undefined, + "inline": true, "properties": { "ACH": "optional", "CARD": "optional", @@ -4601,6 +4662,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu "extends": [ "RulesResults", ], + "inline": undefined, "properties": { "transactionId": { "docs": "Transaction ID that the results pertain to", @@ -4642,6 +4704,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "TransactionUpdatable": { "docs": "Model for transaction additional payload", + "inline": undefined, "properties": { "destinationAmountDetails": { "type": "optional", @@ -4777,6 +4840,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu "extends": [ "Transaction", ], + "inline": undefined, "properties": { "executedRules": "list", "hitRules": "list", @@ -4787,6 +4851,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "UPIDetails": { "docs": "Model for UPI payment method", + "inline": undefined, "properties": { "bankProvider": { "docs": "Bank provider name", @@ -4837,6 +4902,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu "UserBase", "UserOptional", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -4844,6 +4910,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "UserBase": { "docs": "Model for User details", + "inline": undefined, "properties": { "createdTimestamp": { "docs": "Timestamp when userId is created", @@ -4876,6 +4943,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "UserDetails": { "docs": "Model for consumer user personal details", + "inline": undefined, "properties": { "countryOfNationality": { "type": "optional", @@ -4921,6 +4989,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu "extends": [ "RulesResults", ], + "inline": undefined, "properties": { "userId": { "docs": "User ID that the results pertain to", @@ -4933,6 +5002,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "UserOptional": { "docs": "Model for User details", + "inline": undefined, "properties": { "acquisitionChannel": { "type": "optional", @@ -5011,6 +5081,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "UserStateDetails": { "docs": undefined, + "inline": undefined, "properties": { "reason": { "type": "optional", @@ -5031,6 +5102,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu "extends": [ "User", ], + "inline": undefined, "properties": { "executedRules": "optional>", "hitRules": "optional>", @@ -5041,6 +5113,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "WalletDetails": { "docs": "Standardized model for a Generic wallet transaction", + "inline": undefined, "properties": { "name": { "docs": "Name of the account holder for a specific wallet", @@ -5082,6 +5155,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu }, "WebhookEvent": { "docs": undefined, + "inline": undefined, "properties": { "createdTimestamp": { "type": "double", @@ -6242,6 +6316,7 @@ In order to make individual events retrievable, you also need to pass in a uniqu CHECK: optional source: openapi: ../openapi.yml + inline: true TransactionLimits: docs: Model for transaction limits for a given user properties: @@ -6259,7 +6334,6 @@ In order to make individual events retrievable, you also need to pass in a uniqu type: optional paymentMethodLimits: type: optional - inline: true source: openapi: ../openapi.yml RuleAction: diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/flexport.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/flexport.json index 27b27b95893..6e8adb3906c 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/flexport.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/flexport.json @@ -395,6 +395,7 @@ "types": { "AdditionalDates": { "docs": undefined, + "inline": undefined, "properties": { "cargo_ready_date": { "docs": "Represents the date when the cargo on the leg is ready for pickup.", @@ -437,6 +438,7 @@ }, "Address": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -459,6 +461,7 @@ }, "AddressForRequestBody": { "docs": undefined, + "inline": undefined, "properties": { "city": "optional", "country_code": "optional", @@ -474,6 +477,7 @@ }, "AirBookingDetail": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -511,6 +515,7 @@ }, "AirShipmentDetail": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -527,6 +532,7 @@ }, "AirShipmentLeg": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "flight_number": "optional", @@ -539,6 +545,7 @@ }, "Airport": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -555,6 +562,7 @@ }, "BadRequestErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional>", @@ -568,6 +576,7 @@ }, "Booking": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -631,6 +640,7 @@ }, "BookingAmendment": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -713,6 +723,7 @@ }, "BookingAmendmentHsCode": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "String representing the object’s type. Always `/booking_amendment_product_description` for this object.", @@ -734,6 +745,7 @@ }, "BookingHsCode": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "String representing the object’s type. Always `/product_descriptions` for this object.", @@ -759,6 +771,7 @@ }, "BookingLineItem": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -781,6 +794,7 @@ }, "BookingLineItemCollectionRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -818,6 +832,7 @@ }, "BookingRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": "optional", "id": "optional", @@ -842,6 +857,7 @@ }, "CarbonCalculation": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -855,6 +871,7 @@ }, "Cargo": { "docs": "With cargo you have two options, detailed or simple. These are both expressed directly on the cargo object. For detailed cargo, `shipping_units` is required, and `weight` and `volume` is required in the `cargo` object or the `shipping_units` object. For simple cargo, `shipping_units` is required, but only one should be specified, and `weight` and `volume` are required in the `cargo` object.", + "inline": undefined, "properties": { "_object": { "docs": "String representing the object’s type. Always `/cargo` for this object.", @@ -909,6 +926,7 @@ }, "CommercialInvoice": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object. Always /commercial_invoice for this object.", @@ -958,6 +976,7 @@ }, "CommercialInvoiceCollectionRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": "optional", "link": "optional", @@ -980,6 +999,7 @@ }, "CommercialInvoiceLineItem": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object. Always /commercial_invoice_line_item for this object.", @@ -1022,6 +1042,7 @@ }, "CommercialInvoiceLineItemContainerNumber": { "docs": undefined, + "inline": undefined, "properties": { "commercial_invoice_line_item_id": "optional", "container_number": "optional", @@ -1036,6 +1057,7 @@ }, "Company": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object. Always /network/company for this object.", @@ -1059,6 +1081,7 @@ }, "CompanyEntity": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -1076,6 +1099,7 @@ }, "CompanyEntityRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": "optional", "id": "optional", @@ -1088,6 +1112,7 @@ }, "Contact": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object. Always /network/contact for this object.", @@ -1095,7 +1120,6 @@ }, "company": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", - "inline": true, "type": "optional", }, "email": "optional", @@ -1113,6 +1137,7 @@ }, "ContactCompany": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": true, "properties": { "_object": "optional", "id": "optional", @@ -1125,6 +1150,7 @@ }, "ContainerCollectionRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -1145,6 +1171,7 @@ }, "ContainerCounts": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "String representing the object’s type. Always `/container_counts` for this object.", @@ -1173,6 +1200,7 @@ }, "ContainerLegCollectionRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -1193,6 +1221,7 @@ }, "ContainerRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": "optional", "id": "optional", @@ -1205,6 +1234,7 @@ }, "CoordinatesCreate": { "docs": undefined, + "inline": undefined, "properties": { "latitude": "optional", "longitude": "optional", @@ -1215,6 +1245,7 @@ }, "CreateAirBooking": { "docs": "If a non-null value is passed in for 'air_booking', then the new booking will be assumed to be an air booking, even if the 'ocean_booking' or 'trucking_booking' fields are set.", + "inline": undefined, "properties": { "destination_port_iata_code": { "docs": "Optional, provide one of `destination_port_us_cbp_port_code`, `destination_port_loc_code`, `destination_port_iata_code`, or `destination_port_icao_code`. Unique airport reference code used by IATA.", @@ -1284,6 +1315,7 @@ }, "CreateBookingAmendmentHsCode": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "Always required. English description of product in booking.", @@ -1304,6 +1336,7 @@ }, "CreateBookingHsCode": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "Always required. English description of product in booking.", @@ -1328,6 +1361,7 @@ }, "CreateCargo": { "docs": "With cargo you have two options, detailed or simple. These are both expressed directly on the cargo object. For detailed cargo, `shipping_units` is required, and `weight` and `volume` is required in the `cargo` object or the `shipping_units` object. For simple cargo, `shipping_units` is required, but only one should be specified, and `weight` and `volume` are required in the `cargo` object.", + "inline": undefined, "properties": { "contains_hazmat": { "docs": "Required. Whether the cargo contains hazardous materials.", @@ -1378,6 +1412,7 @@ }, "CreateCommercialInvoiceLineItem": { "docs": undefined, + "inline": undefined, "properties": { "container_number": "optional", "country_of_origin": "optional", @@ -1390,7 +1425,6 @@ "manufacturer_ref": { "availability": "deprecated", "docs": "[DEPRECATED] Your custom string used to refer to a manufacturer location.", - "inline": undefined, "type": "optional", }, "metadata": "optional", @@ -1418,6 +1452,7 @@ }, "CreateContainerCounts": { "docs": undefined, + "inline": undefined, "properties": { "forty_five_ft_hc": { "docs": "Quantity of 45 ft HC containers requested.", @@ -1442,6 +1477,7 @@ }, "CreateDocument": { "docs": undefined, + "inline": undefined, "properties": { "document": { "docs": "Document represented in a strict Base64-encoded string.", @@ -1478,6 +1514,7 @@ }, "CreateInvolvedParty": { "docs": undefined, + "inline": undefined, "properties": { "company_entity_ref": { "docs": "Your custom string used to refer to the company entity. Can be used to look up or reference the company entity later on.", @@ -1491,6 +1528,7 @@ }, "CreateLineItem": { "docs": undefined, + "inline": undefined, "properties": { "assigned_party_ref": { "docs": "The party that this line item is assigned to. Useful if assigning line items to different factories under a vendor, for example.", @@ -1587,6 +1625,7 @@ }, "CreateLineItemDestinationLocation": { "docs": undefined, + "inline": undefined, "properties": { "location_ref": { "docs": "Location ref", @@ -1634,6 +1673,7 @@ }, "CreateLineItemMeasurement": { "docs": undefined, + "inline": undefined, "properties": { "measure_type": { "docs": "The type of measure", @@ -1825,6 +1865,7 @@ }, "CreateOceanBooking": { "docs": undefined, + "inline": undefined, "properties": { "container_counts": "CreateContainerCounts", "destination_port_loc_code": { @@ -1887,6 +1928,7 @@ }, "CreateOrUpdatePurchaseOrder": { "docs": undefined, + "inline": undefined, "properties": { "cargo_ready_date": { "docs": "Required if there is no cargo_ready_date in each line item. Date when cargo is ready for pickup at the origin location.", @@ -2071,6 +2113,7 @@ }, "CreateParty": { "docs": "A party is a company entity that is tied to a purchase order and has a specific role.", + "inline": undefined, "properties": { "contacts": { "docs": "A list of contact data for who should be contacted should there be questions about this order. For example, if your supplier needs to contact someone, who should they contact?", @@ -2095,6 +2138,7 @@ }, "CreatePartyContactsItem": { "docs": undefined, + "inline": true, "properties": { "department": "optional", "email": "optional", @@ -2128,6 +2172,7 @@ }, "CreatePurchaseOrderHsCode": { "docs": undefined, + "inline": undefined, "properties": { "code": { "docs": "The indentifying code on the hs code", @@ -2144,6 +2189,7 @@ }, "CreatePurchaseOrderPort": { "docs": undefined, + "inline": undefined, "properties": { "code": { "docs": "A unique identifier for this port", @@ -2172,6 +2218,7 @@ }, "CreatePurchaseOrderProduct": { "docs": undefined, + "inline": undefined, "properties": { "color": { "docs": "The color of the product", @@ -2228,6 +2275,7 @@ }, "CreateQuantity": { "docs": undefined, + "inline": undefined, "properties": { "unit": { "docs": "Required. Unit of measurement.", @@ -2259,6 +2307,7 @@ }, "CreateTruckingBooking": { "docs": undefined, + "inline": undefined, "properties": { "description_of_products": { "docs": "General description of the products in the shipment.", @@ -2289,6 +2338,7 @@ }, "CreditMemo": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "The type of the object", @@ -2319,6 +2369,7 @@ }, "CustomsEntry": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object. Always /customs_entry for this object.", @@ -2351,6 +2402,7 @@ }, "CustomsEntryCollectionRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": "optional", "link": "optional", @@ -2373,6 +2425,7 @@ }, "CustomsInvolvedParty": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -2395,6 +2448,7 @@ }, "DistanceCreate": { "docs": undefined, + "inline": undefined, "properties": { "unit": { "docs": "Required. Unit of measurement. "km" for kilometers. "mi" for miles.", @@ -2421,6 +2475,7 @@ }, "Document": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object. Always /document for this object.", @@ -2462,6 +2517,7 @@ }, "DocumentCollectionRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": "optional", "link": "optional", @@ -2473,6 +2529,7 @@ }, "Error": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "String representing the object’s type. Always /api/error for this object.", @@ -2497,6 +2554,7 @@ }, "Exception": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "message": { @@ -2541,6 +2599,7 @@ }, "FileMetadata": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object. Always /file_metadata for this object.", @@ -2572,6 +2631,7 @@ }, "GenericCollectionRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": "optional", "link": "optional", @@ -2583,6 +2643,7 @@ }, "GenericObjectRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": "optional", "id": "optional", @@ -2597,6 +2658,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -2607,6 +2669,7 @@ }, "HsCode": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "String representing the object’s type. Always `/hs_code` for this object.", @@ -2628,6 +2691,7 @@ }, "Invoice": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object. Always '/invoice' for this object.", @@ -2701,6 +2765,7 @@ }, "InvoiceItem": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object.", @@ -2746,6 +2811,7 @@ }, "InvoiceQuantity": { "docs": "Describes the number of units used to calculate the price of a line item", + "inline": undefined, "properties": { "_object": { "docs": "The type of the object", @@ -2766,6 +2832,7 @@ }, "InvoiceRate": { "docs": "Describes the rate per unit used to calculate the price of a line item", + "inline": undefined, "properties": { "_object": { "docs": "The type of the object", @@ -2809,6 +2876,7 @@ }, "LegCollectionRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -2829,6 +2897,7 @@ }, "LegRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": "optional", "id": "optional", @@ -2841,6 +2910,7 @@ }, "Length": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "String representing the object’s type. Always `/quantity/length` for this object.", @@ -2861,6 +2931,7 @@ }, "LengthCreate": { "docs": undefined, + "inline": undefined, "properties": { "unit": { "docs": "Required. Unit of measurement. "cm" for centimeters. "in" for inches.", @@ -2897,6 +2968,7 @@ }, "LineItemMeasurement": { "docs": undefined, + "inline": undefined, "properties": { "measure_type": { "docs": "The type of measure", @@ -2933,6 +3005,7 @@ }, "Location": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object. Always /network/location for this object.", @@ -2956,6 +3029,7 @@ }, "Manufacturer": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -2976,6 +3050,7 @@ "discriminated": false, "docs": "Metadata has two allowed formats. Either array format or object format. Refer to the metadata section in this documentation for more information.", "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -2992,6 +3067,7 @@ }, "MetadataCreateExampleKey": { "docs": "Object format.", + "inline": true, "properties": { "example_key": "optional>", }, @@ -3001,6 +3077,7 @@ }, "MetadataCreateItem": { "docs": undefined, + "inline": true, "properties": { "name": "optional", "value": "optional>", @@ -3014,6 +3091,7 @@ "extends": [ "MoneyCreate", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -3021,6 +3099,7 @@ }, "MoneyCreate": { "docs": undefined, + "inline": undefined, "properties": { "amount": "optional", "currency_code": "optional", @@ -3031,6 +3110,7 @@ }, "OceanBookingDetail": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -3070,6 +3150,7 @@ }, "OceanShipmentContainerLeg": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -3085,6 +3166,7 @@ }, "OceanShipmentDetail": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -3106,6 +3188,7 @@ }, "OceanShipmentLeg": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "container_legs": "optional", @@ -3120,6 +3203,7 @@ }, "Parties": { "docs": "A party is a company entity that is tied to a purchase order that has a specific role.", + "inline": undefined, "properties": { "company_entity": "optional", "contacts": { @@ -3141,6 +3225,7 @@ }, "PartiesContactsItem": { "docs": undefined, + "inline": true, "properties": { "department": "optional", "email": "optional", @@ -3174,6 +3259,7 @@ }, "Place": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -3194,6 +3280,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3205,6 +3292,7 @@ }, "Placeport": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -3238,6 +3326,7 @@ }, "Product": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -3255,7 +3344,6 @@ "country_of_origin": { "availability": "deprecated", "docs": "[DEPRECATED] - Use the country_of_origin on the supplier field. The country the product was manufactured", - "inline": undefined, "type": "optional", }, "description": { @@ -3265,7 +3353,6 @@ "hs_codes": { "availability": "deprecated", "docs": "DEPRECATED - HS codes can be found in the classifications array", - "inline": undefined, "type": "optional>", }, "id": { @@ -3295,6 +3382,7 @@ }, "ProductClassification": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -3315,6 +3403,7 @@ }, "ProductProperty": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -3335,6 +3424,7 @@ }, "ProductRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": "optional", "id": "optional", @@ -3347,6 +3437,7 @@ }, "PurchaseOrder": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -3454,6 +3545,7 @@ }, "PurchaseOrderLineItem": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -3514,6 +3606,7 @@ }, "PurchaseOrderLineItemCollectionRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -3534,6 +3627,7 @@ }, "PurchaseOrderLineItemDestinationAddress": { "docs": undefined, + "inline": undefined, "properties": { "location_ref": { "docs": "Location ref", @@ -3580,6 +3674,7 @@ }, "PurchaseOrderLineItemRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": "optional", "id": "optional", @@ -3666,6 +3761,7 @@ }, "PurchaseOrderProduct": { "docs": undefined, + "inline": undefined, "properties": { "color": { "docs": "The color of the product", @@ -3722,6 +3818,7 @@ }, "PurchaseOrderRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": "optional", "id": "optional", @@ -3746,6 +3843,7 @@ }, "RailShipmentLeg": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "container_legs": "optional", @@ -3756,6 +3854,7 @@ }, "Shipment": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -3934,6 +4033,7 @@ }, "ShipmentContainer": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -4016,6 +4116,7 @@ }, "ShipmentDangerousGoods": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of this object", @@ -4046,6 +4147,7 @@ }, "ShipmentEventData": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -4071,6 +4173,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -4101,6 +4204,7 @@ }, "ShipmentItem": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -4119,6 +4223,7 @@ }, "ShipmentLeg": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -4160,6 +4265,7 @@ }, "ShipmentNode": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -4185,6 +4291,7 @@ }, "ShipmentRef": { "docs": "[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)", + "inline": undefined, "properties": { "_object": { "docs": "Type of Object Returned. In this case, /api/refs/object.", @@ -4229,6 +4336,7 @@ }, "ShippingUnit": { "docs": "For detailed cargo, `shipping_units` is required. For simple cargo, `shipping_units` is required, but only one should be specified.", + "inline": undefined, "properties": { "_object": { "docs": "String representing the object’s type. Always `/shipping_unit` for this object.", @@ -4262,6 +4370,7 @@ }, "ShippingUnitCreate": { "docs": "For detailed cargo, `shipping_units` is required. For simple cargo, `shipping_units` is required, but only one should be specified.", + "inline": undefined, "properties": { "atomic_count": { "docs": "Required if `unit_type` = `pallet`. The number of atomic units, i.e. units that will not be unpacked and broken up during shipping, contained in each shipping unit.", @@ -4291,6 +4400,7 @@ }, "Terminal": { "docs": "Name and address of a specific terminal within a port or airport. Possibly null", + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -4327,6 +4437,7 @@ }, "TruckingBookingDetail": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -4351,6 +4462,7 @@ }, "TruckingShipmentLeg": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "container_legs": "optional", @@ -4376,6 +4488,7 @@ }, "VatNumber": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -4396,6 +4509,7 @@ "extends": [ "VolumeCreate", ], + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -4408,6 +4522,7 @@ }, "VolumeCreate": { "docs": undefined, + "inline": undefined, "properties": { "unit": { "docs": "unit of measurement. "cbm" for cubic meters. "cbft" for cubic feet.", @@ -4434,6 +4549,7 @@ }, "WebhookEvent": { "docs": undefined, + "inline": undefined, "properties": { "_object": { "docs": "Type of the object", @@ -4455,6 +4571,7 @@ "extends": [ "WeightCreate", ], + "inline": undefined, "properties": { "_object": { "docs": "String representing the object’s type. Always `/quantity/weight` for this object.", @@ -4467,6 +4584,7 @@ }, "WeightCreate": { "docs": undefined, + "inline": undefined, "properties": { "unit": { "docs": "Required. Unit of measurement. "kg" for kilograms, "lbs" for pounds", @@ -4493,6 +4611,7 @@ }, "WriteProductClassification": { "docs": undefined, + "inline": undefined, "properties": { "codes": { "docs": "Always required. An array of HS codes for this product in the provided region", @@ -4509,6 +4628,7 @@ }, "WriteProductProperty": { "docs": undefined, + "inline": undefined, "properties": { "type": { "docs": "Always required. User defined type of this property", @@ -4525,6 +4645,7 @@ }, "WriteProductSupplier": { "docs": undefined, + "inline": undefined, "properties": { "country_of_origin": { "docs": "Always required. ISO Alpha-2 country in which the product is manufactured", @@ -4545,6 +4666,7 @@ }, "WriteVatNumber": { "docs": undefined, + "inline": undefined, "properties": { "country_code": { "docs": "ISO 3166 two-letter country code", @@ -4743,12 +4865,14 @@ example_key: optional> source: openapi: ../openapi.yml + inline: true MetadataCreateItem: properties: name: optional value: optional> source: openapi: ../openapi.yml + inline: true MetadataCreate: discriminated: false docs: >- @@ -5184,6 +5308,7 @@ - Manufacturer source: openapi: ../openapi.yml + inline: true Place: properties: _object: @@ -5944,6 +6069,7 @@ - integer source: openapi: ../openapi.yml + inline: true GenericObjectRef: docs: '[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)' properties: @@ -6634,6 +6760,7 @@ - OceanShipmentContainerLeg source: openapi: ../openapi.yml + inline: true ShipmentEventData: properties: _object: @@ -6863,6 +6990,7 @@ id: optional source: openapi: ../openapi.yml + inline: true Contact: properties: _object: @@ -6878,7 +7006,6 @@ company: type: optional docs: '[Expandable API link.](https://apidocs.flexport.com/v3/tag/Expansion)' - inline: true source: openapi: ../openapi.yml Location: @@ -7170,6 +7297,7 @@ department: optional source: openapi: ../openapi.yml + inline: true Parties: docs: >- A party is a company entity that is tied to a purchase order that has a @@ -7346,6 +7474,7 @@ department: optional source: openapi: ../openapi.yml + inline: true CreateParty: docs: >- A party is a company entity that is tied to a purchase order and has a @@ -9217,6 +9346,7 @@ errors: "types": { "BookingCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -9229,6 +9359,7 @@ errors: }, "BookingShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -9269,12 +9400,10 @@ errors: }, "BookingsIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", "self": "optional", "version": "optional", }, @@ -9284,6 +9413,7 @@ errors: }, "BookingsIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -9335,14 +9465,13 @@ errors: data: optional> source: openapi: ../openapi.yml + inline: true BookingsIndexResponse: properties: _object: optional self: optional version: optional - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml CreateBookingDeclaredAsStrategy: @@ -10605,6 +10734,7 @@ docs: Endpoints relating to Booking objects "types": { "BookingAmendmentCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -11137,6 +11267,7 @@ docs: >- "types": { "BookingLineItemCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -11159,12 +11290,10 @@ docs: >- }, "BookingLineItemIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", "self": "optional", "version": "optional", }, @@ -11174,6 +11303,7 @@ docs: >- }, "BookingLineItemIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -11186,6 +11316,7 @@ docs: >- }, "BookingLineItemShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -11214,14 +11345,13 @@ docs: >- data: optional> source: openapi: ../openapi.yml + inline: true BookingLineItemIndexResponse: properties: _object: optional self: optional version: optional - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml BookingLineItemCreateResponse: @@ -11569,6 +11699,7 @@ docs: >- "types": { "CarbonCalculationCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -12522,6 +12653,7 @@ docs: Endpoints relating to Carbon Calculations "types": { "CommercialInvoicesCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -12534,12 +12666,10 @@ docs: Endpoints relating to Carbon Calculations }, "CommercialInvoicesIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", "self": "optional", "version": "optional", }, @@ -12549,6 +12679,7 @@ docs: Endpoints relating to Carbon Calculations }, "CommercialInvoicesIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -12561,6 +12692,7 @@ docs: Endpoints relating to Carbon Calculations }, "CommercialInvoicesShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -12573,6 +12705,7 @@ docs: Endpoints relating to Carbon Calculations }, "CommercialInvoicesUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -12596,14 +12729,13 @@ types: data: optional> source: openapi: ../openapi.yml + inline: true CommercialInvoicesIndexResponse: properties: _object: optional self: optional version: optional - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml CommercialInvoicesCreateResponse: @@ -13701,6 +13833,7 @@ docs: Endpoints relating to Commercial Invoice objects "types": { "NetworkCompanyCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -13713,12 +13846,10 @@ docs: Endpoints relating to Commercial Invoice objects }, "NetworkCompanyIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", "self": "optional", "version": "optional", }, @@ -13728,6 +13859,7 @@ docs: Endpoints relating to Commercial Invoice objects }, "NetworkCompanyIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -13741,6 +13873,7 @@ docs: Endpoints relating to Commercial Invoice objects }, "NetworkCompanyMeResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -13753,6 +13886,7 @@ docs: Endpoints relating to Commercial Invoice objects }, "NetworkCompanyShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -13765,6 +13899,7 @@ docs: Endpoints relating to Commercial Invoice objects }, "NetworkCompanyUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -13789,14 +13924,13 @@ types: data: optional> source: openapi: ../openapi.yml + inline: true NetworkCompanyIndexResponse: properties: _object: optional self: optional version: optional - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml NetworkCompanyCreateResponse: @@ -14584,12 +14718,10 @@ docs: Endpoints relating to Company objects "types": { "CompanyEntityIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", "self": "optional", "version": "optional", }, @@ -14599,6 +14731,7 @@ docs: Endpoints relating to Company objects }, "CompanyEntityIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -14612,6 +14745,7 @@ docs: Endpoints relating to Company objects }, "NetworkCompanyEntityCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -14624,6 +14758,7 @@ docs: Endpoints relating to Company objects }, "NetworkCompanyEntityShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -14636,6 +14771,7 @@ docs: Endpoints relating to Company objects }, "NetworkCompanyEntityUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -14660,14 +14796,13 @@ types: data: optional> source: openapi: ../openapi.yml + inline: true CompanyEntityIndexResponse: properties: _object: optional self: optional version: optional - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml NetworkCompanyEntityCreateResponse: @@ -15304,6 +15439,7 @@ docs: Endpoints relating to CompanyEntity objects "types": { "NetworkContactCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -15316,12 +15452,10 @@ docs: Endpoints relating to CompanyEntity objects }, "NetworkContactIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", "self": "optional", "version": "optional", }, @@ -15331,6 +15465,7 @@ docs: Endpoints relating to CompanyEntity objects }, "NetworkContactIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -15344,6 +15479,7 @@ docs: Endpoints relating to CompanyEntity objects }, "NetworkContactShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -15356,6 +15492,7 @@ docs: Endpoints relating to CompanyEntity objects }, "NetworkContactUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -15380,14 +15517,13 @@ types: data: optional> source: openapi: ../openapi.yml + inline: true NetworkContactIndexResponse: properties: _object: optional self: optional version: optional - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml NetworkContactCreateResponse: @@ -15919,12 +16055,10 @@ docs: Endpoints relating to Contact objects "types": { "ContainerListResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", "self": "optional", "version": "optional", }, @@ -15934,6 +16068,7 @@ docs: Endpoints relating to Contact objects }, "ContainerListResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -15946,6 +16081,7 @@ docs: Endpoints relating to Contact objects }, "ContainerShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -15969,14 +16105,13 @@ types: data: optional> source: openapi: ../openapi.yml + inline: true ContainerListResponse: properties: _object: optional self: optional version: optional - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml ContainerShowResponse: @@ -16374,12 +16509,10 @@ docs: Endpoints relating to Container objects "types": { "OceanContainerLegsIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", "self": "optional", "version": "optional", }, @@ -16389,6 +16522,7 @@ docs: Endpoints relating to Container objects }, "OceanContainerLegsIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -16401,6 +16535,7 @@ docs: Endpoints relating to Container objects }, "OceanContainerLegsShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -16424,14 +16559,13 @@ types: data: optional> source: openapi: ../openapi.yml + inline: true OceanContainerLegsIndexResponse: properties: _object: optional self: optional version: optional - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml OceanContainerLegsShowResponse: @@ -16719,6 +16853,7 @@ docs: Endpoints relating to ContainerLeg objects "types": { "CustomsEntriesShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -16731,12 +16866,10 @@ docs: Endpoints relating to ContainerLeg objects }, "CustomsEntryIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", "self": "optional", "version": "optional", }, @@ -16746,6 +16879,7 @@ docs: Endpoints relating to ContainerLeg objects }, "CustomsEntryIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -16769,14 +16903,13 @@ types: data: optional> source: openapi: ../openapi.yml + inline: true CustomsEntryIndexResponse: properties: _object: optional self: optional version: optional - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml CustomsEntriesShowResponse: @@ -17159,6 +17292,7 @@ docs: Endpoints relating to Customs Entry objects "types": { "DocumentsCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -17171,12 +17305,10 @@ docs: Endpoints relating to Customs Entry objects }, "DocumentsIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", "self": "optional", "version": "optional", }, @@ -17186,6 +17318,7 @@ docs: Endpoints relating to Customs Entry objects }, "DocumentsIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -17199,6 +17332,7 @@ docs: Endpoints relating to Customs Entry objects }, "DocumentsShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -17223,14 +17357,13 @@ types: data: optional> source: openapi: ../openapi.yml + inline: true DocumentsIndexResponse: properties: _object: optional self: optional version: optional - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml DocumentsCreateResponse: @@ -17695,12 +17828,10 @@ docs: Endpoints relating to Document objects }, "EventsIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", "self": "optional", "version": "optional", }, @@ -17710,6 +17841,7 @@ docs: Endpoints relating to Document objects }, "EventsIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -17722,6 +17854,7 @@ docs: Endpoints relating to Document objects }, "EventsShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -17759,14 +17892,13 @@ docs: Endpoints relating to Document objects data: optional> source: openapi: ../openapi.yml + inline: true EventsIndexResponse: properties: _object: optional self: optional version: optional - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml EventsShowResponse: @@ -18603,12 +18735,10 @@ Other details about this invoice", }, "InvoiceIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", "self": "optional", "version": "optional", }, @@ -18618,6 +18748,7 @@ Other details about this invoice", }, "InvoiceIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -18630,6 +18761,7 @@ Other details about this invoice", }, "InvoicesShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -18666,14 +18798,13 @@ Other details about this invoice", data: optional> source: openapi: ../openapi.yml + inline: true InvoiceIndexResponse: properties: _object: optional self: optional version: optional - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml InvoicesShowResponse: @@ -19606,12 +19737,10 @@ docs: Endpoints relating to Invoice objects "types": { "LocationIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", "self": "optional", "version": "optional", }, @@ -19621,6 +19750,7 @@ docs: Endpoints relating to Invoice objects }, "LocationIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -19634,6 +19764,7 @@ docs: Endpoints relating to Invoice objects }, "LocationUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -19646,6 +19777,7 @@ docs: Endpoints relating to Invoice objects }, "NetworkLocationCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -19658,6 +19790,7 @@ docs: Endpoints relating to Invoice objects }, "NetworkLocationShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -19682,14 +19815,13 @@ types: data: optional> source: openapi: ../openapi.yml + inline: true LocationIndexResponse: properties: _object: optional self: optional version: optional - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml NetworkLocationCreateResponse: @@ -20201,12 +20333,10 @@ docs: Endpoints relating to Location objects }, "PortsIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", "self": "optional", "version": "optional", }, @@ -20216,6 +20346,7 @@ docs: Endpoints relating to Location objects }, "PortsIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>>", @@ -20247,14 +20378,13 @@ docs: Endpoints relating to Location objects data: optional>> source: openapi: ../openapi.yml + inline: true PortsIndexResponse: properties: _object: optional self: optional version: optional - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml imports: @@ -20782,6 +20912,7 @@ docs: Endpoints relating to Ports objects "types": { "ProductCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -20794,12 +20925,10 @@ docs: Endpoints relating to Ports objects }, "ProductIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", "self": "optional", "version": "optional", }, @@ -20809,6 +20938,7 @@ docs: Endpoints relating to Ports objects }, "ProductIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -20821,6 +20951,7 @@ docs: Endpoints relating to Ports objects }, "ProductShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -20833,6 +20964,7 @@ docs: Endpoints relating to Ports objects }, "ProductUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -20856,14 +20988,13 @@ types: data: optional> source: openapi: ../openapi.yml + inline: true ProductIndexResponse: properties: _object: optional self: optional version: optional - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml ProductCreateResponse: @@ -22255,12 +22386,10 @@ docs: Endpoints relating to Product objects }, "PurchaseOrderIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", "self": "optional", "version": "optional", }, @@ -22270,6 +22399,7 @@ docs: Endpoints relating to Product objects }, "PurchaseOrderIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -22282,6 +22412,7 @@ docs: Endpoints relating to Product objects }, "PurchaseOrderShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -22333,14 +22464,13 @@ docs: Endpoints relating to Product objects data: optional> source: openapi: ../openapi.yml + inline: true PurchaseOrderIndexResponse: properties: _object: optional self: optional version: optional - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml PurchaseOrderShowResponse: @@ -23540,12 +23670,10 @@ docs: >- }, "PurchaseOrderLineItemIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", "self": "optional", "version": "optional", }, @@ -23555,6 +23683,7 @@ docs: >- }, "PurchaseOrderLineItemIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -23567,6 +23696,7 @@ docs: >- }, "PurchaseOrderLineItemShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -23595,14 +23725,13 @@ docs: >- data: optional> source: openapi: ../openapi.yml + inline: true PurchaseOrderLineItemIndexResponse: properties: _object: optional self: optional version: optional - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml PurchaseOrderLineItemShowResponse: @@ -25165,12 +25294,10 @@ docs: >- }, "ShipmentIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", "self": "optional", "version": "optional", }, @@ -25180,6 +25307,7 @@ docs: >- }, "ShipmentIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -25192,6 +25320,7 @@ docs: >- }, "ShipmentShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -25204,6 +25333,7 @@ docs: >- }, "ShipmentUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -25216,12 +25346,10 @@ docs: >- }, "ShipmentsShareableResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", "self": "optional", "version": "optional", }, @@ -25231,6 +25359,7 @@ docs: >- }, "ShipmentsShareableResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "shipments": "optional>", @@ -25241,6 +25370,7 @@ docs: >- }, "ShipmentsShareableResponseDataShipmentsItem": { "docs": undefined, + "inline": true, "properties": { "expiration_date": "optional", "shareable_url": "optional", @@ -25278,14 +25408,13 @@ docs: >- data: optional> source: openapi: ../openapi.yml + inline: true ShipmentIndexResponse: properties: _object: optional self: optional version: optional - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml ShipmentShowResponse: @@ -25311,20 +25440,20 @@ docs: >- expiration_date: optional source: openapi: ../openapi.yml + inline: true ShipmentsShareableResponseData: properties: _object: optional shipments: optional> source: openapi: ../openapi.yml + inline: true ShipmentsShareableResponse: properties: _object: optional self: optional version: optional - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml imports: @@ -26742,12 +26871,10 @@ docs: Endpoints relating to Shipment objects "types": { "ShipmentLegIndexResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", "self": "optional", "version": "optional", }, @@ -26757,6 +26884,7 @@ docs: Endpoints relating to Shipment objects }, "ShipmentLegIndexResponseData": { "docs": undefined, + "inline": true, "properties": { "_object": "optional", "data": "optional>", @@ -26769,6 +26897,7 @@ docs: Endpoints relating to Shipment objects }, "ShipmentLegShowResponse": { "docs": undefined, + "inline": undefined, "properties": { "_object": "optional", "data": "optional", @@ -26792,14 +26921,13 @@ types: data: optional> source: openapi: ../openapi.yml + inline: true ShipmentLegIndexResponse: properties: _object: optional self: optional version: optional - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml ShipmentLegShowResponse: diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/float.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/float.json index 3f9e90b448d..4eef66bfac5 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/float.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/float.json @@ -55,6 +55,7 @@ "Response": { "docs": "A generic response type used throughout the API. ", + "inline": undefined, "properties": { "id": "optional", "value": "optional", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/hathora.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/hathora.json index 75fe6fa4441..183a789bdf1 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/hathora.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/hathora.json @@ -82,6 +82,7 @@ "types": { "ActiveConnectionInfo": { "docs": undefined, + "inline": undefined, "properties": { "host": "string", "port": "double", @@ -94,6 +95,7 @@ }, "AppConfig": { "docs": undefined, + "inline": undefined, "properties": { "appName": { "type": "string", @@ -104,10 +106,7 @@ "pattern": "^[a-z0-9-]+$", }, }, - "authConfiguration": { - "inline": true, - "type": "AppConfigAuthConfiguration", - }, + "authConfiguration": "AppConfigAuthConfiguration", }, "source": { "openapi": "../openapi.json", @@ -115,12 +114,10 @@ }, "AppConfigAuthConfiguration": { "docs": undefined, + "inline": true, "properties": { "anonymous": "optional", - "google": { - "inline": true, - "type": "optional", - }, + "google": "optional", "nickname": "optional", }, "source": { @@ -129,6 +126,7 @@ }, "AppConfigAuthConfigurationGoogle": { "docs": undefined, + "inline": true, "properties": { "clientId": "string", }, @@ -139,14 +137,12 @@ "AppId": "string", "Application": { "docs": undefined, + "inline": undefined, "properties": { "appId": "string", "appName": "string", "appSecret": "string", - "authConfiguration": { - "inline": true, - "type": "ApplicationAuthConfiguration", - }, + "authConfiguration": "ApplicationAuthConfiguration", "createdAt": "datetime", "createdBy": "string", "deletedAt": "optional", @@ -159,12 +155,10 @@ }, "ApplicationAuthConfiguration": { "docs": undefined, + "inline": true, "properties": { "anonymous": "optional", - "google": { - "inline": true, - "type": "optional", - }, + "google": "optional", "nickname": "optional", }, "source": { @@ -173,6 +167,7 @@ }, "ApplicationAuthConfigurationGoogle": { "docs": undefined, + "inline": true, "properties": { "clientId": "string", }, @@ -185,6 +180,7 @@ "extends": [ "Application", ], + "inline": undefined, "properties": { "deployment": "Deployment", }, @@ -194,6 +190,7 @@ }, "Build": { "docs": undefined, + "inline": undefined, "properties": { "appId": "AppId", "buildId": "BuildId", @@ -213,6 +210,7 @@ "BuildId": "double", "BuildRegionalContainerTagsItem": { "docs": undefined, + "inline": true, "properties": { "containerTag": "string", "region": "Region", @@ -251,6 +249,7 @@ "extends": [ "DeploymentConfig", ], + "inline": undefined, "properties": { "appId": "AppId", "buildId": "BuildId", @@ -266,6 +265,7 @@ }, "DeploymentConfig": { "docs": undefined, + "inline": undefined, "properties": { "containerPort": { "type": "integer", @@ -297,6 +297,7 @@ }, "DeploymentConfigEnvItem": { "docs": undefined, + "inline": true, "properties": { "name": { "type": "string", @@ -325,6 +326,7 @@ "DiscoveryResponse": "list", "DiscoveryResponseItem": { "docs": undefined, + "inline": undefined, "properties": { "host": "string", "port": "double", @@ -336,6 +338,7 @@ }, "Lobby": { "docs": undefined, + "inline": undefined, "properties": { "appId": "AppId", "createdAt": "datetime", @@ -374,6 +377,7 @@ }, "MetricValue": { "docs": undefined, + "inline": undefined, "properties": { "timestamp": "double", "value": "double", @@ -390,6 +394,7 @@ "OrgId": "string", "PickRoomExcludeKeyofRoomAllocations": { "docs": "From T, pick a set of properties whose keys are in the union K", + "inline": undefined, "properties": { "appId": "AppId", "currentAllocation": "optional", @@ -413,6 +418,7 @@ }, "Process": { "docs": undefined, + "inline": undefined, "properties": { "activeConnections": "double", "appId": "AppId", @@ -441,6 +447,7 @@ "extends": [ "Process", ], + "inline": undefined, "properties": { "rooms": "list", "totalRooms": "double", @@ -451,6 +458,7 @@ }, "RecordPartialMetricNameMetricValueArray": { "docs": "Construct a type with a set of properties K of type T", + "inline": undefined, "properties": { "cpu": "optional>", "memory": "optional>", @@ -463,6 +471,7 @@ }, "RecordStringNever": { "docs": "Construct a type with a set of properties K of type T", + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.json", @@ -487,6 +496,7 @@ }, "Room": { "docs": undefined, + "inline": undefined, "properties": { "allocations": "list", "appId": "AppId", @@ -500,6 +510,7 @@ }, "RoomAllocation": { "docs": undefined, + "inline": undefined, "properties": { "processId": "ProcessId", "roomAllocationId": "RoomAllocationId", @@ -526,6 +537,7 @@ "RoomWithoutAllocations": "OmitRoomAllocations", "StartingConnectionInfo": { "docs": undefined, + "inline": undefined, "properties": { "roomId": "RoomId", }, @@ -604,15 +616,15 @@ types: clientId: string source: openapi: ../openapi.json + inline: true ApplicationAuthConfiguration: properties: - google: - type: optional - inline: true + google: optional nickname: optional anonymous: optional source: openapi: ../openapi.json + inline: true Application: properties: deletedBy: optional @@ -620,9 +632,7 @@ types: createdAt: datetime createdBy: string orgId: OrgId - authConfiguration: - type: ApplicationAuthConfiguration - inline: true + authConfiguration: ApplicationAuthConfiguration appSecret: string appId: string appName: string @@ -657,6 +667,7 @@ types: maxLength: 100 source: openapi: ../openapi.json + inline: true DeploymentConfig: properties: env: list @@ -702,20 +713,18 @@ types: clientId: string source: openapi: ../openapi.json + inline: true AppConfigAuthConfiguration: properties: - google: - type: optional - inline: true + google: optional nickname: optional anonymous: optional source: openapi: ../openapi.json + inline: true AppConfig: properties: - authConfiguration: - type: AppConfigAuthConfiguration - inline: true + authConfiguration: AppConfigAuthConfiguration appName: type: string validation: @@ -743,6 +752,7 @@ types: region: Region source: openapi: ../openapi.json + inline: true BuildStatus: enum: - created @@ -1458,6 +1468,7 @@ service: "types": { "LoginAnonymousResponse": { "docs": undefined, + "inline": undefined, "properties": { "token": "string", }, @@ -1467,6 +1478,7 @@ service: }, "LoginGoogleResponse": { "docs": undefined, + "inline": undefined, "properties": { "token": "string", }, @@ -1476,6 +1488,7 @@ service: }, "LoginNicknameResponse": { "docs": undefined, + "inline": undefined, "properties": { "token": "string", }, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/hookdeck.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/hookdeck.json index f26e543a803..4fbbe7da936 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/hookdeck.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/hookdeck.json @@ -58,6 +58,7 @@ "types": { "AlertRule": { "docs": undefined, + "inline": undefined, "properties": { "strategy": "AlertStrategy", }, @@ -77,15 +78,13 @@ }, "ApiErrorResponse": { "docs": "Error response model", + "inline": undefined, "properties": { "code": { "docs": "Error code", "type": "string", }, - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", "message": { "docs": "Error description", "type": "string", @@ -101,6 +100,7 @@ }, "ApiErrorResponseData": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -108,6 +108,7 @@ }, "ApiKeyIntegrationConfigs": { "docs": undefined, + "inline": undefined, "properties": { "api_key": "string", "header_key": "string", @@ -118,6 +119,7 @@ }, "AttachedIntegrationToSource": { "docs": undefined, + "inline": undefined, "properties": { "success": "boolean", }, @@ -191,6 +193,7 @@ }, "BasicAuthIntegrationConfigs": { "docs": undefined, + "inline": undefined, "properties": { "name": "string", "password": "string", @@ -201,6 +204,7 @@ }, "BatchOperation": { "docs": undefined, + "inline": undefined, "properties": { "cancelled_at": { "docs": "Date the bulk retry was cancelled", @@ -266,6 +270,7 @@ }, "BatchOperationPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -277,6 +282,7 @@ }, "BatchOperationPlan": { "docs": undefined, + "inline": undefined, "properties": { "estimated_batch": { "docs": "Number of batches required to complete the bulk retry", @@ -299,6 +305,7 @@ "discriminated": false, "docs": "Query object to filter records", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -309,6 +316,7 @@ }, "Bookmark": { "docs": undefined, + "inline": undefined, "properties": { "alias": { "docs": "Alternate alias for the bookmark", @@ -354,6 +362,7 @@ }, "BookmarkPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -365,6 +374,7 @@ }, "Connection": { "docs": undefined, + "inline": undefined, "properties": { "archived_at": { "docs": "Date the connection was archived", @@ -414,6 +424,7 @@ "discriminated": false, "docs": "JSON using our filter syntax to filter on request headers", "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -426,6 +437,7 @@ }, "ConnectionFilterPropertyThree": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -433,6 +445,7 @@ }, "ConnectionPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -444,6 +457,7 @@ }, "ConsoleLine": { "docs": undefined, + "inline": undefined, "properties": { "message": "string", "type": "ConsoleLineType", @@ -466,6 +480,7 @@ }, "DelayRule": { "docs": undefined, + "inline": undefined, "properties": { "delay": { "docs": "Delay to introduce in MS", @@ -478,6 +493,7 @@ }, "DeletedBookmarkResponse": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "Bookmark ID", @@ -490,6 +506,7 @@ }, "DeletedIntegration": { "docs": undefined, + "inline": undefined, "properties": { "id": "string", }, @@ -499,6 +516,7 @@ }, "DeletedIssueTriggerResponse": { "docs": undefined, + "inline": undefined, "properties": { "id": "string", }, @@ -508,6 +526,7 @@ }, "DeliveryIssue": { "docs": "Delivery issue", + "inline": undefined, "properties": { "aggregation_keys": "DeliveryIssueAggregationKeys", "auto_resolved_at": "optional", @@ -557,6 +576,7 @@ }, "DeliveryIssueAggregationKeys": { "docs": "Keys used as the aggregation keys a 'delivery' type issue", + "inline": undefined, "properties": { "error_code": "list", "response_status": "list", @@ -568,6 +588,7 @@ }, "DeliveryIssueData": { "docs": "Delivery issue data", + "inline": undefined, "properties": { "trigger_attempt": "optional", "trigger_event": "optional", @@ -578,6 +599,7 @@ }, "DeliveryIssueReference": { "docs": "Reference to the event and attempt an issue is being created for.", + "inline": undefined, "properties": { "attempt_id": "string", "event_id": "string", @@ -588,6 +610,7 @@ }, "DeliveryIssueWithData": { "docs": "Delivery issue", + "inline": undefined, "properties": { "aggregation_keys": "DeliveryIssueAggregationKeys", "auto_resolved_at": "optional", @@ -638,6 +661,7 @@ }, "Destination": { "docs": "Associated [Destination](#destination-object) object", + "inline": undefined, "properties": { "archived_at": { "docs": "Date the destination was archived", @@ -684,6 +708,7 @@ }, "DestinationPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -707,6 +732,7 @@ }, "DetachedIntegrationFromSource": { "docs": undefined, + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -714,6 +740,7 @@ }, "Event": { "docs": undefined, + "inline": undefined, "properties": { "attempts": { "docs": "Number of delivery attempts made", @@ -787,6 +814,7 @@ "EventArray": "list", "EventAttempt": { "docs": undefined, + "inline": undefined, "properties": { "archived_at": { "docs": "Date the attempt was archived", @@ -798,7 +826,6 @@ }, "body": { "docs": "Response body from the destination", - "inline": true, "type": "optional", }, "bulk_retry_id": { @@ -865,6 +892,7 @@ }, "EventAttemptBody": { "docs": "Response body from the destination", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -872,6 +900,7 @@ }, "EventAttemptPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>>", @@ -883,6 +912,7 @@ }, "EventData": { "docs": undefined, + "inline": true, "properties": { "body": "optional", "headers": "optional", @@ -899,6 +929,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -910,6 +941,7 @@ }, "EventDataBodyOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -919,6 +951,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -931,6 +964,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -941,6 +975,7 @@ }, "EventDataParsedQueryOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -948,6 +983,7 @@ }, "EventPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -971,6 +1007,7 @@ }, "FilterRule": { "docs": undefined, + "inline": undefined, "properties": { "body": "optional", "headers": "optional", @@ -994,6 +1031,7 @@ }, "HandledHmacConfigs": { "docs": undefined, + "inline": undefined, "properties": { "webhook_secret_key": "string", }, @@ -1014,6 +1052,7 @@ }, "HmacIntegrationConfigs": { "docs": undefined, + "inline": undefined, "properties": { "algorithm": "HmacAlgorithms", "encoding": "HmacIntegrationConfigsEncoding", @@ -1035,6 +1074,7 @@ }, "IgnoredEvent": { "docs": undefined, + "inline": undefined, "properties": { "cause": "IgnoredEventCause", "created_at": "datetime", @@ -1064,6 +1104,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1074,6 +1115,7 @@ }, "IgnoredEventPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -1085,6 +1127,7 @@ }, "Integration": { "docs": undefined, + "inline": undefined, "properties": { "configs": { "docs": "Decrypted Key/Value object of the associated configuration for that provider", @@ -1128,6 +1171,7 @@ "discriminated": false, "docs": "Decrypted Key/Value object of the associated configuration for that provider", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1151,6 +1195,7 @@ }, "IntegrationPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -1210,6 +1255,7 @@ }, "IssueCount": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "Number of issues", @@ -1234,6 +1280,7 @@ }, "IssueTrigger": { "docs": undefined, + "inline": undefined, "properties": { "channels": "optional", "configs": "IssueTriggerReference", @@ -1273,6 +1320,7 @@ }, "IssueTriggerBackpressureConfigs": { "docs": "Configurations for a 'Backpressure' issue trigger", + "inline": undefined, "properties": { "delay": "IssueTriggerBackpressureDelay", "destinations": { @@ -1288,6 +1336,7 @@ "discriminated": false, "docs": "A pattern to match on the destination name or array of destination IDs. Use `*` as wildcard.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1309,6 +1358,7 @@ }, "IssueTriggerChannels": { "docs": "Notification channels object for the specific channel type", + "inline": undefined, "properties": { "email": "optional", "opsgenie": "optional", @@ -1320,6 +1370,7 @@ }, "IssueTriggerDeliveryConfigs": { "docs": "Configurations for a 'delivery' issue trigger", + "inline": undefined, "properties": { "connections": { "docs": "A pattern to match on the connection name or array of connection IDs. Use `*` as wildcard.", @@ -1335,6 +1386,7 @@ "discriminated": false, "docs": "A pattern to match on the connection name or array of connection IDs. Use `*` as wildcard.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1345,6 +1397,7 @@ }, "IssueTriggerEmailChannel": { "docs": "Email channel for an issue trigger", + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -1352,6 +1405,7 @@ }, "IssueTriggerIntegrationChannel": { "docs": "Integration channel for an issue trigger", + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -1359,6 +1413,7 @@ }, "IssueTriggerPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -1372,6 +1427,7 @@ "discriminated": false, "docs": "Configuration object for the specific issue type selected", "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -1383,6 +1439,7 @@ }, "IssueTriggerSlackChannel": { "docs": "Slack channel for an issue trigger", + "inline": undefined, "properties": { "channel_name": { "docs": "Channel name", @@ -1405,6 +1462,7 @@ }, "IssueTriggerTransformationConfigs": { "docs": "Configurations for a 'Transformation' issue trigger", + "inline": undefined, "properties": { "log_level": "TransformationExecutionLogLevel", "transformations": { @@ -1420,6 +1478,7 @@ "discriminated": false, "docs": "A pattern to match on the transformation name or array of transformation IDs. Use `*` as wildcard.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1455,6 +1514,7 @@ }, "IssueWithDataPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -1475,6 +1535,7 @@ }, "RawBody": { "docs": undefined, + "inline": undefined, "properties": { "body": "string", }, @@ -1484,6 +1545,7 @@ }, "Request": { "docs": undefined, + "inline": undefined, "properties": { "cli_events_count": { "docs": "The count of CLI events created from this request", @@ -1548,6 +1610,7 @@ }, "RequestData": { "docs": undefined, + "inline": true, "properties": { "body": "optional", "headers": "optional", @@ -1564,6 +1627,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1575,6 +1639,7 @@ }, "RequestDataBodyOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -1584,6 +1649,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1596,6 +1662,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1606,6 +1673,7 @@ }, "RequestDataParsedQueryOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -1623,6 +1691,7 @@ }, "RequestPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -1650,6 +1719,7 @@ }, "RetriedEvent": { "docs": undefined, + "inline": undefined, "properties": { "attempt": "optional", "event": "Event", @@ -1660,6 +1730,7 @@ }, "RetryRequest": { "docs": undefined, + "inline": undefined, "properties": { "events": "optional>", "request": "Request", @@ -1670,6 +1741,7 @@ }, "RetryRule": { "docs": undefined, + "inline": undefined, "properties": { "count": { "docs": "Maximum number of retries to attempt", @@ -1714,6 +1786,7 @@ }, "Ruleset": { "docs": "Associated [Ruleset](#ruleset-object) object", + "inline": undefined, "properties": { "archived_at": { "docs": "Date the ruleset was archived", @@ -1754,6 +1827,7 @@ }, "RulesetPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>>", @@ -1765,6 +1839,7 @@ }, "SeekPagination": { "docs": undefined, + "inline": undefined, "properties": { "dir": "optional", "limit": "optional", @@ -1780,6 +1855,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1792,6 +1868,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1802,6 +1879,7 @@ }, "ShopifyIntegrationConfigs": { "docs": undefined, + "inline": undefined, "properties": { "api_key": "optional", "api_secret": "optional", @@ -1825,6 +1903,7 @@ }, "ShortEventData": { "docs": undefined, + "inline": undefined, "properties": { "body": "optional", "headers": "optional", @@ -1841,6 +1920,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1852,6 +1932,7 @@ }, "ShortEventDataBodyOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -1861,6 +1942,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1873,6 +1955,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1883,6 +1966,7 @@ }, "ShortEventDataParsedQueryOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -1890,6 +1974,7 @@ }, "Source": { "docs": "Associated [Source](#source-object) object", + "inline": undefined, "properties": { "archived_at": { "docs": "Date the source was archived", @@ -1934,6 +2019,7 @@ }, "SourceIntegration": { "docs": "Integration object", + "inline": true, "properties": { "features": { "docs": "List of enabled features", @@ -1955,6 +2041,7 @@ }, "SourcePaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -1966,6 +2053,7 @@ }, "ToggleWebhookNotifications": { "docs": undefined, + "inline": undefined, "properties": { "enabled": "boolean", "source_id": "string", @@ -2001,6 +2089,7 @@ }, "TransformFull": { "docs": undefined, + "inline": undefined, "properties": { "transformation": { "docs": "You can optionally define a new transformation while creating a transform rule", @@ -2021,6 +2110,7 @@ }, "TransformFullTransformation": { "docs": "You can optionally define a new transformation while creating a transform rule", + "inline": true, "properties": { "code": { "docs": "A string representation of your JavaScript (ES6) code to run", @@ -2041,6 +2131,7 @@ }, "TransformReference": { "docs": undefined, + "inline": undefined, "properties": { "transformation_id": { "docs": "ID of the attached transformation object. Optional input, always set once the rule is defined", @@ -2059,6 +2150,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -2069,6 +2161,7 @@ }, "Transformation": { "docs": undefined, + "inline": undefined, "properties": { "code": { "docs": "JavaScript code to be executed", @@ -2107,6 +2200,7 @@ }, "TransformationExecution": { "docs": undefined, + "inline": undefined, "properties": { "created_at": "datetime", "id": "string", @@ -2141,6 +2235,7 @@ }, "TransformationExecutionPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -2152,6 +2247,7 @@ }, "TransformationExecutorOutput": { "docs": undefined, + "inline": undefined, "properties": { "console": "optional>", "execution_id": "optional", @@ -2166,6 +2262,7 @@ }, "TransformationExecutorOutputRequest": { "docs": undefined, + "inline": true, "properties": { "body": "optional", "headers": "optional", @@ -2181,6 +2278,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -2191,6 +2289,7 @@ }, "TransformationExecutorOutputRequestBodyOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -2200,6 +2299,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -2212,6 +2312,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -2222,6 +2323,7 @@ }, "TransformationExecutorOutputRequestParsedQueryOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -2231,6 +2333,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -2241,6 +2344,7 @@ }, "TransformationExecutorOutputRequestQueryZero": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -2248,6 +2352,7 @@ }, "TransformationFailedMeta": { "docs": undefined, + "inline": undefined, "properties": { "transformation_id": "string", }, @@ -2257,6 +2362,7 @@ }, "TransformationIssue": { "docs": "Transformation issue", + "inline": undefined, "properties": { "aggregation_keys": "TransformationIssueAggregationKeys", "auto_resolved_at": "optional", @@ -2306,6 +2412,7 @@ }, "TransformationIssueAggregationKeys": { "docs": "Keys used as the aggregation keys a 'transformation' type issue", + "inline": undefined, "properties": { "log_level": "TransformationExecutionLogLevel", "transformation_id": "list", @@ -2316,6 +2423,7 @@ }, "TransformationIssueData": { "docs": "Transformation issue data", + "inline": undefined, "properties": { "transformation_execution": "TransformationExecution", "trigger_attempt": "optional", @@ -2326,6 +2434,7 @@ }, "TransformationIssueReference": { "docs": "Reference to the event request transformation an issue is being created for.", + "inline": undefined, "properties": { "transformation_execution_id": "string", "trigger_event_request_transformation_id": { @@ -2339,6 +2448,7 @@ }, "TransformationIssueWithData": { "docs": "Transformation issue", + "inline": undefined, "properties": { "aggregation_keys": "TransformationIssueAggregationKeys", "auto_resolved_at": "optional", @@ -2389,6 +2499,7 @@ }, "TransformationPaginatedResult": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "models": "optional>", @@ -2442,6 +2553,7 @@ types: - list source: openapi: ../openapi.yml + inline: true SeekPaginationDir: discriminated: false union: @@ -2449,6 +2561,7 @@ types: - list source: openapi: ../openapi.yml + inline: true SeekPagination: properties: order_by: optional @@ -2483,6 +2596,7 @@ types: - list source: openapi: ../openapi.yml + inline: true IssueTriggerDeliveryConfigs: docs: Configurations for a 'delivery' issue trigger properties: @@ -2514,6 +2628,7 @@ types: - list source: openapi: ../openapi.yml + inline: true IssueTriggerTransformationConfigs: docs: Configurations for a 'Transformation' issue trigger properties: @@ -2543,6 +2658,7 @@ types: - list source: openapi: ../openapi.yml + inline: true IssueTriggerBackpressureConfigs: docs: Configurations for a 'Backpressure' issue trigger properties: @@ -2628,6 +2744,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true ApiErrorResponse: docs: Error response model properties: @@ -2640,9 +2757,7 @@ types: message: type: string docs: Error description - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml DeletedIssueTriggerResponse: @@ -2707,6 +2822,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true EventAttempt: properties: id: @@ -2731,7 +2847,6 @@ types: body: type: optional docs: Response body from the destination - inline: true requested_url: type: optional docs: URL of the destination where delivery was attempted @@ -2780,6 +2895,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true ShortEventDataParsedQuery: discriminated: false union: @@ -2787,6 +2903,7 @@ types: - ShortEventDataParsedQueryOne source: openapi: ../openapi.yml + inline: true ShortEventDataHeaders: discriminated: false union: @@ -2794,10 +2911,12 @@ types: - map> source: openapi: ../openapi.yml + inline: true ShortEventDataBodyOne: properties: {} source: openapi: ../openapi.yml + inline: true ShortEventDataBody: discriminated: false union: @@ -2806,6 +2925,7 @@ types: - list source: openapi: ../openapi.yml + inline: true ShortEventData: properties: path: string @@ -2868,6 +2988,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true EventDataParsedQuery: discriminated: false union: @@ -2875,6 +2996,7 @@ types: - EventDataParsedQueryOne source: openapi: ../openapi.yml + inline: true EventDataHeaders: discriminated: false union: @@ -2882,10 +3004,12 @@ types: - map> source: openapi: ../openapi.yml + inline: true EventDataBodyOne: properties: {} source: openapi: ../openapi.yml + inline: true EventDataBody: discriminated: false union: @@ -2894,6 +3018,7 @@ types: - list source: openapi: ../openapi.yml + inline: true EventData: properties: path: string @@ -2904,6 +3029,7 @@ types: is_large_payload: optional source: openapi: ../openapi.yml + inline: true Event: properties: id: @@ -3043,6 +3169,7 @@ types: - optional source: openapi: ../openapi.yml + inline: true BatchOperation: properties: id: @@ -3214,6 +3341,7 @@ types: - ShopifyIntegrationConfigs source: openapi: ../openapi.yml + inline: true Integration: properties: id: @@ -3559,6 +3687,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true RequestDataParsedQuery: discriminated: false union: @@ -3566,6 +3695,7 @@ types: - RequestDataParsedQueryOne source: openapi: ../openapi.yml + inline: true RequestDataHeaders: discriminated: false union: @@ -3573,10 +3703,12 @@ types: - map> source: openapi: ../openapi.yml + inline: true RequestDataBodyOne: properties: {} source: openapi: ../openapi.yml + inline: true RequestDataBody: discriminated: false union: @@ -3585,6 +3717,7 @@ types: - list source: openapi: ../openapi.yml + inline: true RequestData: properties: path: string @@ -3595,6 +3728,7 @@ types: is_large_payload: optional source: openapi: ../openapi.yml + inline: true Request: properties: id: @@ -3685,6 +3819,7 @@ types: - TransformationFailedMeta source: openapi: ../openapi.yml + inline: true IgnoredEvent: properties: id: string @@ -3738,6 +3873,7 @@ types: properties: {} source: openapi: ../openapi.yml + inline: true ConnectionFilterProperty: discriminated: false docs: JSON using our filter syntax to filter on request headers @@ -3786,6 +3922,7 @@ types: your transformation code source: openapi: ../openapi.yml + inline: true TransformFull: properties: type: @@ -3879,6 +4016,7 @@ types: type: list source: openapi: ../openapi.yml + inline: true Source: docs: Associated [Source](#source-object) object properties: @@ -3979,10 +4117,12 @@ types: - map source: openapi: ../openapi.yml + inline: true TransformationExecutorOutputRequestQueryZero: properties: {} source: openapi: ../openapi.yml + inline: true TransformationExecutorOutputRequestQuery: discriminated: false union: @@ -3990,10 +4130,12 @@ types: - string source: openapi: ../openapi.yml + inline: true TransformationExecutorOutputRequestParsedQueryOne: properties: {} source: openapi: ../openapi.yml + inline: true TransformationExecutorOutputRequestParsedQuery: discriminated: false union: @@ -4001,10 +4143,12 @@ types: - TransformationExecutorOutputRequestParsedQueryOne source: openapi: ../openapi.yml + inline: true TransformationExecutorOutputRequestBodyOne: properties: {} source: openapi: ../openapi.yml + inline: true TransformationExecutorOutputRequestBody: discriminated: false union: @@ -4012,6 +4156,7 @@ types: - TransformationExecutorOutputRequestBodyOne source: openapi: ../openapi.yml + inline: true TransformationExecutorOutputRequest: properties: headers: optional @@ -4021,6 +4166,7 @@ types: body: optional source: openapi: ../openapi.yml + inline: true TransformationExecutorOutput: properties: request_id: optional @@ -5505,6 +5651,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. "types": { "CreateEventBulkRetryRequestQuery": { "docs": "Filter properties for the events to be included in the bulk retry", + "inline": true, "properties": { "attempts": { "docs": "Filter by number of attempts", @@ -5580,6 +5727,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. "discriminated": false, "docs": "Filter by number of attempts", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -5599,6 +5747,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. }, "CreateEventBulkRetryRequestQueryAttemptsAny": { "docs": undefined, + "inline": true, "properties": { "any": "optional", "contains": { @@ -5660,6 +5809,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. "discriminated": false, "docs": "URL Encoded string of the JSON to match to the data body", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -5670,6 +5820,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. }, "CreateEventBulkRetryRequestQueryBodyOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -5679,6 +5830,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -5699,6 +5851,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. "discriminated": false, "docs": "Filter by CLI IDs. `?[any]=true` operator for any CLI.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -5710,6 +5863,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. }, "CreateEventBulkRetryRequestQueryCliIdAny": { "docs": undefined, + "inline": true, "properties": { "any": "optional", }, @@ -5721,6 +5875,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -5733,6 +5888,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. "discriminated": false, "docs": "Filter by `created_at` date using a date operator", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -5743,6 +5899,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. }, "CreateEventBulkRetryRequestQueryCreatedAtAny": { "docs": undefined, + "inline": true, "properties": { "any": "optional", "gt": "optional", @@ -5758,6 +5915,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. "discriminated": false, "docs": "Filter by destination IDs", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -5779,6 +5937,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -5799,6 +5958,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -5819,6 +5979,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. "discriminated": false, "docs": "URL Encoded string of the JSON to match to the data headers", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -5829,6 +5990,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. }, "CreateEventBulkRetryRequestQueryHeadersOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -5838,6 +6000,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. "discriminated": false, "docs": "Filter by event IDs", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -5859,6 +6022,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -5879,6 +6043,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. "discriminated": false, "docs": "Filter by `last_attempt_at` date using a date operator", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -5889,6 +6054,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. }, "CreateEventBulkRetryRequestQueryLastAttemptAtAny": { "docs": undefined, + "inline": true, "properties": { "any": "optional", "gt": "optional", @@ -5904,6 +6070,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. "discriminated": false, "docs": "URL Encoded string of the JSON to match to the parsed query (JSON representation of the query)", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -5914,6 +6081,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. }, "CreateEventBulkRetryRequestQueryParsedQueryOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -5923,6 +6091,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. "discriminated": false, "docs": "Filter by HTTP response status code", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -5943,6 +6112,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. }, "CreateEventBulkRetryRequestQueryResponseStatusAny": { "docs": undefined, + "inline": true, "properties": { "any": "optional", "contains": { @@ -6004,6 +6174,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. "discriminated": false, "docs": "Filter by source IDs", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -6025,6 +6196,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. "discriminated": false, "docs": "Lifecyle status of the event", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -6037,6 +6209,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. "discriminated": false, "docs": "Filter by `successful_at` date using a date operator", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -6047,6 +6220,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. }, "CreateEventBulkRetryRequestQuerySuccessfulAtAny": { "docs": undefined, + "inline": true, "properties": { "any": "optional", "gt": "optional", @@ -6062,6 +6236,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. "discriminated": false, "docs": "Filter by webhook connection IDs", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -6111,6 +6286,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. - list source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQueryStatus: discriminated: false docs: Lifecyle status of the event @@ -6119,6 +6295,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. - list source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQueryIssueId: discriminated: false union: @@ -6128,6 +6305,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. - list source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQueryWebhookId: discriminated: false docs: Filter by webhook connection IDs @@ -6139,6 +6317,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. - list source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQueryDestinationId: discriminated: false docs: Filter by destination IDs @@ -6150,6 +6329,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. - list source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQuerySourceId: discriminated: false docs: Filter by source IDs @@ -6161,6 +6341,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. - list source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQueryAttemptsAny: properties: gt: @@ -6186,6 +6367,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. min: 0 source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQueryAttempts: discriminated: false docs: Filter by number of attempts @@ -6196,6 +6378,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. - CreateEventBulkRetryRequestQueryAttemptsAny source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQueryResponseStatusAny: properties: gt: @@ -6226,6 +6409,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. max: 600 source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQueryResponseStatus: discriminated: false docs: Filter by HTTP response status code @@ -6238,6 +6422,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. - list source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQuerySuccessfulAtAny: properties: gt: optional @@ -6247,6 +6432,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. any: optional source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQuerySuccessfulAt: discriminated: false docs: Filter by `successful_at` date using a date operator @@ -6255,6 +6441,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. - CreateEventBulkRetryRequestQuerySuccessfulAtAny source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQueryCreatedAtAny: properties: gt: optional @@ -6264,6 +6451,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. any: optional source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQueryCreatedAt: discriminated: false docs: Filter by `created_at` date using a date operator @@ -6272,6 +6460,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. - CreateEventBulkRetryRequestQueryCreatedAtAny source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQueryErrorCode: discriminated: false union: @@ -6281,11 +6470,13 @@ docs: A bookmark lets you conveniently store and replay a specific request. - list source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQueryCliIdAny: properties: any: optional source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQueryCliId: discriminated: false docs: Filter by CLI IDs. `?[any]=true` operator for any CLI. @@ -6295,6 +6486,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. - list source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQueryCliUserId: discriminated: false union: @@ -6302,6 +6494,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. - list source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQueryLastAttemptAtAny: properties: gt: optional @@ -6311,6 +6504,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. any: optional source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQueryLastAttemptAt: discriminated: false docs: Filter by `last_attempt_at` date using a date operator @@ -6319,6 +6513,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. - CreateEventBulkRetryRequestQueryLastAttemptAtAny source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQueryEventDataId: discriminated: false union: @@ -6328,10 +6523,12 @@ docs: A bookmark lets you conveniently store and replay a specific request. - list source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQueryHeadersOne: properties: {} source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQueryHeaders: discriminated: false docs: URL Encoded string of the JSON to match to the data headers @@ -6340,10 +6537,12 @@ docs: A bookmark lets you conveniently store and replay a specific request. - CreateEventBulkRetryRequestQueryHeadersOne source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQueryBodyOne: properties: {} source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQueryBody: discriminated: false docs: URL Encoded string of the JSON to match to the data body @@ -6352,10 +6551,12 @@ docs: A bookmark lets you conveniently store and replay a specific request. - CreateEventBulkRetryRequestQueryBodyOne source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQueryParsedQueryOne: properties: {} source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQueryParsedQuery: discriminated: false docs: >- @@ -6366,6 +6567,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. - CreateEventBulkRetryRequestQueryParsedQueryOne source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQueryBulkRetryId: discriminated: false union: @@ -6375,6 +6577,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. - list source: openapi: ../openapi.yml + inline: true CreateEventBulkRetryRequestQuery: docs: Filter properties for the events to be included in the bulk retry properties: @@ -6432,6 +6635,7 @@ docs: A bookmark lets you conveniently store and replay a specific request. docs: URL Encoded string of the string to match partially to the path source: openapi: ../openapi.yml + inline: true imports: root: __package__.yml service: @@ -6928,6 +7132,7 @@ docs: '' "types": { "CreateIgnoredEventBulkRetryRequestQuery": { "docs": "Filter by the bulk retry ignored event query object", + "inline": true, "properties": { "cause": { "docs": "The cause of the ignored event", @@ -6956,6 +7161,7 @@ docs: '' "discriminated": false, "docs": "The cause of the ignored event", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -6976,6 +7182,7 @@ docs: '' "discriminated": false, "docs": "Connection ID of the ignored event", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -7023,6 +7230,7 @@ docs: '' - list source: openapi: ../openapi.yml + inline: true CreateIgnoredEventBulkRetryRequestQueryWebhookId: discriminated: false docs: Connection ID of the ignored event @@ -7033,6 +7241,7 @@ docs: '' - list source: openapi: ../openapi.yml + inline: true CreateIgnoredEventBulkRetryRequestQuery: docs: Filter by the bulk retry ignored event query object properties: @@ -7051,6 +7260,7 @@ docs: '' maxLength: 255 source: openapi: ../openapi.yml + inline: true imports: root: __package__.yml service: @@ -7545,6 +7755,7 @@ docs: '' "types": { "CreateRequestBulkRetryRequestQuery": { "docs": "Filter properties for the events to be included in the bulk retry, use query parameters of [Requests](#requests)", + "inline": true, "properties": { "body": { "docs": "URL Encoded string of the JSON to match to the data body", @@ -7593,6 +7804,7 @@ docs: '' "discriminated": false, "docs": "URL Encoded string of the JSON to match to the data body", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -7603,6 +7815,7 @@ docs: '' }, "CreateRequestBulkRetryRequestQueryBodyOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -7612,6 +7825,7 @@ docs: '' "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -7632,6 +7846,7 @@ docs: '' "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -7642,6 +7857,7 @@ docs: '' }, "CreateRequestBulkRetryRequestQueryCreatedAtAny": { "docs": undefined, + "inline": true, "properties": { "any": "optional", "gt": "optional", @@ -7657,6 +7873,7 @@ docs: '' "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -7677,6 +7894,7 @@ docs: '' }, "CreateRequestBulkRetryRequestQueryEventsCountAny": { "docs": undefined, + "inline": true, "properties": { "any": "optional", "contains": { @@ -7738,6 +7956,7 @@ docs: '' "discriminated": false, "docs": "URL Encoded string of the JSON to match to the data headers", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -7748,6 +7967,7 @@ docs: '' }, "CreateRequestBulkRetryRequestQueryHeadersOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -7757,6 +7977,7 @@ docs: '' "discriminated": false, "docs": "Filter by requests IDs", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -7778,6 +7999,7 @@ docs: '' "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -7798,6 +8020,7 @@ docs: '' }, "CreateRequestBulkRetryRequestQueryIgnoredCountAny": { "docs": undefined, + "inline": true, "properties": { "any": "optional", "contains": { @@ -7859,6 +8082,7 @@ docs: '' "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -7869,6 +8093,7 @@ docs: '' }, "CreateRequestBulkRetryRequestQueryIngestedAtAny": { "docs": undefined, + "inline": true, "properties": { "any": "optional", "gt": "optional", @@ -7884,6 +8109,7 @@ docs: '' "discriminated": false, "docs": "URL Encoded string of the JSON to match to the parsed query (JSON representation of the query)", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -7894,6 +8120,7 @@ docs: '' }, "CreateRequestBulkRetryRequestQueryParsedQueryOne": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -7903,6 +8130,7 @@ docs: '' "discriminated": false, "docs": "Filter by rejection cause", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -7914,6 +8142,7 @@ docs: '' }, "CreateRequestBulkRetryRequestQueryRejectionCauseAny": { "docs": undefined, + "inline": true, "properties": { "any": "optional", "contains": "optional", @@ -7930,6 +8159,7 @@ docs: '' "discriminated": false, "docs": "Filter by source IDs", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -7988,6 +8218,7 @@ docs: '' - list source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryStatus: enum: - accepted @@ -8004,6 +8235,7 @@ docs: '' contains: optional source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryRejectionCause: discriminated: false docs: Filter by rejection cause @@ -8013,6 +8245,7 @@ docs: '' - list source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryIgnoredCountAny: properties: gt: @@ -8038,6 +8271,7 @@ docs: '' min: 0 source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryIgnoredCount: discriminated: false union: @@ -8048,6 +8282,7 @@ docs: '' - list source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryEventsCountAny: properties: gt: @@ -8073,6 +8308,7 @@ docs: '' min: 0 source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryEventsCount: discriminated: false union: @@ -8083,6 +8319,7 @@ docs: '' - list source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQuerySourceId: discriminated: false docs: Filter by source IDs @@ -8094,10 +8331,12 @@ docs: '' - list source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryHeadersOne: properties: {} source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryHeaders: discriminated: false docs: URL Encoded string of the JSON to match to the data headers @@ -8106,10 +8345,12 @@ docs: '' - CreateRequestBulkRetryRequestQueryHeadersOne source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryBodyOne: properties: {} source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryBody: discriminated: false docs: URL Encoded string of the JSON to match to the data body @@ -8118,10 +8359,12 @@ docs: '' - CreateRequestBulkRetryRequestQueryBodyOne source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryParsedQueryOne: properties: {} source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryParsedQuery: discriminated: false docs: >- @@ -8132,6 +8375,7 @@ docs: '' - CreateRequestBulkRetryRequestQueryParsedQueryOne source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryCreatedAtAny: properties: gt: optional @@ -8141,6 +8385,7 @@ docs: '' any: optional source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryCreatedAt: discriminated: false union: @@ -8148,6 +8393,7 @@ docs: '' - CreateRequestBulkRetryRequestQueryCreatedAtAny source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryIngestedAtAny: properties: gt: optional @@ -8157,6 +8403,7 @@ docs: '' any: optional source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryIngestedAt: discriminated: false union: @@ -8164,6 +8411,7 @@ docs: '' - CreateRequestBulkRetryRequestQueryIngestedAtAny source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQueryBulkRetryId: discriminated: false union: @@ -8173,6 +8421,7 @@ docs: '' - list source: openapi: ../openapi.yml + inline: true CreateRequestBulkRetryRequestQuery: docs: >- Filter properties for the events to be included in the bulk retry, use @@ -8212,6 +8461,7 @@ docs: '' bulk_retry_id: optional source: openapi: ../openapi.yml + inline: true imports: root: __package__.yml service: @@ -9519,6 +9769,7 @@ docs: '' "types": { "CreateConnectionRequestDestination": { "docs": "Destination input object", + "inline": true, "properties": { "cli_path": { "docs": "Path for the CLI destination", @@ -9565,6 +9816,7 @@ docs: '' }, "CreateConnectionRequestRuleset": { "docs": "Ruleset input object", + "inline": true, "properties": { "is_team_default": "optional", "name": { @@ -9588,6 +9840,7 @@ docs: '' }, "CreateConnectionRequestSource": { "docs": "Source input object", + "inline": true, "properties": { "name": { "docs": "A unique name for the source", @@ -9617,6 +9870,7 @@ docs: '' }, "UpdateConnectionRequestRuleset": { "docs": "Ruleset input object", + "inline": true, "properties": { "is_team_default": "optional", "name": { @@ -9640,6 +9894,7 @@ docs: '' }, "UpsertConnectionRequestDestination": { "docs": "Destination input object", + "inline": true, "properties": { "cli_path": { "docs": "Path for the CLI destination", @@ -9686,6 +9941,7 @@ docs: '' }, "UpsertConnectionRequestRuleset": { "docs": "Ruleset input object", + "inline": true, "properties": { "is_team_default": "optional", "name": { @@ -9709,6 +9965,7 @@ docs: '' }, "UpsertConnectionRequestSource": { "docs": "Source input object", + "inline": true, "properties": { "name": { "docs": "A unique name for the source", @@ -9767,6 +10024,7 @@ docs: '' path_forwarding_disabled: optional source: openapi: ../openapi.yml + inline: true CreateConnectionRequestSource: docs: Source input object properties: @@ -9778,6 +10036,7 @@ docs: '' maxLength: 155 source: openapi: ../openapi.yml + inline: true CreateConnectionRequestRuleset: docs: Ruleset input object properties: @@ -9793,6 +10052,7 @@ docs: '' is_team_default: optional source: openapi: ../openapi.yml + inline: true UpsertConnectionRequestDestinationRateLimitPeriod: enum: - second @@ -9825,6 +10085,7 @@ docs: '' path_forwarding_disabled: optional source: openapi: ../openapi.yml + inline: true UpsertConnectionRequestSource: docs: Source input object properties: @@ -9836,6 +10097,7 @@ docs: '' maxLength: 155 source: openapi: ../openapi.yml + inline: true UpsertConnectionRequestRuleset: docs: Ruleset input object properties: @@ -9851,6 +10113,7 @@ docs: '' is_team_default: optional source: openapi: ../openapi.yml + inline: true UpdateConnectionRequestRuleset: docs: Ruleset input object properties: @@ -9866,6 +10129,7 @@ docs: '' is_team_default: optional source: openapi: ../openapi.yml + inline: true imports: root: __package__.yml service: @@ -12660,6 +12924,7 @@ docs: An event is any request that Hookdeck receives from a source. "discriminated": false, "docs": "Decrypted Key/Value object of the associated configuration for that provider", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -12675,6 +12940,7 @@ docs: An event is any request that Hookdeck receives from a source. "discriminated": false, "docs": "Decrypted Key/Value object of the associated configuration for that provider", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -12976,6 +13242,7 @@ types: - root.ShopifyIntegrationConfigs source: openapi: ../openapi.yml + inline: true UpdateIntegrationRequestConfigs: discriminated: false docs: >- @@ -12989,6 +13256,7 @@ types: - root.ShopifyIntegrationConfigs source: openapi: ../openapi.yml + inline: true ", }, "issueTriggers.yml": { @@ -13487,6 +13755,7 @@ types: "discriminated": false, "docs": "Configuration object for the specific issue type selected", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -13512,6 +13781,7 @@ types: "discriminated": false, "docs": "Configuration object for the specific issue type selected", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -13525,6 +13795,7 @@ types: "discriminated": false, "docs": "Configuration object for the specific issue type selected", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -13556,6 +13827,7 @@ types: - root.IssueTriggerBackpressureConfigs source: openapi: ../openapi.yml + inline: true UpsertIssueTriggerRequestConfigs: discriminated: false docs: Configuration object for the specific issue type selected @@ -13565,6 +13837,7 @@ types: - root.IssueTriggerBackpressureConfigs source: openapi: ../openapi.yml + inline: true UpdateIssueTriggerRequestConfigs: discriminated: false docs: Configuration object for the specific issue type selected @@ -13574,6 +13847,7 @@ types: - root.IssueTriggerBackpressureConfigs source: openapi: ../openapi.yml + inline: true service: auth: false base-path: '' @@ -18092,6 +18366,7 @@ docs: A source represents any third party that sends webhooks to Hookdeck. "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -18133,6 +18408,7 @@ docs: A source represents any third party that sends webhooks to Hookdeck. }, "TestTransformationRequestEnv": { "docs": "Key-value environment variables to be passed to the transformation", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -18140,6 +18416,7 @@ docs: A source represents any third party that sends webhooks to Hookdeck. }, "TestTransformationRequestRequest": { "docs": "Request input to use for the transformation execution", + "inline": true, "properties": { "body": { "docs": "Body of the request", @@ -18170,6 +18447,7 @@ docs: A source represents any third party that sends webhooks to Hookdeck. "discriminated": false, "docs": "Body of the request", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -18180,6 +18458,7 @@ docs: A source represents any third party that sends webhooks to Hookdeck. }, "TestTransformationRequestRequestBodyZero": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -18187,6 +18466,7 @@ docs: A source represents any third party that sends webhooks to Hookdeck. }, "TestTransformationRequestRequestParsedQuery": { "docs": "JSON representation of the query params", + "inline": true, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -18196,6 +18476,7 @@ docs: A source represents any third party that sends webhooks to Hookdeck. "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -18208,6 +18489,7 @@ docs: A source represents any third party that sends webhooks to Hookdeck. "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -18233,6 +18515,7 @@ docs: A source represents any third party that sends webhooks to Hookdeck. - float source: openapi: ../openapi.yml + inline: true UpsertTransformationRequestEnvValue: discriminated: false union: @@ -18240,6 +18523,7 @@ docs: A source represents any third party that sends webhooks to Hookdeck. - float source: openapi: ../openapi.yml + inline: true UpdateTransformationRequestEnvValue: discriminated: false union: @@ -18247,15 +18531,18 @@ docs: A source represents any third party that sends webhooks to Hookdeck. - float source: openapi: ../openapi.yml + inline: true TestTransformationRequestEnv: docs: Key-value environment variables to be passed to the transformation properties: {} source: openapi: ../openapi.yml + inline: true TestTransformationRequestRequestBodyZero: properties: {} source: openapi: ../openapi.yml + inline: true TestTransformationRequestRequestBody: discriminated: false docs: Body of the request @@ -18264,11 +18551,13 @@ docs: A source represents any third party that sends webhooks to Hookdeck. - string source: openapi: ../openapi.yml + inline: true TestTransformationRequestRequestParsedQuery: docs: JSON representation of the query params properties: {} source: openapi: ../openapi.yml + inline: true TestTransformationRequestRequest: docs: Request input to use for the transformation execution properties: @@ -18289,6 +18578,7 @@ docs: A source represents any third party that sends webhooks to Hookdeck. docs: JSON representation of the query params source: openapi: ../openapi.yml + inline: true GetTransformationExecutionsRequestLogLevel: enum: - debug diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/humanloop.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/humanloop.json index b49c6b7c15f..0b640f69072 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/humanloop.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/humanloop.json @@ -22,6 +22,7 @@ "types": { "AgentConfigResponse": { "docs": undefined, + "inline": undefined, "properties": { "agent_class": { "docs": "Class of the agent.", @@ -67,6 +68,7 @@ "BooleanEvaluatorVersionStats": { "docs": "Base attributes for stats for an Evaluator Version-Evaluated Version pair in the Evaluation Report.", + "inline": undefined, "properties": { "evaluator_version_id": { "docs": "Unique identifier for the Evaluator Version.", @@ -103,6 +105,7 @@ in the Evaluation Report.", }, "CategoricalFeedbackLabel": { "docs": undefined, + "inline": undefined, "properties": { "sentiment": { "docs": "Whether the feedback sentiment is positive or negative.", @@ -120,6 +123,7 @@ in the Evaluation Report.", }, "ChatMessage": { "docs": undefined, + "inline": undefined, "properties": { "content": { "docs": "The content of the message.", @@ -166,6 +170,7 @@ in the Evaluation Report.", }, "ChatMessageWithToolCall": { "docs": undefined, + "inline": undefined, "properties": { "content": { "docs": "The content of the message.", @@ -182,7 +187,6 @@ in the Evaluation Report.", "tool_call": { "availability": "deprecated", "docs": "NB: Deprecated in favour of tool_calls. A tool call requested by the assistant.", - "inline": undefined, "type": "optional", }, "tool_call_id": { @@ -230,6 +234,7 @@ in the Evaluation Report.", }, "CodeEvaluatorRequest": { "docs": undefined, + "inline": undefined, "properties": { "arguments_type": { "docs": "Whether this evaluator is target-free or target-required.", @@ -250,6 +255,7 @@ in the Evaluation Report.", }, "CommitRequest": { "docs": undefined, + "inline": undefined, "properties": { "commit_message": { "docs": "Message describing the changes made.", @@ -291,6 +297,7 @@ in the Evaluation Report.", "discriminated": false, "docs": "The content of the message.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -301,6 +308,7 @@ in the Evaluation Report.", }, "CreateDatapointRequest": { "docs": undefined, + "inline": undefined, "properties": { "inputs": { "docs": "The inputs to the prompt template.", @@ -323,6 +331,7 @@ in the Evaluation Report.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -341,6 +350,7 @@ in the Evaluation Report.", Evaluation benchmark your Prompt/Tool Versions. With the Datapoints in a Dataset Version, Logs corresponding to the Datapoint and each Evaluated Version are evaluated by the specified Evaluator Versions. Aggregated statistics are then calculated and presented in the Evaluation.", + "inline": undefined, "properties": { "dataset": { "docs": "The Dataset Version to use in this Evaluation.", @@ -361,6 +371,7 @@ Aggregated statistics are then calculated and presented in the Evaluation.", }, "CreatePromptLogResponse": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "String ID of log.", @@ -385,6 +396,7 @@ Aggregated statistics are then calculated and presented in the Evaluation.", }, "CreateToolLogResponse": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "String ID of log.", @@ -409,6 +421,7 @@ Aggregated statistics are then calculated and presented in the Evaluation.", }, "DashboardConfiguration": { "docs": undefined, + "inline": undefined, "properties": { "model_config_ids": { "type": "list", @@ -424,6 +437,7 @@ Aggregated statistics are then calculated and presented in the Evaluation.", }, "DatapointResponse": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "Unique identifier for the Datapoint. Starts with `dp_`.", @@ -450,6 +464,7 @@ Aggregated statistics are then calculated and presented in the Evaluation.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -464,6 +479,7 @@ Aggregated statistics are then calculated and presented in the Evaluation.", }, "DatasetRequest": { "docs": undefined, + "inline": undefined, "properties": { "version_id": { "docs": "Unique identifier for the Dataset Version to use in this evaluation. Starts with `dsv_`.", @@ -479,6 +495,7 @@ Aggregated statistics are then calculated and presented in the Evaluation.", Attributes defined here are common to all File Responses and should be overridden in the inheriting classes with documentation and appropriate Field definitions.", + "inline": undefined, "properties": { "commit_message": { "docs": "Message describing the changes made. If provided, a committed version of the Dataset is created. Otherwise, an uncommitted version is created.", @@ -532,6 +549,7 @@ in the inheriting classes with documentation and appropriate Field definitions." }, "EnvironmentResponse": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "type": "datetime", @@ -560,6 +578,7 @@ in the inheriting classes with documentation and appropriate Field definitions." "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -574,6 +593,7 @@ in the inheriting classes with documentation and appropriate Field definitions." }, "EvaluateeRequest": { "docs": undefined, + "inline": undefined, "properties": { "batch_id": { "docs": "Unique identifier for the batch of Logs to include in the Evaluation Report.", @@ -595,6 +615,7 @@ in the inheriting classes with documentation and appropriate Field definitions." }, "EvaluateeResponse": { "docs": undefined, + "inline": undefined, "properties": { "batch_id": { "docs": "Unique identifier for the batch of Logs to include in the Evaluation Report. ", @@ -616,6 +637,7 @@ in the inheriting classes with documentation and appropriate Field definitions." "docs": "This is similar to an `EvaluationResult` but is ephemeral as it is only for synchronous debug runs. It does not have an ID, or a reference to an evaluation run or even an evaluation function.", + "inline": undefined, "properties": { "datapoint_id": { "type": "optional", @@ -640,6 +662,7 @@ function.", }, "EvaluationEvaluatorResponse": { "docs": undefined, + "inline": undefined, "properties": { "orchestrated": { "docs": "Whether the Evaluator is orchestrated by Humanloop. Default is `True`. If `False`, a log for the Evaluator should be submitted by the user via the API.", @@ -655,6 +678,7 @@ function.", }, "EvaluationResponse": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "type": "datetime", @@ -698,6 +722,7 @@ function.", }, "EvaluationResultResponse": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "type": "datetime", @@ -737,6 +762,7 @@ function.", }, "EvaluationStats": { "docs": undefined, + "inline": undefined, "properties": { "overall_stats": { "docs": "Stats for the Evaluation Report as a whole.", @@ -766,6 +792,7 @@ function.", }, "EvaluatorActivationDeactivationRequest": { "docs": undefined, + "inline": undefined, "properties": { "evaluators_to_activate": { "docs": "Monitoring Evaluators to activate. These will be automatically run on new Logs.", @@ -784,6 +811,7 @@ function.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -800,6 +828,7 @@ function.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -824,6 +853,7 @@ function.", }, "EvaluatorConfigResponse": { "docs": undefined, + "inline": undefined, "properties": { "arguments_type": { "docs": "Whether this evaluator is target-free or target-required.", @@ -876,6 +906,7 @@ function.", }, "EvaluatorRequest": { "docs": undefined, + "inline": undefined, "properties": { "orchestrated": { "default": true, @@ -893,6 +924,7 @@ function.", }, "EvaluatorResponse": { "docs": "Request model for creating a new Evaluator", + "inline": undefined, "properties": { "commit_message": { "docs": "Message describing the changes made.", @@ -990,6 +1022,7 @@ function.", }, "FeedbackResponse": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "User defined timestamp for when the feedback was created. ", @@ -1026,6 +1059,7 @@ function.", "discriminated": false, "docs": "The type of feedback. The default feedback types available are 'rating', 'action', 'issue', 'correction', and 'comment'.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1040,6 +1074,7 @@ function.", "discriminated": false, "docs": "The feedback value to set. This would be the appropriate text for 'correction' or 'comment', or a label to apply for 'rating', 'action', or 'issue'.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1063,6 +1098,7 @@ function.", }, "FeedbackTypeModel": { "docs": undefined, + "inline": undefined, "properties": { "type": { "display-name": "Feedback type", @@ -1082,6 +1118,7 @@ function.", "discriminated": false, "docs": "The type of feedback. The default feedback types available are 'rating', 'action', 'issue', 'correction', and 'comment'.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1099,6 +1136,7 @@ function.", "discriminated": false, "docs": "The File that the deployed Version belongs to.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1119,6 +1157,7 @@ function.", }, "FunctionTool": { "docs": "A function tool to be called by the model where user owns runtime.", + "inline": undefined, "properties": { "arguments": { "type": "optional", @@ -1131,6 +1170,7 @@ function.", }, "FunctionToolChoice": { "docs": "A function tool to be called by the model where user owns runtime.", + "inline": undefined, "properties": { "name": "string", }, @@ -1140,6 +1180,7 @@ function.", }, "GenericConfigResponse": { "docs": undefined, + "inline": undefined, "properties": { "created_by": { "docs": "The user who created the config.", @@ -1172,6 +1213,7 @@ function.", }, "HTTPValidationError": { "docs": undefined, + "inline": undefined, "properties": { "detail": { "type": "optional>", @@ -1183,6 +1225,7 @@ function.", }, "HumanEvaluatorRequest": { "docs": undefined, + "inline": undefined, "properties": { "arguments_type": { "docs": "Whether this evaluator is target-free or target-required.", @@ -1199,6 +1242,7 @@ function.", }, "ImageChatContent": { "docs": undefined, + "inline": undefined, "properties": { "image_url": { "docs": "The message's image content.", @@ -1211,6 +1255,7 @@ function.", }, "ImageUrl": { "docs": undefined, + "inline": undefined, "properties": { "detail": { "docs": "Specify the detail level of the image provided to the model. For more details see: https://platform.openai.com/docs/guides/vision/low-or-high-fidelity-image-understanding", @@ -1238,6 +1283,7 @@ function.", }, "InputResponse": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "Type of input.", @@ -1252,6 +1298,7 @@ function.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1262,6 +1309,7 @@ function.", }, "LLMEvaluatorRequest": { "docs": undefined, + "inline": undefined, "properties": { "arguments_type": { "docs": "Whether this evaluator is target-free or target-required.", @@ -1296,6 +1344,7 @@ Used by a File's PAPV (Positive Action Per View) metric.", }, "LinkedToolRequest": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "The description of the linked tool.", @@ -1324,6 +1373,7 @@ Used by a File's PAPV (Positive Action Per View) metric.", }, "LinkedToolResponse": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "Description of the tool referenced by the model", @@ -1352,6 +1402,7 @@ Used by a File's PAPV (Positive Action Per View) metric.", }, "ListDatasets": { "docs": undefined, + "inline": undefined, "properties": { "records": { "docs": "The list of Datasets.", @@ -1364,6 +1415,7 @@ Used by a File's PAPV (Positive Action Per View) metric.", }, "ListEvaluators": { "docs": undefined, + "inline": undefined, "properties": { "records": { "docs": "The list of Evaluators.", @@ -1376,6 +1428,7 @@ Used by a File's PAPV (Positive Action Per View) metric.", }, "ListPrompts": { "docs": undefined, + "inline": undefined, "properties": { "records": { "docs": "The list of Prompts.", @@ -1388,6 +1441,7 @@ Used by a File's PAPV (Positive Action Per View) metric.", }, "ListTools": { "docs": undefined, + "inline": undefined, "properties": { "records": { "docs": "The list of Tools.", @@ -1400,6 +1454,7 @@ Used by a File's PAPV (Positive Action Per View) metric.", }, "LogResponse": { "docs": "Request model for logging a datapoint.", + "inline": undefined, "properties": { "batch_ids": { "docs": "List of batch IDs the log belongs to.", @@ -1575,6 +1630,7 @@ Used by a File's PAPV (Positive Action Per View) metric.", "discriminated": false, "docs": "Controls how the model uses tools. The following options are supported: 'none' forces the model to not call a tool; the default when no tools are provided as part of the model config. 'auto' the model can decide to call one of the provided tools; the default when tools are provided as part of the model config. Providing {'type': 'function', 'function': {name': }} forces the model to use the named function.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1589,6 +1645,7 @@ Used by a File's PAPV (Positive Action Per View) metric.", }, "MetricValueResponse": { "docs": undefined, + "inline": undefined, "properties": { "metric_id": "string", "metric_name": "string", @@ -1600,6 +1657,7 @@ Used by a File's PAPV (Positive Action Per View) metric.", }, "ModelConfigRequest": { "docs": "Model config used for logging both chat and completion.", + "inline": undefined, "properties": { "chat_template": { "docs": "Messages prepended to the list of messages sent to the provider. These messages that will take your specified inputs to form your final request to the provider model. Input variables within the template should be specified with syntax: {{INPUT_NAME}}.", @@ -1686,6 +1744,7 @@ Used by a File's PAPV (Positive Action Per View) metric.", "discriminated": false, "docs": "The string (or list of strings) after which the model will stop generating. The returned text will not contain the stop sequence.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1698,6 +1757,7 @@ Used by a File's PAPV (Positive Action Per View) metric.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1714,6 +1774,7 @@ Used by a File's PAPV (Positive Action Per View) metric.", "docs": "Model config request. Contains fields that are common to all (i.e. both chat and complete) endpoints.", + "inline": undefined, "properties": { "chat_template": { "docs": "Messages prepended to the list of messages sent to the provider. These messages that will take your specified inputs to form your final request to the provider model. NB: Input variables within the template should be specified with syntax: {{INPUT_NAME}}.", @@ -1786,7 +1847,6 @@ Contains fields that are common to all (i.e. both chat and complete) endpoints." "tool_configs": { "availability": "deprecated", "docs": "NB: Deprecated with tools field. Definition of tools shown to the model.", - "inline": undefined, "type": "optional>", }, "tools": { @@ -1807,6 +1867,7 @@ Contains fields that are common to all (i.e. both chat and complete) endpoints." "discriminated": false, "docs": "The string (or list of strings) after which the model will stop generating. The returned text will not contain the stop sequence.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1820,6 +1881,7 @@ Contains fields that are common to all (i.e. both chat and complete) endpoints." The subset of ToolConfig parameters received by the chat endpoint. Does not have things like the signature or setup schema.", + "inline": undefined, "properties": { "description": { "docs": "The description of the tool shown to the model.", @@ -1885,6 +1947,7 @@ Does not have things like the signature or setup schema.", }, "MonitoringEvaluatorEnvironmentRequest": { "docs": undefined, + "inline": undefined, "properties": { "environment_id": { "docs": "Unique identifier for the Environment. The Evaluator Version deployed to this Environment will be used for monitoring.", @@ -1901,6 +1964,7 @@ Does not have things like the signature or setup schema.", }, "MonitoringEvaluatorResponse": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "type": "datetime", @@ -1937,6 +2001,7 @@ Does not have things like the signature or setup schema.", }, "MonitoringEvaluatorVersionRequest": { "docs": undefined, + "inline": undefined, "properties": { "evaluator_version_id": { "docs": "Unique identifier for the Evaluator Version to be used for monitoring.", @@ -1950,6 +2015,7 @@ Does not have things like the signature or setup schema.", "NumericEvaluatorVersionStats": { "docs": "Base attributes for stats for an Evaluator Version-Evaluated Version pair in the Evaluation Report.", + "inline": undefined, "properties": { "evaluator_version_id": { "docs": "Unique identifier for the Evaluator Version.", @@ -2001,6 +2067,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "OverallStats": { "docs": undefined, + "inline": undefined, "properties": { "num_datapoints": { "docs": "The total number of Datapoints in the Evaluation Report's Dataset Version.", @@ -2021,6 +2088,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "PaginatedDataDatapointResponse": { "docs": undefined, + "inline": undefined, "properties": { "page": "integer", "records": { @@ -2035,6 +2103,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "PaginatedDataDatasetResponse": { "docs": undefined, + "inline": undefined, "properties": { "page": "integer", "records": { @@ -2049,6 +2118,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "PaginatedDataEvaluationResponse": { "docs": undefined, + "inline": undefined, "properties": { "page": "integer", "records": { @@ -2063,6 +2133,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "PaginatedDataPromptLogResponse": { "docs": undefined, + "inline": undefined, "properties": { "page": "integer", "records": { @@ -2077,6 +2148,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "PaginatedDataSessionResponse": { "docs": undefined, + "inline": undefined, "properties": { "page": "integer", "records": { @@ -2113,6 +2185,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "PromptCallLogResponse": { "docs": "Sample specific response details for a Prompt call", + "inline": undefined, "properties": { "created_at": { "docs": "User defined timestamp for when the log was created. ", @@ -2169,6 +2242,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "PromptCallResponse": { "docs": "Response model for a Prompt call with potentially multiple log samples.", + "inline": undefined, "properties": { "batches": { "docs": "Array of Batch Ids that this log is part of. Batches are used to group Logs together for offline Evaluations", @@ -2248,6 +2322,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", - `'required'` means the model can decide to call one or more of the provided tools. - `{'type': 'function', 'function': {name': }}` forces the model to use the named function.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -2262,6 +2337,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "PromptCallStreamResponse": { "docs": "Response model for calling Prompt in streaming mode.", + "inline": undefined, "properties": { "created_at": { "docs": "User defined timestamp for when the log was created. ", @@ -2330,6 +2406,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "PromptKernelRequest": { "docs": undefined, + "inline": undefined, "properties": { "endpoint": { "docs": "The provider model endpoint used.", @@ -2405,6 +2482,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", "discriminated": false, "docs": "The string (or list of strings) after which the model will stop generating. The returned text will not contain the stop sequence.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -2415,6 +2493,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "PromptLogResponse": { "docs": "Request for creating a Prompt log.", + "inline": undefined, "properties": { "batches": { "docs": "Array of Batch Ids that this log is part of. Batches are used to group Logs together for offline Evaluations", @@ -2542,6 +2621,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", - `'required'` means the model can decide to call one or more of the provided tools. - `{'type': 'function', 'function': {name': }}` forces the model to use the named function.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -2556,6 +2636,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "PromptResponse": { "docs": "Request model for creating a new Prompt", + "inline": undefined, "properties": { "commit_message": { "docs": "Message describing the changes made.", @@ -2684,6 +2765,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", "discriminated": false, "docs": "The string (or list of strings) after which the model will stop generating. The returned text will not contain the stop sequence.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -2694,6 +2776,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "ProviderApiKeys": { "docs": undefined, + "inline": undefined, "properties": { "ai21": { "type": "optional", @@ -2723,6 +2806,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "ResponseFormat": { "docs": "Response format of the model.", + "inline": undefined, "properties": { "type": { "type": "literal<"json_object">", @@ -2734,6 +2818,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "SessionResponse": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "type": "datetime", @@ -2789,6 +2874,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", "discriminated": false, "docs": "For chat endpoint, provide a Chat template. For completion endpoint, provide a Prompt template. Input variables within the template should be specified with double curly bracket syntax: {{INPUT_NAME}}.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -2799,6 +2885,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "TextChatContent": { "docs": undefined, + "inline": undefined, "properties": { "text": { "docs": "The message's text content.", @@ -2822,6 +2909,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "ToolCall": { "docs": "A tool call to be made.", + "inline": undefined, "properties": { "function": { "type": "FunctionTool", @@ -2837,6 +2925,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", }, "ToolChoice": { "docs": "Tool choice to force the model to use a tool.", + "inline": undefined, "properties": { "function": { "type": "FunctionToolChoice", @@ -2854,6 +2943,7 @@ Observability is implemented by running monitoring Evaluators on Logs.", The subset of ToolConfig parameters received by the chat endpoint. Does not have things like the signature or setup schema.", + "inline": undefined, "properties": { "description": { "docs": "The description of the tool shown to the model.", @@ -2893,6 +2983,7 @@ Does not have things like the signature or setup schema.", }, "ToolConfigResponse": { "docs": undefined, + "inline": undefined, "properties": { "created_by": { "docs": "The user who created the config.", @@ -2953,6 +3044,7 @@ Does not have things like the signature or setup schema.", }, "ToolFunction": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "Description of the tool referenced by the model", @@ -2973,6 +3065,7 @@ Does not have things like the signature or setup schema.", }, "ToolKernelRequest": { "docs": undefined, + "inline": undefined, "properties": { "function": { "docs": "Callable function specification of the Tool shown to the model for tool calling.", @@ -2993,6 +3086,7 @@ Does not have things like the signature or setup schema.", }, "ToolResponse": { "docs": "Request to create a new Tool.", + "inline": undefined, "properties": { "commit_message": { "docs": "Message describing the changes made.", @@ -3074,6 +3168,7 @@ Does not have things like the signature or setup schema.", }, "ToolResultResponse": { "docs": "A result from a tool used to populate the prompt template", + "inline": undefined, "properties": { "id": "string", "name": "string", @@ -3098,6 +3193,7 @@ V4 uses organization and inline. Those are deprecated and will be removed in fav }, "ToolTemplateResponse": { "docs": "Template for a Humanloop runnable tool.", + "inline": undefined, "properties": { "description": { "docs": "Description of the tool referenced by the model", @@ -3151,6 +3247,7 @@ V4 uses organization and inline. Those are deprecated and will be removed in fav }, "UserResponse": { "docs": undefined, + "inline": undefined, "properties": { "email_address": { "docs": "The User's email address.", @@ -3171,6 +3268,7 @@ V4 uses organization and inline. Those are deprecated and will be removed in fav }, "ValidationError": { "docs": undefined, + "inline": undefined, "properties": { "loc": { "type": "list", @@ -3186,6 +3284,7 @@ V4 uses organization and inline. Those are deprecated and will be removed in fav "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3198,6 +3297,7 @@ V4 uses organization and inline. Those are deprecated and will be removed in fav "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3210,6 +3310,7 @@ V4 uses organization and inline. Those are deprecated and will be removed in fav "discriminated": false, "docs": "The specific Version being referenced.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3230,6 +3331,7 @@ V4 uses organization and inline. Those are deprecated and will be removed in fav }, "VersionDeploymentResponse": { "docs": "A variable reference to the Version deployed to an Environment", + "inline": undefined, "properties": { "environment": { "docs": "The Environment that the Version is deployed to.", @@ -3247,6 +3349,7 @@ V4 uses organization and inline. Those are deprecated and will be removed in fav }, "VersionIdResponse": { "docs": "A reference to a specific Version by its ID", + "inline": undefined, "properties": { "version": { "display-name": "Version", @@ -3278,6 +3381,7 @@ V4 uses organization and inline. Those are deprecated and will be removed in fav }, "VersionStats": { "docs": "Stats for an Evaluated Version in the Evaluation Report.", + "inline": undefined, "properties": { "evaluator_version_stats": { "docs": "Stats for each Evaluator Version used to evaluate this Evaluated Version.", @@ -3300,6 +3404,7 @@ V4 uses organization and inline. Those are deprecated and will be removed in fav "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3427,6 +3532,7 @@ types: - list source: openapi: ../openapi.yml + inline: true ChatMessage: properties: content: @@ -3539,6 +3645,7 @@ types: - list source: openapi: ../openapi.yml + inline: true CreateDatapointRequest: properties: inputs: @@ -3633,6 +3740,7 @@ types: - list source: openapi: ../openapi.yml + inline: true DatapointResponse: properties: inputs: @@ -3775,6 +3883,7 @@ types: - double source: openapi: ../openapi.yml + inline: true EvaluationDebugResultResponse: docs: >- This is similar to an `EvaluationResult` but is ephemeral as it is only @@ -3901,6 +4010,7 @@ types: - type: MonitoringEvaluatorEnvironmentRequest source: openapi: ../openapi.yml + inline: true EvaluatorActivationDeactivationRequestEvaluatorsToDeactivateItem: discriminated: false union: @@ -3908,6 +4018,7 @@ types: - type: MonitoringEvaluatorEnvironmentRequest source: openapi: ../openapi.yml + inline: true EvaluatorActivationDeactivationRequest: properties: evaluators_to_activate: @@ -4064,6 +4175,7 @@ types: - string source: openapi: ../openapi.yml + inline: true FeedbackResponseValue: discriminated: false docs: >- @@ -4075,6 +4187,7 @@ types: - string source: openapi: ../openapi.yml + inline: true FeedbackResponse: properties: type: @@ -4114,6 +4227,7 @@ types: - string source: openapi: ../openapi.yml + inline: true FeedbackTypeModel: properties: type: @@ -4323,6 +4437,7 @@ types: - double source: openapi: ../openapi.yml + inline: true LogResponseToolChoice: discriminated: false docs: >- @@ -4339,6 +4454,7 @@ types: - type: ToolChoice source: openapi: ../openapi.yml + inline: true LogResponse: docs: Request model for logging a datapoint. properties: @@ -4505,6 +4621,7 @@ types: - list source: openapi: ../openapi.yml + inline: true ModelConfigRequestToolsItem: discriminated: false union: @@ -4512,6 +4629,7 @@ types: - type: ModelConfigToolRequest source: openapi: ../openapi.yml + inline: true ModelConfigRequest: docs: Model config used for logging both chat and completion. properties: @@ -4612,6 +4730,7 @@ types: - list source: openapi: ../openapi.yml + inline: true ModelConfigResponse: docs: >- Model config request. @@ -5008,6 +5127,7 @@ types: - type: ToolChoice source: openapi: ../openapi.yml + inline: true PromptCallResponse: docs: Response model for a Prompt call with potentially multiple log samples. properties: @@ -5152,6 +5272,7 @@ types: - list source: openapi: ../openapi.yml + inline: true PromptKernelRequestStop: discriminated: false docs: >- @@ -5162,6 +5283,7 @@ types: - list source: openapi: ../openapi.yml + inline: true PromptKernelRequest: properties: model: @@ -5268,6 +5390,7 @@ types: - type: ToolChoice source: openapi: ../openapi.yml + inline: true PromptLogResponse: docs: Request for creating a Prompt log. properties: @@ -5397,6 +5520,7 @@ types: - list source: openapi: ../openapi.yml + inline: true PromptResponse: docs: Request model for creating a new Prompt properties: @@ -5783,6 +5907,7 @@ types: - integer source: openapi: ../openapi.yml + inline: true ValidationError: properties: loc: @@ -5801,6 +5926,7 @@ types: - type: EvaluatorResponse source: openapi: ../openapi.yml + inline: true VersionDeploymentResponse: docs: A variable reference to the Version deployed to an Environment properties: @@ -5823,6 +5949,7 @@ types: - type: EvaluatorResponse source: openapi: ../openapi.yml + inline: true VersionIdResponse: docs: A reference to a specific Version by its ID properties: @@ -5849,6 +5976,7 @@ types: - type: BooleanEvaluatorVersionStats source: openapi: ../openapi.yml + inline: true VersionStats: docs: Stats for an Evaluated Version in the Evaluation Report. properties: @@ -12847,6 +12975,7 @@ within the Prompt for monitoring purposes.", - `'required'` means the model can decide to call one or more of the provided tools. - `{'type': 'function', 'function': {name': }}` forces the model to use the named function.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -12867,6 +12996,7 @@ within the Prompt for monitoring purposes.", - `'required'` means the model can decide to call one or more of the provided tools. - `{'type': 'function', 'function': {name': }}` forces the model to use the named function.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -12883,6 +13013,7 @@ within the Prompt for monitoring purposes.", "discriminated": false, "docs": "The string (or list of strings) after which the model will stop generating. The returned text will not contain the stop sequence.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -12895,6 +13026,7 @@ within the Prompt for monitoring purposes.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -12911,6 +13043,7 @@ within the Prompt for monitoring purposes.", "discriminated": false, "docs": "For chat endpoint, provide a Chat template. For completion endpoint, provide a Prompt template. Input variables within the template should be specified with double curly bracket syntax: {{INPUT_NAME}}.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -14192,6 +14325,7 @@ types: - list source: openapi: ../openapi.yml + inline: true PromptRequestStop: discriminated: false docs: >- @@ -14202,6 +14336,7 @@ types: - list source: openapi: ../openapi.yml + inline: true PromptLogRequestToolChoice: discriminated: false docs: >- @@ -14226,6 +14361,7 @@ types: - type: root.ToolChoice source: openapi: ../openapi.yml + inline: true PromptCallRequestToolChoice: discriminated: false docs: >- @@ -14250,6 +14386,7 @@ types: - type: root.ToolChoice source: openapi: ../openapi.yml + inline: true PromptsCallResponse: discriminated: false union: diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/hume.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/hume.json index 74ab8cf13fa..85e3504dc4d 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/hume.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/hume.json @@ -261,6 +261,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "BoundingBox": { "docs": "A bounding box around a face.", + "inline": undefined, "properties": { "h": { "docs": "Bounding box height.", @@ -285,6 +286,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "BurstPrediction": { "docs": undefined, + "inline": undefined, "properties": { "descriptions": { "docs": "Modality-specific descriptive features and their scores.", @@ -302,6 +304,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "Completed": { "docs": undefined, + "inline": undefined, "properties": { "created_timestamp_ms": { "docs": "When this job was created (Unix timestamp in milliseconds).", @@ -330,6 +333,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "DescriptionsScore": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "Name of the descriptive feature being expressed.", @@ -355,6 +359,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "EmotionScore": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "Name of the emotion being expressed.", @@ -375,6 +380,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "Error": { "docs": undefined, + "inline": undefined, "properties": { "file": { "docs": "A file path relative to the top level source URL or file.", @@ -391,6 +397,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "Face": { "docs": undefined, + "inline": undefined, "properties": { "descriptions": "optional", "facs": "optional", @@ -432,6 +439,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "FacePrediction": { "docs": undefined, + "inline": undefined, "properties": { "box": "BoundingBox", "descriptions": { @@ -465,6 +473,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "FacemeshPrediction": { "docs": undefined, + "inline": undefined, "properties": { "emotions": { "docs": "A high-dimensional embedding in emotion space.", @@ -477,6 +486,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "FacsScore": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "Name of the FACS 2.0 feature being expressed.", @@ -493,6 +503,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "Failed": { "docs": undefined, + "inline": undefined, "properties": { "created_timestamp_ms": { "docs": "When this job was created (Unix timestamp in milliseconds).", @@ -517,6 +528,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "File": { "docs": undefined, + "inline": undefined, "properties": { "content_type": { "docs": "The content type of the file.", @@ -549,6 +561,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "GroupedPredictionsBurstPrediction": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "An automatically generated label to identify individuals in your media file. Will be `unknown` if you have chosen to disable identification, or if the model is unable to distinguish between individuals.", @@ -562,6 +575,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "GroupedPredictionsFacePrediction": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "An automatically generated label to identify individuals in your media file. Will be `unknown` if you have chosen to disable identification, or if the model is unable to distinguish between individuals.", @@ -575,6 +589,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "GroupedPredictionsFacemeshPrediction": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "An automatically generated label to identify individuals in your media file. Will be `unknown` if you have chosen to disable identification, or if the model is unable to distinguish between individuals.", @@ -588,6 +603,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "GroupedPredictionsLanguagePrediction": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "An automatically generated label to identify individuals in your media file. Will be `unknown` if you have chosen to disable identification, or if the model is unable to distinguish between individuals.", @@ -601,6 +617,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "GroupedPredictionsNerPrediction": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "An automatically generated label to identify individuals in your media file. Will be `unknown` if you have chosen to disable identification, or if the model is unable to distinguish between individuals.", @@ -614,6 +631,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "GroupedPredictionsProsodyPrediction": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "An automatically generated label to identify individuals in your media file. Will be `unknown` if you have chosen to disable identification, or if the model is unable to distinguish between individuals.", @@ -627,6 +645,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "InProgress": { "docs": undefined, + "inline": undefined, "properties": { "created_timestamp_ms": { "docs": "When this job was created (Unix timestamp in milliseconds).", @@ -643,6 +662,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "JobId": { "docs": undefined, + "inline": undefined, "properties": { "job_id": { "docs": "The ID of the started job.", @@ -661,6 +681,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "JobRequest": { "docs": undefined, + "inline": undefined, "properties": { "job_id": { "docs": "The ID associated with this job.", @@ -691,6 +712,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "Language": { "docs": undefined, + "inline": undefined, "properties": { "granularity": "optional", "identify_speakers": { @@ -707,6 +729,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "LanguagePrediction": { "docs": undefined, + "inline": undefined, "properties": { "confidence": { "docs": "Value between `0.0` and `1.0` that indicates our transcription model’s relative confidence in this text.", @@ -743,6 +766,7 @@ Compared to returning one estimate of sentiment, this enables a more nuanced ana }, "Models": { "docs": undefined, + "inline": undefined, "properties": { "burst": "optional", "face": "optional", @@ -757,6 +781,7 @@ Compared to returning one estimate of sentiment, this enables a more nuanced ana }, "ModelsPredictions": { "docs": undefined, + "inline": undefined, "properties": { "burst": "optional", "face": "optional", @@ -771,6 +796,7 @@ Compared to returning one estimate of sentiment, this enables a more nuanced ana }, "Ner": { "docs": undefined, + "inline": undefined, "properties": { "identify_speakers": { "default": false, @@ -784,6 +810,7 @@ Compared to returning one estimate of sentiment, this enables a more nuanced ana }, "NerPrediction": { "docs": undefined, + "inline": undefined, "properties": { "confidence": { "docs": "Value between `0.0` and `1.0` that indicates our transcription model’s relative confidence in this text.", @@ -830,6 +857,7 @@ Compared to returning one estimate of sentiment, this enables a more nuanced ana }, "PositionInterval": { "docs": "Position of a segment of text within a larger document, measured in characters. Uses zero-based indexing. The beginning index is inclusive and the end index is exclusive.", + "inline": undefined, "properties": { "begin": { "docs": "The index of the first character in the text segment, inclusive.", @@ -846,6 +874,7 @@ Compared to returning one estimate of sentiment, this enables a more nuanced ana }, "Prediction": { "docs": undefined, + "inline": undefined, "properties": { "file": { "docs": "A file path relative to the top level source URL or file.", @@ -859,6 +888,7 @@ Compared to returning one estimate of sentiment, this enables a more nuanced ana }, "PredictionsOptionalNullBurstPrediction": { "docs": undefined, + "inline": undefined, "properties": { "grouped_predictions": "list", "metadata": "optional", @@ -869,6 +899,7 @@ Compared to returning one estimate of sentiment, this enables a more nuanced ana }, "PredictionsOptionalNullFacePrediction": { "docs": undefined, + "inline": undefined, "properties": { "grouped_predictions": "list", "metadata": "optional", @@ -879,6 +910,7 @@ Compared to returning one estimate of sentiment, this enables a more nuanced ana }, "PredictionsOptionalNullFacemeshPrediction": { "docs": undefined, + "inline": undefined, "properties": { "grouped_predictions": "list", "metadata": "optional", @@ -889,6 +921,7 @@ Compared to returning one estimate of sentiment, this enables a more nuanced ana }, "PredictionsOptionalTranscriptionMetadataLanguagePrediction": { "docs": undefined, + "inline": undefined, "properties": { "grouped_predictions": "list", "metadata": "optional", @@ -899,6 +932,7 @@ Compared to returning one estimate of sentiment, this enables a more nuanced ana }, "PredictionsOptionalTranscriptionMetadataNerPrediction": { "docs": undefined, + "inline": undefined, "properties": { "grouped_predictions": "list", "metadata": "optional", @@ -909,6 +943,7 @@ Compared to returning one estimate of sentiment, this enables a more nuanced ana }, "PredictionsOptionalTranscriptionMetadataProsodyPrediction": { "docs": undefined, + "inline": undefined, "properties": { "grouped_predictions": "list", "metadata": "optional", @@ -919,6 +954,7 @@ Compared to returning one estimate of sentiment, this enables a more nuanced ana }, "Prosody": { "docs": "NOTE: the `granularity` field is ignored if transcription is not enabled or if the `window` field has been set.", + "inline": undefined, "properties": { "granularity": "optional", "identify_speakers": { @@ -934,6 +970,7 @@ Compared to returning one estimate of sentiment, this enables a more nuanced ana }, "ProsodyPrediction": { "docs": undefined, + "inline": undefined, "properties": { "confidence": { "docs": "Value between `0.0` and `1.0` that indicates our transcription model’s relative confidence in this text.", @@ -959,6 +996,7 @@ Compared to returning one estimate of sentiment, this enables a more nuanced ana }, "Queued": { "docs": undefined, + "inline": undefined, "properties": { "created_timestamp_ms": { "docs": "When this job was created (Unix timestamp in milliseconds).", @@ -971,6 +1009,7 @@ Compared to returning one estimate of sentiment, this enables a more nuanced ana }, "Request": { "docs": undefined, + "inline": undefined, "properties": { "callback_url": { "docs": "If provided, a `POST` request will be made to the URL with the generated predictions on completion or the error message on failure.", @@ -997,6 +1036,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "Results": { "docs": undefined, + "inline": undefined, "properties": { "errors": "list", "predictions": "list", @@ -1007,6 +1047,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "SentimentScore": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "Level of sentiment, ranging from `1` (negative) to `9` (positive)", @@ -1050,6 +1091,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive "extends": [ "File", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yaml", @@ -1057,6 +1099,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "SourceResult": { "docs": undefined, + "inline": undefined, "properties": { "error": { "docs": "An error message.", @@ -1074,6 +1117,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive "extends": [ "Url", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yaml", @@ -1100,6 +1144,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive "extends": [ "Completed", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yaml", @@ -1110,6 +1155,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive "extends": [ "Failed", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yaml", @@ -1120,6 +1166,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive "extends": [ "InProgress", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yaml", @@ -1130,6 +1177,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive "extends": [ "Queued", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yaml", @@ -1148,6 +1196,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "TimeInterval": { "docs": "A time range with a beginning and end, measured in seconds.", + "inline": undefined, "properties": { "begin": { "docs": "Beginning of time range in seconds.", @@ -1164,6 +1213,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "ToxicityScore": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "Category of toxicity.", @@ -1180,6 +1230,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "Transcription": { "docs": undefined, + "inline": undefined, "properties": { "language": "optional", }, @@ -1189,6 +1240,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "TranscriptionMetadata": { "docs": "Transcription metadata for your media file.", + "inline": undefined, "properties": { "confidence": { "docs": "Value between `0.0` and `1.0` indicating our transcription model’s relative confidence in the transcription of your media file.", @@ -1202,6 +1254,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "Url": { "docs": undefined, + "inline": undefined, "properties": { "url": { "docs": "The URL of the source media file.", @@ -1223,6 +1276,7 @@ If you wish to supply more than 100 URLs, consider providing them as an archive }, "Window": { "docs": undefined, + "inline": undefined, "properties": { "length": { "default": 4, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/inline-path-parameters.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/inline-path-parameters.json index a47eed7d1b8..8a25286f6d0 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/inline-path-parameters.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/inline-path-parameters.json @@ -82,6 +82,7 @@ "types": { "GetOrganizationUserResponse": { "docs": undefined, + "inline": undefined, "properties": { "results": "optional>", }, @@ -218,6 +219,7 @@ types: }, "SearchResponse": { "docs": undefined, + "inline": undefined, "properties": { "results": "optional>", }, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/inline-schema-reference.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/inline-schema-reference.json index cd447628f4a..9bc1aa13acb 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/inline-schema-reference.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/inline-schema-reference.json @@ -43,6 +43,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -55,6 +56,7 @@ }, "GetExampleResponseMessage": { "docs": undefined, + "inline": true, "properties": { "message": "optional", }, @@ -64,6 +66,7 @@ }, "NotFound": { "docs": undefined, + "inline": true, "properties": { "message": "optional", }, @@ -73,6 +76,7 @@ }, "Schema1": { "docs": undefined, + "inline": undefined, "properties": { "id": "optional", "name": "optional", @@ -83,6 +87,7 @@ }, "Schema2": { "docs": undefined, + "inline": undefined, "properties": { "age": "optional", "email": "optional", @@ -99,11 +104,13 @@ message: optional source: openapi: ../openapi.yml + inline: true GetExampleResponseMessage: properties: message: optional source: openapi: ../openapi.yml + inline: true GetExampleResponse: discriminated: false union: diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/intercom.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/intercom.json index af45672a8b0..ada0fd71f41 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/intercom.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/intercom.json @@ -2746,6 +2746,7 @@ "types": { "ActivityLog": { "docs": "Activities performed by Admins.", + "inline": undefined, "properties": { "activity_description": { "docs": "A sentence or two describing the activity.", @@ -2767,7 +2768,6 @@ }, "performed_by": { "docs": "Details about the Admin involved in the activity.", - "inline": true, "type": "optional", }, }, @@ -2851,6 +2851,7 @@ }, "ActivityLogList": { "docs": "A paginated list of activity logs.", + "inline": undefined, "properties": { "activity_logs": { "docs": "An array of activity logs", @@ -2870,6 +2871,7 @@ }, "ActivityLogMetadata": { "docs": "Additional data provided about Admin activity.", + "inline": undefined, "properties": { "auto_changed": { "docs": "Indicates if the status was changed automatically or manually.", @@ -2914,6 +2916,7 @@ }, "ActivityLogPerformedBy": { "docs": "Details about the Admin involved in the activity.", + "inline": true, "properties": { "email": { "docs": "The email of the admin.", @@ -2938,6 +2941,7 @@ }, "AddressableList": { "docs": "A list used to access other resources from a parent model.", + "inline": undefined, "properties": { "id": { "docs": "The id of the addressable object", @@ -2970,6 +2974,7 @@ }, "Admin": { "docs": "Admins are the teammate accounts that have access to a workspace", + "inline": undefined, "properties": { "app": { "docs": "App that the admin belongs to.", @@ -2977,7 +2982,6 @@ }, "avatar": { "docs": "This object represents the avatar associated with the admin.", - "inline": true, "type": "optional", }, "away_mode_enabled": { @@ -3027,6 +3031,7 @@ }, "AdminPriorityLevel": { "docs": "Admin priority levels for the team", + "inline": undefined, "properties": { "primary_admin_ids": { "docs": "The primary admin ids for the team", @@ -3043,6 +3048,7 @@ }, "AdminReplyConversationRequest": { "docs": "Payload of the request to reply on behalf of an admin", + "inline": undefined, "properties": { "admin_id": { "docs": "The id of the admin who is authoring the comment.", @@ -3082,6 +3088,7 @@ }, "AdminReplyTicketRequest": { "docs": "Payload of the request to reply on behalf of an admin", + "inline": undefined, "properties": { "admin_id": { "docs": "The id of the admin who is authoring the comment.", @@ -3122,6 +3129,7 @@ }, "AdminReplyTicketRequestReplyOptionsItem": { "docs": undefined, + "inline": true, "properties": { "text": { "docs": "The text to display in this quick reply option.", @@ -3144,6 +3152,7 @@ }, "AdminWithAppAvatar": { "docs": "This object represents the avatar associated with the admin.", + "inline": true, "properties": { "image_url": { "docs": "This object represents the avatar associated with the admin.", @@ -3167,6 +3176,7 @@ }, "Admins": { "docs": "A list of admins associated with a given workspace.", + "inline": undefined, "properties": { "admins": { "docs": "A list of admins associated with a given workspace.", @@ -3183,6 +3193,7 @@ }, "App": { "docs": "App is a workspace on Intercom", + "inline": undefined, "properties": { "created_at": { "docs": "When the app was created.", @@ -3220,6 +3231,7 @@ }, "ArticleContent": { "docs": "The Content of an Article.", + "inline": undefined, "properties": { "author_id": { "docs": "The ID of the author of the article.", @@ -3274,6 +3286,7 @@ }, "ArticleStatistics": { "docs": "The statistics of an article.", + "inline": undefined, "properties": { "conversions": { "docs": "The number of conversations started from the article.", @@ -3310,6 +3323,7 @@ }, "ArticleTranslatedContent": { "docs": "The Translated Content of an Article. The keys are the locale codes and the values are the translated content of the article.", + "inline": undefined, "properties": { "ar": { "docs": "The content of the article in Arabic", @@ -3470,6 +3484,7 @@ }, "Articles": { "docs": "This will return a list of articles for the App.", + "inline": undefined, "properties": { "data": { "docs": "An array of Article objects", @@ -3493,6 +3508,7 @@ }, "AssignConversationRequest": { "docs": "Payload of the request to assign a conversation", + "inline": undefined, "properties": { "admin_id": { "docs": "The id of the admin who is performing the action.", @@ -3523,6 +3539,7 @@ }, "CloseConversationRequest": { "docs": "Payload of the request to close a conversation", + "inline": undefined, "properties": { "admin_id": { "docs": "The id of the admin who is performing the action.", @@ -3540,6 +3557,7 @@ }, "Collections": { "docs": "This will return a list of Collections for the App.", + "inline": undefined, "properties": { "data": { "docs": "An array of collection objects", @@ -3563,6 +3581,7 @@ }, "Companies": { "docs": "This will return a list of companies for the App.", + "inline": undefined, "properties": { "data": { "docs": "An array containing Company Objects.", @@ -3586,6 +3605,7 @@ }, "CompanyAttachedContacts": { "docs": "A list of Contact Objects", + "inline": undefined, "properties": { "data": { "docs": "An array containing Contact Objects", @@ -3609,6 +3629,7 @@ }, "CompanyAttachedSegments": { "docs": "A list of Segment Objects", + "inline": undefined, "properties": { "data": { "docs": "An array containing Segment Objects", @@ -3625,6 +3646,7 @@ }, "CompanyScroll": { "docs": "Companies allow you to represent organizations using your product. Each company will have its own description and be associated with contacts. You can fetch, create, update and list companies.", + "inline": undefined, "properties": { "data": { "type": "optional>", @@ -3651,6 +3673,7 @@ }, "ContactArchived": { "docs": "archived contact object", + "inline": undefined, "properties": { "archived": { "docs": "Whether the contact is archived or not.", @@ -3675,6 +3698,7 @@ }, "ContactAttachedCompanies": { "docs": "A list of Company Objects", + "inline": undefined, "properties": { "companies": { "docs": "An array containing Company Objects", @@ -3698,6 +3722,7 @@ }, "ContactCompanies": { "docs": "An object containing companies meta data about the companies that a contact has. Up to 10 will be displayed here. Use the url to get more.", + "inline": undefined, "properties": { "has_more": { "docs": "Whether there's more Addressable Objects to be viewed. If true, use the url to view all", @@ -3724,6 +3749,7 @@ }, "ContactDeleted": { "docs": "deleted contact object", + "inline": undefined, "properties": { "deleted": { "docs": "Whether the contact is deleted or not.", @@ -3748,6 +3774,7 @@ }, "ContactList": { "docs": "Contacts are your users in Intercom.", + "inline": undefined, "properties": { "data": { "docs": "The list of contact objects", @@ -3771,6 +3798,7 @@ }, "ContactLocation": { "docs": "An object containing location meta data about a Intercom contact.", + "inline": undefined, "properties": { "city": { "docs": "The city that the contact is located in", @@ -3795,6 +3823,7 @@ }, "ContactNotes": { "docs": "An object containing notes meta data about the notes that a contact has. Up to 10 will be displayed here. Use the url to get more.", + "inline": undefined, "properties": { "data": { "docs": "This object represents the notes attached to a contact.", @@ -3825,6 +3854,7 @@ }, "ContactReference": { "docs": "reference to contact object", + "inline": undefined, "properties": { "external_id": { "docs": "The unique identifier for the contact which is provided by the Client.", @@ -3845,6 +3875,7 @@ }, "ContactReplyBaseRequest": { "docs": undefined, + "inline": undefined, "properties": { "attachment_urls": { "docs": "A list of image URLs that will be added as attachments. You can include up to 10 URLs.", @@ -3869,6 +3900,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -3889,6 +3921,7 @@ "extends": [ "ContactReplyBaseRequest", ], + "inline": undefined, "properties": { "attachment_files": { "docs": "A list of files that will be added as attachments.", @@ -3908,6 +3941,7 @@ "extends": [ "ContactReplyBaseRequest", ], + "inline": undefined, "properties": { "intercom_user_id": { "docs": "The identifier for the contact as given by Intercom.", @@ -3922,6 +3956,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -3942,6 +3977,7 @@ "extends": [ "ContactReplyBaseRequest", ], + "inline": undefined, "properties": { "user_id": { "docs": "The external_id you have defined for the contact.", @@ -3957,6 +3993,7 @@ "extends": [ "ContactReplyBaseRequest", ], + "inline": undefined, "properties": { "attachment_files": { "docs": "A list of files that will be added as attachments. You can include up to 10 files.", @@ -3973,6 +4010,7 @@ }, "ContactSocialProfiles": { "docs": "An object containing social profiles that a contact has.", + "inline": undefined, "properties": { "data": { "docs": "A list of social profiles objects associated with the contact.", @@ -3985,6 +4023,7 @@ }, "ContactSubscriptionTypes": { "docs": "An object containing Subscription Types meta data about the SubscriptionTypes that a contact has.", + "inline": undefined, "properties": { "data": { "docs": "This object represents the subscriptions attached to a contact.", @@ -4015,6 +4054,7 @@ }, "ContactTags": { "docs": "An object containing tags meta data about the tags that a contact has. Up to 10 will be displayed here. Use the url to get more.", + "inline": undefined, "properties": { "data": { "docs": "This object represents the tags attached to a contact.", @@ -4045,6 +4085,7 @@ }, "ContactUnarchived": { "docs": "unarchived contact object", + "inline": undefined, "properties": { "archived": { "docs": "Whether the contact is archived or not.", @@ -4069,6 +4110,7 @@ }, "Contacts": { "docs": "The list of contacts (users or leads) involved in this conversation. This will only contain one customer unless more were added via the group conversation feature.", + "inline": undefined, "properties": { "contacts": { "docs": "The list of contacts (users or leads) involved in this conversation. This will only contain one customer unless more were added via the group conversation feature.", @@ -4085,6 +4127,7 @@ }, "ContentSourcesList": { "docs": undefined, + "inline": undefined, "properties": { "content_sources": { "docs": "The content sources used by AI Agent in the conversation.", @@ -4104,6 +4147,7 @@ }, "ConversationAttachmentFiles": { "docs": "Properties of the attachment files in a conversation part", + "inline": undefined, "properties": { "content_type": { "docs": "The content type of the file", @@ -4124,6 +4168,7 @@ }, "ConversationFirstContactReply": { "docs": "An object containing information on the first users message. For a contact initiated message this will represent the users original message.", + "inline": undefined, "properties": { "created_at": { "docs": "", @@ -4144,6 +4189,7 @@ }, "ConversationList": { "docs": "Conversations are how you can communicate with users in Intercom. They are created when a contact replies to an outbound message, or when one admin directly sends a message to a single contact.", + "inline": undefined, "properties": { "conversations": { "docs": "The list of conversation objects", @@ -4167,6 +4213,7 @@ }, "ConversationPart": { "docs": "A Conversation Part represents a message in the conversation.", + "inline": undefined, "properties": { "assigned_to": { "docs": "The id of the admin that was assigned the conversation by this conversation_part (null if there has been no change in assignment.)", @@ -4222,6 +4269,7 @@ }, "ConversationPartAuthor": { "docs": "The object who initiated the conversation, which can be a Contact, Admin or Team. Bots and campaigns send messages on behalf of Admins or Teams. For Twitter, this will be blank.", + "inline": undefined, "properties": { "email": { "docs": "The email of the author", @@ -4252,6 +4300,7 @@ }, "ConversationParts": { "docs": "A list of Conversation Part objects for each part message in the conversation. This is only returned when Retrieving a Conversation, and ignored when Listing all Conversations. There is a limit of 500 parts.", + "inline": undefined, "properties": { "conversation_parts": { "docs": "A list of Conversation Part objects for each part message in the conversation. This is only returned when Retrieving a Conversation, and ignored when Listing all Conversations. There is a limit of 500 parts.", @@ -4272,6 +4321,7 @@ }, "ConversationRating": { "docs": "The Conversation Rating object which contains information on the rating and/or remark added by a Contact and the Admin assigned to the conversation.", + "inline": undefined, "properties": { "contact": { "type": "optional", @@ -4298,6 +4348,7 @@ }, "ConversationSource": { "docs": "The Conversation Part that originated this conversation, which can be Contact, Admin, Campaign, Automated or Operator initiated.", + "inline": undefined, "properties": { "attachments": { "docs": "A list of attachments for the part.", @@ -4341,6 +4392,7 @@ }, "ConversationStatistics": { "docs": "A Statistics object containing all information required for reporting, with timestamps and calculated metrics.", + "inline": undefined, "properties": { "count_assignments": { "docs": "Number of assignments after first_contact_reply_at.", @@ -4425,6 +4477,7 @@ }, "ConversationTeammates": { "docs": "The list of teammates who participated in the conversation (wrote at least one conversation part).", + "inline": undefined, "properties": { "teammates": { "docs": "The list of teammates who participated in the conversation (wrote at least one conversation part).", @@ -4441,6 +4494,7 @@ }, "CreateArticleRequest": { "docs": "You can create an Article", + "inline": undefined, "properties": { "author_id": { "docs": "The id of the author of the article. For multilingual articles, this will be the id of the author of the default language's content. Must be a teammate on the help center's workspace.", @@ -4493,6 +4547,7 @@ "CreateMessageRequestOne": "unknown", "CreateOrUpdateCompanyRequest": { "docs": "You can create or update a Company", + "inline": undefined, "properties": { "company_id": { "docs": "The company id you have defined for the company. Can't be updated", @@ -4537,6 +4592,7 @@ }, "CreateOrUpdateTagRequest": { "docs": "You can create or update an existing tag.", + "inline": undefined, "properties": { "id": { "docs": "The id of tag to updates.", @@ -4553,6 +4609,7 @@ }, "CreatePhoneSwitchRequest": { "docs": "You can create an phone switch", + "inline": undefined, "properties": { "custom_attributes": { "type": "optional", @@ -4570,6 +4627,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -4586,6 +4644,7 @@ "docs": "The request payload for creating a ticket type. You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet](https://twemoji-cheatsheet.vercel.app/) ", + "inline": undefined, "properties": { "category": { "docs": "Category of the Ticket Type.", @@ -4632,6 +4691,7 @@ "docs": "Cursor-based pagination is a technique used in the Intercom API to navigate through large amounts of data. A "cursor" or pointer is used to keep track of the current position in the result set, allowing the API to return the data in small chunks or "pages" as needed. ", + "inline": undefined, "properties": { "next": { "type": "optional", @@ -4665,6 +4725,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -4679,6 +4740,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -4696,6 +4758,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "CustomerRequestIntercomUserId": { "docs": undefined, + "inline": true, "properties": { "intercom_user_id": { "docs": "The identifier for the contact as given by Intercom.", @@ -4708,6 +4771,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "CustomerRequestUserId": { "docs": undefined, + "inline": true, "properties": { "user_id": { "docs": "The external_id you have defined for the contact who is being added as a participant.", @@ -4720,6 +4784,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "DataAttributeList": { "docs": "A list of all data attributes belonging to a workspace for contacts, companies or conversations.", + "inline": undefined, "properties": { "data": { "docs": "A list of data attributes", @@ -4736,6 +4801,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "DataEventList": { "docs": "This will return a list of data events for the App.", + "inline": undefined, "properties": { "events": { "docs": "A list of data events", @@ -4743,7 +4809,6 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "pages": { "docs": "Pagination", - "inline": true, "type": "optional", }, "type": { @@ -4757,6 +4822,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "DataEventListPages": { "docs": "Pagination", + "inline": true, "properties": { "next": "optional", "since": "optional", @@ -4767,6 +4833,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "DataEventSummary": { "docs": "This will return a summary of data events for the App.", + "inline": undefined, "properties": { "email": { "docs": "The email address of the user", @@ -4795,6 +4862,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "DataEventSummaryItem": { "docs": "This will return a summary of a data event for the App.", + "inline": undefined, "properties": { "count": { "docs": "The number of times the event was sent", @@ -4823,6 +4891,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "DataExportCsv": { "docs": "A CSV output file", + "inline": undefined, "properties": { "company_id": { "docs": "The company ID of the user in relation to the message that was sent. Will return -1 if no company is present.", @@ -4935,6 +5004,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "DeletedArticleObject": { "docs": "Response returned when an object is deleted", + "inline": undefined, "properties": { "deleted": { "docs": "Whether the article was deleted successfully or not.", @@ -4955,6 +5025,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "DeletedCollectionObject": { "docs": "Response returned when an object is deleted", + "inline": undefined, "properties": { "deleted": { "docs": "Whether the collection was deleted successfully or not.", @@ -4975,6 +5046,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "DeletedCompanyObject": { "docs": "Response returned when an object is deleted", + "inline": undefined, "properties": { "deleted": { "docs": "Whether the company was deleted successfully or not.", @@ -4995,6 +5067,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "DeletedObject": { "docs": "Response returned when an object is deleted", + "inline": undefined, "properties": { "deleted": { "docs": "Whether the news item was deleted successfully or not.", @@ -5015,6 +5088,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "Email": { "docs": undefined, + "inline": true, "properties": { "email": { "docs": "The email you have defined for the contact who is being added as a participant.", @@ -5027,6 +5101,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "Error": { "docs": "The API will return an Error List for a failed request, which will contain one or more Error objects.", + "inline": undefined, "properties": { "errors": { "docs": "An array of one or more error objects", @@ -5053,6 +5128,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "ErrorErrorsItem": { "docs": undefined, + "inline": true, "properties": { "code": { "docs": "A string indicating the kind of error, used to further qualify the HTTP response code", @@ -5073,6 +5149,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "File": { "docs": "The value describing a file upload set for a custom attribute", + "inline": undefined, "properties": { "content_type": { "docs": "The type of file", @@ -5108,6 +5185,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "GroupContent": { "docs": "The Content of a Group.", + "inline": undefined, "properties": { "description": { "docs": "The description of the collection. Only available for collections.", @@ -5128,6 +5206,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "GroupTranslatedContent": { "docs": "The Translated Content of an Group. The keys are the locale codes and the values are the translated content of the Group.", + "inline": undefined, "properties": { "ar": { "docs": "The content of the group in Arabic", @@ -5366,6 +5445,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "LinkedObject": { "docs": "A linked conversation or ticket.", + "inline": undefined, "properties": { "category": { "docs": "Category of the Linked Ticket Object.", @@ -5386,6 +5466,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "LinkedObjectList": { "docs": "An object containing metadata about linked conversations and linked tickets. Up to 1000 can be returned.", + "inline": undefined, "properties": { "data": { "docs": "An array containing the linked conversations and linked tickets.", @@ -5420,6 +5501,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "MultipleFilterSearchRequest": { "docs": "Search using Intercoms Search APIs with more than one filter.", + "inline": undefined, "properties": { "operator": { "docs": "An operator to allow boolean inspection between multiple fields.", @@ -5447,6 +5529,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -5463,6 +5546,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "NewsItemRequest": { "docs": "A News Item is a content type in Intercom enabling you to announce product updates, company news, promotions, events and more with your customers.", + "inline": undefined, "properties": { "body": { "docs": "The news item body, which may contain HTML.", @@ -5513,6 +5597,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "NoteList": { "docs": "A paginated list of notes associated with a contact.", + "inline": undefined, "properties": { "data": { "docs": "An array of notes.", @@ -5536,6 +5621,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "OpenConversationRequest": { "docs": "Payload of the request to open a conversation", + "inline": undefined, "properties": { "admin_id": { "docs": "The id of the admin who is performing the action.", @@ -5551,6 +5637,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul Their responses are likely to contain a pages object that hosts pagination links which a client can use to paginate through the data without having to construct a query. The link relations for the pages field are as follows. ", + "inline": undefined, "properties": { "next": { "docs": "A link to the next page of results. A response that does not contain a next link does not have further data to fetch.", @@ -5581,6 +5668,7 @@ Their responses are likely to contain a pages object that hosts pagination links }, "PaginatedResponse": { "docs": "Paginated Response", + "inline": undefined, "properties": { "data": { "docs": "An array of Objects", @@ -5635,6 +5723,7 @@ Their responses are likely to contain a pages object that hosts pagination links }, "PartAttachment": { "docs": "The file attached to a part", + "inline": undefined, "properties": { "content_type": { "docs": "The content type of the attachment", @@ -5671,6 +5760,7 @@ Their responses are likely to contain a pages object that hosts pagination links }, "PhoneSwitch": { "docs": "Phone Switch Response", + "inline": undefined, "properties": { "phone": { "docs": "Phone number in E.164 format, that has received the SMS to continue the conversation in the Messenger.", @@ -5707,6 +5797,7 @@ Their responses are likely to contain a pages object that hosts pagination links }, "RedactConversationRequestConversationPart": { "docs": "Payload of the request to redact a conversation part", + "inline": true, "properties": { "conversation_id": { "docs": "The id of the conversation.", @@ -5723,6 +5814,7 @@ Their responses are likely to contain a pages object that hosts pagination links }, "RedactConversationRequestSource": { "docs": "Payload of the request to redact a conversation source", + "inline": true, "properties": { "conversation_id": { "docs": "The id of the conversation.", @@ -5739,6 +5831,7 @@ Their responses are likely to contain a pages object that hosts pagination links }, "Reference": { "docs": "reference to another object", + "inline": undefined, "properties": { "id": { "docs": "", @@ -5757,6 +5850,7 @@ Their responses are likely to contain a pages object that hosts pagination links "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -5771,6 +5865,7 @@ Their responses are likely to contain a pages object that hosts pagination links }, "SearchRequest": { "docs": "Search using Intercoms Search APIs.", + "inline": undefined, "properties": { "pagination": { "type": "optional", @@ -5785,6 +5880,7 @@ Their responses are likely to contain a pages object that hosts pagination links "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -5799,6 +5895,7 @@ Their responses are likely to contain a pages object that hosts pagination links }, "SegmentList": { "docs": "This will return a list of Segment Objects. The result may also have a pages object if the response is paginated.", + "inline": undefined, "properties": { "pages": { "docs": "A pagination object, which may be empty, indicating no further pages to fetch.", @@ -5819,6 +5916,7 @@ Their responses are likely to contain a pages object that hosts pagination links }, "Segments": { "docs": "A list of segments objects attached to a specific contact.", + "inline": undefined, "properties": { "data": { "docs": "Segment objects associated with the contact.", @@ -5835,6 +5933,7 @@ Their responses are likely to contain a pages object that hosts pagination links }, "SingleFilterSearchRequest": { "docs": "Search using Intercoms Search APIs with a single filter.", + "inline": undefined, "properties": { "field": { "docs": "The accepted field that you want to search on.", @@ -5887,6 +5986,7 @@ Their responses are likely to contain a pages object that hosts pagination links "docs": "The SLA Applied object contains the details for which SLA has been applied to this conversation. Important: if there are any canceled sla_events for the conversation - meaning an SLA has been manually removed from a conversation, the sla_status will always be returned as null. ", + "inline": undefined, "properties": { "sla_name": { "docs": "The name of the SLA as given by the teammate when it was created.", @@ -5925,6 +6025,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "SnoozeConversationRequest": { "docs": "Payload of the request to snooze a conversation", + "inline": undefined, "properties": { "admin_id": { "docs": "The id of the admin who is performing the action.", @@ -5941,6 +6042,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "SocialProfile": { "docs": "A Social Profile allows you to label your contacts, companies, and conversations and list them using that Social Profile.", + "inline": undefined, "properties": { "name": { "docs": "The name of the Social media profile", @@ -5967,6 +6069,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "StartingAfterPaging": { "docs": undefined, + "inline": undefined, "properties": { "per_page": { "docs": "The number of results to fetch per page.", @@ -5983,6 +6086,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "SubscriptionTypeList": { "docs": "A list of subscription type objects.", + "inline": undefined, "properties": { "data": { "docs": "A list of subscription type objects associated with the workspace .", @@ -5999,6 +6103,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TagCompanyRequest": { "docs": "You can tag a single company or a list of companies.", + "inline": undefined, "properties": { "companies": { "docs": "The id or company_id of the company can be passed as input parameters.", @@ -6015,6 +6120,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TagCompanyRequestCompaniesItem": { "docs": undefined, + "inline": true, "properties": { "company_id": { "docs": "The company id you have defined for the company.", @@ -6031,6 +6137,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TagMultipleUsersRequest": { "docs": "You can tag a list of users.", + "inline": undefined, "properties": { "name": { "docs": "The name of the tag, which will be created if not found.", @@ -6044,6 +6151,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TagMultipleUsersRequestUsersItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The Intercom defined id representing the user.", @@ -6056,6 +6164,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "Tags": { "docs": "A list of tags objects associated with a conversation", + "inline": undefined, "properties": { "tags": { "docs": "A list of tags objects associated with the conversation.", @@ -6072,6 +6181,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TeamList": { "docs": "This will return a list of team objects for the App.", + "inline": undefined, "properties": { "teams": { "docs": "A list of team objects", @@ -6088,6 +6198,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TeamPriorityLevel": { "docs": "Admin priority levels for teams", + "inline": undefined, "properties": { "primary_team_ids": { "docs": "The primary team ids for the team", @@ -6110,6 +6221,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -6125,6 +6237,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TicketList": { "docs": "Tickets are how you track requests from your users.", + "inline": undefined, "properties": { "pages": { "type": "optional", @@ -6148,6 +6261,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TicketPartAuthor": { "docs": "The author that wrote or triggered the part. Can be a bot, admin, team or user.", + "inline": undefined, "properties": { "email": { "docs": "The email of the author", @@ -6190,6 +6304,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TicketParts": { "docs": "A list of Ticket Part objects for each note and event in the ticket. There is a limit of 500 parts.", + "inline": undefined, "properties": { "ticket_parts": { "docs": "A list of Ticket Part objects for each ticket. There is a limit of 500 parts.", @@ -6210,6 +6325,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TicketReply": { "docs": "A Ticket Part representing a note, comment, or quick_reply on a ticket", + "inline": undefined, "properties": { "attachments": { "docs": "A list of attachments for the part.", @@ -6270,6 +6386,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -6282,6 +6399,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TicketTypeAttribute": { "docs": "Ticket type attribute, used to define each data field to be captured in a ticket.", + "inline": undefined, "properties": { "archived": { "docs": "Whether the ticket type attribute is archived or not.", @@ -6362,6 +6480,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TicketTypeAttributeList": { "docs": "A list of attributes associated with a given ticket type.", + "inline": undefined, "properties": { "ticket_type_attributes": { "docs": "A list of ticket type attributes associated with a given ticket type.", @@ -6378,6 +6497,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TicketTypeList": { "docs": "A list of ticket types associated with a given workspace.", + "inline": undefined, "properties": { "ticket_types": { "docs": "A list of ticket_types associated with a given workspace.", @@ -6394,6 +6514,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "Translation": { "docs": "A translation object contains the localised details of a subscription type.", + "inline": undefined, "properties": { "description": { "docs": "The localised description of the subscription type.", @@ -6414,6 +6535,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "UntagCompanyRequest": { "docs": "You can tag a single company or a list of companies.", + "inline": undefined, "properties": { "companies": { "docs": "The id or company_id of the company can be passed as input parameters.", @@ -6430,6 +6552,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "UntagCompanyRequestCompaniesItem": { "docs": undefined, + "inline": true, "properties": { "company_id": { "docs": "The company id you have defined for the company.", @@ -6450,6 +6573,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "UpdateArticleRequest": { "docs": "You can Update an Article", + "inline": undefined, "properties": { "author_id": { "docs": "The id of the author of the article. For multilingual articles, this will be the id of the author of the default language's content. Must be a teammate on the help center's workspace.", @@ -6501,6 +6625,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a "docs": "The request payload for updating a ticket type. You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet](https://twemoji-cheatsheet.vercel.app/) ", + "inline": undefined, "properties": { "archived": { "docs": "The archived status of the ticket type.", @@ -6550,6 +6675,7 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( "UpdateVisitorRequestOne": "unknown", "Visitor": { "docs": "Visitors are useful for representing anonymous people that have not yet been identified. They usually represent website visitors. Visitors are not visible in Intercom platform. The Visitors resource provides methods to fetch, update, convert and delete.", + "inline": undefined, "properties": { "anonymous": { "docs": "Identifies if this visitor is anonymous.", @@ -6560,11 +6686,9 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( "type": "optional", }, "avatar": { - "inline": true, "type": "optional", }, "companies": { - "inline": true, "type": "optional", }, "created_at": { @@ -6602,7 +6726,6 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( "type": "optional", }, "location_data": { - "inline": true, "type": "optional", }, "marked_email_as_spam": { @@ -6634,7 +6757,6 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( "type": "optional", }, "segments": { - "inline": true, "type": "optional", }, "session_count": { @@ -6646,11 +6768,9 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( "type": "optional", }, "social_profiles": { - "inline": true, "type": "optional", }, "tags": { - "inline": true, "type": "optional", }, "type": { @@ -6697,6 +6817,7 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( }, "VisitorAvatar": { "docs": undefined, + "inline": true, "properties": { "image_url": { "docs": "This object represents the avatar associated with the visitor.", @@ -6720,6 +6841,7 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( }, "VisitorCompanies": { "docs": undefined, + "inline": true, "properties": { "companies": "optional>", "type": { @@ -6733,6 +6855,7 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( }, "VisitorDeletedObject": { "docs": "Response returned when an object is deleted", + "inline": undefined, "properties": { "id": { "docs": "The unique identifier for the visitor which is given by Intercom.", @@ -6753,6 +6876,7 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( }, "VisitorLocationData": { "docs": undefined, + "inline": true, "properties": { "city_name": { "docs": "The city name of the visitor.", @@ -6794,6 +6918,7 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( }, "VisitorSegments": { "docs": undefined, + "inline": true, "properties": { "segments": "optional>", "type": { @@ -6807,6 +6932,7 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( }, "VisitorSocialProfiles": { "docs": undefined, + "inline": true, "properties": { "social_profiles": "optional>", "type": { @@ -6820,6 +6946,7 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( }, "VisitorTags": { "docs": undefined, + "inline": true, "properties": { "tags": "optional>", "type": { @@ -6833,6 +6960,7 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( }, "VisitorTagsTagsItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The id of the tag.", @@ -8247,6 +8375,7 @@ types: docs: The IP address of the admin. source: openapi: ../openapi.yml + inline: true ActivityLogActivityType: enum: - admin_assignment_limit_change @@ -8327,7 +8456,6 @@ types: performed_by: type: optional docs: Details about the Admin involved in the activity. - inline: true metadata: type: optional created_at: @@ -8491,6 +8619,7 @@ types: format: uuid source: openapi: ../openapi.yml + inline: true AdminReplyTicketRequest: docs: Payload of the request to reply on behalf of an admin properties: @@ -8537,6 +8666,7 @@ types: format: uri source: openapi: ../openapi.yml + inline: true Admin: docs: Admins are the teammate accounts that have access to a workspace properties: @@ -8574,7 +8704,6 @@ types: avatar: type: optional docs: This object represents the avatar associated with the admin. - inline: true email_verified: type: optional docs: Identifies if this admin's email is verified. @@ -9121,6 +9250,7 @@ types: participant. source: openapi: ../openapi.yml + inline: true ContactReplyIntercomUserIdRequest: docs: >- Payload of the request to reply on behalf of a contact using their @@ -9803,6 +9933,7 @@ types: docs: The identifier for the contact as given by Intercom. source: openapi: ../openapi.yml + inline: true CustomerRequestUserId: properties: user_id: @@ -9812,6 +9943,7 @@ types: a participant. source: openapi: ../openapi.yml + inline: true CustomerRequest: discriminated: false union: @@ -9840,6 +9972,7 @@ types: since: optional source: openapi: ../openapi.yml + inline: true DataEventList: docs: This will return a list of data events for the App. properties: @@ -9852,7 +9985,6 @@ types: pages: type: optional docs: Pagination - inline: true source: openapi: ../openapi.yml DataEventSummary: @@ -10079,6 +10211,7 @@ types: was in error. source: openapi: ../openapi.yml + inline: true Error: docs: >- The API will return an Error List for a failed request, which will contain @@ -10358,6 +10491,7 @@ types: type: list source: openapi: ../openapi.yml + inline: true MultipleFilterSearchRequest: docs: Search using Intercoms Search APIs with more than one filter. properties: @@ -10552,6 +10686,7 @@ types: docs: The id of the conversation_part. source: openapi: ../openapi.yml + inline: true RedactConversationRequestSource: docs: Payload of the request to redact a conversation source properties: @@ -10563,6 +10698,7 @@ types: docs: The id of the source. source: openapi: ../openapi.yml + inline: true RedactConversationRequest: discriminant: type base-properties: {} @@ -10600,6 +10736,7 @@ types: - type: MultipleFilterSearchRequest source: openapi: ../openapi.yml + inline: true SearchRequest: docs: Search using Intercoms Search APIs. properties: @@ -10758,6 +10895,7 @@ types: docs: The company id you have defined for the company. source: openapi: ../openapi.yml + inline: true TagCompanyRequest: docs: You can tag a single company or a list of companies. properties: @@ -10787,6 +10925,7 @@ types: docs: The Intercom defined id representing the user. source: openapi: ../openapi.yml + inline: true TagMultipleUsersRequest: docs: You can tag a list of users. properties: @@ -11081,6 +11220,7 @@ types: docs: Always set to true source: openapi: ../openapi.yml + inline: true UntagCompanyRequest: docs: You can tag a single company or a list of companies. properties: @@ -11199,6 +11339,7 @@ types: format: uri source: openapi: ../openapi.yml + inline: true VisitorCompanies: properties: type: @@ -11207,6 +11348,7 @@ types: companies: optional> source: openapi: ../openapi.yml + inline: true VisitorLocationData: properties: type: @@ -11236,6 +11378,7 @@ types: docs: The timezone of the visitor. source: openapi: ../openapi.yml + inline: true VisitorSocialProfiles: properties: type: @@ -11244,6 +11387,7 @@ types: social_profiles: optional> source: openapi: ../openapi.yml + inline: true VisitorTagsTagsItem: properties: type: @@ -11257,6 +11401,7 @@ types: docs: The name of the tag. source: openapi: ../openapi.yml + inline: true VisitorTags: properties: type: @@ -11265,6 +11410,7 @@ types: tags: optional> source: openapi: ../openapi.yml + inline: true VisitorSegments: properties: type: @@ -11273,6 +11419,7 @@ types: segments: optional> source: openapi: ../openapi.yml + inline: true Visitor: docs: >- Visitors are useful for representing anonymous people that have not yet @@ -11309,16 +11456,13 @@ types: docs: The pseudonym of the visitor. avatar: type: optional - inline: true app_id: type: optional docs: The id of the app the visitor is associated with. companies: type: optional - inline: true location_data: type: optional - inline: true las_request_at: type: optional docs: The time the Lead last recorded making a request. @@ -11339,7 +11483,6 @@ types: docs: The number of sessions the Visitor has had. social_profiles: type: optional - inline: true owner_id: type: optional docs: The id of the admin that owns the Visitor. @@ -11354,10 +11497,8 @@ types: docs: Identifies if this visitor has had a hard bounce. tags: type: optional - inline: true segments: type: optional - inline: true custom_attributes: type: optional> docs: The custom attributes you have set on the Visitor. @@ -11825,6 +11966,7 @@ You can view the currently authorised admin along with the embedded app object ( "types": { "Admin": { "docs": "Admins are teammate accounts that have access to a workspace.", + "inline": undefined, "properties": { "avatar": { "docs": "Image for the associated team or teammate", @@ -12237,6 +12379,7 @@ types: "types": { "AiAgent": { "docs": "Data related to AI Agent involvement in the conversation.", + "inline": undefined, "properties": { "content_sources": { "type": "optional", @@ -12342,6 +12485,7 @@ imports: "types": { "ContentSource": { "docs": "The content source used by AI Agent in the conversation.", + "inline": undefined, "properties": { "content_type": { "docs": "The type of the content source.", @@ -14977,6 +15121,7 @@ imports: "extends": [ "Articles", ], + "inline": undefined, "properties": { "statistics": { "type": "optional", @@ -14999,6 +15144,7 @@ imports: }, "ArticleSearchHighlights": { "docs": "The highlighted results of an Article search. In the examples provided my search query is always "my query".", + "inline": undefined, "properties": { "article_id": { "docs": "The ID of the corresponding article.", @@ -15019,6 +15165,7 @@ imports: }, "ArticleSearchHighlightsHighlightedSummaryItemItem": { "docs": "An instance of highlighted summary text.", + "inline": true, "properties": { "text": { "docs": "The text of the title.", @@ -15045,6 +15192,7 @@ imports: }, "ArticleSearchHighlightsHighlightedTitleItem": { "docs": "A highlighted article title.", + "inline": true, "properties": { "text": { "docs": "The text of the title.", @@ -15071,10 +15219,10 @@ imports: }, "ArticleSearchResponse": { "docs": "The results of an Article search", + "inline": undefined, "properties": { "data": { "docs": "An object containing the results of the search.", - "inline": true, "type": "optional", }, "pages": { @@ -15095,6 +15243,7 @@ imports: }, "ArticleSearchResponseData": { "docs": "An object containing the results of the search.", + "inline": true, "properties": { "articles": { "docs": "An array of Article objects", @@ -15111,6 +15260,7 @@ imports: }, "Articles": { "docs": "The data returned about your articles when you list them.", + "inline": undefined, "properties": { "author_id": { "docs": "The id of the author of the article. For multilingual articles, this will be the id of the author of the default language's content. Must be a teammate on the help center's workspace.", @@ -17572,6 +17722,7 @@ types: docs: The text of the title. source: openapi: ../openapi.yml + inline: true ArticleSearchHighlightsHighlightedSummaryItemItemType: enum: - highlight @@ -17590,6 +17741,7 @@ types: docs: The text of the title. source: openapi: ../openapi.yml + inline: true ArticleSearchHighlights: docs: >- The highlighted results of an Article search. In the examples provided my @@ -17618,6 +17770,7 @@ types: docs: A corresponding array of highlighted Article content source: openapi: ../openapi.yml + inline: true ArticleSearchResponse: docs: The results of an Article search properties: @@ -17630,7 +17783,6 @@ types: data: type: optional docs: An object containing the results of the search. - inline: true pages: type: optional source: @@ -18748,6 +18900,7 @@ You can fetch all companies and filter by `segment_id` or `tag_id` as a query pa "types": { "Company": { "docs": "Companies allow you to represent organizations using your product. Each company will have its own description and be associated with contacts. You can fetch, create, update and list companies.", + "inline": undefined, "properties": { "app_id": { "docs": "The Intercom defined code of the workspace the company is associated to.", @@ -18786,7 +18939,6 @@ You can fetch all companies and filter by `segment_id` or `tag_id` as a query pa "type": "optional", }, "plan": { - "inline": true, "type": "optional", }, "remote_created_at": { @@ -18795,7 +18947,6 @@ You can fetch all companies and filter by `segment_id` or `tag_id` as a query pa }, "segments": { "docs": "The list of segments associated with the company", - "inline": true, "type": "optional", }, "session_count": { @@ -18808,7 +18959,6 @@ You can fetch all companies and filter by `segment_id` or `tag_id` as a query pa }, "tags": { "docs": "The list of tags associated with the company", - "inline": true, "type": "optional", }, "type": { @@ -18834,6 +18984,7 @@ You can fetch all companies and filter by `segment_id` or `tag_id` as a query pa }, "CompanyPlan": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The id of the plan", @@ -18854,6 +19005,7 @@ You can fetch all companies and filter by `segment_id` or `tag_id` as a query pa }, "CompanySegments": { "docs": "The list of segments associated with the company", + "inline": true, "properties": { "segments": "optional>", "type": { @@ -18867,6 +19019,7 @@ You can fetch all companies and filter by `segment_id` or `tag_id` as a query pa }, "CompanyTags": { "docs": "The list of tags associated with the company", + "inline": true, "properties": { "tags": "optional>", "type": { @@ -19728,6 +19881,7 @@ types: docs: The name of the plan source: openapi: ../openapi.yml + inline: true CompanyTags: docs: The list of tags associated with the company properties: @@ -19737,6 +19891,7 @@ types: tags: optional> source: openapi: ../openapi.yml + inline: true CompanySegments: docs: The list of segments associated with the company properties: @@ -19746,6 +19901,7 @@ types: segments: optional> source: openapi: ../openapi.yml + inline: true Company: docs: >- Companies allow you to represent organizations using your product. Each @@ -19768,7 +19924,6 @@ types: to. plan: type: optional - inline: true company_id: type: optional docs: The company id you have defined for the company. @@ -19808,11 +19963,9 @@ types: tags: type: optional docs: The list of tags associated with the company - inline: true segments: type: optional docs: The list of segments associated with the company - inline: true source: openapi: ../openapi.yml ", @@ -21120,6 +21273,7 @@ The data property will show a combined list of: "types": { "Contact": { "docs": "Contact are the objects that represent your leads and users in Intercom.", + "inline": undefined, "properties": { "android_app_name": { "docs": "The name of the Android app which the contact is using.", @@ -21146,7 +21300,6 @@ The data property will show a combined list of: "type": "optional", }, "avatar": { - "inline": true, "type": "optional", }, "browser": { @@ -21307,6 +21460,7 @@ The data property will show a combined list of: }, "ContactAvatar": { "docs": undefined, + "inline": true, "properties": { "image_url": { "docs": "An image URL containing the avatar of a contact.", @@ -22465,6 +22619,7 @@ types: format: uri source: openapi: ../openapi.yml + inline: true Contact: docs: Contact are the objects that represent your leads and users in Intercom. properties: @@ -22600,7 +22755,6 @@ types: docs: The custom attributes which are set for the contact. avatar: type: optional - inline: true tags: type: optional notes: @@ -23620,10 +23774,7 @@ This will return the Message model that has been created. "docs": "The content of the message. HTML is not supported.", "type": "string", }, - "from": { - "inline": true, - "type": "CreateConversationRequestFrom", - }, + "from": "CreateConversationRequestFrom", }, }, "content-type": "application/json", @@ -27727,6 +27878,7 @@ If you want to reply to a coveration or take an action such as assign, unassign, "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -27744,6 +27896,7 @@ If you want to reply to a coveration or take an action such as assign, unassign, }, "AttachContactToConversationRequestCustomerIntercomUserId": { "docs": undefined, + "inline": true, "properties": { "customer": { "type": "optional", @@ -27759,6 +27912,7 @@ If you want to reply to a coveration or take an action such as assign, unassign, }, "AttachContactToConversationRequestCustomerUserId": { "docs": undefined, + "inline": true, "properties": { "customer": { "type": "optional", @@ -27774,6 +27928,7 @@ If you want to reply to a coveration or take an action such as assign, unassign, }, "Conversation": { "docs": "Conversations are how you can communicate with users in Intercom. They are created when a contact replies to an outbound message, or when one admin directly sends a message to a single contact.", + "inline": undefined, "properties": { "admin_assignee_id": { "docs": "The id of the admin assigned to the conversation. If it's not assigned to an admin it will return null.", @@ -27895,6 +28050,7 @@ If you want to reply to a coveration or take an action such as assign, unassign, }, "CreateConversationRequestFrom": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The identifier for the contact which is given by Intercom.", @@ -27928,6 +28084,7 @@ If you want to reply to a coveration or take an action such as assign, unassign, }, "Email": { "docs": undefined, + "inline": true, "properties": { "customer": { "type": "optional", @@ -28063,9 +28220,7 @@ service: name: CreateConversationRequest body: properties: - from: - type: CreateConversationRequestFrom - inline: true + from: CreateConversationRequestFrom body: type: string docs: The content of the message. HTML is not supported. @@ -32137,6 +32292,7 @@ types: maxLength: 24 source: openapi: ../openapi.yml + inline: true ManageConversationRequestBody: discriminant: message_type base-properties: {} @@ -32160,6 +32316,7 @@ types: type: optional source: openapi: ../openapi.yml + inline: true AttachContactToConversationRequestCustomerUserId: properties: user_id: @@ -32171,6 +32328,7 @@ types: type: optional source: openapi: ../openapi.yml + inline: true Email: properties: email: @@ -32182,6 +32340,7 @@ types: type: optional source: openapi: ../openapi.yml + inline: true AttachContactToConversationRequestCustomer: discriminated: false union: @@ -32190,6 +32349,7 @@ types: - type: Email source: openapi: ../openapi.yml + inline: true ConversationState: enum: - open @@ -32297,6 +32457,7 @@ types: "types": { "CustomObjectInstance": { "docs": "A Custom Object Instance represents an instance of a custom object type. This allows you to create and set custom attributes to store data about your customers that is not already captured by Intercom. The parent object includes recommended default attributes and you can add your own custom attributes.", + "inline": undefined, "properties": { "custom_attributes": { "docs": "The custom attributes you have set on the custom object instance.", @@ -33271,6 +33432,7 @@ You can update a data attribute. }, "DataAttribute": { "docs": "Data Attributes are metadata used to describe your contact, company and conversation models. These include standard and custom attributes. By using the data attributes endpoint, you can get the global list of attributes for your workspace, as well as create and archive custom attributes.", + "inline": undefined, "properties": { "admin_id": { "docs": "Teammate who created the attribute. Only applicable to CDAs", @@ -34405,6 +34567,7 @@ You can optionally define the result page size as well with the `per_page` param "types": { "CreateDataEventSummariesRequestEventSummaries": { "docs": "A list of event summaries for the user. Each event summary should contain the event name, the time the event occurred, and the number of times the event occurred. The event name should be a past tense 'verb-noun' combination, to improve readability, for example `updated-plan`.", + "inline": true, "properties": { "count": { "docs": "The number of times the event occurred.", @@ -34429,6 +34592,7 @@ You can optionally define the result page size as well with the `per_page` param }, "DataEvent": { "docs": "Data events are used to notify Intercom of changes to your data.", + "inline": undefined, "properties": { "created_at": { "docs": "The time the event occurred as a UTC Unix timestamp", @@ -34471,6 +34635,7 @@ You can optionally define the result page size as well with the `per_page` param "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -34488,6 +34653,7 @@ You can optionally define the result page size as well with the `per_page` param }, "LisDataEventsRequestFilterEmail": { "docs": undefined, + "inline": true, "properties": { "email": "string", }, @@ -34497,6 +34663,7 @@ You can optionally define the result page size as well with the `per_page` param }, "LisDataEventsRequestFilterIntercomUserId": { "docs": undefined, + "inline": true, "properties": { "intercom_user_id": "string", }, @@ -34506,6 +34673,7 @@ You can optionally define the result page size as well with the `per_page` param }, "LisDataEventsRequestFilterUserId": { "docs": undefined, + "inline": true, "properties": { "user_id": "string", }, @@ -34521,16 +34689,19 @@ You can optionally define the result page size as well with the `per_page` param user_id: string source: openapi: ../openapi.yml + inline: true LisDataEventsRequestFilterIntercomUserId: properties: intercom_user_id: string source: openapi: ../openapi.yml + inline: true LisDataEventsRequestFilterEmail: properties: email: string source: openapi: ../openapi.yml + inline: true LisDataEventsRequestFilter: discriminated: false union: @@ -34563,6 +34734,7 @@ You can optionally define the result page size as well with the `per_page` param docs: The last time the event was sent source: openapi: ../openapi.yml + inline: true DataEvent: docs: Data events are used to notify Intercom of changes to your data. properties: @@ -35035,6 +35207,7 @@ Your exported message data will be streamed continuously back down to you in a g "types": { "DataExport": { "docs": "The data export api is used to view all message sent & viewed in a given timeframe.", + "inline": undefined, "properties": { "download_expires_at": { "docs": "The time after which you will not be able to access the data.", @@ -36684,6 +36857,7 @@ Collections will be returned in descending order on the `updated_at` attribute. "types": { "Collection": { "docs": "Collections are top level containers for Articles within the Help Center.", + "inline": undefined, "properties": { "created_at": { "docs": "The time when the article was created (seconds). For multilingual articles, this will be the timestamp of creation of the default language's content.", @@ -36743,6 +36917,7 @@ Collections will be returned in descending order on the `updated_at` attribute. }, "HelpCenter": { "docs": "Help Centers contain collections", + "inline": undefined, "properties": { "created_at": { "docs": "The time when the Help Center was created.", @@ -36779,6 +36954,7 @@ Collections will be returned in descending order on the `updated_at` attribute. }, "HelpCenterList": { "docs": "A list of Help Centers belonging to the App", + "inline": undefined, "properties": { "data": { "docs": "An array of Help Center objects", @@ -38214,6 +38390,7 @@ This will return the Message model that has been created. "types": { "Message": { "docs": "Message are how you reach out to contacts in Intercom. They are created when an admin sends an outbound message to a contact.", + "inline": undefined, "properties": { "body": { "docs": "The message body, which may contain HTML.", @@ -38993,6 +39170,7 @@ types: "types": { "NewsItem": { "docs": "A News Item is a content type in Intercom enabling you to announce product updates, company news, promotions, events and more with your customers.", + "inline": undefined, "properties": { "body": { "docs": "The news item body, which may contain HTML.", @@ -39072,6 +39250,7 @@ types: Newsfeeds currently cannot be edited through the API, please refer to [this article](https://www.intercom.com/help/en/articles/6362267-getting-started-with-news) to set up your newsfeeds in Intercom. ", + "inline": undefined, "properties": { "created_at": { "docs": "Timestamp for when the newsfeed was created.", @@ -39096,6 +39275,7 @@ Newsfeeds currently cannot be edited through the API, please refer to [this arti }, "NewsfeedAssignment": { "docs": "Assigns a news item to a newsfeed.", + "inline": undefined, "properties": { "newsfeed_id": { "docs": "The unique identifier for the newsfeed which is given by Intercom. Publish dates cannot be in the future, to schedule news items use the dedicated feature in app (see this article).", @@ -39972,6 +40152,7 @@ types: "types": { "Note": { "docs": "Notes allow you to annotate and comment on your contacts.", + "inline": undefined, "properties": { "author": { "docs": "Optional. Represents the Admin that created the note.", @@ -39983,7 +40164,6 @@ types: }, "contact": { "docs": "Represents the contact that the note was created about.", - "inline": true, "type": "optional", }, "created_at": { @@ -40005,6 +40185,7 @@ types: }, "NoteContact": { "docs": "Represents the contact that the note was created about.", + "inline": true, "properties": { "id": { "docs": "The id of the contact.", @@ -40305,6 +40486,7 @@ types: docs: The id of the contact. source: openapi: ../openapi.yml + inline: true Note: docs: Notes allow you to annotate and comment on your contacts. properties: @@ -40320,7 +40502,6 @@ types: contact: type: optional docs: Represents the contact that the note was created about. - inline: true author: type: optional docs: Optional. Represents the Admin that created the note. @@ -40455,6 +40636,7 @@ types: "types": { "Segment": { "docs": "A segment is a group of your contacts defined by the rules that you set.", + "inline": undefined, "properties": { "count": { "docs": "The number of items in the user segment. It's returned when `include_count=true` is included in the request.", @@ -40905,6 +41087,7 @@ This will return a subscription type model for the subscription type that was ad "types": { "SubscriptionType": { "docs": "A subscription type lets customers easily opt out of non-essential communications without missing what's important to them.", + "inline": undefined, "properties": { "consent_type": { "docs": "Describes the type of consent.", @@ -42239,6 +42422,7 @@ This will return a tag object. "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -42259,6 +42443,7 @@ This will return a tag object. }, "Tag": { "docs": "A tag allows you to label your contacts, companies, and conversations and list them using that tag.", + "inline": undefined, "properties": { "applied_at": { "docs": "The time when the tag was applied to the object", @@ -42989,6 +43174,7 @@ types: "types": { "Team": { "docs": "Teams are groups of admins in Intercom.", + "inline": undefined, "properties": { "admin_ids": { "docs": "The list of admin IDs that are a part of the team.", @@ -45652,6 +45838,7 @@ The table below shows the operators you can use to define how you want to search "types": { "Contacts": { "docs": "The list of contacts affected by a ticket.", + "inline": undefined, "properties": { "contacts": { "docs": "The list of contacts affected by this ticket.", @@ -45670,6 +45857,7 @@ The table below shows the operators you can use to define how you want to search "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -45687,6 +45875,7 @@ The table below shows the operators you can use to define how you want to search }, "CreateTicketRequestContactsItemExternalId": { "docs": undefined, + "inline": true, "properties": { "external_id": { "docs": "The external_id you have defined for the contact who is being added as a participant.", @@ -45699,6 +45888,7 @@ The table below shows the operators you can use to define how you want to search }, "Email": { "docs": undefined, + "inline": true, "properties": { "email": { "docs": "The email you have defined for the contact who is being added as a participant. If a contact with this email does not exist, one will be created.", @@ -45711,6 +45901,7 @@ The table below shows the operators you can use to define how you want to search }, "ID": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The identifier for the contact as given by Intercom.", @@ -45725,6 +45916,7 @@ The table below shows the operators you can use to define how you want to search "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -45739,6 +45931,7 @@ The table below shows the operators you can use to define how you want to search }, "Ticket": { "docs": "Tickets are how you track requests from your users.", + "inline": undefined, "properties": { "admin_assignee_id": { "docs": "The id representing the admin assigned to the ticket.", @@ -45832,6 +46025,7 @@ The table below shows the operators you can use to define how you want to search }, "TicketPart": { "docs": "A Ticket Part represents a message in the ticket.", + "inline": undefined, "properties": { "assigned_to": { "docs": "The id of the admin that was assigned the ticket by this ticket_part (null if there has been no change in assignment.)", @@ -45927,6 +46121,7 @@ The table below shows the operators you can use to define how you want to search }, "TicketType": { "docs": "A ticket type, used to define the data fields to be captured in a ticket.", + "inline": undefined, "properties": { "archived": { "docs": "Whether the ticket type is archived or not.", @@ -45992,6 +46187,7 @@ The table below shows the operators you can use to define how you want to search }, "UpdateTicketRequestAssignment": { "docs": undefined, + "inline": true, "properties": { "admin_id": { "docs": "The ID of the admin performing the action.", @@ -46036,6 +46232,7 @@ types: docs: The identifier for the contact as given by Intercom. source: openapi: ../openapi.yml + inline: true CreateTicketRequestContactsItemExternalId: properties: external_id: @@ -46045,6 +46242,7 @@ types: a participant. source: openapi: ../openapi.yml + inline: true Email: properties: email: @@ -46055,6 +46253,7 @@ types: created. source: openapi: ../openapi.yml + inline: true CreateTicketRequestContactsItem: discriminated: false union: @@ -46063,6 +46262,7 @@ types: - type: Email source: openapi: ../openapi.yml + inline: true UpdateTicketRequestState: enum: - in_progress @@ -46083,6 +46283,7 @@ types: 0 to unassign it. source: openapi: ../openapi.yml + inline: true TicketCategory: enum: - Customer @@ -47696,14 +47897,8 @@ docs: Everything about your tickets "docs": "Represents the role of the Contact model. Accepts `lead` or `user`.", "type": "string", }, - "user": { - "inline": true, - "type": "unknown", - }, - "visitor": { - "inline": true, - "type": "unknown", - }, + "user": "unknown", + "visitor": "unknown", }, }, "content-type": "application/json", @@ -48413,12 +48608,8 @@ service: docs: >- Represents the role of the Contact model. Accepts `lead` or `user`. - user: - type: unknown - inline: true - visitor: - type: unknown - inline: true + user: unknown + visitor: unknown content-type: application/json response: docs: successful diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/json-string.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/json-string.json index 9c68f8b6963..516fcbe17fb 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/json-string.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/json-string.json @@ -8,6 +8,7 @@ "types": { "User": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "optional", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/merge.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/merge.json index da62e8f69b8..5419f90792a 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/merge.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/merge.json @@ -8,6 +8,7 @@ "types": { "AccountDetails": { "docs": undefined, + "inline": undefined, "properties": { "category": "optional", "end_user_email_address": { @@ -58,6 +59,7 @@ The `LinkedAccount` object is used to represent an end user's link with a specif ### Usage Example View a list of your organization's `LinkedAccount` objects.", + "inline": undefined, "properties": { "category": "optional", "end_user_email_address": "string", @@ -79,6 +81,7 @@ View a list of your organization's `LinkedAccount` objects.", }, "AccountDetailsAndActionsIntegration": { "docs": undefined, + "inline": undefined, "properties": { "available_model_operations": "optional>", "categories": "list", @@ -108,6 +111,7 @@ View a list of your organization's `LinkedAccount` objects.", }, "AccountIntegration": { "docs": undefined, + "inline": undefined, "properties": { "api_endpoints_to_documentation_urls": { "docs": "Mapping of API endpoints to documentation urls for support. Example: {'GET': [['/common-model-scopes', 'https://docs.merge.dev/accounting/common-model-scopes/#common_model_scopes_retrieve'],['/common-model-actions', 'https://docs.merge.dev/accounting/common-model-actions/#common_model_actions_retrieve']], 'POST': []}", @@ -163,6 +167,7 @@ View a list of your organization's `LinkedAccount` objects.", }, "AccountToken": { "docs": undefined, + "inline": undefined, "properties": { "account_token": "string", "integration": "AccountIntegration", @@ -189,6 +194,7 @@ The `Activity` object is used to see all available model/operation combinations ### Usage Example Fetch all the actions available for the `Zenefits` integration.", + "inline": undefined, "properties": { "available_model_operations": "optional>", "integration": "AccountIntegration", @@ -205,6 +211,7 @@ The `BankInfo` object is used to represent the Bank Account information for an E ### Usage Example Fetch from the `LIST BankInfo` endpoint and filter by `ID` to show all bank information.", + "inline": undefined, "properties": { "account_number": { "docs": "The account number.", @@ -280,6 +287,7 @@ The `Benefit` object is used to represent a benefit that an employee has enrolle ### Usage Example Fetch from the `LIST Benefits` endpoint and filter by `ID` to show all benefits.", + "inline": undefined, "properties": { "benefit_plan_type": { "docs": "The type of benefit plan", @@ -387,6 +395,7 @@ Fetch from the `LIST Benefits` endpoint and filter by `ID` to show all benefits. }, "CommonModelScopesBodyRequest": { "docs": undefined, + "inline": undefined, "properties": { "disabled_fields": "list", "enabled_actions": "list", @@ -411,6 +420,7 @@ The `Company` object is used to represent a company within the HRIS / Payroll sy ### Usage Example Fetch from the `LIST Companies` endpoint and filter by `ID` to show all companies.", + "inline": undefined, "properties": { "display_name": { "docs": "The company's display name.", @@ -454,6 +464,7 @@ Fetch from the `LIST Companies` endpoint and filter by `ID` to show all companie }, "ConditionSchema": { "docs": undefined, + "inline": undefined, "properties": { "common_model": { "docs": "The common model for which a condition schema is defined.", @@ -1035,6 +1046,7 @@ The `DataPassthrough` object is used to send information to an otherwise-unsuppo ### Usage Example Create a `DataPassthrough` to get team hierarchies from your Rippling integration.", + "inline": undefined, "properties": { "base_url_override": { "type": "optional", @@ -1084,6 +1096,7 @@ Create a `DataPassthrough` to get team hierarchies from your Rippling integratio }, "DebugModeLog": { "docs": undefined, + "inline": undefined, "properties": { "dashboard_view": "string", "log_id": "string", @@ -1095,6 +1108,7 @@ Create a `DataPassthrough` to get team hierarchies from your Rippling integratio }, "DebugModelLogSummary": { "docs": undefined, + "inline": undefined, "properties": { "method": "string", "status_code": "integer", @@ -1111,6 +1125,7 @@ The `Deduction` object is used to represent an array of the wages withheld from ### Usage Example Fetch from the `LIST Deductions` endpoint and filter by `ID` to show all deductions.", + "inline": undefined, "properties": { "company_deduction": { "docs": "The amount of money that is withheld on behalf of an employee by the company.", @@ -1168,6 +1183,7 @@ The `Earning` object is used to represent an array of different compensations th ### Usage Example Fetch from the `LIST Earnings` endpoint and filter by `ID` to show all earnings.", + "inline": undefined, "properties": { "amount": { "docs": "The amount earned.", @@ -1241,6 +1257,7 @@ The `Employee` object is used to represent any person who has been employed by a ### Usage Example Fetch from the `LIST Employee` endpoint and filter by `ID` to show all employees.", + "inline": undefined, "properties": { "avatar": { "docs": "The URL of the employee's avatar image.", @@ -1322,7 +1339,6 @@ Fetch from the `LIST Employee` endpoint and filter by `ID` to show all employees "hire_date": { "availability": "deprecated", "docs": "The date that the employee was hired, usually the day that an offer letter is signed. If an employee has multiple hire dates from previous employments, this represents the most recent hire date. Note: If you're looking for the employee's start date, refer to the start_date field.", - "inline": undefined, "type": "optional", }, "home_location": { @@ -1465,6 +1481,7 @@ Fetch from the `LIST Employee` endpoint and filter by `ID` to show all employees }, "EmployeeEndpointRequest": { "docs": undefined, + "inline": undefined, "properties": { "model": "EmployeeRequest", }, @@ -1479,6 +1496,7 @@ The `EmployeePayrollRun` object is used to represent an employee's pay statement ### Usage Example Fetch from the `LIST EmployeePayrollRun` endpoint and filter by `ID` to show all employee payroll runs.", + "inline": undefined, "properties": { "check_date": { "docs": "The day and time the payroll run was checked.", @@ -1558,6 +1576,7 @@ The `Employee` object is used to represent any person who has been employed by a ### Usage Example Fetch from the `LIST Employee` endpoint and filter by `ID` to show all employees.", + "inline": undefined, "properties": { "avatar": { "docs": "The URL of the employee's avatar image.", @@ -1634,7 +1653,6 @@ Fetch from the `LIST Employee` endpoint and filter by `ID` to show all employees "hire_date": { "availability": "deprecated", "docs": "The date that the employee was hired, usually the day that an offer letter is signed. If an employee has multiple hire dates from previous employments, this represents the most recent hire date. Note: If you're looking for the employee's start date, refer to the start_date field.", - "inline": undefined, "type": "optional", }, "home_location": { @@ -1756,6 +1774,7 @@ Fetch from the `LIST Employee` endpoint and filter by `ID` to show all employees }, "EmployeeResponse": { "docs": undefined, + "inline": undefined, "properties": { "errors": "list", "logs": "optional>", @@ -1775,6 +1794,7 @@ Please note: When there is a change in pay or title, integrations with historica ### Usage Example Fetch from the `LIST Employments` endpoint and filter by `ID` to show all employees.", + "inline": undefined, "properties": { "effective_date": { "docs": "The position's effective date.", @@ -2250,6 +2270,7 @@ Fetch from the `LIST Employments` endpoint and filter by `ID` to show all employ }, "EndUserDetailsRequest": { "docs": undefined, + "inline": undefined, "properties": { "categories": { "docs": "The integration categories to show in Merge Link.", @@ -2323,6 +2344,7 @@ Fetch from the `LIST Employments` endpoint and filter by `ID` to show all employ }, "ErrorValidationProblem": { "docs": undefined, + "inline": undefined, "properties": { "detail": "string", "problem_type": "string", @@ -2398,6 +2420,7 @@ The `GenerateRemoteKey` object is used to represent a request for a new remote k ### Usage Example Post a `GenerateRemoteKey` to create a new remote key.", + "inline": undefined, "properties": { "name": { "type": "string", @@ -2420,6 +2443,7 @@ The `Group` object is used to represent any subset of employees, such as `PayGro ### Usage Example Fetch from the `LIST Employee` endpoint and expand groups to view an employee's groups.", + "inline": undefined, "properties": { "field_mappings": "optional>", "id": { @@ -2492,6 +2516,7 @@ Fetch from the `LIST Employee` endpoint and expand groups to view an employee's }, "IgnoreCommonModelRequest": { "docs": undefined, + "inline": undefined, "properties": { "message": { "type": "optional", @@ -2510,6 +2535,7 @@ Fetch from the `LIST Employee` endpoint and expand groups to view an employee's }, "Issue": { "docs": undefined, + "inline": undefined, "properties": { "end_user": "optional>", "error_description": "string", @@ -2551,6 +2577,7 @@ Fetch from the `LIST Employee` endpoint and expand groups to view an employee's }, "LinkToken": { "docs": undefined, + "inline": undefined, "properties": { "integration_name": "optional", "link_token": "string", @@ -2562,6 +2589,7 @@ Fetch from the `LIST Employee` endpoint and expand groups to view an employee's }, "LinkedAccountCondition": { "docs": undefined, + "inline": undefined, "properties": { "common_model": { "docs": "The common model for a specific condition.", @@ -2597,6 +2625,7 @@ Fetch from the `LIST Employee` endpoint and expand groups to view an employee's }, "LinkedAccountConditionRequest": { "docs": undefined, + "inline": undefined, "properties": { "condition_schema_id": { "docs": "The ID indicating which condition schema to use for a specific condition.", @@ -2626,6 +2655,7 @@ Fetch from the `LIST Employee` endpoint and expand groups to view an employee's }, "LinkedAccountSelectiveSyncConfiguration": { "docs": undefined, + "inline": undefined, "properties": { "linked_account_conditions": { "docs": "The conditions belonging to a selective sync.", @@ -2638,6 +2668,7 @@ Fetch from the `LIST Employee` endpoint and expand groups to view an employee's }, "LinkedAccountSelectiveSyncConfigurationRequest": { "docs": undefined, + "inline": undefined, "properties": { "linked_account_conditions": { "docs": "The conditions belonging to a selective sync.", @@ -2650,6 +2681,7 @@ Fetch from the `LIST Employee` endpoint and expand groups to view an employee's }, "LinkedAccountStatus": { "docs": undefined, + "inline": undefined, "properties": { "can_make_request": "boolean", "linked_account_status": "string", @@ -2665,6 +2697,7 @@ The `Location` object is used to represent an address that can be associated wit ### Usage Example Fetch from the `LIST Locations` endpoint and filter by `ID` to show all office locations.", + "inline": undefined, "properties": { "city": { "docs": "The location's city.", @@ -3013,6 +3046,7 @@ Fetch from the `LIST Locations` endpoint and filter by `ID` to show all office l }, "MetaResponse": { "docs": undefined, + "inline": undefined, "properties": { "has_conditional_params": "boolean", "has_required_linked_account_params": "boolean", @@ -3052,6 +3086,7 @@ The `ModelOperation` object is used to represent the operations that are current ### Usage Example View what operations are supported for the `Candidate` endpoint.", + "inline": undefined, "properties": { "available_operations": "list", "model_name": "string", @@ -3069,6 +3104,7 @@ The `MultipartFormField` object is used to represent fields in an HTTP request u ### Usage Example Create a `MultipartFormField` to define a multipart form entry.", + "inline": undefined, "properties": { "content_type": { "docs": "The MIME type of the file, if the field is for a file.", @@ -3125,6 +3161,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "OperatorSchema": { "docs": undefined, + "inline": undefined, "properties": { "is_unique": { "docs": "Whether the operator can be repeated multiple times.", @@ -3141,6 +3178,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedAccountDetailsAndActionsList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3152,6 +3190,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedBankInfoList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3163,6 +3202,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedBenefitList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3174,6 +3214,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedCompanyList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3185,6 +3226,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedConditionSchemaList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3196,6 +3238,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedEmployeeList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3207,6 +3250,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedEmployeePayrollRunList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3218,6 +3262,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedEmploymentList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3229,6 +3274,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedGroupList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3240,6 +3286,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedIssueList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3251,6 +3298,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedLocationList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3262,6 +3310,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedPayGroupList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3273,6 +3322,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedPayrollRunList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3284,6 +3334,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedSyncStatusList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3295,6 +3346,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedTeamList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3306,6 +3358,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedTimeOffBalanceList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3317,6 +3370,7 @@ Create a `MultipartFormField` to define a multipart form entry.", }, "PaginatedTimeOffList": { "docs": undefined, + "inline": undefined, "properties": { "next": "optional", "previous": "optional", @@ -3980,6 +4034,7 @@ The `PayGroup` object is used to represent a subset of employees that are put to ### Usage Example Fetch from the `LIST PayGroup` endpoint and filter by `ID` to show all pay group information.", + "inline": undefined, "properties": { "field_mappings": "optional>", "id": { @@ -4045,6 +4100,7 @@ The `PayrollRun` object is used to represent a group of pay statements for a spe ### Usage Example Fetch from the `LIST PayrollRuns` endpoint and filter by `ID` to show all payroll runs.", + "inline": undefined, "properties": { "check_date": { "docs": "The day and time the payroll run was checked.", @@ -4140,6 +4196,7 @@ Fetch from the `LIST PayrollRuns` endpoint and filter by `ID` to show all payrol }, "RemoteData": { "docs": undefined, + "inline": undefined, "properties": { "data": "optional>", "path": "string", @@ -4155,6 +4212,7 @@ The `RemoteKey` object is used to represent a request for a new remote key. ### Usage Example Post a `GenerateRemoteKey` to receive a new `RemoteKey`.", + "inline": undefined, "properties": { "key": "string", "name": "string", @@ -4170,6 +4228,7 @@ The `RemoteKeyForRegeneration` object is used to exchange an old remote key for ### Usage Example Post a `RemoteKeyForRegeneration` to swap out an old remote key for a new one", + "inline": undefined, "properties": { "name": { "type": "string", @@ -4192,6 +4251,7 @@ The `RemoteResponse` object is used to represent information returned from a thi ### Usage Example View the `RemoteResponse` returned from your `DataPassthrough`.", + "inline": undefined, "properties": { "headers": "optional>", "method": "string", @@ -4300,6 +4360,7 @@ The `SyncStatus` object is used to represent the syncing state of an account ### Usage Example View the `SyncStatus` for an account to see how recently its models were synced.", + "inline": undefined, "properties": { "is_initial_sync": "boolean", "last_sync_start": "optional", @@ -4339,6 +4400,7 @@ The `Tax` object is used to represent an array of the tax deductions for a given ### Usage Example Fetch from the `LIST Taxes` endpoint and filter by `ID` to show all taxes.", + "inline": undefined, "properties": { "amount": { "docs": "The tax amount.", @@ -4396,6 +4458,7 @@ The `Team` object is used to represent a subdivision of the company, usually a d ### Usage Example If you're building a way to filter by `Team`, you'd hit the `GET Teams` endpoint to fetch the `Teams`, and then use the `ID` of the team your user selects to filter the `GET Employees` endpoint.", + "inline": undefined, "properties": { "field_mappings": "optional>", "id": { @@ -4446,6 +4509,7 @@ The `TimeOff` object is used to represent all employees' Time Off entries. ### Usage Example Fetch from the `LIST TimeOffs` endpoint and filter by `ID` to show all time off requests.", + "inline": undefined, "properties": { "amount": { "docs": "The time off quantity measured by the prescribed “units”.", @@ -4543,6 +4607,7 @@ The `TimeOffBalance` object is used to represent current balances for an employe ### Usage Example Fetch from the `LIST TimeOffBalances` endpoint and filter by `ID` to show all time off balances.", + "inline": undefined, "properties": { "balance": { "docs": "The current remaining PTO balance, always measured in terms of hours.", @@ -4603,6 +4668,7 @@ Fetch from the `LIST TimeOffBalances` endpoint and filter by `ID` to show all ti }, "TimeOffEndpointRequest": { "docs": undefined, + "inline": undefined, "properties": { "model": "TimeOffRequest", }, @@ -4617,6 +4683,7 @@ The `TimeOff` object is used to represent all employees' Time Off entries. ### Usage Example Fetch from the `LIST TimeOffs` endpoint and filter by `ID` to show all time off requests.", + "inline": undefined, "properties": { "amount": { "docs": "The time off quantity measured by the prescribed “units”.", @@ -4691,6 +4758,7 @@ Fetch from the `LIST TimeOffs` endpoint and filter by `ID` to show all time off }, "TimeOffResponse": { "docs": undefined, + "inline": undefined, "properties": { "errors": "list", "logs": "optional>", @@ -4731,6 +4799,7 @@ Fetch from the `LIST TimeOffs` endpoint and filter by `ID` to show all time off }, "ValidationProblemSource": { "docs": undefined, + "inline": undefined, "properties": { "pointer": "string", }, @@ -4740,6 +4809,7 @@ Fetch from the `LIST TimeOffs` endpoint and filter by `ID` to show all time off }, "WarningValidationProblem": { "docs": undefined, + "inline": undefined, "properties": { "detail": "string", "problem_type": "string", @@ -4752,6 +4822,7 @@ Fetch from the `LIST TimeOffs` endpoint and filter by `ID` to show all time off }, "WebhookReceiver": { "docs": undefined, + "inline": undefined, "properties": { "event": "string", "is_active": "boolean", @@ -4763,6 +4834,7 @@ Fetch from the `LIST TimeOffs` endpoint and filter by `ID` to show all time off }, "WebhookReceiverRequest": { "docs": undefined, + "inline": undefined, "properties": { "event": { "type": "string", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/multi-url-generators-yml.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/multi-url-generators-yml.json index 2136dc9d29b..af8583529ca 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/multi-url-generators-yml.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/multi-url-generators-yml.json @@ -126,6 +126,7 @@ "types": { "Token": { "docs": undefined, + "inline": undefined, "properties": { "accessToken": "optional", "expiresIn": "optional", @@ -137,6 +138,7 @@ }, "User": { "docs": undefined, + "inline": undefined, "properties": { "createdAt": "optional", "email": "optional", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/non-alphanumeric-characters.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/non-alphanumeric-characters.json index 43fd15d72e3..0e93f21bc04 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/non-alphanumeric-characters.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/non-alphanumeric-characters.json @@ -72,6 +72,7 @@ }, "Settings": { "docs": undefined, + "inline": undefined, "properties": { "separator": "optional", }, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/oauth.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/oauth.json index 55f9269234b..4fa557b7ba4 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/oauth.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/oauth.json @@ -129,6 +129,7 @@ }, "AuthGetTokenResponse": { "docs": undefined, + "inline": undefined, "properties": { "access_token": "optional", "expires_in": { diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/only-include-referenced-schemas.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/only-include-referenced-schemas.json index ecd959bfaa3..85b24e896f7 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/only-include-referenced-schemas.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/only-include-referenced-schemas.json @@ -2745,6 +2745,7 @@ "types": { "ActivityLog": { "docs": "Activities performed by Admins.", + "inline": undefined, "properties": { "activity_description": { "docs": "A sentence or two describing the activity.", @@ -2766,7 +2767,6 @@ }, "performed_by": { "docs": "Details about the Admin involved in the activity.", - "inline": true, "type": "optional", }, }, @@ -2850,6 +2850,7 @@ }, "ActivityLogList": { "docs": "A paginated list of activity logs.", + "inline": undefined, "properties": { "activity_logs": { "docs": "An array of activity logs", @@ -2869,6 +2870,7 @@ }, "ActivityLogMetadata": { "docs": "Additional data provided about Admin activity.", + "inline": undefined, "properties": { "auto_changed": { "docs": "Indicates if the status was changed automatically or manually.", @@ -2913,6 +2915,7 @@ }, "ActivityLogPerformedBy": { "docs": "Details about the Admin involved in the activity.", + "inline": true, "properties": { "email": { "docs": "The email of the admin.", @@ -2937,6 +2940,7 @@ }, "AddressableList": { "docs": "A list used to access other resources from a parent model.", + "inline": undefined, "properties": { "id": { "docs": "The id of the addressable object", @@ -2969,6 +2973,7 @@ }, "Admin": { "docs": "Admins are the teammate accounts that have access to a workspace", + "inline": undefined, "properties": { "app": { "docs": "App that the admin belongs to.", @@ -2976,7 +2981,6 @@ }, "avatar": { "docs": "This object represents the avatar associated with the admin.", - "inline": true, "type": "optional", }, "away_mode_enabled": { @@ -3026,6 +3030,7 @@ }, "AdminPriorityLevel": { "docs": "Admin priority levels for the team", + "inline": undefined, "properties": { "primary_admin_ids": { "docs": "The primary admin ids for the team", @@ -3042,6 +3047,7 @@ }, "AdminReplyConversationRequest": { "docs": "Payload of the request to reply on behalf of an admin", + "inline": undefined, "properties": { "admin_id": { "docs": "The id of the admin who is authoring the comment.", @@ -3081,6 +3087,7 @@ }, "AdminReplyTicketRequest": { "docs": "Payload of the request to reply on behalf of an admin", + "inline": undefined, "properties": { "admin_id": { "docs": "The id of the admin who is authoring the comment.", @@ -3121,6 +3128,7 @@ }, "AdminReplyTicketRequestReplyOptionsItem": { "docs": undefined, + "inline": true, "properties": { "text": { "docs": "The text to display in this quick reply option.", @@ -3143,6 +3151,7 @@ }, "AdminWithAppAvatar": { "docs": "This object represents the avatar associated with the admin.", + "inline": true, "properties": { "image_url": { "docs": "This object represents the avatar associated with the admin.", @@ -3166,6 +3175,7 @@ }, "Admins": { "docs": "A list of admins associated with a given workspace.", + "inline": undefined, "properties": { "admins": { "docs": "A list of admins associated with a given workspace.", @@ -3182,6 +3192,7 @@ }, "App": { "docs": "App is a workspace on Intercom", + "inline": undefined, "properties": { "created_at": { "docs": "When the app was created.", @@ -3219,6 +3230,7 @@ }, "ArticleContent": { "docs": "The Content of an Article.", + "inline": undefined, "properties": { "author_id": { "docs": "The ID of the author of the article.", @@ -3273,6 +3285,7 @@ }, "ArticleStatistics": { "docs": "The statistics of an article.", + "inline": undefined, "properties": { "conversions": { "docs": "The number of conversations started from the article.", @@ -3309,6 +3322,7 @@ }, "ArticleTranslatedContent": { "docs": "The Translated Content of an Article. The keys are the locale codes and the values are the translated content of the article.", + "inline": undefined, "properties": { "ar": { "docs": "The content of the article in Arabic", @@ -3469,6 +3483,7 @@ }, "Articles": { "docs": "This will return a list of articles for the App.", + "inline": undefined, "properties": { "data": { "docs": "An array of Article objects", @@ -3492,6 +3507,7 @@ }, "AssignConversationRequest": { "docs": "Payload of the request to assign a conversation", + "inline": undefined, "properties": { "admin_id": { "docs": "The id of the admin who is performing the action.", @@ -3522,6 +3538,7 @@ }, "CloseConversationRequest": { "docs": "Payload of the request to close a conversation", + "inline": undefined, "properties": { "admin_id": { "docs": "The id of the admin who is performing the action.", @@ -3539,6 +3556,7 @@ }, "Collections": { "docs": "This will return a list of Collections for the App.", + "inline": undefined, "properties": { "data": { "docs": "An array of collection objects", @@ -3562,6 +3580,7 @@ }, "Companies": { "docs": "This will return a list of companies for the App.", + "inline": undefined, "properties": { "data": { "docs": "An array containing Company Objects.", @@ -3585,6 +3604,7 @@ }, "CompanyAttachedContacts": { "docs": "A list of Contact Objects", + "inline": undefined, "properties": { "data": { "docs": "An array containing Contact Objects", @@ -3608,6 +3628,7 @@ }, "CompanyAttachedSegments": { "docs": "A list of Segment Objects", + "inline": undefined, "properties": { "data": { "docs": "An array containing Segment Objects", @@ -3624,6 +3645,7 @@ }, "CompanyScroll": { "docs": "Companies allow you to represent organizations using your product. Each company will have its own description and be associated with contacts. You can fetch, create, update and list companies.", + "inline": undefined, "properties": { "data": { "type": "optional>", @@ -3650,6 +3672,7 @@ }, "ContactArchived": { "docs": "archived contact object", + "inline": undefined, "properties": { "archived": { "docs": "Whether the contact is archived or not.", @@ -3674,6 +3697,7 @@ }, "ContactAttachedCompanies": { "docs": "A list of Company Objects", + "inline": undefined, "properties": { "companies": { "docs": "An array containing Company Objects", @@ -3697,6 +3721,7 @@ }, "ContactCompanies": { "docs": "An object containing companies meta data about the companies that a contact has. Up to 10 will be displayed here. Use the url to get more.", + "inline": undefined, "properties": { "has_more": { "docs": "Whether there's more Addressable Objects to be viewed. If true, use the url to view all", @@ -3723,6 +3748,7 @@ }, "ContactDeleted": { "docs": "deleted contact object", + "inline": undefined, "properties": { "deleted": { "docs": "Whether the contact is deleted or not.", @@ -3747,6 +3773,7 @@ }, "ContactList": { "docs": "Contacts are your users in Intercom.", + "inline": undefined, "properties": { "data": { "docs": "The list of contact objects", @@ -3770,6 +3797,7 @@ }, "ContactLocation": { "docs": "An object containing location meta data about a Intercom contact.", + "inline": undefined, "properties": { "city": { "docs": "The city that the contact is located in", @@ -3794,6 +3822,7 @@ }, "ContactNotes": { "docs": "An object containing notes meta data about the notes that a contact has. Up to 10 will be displayed here. Use the url to get more.", + "inline": undefined, "properties": { "data": { "docs": "This object represents the notes attached to a contact.", @@ -3824,6 +3853,7 @@ }, "ContactReference": { "docs": "reference to contact object", + "inline": undefined, "properties": { "external_id": { "docs": "The unique identifier for the contact which is provided by the Client.", @@ -3844,6 +3874,7 @@ }, "ContactReplyBaseRequest": { "docs": undefined, + "inline": undefined, "properties": { "attachment_urls": { "docs": "A list of image URLs that will be added as attachments. You can include up to 10 URLs.", @@ -3868,6 +3899,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -3888,6 +3920,7 @@ "extends": [ "ContactReplyBaseRequest", ], + "inline": undefined, "properties": { "attachment_files": { "docs": "A list of files that will be added as attachments.", @@ -3907,6 +3940,7 @@ "extends": [ "ContactReplyBaseRequest", ], + "inline": undefined, "properties": { "intercom_user_id": { "docs": "The identifier for the contact as given by Intercom.", @@ -3921,6 +3955,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -3941,6 +3976,7 @@ "extends": [ "ContactReplyBaseRequest", ], + "inline": undefined, "properties": { "user_id": { "docs": "The external_id you have defined for the contact.", @@ -3956,6 +3992,7 @@ "extends": [ "ContactReplyBaseRequest", ], + "inline": undefined, "properties": { "attachment_files": { "docs": "A list of files that will be added as attachments. You can include up to 10 files.", @@ -3972,6 +4009,7 @@ }, "ContactSocialProfiles": { "docs": "An object containing social profiles that a contact has.", + "inline": undefined, "properties": { "data": { "docs": "A list of social profiles objects associated with the contact.", @@ -3984,6 +4022,7 @@ }, "ContactTags": { "docs": "An object containing tags meta data about the tags that a contact has. Up to 10 will be displayed here. Use the url to get more.", + "inline": undefined, "properties": { "data": { "docs": "This object represents the tags attached to a contact.", @@ -4014,6 +4053,7 @@ }, "ContactUnarchived": { "docs": "unarchived contact object", + "inline": undefined, "properties": { "archived": { "docs": "Whether the contact is archived or not.", @@ -4038,6 +4078,7 @@ }, "Contacts": { "docs": "The list of contacts (users or leads) involved in this conversation. This will only contain one customer unless more were added via the group conversation feature.", + "inline": undefined, "properties": { "contacts": { "docs": "The list of contacts (users or leads) involved in this conversation. This will only contain one customer unless more were added via the group conversation feature.", @@ -4054,6 +4095,7 @@ }, "ContentSourcesList": { "docs": undefined, + "inline": undefined, "properties": { "content_sources": { "docs": "The content sources used by AI Agent in the conversation.", @@ -4073,6 +4115,7 @@ }, "ConversationAttachmentFiles": { "docs": "Properties of the attachment files in a conversation part", + "inline": undefined, "properties": { "content_type": { "docs": "The content type of the file", @@ -4093,6 +4136,7 @@ }, "ConversationFirstContactReply": { "docs": "An object containing information on the first users message. For a contact initiated message this will represent the users original message.", + "inline": undefined, "properties": { "created_at": { "docs": "", @@ -4113,6 +4157,7 @@ }, "ConversationList": { "docs": "Conversations are how you can communicate with users in Intercom. They are created when a contact replies to an outbound message, or when one admin directly sends a message to a single contact.", + "inline": undefined, "properties": { "conversations": { "docs": "The list of conversation objects", @@ -4136,6 +4181,7 @@ }, "ConversationPart": { "docs": "A Conversation Part represents a message in the conversation.", + "inline": undefined, "properties": { "assigned_to": { "docs": "The id of the admin that was assigned the conversation by this conversation_part (null if there has been no change in assignment.)", @@ -4191,6 +4237,7 @@ }, "ConversationPartAuthor": { "docs": "The object who initiated the conversation, which can be a Contact, Admin or Team. Bots and campaigns send messages on behalf of Admins or Teams. For Twitter, this will be blank.", + "inline": undefined, "properties": { "email": { "docs": "The email of the author", @@ -4221,6 +4268,7 @@ }, "ConversationParts": { "docs": "A list of Conversation Part objects for each part message in the conversation. This is only returned when Retrieving a Conversation, and ignored when Listing all Conversations. There is a limit of 500 parts.", + "inline": undefined, "properties": { "conversation_parts": { "docs": "A list of Conversation Part objects for each part message in the conversation. This is only returned when Retrieving a Conversation, and ignored when Listing all Conversations. There is a limit of 500 parts.", @@ -4241,6 +4289,7 @@ }, "ConversationRating": { "docs": "The Conversation Rating object which contains information on the rating and/or remark added by a Contact and the Admin assigned to the conversation.", + "inline": undefined, "properties": { "contact": { "type": "optional", @@ -4267,6 +4316,7 @@ }, "ConversationSource": { "docs": "The Conversation Part that originated this conversation, which can be Contact, Admin, Campaign, Automated or Operator initiated.", + "inline": undefined, "properties": { "attachments": { "docs": "A list of attachments for the part.", @@ -4310,6 +4360,7 @@ }, "ConversationStatistics": { "docs": "A Statistics object containing all information required for reporting, with timestamps and calculated metrics.", + "inline": undefined, "properties": { "count_assignments": { "docs": "Number of assignments after first_contact_reply_at.", @@ -4394,6 +4445,7 @@ }, "ConversationTeammates": { "docs": "The list of teammates who participated in the conversation (wrote at least one conversation part).", + "inline": undefined, "properties": { "teammates": { "docs": "The list of teammates who participated in the conversation (wrote at least one conversation part).", @@ -4410,6 +4462,7 @@ }, "CreateArticleRequest": { "docs": "You can create an Article", + "inline": undefined, "properties": { "author_id": { "docs": "The id of the author of the article. For multilingual articles, this will be the id of the author of the default language's content. Must be a teammate on the help center's workspace.", @@ -4462,6 +4515,7 @@ "CreateMessageRequestOne": "unknown", "CreateOrUpdateCompanyRequest": { "docs": "You can create or update a Company", + "inline": undefined, "properties": { "company_id": { "docs": "The company id you have defined for the company. Can't be updated", @@ -4506,6 +4560,7 @@ }, "CreateOrUpdateTagRequest": { "docs": "You can create or update an existing tag.", + "inline": undefined, "properties": { "id": { "docs": "The id of tag to updates.", @@ -4522,6 +4577,7 @@ }, "CreatePhoneSwitchRequest": { "docs": "You can create an phone switch", + "inline": undefined, "properties": { "custom_attributes": { "type": "optional", @@ -4539,6 +4595,7 @@ "docs": "The request payload for creating a ticket type. You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet](https://twemoji-cheatsheet.vercel.app/) ", + "inline": undefined, "properties": { "category": { "docs": "Category of the Ticket Type.", @@ -4585,6 +4642,7 @@ "docs": "Cursor-based pagination is a technique used in the Intercom API to navigate through large amounts of data. A "cursor" or pointer is used to keep track of the current position in the result set, allowing the API to return the data in small chunks or "pages" as needed. ", + "inline": undefined, "properties": { "next": { "type": "optional", @@ -4618,6 +4676,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -4632,6 +4691,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -4649,6 +4709,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "CustomerRequestIntercomUserId": { "docs": undefined, + "inline": true, "properties": { "intercom_user_id": { "docs": "The identifier for the contact as given by Intercom.", @@ -4661,6 +4722,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "CustomerRequestUserId": { "docs": undefined, + "inline": true, "properties": { "user_id": { "docs": "The external_id you have defined for the contact who is being added as a participant.", @@ -4673,6 +4735,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "DataAttributeList": { "docs": "A list of all data attributes belonging to a workspace for contacts, companies or conversations.", + "inline": undefined, "properties": { "data": { "docs": "A list of data attributes", @@ -4689,6 +4752,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "DataEventSummary": { "docs": "This will return a summary of data events for the App.", + "inline": undefined, "properties": { "email": { "docs": "The email address of the user", @@ -4717,6 +4781,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "DataEventSummaryItem": { "docs": "This will return a summary of a data event for the App.", + "inline": undefined, "properties": { "count": { "docs": "The number of times the event was sent", @@ -4745,6 +4810,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "DeletedArticleObject": { "docs": "Response returned when an object is deleted", + "inline": undefined, "properties": { "deleted": { "docs": "Whether the article was deleted successfully or not.", @@ -4765,6 +4831,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "DeletedCollectionObject": { "docs": "Response returned when an object is deleted", + "inline": undefined, "properties": { "deleted": { "docs": "Whether the collection was deleted successfully or not.", @@ -4785,6 +4852,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "DeletedCompanyObject": { "docs": "Response returned when an object is deleted", + "inline": undefined, "properties": { "deleted": { "docs": "Whether the company was deleted successfully or not.", @@ -4805,6 +4873,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "DeletedObject": { "docs": "Response returned when an object is deleted", + "inline": undefined, "properties": { "deleted": { "docs": "Whether the news item was deleted successfully or not.", @@ -4825,6 +4894,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "Email": { "docs": undefined, + "inline": true, "properties": { "email": { "docs": "The email you have defined for the contact who is being added as a participant.", @@ -4837,6 +4907,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "Error": { "docs": "The API will return an Error List for a failed request, which will contain one or more Error objects.", + "inline": undefined, "properties": { "errors": { "docs": "An array of one or more error objects", @@ -4863,6 +4934,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "ErrorErrorsItem": { "docs": undefined, + "inline": true, "properties": { "code": { "docs": "A string indicating the kind of error, used to further qualify the HTTP response code", @@ -4883,6 +4955,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "File": { "docs": "The value describing a file upload set for a custom attribute", + "inline": undefined, "properties": { "content_type": { "docs": "The type of file", @@ -4918,6 +4991,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "GroupContent": { "docs": "The Content of a Group.", + "inline": undefined, "properties": { "description": { "docs": "The description of the collection. Only available for collections.", @@ -4938,6 +5012,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "GroupTranslatedContent": { "docs": "The Translated Content of an Group. The keys are the locale codes and the values are the translated content of the Group.", + "inline": undefined, "properties": { "ar": { "docs": "The content of the group in Arabic", @@ -5098,6 +5173,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "LinkedObject": { "docs": "A linked conversation or ticket.", + "inline": undefined, "properties": { "category": { "docs": "Category of the Linked Ticket Object.", @@ -5118,6 +5194,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "LinkedObjectList": { "docs": "An object containing metadata about linked conversations and linked tickets. Up to 1000 can be returned.", + "inline": undefined, "properties": { "data": { "docs": "An array containing the linked conversations and linked tickets.", @@ -5152,6 +5229,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "MultipleFilterSearchRequest": { "docs": "Search using Intercoms Search APIs with more than one filter.", + "inline": undefined, "properties": { "operator": { "docs": "An operator to allow boolean inspection between multiple fields.", @@ -5179,6 +5257,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -5195,6 +5274,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "NewsItemRequest": { "docs": "A News Item is a content type in Intercom enabling you to announce product updates, company news, promotions, events and more with your customers.", + "inline": undefined, "properties": { "body": { "docs": "The news item body, which may contain HTML.", @@ -5245,6 +5325,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "NoteList": { "docs": "A paginated list of notes associated with a contact.", + "inline": undefined, "properties": { "data": { "docs": "An array of notes.", @@ -5268,6 +5349,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul }, "OpenConversationRequest": { "docs": "Payload of the request to open a conversation", + "inline": undefined, "properties": { "admin_id": { "docs": "The id of the admin who is performing the action.", @@ -5283,6 +5365,7 @@ A "cursor" or pointer is used to keep track of the current position in the resul Their responses are likely to contain a pages object that hosts pagination links which a client can use to paginate through the data without having to construct a query. The link relations for the pages field are as follows. ", + "inline": undefined, "properties": { "next": { "docs": "A link to the next page of results. A response that does not contain a next link does not have further data to fetch.", @@ -5313,6 +5396,7 @@ Their responses are likely to contain a pages object that hosts pagination links }, "PaginatedResponse": { "docs": "Paginated Response", + "inline": undefined, "properties": { "data": { "docs": "An array of Objects", @@ -5367,6 +5451,7 @@ Their responses are likely to contain a pages object that hosts pagination links }, "PartAttachment": { "docs": "The file attached to a part", + "inline": undefined, "properties": { "content_type": { "docs": "The content type of the attachment", @@ -5403,6 +5488,7 @@ Their responses are likely to contain a pages object that hosts pagination links }, "PhoneSwitch": { "docs": "Phone Switch Response", + "inline": undefined, "properties": { "phone": { "docs": "Phone number in E.164 format, that has received the SMS to continue the conversation in the Messenger.", @@ -5439,6 +5525,7 @@ Their responses are likely to contain a pages object that hosts pagination links }, "RedactConversationRequestConversationPart": { "docs": "Payload of the request to redact a conversation part", + "inline": true, "properties": { "conversation_id": { "docs": "The id of the conversation.", @@ -5455,6 +5542,7 @@ Their responses are likely to contain a pages object that hosts pagination links }, "RedactConversationRequestSource": { "docs": "Payload of the request to redact a conversation source", + "inline": true, "properties": { "conversation_id": { "docs": "The id of the conversation.", @@ -5471,6 +5559,7 @@ Their responses are likely to contain a pages object that hosts pagination links }, "Reference": { "docs": "reference to another object", + "inline": undefined, "properties": { "id": { "docs": "", @@ -5489,6 +5578,7 @@ Their responses are likely to contain a pages object that hosts pagination links "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -5503,6 +5593,7 @@ Their responses are likely to contain a pages object that hosts pagination links }, "SearchRequest": { "docs": "Search using Intercoms Search APIs.", + "inline": undefined, "properties": { "pagination": { "type": "optional", @@ -5517,6 +5608,7 @@ Their responses are likely to contain a pages object that hosts pagination links "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -5531,6 +5623,7 @@ Their responses are likely to contain a pages object that hosts pagination links }, "SegmentList": { "docs": "This will return a list of Segment Objects. The result may also have a pages object if the response is paginated.", + "inline": undefined, "properties": { "pages": { "docs": "A pagination object, which may be empty, indicating no further pages to fetch.", @@ -5551,6 +5644,7 @@ Their responses are likely to contain a pages object that hosts pagination links }, "Segments": { "docs": "A list of segments objects attached to a specific contact.", + "inline": undefined, "properties": { "data": { "docs": "Segment objects associated with the contact.", @@ -5567,6 +5661,7 @@ Their responses are likely to contain a pages object that hosts pagination links }, "SingleFilterSearchRequest": { "docs": "Search using Intercoms Search APIs with a single filter.", + "inline": undefined, "properties": { "field": { "docs": "The accepted field that you want to search on.", @@ -5619,6 +5714,7 @@ Their responses are likely to contain a pages object that hosts pagination links "docs": "The SLA Applied object contains the details for which SLA has been applied to this conversation. Important: if there are any canceled sla_events for the conversation - meaning an SLA has been manually removed from a conversation, the sla_status will always be returned as null. ", + "inline": undefined, "properties": { "sla_name": { "docs": "The name of the SLA as given by the teammate when it was created.", @@ -5657,6 +5753,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "SnoozeConversationRequest": { "docs": "Payload of the request to snooze a conversation", + "inline": undefined, "properties": { "admin_id": { "docs": "The id of the admin who is performing the action.", @@ -5673,6 +5770,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "SocialProfile": { "docs": "A Social Profile allows you to label your contacts, companies, and conversations and list them using that Social Profile.", + "inline": undefined, "properties": { "name": { "docs": "The name of the Social media profile", @@ -5699,6 +5797,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "StartingAfterPaging": { "docs": undefined, + "inline": undefined, "properties": { "per_page": { "docs": "The number of results to fetch per page.", @@ -5715,6 +5814,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "SubscriptionTypeList": { "docs": "A list of subscription type objects.", + "inline": undefined, "properties": { "data": { "docs": "A list of subscription type objects associated with the workspace .", @@ -5731,6 +5831,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TagCompanyRequest": { "docs": "You can tag a single company or a list of companies.", + "inline": undefined, "properties": { "companies": { "docs": "The id or company_id of the company can be passed as input parameters.", @@ -5747,6 +5848,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TagCompanyRequestCompaniesItem": { "docs": undefined, + "inline": true, "properties": { "company_id": { "docs": "The company id you have defined for the company.", @@ -5763,6 +5865,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TagMultipleUsersRequest": { "docs": "You can tag a list of users.", + "inline": undefined, "properties": { "name": { "docs": "The name of the tag, which will be created if not found.", @@ -5776,6 +5879,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TagMultipleUsersRequestUsersItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The Intercom defined id representing the user.", @@ -5788,6 +5892,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "Tags": { "docs": "A list of tags objects associated with a conversation", + "inline": undefined, "properties": { "tags": { "docs": "A list of tags objects associated with the conversation.", @@ -5804,6 +5909,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TeamList": { "docs": "This will return a list of team objects for the App.", + "inline": undefined, "properties": { "teams": { "docs": "A list of team objects", @@ -5820,6 +5926,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TeamPriorityLevel": { "docs": "Admin priority levels for teams", + "inline": undefined, "properties": { "primary_team_ids": { "docs": "The primary team ids for the team", @@ -5842,6 +5949,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -5857,6 +5965,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TicketList": { "docs": "Tickets are how you track requests from your users.", + "inline": undefined, "properties": { "pages": { "type": "optional", @@ -5880,6 +5989,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TicketPartAuthor": { "docs": "The author that wrote or triggered the part. Can be a bot, admin, team or user.", + "inline": undefined, "properties": { "email": { "docs": "The email of the author", @@ -5922,6 +6032,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TicketParts": { "docs": "A list of Ticket Part objects for each note and event in the ticket. There is a limit of 500 parts.", + "inline": undefined, "properties": { "ticket_parts": { "docs": "A list of Ticket Part objects for each ticket. There is a limit of 500 parts.", @@ -5942,6 +6053,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TicketReply": { "docs": "A Ticket Part representing a note, comment, or quick_reply on a ticket", + "inline": undefined, "properties": { "attachments": { "docs": "A list of attachments for the part.", @@ -6002,6 +6114,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -6014,6 +6127,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TicketTypeAttribute": { "docs": "Ticket type attribute, used to define each data field to be captured in a ticket.", + "inline": undefined, "properties": { "archived": { "docs": "Whether the ticket type attribute is archived or not.", @@ -6094,6 +6208,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TicketTypeAttributeList": { "docs": "A list of attributes associated with a given ticket type.", + "inline": undefined, "properties": { "ticket_type_attributes": { "docs": "A list of ticket type attributes associated with a given ticket type.", @@ -6110,6 +6225,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "TicketTypeList": { "docs": "A list of ticket types associated with a given workspace.", + "inline": undefined, "properties": { "ticket_types": { "docs": "A list of ticket_types associated with a given workspace.", @@ -6126,6 +6242,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "Translation": { "docs": "A translation object contains the localised details of a subscription type.", + "inline": undefined, "properties": { "description": { "docs": "The localised description of the subscription type.", @@ -6146,6 +6263,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "UntagCompanyRequest": { "docs": "You can tag a single company or a list of companies.", + "inline": undefined, "properties": { "companies": { "docs": "The id or company_id of the company can be passed as input parameters.", @@ -6162,6 +6280,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "UntagCompanyRequestCompaniesItem": { "docs": undefined, + "inline": true, "properties": { "company_id": { "docs": "The company id you have defined for the company.", @@ -6182,6 +6301,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a }, "UpdateArticleRequest": { "docs": "You can Update an Article", + "inline": undefined, "properties": { "author_id": { "docs": "The id of the author of the article. For multilingual articles, this will be the id of the author of the default language's content. Must be a teammate on the help center's workspace.", @@ -6233,6 +6353,7 @@ Important: if there are any canceled sla_events for the conversation - meaning a "docs": "The request payload for updating a ticket type. You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet](https://twemoji-cheatsheet.vercel.app/) ", + "inline": undefined, "properties": { "archived": { "docs": "The archived status of the ticket type.", @@ -6282,6 +6403,7 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( "UpdateVisitorRequestOne": "unknown", "Visitor": { "docs": "Visitors are useful for representing anonymous people that have not yet been identified. They usually represent website visitors. Visitors are not visible in Intercom platform. The Visitors resource provides methods to fetch, update, convert and delete.", + "inline": undefined, "properties": { "anonymous": { "docs": "Identifies if this visitor is anonymous.", @@ -6292,11 +6414,9 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( "type": "optional", }, "avatar": { - "inline": true, "type": "optional", }, "companies": { - "inline": true, "type": "optional", }, "created_at": { @@ -6334,7 +6454,6 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( "type": "optional", }, "location_data": { - "inline": true, "type": "optional", }, "marked_email_as_spam": { @@ -6366,7 +6485,6 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( "type": "optional", }, "segments": { - "inline": true, "type": "optional", }, "session_count": { @@ -6378,11 +6496,9 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( "type": "optional", }, "social_profiles": { - "inline": true, "type": "optional", }, "tags": { - "inline": true, "type": "optional", }, "type": { @@ -6429,6 +6545,7 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( }, "VisitorAvatar": { "docs": undefined, + "inline": true, "properties": { "image_url": { "docs": "This object represents the avatar associated with the visitor.", @@ -6452,6 +6569,7 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( }, "VisitorCompanies": { "docs": undefined, + "inline": true, "properties": { "companies": "optional>", "type": { @@ -6465,6 +6583,7 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( }, "VisitorLocationData": { "docs": undefined, + "inline": true, "properties": { "city_name": { "docs": "The city name of the visitor.", @@ -6506,6 +6625,7 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( }, "VisitorSegments": { "docs": undefined, + "inline": true, "properties": { "segments": "optional>", "type": { @@ -6519,6 +6639,7 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( }, "VisitorSocialProfiles": { "docs": undefined, + "inline": true, "properties": { "social_profiles": "optional>", "type": { @@ -6532,6 +6653,7 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( }, "VisitorTags": { "docs": undefined, + "inline": true, "properties": { "tags": "optional>", "type": { @@ -6545,6 +6667,7 @@ You can copy the `icon` property for your ticket type from [Twemoji Cheatsheet]( }, "VisitorTagsTagsItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The id of the tag.", @@ -7959,6 +8082,7 @@ types: docs: The IP address of the admin. source: openapi: ../openapi.yml + inline: true ActivityLogActivityType: enum: - admin_assignment_limit_change @@ -8039,7 +8163,6 @@ types: performed_by: type: optional docs: Details about the Admin involved in the activity. - inline: true metadata: type: optional created_at: @@ -8203,6 +8326,7 @@ types: format: uuid source: openapi: ../openapi.yml + inline: true AdminReplyTicketRequest: docs: Payload of the request to reply on behalf of an admin properties: @@ -8249,6 +8373,7 @@ types: format: uri source: openapi: ../openapi.yml + inline: true Admin: docs: Admins are the teammate accounts that have access to a workspace properties: @@ -8286,7 +8411,6 @@ types: avatar: type: optional docs: This object represents the avatar associated with the admin. - inline: true email_verified: type: optional docs: Identifies if this admin's email is verified. @@ -8833,6 +8957,7 @@ types: participant. source: openapi: ../openapi.yml + inline: true ContactReplyIntercomUserIdRequest: docs: >- Payload of the request to reply on behalf of a contact using their @@ -9483,6 +9608,7 @@ types: docs: The identifier for the contact as given by Intercom. source: openapi: ../openapi.yml + inline: true CustomerRequestUserId: properties: user_id: @@ -9492,6 +9618,7 @@ types: a participant. source: openapi: ../openapi.yml + inline: true CustomerRequest: discriminated: false union: @@ -9628,6 +9755,7 @@ types: was in error. source: openapi: ../openapi.yml + inline: true Error: docs: >- The API will return an Error List for a failed request, which will contain @@ -9864,6 +9992,7 @@ types: type: list source: openapi: ../openapi.yml + inline: true MultipleFilterSearchRequest: docs: Search using Intercoms Search APIs with more than one filter. properties: @@ -10058,6 +10187,7 @@ types: docs: The id of the conversation_part. source: openapi: ../openapi.yml + inline: true RedactConversationRequestSource: docs: Payload of the request to redact a conversation source properties: @@ -10069,6 +10199,7 @@ types: docs: The id of the source. source: openapi: ../openapi.yml + inline: true RedactConversationRequest: discriminant: type base-properties: {} @@ -10106,6 +10237,7 @@ types: - type: MultipleFilterSearchRequest source: openapi: ../openapi.yml + inline: true SearchRequest: docs: Search using Intercoms Search APIs. properties: @@ -10264,6 +10396,7 @@ types: docs: The company id you have defined for the company. source: openapi: ../openapi.yml + inline: true TagCompanyRequest: docs: You can tag a single company or a list of companies. properties: @@ -10293,6 +10426,7 @@ types: docs: The Intercom defined id representing the user. source: openapi: ../openapi.yml + inline: true TagMultipleUsersRequest: docs: You can tag a list of users. properties: @@ -10587,6 +10721,7 @@ types: docs: Always set to true source: openapi: ../openapi.yml + inline: true UntagCompanyRequest: docs: You can tag a single company or a list of companies. properties: @@ -10705,6 +10840,7 @@ types: format: uri source: openapi: ../openapi.yml + inline: true VisitorCompanies: properties: type: @@ -10713,6 +10849,7 @@ types: companies: optional> source: openapi: ../openapi.yml + inline: true VisitorLocationData: properties: type: @@ -10742,6 +10879,7 @@ types: docs: The timezone of the visitor. source: openapi: ../openapi.yml + inline: true VisitorSocialProfiles: properties: type: @@ -10750,6 +10888,7 @@ types: social_profiles: optional> source: openapi: ../openapi.yml + inline: true VisitorTagsTagsItem: properties: type: @@ -10763,6 +10902,7 @@ types: docs: The name of the tag. source: openapi: ../openapi.yml + inline: true VisitorTags: properties: type: @@ -10771,6 +10911,7 @@ types: tags: optional> source: openapi: ../openapi.yml + inline: true VisitorSegments: properties: type: @@ -10779,6 +10920,7 @@ types: segments: optional> source: openapi: ../openapi.yml + inline: true Visitor: docs: >- Visitors are useful for representing anonymous people that have not yet @@ -10815,16 +10957,13 @@ types: docs: The pseudonym of the visitor. avatar: type: optional - inline: true app_id: type: optional docs: The id of the app the visitor is associated with. companies: type: optional - inline: true location_data: type: optional - inline: true las_request_at: type: optional docs: The time the Lead last recorded making a request. @@ -10845,7 +10984,6 @@ types: docs: The number of sessions the Visitor has had. social_profiles: type: optional - inline: true owner_id: type: optional docs: The id of the admin that owns the Visitor. @@ -10860,10 +10998,8 @@ types: docs: Identifies if this visitor has had a hard bounce. tags: type: optional - inline: true segments: type: optional - inline: true custom_attributes: type: optional> docs: The custom attributes you have set on the Visitor. @@ -11316,6 +11452,7 @@ You can view the currently authorised admin along with the embedded app object ( "types": { "Admin": { "docs": "Admins are teammate accounts that have access to a workspace.", + "inline": undefined, "properties": { "avatar": { "docs": "Image for the associated team or teammate", @@ -11728,6 +11865,7 @@ types: "types": { "AiAgent": { "docs": "Data related to AI Agent involvement in the conversation.", + "inline": undefined, "properties": { "content_sources": { "type": "optional", @@ -11833,6 +11971,7 @@ imports: "types": { "ContentSource": { "docs": "The content source used by AI Agent in the conversation.", + "inline": undefined, "properties": { "content_type": { "docs": "The type of the content source.", @@ -14468,6 +14607,7 @@ imports: "extends": [ "Articles", ], + "inline": undefined, "properties": { "statistics": { "type": "optional", @@ -14490,6 +14630,7 @@ imports: }, "ArticleSearchHighlights": { "docs": "The highlighted results of an Article search. In the examples provided my search query is always "my query".", + "inline": undefined, "properties": { "article_id": { "docs": "The ID of the corresponding article.", @@ -14510,6 +14651,7 @@ imports: }, "ArticleSearchHighlightsHighlightedSummaryItemItem": { "docs": "An instance of highlighted summary text.", + "inline": true, "properties": { "text": { "docs": "The text of the title.", @@ -14536,6 +14678,7 @@ imports: }, "ArticleSearchHighlightsHighlightedTitleItem": { "docs": "A highlighted article title.", + "inline": true, "properties": { "text": { "docs": "The text of the title.", @@ -14562,10 +14705,10 @@ imports: }, "ArticleSearchResponse": { "docs": "The results of an Article search", + "inline": undefined, "properties": { "data": { "docs": "An object containing the results of the search.", - "inline": true, "type": "optional", }, "pages": { @@ -14586,6 +14729,7 @@ imports: }, "ArticleSearchResponseData": { "docs": "An object containing the results of the search.", + "inline": true, "properties": { "articles": { "docs": "An array of Article objects", @@ -14602,6 +14746,7 @@ imports: }, "Articles": { "docs": "The data returned about your articles when you list them.", + "inline": undefined, "properties": { "author_id": { "docs": "The id of the author of the article. For multilingual articles, this will be the id of the author of the default language's content. Must be a teammate on the help center's workspace.", @@ -17063,6 +17208,7 @@ types: docs: The text of the title. source: openapi: ../openapi.yml + inline: true ArticleSearchHighlightsHighlightedSummaryItemItemType: enum: - highlight @@ -17081,6 +17227,7 @@ types: docs: The text of the title. source: openapi: ../openapi.yml + inline: true ArticleSearchHighlights: docs: >- The highlighted results of an Article search. In the examples provided my @@ -17109,6 +17256,7 @@ types: docs: A corresponding array of highlighted Article content source: openapi: ../openapi.yml + inline: true ArticleSearchResponse: docs: The results of an Article search properties: @@ -17121,7 +17269,6 @@ types: data: type: optional docs: An object containing the results of the search. - inline: true pages: type: optional source: @@ -18239,6 +18386,7 @@ You can fetch all companies and filter by `segment_id` or `tag_id` as a query pa "types": { "Company": { "docs": "Companies allow you to represent organizations using your product. Each company will have its own description and be associated with contacts. You can fetch, create, update and list companies.", + "inline": undefined, "properties": { "app_id": { "docs": "The Intercom defined code of the workspace the company is associated to.", @@ -18277,7 +18425,6 @@ You can fetch all companies and filter by `segment_id` or `tag_id` as a query pa "type": "optional", }, "plan": { - "inline": true, "type": "optional", }, "remote_created_at": { @@ -18286,7 +18433,6 @@ You can fetch all companies and filter by `segment_id` or `tag_id` as a query pa }, "segments": { "docs": "The list of segments associated with the company", - "inline": true, "type": "optional", }, "session_count": { @@ -18299,7 +18445,6 @@ You can fetch all companies and filter by `segment_id` or `tag_id` as a query pa }, "tags": { "docs": "The list of tags associated with the company", - "inline": true, "type": "optional", }, "type": { @@ -18325,6 +18470,7 @@ You can fetch all companies and filter by `segment_id` or `tag_id` as a query pa }, "CompanyPlan": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The id of the plan", @@ -18345,6 +18491,7 @@ You can fetch all companies and filter by `segment_id` or `tag_id` as a query pa }, "CompanySegments": { "docs": "The list of segments associated with the company", + "inline": true, "properties": { "segments": "optional>", "type": { @@ -18358,6 +18505,7 @@ You can fetch all companies and filter by `segment_id` or `tag_id` as a query pa }, "CompanyTags": { "docs": "The list of tags associated with the company", + "inline": true, "properties": { "tags": "optional>", "type": { @@ -19219,6 +19367,7 @@ types: docs: The name of the plan source: openapi: ../openapi.yml + inline: true CompanyTags: docs: The list of tags associated with the company properties: @@ -19228,6 +19377,7 @@ types: tags: optional> source: openapi: ../openapi.yml + inline: true CompanySegments: docs: The list of segments associated with the company properties: @@ -19237,6 +19387,7 @@ types: segments: optional> source: openapi: ../openapi.yml + inline: true Company: docs: >- Companies allow you to represent organizations using your product. Each @@ -19259,7 +19410,6 @@ types: to. plan: type: optional - inline: true company_id: type: optional docs: The company id you have defined for the company. @@ -19299,11 +19449,9 @@ types: tags: type: optional docs: The list of tags associated with the company - inline: true segments: type: optional docs: The list of segments associated with the company - inline: true source: openapi: ../openapi.yml ", @@ -20611,6 +20759,7 @@ The data property will show a combined list of: "types": { "Contact": { "docs": "Contact are the objects that represent your leads and users in Intercom.", + "inline": undefined, "properties": { "android_app_name": { "docs": "The name of the Android app which the contact is using.", @@ -20637,7 +20786,6 @@ The data property will show a combined list of: "type": "optional", }, "avatar": { - "inline": true, "type": "optional", }, "browser": { @@ -20798,6 +20946,7 @@ The data property will show a combined list of: }, "ContactAvatar": { "docs": undefined, + "inline": true, "properties": { "image_url": { "docs": "An image URL containing the avatar of a contact.", @@ -21956,6 +22105,7 @@ types: format: uri source: openapi: ../openapi.yml + inline: true Contact: docs: Contact are the objects that represent your leads and users in Intercom. properties: @@ -22091,7 +22241,6 @@ types: docs: The custom attributes which are set for the contact. avatar: type: optional - inline: true tags: type: optional notes: @@ -23111,10 +23260,7 @@ This will return the Message model that has been created. "docs": "The content of the message. HTML is not supported.", "type": "string", }, - "from": { - "inline": true, - "type": "CreateConversationRequestFrom", - }, + "from": "CreateConversationRequestFrom", }, }, "content-type": "application/json", @@ -27218,6 +27364,7 @@ If you want to reply to a coveration or take an action such as assign, unassign, "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -27235,6 +27382,7 @@ If you want to reply to a coveration or take an action such as assign, unassign, }, "AttachContactToConversationRequestCustomerIntercomUserId": { "docs": undefined, + "inline": true, "properties": { "customer": { "type": "optional", @@ -27250,6 +27398,7 @@ If you want to reply to a coveration or take an action such as assign, unassign, }, "AttachContactToConversationRequestCustomerUserId": { "docs": undefined, + "inline": true, "properties": { "customer": { "type": "optional", @@ -27265,6 +27414,7 @@ If you want to reply to a coveration or take an action such as assign, unassign, }, "Conversation": { "docs": "Conversations are how you can communicate with users in Intercom. They are created when a contact replies to an outbound message, or when one admin directly sends a message to a single contact.", + "inline": undefined, "properties": { "admin_assignee_id": { "docs": "The id of the admin assigned to the conversation. If it's not assigned to an admin it will return null.", @@ -27386,6 +27536,7 @@ If you want to reply to a coveration or take an action such as assign, unassign, }, "CreateConversationRequestFrom": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The identifier for the contact which is given by Intercom.", @@ -27419,6 +27570,7 @@ If you want to reply to a coveration or take an action such as assign, unassign, }, "Email": { "docs": undefined, + "inline": true, "properties": { "customer": { "type": "optional", @@ -27554,9 +27706,7 @@ service: name: CreateConversationRequest body: properties: - from: - type: CreateConversationRequestFrom - inline: true + from: CreateConversationRequestFrom body: type: string docs: The content of the message. HTML is not supported. @@ -31628,6 +31778,7 @@ types: maxLength: 24 source: openapi: ../openapi.yml + inline: true ManageConversationRequestBody: discriminant: message_type base-properties: {} @@ -31651,6 +31802,7 @@ types: type: optional source: openapi: ../openapi.yml + inline: true AttachContactToConversationRequestCustomerUserId: properties: user_id: @@ -31662,6 +31814,7 @@ types: type: optional source: openapi: ../openapi.yml + inline: true Email: properties: email: @@ -31673,6 +31826,7 @@ types: type: optional source: openapi: ../openapi.yml + inline: true AttachContactToConversationRequestCustomer: discriminated: false union: @@ -31681,6 +31835,7 @@ types: - type: Email source: openapi: ../openapi.yml + inline: true ConversationState: enum: - open @@ -31788,6 +31943,7 @@ types: "types": { "CustomObjectInstance": { "docs": "A Custom Object Instance represents an instance of a custom object type. This allows you to create and set custom attributes to store data about your customers that is not already captured by Intercom. The parent object includes recommended default attributes and you can add your own custom attributes.", + "inline": undefined, "properties": { "custom_attributes": { "docs": "The custom attributes you have set on the custom object instance.", @@ -32762,6 +32918,7 @@ You can update a data attribute. }, "DataAttribute": { "docs": "Data Attributes are metadata used to describe your contact, company and conversation models. These include standard and custom attributes. By using the data attributes endpoint, you can get the global list of attributes for your workspace, as well as create and archive custom attributes.", + "inline": undefined, "properties": { "admin_id": { "docs": "Teammate who created the attribute. Only applicable to CDAs", @@ -33896,6 +34053,7 @@ You can optionally define the result page size as well with the `per_page` param "types": { "CreateDataEventSummariesRequestEventSummaries": { "docs": "A list of event summaries for the user. Each event summary should contain the event name, the time the event occurred, and the number of times the event occurred. The event name should be a past tense 'verb-noun' combination, to improve readability, for example `updated-plan`.", + "inline": true, "properties": { "count": { "docs": "The number of times the event occurred.", @@ -33922,6 +34080,7 @@ You can optionally define the result page size as well with the `per_page` param "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -33939,6 +34098,7 @@ You can optionally define the result page size as well with the `per_page` param }, "LisDataEventsRequestFilterEmail": { "docs": undefined, + "inline": true, "properties": { "email": "string", }, @@ -33948,6 +34108,7 @@ You can optionally define the result page size as well with the `per_page` param }, "LisDataEventsRequestFilterIntercomUserId": { "docs": undefined, + "inline": true, "properties": { "intercom_user_id": "string", }, @@ -33957,6 +34118,7 @@ You can optionally define the result page size as well with the `per_page` param }, "LisDataEventsRequestFilterUserId": { "docs": undefined, + "inline": true, "properties": { "user_id": "string", }, @@ -33972,16 +34134,19 @@ You can optionally define the result page size as well with the `per_page` param user_id: string source: openapi: ../openapi.yml + inline: true LisDataEventsRequestFilterIntercomUserId: properties: intercom_user_id: string source: openapi: ../openapi.yml + inline: true LisDataEventsRequestFilterEmail: properties: email: string source: openapi: ../openapi.yml + inline: true LisDataEventsRequestFilter: discriminated: false union: @@ -34014,6 +34179,7 @@ You can optionally define the result page size as well with the `per_page` param docs: The last time the event was sent source: openapi: ../openapi.yml + inline: true imports: root: __package__.yml service: @@ -34451,6 +34617,7 @@ Your exported message data will be streamed continuously back down to you in a g "types": { "DataExport": { "docs": "The data export api is used to view all message sent & viewed in a given timeframe.", + "inline": undefined, "properties": { "download_expires_at": { "docs": "The time after which you will not be able to access the data.", @@ -36100,6 +36267,7 @@ Collections will be returned in descending order on the `updated_at` attribute. "types": { "Collection": { "docs": "Collections are top level containers for Articles within the Help Center.", + "inline": undefined, "properties": { "created_at": { "docs": "The time when the article was created (seconds). For multilingual articles, this will be the timestamp of creation of the default language's content.", @@ -36159,6 +36327,7 @@ Collections will be returned in descending order on the `updated_at` attribute. }, "HelpCenter": { "docs": "Help Centers contain collections", + "inline": undefined, "properties": { "created_at": { "docs": "The time when the Help Center was created.", @@ -36195,6 +36364,7 @@ Collections will be returned in descending order on the `updated_at` attribute. }, "HelpCenterList": { "docs": "A list of Help Centers belonging to the App", + "inline": undefined, "properties": { "data": { "docs": "An array of Help Center objects", @@ -37630,6 +37800,7 @@ This will return the Message model that has been created. "types": { "Message": { "docs": "Message are how you reach out to contacts in Intercom. They are created when an admin sends an outbound message to a contact.", + "inline": undefined, "properties": { "body": { "docs": "The message body, which may contain HTML.", @@ -38409,6 +38580,7 @@ types: "types": { "NewsItem": { "docs": "A News Item is a content type in Intercom enabling you to announce product updates, company news, promotions, events and more with your customers.", + "inline": undefined, "properties": { "body": { "docs": "The news item body, which may contain HTML.", @@ -38488,6 +38660,7 @@ types: Newsfeeds currently cannot be edited through the API, please refer to [this article](https://www.intercom.com/help/en/articles/6362267-getting-started-with-news) to set up your newsfeeds in Intercom. ", + "inline": undefined, "properties": { "created_at": { "docs": "Timestamp for when the newsfeed was created.", @@ -38512,6 +38685,7 @@ Newsfeeds currently cannot be edited through the API, please refer to [this arti }, "NewsfeedAssignment": { "docs": "Assigns a news item to a newsfeed.", + "inline": undefined, "properties": { "newsfeed_id": { "docs": "The unique identifier for the newsfeed which is given by Intercom. Publish dates cannot be in the future, to schedule news items use the dedicated feature in app (see this article).", @@ -39388,6 +39562,7 @@ types: "types": { "Note": { "docs": "Notes allow you to annotate and comment on your contacts.", + "inline": undefined, "properties": { "author": { "docs": "Optional. Represents the Admin that created the note.", @@ -39399,7 +39574,6 @@ types: }, "contact": { "docs": "Represents the contact that the note was created about.", - "inline": true, "type": "optional", }, "created_at": { @@ -39421,6 +39595,7 @@ types: }, "NoteContact": { "docs": "Represents the contact that the note was created about.", + "inline": true, "properties": { "id": { "docs": "The id of the contact.", @@ -39721,6 +39896,7 @@ types: docs: The id of the contact. source: openapi: ../openapi.yml + inline: true Note: docs: Notes allow you to annotate and comment on your contacts. properties: @@ -39736,7 +39912,6 @@ types: contact: type: optional docs: Represents the contact that the note was created about. - inline: true author: type: optional docs: Optional. Represents the Admin that created the note. @@ -39871,6 +40046,7 @@ types: "types": { "Segment": { "docs": "A segment is a group of your contacts defined by the rules that you set.", + "inline": undefined, "properties": { "count": { "docs": "The number of items in the user segment. It's returned when `include_count=true` is included in the request.", @@ -40321,6 +40497,7 @@ This will return a subscription type model for the subscription type that was ad "types": { "SubscriptionType": { "docs": "A subscription type lets customers easily opt out of non-essential communications without missing what's important to them.", + "inline": undefined, "properties": { "consent_type": { "docs": "Describes the type of consent.", @@ -41655,6 +41832,7 @@ This will return a tag object. "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -41675,6 +41853,7 @@ This will return a tag object. }, "Tag": { "docs": "A tag allows you to label your contacts, companies, and conversations and list them using that tag.", + "inline": undefined, "properties": { "applied_at": { "docs": "The time when the tag was applied to the object", @@ -42405,6 +42584,7 @@ types: "types": { "Team": { "docs": "Teams are groups of admins in Intercom.", + "inline": undefined, "properties": { "admin_ids": { "docs": "The list of admin IDs that are a part of the team.", @@ -45068,6 +45248,7 @@ The table below shows the operators you can use to define how you want to search "types": { "Contacts": { "docs": "The list of contacts affected by a ticket.", + "inline": undefined, "properties": { "contacts": { "docs": "The list of contacts affected by this ticket.", @@ -45086,6 +45267,7 @@ The table below shows the operators you can use to define how you want to search "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -45103,6 +45285,7 @@ The table below shows the operators you can use to define how you want to search }, "CreateTicketRequestContactsItemExternalId": { "docs": undefined, + "inline": true, "properties": { "external_id": { "docs": "The external_id you have defined for the contact who is being added as a participant.", @@ -45115,6 +45298,7 @@ The table below shows the operators you can use to define how you want to search }, "Email": { "docs": undefined, + "inline": true, "properties": { "email": { "docs": "The email you have defined for the contact who is being added as a participant. If a contact with this email does not exist, one will be created.", @@ -45127,6 +45311,7 @@ The table below shows the operators you can use to define how you want to search }, "ID": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The identifier for the contact as given by Intercom.", @@ -45141,6 +45326,7 @@ The table below shows the operators you can use to define how you want to search "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -45155,6 +45341,7 @@ The table below shows the operators you can use to define how you want to search }, "Ticket": { "docs": "Tickets are how you track requests from your users.", + "inline": undefined, "properties": { "admin_assignee_id": { "docs": "The id representing the admin assigned to the ticket.", @@ -45248,6 +45435,7 @@ The table below shows the operators you can use to define how you want to search }, "TicketPart": { "docs": "A Ticket Part represents a message in the ticket.", + "inline": undefined, "properties": { "assigned_to": { "docs": "The id of the admin that was assigned the ticket by this ticket_part (null if there has been no change in assignment.)", @@ -45343,6 +45531,7 @@ The table below shows the operators you can use to define how you want to search }, "TicketType": { "docs": "A ticket type, used to define the data fields to be captured in a ticket.", + "inline": undefined, "properties": { "archived": { "docs": "Whether the ticket type is archived or not.", @@ -45408,6 +45597,7 @@ The table below shows the operators you can use to define how you want to search }, "UpdateTicketRequestAssignment": { "docs": undefined, + "inline": true, "properties": { "admin_id": { "docs": "The ID of the admin performing the action.", @@ -45452,6 +45642,7 @@ types: docs: The identifier for the contact as given by Intercom. source: openapi: ../openapi.yml + inline: true CreateTicketRequestContactsItemExternalId: properties: external_id: @@ -45461,6 +45652,7 @@ types: a participant. source: openapi: ../openapi.yml + inline: true Email: properties: email: @@ -45471,6 +45663,7 @@ types: created. source: openapi: ../openapi.yml + inline: true CreateTicketRequestContactsItem: discriminated: false union: @@ -45479,6 +45672,7 @@ types: - type: Email source: openapi: ../openapi.yml + inline: true UpdateTicketRequestState: enum: - in_progress @@ -45499,6 +45693,7 @@ types: 0 to unassign it. source: openapi: ../openapi.yml + inline: true TicketCategory: enum: - Customer @@ -47112,14 +47307,8 @@ docs: Everything about your tickets "docs": "Represents the role of the Contact model. Accepts `lead` or `user`.", "type": "string", }, - "user": { - "inline": true, - "type": "unknown", - }, - "visitor": { - "inline": true, - "type": "unknown", - }, + "user": "unknown", + "visitor": "unknown", }, }, "content-type": "application/json", @@ -47829,12 +48018,8 @@ service: docs: >- Represents the role of the Contact model. Accepts `lead` or `user`. - user: - type: unknown - inline: true - visitor: - type: unknown - inline: true + user: unknown + visitor: unknown content-type: application/json response: docs: successful diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/permit.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/permit.json index 3df9b560ba5..61a8144055b 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/permit.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/permit.json @@ -22,6 +22,7 @@ "types": { "ActionBlockEditable": { "docs": undefined, + "inline": undefined, "properties": { "attributes": { "type": "optional>", @@ -41,6 +42,7 @@ }, "ActionBlockRead": { "docs": undefined, + "inline": undefined, "properties": { "attributes": { "type": "optional>", @@ -74,6 +76,7 @@ }, "AddRolePermissions": { "docs": undefined, + "inline": undefined, "properties": { "permissions": { "docs": "List of permissions to assign to the role. If a permission is already granted to the role it is skipped. Each permission can be either a resource action id, or `{resource_key}:{action_key}`, i.e: the "permission name".", @@ -86,6 +89,7 @@ }, "AttributeBlockEditable": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "optional description string explaining what data this attribute will store", @@ -102,6 +106,7 @@ }, "AttributeBlockRead": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "optional description string explaining what data this attribute will store", @@ -146,6 +151,7 @@ }, "BulkRoleAssignmentReport": { "docs": undefined, + "inline": undefined, "properties": { "assignments_created": { "default": 0, @@ -158,6 +164,7 @@ }, "BulkRoleUnAssignmentReport": { "docs": undefined, + "inline": undefined, "properties": { "assignments_removed": { "default": 0, @@ -170,6 +177,7 @@ }, "ConditionSetRead": { "docs": undefined, + "inline": undefined, "properties": { "autogenerated": { "default": false, @@ -272,6 +280,7 @@ }, "ConditionSetRuleRead": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "Date and time when the condition set rule was created (ISO_8601 format).", @@ -354,6 +363,7 @@ }, "EnvironmentCopyScope": { "docs": undefined, + "inline": undefined, "properties": { "resource_sets": { "docs": "Resource sets to copy", @@ -378,6 +388,7 @@ }, "EnvironmentCopyScopeFilters": { "docs": undefined, + "inline": undefined, "properties": { "exclude": { "docs": "Object to exclude (use * as wildcard)", @@ -394,6 +405,7 @@ }, "EnvironmentCopyTarget": { "docs": undefined, + "inline": undefined, "properties": { "existing": { "docs": "Identifier of an existing environment to copy into", @@ -410,6 +422,7 @@ }, "EnvironmentCreate": { "docs": undefined, + "inline": undefined, "properties": { "custom_branch_name": { "docs": "when using gitops feature, an optional branch name for the environment", @@ -448,6 +461,7 @@ }, "EnvironmentRead": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "Date and time when the environment was created (ISO_8601 format).", @@ -518,6 +532,7 @@ }, "EnvironmentStats": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "Date and time when the environment was created (ISO_8601 format).", @@ -594,6 +609,7 @@ }, "HTTPValidationError": { "docs": undefined, + "inline": undefined, "properties": { "detail": { "type": "optional>", @@ -605,6 +621,7 @@ }, "IdentityRead": { "docs": undefined, + "inline": undefined, "properties": { "auth0_info": { "docs": "Raw user info json coming from our identity provider and matching a specific account identity", @@ -643,6 +660,7 @@ }, "InviteRead": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "Date and time when the invite was created (ISO_8601 format).", @@ -729,6 +747,7 @@ }, "JwksObj": { "docs": undefined, + "inline": undefined, "properties": { "keys": { "docs": "The keys to match against the request headers", @@ -780,6 +799,7 @@ }, "OrgMemberReadWithGrants": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "Date and time when the account member was created (ISO_8601 format).", @@ -871,6 +891,7 @@ }, "OrganizationRead": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "Date and time when the organization was created (ISO_8601 format).", @@ -913,6 +934,7 @@ }, "OrganizationReadWithAPIKey": { "docs": undefined, + "inline": undefined, "properties": { "api_key_id": { "type": "optional", @@ -967,6 +989,7 @@ }, "PDPConfigRead": { "docs": undefined, + "inline": undefined, "properties": { "client_secret": "string", "environment_id": { @@ -1018,6 +1041,7 @@ }, "PaginatedResultConditionSetRead": { "docs": undefined, + "inline": undefined, "properties": { "data": { "docs": "List of Condition Sets", @@ -1051,6 +1075,7 @@ }, "PaginatedResultResourceRead": { "docs": undefined, + "inline": undefined, "properties": { "data": { "docs": "List of Resources", @@ -1084,6 +1109,7 @@ }, "PaginatedResultResourceRoleRead": { "docs": undefined, + "inline": undefined, "properties": { "data": { "docs": "List of Resource Roles", @@ -1117,6 +1143,7 @@ }, "PaginatedResultRoleRead": { "docs": undefined, + "inline": undefined, "properties": { "data": { "docs": "List of Roles", @@ -1150,6 +1177,7 @@ }, "PaginatedResultTenantRead": { "docs": undefined, + "inline": undefined, "properties": { "data": { "docs": "List of Tenants", @@ -1183,6 +1211,7 @@ }, "PaginatedResultUserRead": { "docs": undefined, + "inline": undefined, "properties": { "data": { "docs": "List of Users", @@ -1216,6 +1245,7 @@ }, "Permission": { "docs": undefined, + "inline": undefined, "properties": { "access_level": { "type": "MemberAccessLevel", @@ -1275,6 +1305,7 @@ }, "ProjectRead": { "docs": undefined, + "inline": undefined, "properties": { "active_policy_repo_id": { "docs": "the id of the policy repo to use for this project", @@ -1352,6 +1383,7 @@ The actions represents the ways you can interact with a protected resource.", }, "RemoveRolePermissions": { "docs": undefined, + "inline": undefined, "properties": { "permissions": { "docs": "List of permissions to remove from the role. If a permission is not found it is skipped. Each permission can be either a resource action id, or `{resource_key}:{action_key}`,i.e: the "permission name".", @@ -1364,6 +1396,7 @@ The actions represents the ways you can interact with a protected resource.", }, "ResourceActionGroupRead": { "docs": undefined, + "inline": undefined, "properties": { "actions": { "type": "optional>", @@ -1455,6 +1488,7 @@ The actions represents the ways you can interact with a protected resource.", }, "ResourceActionRead": { "docs": undefined, + "inline": undefined, "properties": { "attributes": { "docs": "optional dictionary of key-value pairs that can be used to store arbitrary metadata about this action. This metadata can be used to filter actions using query parameters with attr_ prefix", @@ -1541,6 +1575,7 @@ The actions represents the ways you can interact with a protected resource.", }, "ResourceAttributeCreate": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "An optional longer description of what this attribute respresents in your system", @@ -1567,6 +1602,7 @@ The actions represents the ways you can interact with a protected resource.", }, "ResourceAttributeRead": { "docs": undefined, + "inline": undefined, "properties": { "built_in": { "docs": "Whether the attribute is built-in, and managed by the Permit system.", @@ -1653,6 +1689,7 @@ The actions represents the ways you can interact with a protected resource.", }, "ResourceAttributeUpdate": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "An optional longer description of what this attribute respresents in your system", @@ -1669,6 +1706,7 @@ The actions represents the ways you can interact with a protected resource.", }, "ResourceInstanceRead": { "docs": undefined, + "inline": undefined, "properties": { "attributes": { "docs": "Arbitraty resource attributes that will be used to enforce attribute-based access control policies.", @@ -1761,6 +1799,7 @@ The actions represents the ways you can interact with a protected resource.", }, "ResourceRead": { "docs": undefined, + "inline": undefined, "properties": { "action_groups": { "type": "optional>>", @@ -1847,6 +1886,7 @@ The actions represents the ways you can interact with a protected resource.", }, "ResourceRoleList": { "docs": undefined, + "inline": undefined, "properties": { "roles": { "display-name": "Roles", @@ -1859,6 +1899,7 @@ The actions represents the ways you can interact with a protected resource.", }, "ResourceRoleRead": { "docs": undefined, + "inline": undefined, "properties": { "attributes": { "docs": "optional dictionary of key-value pairs that can be used to store arbitrary metadata about this role. This metadata can be used to filter role using query parameters with attr_ prefix, currently supports only 'equals' operator", @@ -1949,6 +1990,7 @@ The actions represents the ways you can interact with a protected resource.", }, "RoleAssignmentCreate": { "docs": undefined, + "inline": undefined, "properties": { "role": { "docs": "the role that will be assigned (accepts either the role id or the role key)", @@ -1969,6 +2011,7 @@ The actions represents the ways you can interact with a protected resource.", }, "RoleAssignmentRead": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "Date and time when the role assignment was created (ISO_8601 format).", @@ -2063,6 +2106,7 @@ The actions represents the ways you can interact with a protected resource.", }, "RoleAssignmentRemove": { "docs": undefined, + "inline": undefined, "properties": { "role": { "docs": "the role that will be unassigned (accepts either the role id or the role key)", @@ -2083,6 +2127,7 @@ The actions represents the ways you can interact with a protected resource.", }, "RoleBlock": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "optional description string explaining what this role represents, or what permissions are granted to it.", @@ -2099,6 +2144,7 @@ The actions represents the ways you can interact with a protected resource.", }, "RoleList": { "docs": undefined, + "inline": undefined, "properties": { "roles": { "display-name": "Roles", @@ -2111,6 +2157,7 @@ The actions represents the ways you can interact with a protected resource.", }, "RoleRead": { "docs": undefined, + "inline": undefined, "properties": { "attributes": { "docs": "optional dictionary of key-value pairs that can be used to store arbitrary metadata about this role. This metadata can be used to filter role using query parameters with attr_ prefix, currently supports only 'equals' operator", @@ -2193,6 +2240,7 @@ The actions represents the ways you can interact with a protected resource.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -2209,6 +2257,7 @@ The actions represents the ways you can interact with a protected resource.", }, "Statistics": { "docs": undefined, + "inline": undefined, "properties": { "has_decision_logs": "boolean", "members": { @@ -2271,6 +2320,7 @@ The actions represents the ways you can interact with a protected resource.", }, "TenantCreate": { "docs": undefined, + "inline": undefined, "properties": { "attributes": { "docs": "Arbitraty tenant attributes that will be used to enforce attribute-based access control policies.", @@ -2301,6 +2351,7 @@ The actions represents the ways you can interact with a protected resource.", }, "TenantCreateBulkOperationResult": { "docs": undefined, + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.json", @@ -2308,6 +2359,7 @@ The actions represents the ways you can interact with a protected resource.", }, "TenantDeleteBulkOperationResult": { "docs": undefined, + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.json", @@ -2315,6 +2367,7 @@ The actions represents the ways you can interact with a protected resource.", }, "TenantRead": { "docs": undefined, + "inline": undefined, "properties": { "attributes": { "docs": "Arbitraty tenant attributes that will be used to enforce attribute-based access control policies.", @@ -2391,6 +2444,7 @@ The actions represents the ways you can interact with a protected resource.", }, "UserCreate": { "docs": undefined, + "inline": undefined, "properties": { "attributes": { "docs": "Arbitrary user attributes that will be used to enforce attribute-based access control policies.", @@ -2431,6 +2485,7 @@ The actions represents the ways you can interact with a protected resource.", }, "UserCreateBulkOperationResult": { "docs": undefined, + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.json", @@ -2438,6 +2493,7 @@ The actions represents the ways you can interact with a protected resource.", }, "UserDeleteBulkOperationResult": { "docs": undefined, + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.json", @@ -2445,6 +2501,7 @@ The actions represents the ways you can interact with a protected resource.", }, "UserInTenant": { "docs": undefined, + "inline": undefined, "properties": { "roles": { "docs": "List of roles assigned to the user in that tenant", @@ -2465,6 +2522,7 @@ The actions represents the ways you can interact with a protected resource.", }, "UserRead": { "docs": undefined, + "inline": undefined, "properties": { "associated_tenants": { "type": "optional>", @@ -2537,7 +2595,6 @@ The actions represents the ways you can interact with a protected resource.", }, "roles": { "availability": "deprecated", - "inline": undefined, "type": "optional>", }, }, @@ -2547,6 +2604,7 @@ The actions represents the ways you can interact with a protected resource.", }, "UserReplaceBulkOperationResult": { "docs": undefined, + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.json", @@ -2554,6 +2612,7 @@ The actions represents the ways you can interact with a protected resource.", }, "UserRole": { "docs": undefined, + "inline": undefined, "properties": { "role": { "docs": "the role that is assigned", @@ -2580,6 +2639,7 @@ The actions represents the ways you can interact with a protected resource.", }, "ValidationError": { "docs": undefined, + "inline": undefined, "properties": { "loc": { "type": "list", @@ -2595,6 +2655,7 @@ The actions represents the ways you can interact with a protected resource.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -3854,6 +3915,7 @@ types: - type: PaginatedResultRoleRead source: openapi: ../openapi.json + inline: true ResourceRoleList: properties: roles: @@ -4346,6 +4408,7 @@ types: - integer source: openapi: ../openapi.json + inline: true ValidationError: properties: loc: @@ -6456,6 +6519,7 @@ Fields that will be provided will be completely overwritten.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -14527,6 +14591,7 @@ Fields that will be provided will be completely overwritten.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -16496,6 +16561,7 @@ Fields that will be provided will be completely overwritten.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -17659,6 +17725,7 @@ Fields that will be provided will be completely overwritten.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/query-params.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/query-params.json index 14a37c51036..7805574f7b8 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/query-params.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/query-params.json @@ -54,12 +54,10 @@ "types": { "SearchRequestFilter": { "docs": undefined, + "inline": undefined, "properties": { "age": "optional", - "location": { - "inline": true, - "type": "optional", - }, + "location": "optional", "name": "optional", }, "source": { @@ -68,12 +66,10 @@ }, "SearchRequestFilterLocation": { "docs": undefined, + "inline": true, "properties": { "city": "optional", - "coordinates": { - "inline": true, - "type": "optional", - }, + "coordinates": "optional", "country": "optional", }, "source": { @@ -82,6 +78,7 @@ }, "SearchRequestFilterLocationCoordinates": { "docs": undefined, + "inline": true, "properties": { "latitude": "optional", "longitude": "optional", @@ -101,6 +98,7 @@ }, "SearchResponse": { "docs": undefined, + "inline": undefined, "properties": { "results": "optional>", }, @@ -117,22 +115,20 @@ longitude: optional source: openapi: ../openapi.yml + inline: true SearchRequestFilterLocation: properties: city: optional country: optional - coordinates: - type: optional - inline: true + coordinates: optional source: openapi: ../openapi.yml + inline: true SearchRequestFilter: properties: name: optional age: optional - location: - type: optional - inline: true + location: optional source: openapi: ../openapi.yml SearchRequestSort: diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/readonly.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/readonly.json index f674df642c1..82e436f7c5a 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/readonly.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/readonly.json @@ -112,6 +112,7 @@ "types": { "UserRead": { "docs": undefined, + "inline": undefined, "properties": { "createdAt": "optional", "email": "optional", @@ -126,6 +127,7 @@ }, "UserSettingsRead": { "docs": undefined, + "inline": undefined, "properties": { "lastModified": "optional", "notifications": "optional", @@ -147,6 +149,7 @@ }, "UserStatsRead": { "docs": undefined, + "inline": undefined, "properties": { "accountStatus": "optional", "lastLoginTime": "optional", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/request-response-description.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/request-response-description.json index 42a5c8e8d06..6026fd7fecf 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/request-response-description.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/request-response-description.json @@ -42,6 +42,7 @@ "types": { "Schema1": { "docs": "Schema 1 description", + "inline": undefined, "properties": { "id": "optional", "name": "optional", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/rightbrain.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/rightbrain.json index 2eb6c56026a..3b35a54d507 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/rightbrain.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/rightbrain.json @@ -131,6 +131,7 @@ "types": { "AsyncJobResult": { "docs": undefined, + "inline": undefined, "properties": { "status": "string", "task_id": { @@ -167,6 +168,7 @@ }, "BodyFetchOrgOrgIdProjectProjectIdDatasourceBoxConnectionIdFetchPost": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "list", @@ -178,6 +180,7 @@ }, "BodyFetchOrgOrgIdProjectProjectIdDatasourceConfluenceConnectionIdFetchPost": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "list", @@ -189,6 +192,7 @@ }, "BodyFetchOrgOrgIdProjectProjectIdDatasourceDropboxConnectionIdFetchPost": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "list", @@ -200,6 +204,7 @@ }, "BodyFetchOrgOrgIdProjectProjectIdDatasourceGdriveConnectionIdFetchPost": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "list", @@ -211,6 +216,7 @@ }, "BodyFetchOrgOrgIdProjectProjectIdDatasourceNotionConnectionIdFetchPost": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "list", @@ -222,6 +228,7 @@ }, "BodyFetchOrgOrgIdProjectProjectIdDatasourceOnedriveConnectionIdFetchPost": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "list", @@ -233,6 +240,7 @@ }, "BodyFetchOrgOrgIdProjectProjectIdDatasourceSharepointConnectionIdFetchPost": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "list", @@ -244,6 +252,7 @@ }, "Chat": { "docs": undefined, + "inline": undefined, "properties": { "collection_id": { "type": "string", @@ -298,6 +307,7 @@ }, "ChatConfig": { "docs": undefined, + "inline": undefined, "properties": { "chat_guardrails": { "docs": "Conversational Guardrails can be defined to run against Chat `input` (i.e. the users query) or on Chat `output` (i.e. the LLM output)", @@ -337,6 +347,7 @@ }, "ChatDocument": { "docs": undefined, + "inline": undefined, "properties": { "chunks": "integer", "connection_id": { @@ -386,6 +397,7 @@ }, "ChatDocumentEmbeddingInstance": { "docs": undefined, + "inline": undefined, "properties": { "chat_document_id": { "type": "string", @@ -416,6 +428,7 @@ }, "ChatDocumentEmbeddingRecord": { "docs": undefined, + "inline": undefined, "properties": { "document": "string", "id": { @@ -434,6 +447,7 @@ }, "ChatDocumentQueryResult": { "docs": undefined, + "inline": undefined, "properties": { "chat_document_id": { "type": "string", @@ -469,6 +483,7 @@ }, "ChatGuardrail": { "docs": undefined, + "inline": undefined, "properties": { "description": "string", "id": { @@ -485,6 +500,7 @@ }, "ChatModel": { "docs": undefined, + "inline": undefined, "properties": { "alias": { "docs": "Human readable name for the LLM.", @@ -514,6 +530,7 @@ }, "Collection": { "docs": undefined, + "inline": undefined, "properties": { "created": { "type": "datetime", @@ -562,6 +579,7 @@ }, "CollectionEmbeddingUpdate": { "docs": undefined, + "inline": undefined, "properties": { "embedding_instance_ids": { "type": "list", @@ -573,6 +591,7 @@ }, "CollectionStatsResponse": { "docs": undefined, + "inline": undefined, "properties": { "documents_by_source": { "type": "list", @@ -585,6 +604,7 @@ }, "ComposeContent": { "docs": undefined, + "inline": undefined, "properties": { "existing_content": "string", }, @@ -594,6 +614,7 @@ }, "ComposeGenerate": { "docs": undefined, + "inline": undefined, "properties": { "structure": { "type": "list", @@ -605,6 +626,7 @@ }, "ComposeInit": { "docs": undefined, + "inline": undefined, "properties": { "audience": { "type": "optional", @@ -657,6 +679,7 @@ }, "ComposeSectionTalkingPoint": { "docs": undefined, + "inline": undefined, "properties": { "section_heading": "string", }, @@ -666,6 +689,7 @@ }, "ComposeSectionUpdate": { "docs": undefined, + "inline": undefined, "properties": { "instructions": { "type": "list", @@ -682,6 +706,7 @@ }, "ConversationalGuardrails": { "docs": undefined, + "inline": undefined, "properties": { "input": { "docs": "List of valid Input Conversational Guardrails to enable", @@ -698,6 +723,7 @@ }, "Datasource": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "string", @@ -716,6 +742,7 @@ }, "DatasourceConfiguration": { "docs": undefined, + "inline": undefined, "properties": { "name": "string", "private": "boolean", @@ -727,6 +754,7 @@ }, "DatasourceConnection": { "docs": undefined, + "inline": undefined, "properties": { "config": { "type": "optional>", @@ -781,6 +809,7 @@ }, "DatasourceConnectionPublic": { "docs": undefined, + "inline": undefined, "properties": { "config": { "type": "optional>", @@ -830,6 +859,7 @@ }, "DatasourceSyncRun": { "docs": undefined, + "inline": undefined, "properties": { "created": { "type": "datetime", @@ -866,6 +896,7 @@ }, "DocumentCreateTask": { "docs": undefined, + "inline": undefined, "properties": { "info": { "type": "optional>", @@ -881,6 +912,7 @@ }, "DocumentStatusResponse": { "docs": undefined, + "inline": undefined, "properties": { "group_id": "string", "task_count": "integer", @@ -894,6 +926,7 @@ }, "EmptyErrorDetails": { "docs": undefined, + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.yml", @@ -919,6 +952,7 @@ }, "HTTPValidationError": { "docs": undefined, + "inline": undefined, "properties": { "detail": { "type": "optional>", @@ -930,6 +964,7 @@ }, "HydraWebhookTokenHookSession": { "docs": undefined, + "inline": undefined, "properties": { "client_id": "string", "id_token": { @@ -942,6 +977,7 @@ }, "HydraWebhookTokenHookSessionIDTokenClaims": { "docs": undefined, + "inline": undefined, "properties": { "id_token_claims": { "type": "map", @@ -953,6 +989,7 @@ }, "IAMMember": { "docs": undefined, + "inline": undefined, "properties": { "avatar_url": { "docs": "If avatar of the member, if it is supported by their subject type.", @@ -984,6 +1021,7 @@ Some entities, such as Organizations, may contain members that exist without any }, "IAMObjectErrorDetails": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "optional", @@ -996,6 +1034,7 @@ Some entities, such as Organizations, may contain members that exist without any }, "IAMPermissionTest": { "docs": undefined, + "inline": undefined, "properties": { "member": { "type": "optional", @@ -1022,6 +1061,7 @@ Some entities, such as Organizations, may contain members that exist without any "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1034,6 +1074,7 @@ Some entities, such as Organizations, may contain members that exist without any }, "InitialComposeSection": { "docs": undefined, + "inline": undefined, "properties": { "ideas": { "type": "optional>", @@ -1047,6 +1088,7 @@ Some entities, such as Organizations, may contain members that exist without any }, "InputConversationalGuardrailDefinition": { "docs": undefined, + "inline": undefined, "properties": { "name": { "type": "Name", @@ -1058,6 +1100,7 @@ Some entities, such as Organizations, may contain members that exist without any }, "InvalidMemberErrorDetails": { "docs": undefined, + "inline": undefined, "properties": { "resource": { "type": "optional", @@ -1072,6 +1115,7 @@ Some entities, such as Organizations, may contain members that exist without any }, "InvalidMemberErrorResponse": { "docs": undefined, + "inline": undefined, "properties": { "invalidMemberError": { "docs": "Metadata detailing more information about the error.", @@ -1088,6 +1132,7 @@ Some entities, such as Organizations, may contain members that exist without any }, "InvalidRoleErrorDetails": { "docs": undefined, + "inline": undefined, "properties": { "resource": { "type": "optional", @@ -1100,6 +1145,7 @@ Some entities, such as Organizations, may contain members that exist without any }, "InvalidRoleErrorResponse": { "docs": undefined, + "inline": undefined, "properties": { "invalidRoleError": { "docs": "Metadata detailing more information about the error.", @@ -1116,6 +1162,7 @@ Some entities, such as Organizations, may contain members that exist without any }, "InvalidSubjectTypeErrorDetails": { "docs": undefined, + "inline": undefined, "properties": { "subject": { "type": "optional", @@ -1127,6 +1174,7 @@ Some entities, such as Organizations, may contain members that exist without any }, "InvalidSubjectTypeErrorResponse": { "docs": undefined, + "inline": undefined, "properties": { "invalidSubjectTypeError": { "docs": "Metadata detailing more information about the error.", @@ -1144,6 +1192,7 @@ Some entities, such as Organizations, may contain members that exist without any "KratosIdentity": { "docs": undefined, "extra-properties": true, + "inline": undefined, "properties": { "id": { "type": "string", @@ -1163,6 +1212,7 @@ Some entities, such as Organizations, may contain members that exist without any "KratosIdentityTraits": { "docs": undefined, "extra-properties": true, + "inline": undefined, "properties": { "avatar_url": { "type": "optional", @@ -1207,6 +1257,7 @@ Some entities, such as Organizations, may contain members that exist without any }, "KratosWebhook": { "docs": undefined, + "inline": undefined, "properties": { "bio": { "type": "optional", @@ -1255,6 +1306,7 @@ Some entities, such as Organizations, may contain members that exist without any "KratosWebhookDetailedMessage": { "docs": "Sourced from detailedMessage in: https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", + "inline": undefined, "properties": { "context": { "type": "optional", @@ -1272,6 +1324,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", "KratosWebhookErrorMessage": { "docs": "Sourced from errorMessage in: https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", + "inline": undefined, "properties": { "instance_ptr": "string", "messages": { @@ -1285,6 +1338,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", "KratosWebhookResponse": { "docs": "Sourced from rawHookResponse in: https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", + "inline": undefined, "properties": { "identity": { "type": "optional", @@ -1371,6 +1425,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "MalformedResourceIdentifierErrorDetails": { "docs": undefined, + "inline": undefined, "properties": { "expected_format": "string", "field": "string", @@ -1382,6 +1437,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "MalformedResourceIdentifierErrorResponse": { "docs": undefined, + "inline": undefined, "properties": { "malformedResourceIdentifierError": { "docs": "Metadata detailing more information about the error.", @@ -1398,6 +1454,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "MissingAuthenticationErrorResponse": { "docs": undefined, + "inline": undefined, "properties": { "message": { "docs": "Human readable representation of the error", @@ -1414,6 +1471,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "MultipleRolesNotAllowedErrorDetails": { "docs": undefined, + "inline": undefined, "properties": { "resource": { "type": "optional", @@ -1428,6 +1486,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "MultipleRolesNotAllowedErrorResponse": { "docs": undefined, + "inline": undefined, "properties": { "message": { "docs": "Human readable representation of the error", @@ -1453,6 +1512,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "OAuthClientCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "client_id": { "type": "string", @@ -1490,6 +1550,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "Object": { "docs": undefined, + "inline": undefined, "properties": { "createdTime": { "type": "optional", @@ -1541,6 +1602,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "Org": { "docs": undefined, + "inline": undefined, "properties": { "avatar_url": { "type": "optional", @@ -1592,6 +1654,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "OrganizationDomain": { "docs": undefined, + "inline": undefined, "properties": { "domain": "string", "id": { @@ -1613,6 +1676,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "OrganizationInvite": { "docs": undefined, + "inline": undefined, "properties": { "email_address": { "type": "string", @@ -1642,6 +1706,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "OrganizationInviteAlreadyExistsErrorDetails": { "docs": undefined, + "inline": undefined, "properties": { "email_address": "string", "organization_id": "string", @@ -1652,6 +1717,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "OrganizationInviteAlreadyExistsErrorResponse": { "docs": undefined, + "inline": undefined, "properties": { "message": { "docs": "Human readable representation of the error", @@ -1668,6 +1734,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "OrganizationMemberAlreadyExistsErrorDetails": { "docs": undefined, + "inline": undefined, "properties": { "member_id": "string", "organization_id": "string", @@ -1678,6 +1745,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "OrganizationMemberAlreadyExistsErrorResponse": { "docs": undefined, + "inline": undefined, "properties": { "message": { "docs": "Human readable representation of the error", @@ -1694,6 +1762,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "OutputConversationalGuardrailDefinition": { "docs": undefined, + "inline": undefined, "properties": { "name": { "type": "literal<"source_validation">", @@ -1705,6 +1774,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "PaginatedResultSetChat": { "docs": undefined, + "inline": undefined, "properties": { "pagination": { "docs": "Contains pagination information for the result set.", @@ -1721,6 +1791,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "PaginatedResultSetChatDocument": { "docs": undefined, + "inline": undefined, "properties": { "pagination": { "docs": "Contains pagination information for the result set.", @@ -1737,6 +1808,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "PaginatedResultSetChatDocumentEmbeddingRecord": { "docs": undefined, + "inline": undefined, "properties": { "pagination": { "docs": "Contains pagination information for the result set.", @@ -1753,6 +1825,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "PaginatedResultSetCollection": { "docs": undefined, + "inline": undefined, "properties": { "pagination": { "docs": "Contains pagination information for the result set.", @@ -1769,6 +1842,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "PaginatedResultSetDatasourceSyncRun": { "docs": undefined, + "inline": undefined, "properties": { "pagination": { "docs": "Contains pagination information for the result set.", @@ -1785,6 +1859,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "PaginatedResultSetIamMember": { "docs": undefined, + "inline": undefined, "properties": { "pagination": { "docs": "Contains pagination information for the result set.", @@ -1801,6 +1876,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "PaginatedResultSetOrganizationDomain": { "docs": undefined, + "inline": undefined, "properties": { "pagination": { "docs": "Contains pagination information for the result set.", @@ -1817,6 +1893,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "PaginatedResultSetOrganizationInvite": { "docs": undefined, + "inline": undefined, "properties": { "pagination": { "docs": "Contains pagination information for the result set.", @@ -1833,6 +1910,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "PaginatedResultSetProject": { "docs": undefined, + "inline": undefined, "properties": { "pagination": { "docs": "Contains pagination information for the result set.", @@ -1849,6 +1927,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "PaginatedResultSetTask": { "docs": undefined, + "inline": undefined, "properties": { "pagination": { "docs": "Contains pagination information for the result set.", @@ -1865,6 +1944,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "PaginatedResultSetTaskForwarder": { "docs": undefined, + "inline": undefined, "properties": { "pagination": { "docs": "Contains pagination information for the result set.", @@ -1881,6 +1961,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "PaginatedResultSetTaskRun": { "docs": undefined, + "inline": undefined, "properties": { "pagination": { "docs": "Contains pagination information for the result set.", @@ -1897,6 +1978,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "PaginationDetails": { "docs": undefined, + "inline": undefined, "properties": { "has_next": { "docs": "Indicates whether there are more results available in the next page.", @@ -1917,6 +1999,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "PermissionCheckFailedErrorDetails": { "docs": undefined, + "inline": undefined, "properties": { "permission": "string", "resource": { @@ -1932,6 +2015,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "PermissionCheckFailedErrorResponse": { "docs": undefined, + "inline": undefined, "properties": { "message": { "docs": "Human readable representation of the error", @@ -1948,6 +2032,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "Project": { "docs": undefined, + "inline": undefined, "properties": { "avatar_url": { "type": "optional", @@ -1987,6 +2072,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "ProjectConfig": { "docs": undefined, + "inline": undefined, "properties": { "chat_guardrails": { "type": "optional", @@ -2025,6 +2111,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "ProjectWithDatasources": { "docs": undefined, + "inline": undefined, "properties": { "avatar_url": { "type": "optional", @@ -2083,6 +2170,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "SourceRow": { "docs": undefined, + "inline": undefined, "properties": { "count": "integer", "source": { @@ -2117,6 +2205,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "Task": { "docs": undefined, + "inline": undefined, "properties": { "created": { "docs": "When the Task was created.", @@ -2169,6 +2258,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "TaskForwarder": { "docs": undefined, + "inline": undefined, "properties": { "config": { "docs": "Configuration parameters for the Task Forwarder such as a `destination` URL.", @@ -2221,6 +2311,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "TaskForwarderConfig": { "docs": undefined, + "inline": undefined, "properties": { "destination_url": { "docs": "The URL where Task Run result will be forwarded. Must be a valid HTTPS URL.", @@ -2233,6 +2324,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "TaskForwarderSensitiveConfig": { "docs": undefined, + "inline": undefined, "properties": { "signing_key": { "docs": "A secret key used to sign the forwarded data for verification purposes.", @@ -2245,6 +2337,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "TaskLLMConfig": { "docs": undefined, + "inline": undefined, "properties": { "temperature": { "default": 0.2, @@ -2265,6 +2358,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "TaskRAG": { "docs": undefined, + "inline": undefined, "properties": { "collection_id": { "type": "string", @@ -2283,6 +2377,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "TaskRevision": { "docs": undefined, + "inline": undefined, "properties": { "active": { "default": false, @@ -2330,7 +2425,6 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", ], "availability": "pre-release", "docs": "**Note: This is a Paid Tier feature.** Provide additional domain specific input to the LLM so that it is able to reference user specific information when executing the Task. Examples of this could be a product catalogue, terms and conditions or a user manual.", - "inline": undefined, "type": "optional", }, "system_prompt": "unknown", @@ -2422,6 +2516,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "TaskRun": { "docs": undefined, + "inline": undefined, "properties": { "created": { "docs": "The timestamp when the Task Run was created.", @@ -2473,6 +2568,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "User": { "docs": undefined, + "inline": undefined, "properties": { "avatar_url": { "type": "optional", @@ -2506,6 +2602,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", }, "ValidationError": { "docs": undefined, + "inline": undefined, "properties": { "loc": { "type": "list", @@ -2521,6 +2618,7 @@ https://github.com/ory/kratos/blob/master/selfservice/hook/web_hook.go", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3353,6 +3451,7 @@ types: - type: KratosIdentity source: openapi: ../openapi.yml + inline: true KratosWebhookResponse: docs: |- Sourced from rawHookResponse in: @@ -4062,6 +4161,7 @@ types: - integer source: openapi: ../openapi.yml + inline: true ValidationError: properties: loc: diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/rules.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/rules.json index 3cafaa6db95..082e1bbf8ef 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/rules.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/rules.json @@ -46,6 +46,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -56,6 +57,7 @@ }, "GetExampleResponseMessage": { "docs": undefined, + "inline": true, "properties": { "message": "optional", }, @@ -65,6 +67,7 @@ }, "Schema": { "docs": undefined, + "inline": undefined, "properties": { "age": { "default": 50, @@ -135,6 +138,7 @@ message: optional source: openapi: ../openapi.yml + inline: true GetExampleResponse: discriminated: false union: diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/seam.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/seam.json index 13e4c073099..ab1cf1a0152 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/seam.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/seam.json @@ -20,6 +20,7 @@ "types": { "AccessCode": { "docs": undefined, + "inline": undefined, "properties": { "access_code_id": { "docs": "Unique identifier for the access code.", @@ -151,6 +152,7 @@ }, "AcsAccessGroup": { "docs": undefined, + "inline": undefined, "properties": { "access_group_type": { "docs": " @@ -234,6 +236,7 @@ }, "AcsCredential": { "docs": undefined, + "inline": undefined, "properties": { "access_method": "AcsCredentialAccessMethod", "acs_credential_id": { @@ -300,10 +303,7 @@ }, }, "starts_at": "optional", - "visionline_metadata": { - "inline": true, - "type": "optional", - }, + "visionline_metadata": "optional", "warnings": "list", "workspace_id": { "type": "string", @@ -331,6 +331,7 @@ }, "AcsCredentialErrorsItem": { "docs": undefined, + "inline": true, "properties": { "error_code": "string", "message": "string", @@ -352,6 +353,7 @@ }, "AcsCredentialPool": { "docs": undefined, + "inline": undefined, "properties": { "acs_credential_pool_id": { "type": "string", @@ -399,6 +401,7 @@ }, "AcsCredentialProvisioningAutomation": { "docs": undefined, + "inline": undefined, "properties": { "acs_credential_provisioning_automation_id": { "type": "string", @@ -444,6 +447,7 @@ }, "AcsCredentialVisionlineMetadata": { "docs": undefined, + "inline": true, "properties": { "card_function_type": "AcsCredentialVisionlineMetadataCardFunctionType", "common_acs_entrance_ids": "optional>", @@ -465,6 +469,7 @@ }, "AcsCredentialWarningsItem": { "docs": undefined, + "inline": true, "properties": { "message": "string", "warning_code": "string", @@ -475,6 +480,7 @@ }, "AcsEntrance": { "docs": undefined, + "inline": undefined, "properties": { "acs_entrance_id": { "type": "string", @@ -497,14 +503,8 @@ "created_at": "datetime", "display_name": "string", "errors": "list", - "latch_metadata": { - "inline": true, - "type": "optional", - }, - "visionline_metadata": { - "inline": true, - "type": "optional", - }, + "latch_metadata": "optional", + "visionline_metadata": "optional", }, "source": { "openapi": "../openapi.json", @@ -512,6 +512,7 @@ }, "AcsEntranceErrorsItem": { "docs": undefined, + "inline": true, "properties": { "error_code": "string", "message": "string", @@ -522,6 +523,7 @@ }, "AcsEntranceLatchMetadata": { "docs": undefined, + "inline": true, "properties": { "accessibility_type": "string", "door_name": "string", @@ -534,6 +536,7 @@ }, "AcsEntranceVisionlineMetadata": { "docs": undefined, + "inline": true, "properties": { "door_category": "AcsEntranceVisionlineMetadataDoorCategory", "door_name": "string", @@ -563,6 +566,7 @@ }, "AcsEntranceVisionlineMetadataProfilesItem": { "docs": undefined, + "inline": true, "properties": { "visionline_door_profile_id": "string", "visionline_door_profile_type": "AcsEntranceVisionlineMetadataProfilesItemVisionlineDoorProfileType", @@ -583,6 +587,7 @@ }, "AcsSystem": { "docs": undefined, + "inline": undefined, "properties": { "acs_system_id": { "type": "string", @@ -652,6 +657,7 @@ }, "AcsSystemErrorsItemSeamBridgeDisconnected": { "docs": undefined, + "inline": true, "properties": { "created_at": "datetime", "message": "string", @@ -662,6 +668,7 @@ }, "AcsSystemErrorsItemVisionlineInstanceUnreachable": { "docs": undefined, + "inline": true, "properties": { "created_at": "datetime", "message": "string", @@ -707,6 +714,7 @@ }, "AcsSystemWarningsItem": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.json", @@ -714,11 +722,9 @@ }, "AcsUser": { "docs": undefined, + "inline": undefined, "properties": { - "access_schedule": { - "inline": true, - "type": "optional", - }, + "access_schedule": "optional", "acs_system_id": { "type": "string", "validation": { @@ -796,6 +802,7 @@ }, "AcsUserAccessSchedule": { "docs": undefined, + "inline": true, "properties": { "ends_at": "datetime", "starts_at": "datetime", @@ -820,6 +827,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -945,6 +953,7 @@ }, "ActionAttemptActionAttemptId": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -962,10 +971,7 @@ }, }, "action_type": "literal<"UPDATE_NOISE_THRESHOLD">", - "error": { - "inline": true, - "type": "ActionAttemptActionAttemptIdError", - }, + "error": "ActionAttemptActionAttemptIdError", "result": "optional", "status": "literal<"error">", }, @@ -975,6 +981,7 @@ }, "ActionAttemptActionAttemptIdError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -985,6 +992,7 @@ }, "ActionAttemptEight": { "docs": "Resetting sandbox workspace failed.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1002,10 +1010,7 @@ }, }, "action_type": "literal<"RESET_SANDBOX_WORKSPACE">", - "error": { - "inline": true, - "type": "ActionAttemptEightError", - }, + "error": "ActionAttemptEightError", "result": "optional", "status": "literal<"error">", }, @@ -1015,6 +1020,7 @@ }, "ActionAttemptEightError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -1025,6 +1031,7 @@ }, "ActionAttemptEighteen": { "docs": "Setting fan mode.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1052,6 +1059,7 @@ }, "ActionAttemptEleven": { "docs": "Setting HVAC to cool failed.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1069,10 +1077,7 @@ }, }, "action_type": "literal<"SET_COOL">", - "error": { - "inline": true, - "type": "ActionAttemptElevenError", - }, + "error": "ActionAttemptElevenError", "result": "optional", "status": "literal<"error">", }, @@ -1082,6 +1087,7 @@ }, "ActionAttemptElevenError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -1092,6 +1098,7 @@ }, "ActionAttemptFifteen": { "docs": "Setting HVAC to heat-cool mode.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1119,6 +1126,7 @@ }, "ActionAttemptFive": { "docs": "Unlocking door failed.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1136,10 +1144,7 @@ }, }, "action_type": "literal<"UNLOCK_DOOR">", - "error": { - "inline": true, - "type": "ActionAttemptFiveError", - }, + "error": "ActionAttemptFiveError", "result": "optional", "status": "literal<"error">", }, @@ -1149,6 +1154,7 @@ }, "ActionAttemptFiveError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -1159,6 +1165,7 @@ }, "ActionAttemptForty": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1186,6 +1193,7 @@ }, "ActionAttemptFortyOne": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1203,10 +1211,7 @@ }, }, "action_type": "literal<"DELETE_NOISE_THRESHOLD">", - "error": { - "inline": true, - "type": "ActionAttemptFortyOneError", - }, + "error": "ActionAttemptFortyOneError", "result": "optional", "status": "literal<"error">", }, @@ -1216,6 +1221,7 @@ }, "ActionAttemptFortyOneError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -1226,6 +1232,7 @@ }, "ActionAttemptFortyThree": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1253,6 +1260,7 @@ }, "ActionAttemptFortyTwo": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1280,6 +1288,7 @@ }, "ActionAttemptFour": { "docs": "Unlocking door succeeded.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1298,10 +1307,7 @@ }, "action_type": "literal<"UNLOCK_DOOR">", "error": "optional", - "result": { - "inline": true, - "type": "ActionAttemptFourResult", - }, + "result": "ActionAttemptFourResult", "status": "literal<"success">", }, "source": { @@ -1310,6 +1316,7 @@ }, "ActionAttemptFourResult": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.json", @@ -1317,6 +1324,7 @@ }, "ActionAttemptFourteen": { "docs": "Setting HVAC to heat mode failed.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1334,10 +1342,7 @@ }, }, "action_type": "literal<"SET_HEAT">", - "error": { - "inline": true, - "type": "ActionAttemptFourteenError", - }, + "error": "ActionAttemptFourteenError", "result": "optional", "status": "literal<"error">", }, @@ -1347,6 +1352,7 @@ }, "ActionAttemptFourteenError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -1357,6 +1363,7 @@ }, "ActionAttemptNine": { "docs": "Setting HVAC to cool.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1384,6 +1391,7 @@ }, "ActionAttemptNineteen": { "docs": "Setting fan mode succeeded.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1402,10 +1410,7 @@ }, "action_type": "literal<"SET_FAN_MODE">", "error": "optional", - "result": { - "inline": true, - "type": "ActionAttemptNineteenResult", - }, + "result": "ActionAttemptNineteenResult", "status": "literal<"success">", }, "source": { @@ -1414,6 +1419,7 @@ }, "ActionAttemptNineteenResult": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.json", @@ -1421,6 +1427,7 @@ }, "ActionAttemptOne": { "docs": "Locking door succeeded.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1439,10 +1446,7 @@ }, "action_type": "literal<"LOCK_DOOR">", "error": "optional", - "result": { - "inline": true, - "type": "ActionAttemptOneResult", - }, + "result": "ActionAttemptOneResult", "status": "literal<"success">", }, "source": { @@ -1451,6 +1455,7 @@ }, "ActionAttemptOneResult": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.json", @@ -1458,6 +1463,7 @@ }, "ActionAttemptSeven": { "docs": "Resetting sandbox workspace succeeded.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1476,10 +1482,7 @@ }, "action_type": "literal<"RESET_SANDBOX_WORKSPACE">", "error": "optional", - "result": { - "inline": true, - "type": "ActionAttemptSevenResult", - }, + "result": "ActionAttemptSevenResult", "status": "literal<"success">", }, "source": { @@ -1488,6 +1491,7 @@ }, "ActionAttemptSevenResult": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.json", @@ -1495,6 +1499,7 @@ }, "ActionAttemptSeventeen": { "docs": "Setting heat-cool mode failed.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1512,10 +1517,7 @@ }, }, "action_type": "literal<"SET_HEAT_COOL">", - "error": { - "inline": true, - "type": "ActionAttemptSeventeenError", - }, + "error": "ActionAttemptSeventeenError", "result": "optional", "status": "literal<"error">", }, @@ -1525,6 +1527,7 @@ }, "ActionAttemptSeventeenError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -1535,6 +1538,7 @@ }, "ActionAttemptSix": { "docs": "Resetting sandbox workspace.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1562,6 +1566,7 @@ }, "ActionAttemptSixteen": { "docs": "Setting HVAC to heat-cool mode succeeded.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1580,10 +1585,7 @@ }, "action_type": "literal<"SET_HEAT_COOL">", "error": "optional", - "result": { - "inline": true, - "type": "ActionAttemptSixteenResult", - }, + "result": "ActionAttemptSixteenResult", "status": "literal<"success">", }, "source": { @@ -1592,6 +1594,7 @@ }, "ActionAttemptSixteenResult": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.json", @@ -1599,6 +1602,7 @@ }, "ActionAttemptTen": { "docs": "Setting HVAC to cool succeeded.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1617,10 +1621,7 @@ }, "action_type": "literal<"SET_COOL">", "error": "optional", - "result": { - "inline": true, - "type": "ActionAttemptTenResult", - }, + "result": "ActionAttemptTenResult", "status": "literal<"success">", }, "source": { @@ -1629,6 +1630,7 @@ }, "ActionAttemptTenResult": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.json", @@ -1636,6 +1638,7 @@ }, "ActionAttemptThirteen": { "docs": "Setting HVAC to heat mode succeeded.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1654,10 +1657,7 @@ }, "action_type": "literal<"SET_HEAT">", "error": "optional", - "result": { - "inline": true, - "type": "ActionAttemptThirteenResult", - }, + "result": "ActionAttemptThirteenResult", "status": "literal<"success">", }, "source": { @@ -1666,6 +1666,7 @@ }, "ActionAttemptThirteenResult": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.json", @@ -1673,6 +1674,7 @@ }, "ActionAttemptThirty": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1700,6 +1702,7 @@ }, "ActionAttemptThirtyEight": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1717,10 +1720,7 @@ }, }, "action_type": "literal<"CREATE_NOISE_THRESHOLD">", - "error": { - "inline": true, - "type": "ActionAttemptThirtyEightError", - }, + "error": "ActionAttemptThirtyEightError", "result": "optional", "status": "literal<"error">", }, @@ -1730,6 +1730,7 @@ }, "ActionAttemptThirtyEightError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -1740,6 +1741,7 @@ }, "ActionAttemptThirtyFive": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1757,10 +1759,7 @@ }, }, "action_type": "literal<"UPDATE_ACCESS_CODE">", - "error": { - "inline": true, - "type": "ActionAttemptThirtyFiveError", - }, + "error": "ActionAttemptThirtyFiveError", "result": "optional", "status": "literal<"error">", }, @@ -1770,6 +1769,7 @@ }, "ActionAttemptThirtyFiveError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -1780,6 +1780,7 @@ }, "ActionAttemptThirtyFour": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1807,6 +1808,7 @@ }, "ActionAttemptThirtyNine": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1834,6 +1836,7 @@ }, "ActionAttemptThirtyOne": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1861,6 +1864,7 @@ }, "ActionAttemptThirtySeven": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1888,6 +1892,7 @@ }, "ActionAttemptThirtySix": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1915,6 +1920,7 @@ }, "ActionAttemptThirtyThree": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1942,6 +1948,7 @@ }, "ActionAttemptThirtyTwo": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -1959,10 +1966,7 @@ }, }, "action_type": "literal<"DELETE_ACCESS_CODE">", - "error": { - "inline": true, - "type": "ActionAttemptThirtyTwoError", - }, + "error": "ActionAttemptThirtyTwoError", "result": "optional", "status": "literal<"error">", }, @@ -1972,6 +1976,7 @@ }, "ActionAttemptThirtyTwoError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -1982,6 +1987,7 @@ }, "ActionAttemptThree": { "docs": "Unlocking door.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2009,6 +2015,7 @@ }, "ActionAttemptTwelve": { "docs": "Setting HVAC to heat mode.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2036,6 +2043,7 @@ }, "ActionAttemptTwenty": { "docs": "Setting fan mode failed.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2053,10 +2061,7 @@ }, }, "action_type": "literal<"SET_FAN_MODE">", - "error": { - "inline": true, - "type": "ActionAttemptTwentyError", - }, + "error": "ActionAttemptTwentyError", "result": "optional", "status": "literal<"error">", }, @@ -2066,6 +2071,7 @@ }, "ActionAttemptTwentyEight": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2093,6 +2099,7 @@ }, "ActionAttemptTwentyError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -2103,6 +2110,7 @@ }, "ActionAttemptTwentyFive": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2130,6 +2138,7 @@ }, "ActionAttemptTwentyFour": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2157,6 +2166,7 @@ }, "ActionAttemptTwentyNine": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2174,10 +2184,7 @@ }, }, "action_type": "literal<"CREATE_ACCESS_CODE">", - "error": { - "inline": true, - "type": "ActionAttemptTwentyNineError", - }, + "error": "ActionAttemptTwentyNineError", "result": "optional", "status": "literal<"error">", }, @@ -2187,6 +2194,7 @@ }, "ActionAttemptTwentyNineError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -2197,6 +2205,7 @@ }, "ActionAttemptTwentyOne": { "docs": "Turning HVAC off.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2224,6 +2233,7 @@ }, "ActionAttemptTwentySeven": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2251,6 +2261,7 @@ }, "ActionAttemptTwentySix": { "docs": undefined, + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2268,10 +2279,7 @@ }, }, "action_type": "literal<"SYNC_ACCESS_CODES">", - "error": { - "inline": true, - "type": "ActionAttemptTwentySixError", - }, + "error": "ActionAttemptTwentySixError", "result": "optional", "status": "literal<"error">", }, @@ -2281,6 +2289,7 @@ }, "ActionAttemptTwentySixError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -2291,6 +2300,7 @@ }, "ActionAttemptTwentyThree": { "docs": "Turning HVAC off failed.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2308,10 +2318,7 @@ }, }, "action_type": "literal<"SET_THERMOSTAT_OFF">", - "error": { - "inline": true, - "type": "ActionAttemptTwentyThreeError", - }, + "error": "ActionAttemptTwentyThreeError", "result": "optional", "status": "literal<"error">", }, @@ -2321,6 +2328,7 @@ }, "ActionAttemptTwentyThreeError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -2331,6 +2339,7 @@ }, "ActionAttemptTwentyTwo": { "docs": "Turning HVAC off succeeded.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2349,10 +2358,7 @@ }, "action_type": "literal<"SET_THERMOSTAT_OFF">", "error": "optional", - "result": { - "inline": true, - "type": "ActionAttemptTwentyTwoResult", - }, + "result": "ActionAttemptTwentyTwoResult", "status": "literal<"success">", }, "source": { @@ -2361,6 +2367,7 @@ }, "ActionAttemptTwentyTwoResult": { "docs": undefined, + "inline": true, "properties": {}, "source": { "openapi": "../openapi.json", @@ -2368,6 +2375,7 @@ }, "ActionAttemptTwo": { "docs": "Locking door failed.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2385,10 +2393,7 @@ }, }, "action_type": "literal<"LOCK_DOOR">", - "error": { - "inline": true, - "type": "ActionAttemptTwoError", - }, + "error": "ActionAttemptTwoError", "result": "optional", "status": "literal<"error">", }, @@ -2398,6 +2403,7 @@ }, "ActionAttemptTwoError": { "docs": undefined, + "inline": true, "properties": { "message": "string", "type": "string", @@ -2408,6 +2414,7 @@ }, "ActionAttemptZero": { "docs": "Locking door.", + "inline": true, "properties": { "action_attempt_id": { "docs": " @@ -2435,6 +2442,7 @@ }, "ClientSession": { "docs": undefined, + "inline": undefined, "properties": { "client_session_id": { "type": "string", @@ -2468,6 +2476,7 @@ }, "ClimateSettingSchedule": { "docs": undefined, + "inline": undefined, "properties": { "automatic_cooling_enabled": "optional", "automatic_heating_enabled": "optional", @@ -2519,6 +2528,7 @@ }, "ConnectWebview": { "docs": undefined, + "inline": undefined, "properties": { "accepted_devices": { "docs": " @@ -2610,6 +2620,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -2640,6 +2651,7 @@ }, "ConnectedAccount": { "docs": undefined, + "inline": undefined, "properties": { "account_type": "optional", "account_type_display_name": "string", @@ -2656,10 +2668,7 @@ "created_at": "optional", "custom_metadata": "map", "errors": "optional", - "user_identifier": { - "inline": true, - "type": "optional", - }, + "user_identifier": "optional", "warnings": "optional", }, "source": { @@ -2670,6 +2679,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -2680,6 +2690,7 @@ }, "ConnectedAccountUserIdentifier": { "docs": undefined, + "inline": true, "properties": { "api_url": "optional", "email": "optional", @@ -2693,6 +2704,7 @@ }, "Device": { "docs": undefined, + "inline": undefined, "properties": { "can_program_offline_access_codes": "optional", "can_program_online_access_codes": "optional", @@ -2748,7 +2760,6 @@ }, "location": { "docs": "Location information for the device.", - "inline": true, "type": "optional", }, "nickname": { @@ -2795,6 +2806,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -2846,6 +2858,7 @@ }, "DeviceErrorsItem": { "docs": undefined, + "inline": true, "properties": { "error_code": "string", "message": "string", @@ -2856,6 +2869,7 @@ }, "DeviceLocation": { "docs": "Location information for the device.", + "inline": true, "properties": { "location_name": { "docs": "Name of the device location.", @@ -2872,32 +2886,19 @@ }, "DeviceProperties": { "docs": "Properties of the device.", + "inline": true, "properties": { "_experimental_supported_code_from_access_codes_lengths": "optional>", "accessory_keypad": { "docs": "Represents the accessory keypad state.", - "inline": true, "type": "optional", }, - "appearance": { - "inline": true, - "type": "DevicePropertiesAppearance", - }, - "assa_abloy_credential_service_metadata": { - "inline": true, - "type": "optional", - }, - "august_metadata": { - "inline": true, - "type": "optional", - }, - "avigilon_alta_metadata": { - "inline": true, - "type": "optional", - }, + "appearance": "DevicePropertiesAppearance", + "assa_abloy_credential_service_metadata": "optional", + "august_metadata": "optional", + "avigilon_alta_metadata": "optional", "battery": { "docs": "Represents the current status of the battery charge level. Values are "critical," which indicates an extremely low level, suggesting imminent shutdown or an urgent need for charging; "low," which signifies that the battery is under the preferred threshold and should be charged soon; "good," which denotes a satisfactory charge level, adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage.", - "inline": true, "type": "optional", }, "battery_level": { @@ -2911,57 +2912,27 @@ "multipleOf": undefined, }, }, - "brivo_metadata": { - "inline": true, - "type": "optional", - }, + "brivo_metadata": "optional", "code_constraints": "optional>", - "controlbyweb_metadata": { - "inline": true, - "type": "optional", - }, + "controlbyweb_metadata": "optional", "currently_triggering_noise_threshold_ids": { "docs": "Array of noise threshold IDs that are currently triggering.", "type": "optional>", }, "door_open": "optional", - "dormakaba_oracode_metadata": { - "inline": true, - "type": "optional", - }, - "ecobee_metadata": { - "inline": true, - "type": "optional", - }, - "four_suites_metadata": { - "inline": true, - "type": "optional", - }, - "genie_metadata": { - "inline": true, - "type": "optional", - }, + "dormakaba_oracode_metadata": "optional", + "ecobee_metadata": "optional", + "four_suites_metadata": "optional", + "genie_metadata": "optional", "has_direct_power": { "docs": "Indicates whether the device has direct power.", "type": "optional", }, "has_native_entry_events": "optional", - "honeywell_resideo_metadata": { - "inline": true, - "type": "optional", - }, - "hubitat_metadata": { - "inline": true, - "type": "optional", - }, - "igloo_metadata": { - "inline": true, - "type": "optional", - }, - "igloohome_metadata": { - "inline": true, - "type": "optional", - }, + "honeywell_resideo_metadata": "optional", + "hubitat_metadata": "optional", + "igloo_metadata": "optional", + "igloohome_metadata": "optional", "image_alt_text": { "docs": "Alt text for the device image.", "type": "optional", @@ -2976,32 +2947,17 @@ "pattern": undefined, }, }, - "keypad_battery": { - "inline": true, - "type": "optional", - }, - "kwikset_metadata": { - "inline": true, - "type": "optional", - }, + "keypad_battery": "optional", + "kwikset_metadata": "optional", "locked": "optional", - "lockly_metadata": { - "inline": true, - "type": "optional", - }, + "lockly_metadata": "optional", "manufacturer": { "docs": "Manufacturer of the device.", "type": "optional", }, "max_active_codes_supported": "optional", - "minut_metadata": { - "inline": true, - "type": "optional", - }, - "model": { - "inline": true, - "type": "DevicePropertiesModel", - }, + "minut_metadata": "optional", + "model": "DevicePropertiesModel", "name": { "docs": " --- @@ -3011,22 +2967,13 @@ ", "type": "string", }, - "nest_metadata": { - "inline": true, - "type": "optional", - }, + "nest_metadata": "optional", "noise_level_decibels": { "docs": "Indicates current noise level in decibels, if the device supports noise detection.", "type": "optional", }, - "noiseaware_metadata": { - "inline": true, - "type": "optional", - }, - "nuki_metadata": { - "inline": true, - "type": "optional", - }, + "noiseaware_metadata": "optional", + "nuki_metadata": "optional", "offline_access_codes_enabled": { "docs": "Indicates whether it is currently possible to use offline access codes for the device.", "type": "optional", @@ -3039,26 +2986,14 @@ "docs": "Indicates whether it is currently possible to use online access codes for the device.", "type": "optional", }, - "salto_metadata": { - "inline": true, - "type": "optional", - }, - "schlage_metadata": { - "inline": true, - "type": "optional", - }, - "seam_bridge_metadata": { - "inline": true, - "type": "optional", - }, + "salto_metadata": "optional", + "schlage_metadata": "optional", + "seam_bridge_metadata": "optional", "serial_number": { "docs": "Serial number of the device.", "type": "optional", }, - "smartthings_metadata": { - "inline": true, - "type": "optional", - }, + "smartthings_metadata": "optional", "supported_code_lengths": "optional>", "supports_accessory_keypad": { "docs": " @@ -3077,22 +3012,10 @@ ", "type": "optional", }, - "tedee_metadata": { - "inline": true, - "type": "optional", - }, - "ttlock_metadata": { - "inline": true, - "type": "optional", - }, - "two_n_metadata": { - "inline": true, - "type": "optional", - }, - "wyze_metadata": { - "inline": true, - "type": "optional", - }, + "tedee_metadata": "optional", + "ttlock_metadata": "optional", + "two_n_metadata": "optional", + "wyze_metadata": "optional", }, "source": { "openapi": "../openapi.json", @@ -3100,10 +3023,10 @@ }, "DevicePropertiesAccessoryKeypad": { "docs": "Represents the accessory keypad state.", + "inline": true, "properties": { "battery": { "docs": "Indicates if the keypad battery properties.", - "inline": true, "type": "optional", }, "is_connected": { @@ -3117,6 +3040,7 @@ }, "DevicePropertiesAccessoryKeypadBattery": { "docs": "Indicates if the keypad battery properties.", + "inline": true, "properties": { "level": { "type": "double", @@ -3135,6 +3059,7 @@ }, "DevicePropertiesAppearance": { "docs": undefined, + "inline": true, "properties": { "name": { "docs": "Name of the device as seen from the provider API and application, not settable through Seam.", @@ -3147,6 +3072,7 @@ }, "DevicePropertiesAssaAbloyCredentialServiceMetadata": { "docs": undefined, + "inline": true, "properties": { "endpoints": "list", "has_active_endpoint": "boolean", @@ -3157,6 +3083,7 @@ }, "DevicePropertiesAssaAbloyCredentialServiceMetadataEndpointsItem": { "docs": undefined, + "inline": true, "properties": { "endpoint_id": "string", "is_active": "boolean", @@ -3167,6 +3094,7 @@ }, "DevicePropertiesAugustMetadata": { "docs": undefined, + "inline": true, "properties": { "has_keypad": "boolean", "house_id": "optional", @@ -3182,6 +3110,7 @@ }, "DevicePropertiesAvigilonAltaMetadata": { "docs": undefined, + "inline": true, "properties": { "entry_name": "string", "entry_relays_total_count": "double", @@ -3197,6 +3126,7 @@ }, "DevicePropertiesBattery": { "docs": "Represents the current status of the battery charge level. Values are "critical," which indicates an extremely low level, suggesting imminent shutdown or an urgent need for charging; "low," which signifies that the battery is under the preferred threshold and should be charged soon; "good," which denotes a satisfactory charge level, adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage.", + "inline": true, "properties": { "level": { "type": "double", @@ -3227,6 +3157,7 @@ }, "DevicePropertiesBrivoMetadata": { "docs": undefined, + "inline": true, "properties": { "device_name": "string", }, @@ -3238,6 +3169,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -3248,6 +3180,7 @@ }, "DevicePropertiesCodeConstraintsItemMaxLength": { "docs": undefined, + "inline": true, "properties": { "constraint_type": "DevicePropertiesCodeConstraintsItemMaxLengthConstraintType", "max_length": "optional", @@ -3268,6 +3201,7 @@ }, "DevicePropertiesCodeConstraintsItemZero": { "docs": undefined, + "inline": true, "properties": { "constraint_type": "DevicePropertiesCodeConstraintsItemZeroConstraintType", }, @@ -3293,6 +3227,7 @@ }, "DevicePropertiesControlbywebMetadata": { "docs": undefined, + "inline": true, "properties": { "device_id": "string", "device_name": "string", @@ -3304,6 +3239,7 @@ }, "DevicePropertiesDormakabaOracodeMetadata": { "docs": undefined, + "inline": true, "properties": { "device_id": "optional", "door_id": "double", @@ -3320,6 +3256,7 @@ }, "DevicePropertiesDormakabaOracodeMetadataPredefinedTimeSlotsItem": { "docs": undefined, + "inline": true, "properties": { "check_in_time": "string", "check_out_time": "string", @@ -3346,6 +3283,7 @@ }, "DevicePropertiesEcobeeMetadata": { "docs": undefined, + "inline": true, "properties": { "device_name": "string", "ecobee_device_id": "string", @@ -3356,6 +3294,7 @@ }, "DevicePropertiesFourSuitesMetadata": { "docs": undefined, + "inline": true, "properties": { "device_id": "double", "device_name": "string", @@ -3367,6 +3306,7 @@ }, "DevicePropertiesGenieMetadata": { "docs": undefined, + "inline": true, "properties": { "device_name": "string", "door_name": "string", @@ -3377,6 +3317,7 @@ }, "DevicePropertiesHoneywellResideoMetadata": { "docs": undefined, + "inline": true, "properties": { "device_name": "string", "honeywell_resideo_device_id": "string", @@ -3387,6 +3328,7 @@ }, "DevicePropertiesHubitatMetadata": { "docs": undefined, + "inline": true, "properties": { "device_id": "string", "device_label": "string", @@ -3398,6 +3340,7 @@ }, "DevicePropertiesIglooMetadata": { "docs": undefined, + "inline": true, "properties": { "bridge_id": "string", "device_id": "string", @@ -3409,6 +3352,7 @@ }, "DevicePropertiesIgloohomeMetadata": { "docs": undefined, + "inline": true, "properties": { "bridge_id": "optional", "bridge_name": "optional", @@ -3422,6 +3366,7 @@ }, "DevicePropertiesKeypadBattery": { "docs": undefined, + "inline": true, "properties": { "level": "double", }, @@ -3431,6 +3376,7 @@ }, "DevicePropertiesKwiksetMetadata": { "docs": undefined, + "inline": true, "properties": { "device_id": "string", "device_name": "string", @@ -3442,6 +3388,7 @@ }, "DevicePropertiesLocklyMetadata": { "docs": undefined, + "inline": true, "properties": { "device_id": "string", "device_name": "string", @@ -3453,13 +3400,11 @@ }, "DevicePropertiesMinutMetadata": { "docs": undefined, + "inline": true, "properties": { "device_id": "string", "device_name": "string", - "latest_sensor_values": { - "inline": true, - "type": "DevicePropertiesMinutMetadataLatestSensorValues", - }, + "latest_sensor_values": "DevicePropertiesMinutMetadataLatestSensorValues", }, "source": { "openapi": "../openapi.json", @@ -3467,27 +3412,13 @@ }, "DevicePropertiesMinutMetadataLatestSensorValues": { "docs": undefined, + "inline": true, "properties": { - "accelerometer_z": { - "inline": true, - "type": "DevicePropertiesMinutMetadataLatestSensorValuesAccelerometerZ", - }, - "humidity": { - "inline": true, - "type": "DevicePropertiesMinutMetadataLatestSensorValuesHumidity", - }, - "pressure": { - "inline": true, - "type": "DevicePropertiesMinutMetadataLatestSensorValuesPressure", - }, - "sound": { - "inline": true, - "type": "DevicePropertiesMinutMetadataLatestSensorValuesSound", - }, - "temperature": { - "inline": true, - "type": "DevicePropertiesMinutMetadataLatestSensorValuesTemperature", - }, + "accelerometer_z": "DevicePropertiesMinutMetadataLatestSensorValuesAccelerometerZ", + "humidity": "DevicePropertiesMinutMetadataLatestSensorValuesHumidity", + "pressure": "DevicePropertiesMinutMetadataLatestSensorValuesPressure", + "sound": "DevicePropertiesMinutMetadataLatestSensorValuesSound", + "temperature": "DevicePropertiesMinutMetadataLatestSensorValuesTemperature", }, "source": { "openapi": "../openapi.json", @@ -3495,6 +3426,7 @@ }, "DevicePropertiesMinutMetadataLatestSensorValuesAccelerometerZ": { "docs": undefined, + "inline": true, "properties": { "time": "string", "value": "double", @@ -3505,6 +3437,7 @@ }, "DevicePropertiesMinutMetadataLatestSensorValuesHumidity": { "docs": undefined, + "inline": true, "properties": { "time": "string", "value": "double", @@ -3515,6 +3448,7 @@ }, "DevicePropertiesMinutMetadataLatestSensorValuesPressure": { "docs": undefined, + "inline": true, "properties": { "time": "string", "value": "double", @@ -3525,6 +3459,7 @@ }, "DevicePropertiesMinutMetadataLatestSensorValuesSound": { "docs": undefined, + "inline": true, "properties": { "time": "string", "value": "double", @@ -3535,6 +3470,7 @@ }, "DevicePropertiesMinutMetadataLatestSensorValuesTemperature": { "docs": undefined, + "inline": true, "properties": { "time": "string", "value": "double", @@ -3545,6 +3481,7 @@ }, "DevicePropertiesModel": { "docs": undefined, + "inline": true, "properties": { "accessory_keypad_supported": { "docs": " @@ -3585,6 +3522,7 @@ }, "DevicePropertiesNestMetadata": { "docs": undefined, + "inline": true, "properties": { "custom_name": "string", "device_name": "string", @@ -3596,6 +3534,7 @@ }, "DevicePropertiesNoiseawareMetadata": { "docs": undefined, + "inline": true, "properties": { "device_id": "string", "device_model": "DevicePropertiesNoiseawareMetadataDeviceModel", @@ -3618,6 +3557,7 @@ }, "DevicePropertiesNukiMetadata": { "docs": undefined, + "inline": true, "properties": { "device_id": "string", "device_name": "string", @@ -3631,6 +3571,7 @@ }, "DevicePropertiesSaltoMetadata": { "docs": undefined, + "inline": true, "properties": { "battery_level": "string", "customer_reference": "string", @@ -3645,6 +3586,7 @@ }, "DevicePropertiesSchlageMetadata": { "docs": undefined, + "inline": true, "properties": { "access_code_length": "optional", "device_id": "string", @@ -3657,6 +3599,7 @@ }, "DevicePropertiesSeamBridgeMetadata": { "docs": undefined, + "inline": true, "properties": { "device_num": "double", "name": "string", @@ -3677,6 +3620,7 @@ }, "DevicePropertiesSmartthingsMetadata": { "docs": undefined, + "inline": true, "properties": { "device_id": "string", "device_name": "string", @@ -3689,6 +3633,7 @@ }, "DevicePropertiesTedeeMetadata": { "docs": undefined, + "inline": true, "properties": { "bridge_id": "double", "bridge_name": "string", @@ -3704,6 +3649,7 @@ }, "DevicePropertiesTtlockMetadata": { "docs": undefined, + "inline": true, "properties": { "feature_value": "string", "lock_alias": "string", @@ -3715,6 +3661,7 @@ }, "DevicePropertiesTwoNMetadata": { "docs": undefined, + "inline": true, "properties": { "device_id": "double", "device_name": "string", @@ -3725,6 +3672,7 @@ }, "DevicePropertiesWyzeMetadata": { "docs": undefined, + "inline": true, "properties": { "device_id": "string", "device_info_model": "string", @@ -3741,6 +3689,7 @@ }, "DeviceProvider": { "docs": undefined, + "inline": undefined, "properties": { "device_provider_name": "DeviceProviderDeviceProviderName", "display_name": "string", @@ -3809,6 +3758,7 @@ }, "DeviceWarningsItem": { "docs": undefined, + "inline": true, "properties": { "message": "string", "warning_code": "string", @@ -3819,6 +3769,7 @@ }, "EnrollmentAutomation": { "docs": undefined, + "inline": undefined, "properties": { "created_at": "datetime", "credential_manager_acs_system_id": { @@ -3864,6 +3815,7 @@ }, "Event": { "docs": undefined, + "inline": undefined, "properties": { "acs_credential_id": { "type": "optional", @@ -3956,6 +3908,7 @@ }, "Network": { "docs": undefined, + "inline": undefined, "properties": { "created_at": "datetime", "display_name": "string", @@ -3984,6 +3937,7 @@ }, "NoiseThreshold": { "docs": undefined, + "inline": undefined, "properties": { "device_id": { "type": "string", @@ -4015,6 +3969,7 @@ }, "Phone": { "docs": undefined, + "inline": undefined, "properties": { "can_program_offline_access_codes": "optional", "can_program_online_access_codes": "optional", @@ -4057,17 +4012,13 @@ }, "location": { "docs": "Location information for the device.", - "inline": true, "type": "optional", }, "nickname": { "docs": "Optional nickname to describe the device, settable through Seam", "type": "optional", }, - "properties": { - "inline": true, - "type": "PhoneProperties", - }, + "properties": "PhoneProperties", "warnings": { "docs": "Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it.", "type": "list", @@ -4104,6 +4055,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -4123,6 +4075,7 @@ }, "PhoneErrorsItem": { "docs": undefined, + "inline": true, "properties": { "error_code": "string", "message": "string", @@ -4133,6 +4086,7 @@ }, "PhoneLocation": { "docs": "Location information for the device.", + "inline": true, "properties": { "location_name": { "docs": "Name of the device location.", @@ -4149,11 +4103,9 @@ }, "PhoneProperties": { "docs": undefined, + "inline": true, "properties": { - "assa_abloy_credential_service_metadata": { - "inline": true, - "type": "optional", - }, + "assa_abloy_credential_service_metadata": "optional", }, "source": { "openapi": "../openapi.json", @@ -4161,6 +4113,7 @@ }, "PhonePropertiesAssaAbloyCredentialServiceMetadata": { "docs": undefined, + "inline": true, "properties": { "endpoints": "list", "has_active_endpoint": "boolean", @@ -4171,6 +4124,7 @@ }, "PhonePropertiesAssaAbloyCredentialServiceMetadataEndpointsItem": { "docs": undefined, + "inline": true, "properties": { "endpoint_id": "string", "is_active": "boolean", @@ -4181,6 +4135,7 @@ }, "PhoneWarningsItem": { "docs": undefined, + "inline": true, "properties": { "message": "string", "warning_code": "string", @@ -4191,6 +4146,7 @@ }, "ServiceHealth": { "docs": undefined, + "inline": undefined, "properties": { "description": "string", "service": "string", @@ -4212,6 +4168,7 @@ }, "UnmanagedAccessCode": { "docs": undefined, + "inline": undefined, "properties": { "access_code_id": { "docs": "Unique identifier for the access code.", @@ -4278,6 +4235,7 @@ }, "UnmanagedDevice": { "docs": undefined, + "inline": undefined, "properties": { "can_program_offline_access_codes": "optional", "can_program_online_access_codes": "optional", @@ -4323,10 +4281,7 @@ "type": "list", }, "is_managed": "boolean", - "properties": { - "inline": true, - "type": "UnmanagedDeviceProperties", - }, + "properties": "UnmanagedDeviceProperties", "warnings": { "docs": "Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it.", "type": "list", @@ -4402,6 +4357,7 @@ }, "UnmanagedDeviceErrorsItem": { "docs": undefined, + "inline": true, "properties": { "error_code": "string", "message": "string", @@ -4412,15 +4368,14 @@ }, "UnmanagedDeviceProperties": { "docs": undefined, + "inline": true, "properties": { "accessory_keypad": { "docs": "Represents the accessory keypad state.", - "inline": true, "type": "optional", }, "battery": { "docs": "Represents the current status of the battery charge level. Values are "critical," which indicates an extremely low level, suggesting imminent shutdown or an urgent need for charging; "low," which signifies that the battery is under the preferred threshold and should be charged soon; "good," which denotes a satisfactory charge level, adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage.", - "inline": true, "type": "optional", }, "battery_level": { @@ -4452,10 +4407,7 @@ "docs": "Manufacturer of the device.", "type": "optional", }, - "model": { - "inline": true, - "type": "UnmanagedDevicePropertiesModel", - }, + "model": "UnmanagedDevicePropertiesModel", "name": { "docs": " --- @@ -4484,10 +4436,10 @@ }, "UnmanagedDevicePropertiesAccessoryKeypad": { "docs": "Represents the accessory keypad state.", + "inline": true, "properties": { "battery": { "docs": "Indicates if the keypad battery properties.", - "inline": true, "type": "optional", }, "is_connected": { @@ -4501,6 +4453,7 @@ }, "UnmanagedDevicePropertiesAccessoryKeypadBattery": { "docs": "Indicates if the keypad battery properties.", + "inline": true, "properties": { "level": { "type": "double", @@ -4519,6 +4472,7 @@ }, "UnmanagedDevicePropertiesBattery": { "docs": "Represents the current status of the battery charge level. Values are "critical," which indicates an extremely low level, suggesting imminent shutdown or an urgent need for charging; "low," which signifies that the battery is under the preferred threshold and should be charged soon; "good," which denotes a satisfactory charge level, adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage.", + "inline": true, "properties": { "level": { "type": "double", @@ -4549,6 +4503,7 @@ }, "UnmanagedDevicePropertiesModel": { "docs": undefined, + "inline": true, "properties": { "accessory_keypad_supported": { "docs": " @@ -4589,6 +4544,7 @@ }, "UnmanagedDeviceWarningsItem": { "docs": undefined, + "inline": true, "properties": { "message": "string", "warning_code": "string", @@ -4599,6 +4555,7 @@ }, "UserIdentity": { "docs": undefined, + "inline": undefined, "properties": { "created_at": "datetime", "display_name": { @@ -4663,6 +4620,7 @@ }, "Webhook": { "docs": undefined, + "inline": undefined, "properties": { "event_types": "optional>", "secret": "optional", @@ -4675,6 +4633,7 @@ }, "Workspace": { "docs": undefined, + "inline": undefined, "properties": { "company_name": "string", "connect_partner_name": { @@ -4901,10 +4860,12 @@ types: action_type: literal<"LOCK_DOOR"> source: openapi: ../openapi.json + inline: true ActionAttemptOneResult: properties: {} source: openapi: ../openapi.json + inline: true ActionAttemptOne: docs: Locking door succeeded. properties: @@ -4922,17 +4883,17 @@ types: status: literal<"success"> error: optional action_type: literal<"LOCK_DOOR"> - result: - type: ActionAttemptOneResult - inline: true + result: ActionAttemptOneResult source: openapi: ../openapi.json + inline: true ActionAttemptTwoError: properties: type: string message: string source: openapi: ../openapi.json + inline: true ActionAttemptTwo: docs: Locking door failed. properties: @@ -4950,11 +4911,10 @@ types: status: literal<"error"> result: optional action_type: literal<"LOCK_DOOR"> - error: - type: ActionAttemptTwoError - inline: true + error: ActionAttemptTwoError source: openapi: ../openapi.json + inline: true ActionAttemptThree: docs: Unlocking door. properties: @@ -4975,10 +4935,12 @@ types: action_type: literal<"UNLOCK_DOOR"> source: openapi: ../openapi.json + inline: true ActionAttemptFourResult: properties: {} source: openapi: ../openapi.json + inline: true ActionAttemptFour: docs: Unlocking door succeeded. properties: @@ -4996,17 +4958,17 @@ types: status: literal<"success"> error: optional action_type: literal<"UNLOCK_DOOR"> - result: - type: ActionAttemptFourResult - inline: true + result: ActionAttemptFourResult source: openapi: ../openapi.json + inline: true ActionAttemptFiveError: properties: type: string message: string source: openapi: ../openapi.json + inline: true ActionAttemptFive: docs: Unlocking door failed. properties: @@ -5024,11 +4986,10 @@ types: status: literal<"error"> result: optional action_type: literal<"UNLOCK_DOOR"> - error: - type: ActionAttemptFiveError - inline: true + error: ActionAttemptFiveError source: openapi: ../openapi.json + inline: true ActionAttemptSix: docs: Resetting sandbox workspace. properties: @@ -5049,10 +5010,12 @@ types: action_type: literal<"RESET_SANDBOX_WORKSPACE"> source: openapi: ../openapi.json + inline: true ActionAttemptSevenResult: properties: {} source: openapi: ../openapi.json + inline: true ActionAttemptSeven: docs: Resetting sandbox workspace succeeded. properties: @@ -5070,17 +5033,17 @@ types: status: literal<"success"> error: optional action_type: literal<"RESET_SANDBOX_WORKSPACE"> - result: - type: ActionAttemptSevenResult - inline: true + result: ActionAttemptSevenResult source: openapi: ../openapi.json + inline: true ActionAttemptEightError: properties: type: string message: string source: openapi: ../openapi.json + inline: true ActionAttemptEight: docs: Resetting sandbox workspace failed. properties: @@ -5098,11 +5061,10 @@ types: status: literal<"error"> result: optional action_type: literal<"RESET_SANDBOX_WORKSPACE"> - error: - type: ActionAttemptEightError - inline: true + error: ActionAttemptEightError source: openapi: ../openapi.json + inline: true ActionAttemptNine: docs: Setting HVAC to cool. properties: @@ -5123,10 +5085,12 @@ types: action_type: literal<"SET_COOL"> source: openapi: ../openapi.json + inline: true ActionAttemptTenResult: properties: {} source: openapi: ../openapi.json + inline: true ActionAttemptTen: docs: Setting HVAC to cool succeeded. properties: @@ -5144,17 +5108,17 @@ types: status: literal<"success"> error: optional action_type: literal<"SET_COOL"> - result: - type: ActionAttemptTenResult - inline: true + result: ActionAttemptTenResult source: openapi: ../openapi.json + inline: true ActionAttemptElevenError: properties: type: string message: string source: openapi: ../openapi.json + inline: true ActionAttemptEleven: docs: Setting HVAC to cool failed. properties: @@ -5172,11 +5136,10 @@ types: status: literal<"error"> result: optional action_type: literal<"SET_COOL"> - error: - type: ActionAttemptElevenError - inline: true + error: ActionAttemptElevenError source: openapi: ../openapi.json + inline: true ActionAttemptTwelve: docs: Setting HVAC to heat mode. properties: @@ -5197,10 +5160,12 @@ types: action_type: literal<"SET_HEAT"> source: openapi: ../openapi.json + inline: true ActionAttemptThirteenResult: properties: {} source: openapi: ../openapi.json + inline: true ActionAttemptThirteen: docs: Setting HVAC to heat mode succeeded. properties: @@ -5218,17 +5183,17 @@ types: status: literal<"success"> error: optional action_type: literal<"SET_HEAT"> - result: - type: ActionAttemptThirteenResult - inline: true + result: ActionAttemptThirteenResult source: openapi: ../openapi.json + inline: true ActionAttemptFourteenError: properties: type: string message: string source: openapi: ../openapi.json + inline: true ActionAttemptFourteen: docs: Setting HVAC to heat mode failed. properties: @@ -5246,11 +5211,10 @@ types: status: literal<"error"> result: optional action_type: literal<"SET_HEAT"> - error: - type: ActionAttemptFourteenError - inline: true + error: ActionAttemptFourteenError source: openapi: ../openapi.json + inline: true ActionAttemptFifteen: docs: Setting HVAC to heat-cool mode. properties: @@ -5271,10 +5235,12 @@ types: action_type: literal<"SET_HEAT_COOL"> source: openapi: ../openapi.json + inline: true ActionAttemptSixteenResult: properties: {} source: openapi: ../openapi.json + inline: true ActionAttemptSixteen: docs: Setting HVAC to heat-cool mode succeeded. properties: @@ -5292,17 +5258,17 @@ types: status: literal<"success"> error: optional action_type: literal<"SET_HEAT_COOL"> - result: - type: ActionAttemptSixteenResult - inline: true + result: ActionAttemptSixteenResult source: openapi: ../openapi.json + inline: true ActionAttemptSeventeenError: properties: type: string message: string source: openapi: ../openapi.json + inline: true ActionAttemptSeventeen: docs: Setting heat-cool mode failed. properties: @@ -5320,11 +5286,10 @@ types: status: literal<"error"> result: optional action_type: literal<"SET_HEAT_COOL"> - error: - type: ActionAttemptSeventeenError - inline: true + error: ActionAttemptSeventeenError source: openapi: ../openapi.json + inline: true ActionAttemptEighteen: docs: Setting fan mode. properties: @@ -5345,10 +5310,12 @@ types: action_type: literal<"SET_FAN_MODE"> source: openapi: ../openapi.json + inline: true ActionAttemptNineteenResult: properties: {} source: openapi: ../openapi.json + inline: true ActionAttemptNineteen: docs: Setting fan mode succeeded. properties: @@ -5366,17 +5333,17 @@ types: status: literal<"success"> error: optional action_type: literal<"SET_FAN_MODE"> - result: - type: ActionAttemptNineteenResult - inline: true + result: ActionAttemptNineteenResult source: openapi: ../openapi.json + inline: true ActionAttemptTwentyError: properties: type: string message: string source: openapi: ../openapi.json + inline: true ActionAttemptTwenty: docs: Setting fan mode failed. properties: @@ -5394,11 +5361,10 @@ types: status: literal<"error"> result: optional action_type: literal<"SET_FAN_MODE"> - error: - type: ActionAttemptTwentyError - inline: true + error: ActionAttemptTwentyError source: openapi: ../openapi.json + inline: true ActionAttemptTwentyOne: docs: Turning HVAC off. properties: @@ -5419,10 +5385,12 @@ types: action_type: literal<"SET_THERMOSTAT_OFF"> source: openapi: ../openapi.json + inline: true ActionAttemptTwentyTwoResult: properties: {} source: openapi: ../openapi.json + inline: true ActionAttemptTwentyTwo: docs: Turning HVAC off succeeded. properties: @@ -5440,17 +5408,17 @@ types: status: literal<"success"> error: optional action_type: literal<"SET_THERMOSTAT_OFF"> - result: - type: ActionAttemptTwentyTwoResult - inline: true + result: ActionAttemptTwentyTwoResult source: openapi: ../openapi.json + inline: true ActionAttemptTwentyThreeError: properties: type: string message: string source: openapi: ../openapi.json + inline: true ActionAttemptTwentyThree: docs: Turning HVAC off failed. properties: @@ -5468,11 +5436,10 @@ types: status: literal<"error"> result: optional action_type: literal<"SET_THERMOSTAT_OFF"> - error: - type: ActionAttemptTwentyThreeError - inline: true + error: ActionAttemptTwentyThreeError source: openapi: ../openapi.json + inline: true ActionAttemptTwentyFour: properties: action_attempt_id: @@ -5492,6 +5459,7 @@ types: action_type: literal<"SYNC_ACCESS_CODES"> source: openapi: ../openapi.json + inline: true ActionAttemptTwentyFive: properties: action_attempt_id: @@ -5511,12 +5479,14 @@ types: result: optional source: openapi: ../openapi.json + inline: true ActionAttemptTwentySixError: properties: type: string message: string source: openapi: ../openapi.json + inline: true ActionAttemptTwentySix: properties: action_attempt_id: @@ -5533,11 +5503,10 @@ types: status: literal<"error"> result: optional action_type: literal<"SYNC_ACCESS_CODES"> - error: - type: ActionAttemptTwentySixError - inline: true + error: ActionAttemptTwentySixError source: openapi: ../openapi.json + inline: true ActionAttemptTwentySeven: properties: action_attempt_id: @@ -5557,6 +5526,7 @@ types: action_type: literal<"CREATE_ACCESS_CODE"> source: openapi: ../openapi.json + inline: true ActionAttemptTwentyEight: properties: action_attempt_id: @@ -5576,12 +5546,14 @@ types: result: optional source: openapi: ../openapi.json + inline: true ActionAttemptTwentyNineError: properties: type: string message: string source: openapi: ../openapi.json + inline: true ActionAttemptTwentyNine: properties: action_attempt_id: @@ -5598,11 +5570,10 @@ types: status: literal<"error"> result: optional action_type: literal<"CREATE_ACCESS_CODE"> - error: - type: ActionAttemptTwentyNineError - inline: true + error: ActionAttemptTwentyNineError source: openapi: ../openapi.json + inline: true ActionAttemptThirty: properties: action_attempt_id: @@ -5622,6 +5593,7 @@ types: action_type: literal<"DELETE_ACCESS_CODE"> source: openapi: ../openapi.json + inline: true ActionAttemptThirtyOne: properties: action_attempt_id: @@ -5641,12 +5613,14 @@ types: result: optional source: openapi: ../openapi.json + inline: true ActionAttemptThirtyTwoError: properties: type: string message: string source: openapi: ../openapi.json + inline: true ActionAttemptThirtyTwo: properties: action_attempt_id: @@ -5663,11 +5637,10 @@ types: status: literal<"error"> result: optional action_type: literal<"DELETE_ACCESS_CODE"> - error: - type: ActionAttemptThirtyTwoError - inline: true + error: ActionAttemptThirtyTwoError source: openapi: ../openapi.json + inline: true ActionAttemptThirtyThree: properties: action_attempt_id: @@ -5687,6 +5660,7 @@ types: action_type: literal<"UPDATE_ACCESS_CODE"> source: openapi: ../openapi.json + inline: true ActionAttemptThirtyFour: properties: action_attempt_id: @@ -5706,12 +5680,14 @@ types: result: optional source: openapi: ../openapi.json + inline: true ActionAttemptThirtyFiveError: properties: type: string message: string source: openapi: ../openapi.json + inline: true ActionAttemptThirtyFive: properties: action_attempt_id: @@ -5728,11 +5704,10 @@ types: status: literal<"error"> result: optional action_type: literal<"UPDATE_ACCESS_CODE"> - error: - type: ActionAttemptThirtyFiveError - inline: true + error: ActionAttemptThirtyFiveError source: openapi: ../openapi.json + inline: true ActionAttemptThirtySix: properties: action_attempt_id: @@ -5752,6 +5727,7 @@ types: action_type: literal<"CREATE_NOISE_THRESHOLD"> source: openapi: ../openapi.json + inline: true ActionAttemptThirtySeven: properties: action_attempt_id: @@ -5771,12 +5747,14 @@ types: result: optional source: openapi: ../openapi.json + inline: true ActionAttemptThirtyEightError: properties: type: string message: string source: openapi: ../openapi.json + inline: true ActionAttemptThirtyEight: properties: action_attempt_id: @@ -5793,11 +5771,10 @@ types: status: literal<"error"> result: optional action_type: literal<"CREATE_NOISE_THRESHOLD"> - error: - type: ActionAttemptThirtyEightError - inline: true + error: ActionAttemptThirtyEightError source: openapi: ../openapi.json + inline: true ActionAttemptThirtyNine: properties: action_attempt_id: @@ -5817,6 +5794,7 @@ types: action_type: literal<"DELETE_NOISE_THRESHOLD"> source: openapi: ../openapi.json + inline: true ActionAttemptForty: properties: action_attempt_id: @@ -5836,12 +5814,14 @@ types: result: optional source: openapi: ../openapi.json + inline: true ActionAttemptFortyOneError: properties: type: string message: string source: openapi: ../openapi.json + inline: true ActionAttemptFortyOne: properties: action_attempt_id: @@ -5858,11 +5838,10 @@ types: status: literal<"error"> result: optional action_type: literal<"DELETE_NOISE_THRESHOLD"> - error: - type: ActionAttemptFortyOneError - inline: true + error: ActionAttemptFortyOneError source: openapi: ../openapi.json + inline: true ActionAttemptFortyTwo: properties: action_attempt_id: @@ -5882,6 +5861,7 @@ types: action_type: literal<"UPDATE_NOISE_THRESHOLD"> source: openapi: ../openapi.json + inline: true ActionAttemptFortyThree: properties: action_attempt_id: @@ -5901,12 +5881,14 @@ types: result: optional source: openapi: ../openapi.json + inline: true ActionAttemptActionAttemptIdError: properties: type: string message: string source: openapi: ../openapi.json + inline: true ActionAttemptActionAttemptId: properties: action_attempt_id: @@ -5923,11 +5905,10 @@ types: status: literal<"error"> result: optional action_type: literal<"UPDATE_NOISE_THRESHOLD"> - error: - type: ActionAttemptActionAttemptIdError - inline: true + error: ActionAttemptActionAttemptIdError source: openapi: ../openapi.json + inline: true ActionAttempt: discriminated: false union: @@ -6076,6 +6057,7 @@ types: - boolean source: openapi: ../openapi.json + inline: true ConnectWebview: properties: connect_webview_id: @@ -6140,6 +6122,7 @@ types: exclusive: optional source: openapi: ../openapi.json + inline: true ConnectedAccountCustomMetadataValue: discriminated: false union: @@ -6147,6 +6130,7 @@ types: - boolean source: openapi: ../openapi.json + inline: true ConnectedAccount: properties: connected_account_id: @@ -6154,9 +6138,7 @@ types: validation: format: uuid created_at: optional - user_identifier: - type: optional - inline: true + user_identifier: optional account_type: optional account_type_display_name: string errors: optional @@ -6223,6 +6205,7 @@ types: max: 1 source: openapi: ../openapi.json + inline: true DevicePropertiesAccessoryKeypad: docs: Represents the accessory keypad state. properties: @@ -6232,9 +6215,9 @@ types: battery: type: optional docs: Indicates if the keypad battery properties. - inline: true source: openapi: ../openapi.json + inline: true DevicePropertiesAppearance: properties: name: @@ -6244,6 +6227,7 @@ types: settable through Seam. source: openapi: ../openapi.json + inline: true DevicePropertiesModel: properties: can_connect_accessory_keypad: @@ -6276,6 +6260,7 @@ types: source: openapi: ../openapi.json + inline: true DevicePropertiesBatteryStatus: enum: - critical @@ -6302,18 +6287,21 @@ types: status: DevicePropertiesBatteryStatus source: openapi: ../openapi.json + inline: true DevicePropertiesAssaAbloyCredentialServiceMetadataEndpointsItem: properties: endpoint_id: string is_active: boolean source: openapi: ../openapi.json + inline: true DevicePropertiesAssaAbloyCredentialServiceMetadata: properties: has_active_endpoint: boolean endpoints: list source: openapi: ../openapi.json + inline: true DevicePropertiesAugustMetadata: properties: lock_id: string @@ -6325,6 +6313,7 @@ types: house_id: optional source: openapi: ../openapi.json + inline: true DevicePropertiesAvigilonAltaMetadata: properties: entry_name: string @@ -6336,6 +6325,7 @@ types: entry_relays_total_count: double source: openapi: ../openapi.json + inline: true DevicePropertiesSchlageMetadata: properties: device_id: string @@ -6344,6 +6334,7 @@ types: model: optional source: openapi: ../openapi.json + inline: true DevicePropertiesSmartthingsMetadata: properties: device_id: string @@ -6352,6 +6343,7 @@ types: location_id: optional source: openapi: ../openapi.json + inline: true DevicePropertiesLocklyMetadata: properties: device_id: string @@ -6359,6 +6351,7 @@ types: model: optional source: openapi: ../openapi.json + inline: true DevicePropertiesNukiMetadata: properties: device_id: string @@ -6368,6 +6361,7 @@ types: keypad_2_paired: optional source: openapi: ../openapi.json + inline: true DevicePropertiesKwiksetMetadata: properties: device_id: string @@ -6375,6 +6369,7 @@ types: model_number: string source: openapi: ../openapi.json + inline: true DevicePropertiesSaltoMetadata: properties: lock_id: string @@ -6385,17 +6380,20 @@ types: model: optional source: openapi: ../openapi.json + inline: true DevicePropertiesGenieMetadata: properties: device_name: string door_name: string source: openapi: ../openapi.json + inline: true DevicePropertiesBrivoMetadata: properties: device_name: string source: openapi: ../openapi.json + inline: true DevicePropertiesIglooMetadata: properties: device_id: string @@ -6403,6 +6401,7 @@ types: model: optional source: openapi: ../openapi.json + inline: true DevicePropertiesNoiseawareMetadataDeviceModel: enum: - indoor @@ -6418,64 +6417,60 @@ types: device_id: string source: openapi: ../openapi.json + inline: true DevicePropertiesMinutMetadataLatestSensorValuesTemperature: properties: time: string value: double source: openapi: ../openapi.json + inline: true DevicePropertiesMinutMetadataLatestSensorValuesSound: properties: time: string value: double source: openapi: ../openapi.json + inline: true DevicePropertiesMinutMetadataLatestSensorValuesHumidity: properties: time: string value: double source: openapi: ../openapi.json + inline: true DevicePropertiesMinutMetadataLatestSensorValuesPressure: properties: time: string value: double source: openapi: ../openapi.json + inline: true DevicePropertiesMinutMetadataLatestSensorValuesAccelerometerZ: properties: time: string value: double source: openapi: ../openapi.json + inline: true DevicePropertiesMinutMetadataLatestSensorValues: properties: - temperature: - type: DevicePropertiesMinutMetadataLatestSensorValuesTemperature - inline: true - sound: - type: DevicePropertiesMinutMetadataLatestSensorValuesSound - inline: true - humidity: - type: DevicePropertiesMinutMetadataLatestSensorValuesHumidity - inline: true - pressure: - type: DevicePropertiesMinutMetadataLatestSensorValuesPressure - inline: true - accelerometer_z: - type: DevicePropertiesMinutMetadataLatestSensorValuesAccelerometerZ - inline: true + temperature: DevicePropertiesMinutMetadataLatestSensorValuesTemperature + sound: DevicePropertiesMinutMetadataLatestSensorValuesSound + humidity: DevicePropertiesMinutMetadataLatestSensorValuesHumidity + pressure: DevicePropertiesMinutMetadataLatestSensorValuesPressure + accelerometer_z: DevicePropertiesMinutMetadataLatestSensorValuesAccelerometerZ source: openapi: ../openapi.json + inline: true DevicePropertiesMinutMetadata: properties: device_id: string device_name: string - latest_sensor_values: - type: DevicePropertiesMinutMetadataLatestSensorValues - inline: true + latest_sensor_values: DevicePropertiesMinutMetadataLatestSensorValues source: openapi: ../openapi.json + inline: true DevicePropertiesFourSuitesMetadata: properties: device_id: double @@ -6483,12 +6478,14 @@ types: reclose_delay_in_seconds: double source: openapi: ../openapi.json + inline: true DevicePropertiesTwoNMetadata: properties: device_id: double device_name: string source: openapi: ../openapi.json + inline: true DevicePropertiesControlbywebMetadata: properties: device_id: string @@ -6496,6 +6493,7 @@ types: relay_name: optional source: openapi: ../openapi.json + inline: true DevicePropertiesTtlockMetadata: properties: lock_id: double @@ -6503,6 +6501,7 @@ types: feature_value: string source: openapi: ../openapi.json + inline: true DevicePropertiesSeamBridgeMetadataUnlockMethod: enum: - bridge @@ -6516,6 +6515,7 @@ types: name: string source: openapi: ../openapi.json + inline: true DevicePropertiesIgloohomeMetadata: properties: device_id: string @@ -6525,6 +6525,7 @@ types: keypad_id: optional source: openapi: ../openapi.json + inline: true DevicePropertiesNestMetadata: properties: nest_device_id: string @@ -6532,18 +6533,21 @@ types: custom_name: string source: openapi: ../openapi.json + inline: true DevicePropertiesEcobeeMetadata: properties: ecobee_device_id: string device_name: string source: openapi: ../openapi.json + inline: true DevicePropertiesHoneywellResideoMetadata: properties: honeywell_resideo_device_id: string device_name: string source: openapi: ../openapi.json + inline: true DevicePropertiesHubitatMetadata: properties: device_id: string @@ -6551,6 +6555,7 @@ types: device_label: string source: openapi: ../openapi.json + inline: true DevicePropertiesDormakabaOracodeMetadataPredefinedTimeSlotsItem: properties: name: string @@ -6568,6 +6573,7 @@ types: format: uuid source: openapi: ../openapi.json + inline: true DevicePropertiesDormakabaOracodeMetadata: properties: door_id: double @@ -6581,6 +6587,7 @@ types: optional> source: openapi: ../openapi.json + inline: true DevicePropertiesWyzeMetadata: properties: device_id: string @@ -6593,6 +6600,7 @@ types: locker_status_hardlock: optional source: openapi: ../openapi.json + inline: true DevicePropertiesTedeeMetadata: properties: device_id: double @@ -6604,6 +6612,7 @@ types: keypad_id: optional source: openapi: ../openapi.json + inline: true DevicePropertiesCodeConstraintsItemZeroConstraintType: enum: - no_zeros @@ -6622,6 +6631,7 @@ types: constraint_type: DevicePropertiesCodeConstraintsItemZeroConstraintType source: openapi: ../openapi.json + inline: true DevicePropertiesCodeConstraintsItemMaxLengthConstraintType: enum: - name_length @@ -6635,6 +6645,7 @@ types: max_length: optional source: openapi: ../openapi.json + inline: true DevicePropertiesCodeConstraintsItem: discriminated: false union: @@ -6642,11 +6653,13 @@ types: - DevicePropertiesCodeConstraintsItemMaxLength source: openapi: ../openapi.json + inline: true DevicePropertiesKeypadBattery: properties: level: double source: openapi: ../openapi.json + inline: true DeviceProperties: docs: Properties of the device. properties: @@ -6665,13 +6678,8 @@ types: accessory_keypad: type: optional docs: Represents the accessory keypad state. - inline: true - appearance: - type: DevicePropertiesAppearance - inline: true - model: - type: DevicePropertiesModel - inline: true + appearance: DevicePropertiesAppearance + model: DevicePropertiesModel has_direct_power: type: optional docs: Indicates whether the device has direct power. @@ -6694,7 +6702,6 @@ types: adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage. - inline: true manufacturer: type: optional docs: Manufacturer of the device. @@ -6743,87 +6750,33 @@ types: currently_triggering_noise_threshold_ids: type: optional> docs: Array of noise threshold IDs that are currently triggering. - assa_abloy_credential_service_metadata: - type: optional - inline: true - august_metadata: - type: optional - inline: true - avigilon_alta_metadata: - type: optional - inline: true - schlage_metadata: - type: optional - inline: true - smartthings_metadata: - type: optional - inline: true - lockly_metadata: - type: optional - inline: true - nuki_metadata: - type: optional - inline: true - kwikset_metadata: - type: optional - inline: true - salto_metadata: - type: optional - inline: true - genie_metadata: - type: optional - inline: true - brivo_metadata: - type: optional - inline: true - igloo_metadata: - type: optional - inline: true - noiseaware_metadata: - type: optional - inline: true - minut_metadata: - type: optional - inline: true - four_suites_metadata: - type: optional - inline: true - two_n_metadata: - type: optional - inline: true - controlbyweb_metadata: - type: optional - inline: true - ttlock_metadata: - type: optional - inline: true - seam_bridge_metadata: - type: optional - inline: true - igloohome_metadata: - type: optional - inline: true - nest_metadata: - type: optional - inline: true - ecobee_metadata: - type: optional - inline: true - honeywell_resideo_metadata: - type: optional - inline: true - hubitat_metadata: - type: optional - inline: true - dormakaba_oracode_metadata: - type: optional - inline: true - wyze_metadata: - type: optional - inline: true - tedee_metadata: - type: optional - inline: true + assa_abloy_credential_service_metadata: optional + august_metadata: optional + avigilon_alta_metadata: optional + schlage_metadata: optional + smartthings_metadata: optional + lockly_metadata: optional + nuki_metadata: optional + kwikset_metadata: optional + salto_metadata: optional + genie_metadata: optional + brivo_metadata: optional + igloo_metadata: optional + noiseaware_metadata: optional + minut_metadata: optional + four_suites_metadata: optional + two_n_metadata: optional + controlbyweb_metadata: optional + ttlock_metadata: optional + seam_bridge_metadata: optional + igloohome_metadata: optional + nest_metadata: optional + ecobee_metadata: optional + honeywell_resideo_metadata: optional + hubitat_metadata: optional + dormakaba_oracode_metadata: optional + wyze_metadata: optional + tedee_metadata: optional _experimental_supported_code_from_access_codes_lengths: optional> code_constraints: optional> supported_code_lengths: optional> @@ -6831,12 +6784,11 @@ types: supports_backup_access_code_pool: optional has_native_entry_events: optional locked: optional - keypad_battery: - type: optional - inline: true + keypad_battery: optional door_open: optional source: openapi: ../openapi.json + inline: true DeviceLocation: docs: Location information for the device. properties: @@ -6848,18 +6800,21 @@ types: docs: Time zone of the device location. source: openapi: ../openapi.json + inline: true DeviceErrorsItem: properties: error_code: string message: string source: openapi: ../openapi.json + inline: true DeviceWarningsItem: properties: warning_code: string message: string source: openapi: ../openapi.json + inline: true DeviceCustomMetadataValue: discriminated: false union: @@ -6867,6 +6822,7 @@ types: - boolean source: openapi: ../openapi.json + inline: true Device: properties: device_id: @@ -6906,7 +6862,6 @@ types: location: type: optional docs: Location information for the device. - inline: true connected_account_id: type: string docs: Unique identifier for the account associated with the device. @@ -7005,12 +6960,14 @@ types: message: string source: openapi: ../openapi.json + inline: true UnmanagedDeviceWarningsItem: properties: warning_code: string message: string source: openapi: ../openapi.json + inline: true UnmanagedDevicePropertiesAccessoryKeypadBattery: docs: Indicates if the keypad battery properties. properties: @@ -7021,6 +6978,7 @@ types: max: 1 source: openapi: ../openapi.json + inline: true UnmanagedDevicePropertiesAccessoryKeypad: docs: Represents the accessory keypad state. properties: @@ -7030,9 +6988,9 @@ types: battery: type: optional docs: Indicates if the keypad battery properties. - inline: true source: openapi: ../openapi.json + inline: true UnmanagedDevicePropertiesBatteryStatus: enum: - critical @@ -7059,6 +7017,7 @@ types: status: UnmanagedDevicePropertiesBatteryStatus source: openapi: ../openapi.json + inline: true UnmanagedDevicePropertiesModel: properties: can_connect_accessory_keypad: @@ -7091,12 +7050,12 @@ types: source: openapi: ../openapi.json + inline: true UnmanagedDeviceProperties: properties: accessory_keypad: type: optional docs: Represents the accessory keypad state. - inline: true name: type: string docs: |2- @@ -7139,7 +7098,6 @@ types: adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage. - inline: true online_access_codes_enabled: type: optional docs: >- @@ -7150,11 +7108,10 @@ types: docs: >- Indicates whether it is currently possible to use offline access codes for the device. - model: - type: UnmanagedDevicePropertiesModel - inline: true + model: UnmanagedDevicePropertiesModel source: openapi: ../openapi.json + inline: true UnmanagedDevice: properties: device_id: @@ -7210,9 +7167,7 @@ types: type: datetime docs: Date and time at which the device object was created. is_managed: boolean - properties: - type: UnmanagedDeviceProperties - inline: true + properties: UnmanagedDeviceProperties can_remotely_unlock: optional can_remotely_lock: optional can_program_offline_access_codes: optional @@ -7417,12 +7372,14 @@ types: message: string source: openapi: ../openapi.json + inline: true AcsSystemErrorsItemVisionlineInstanceUnreachable: properties: created_at: datetime message: string source: openapi: ../openapi.json + inline: true AcsSystemErrorsItem: discriminant: error_code base-properties: {} @@ -7435,6 +7392,7 @@ types: properties: {} source: openapi: ../openapi.json + inline: true AcsSystem: properties: acs_system_id: @@ -7550,6 +7508,7 @@ types: ends_at: datetime source: openapi: ../openapi.json + inline: true AcsUser: properties: acs_user_id: @@ -7573,9 +7532,7 @@ types: external_type: optional external_type_display_name: optional is_suspended: boolean - access_schedule: - type: optional - inline: true + access_schedule: optional user_identity_id: optional user_identity_full_name: optional user_identity_email_address: optional @@ -7604,6 +7561,7 @@ types: message: string source: openapi: ../openapi.json + inline: true AcsEntranceLatchMetadata: properties: accessibility_type: string @@ -7612,6 +7570,7 @@ types: is_connected: boolean source: openapi: ../openapi.json + inline: true AcsEntranceVisionlineMetadataDoorCategory: enum: - entrance @@ -7636,6 +7595,7 @@ types: visionline_door_profile_type: AcsEntranceVisionlineMetadataProfilesItemVisionlineDoorProfileType source: openapi: ../openapi.json + inline: true AcsEntranceVisionlineMetadata: properties: door_name: string @@ -7643,6 +7603,7 @@ types: profiles: optional> source: openapi: ../openapi.json + inline: true AcsEntrance: properties: acs_system_id: @@ -7656,12 +7617,8 @@ types: created_at: datetime display_name: string errors: list - latch_metadata: - type: optional - inline: true - visionline_metadata: - type: optional - inline: true + latch_metadata: optional + visionline_metadata: optional source: openapi: ../openapi.json AcsCredentialProvisioningAutomation: @@ -7729,12 +7686,14 @@ types: message: string source: openapi: ../openapi.json + inline: true AcsCredentialWarningsItem: properties: warning_code: string message: string source: openapi: ../openapi.json + inline: true AcsCredentialVisionlineMetadataCardFunctionType: enum: - guest @@ -7749,6 +7708,7 @@ types: common_acs_entrance_ids: optional> source: openapi: ../openapi.json + inline: true AcsCredential: properties: acs_credential_id: @@ -7791,9 +7751,7 @@ types: is_multi_phone_sync_credential: optional is_latest_desired_state_synced_with_provider: optional latest_desired_state_synced_with_provider_at: optional - visionline_metadata: - type: optional - inline: true + visionline_metadata: optional source: openapi: ../openapi.json EnrollmentAutomation: @@ -7839,19 +7797,20 @@ types: is_active: boolean source: openapi: ../openapi.json + inline: true PhonePropertiesAssaAbloyCredentialServiceMetadata: properties: has_active_endpoint: boolean endpoints: list source: openapi: ../openapi.json + inline: true PhoneProperties: properties: - assa_abloy_credential_service_metadata: - type: optional - inline: true + assa_abloy_credential_service_metadata: optional source: openapi: ../openapi.json + inline: true PhoneLocation: docs: Location information for the device. properties: @@ -7863,18 +7822,21 @@ types: docs: Time zone of the device location. source: openapi: ../openapi.json + inline: true PhoneErrorsItem: properties: error_code: string message: string source: openapi: ../openapi.json + inline: true PhoneWarningsItem: properties: warning_code: string message: string source: openapi: ../openapi.json + inline: true PhoneCustomMetadataValue: discriminated: false union: @@ -7882,6 +7844,7 @@ types: - boolean source: openapi: ../openapi.json + inline: true Phone: properties: device_id: @@ -7913,13 +7876,10 @@ types: "battery," which indicates that the device can manage battery life and health. type: list - properties: - type: PhoneProperties - inline: true + properties: PhoneProperties location: type: optional docs: Location information for the device. - inline: true workspace_id: type: string docs: Unique identifier for the Seam workspace associated with the device. @@ -8779,6 +8739,7 @@ types: }, "AccessCodesCreateMultipleResponse": { "docs": undefined, + "inline": undefined, "properties": { "access_codes": "list", "ok": "boolean", @@ -8813,6 +8774,7 @@ types: }, "AccessCodesCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "access_code": "root.AccessCode", "action_attempt": "root.ActionAttempt", @@ -8824,6 +8786,7 @@ types: }, "AccessCodesDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -8834,6 +8797,7 @@ types: }, "AccessCodesGenerateCodeResponse": { "docs": undefined, + "inline": undefined, "properties": { "generated_code": "root.AccessCode", "ok": "boolean", @@ -8844,6 +8808,7 @@ types: }, "AccessCodesGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "access_code": "root.AccessCode", "ok": "boolean", @@ -8854,6 +8819,7 @@ types: }, "AccessCodesListResponse": { "docs": undefined, + "inline": undefined, "properties": { "access_codes": "list", "ok": "boolean", @@ -8864,6 +8830,7 @@ types: }, "AccessCodesPullBackupAccessCodeResponse": { "docs": undefined, + "inline": undefined, "properties": { "backup_access_code": "root.AccessCode", "ok": "boolean", @@ -8907,6 +8874,7 @@ types: }, "AccessCodesUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -9615,6 +9583,7 @@ service: "types": { "SimulateCreateUnmanagedAccessCodeResponse": { "docs": undefined, + "inline": undefined, "properties": { "access_code": "root.UnmanagedAccessCode", "ok": "boolean", @@ -10040,6 +10009,7 @@ service: "types": { "UnmanagedConvertToManagedResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -10049,6 +10019,7 @@ service: }, "UnmanagedDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -10059,6 +10030,7 @@ service: }, "UnmanagedGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "access_code": "root.UnmanagedAccessCode", "ok": "boolean", @@ -10069,6 +10041,7 @@ service: }, "UnmanagedListResponse": { "docs": undefined, + "inline": undefined, "properties": { "access_codes": "list", "ok": "boolean", @@ -10079,6 +10052,7 @@ service: }, "UnmanagedUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -10678,6 +10652,7 @@ service: "types": { "AccessGroupsAddUserResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -10687,6 +10662,7 @@ service: }, "AccessGroupsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_access_group": "root.AcsAccessGroup", "ok": "boolean", @@ -10697,6 +10673,7 @@ service: }, "AccessGroupsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_access_groups": "list", "ok": "boolean", @@ -10707,6 +10684,7 @@ service: }, "AccessGroupsListUsersResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_users": "list", "ok": "boolean", @@ -10717,6 +10695,7 @@ service: }, "AccessGroupsRemoveUserResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -11045,6 +11024,7 @@ service: "types": { "CredentialPoolsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_credential_pools": "list", "ok": "boolean", @@ -11215,6 +11195,7 @@ service: "types": { "CredentialProvisioningAutomationsLaunchResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_credential_provisioning_automation": "root.AcsCredentialProvisioningAutomation", "ok": "boolean", @@ -11510,10 +11491,7 @@ service: "type": "optional", }, "starts_at": "optional", - "visionline_metadata": { - "inline": true, - "type": "optional", - }, + "visionline_metadata": "optional", }, }, "content-type": "application/json", @@ -12039,6 +12017,7 @@ service: "types": { "CredentialsAssignResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_credential": "root.AcsCredential", "ok": "boolean", @@ -12059,6 +12038,7 @@ service: }, "CredentialsCreateRequestVisionlineMetadata": { "docs": undefined, + "inline": true, "properties": { "assa_abloy_credential_service_mobile_endpoint_id": { "type": "optional", @@ -12110,6 +12090,7 @@ service: }, "CredentialsCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_credential": "root.AcsCredential", "ok": "boolean", @@ -12120,6 +12101,7 @@ service: }, "CredentialsDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -12129,6 +12111,7 @@ service: }, "CredentialsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_credential": "root.AcsCredential", "ok": "boolean", @@ -12139,6 +12122,7 @@ service: }, "CredentialsListAccessibleEntrancesResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_entrances": "list", "ok": "boolean", @@ -12149,6 +12133,7 @@ service: }, "CredentialsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_credentials": "list", "ok": "boolean", @@ -12159,6 +12144,7 @@ service: }, "CredentialsUnassignResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_credential": "root.AcsCredential", "ok": "boolean", @@ -12169,6 +12155,7 @@ service: }, "CredentialsUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_credential": "root.AcsCredential", "ok": "boolean", @@ -12230,6 +12217,7 @@ types: joiner_acs_credential_ids: optional> source: openapi: ../openapi.json + inline: true CredentialsCreateResponse: properties: acs_credential: root.AcsCredential @@ -12368,9 +12356,7 @@ service: type: optional default: false allowed_acs_entrance_ids: optional> - visionline_metadata: - type: optional - inline: true + visionline_metadata: optional starts_at: optional ends_at: optional content-type: application/json @@ -13067,6 +13053,7 @@ service: "types": { "EntrancesGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_entrance": "root.AcsEntrance", "ok": "boolean", @@ -13077,6 +13064,7 @@ service: }, "EntrancesGrantAccessResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -13086,6 +13074,7 @@ service: }, "EntrancesListCredentialsWithAccessResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_credentials": "list", "ok": "boolean", @@ -13096,6 +13085,7 @@ service: }, "EntrancesListResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_entrances": "list", "ok": "boolean", @@ -13588,6 +13578,7 @@ service: "types": { "SystemsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_system": "root.AcsSystem", "ok": "boolean", @@ -13598,6 +13589,7 @@ service: }, "SystemsListCompatibleCredentialManagerAcsSystemsResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_systems": "list", "ok": "boolean", @@ -13608,6 +13600,7 @@ service: }, "SystemsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_systems": "list", "ok": "boolean", @@ -13922,10 +13915,7 @@ service: "request": { "body": { "properties": { - "access_schedule": { - "inline": true, - "type": "optional", - }, + "access_schedule": "optional", "acs_access_group_ids": "optional>", "acs_system_id": { "type": "string", @@ -14515,10 +14505,7 @@ service: "request": { "body": { "properties": { - "access_schedule": { - "inline": true, - "type": "optional", - }, + "access_schedule": "optional", "acs_user_id": { "type": "string", "validation": { @@ -14586,6 +14573,7 @@ service: "types": { "UsersAddToAccessGroupResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -14595,6 +14583,7 @@ service: }, "UsersCreateRequestAccessSchedule": { "docs": undefined, + "inline": true, "properties": { "ends_at": "datetime", "starts_at": "datetime", @@ -14605,6 +14594,7 @@ service: }, "UsersCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_user": "root.AcsUser", "ok": "boolean", @@ -14615,6 +14605,7 @@ service: }, "UsersDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -14624,6 +14615,7 @@ service: }, "UsersGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_user": "root.AcsUser", "ok": "boolean", @@ -14634,6 +14626,7 @@ service: }, "UsersListAccessibleEntrancesResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_entrances": "list", "ok": "boolean", @@ -14644,6 +14637,7 @@ service: }, "UsersListResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_users": "list", "ok": "boolean", @@ -14654,6 +14648,7 @@ service: }, "UsersRemoveFromAccessGroupResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -14663,6 +14658,7 @@ service: }, "UsersRevokeAccessToAllEntrancesResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -14672,6 +14668,7 @@ service: }, "UsersSuspendResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -14681,6 +14678,7 @@ service: }, "UsersUnsuspendResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -14690,6 +14688,7 @@ service: }, "UsersUpdateRequestAccessSchedule": { "docs": undefined, + "inline": true, "properties": { "ends_at": "datetime", "starts_at": "datetime", @@ -14700,6 +14699,7 @@ service: }, "UsersUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -14721,6 +14721,7 @@ service: ends_at: datetime source: openapi: ../openapi.json + inline: true UsersCreateResponse: properties: acs_user: root.AcsUser @@ -14776,6 +14777,7 @@ service: ends_at: datetime source: openapi: ../openapi.json + inline: true UsersUpdateResponse: properties: ok: boolean @@ -14840,9 +14842,7 @@ service: type: optional validation: format: uuid - access_schedule: - type: optional - inline: true + access_schedule: optional full_name: optional email: type: optional @@ -15200,9 +15200,7 @@ service: name: UsersUpdateRequest body: properties: - access_schedule: - type: optional - inline: true + access_schedule: optional acs_user_id: type: string validation: @@ -15376,6 +15374,7 @@ service: "types": { "ActionAttemptsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -15386,6 +15385,7 @@ service: }, "ActionAttemptsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempts": "list", "ok": "boolean", @@ -15936,6 +15936,7 @@ service: "types": { "ClientSessionsCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "client_session": "root.ClientSession", "ok": "boolean", @@ -15946,6 +15947,7 @@ service: }, "ClientSessionsDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -15955,6 +15957,7 @@ service: }, "ClientSessionsGetOrCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "client_session": "root.ClientSession", "ok": "boolean", @@ -15965,6 +15968,7 @@ service: }, "ClientSessionsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "client_session": "root.ClientSession", "ok": "boolean", @@ -15975,6 +15979,7 @@ service: }, "ClientSessionsGrantAccessResponse": { "docs": undefined, + "inline": undefined, "properties": { "client_session": "root.ClientSession", "ok": "boolean", @@ -15985,6 +15990,7 @@ service: }, "ClientSessionsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "client_sessions": "list", "ok": "boolean", @@ -15995,6 +16001,7 @@ service: }, "ClientSessionsRevokeResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -16681,6 +16688,7 @@ service: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -16723,6 +16731,7 @@ service: }, "ConnectWebviewsCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "connect_webview": "root.ConnectWebview", "ok": "boolean", @@ -16733,6 +16742,7 @@ service: }, "ConnectWebviewsDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -16742,6 +16752,7 @@ service: }, "ConnectWebviewsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "connect_webview": "root.ConnectWebview", "ok": "boolean", @@ -16754,6 +16765,7 @@ service: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -16764,6 +16776,7 @@ service: }, "ConnectWebviewsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "connect_webviews": "list", "ok": "boolean", @@ -16846,6 +16859,7 @@ service: - optional source: openapi: ../openapi.json + inline: true ConnectWebviewsCreateResponse: properties: connect_webview: root.ConnectWebview @@ -16870,6 +16884,7 @@ service: - boolean source: openapi: ../openapi.json + inline: true ConnectWebviewsListResponse: properties: connect_webviews: list @@ -17357,6 +17372,7 @@ service: "types": { "ConnectedAccountsDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -17368,6 +17384,7 @@ service: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -17378,6 +17395,7 @@ service: }, "ConnectedAccountsGetRequestConnectedAccountId": { "docs": undefined, + "inline": true, "properties": { "connected_account_id": { "type": "string", @@ -17395,6 +17413,7 @@ service: }, "ConnectedAccountsGetRequestEmail": { "docs": undefined, + "inline": true, "properties": { "email": { "type": "string", @@ -17412,6 +17431,7 @@ service: }, "ConnectedAccountsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "connected_account": "root.ConnectedAccount", "ok": "boolean", @@ -17424,6 +17444,7 @@ service: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -17434,6 +17455,7 @@ service: }, "ConnectedAccountsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "connected_accounts": "list", "ok": "boolean", @@ -17446,6 +17468,7 @@ service: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -17465,6 +17488,7 @@ service: }, "ConnectedAccountsUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "connected_account": "root.ConnectedAccount", "ok": "boolean", @@ -17489,6 +17513,7 @@ service: format: uuid source: openapi: ../openapi.json + inline: true ConnectedAccountsGetRequestEmail: properties: email: @@ -17497,6 +17522,7 @@ service: format: email source: openapi: ../openapi.json + inline: true ConnectedAccountsGetRequest: discriminated: false union: @@ -17517,6 +17543,7 @@ service: - boolean source: openapi: ../openapi.json + inline: true ConnectedAccountsListResponse: properties: connected_accounts: list @@ -17533,6 +17560,7 @@ service: - optional source: openapi: ../openapi.json + inline: true ConnectedAccountsUpdateResponse: properties: connected_account: root.ConnectedAccount @@ -18295,10 +18323,7 @@ service: "type": "optional", }, "name": "optional", - "properties": { - "inline": true, - "type": "optional", - }, + "properties": "optional", }, }, "content-type": "application/json", @@ -18323,6 +18348,7 @@ service: "types": { "DevicesDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -18332,6 +18358,7 @@ service: }, "DevicesGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "device": "root.Device", "ok": "boolean", @@ -18354,6 +18381,7 @@ service: }, "DevicesListDeviceProvidersResponse": { "docs": undefined, + "inline": undefined, "properties": { "device_providers": "list", "ok": "boolean", @@ -18366,6 +18394,7 @@ service: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -18525,6 +18554,7 @@ service: }, "DevicesListResponse": { "docs": undefined, + "inline": undefined, "properties": { "devices": "list", "ok": "boolean", @@ -18537,6 +18567,7 @@ service: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -18556,6 +18587,7 @@ service: }, "DevicesUpdateRequestProperties": { "docs": undefined, + "inline": true, "properties": { "name": "optional", }, @@ -18565,6 +18597,7 @@ service: }, "DevicesUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -18705,6 +18738,7 @@ service: - boolean source: openapi: ../openapi.json + inline: true DevicesListRequestIncludeIfItem: enum: - can_remotely_unlock @@ -18753,6 +18787,7 @@ service: name: optional source: openapi: ../openapi.json + inline: true DevicesUpdateRequestCustomMetadataValue: discriminated: false union: @@ -18763,6 +18798,7 @@ service: - optional source: openapi: ../openapi.json + inline: true DevicesUpdateResponse: properties: ok: boolean @@ -19152,9 +19188,7 @@ service: type: string validation: format: uuid - properties: - type: optional - inline: true + properties: optional name: optional is_managed: type: optional @@ -19350,6 +19384,7 @@ service: "types": { "SimulateConnectResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -19359,6 +19394,7 @@ service: }, "SimulateDisconnectResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -19368,6 +19404,7 @@ service: }, "SimulateRemoveResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -19774,6 +19811,7 @@ service: "types": { "UnmanagedGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "device": "root.UnmanagedDevice", "ok": "boolean", @@ -19786,6 +19824,7 @@ service: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -19945,6 +19984,7 @@ service: }, "UnmanagedListResponse": { "docs": undefined, + "inline": undefined, "properties": { "devices": "list", "ok": "boolean", @@ -19955,6 +19995,7 @@ service: }, "UnmanagedUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -20092,6 +20133,7 @@ types: - boolean source: openapi: ../openapi.json + inline: true UnmanagedListRequestIncludeIfItem: enum: - can_remotely_unlock @@ -20492,6 +20534,7 @@ service: "types": { "EventsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "event": "optional", "message": "optional", @@ -20505,6 +20548,7 @@ service: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -20993,6 +21037,7 @@ service: }, "EventsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "events": "list", "ok": "boolean", @@ -21020,6 +21065,7 @@ types: - datetime source: openapi: ../openapi.json + inline: true EventsListRequestEventType: enum: - value: device.accessory_keypad_connected @@ -22250,6 +22296,7 @@ service: "types": { "LocksGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "device": "root.Device", "lock": "root.Device", @@ -22263,6 +22310,7 @@ service: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -22422,6 +22470,7 @@ service: }, "LocksListResponse": { "docs": undefined, + "inline": undefined, "properties": { "devices": "list", "locks": "list", @@ -22433,6 +22482,7 @@ service: }, "LocksLockDoorResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -22443,6 +22493,7 @@ service: }, "LocksUnlockDoorResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -22582,6 +22633,7 @@ types: - boolean source: openapi: ../openapi.json + inline: true LocksListRequestIncludeIfItem: enum: - can_remotely_unlock @@ -23364,6 +23416,7 @@ service: "types": { "NetworksGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "network": "root.Network", "ok": "boolean", @@ -23374,6 +23427,7 @@ service: }, "NetworksListResponse": { "docs": undefined, + "inline": undefined, "properties": { "networks": "list", "ok": "boolean", @@ -23841,6 +23895,7 @@ service: "types": { "NoiseThresholdsCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "noise_threshold": "root.NoiseThreshold", @@ -23852,6 +23907,7 @@ service: }, "NoiseThresholdsDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -23862,6 +23918,7 @@ service: }, "NoiseThresholdsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "noise_threshold": "root.NoiseThreshold", "ok": "boolean", @@ -23872,6 +23929,7 @@ service: }, "NoiseThresholdsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "noise_thresholds": "list", "ok": "boolean", @@ -23882,6 +23940,7 @@ service: }, "NoiseThresholdsUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -24220,6 +24279,7 @@ service: "types": { "SimulateTriggerNoiseThresholdResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -24421,6 +24481,7 @@ service: "types": { "PhonesDeactivateResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -24430,6 +24491,7 @@ service: }, "PhonesListResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "phones": "list", @@ -24626,15 +24688,9 @@ service: "request": { "body": { "properties": { - "assa_abloy_metadata": { - "inline": true, - "type": "optional", - }, + "assa_abloy_metadata": "optional", "custom_sdk_installation_id": "optional", - "phone_metadata": { - "inline": true, - "type": "optional", - }, + "phone_metadata": "optional", "user_identity_id": { "type": "string", "validation": { @@ -24669,6 +24725,7 @@ service: "types": { "SimulateCreateSandboxPhoneRequestAssaAbloyMetadata": { "docs": undefined, + "inline": true, "properties": { "application_version": { "default": "1.0.0", @@ -24701,6 +24758,7 @@ service: }, "SimulateCreateSandboxPhoneRequestPhoneMetadata": { "docs": undefined, + "inline": true, "properties": { "device_manufacturer": { "default": "Samsung", @@ -24735,6 +24793,7 @@ service: }, "SimulateCreateSandboxPhoneResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "phone": "root.Phone", @@ -24770,6 +24829,7 @@ service: default: Samsung Galaxy S10 source: openapi: ../openapi.json + inline: true SimulateCreateSandboxPhoneRequestAssaAbloyMetadata: properties: ble_capability: @@ -24792,6 +24852,7 @@ service: default: 1 source: openapi: ../openapi.json + inline: true SimulateCreateSandboxPhoneResponse: properties: phone: root.Phone @@ -24820,12 +24881,8 @@ service: type: string validation: format: uuid - phone_metadata: - type: optional - inline: true - assa_abloy_metadata: - type: optional - inline: true + phone_metadata: optional + assa_abloy_metadata: optional content-type: application/json response: docs: OK @@ -25666,10 +25723,7 @@ service: "request": { "body": { "properties": { - "default_climate_setting": { - "inline": true, - "type": "ThermostatsUpdateRequestDefaultClimateSetting", - }, + "default_climate_setting": "ThermostatsUpdateRequestDefaultClimateSetting", "device_id": { "type": "string", "validation": { @@ -25703,6 +25757,7 @@ service: "types": { "ThermostatsCoolResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -25713,6 +25768,7 @@ service: }, "ThermostatsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "thermostat": "root.Device", @@ -25723,6 +25779,7 @@ service: }, "ThermostatsHeatCoolResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -25733,6 +25790,7 @@ service: }, "ThermostatsHeatResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -25745,6 +25803,7 @@ service: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.json", }, @@ -25904,6 +25963,7 @@ service: }, "ThermostatsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "thermostats": "list", @@ -25914,6 +25974,7 @@ service: }, "ThermostatsOffResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -25942,6 +26003,7 @@ service: }, "ThermostatsSetFanModeResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", @@ -25952,6 +26014,7 @@ service: }, "ThermostatsUpdateRequestDefaultClimateSetting": { "docs": undefined, + "inline": true, "properties": { "automatic_cooling_enabled": "optional", "automatic_heating_enabled": "optional", @@ -25979,6 +26042,7 @@ service: }, "ThermostatsUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -26134,6 +26198,7 @@ types: - boolean source: openapi: ../openapi.json + inline: true ThermostatsListRequestIncludeIfItem: enum: - can_remotely_unlock @@ -26206,6 +26271,7 @@ types: manual_override_allowed: optional source: openapi: ../openapi.json + inline: true ThermostatsUpdateResponse: properties: ok: boolean @@ -26736,9 +26802,7 @@ service: type: string validation: format: uuid - default_climate_setting: - type: ThermostatsUpdateRequestDefaultClimateSetting - inline: true + default_climate_setting: ThermostatsUpdateRequestDefaultClimateSetting content-type: application/json response: docs: OK @@ -27152,6 +27216,7 @@ service: }, "ClimateSettingSchedulesCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "climate_setting_schedule": "root.ClimateSettingSchedule", "ok": "boolean", @@ -27162,6 +27227,7 @@ service: }, "ClimateSettingSchedulesDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -27171,6 +27237,7 @@ service: }, "ClimateSettingSchedulesGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "climate_setting_schedule": "root.ClimateSettingSchedule", "ok": "boolean", @@ -27181,6 +27248,7 @@ service: }, "ClimateSettingSchedulesListResponse": { "docs": undefined, + "inline": undefined, "properties": { "climate_setting_schedules": "list", "ok": "boolean", @@ -27202,6 +27270,7 @@ service: }, "ClimateSettingSchedulesUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "climate_setting_schedule": "root.ClimateSettingSchedule", "ok": "boolean", @@ -28397,6 +28466,7 @@ service: "types": { "UserIdentitiesAddAcsUserResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -28406,6 +28476,7 @@ service: }, "UserIdentitiesCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "user_identity": "root.UserIdentity", @@ -28416,6 +28487,7 @@ service: }, "UserIdentitiesDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -28427,6 +28499,7 @@ service: "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -28437,6 +28510,7 @@ service: }, "UserIdentitiesGetRequestUserIdentityId": { "docs": undefined, + "inline": true, "properties": { "user_identity_id": { "type": "string", @@ -28454,6 +28528,7 @@ service: }, "UserIdentitiesGetRequestUserIdentityKey": { "docs": undefined, + "inline": true, "properties": { "user_identity_key": "string", }, @@ -28463,6 +28538,7 @@ service: }, "UserIdentitiesGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "user_identity": "root.UserIdentity", @@ -28473,6 +28549,7 @@ service: }, "UserIdentitiesGrantAccessToDeviceResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -28482,6 +28559,7 @@ service: }, "UserIdentitiesListAccessibleDevicesResponse": { "docs": undefined, + "inline": undefined, "properties": { "accessible_devices": { "docs": " @@ -28500,6 +28578,7 @@ service: }, "UserIdentitiesListAcsSystemsResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_systems": "list", "ok": "boolean", @@ -28510,6 +28589,7 @@ service: }, "UserIdentitiesListAcsUsersResponse": { "docs": undefined, + "inline": undefined, "properties": { "acs_users": "list", "ok": "boolean", @@ -28520,6 +28600,7 @@ service: }, "UserIdentitiesListResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "user_identities": "list", @@ -28530,6 +28611,7 @@ service: }, "UserIdentitiesRemoveAcsUserResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -28539,6 +28621,7 @@ service: }, "UserIdentitiesRevokeAccessToDeviceResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -28548,6 +28631,7 @@ service: }, "UserIdentitiesUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -28582,11 +28666,13 @@ service: format: uuid source: openapi: ../openapi.json + inline: true UserIdentitiesGetRequestUserIdentityKey: properties: user_identity_key: string source: openapi: ../openapi.json + inline: true UserIdentitiesGetRequest: discriminated: false union: @@ -29455,6 +29541,7 @@ service: "types": { "EnrollmentAutomationsDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -29464,6 +29551,7 @@ service: }, "EnrollmentAutomationsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "enrollment_automation": "root.EnrollmentAutomation", "ok": "boolean", @@ -29474,11 +29562,9 @@ service: }, "EnrollmentAutomationsLaunchResponse": { "docs": undefined, + "inline": undefined, "properties": { - "enrollment_automation": { - "inline": true, - "type": "EnrollmentAutomationsLaunchResponseEnrollmentAutomation", - }, + "enrollment_automation": "EnrollmentAutomationsLaunchResponseEnrollmentAutomation", "ok": "boolean", }, "source": { @@ -29487,6 +29573,7 @@ service: }, "EnrollmentAutomationsLaunchResponseEnrollmentAutomation": { "docs": undefined, + "inline": true, "properties": { "acs_credential_provisioning_automation_id": { "type": "string", @@ -29541,6 +29628,7 @@ service: }, "EnrollmentAutomationsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "enrollment_automations": "list", "ok": "boolean", @@ -29588,11 +29676,10 @@ service: format: uuid source: openapi: ../openapi.json + inline: true EnrollmentAutomationsLaunchResponse: properties: - enrollment_automation: - type: EnrollmentAutomationsLaunchResponseEnrollmentAutomation - inline: true + enrollment_automation: EnrollmentAutomationsLaunchResponseEnrollmentAutomation ok: boolean source: openapi: ../openapi.json @@ -30020,6 +30107,7 @@ service: "types": { "WebhooksCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "webhook": "root.Webhook", @@ -30030,6 +30118,7 @@ service: }, "WebhooksDeleteResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -30039,6 +30128,7 @@ service: }, "WebhooksGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "webhook": "root.Webhook", @@ -30049,6 +30139,7 @@ service: }, "WebhooksListResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "webhooks": "list", @@ -30059,6 +30150,7 @@ service: }, "WebhooksUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", }, @@ -30455,6 +30547,7 @@ service: }, "WorkspacesCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "workspace": "root.Workspace", @@ -30465,6 +30558,7 @@ service: }, "WorkspacesGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "workspace": "root.Workspace", @@ -30475,6 +30569,7 @@ service: }, "WorkspacesListResponse": { "docs": undefined, + "inline": undefined, "properties": { "ok": "boolean", "workspaces": "list", @@ -30485,6 +30580,7 @@ service: }, "WorkspacesResetSandboxResponse": { "docs": undefined, + "inline": undefined, "properties": { "action_attempt": "root.ActionAttempt", "ok": "boolean", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/squidex.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/squidex.json index 52f07258a8d..f7f8a90af90 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/squidex.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/squidex.json @@ -116,6 +116,7 @@ }, "AddFieldDto": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "The name of the field. Must be unique within the schema.", @@ -142,6 +143,7 @@ }, "AlgoliaRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "apiKey": { "docs": "The API key to grant access to Squidex.", @@ -188,6 +190,7 @@ }, "AllContentsByPostDto": { "docs": undefined, + "inline": undefined, "properties": { "ids": { "docs": "The list of ids to query.", @@ -224,11 +227,11 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "canAccessApi": { "availability": "deprecated", "docs": "Indicates if the user can access the api.", - "inline": undefined, "type": "boolean", }, "canAccessContent": { @@ -295,6 +298,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "englishName": { "docs": "The english name of the language.", @@ -326,6 +330,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The languages.", @@ -341,6 +346,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "editors": { "docs": "The configured UI editors.", @@ -369,6 +375,7 @@ }, "ArrayFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "maxItems": { "docs": "The maximum allowed items for the field value.", @@ -389,6 +396,7 @@ }, "AssetChangedRuleTriggerDto": { "docs": undefined, + "inline": undefined, "properties": { "condition": { "docs": "Javascript condition when to trigger.", @@ -404,6 +412,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "_meta": { "docs": "The metadata.", @@ -448,7 +457,6 @@ "isImage": { "availability": "deprecated", "docs": "Determines of the created file is an image.", - "inline": undefined, "type": "boolean", }, "isProtected": { @@ -482,13 +490,11 @@ "pixelHeight": { "availability": "deprecated", "docs": "The height of the image in pixels if the asset is an image.", - "inline": undefined, "type": "optional", }, "pixelWidth": { "availability": "deprecated", "docs": "The width of the image in pixels if the asset is an image.", - "inline": undefined, "type": "optional", }, "slug": { @@ -517,6 +523,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "folderName": { "docs": "The folder name.", @@ -555,6 +562,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The assets folders.", @@ -575,6 +583,7 @@ }, "AssetMeta": { "docs": undefined, + "inline": undefined, "properties": { "isDuplicate": { "docs": "Indicates whether the asset is a duplicate.", @@ -601,6 +610,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "annotate": { "docs": "The script that is executed when annotating a content.", @@ -656,6 +666,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The assets.", @@ -672,6 +683,7 @@ }, "AssetsFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "allowDuplicates": { "docs": "True, if duplicate values are allowed.", @@ -740,7 +752,6 @@ "mustBeImage": { "availability": "deprecated", "docs": "True to resolve first image in the content list.", - "inline": undefined, "type": "boolean", }, "previewFormat": { @@ -758,7 +769,6 @@ "resolveImage": { "availability": "deprecated", "docs": "True to resolve first image in the content list.", - "inline": undefined, "type": "boolean", }, }, @@ -768,6 +778,7 @@ }, "AssignContributorDto": { "docs": undefined, + "inline": undefined, "properties": { "contributorId": { "docs": "The id or email of the user to add to the app.", @@ -794,6 +805,7 @@ }, "AzureQueueRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "connectionString": { "docs": "The connection string to the storage account.", @@ -829,6 +841,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "handledAssets": { "docs": "The number of handled assets.", @@ -864,6 +877,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The backups.", @@ -886,6 +900,7 @@ }, "BooleanFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "defaultValue": { "docs": "The default value for the field value.", @@ -910,11 +925,11 @@ }, "BulkResultDto": { "docs": undefined, + "inline": undefined, "properties": { "contentId": { "availability": "deprecated", "docs": "The ID of the entity that has been handled successfully or not.", - "inline": undefined, "type": "optional", }, "error": { @@ -947,6 +962,7 @@ }, "BulkUpdateAssetsJobDto": { "docs": undefined, + "inline": undefined, "properties": { "expectedVersion": { "docs": "The expected version.", @@ -1010,6 +1026,7 @@ }, "BulkUpdateContentsJobDto": { "docs": undefined, + "inline": undefined, "properties": { "data": { "docs": "The data of the content when type is set to 'Upsert', 'Create', 'Update' or 'Patch.", @@ -1062,6 +1079,7 @@ }, "CallsUsageDtoDto": { "docs": undefined, + "inline": undefined, "properties": { "allowedBytes": { "docs": "The included API traffic.", @@ -1106,6 +1124,7 @@ }, "CallsUsagePerDateDto": { "docs": undefined, + "inline": undefined, "properties": { "averageElapsedMs": { "docs": "The average duration in milliseconds.", @@ -1136,6 +1155,7 @@ }, "ChangePlanDto": { "docs": undefined, + "inline": undefined, "properties": { "planId": { "docs": "The new plan id.", @@ -1157,6 +1177,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "allowAnonymous": { "docs": "True to allow anonymous access without an access token for this client.", @@ -1196,6 +1217,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The clients.", @@ -1208,6 +1230,7 @@ }, "CommentDto": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The ID of the comment.", @@ -1242,6 +1265,7 @@ }, "CommentRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "client": { "docs": "An optional client name.", @@ -1264,6 +1288,7 @@ }, "CommentRuleTriggerDto": { "docs": undefined, + "inline": undefined, "properties": { "condition": { "docs": "Javascript condition when to trigger.", @@ -1276,6 +1301,7 @@ }, "CommentsDto": { "docs": undefined, + "inline": undefined, "properties": { "createdComments": { "docs": "The created comments including the updates.", @@ -1300,6 +1326,7 @@ }, "ComponentFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "schemaIds": { "docs": "The ID of the embedded schemas.", @@ -1312,6 +1339,7 @@ }, "ComponentsFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "maxItems": { "docs": "The maximum allowed items for the field value.", @@ -1337,6 +1365,7 @@ "ConfigurePreviewUrlsDto": "map", "ContentChangedRuleTriggerDto": { "docs": undefined, + "inline": undefined, "properties": { "handleAll": { "docs": "Determines whether the trigger should handle all content changes events.", @@ -1361,6 +1390,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "created": { "docs": "The date and time when the content item has been created.", @@ -1446,6 +1476,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The content items.", @@ -1469,6 +1500,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "contributorEmail": { "docs": "The email address.", @@ -1496,6 +1528,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "_meta": { "docs": "The metadata to provide information about this request.", @@ -1516,6 +1549,7 @@ }, "ContributorsMetadata": { "docs": undefined, + "inline": undefined, "properties": { "isInvited": { "docs": "Indicates whether the user has been invited.", @@ -1528,6 +1562,7 @@ }, "CreateContentRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "client": { "docs": "An optional client name.", @@ -1564,6 +1599,7 @@ }, "CreateRuleDto": { "docs": undefined, + "inline": undefined, "properties": { "action": { "docs": "The action properties.", @@ -1580,6 +1616,7 @@ }, "CurrentStorageDto": { "docs": undefined, + "inline": undefined, "properties": { "maxAllowed": { "docs": "The maximum allowed asset size.", @@ -1616,6 +1653,7 @@ }, "DateTimeFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "calculatedDefaultValue": { "docs": "The calculated default value for the field value.", @@ -1652,6 +1690,7 @@ }, "DiscourseRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "apiKey": { "docs": "The api key to authenticate to your discourse server.", @@ -1712,6 +1751,7 @@ }, "EditorDto": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "The name of the editor.", @@ -1728,6 +1768,7 @@ }, "ElasticSearchRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "delete": { "docs": "The condition when to delete the document.", @@ -1772,6 +1813,7 @@ }, "EmailRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "messageBody": { "docs": "The message body.", @@ -1854,6 +1896,7 @@ }, "ErrorDto": { "docs": undefined, + "inline": undefined, "properties": { "details": { "docs": "Detailed error messages.", @@ -1895,6 +1938,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "count": { "docs": "The number of handled events.", @@ -1936,6 +1980,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The event consumers.", @@ -1949,6 +1994,7 @@ "ExposedValues": "map", "FastlyRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "apiKey": { "docs": "The API key to grant access to Squidex.", @@ -1977,6 +2023,7 @@ }, "FeatureDto": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "The name of the feature.", @@ -1993,6 +2040,7 @@ }, "FeaturesDto": { "docs": undefined, + "inline": undefined, "properties": { "features": { "docs": "The latest features.", @@ -2012,6 +2060,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "fieldId": { "docs": "The ID of the field.", @@ -2151,6 +2200,7 @@ }, "FieldRuleDto": { "docs": undefined, + "inline": undefined, "properties": { "action": { "docs": "The action to perform when the condition is met.", @@ -2181,6 +2231,7 @@ }, "GeolocationFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "editor": { "docs": "The editor that is used to manage this field.", @@ -2193,6 +2244,7 @@ }, "HistoryEventDto": { "docs": undefined, + "inline": undefined, "properties": { "actor": { "docs": "The user who called the action.", @@ -2253,6 +2305,7 @@ }, "JsonFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "graphQLSchema": { "docs": "The GraphQL schema.", @@ -2265,6 +2318,7 @@ }, "LanguageDto": { "docs": undefined, + "inline": undefined, "properties": { "englishName": { "docs": "The english name of the language.", @@ -2290,6 +2344,7 @@ "LocalizedValueOfString": "map", "LogDownloadDto": { "docs": undefined, + "inline": undefined, "properties": { "downloadUrl": { "docs": "The url to download the log.", @@ -2302,6 +2357,7 @@ }, "ManualRuleTriggerDto": { "docs": undefined, + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.json", @@ -2309,6 +2365,7 @@ }, "MediumRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "accessToken": { "docs": "The self issued access token.", @@ -2366,6 +2423,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "fieldId": { "docs": "The ID of the field.", @@ -2404,6 +2462,7 @@ }, "NotificationRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "client": { "docs": "An optional client name.", @@ -2452,6 +2511,7 @@ }, "NumberFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "allowedValues": { "docs": "The allowed values for the field value.", @@ -2492,6 +2552,7 @@ }, "OpenSearchRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "delete": { "docs": "The condition when to delete the document.", @@ -2536,6 +2597,7 @@ }, "PatternDto": { "docs": undefined, + "inline": undefined, "properties": { "message": { "docs": "The regex message.", @@ -2556,6 +2618,7 @@ }, "PlanChangedDto": { "docs": undefined, + "inline": undefined, "properties": { "redirectUri": { "docs": "Optional redirect uri.", @@ -2568,6 +2631,7 @@ }, "PlanDto": { "docs": undefined, + "inline": undefined, "properties": { "confirmText": { "docs": "An optional confirm text for the monthly subscription.", @@ -2620,6 +2684,7 @@ }, "PlansDto": { "docs": undefined, + "inline": undefined, "properties": { "currentPlanId": { "docs": "The current plan id.", @@ -2670,6 +2735,7 @@ }, "PrerenderRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "token": { "docs": "The prerender token from your account.", @@ -2699,6 +2765,7 @@ "PropertyPath": "list", "QueryDto": { "docs": undefined, + "inline": undefined, "properties": { "ids": { "docs": "The optional list of ids to query.", @@ -2720,6 +2787,7 @@ }, "QueryJsonDto": { "docs": undefined, + "inline": undefined, "properties": { "filter": "optional", "fullText": "optional", @@ -2748,6 +2816,7 @@ }, "ReferencesFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "allowDuplicates": { "docs": "True, if duplicate values are allowed.", @@ -2792,6 +2861,7 @@ }, "ReferralInfo": { "docs": undefined, + "inline": undefined, "properties": { "code": "string", "condition": "string", @@ -2803,6 +2873,7 @@ }, "ReorderFieldsDto": { "docs": undefined, + "inline": undefined, "properties": { "fieldIds": { "docs": "The field ids in the target order.", @@ -2830,6 +2901,7 @@ }, "Resource": { "docs": undefined, + "inline": undefined, "properties": { "_links": { "docs": "The links.", @@ -2842,6 +2914,7 @@ }, "ResourceLink": { "docs": undefined, + "inline": undefined, "properties": { "href": { "docs": "The link url.", @@ -2877,6 +2950,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": {}, "source": { "openapi": "../openapi.json", @@ -2884,6 +2958,7 @@ }, "RestoreJobDto": { "docs": undefined, + "inline": undefined, "properties": { "log": { "docs": "The status log.", @@ -2921,6 +2996,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "isDefaultRole": { "docs": "Indicates if the role is an builtin default role.", @@ -2956,6 +3032,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The roles.", @@ -3001,6 +3078,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "action": { "docs": "The action properties.", @@ -3025,7 +3103,6 @@ "lastExecuted": { "availability": "deprecated", "docs": "The date and time when the rule was executed the last time.", - "inline": undefined, "type": "optional", }, "lastModified": { @@ -3063,6 +3140,7 @@ }, "RuleElementDto": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "Describes the action or trigger type.", @@ -3099,6 +3177,7 @@ }, "RuleElementPropertyDto": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "The optional description.", @@ -3138,6 +3217,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "created": { "docs": "The time when the event has been created.", @@ -3185,6 +3265,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The rule events.", @@ -3264,6 +3345,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The rules.", @@ -3280,6 +3362,7 @@ }, "ScheduleJobDto": { "docs": undefined, + "inline": undefined, "properties": { "color": { "docs": "The color of the scheduled status.", @@ -3308,6 +3391,7 @@ }, "SchemaChangedRuleTriggerDto": { "docs": undefined, + "inline": undefined, "properties": { "condition": { "docs": "Javascript condition when to trigger.", @@ -3320,6 +3404,7 @@ }, "SchemaCondition": { "docs": undefined, + "inline": undefined, "properties": { "condition": "optional", "schemaId": "string", @@ -3333,6 +3418,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "category": { "docs": "The name of the category.", @@ -3379,7 +3465,6 @@ "isSingleton": { "availability": "deprecated", "docs": "Indicates if the schema is a singleton.", - "inline": undefined, "type": "boolean", }, "lastModified": { @@ -3433,6 +3518,7 @@ }, "SchemaPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "contentEditorUrl": { "docs": "The url to the editor plugin.", @@ -3481,6 +3567,7 @@ }, "SchemaScriptsDto": { "docs": undefined, + "inline": undefined, "properties": { "change": { "docs": "The script that is executed when change a content status.", @@ -3527,6 +3614,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The schemas.", @@ -3539,6 +3627,7 @@ }, "ScriptRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "script": { "docs": "The script to render.", @@ -3560,6 +3649,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "label": { "docs": "An optional label.", @@ -3594,6 +3684,7 @@ }, "SignalRRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "action": { "docs": "* Broadcast = send to all users. @@ -3640,6 +3731,7 @@ }, "SimulatedRuleEventDto": { "docs": undefined, + "inline": undefined, "properties": { "actionData": { "docs": "The name of the action.", @@ -3699,6 +3791,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The simulated rule events.", @@ -3734,6 +3827,7 @@ }, "SlackRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "text": { "docs": "The text that is sent as message to slack.", @@ -3762,6 +3856,7 @@ }, "SortNode": { "docs": undefined, + "inline": undefined, "properties": { "order": "SortOrder", "path": "PropertyPath", @@ -3782,6 +3877,7 @@ }, "StatusInfoDto": { "docs": undefined, + "inline": undefined, "properties": { "color": { "docs": "The color of the status.", @@ -3798,6 +3894,7 @@ }, "StorageUsagePerDateDto": { "docs": undefined, + "inline": undefined, "properties": { "date": { "docs": "The date when the usage was tracked.", @@ -3853,6 +3950,7 @@ }, "StringFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "allowedValues": { "docs": "The allowed values for the field value.", @@ -3948,6 +4046,7 @@ }, "TagsFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "allowedValues": { "docs": "The allowed values for the field value.", @@ -3987,6 +4086,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "created": { "docs": "The timestamp when the team has been created.", @@ -4022,6 +4122,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "details": { "docs": "The details of the template.", @@ -4037,6 +4138,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "description": { "docs": "The description of the template.", @@ -4064,6 +4166,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The event consumers.", @@ -4076,6 +4179,7 @@ }, "TranslationDto": { "docs": undefined, + "inline": undefined, "properties": { "result": { "docs": "The result of the translation.", @@ -4106,6 +4210,7 @@ }, "TweetRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "accessSecret": { "docs": " The generated access secret.", @@ -4144,6 +4249,7 @@ }, "TypesenseRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "apiKey": { "docs": "The api key.", @@ -4194,6 +4300,7 @@ }, "UiFieldPropertiesDto": { "docs": undefined, + "inline": undefined, "properties": { "editor": { "docs": "The editor that is used to manage this field.", @@ -4206,6 +4313,7 @@ }, "UiSettingsDto": { "docs": undefined, + "inline": undefined, "properties": { "canCreateApps": { "docs": "True when the user can create apps.", @@ -4222,6 +4330,7 @@ }, "UpdateFieldDto": { "docs": undefined, + "inline": undefined, "properties": { "properties": { "docs": "The field properties.", @@ -4234,6 +4343,7 @@ }, "UpdateSettingDto": { "docs": undefined, + "inline": undefined, "properties": { "value": "unknown", }, @@ -4243,6 +4353,7 @@ }, "UpsertCommentDto": { "docs": undefined, + "inline": undefined, "properties": { "text": { "docs": "The comment text.", @@ -4271,6 +4382,7 @@ }, "UpsertSchemaDto": { "docs": undefined, + "inline": undefined, "properties": { "category": { "docs": "The category.", @@ -4315,6 +4427,7 @@ }, "UpsertSchemaFieldDto": { "docs": undefined, + "inline": undefined, "properties": { "isDisabled": { "docs": "Defines if the field is disabled.", @@ -4357,6 +4470,7 @@ }, "UpsertSchemaNestedFieldDto": { "docs": undefined, + "inline": undefined, "properties": { "isDisabled": { "docs": "Defines if the field is disabled.", @@ -4391,6 +4505,7 @@ }, "UsageRuleTriggerDto": { "docs": undefined, + "inline": undefined, "properties": { "limit": { "docs": "The number of monthly api calls.", @@ -4417,6 +4532,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "displayName": { "docs": "The display name (usually first name and last name) of the user.", @@ -4445,6 +4561,7 @@ }, "UserProperty": { "docs": undefined, + "inline": undefined, "properties": { "name": { "type": "string", @@ -4474,6 +4591,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "items": { "docs": "The users.", @@ -4503,6 +4621,7 @@ }, "WebhookRuleActionDto": { "docs": undefined, + "inline": undefined, "properties": { "headers": { "docs": "The message headers in the format '[Key]=[Value]', one entry per line.", @@ -4544,6 +4663,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "id": { "docs": "The workflow id.", @@ -4572,6 +4692,7 @@ }, "WorkflowStepDto": { "docs": undefined, + "inline": undefined, "properties": { "color": { "docs": "The optional color.", @@ -4604,6 +4725,7 @@ }, "WorkflowTransitionDto": { "docs": undefined, + "inline": undefined, "properties": { "expression": { "docs": "The optional expression.", @@ -4623,6 +4745,7 @@ "extends": [ "Resource", ], + "inline": undefined, "properties": { "errors": { "docs": "The errros that should be fixed.", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/streaming.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/streaming.json index e5f60aaff72..db065712585 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/streaming.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/streaming.json @@ -285,6 +285,7 @@ "types": { "StreamUser": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "optional", @@ -302,6 +303,7 @@ }, "StreamUser2": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "optional", @@ -321,6 +323,7 @@ }, "User": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "optional", @@ -338,6 +341,7 @@ }, "User2": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "optional", @@ -357,6 +361,7 @@ }, "UserV3Response": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "optional", @@ -375,6 +380,7 @@ }, "UserV3StreamResponse": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "optional", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/suger.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/suger.json index 2a5489a8d60..fa49fbb7b64 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/suger.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/suger.json @@ -58,6 +58,7 @@ "types": { "AzureAudience": { "docs": undefined, + "inline": undefined, "properties": { "description": "optional", "id": "optional", @@ -68,6 +69,7 @@ }, "AzureGovernmentCertification": { "docs": undefined, + "inline": undefined, "properties": { "title": "optional", "uri": "optional", @@ -79,6 +81,7 @@ }, "AzureIncludedBaseQuantity": { "docs": undefined, + "inline": undefined, "properties": { "isInfinite": "optional", "quantity": "optional", @@ -99,6 +102,7 @@ }, "AzureListingContact": { "docs": undefined, + "inline": undefined, "properties": { "email": "optional", "name": "optional", @@ -122,6 +126,7 @@ }, "AzureListingUri": { "docs": undefined, + "inline": undefined, "properties": { "displayText": "optional", "subtype": "optional", @@ -134,6 +139,7 @@ }, "AzureLocalizedDateTime": { "docs": undefined, + "inline": undefined, "properties": { "dateTimeInUtc": "optional", "localizePerMarket": "optional", @@ -144,6 +150,7 @@ }, "AzureLocalizedTimeRange": { "docs": undefined, + "inline": undefined, "properties": { "endAt": "optional", "startAt": "optional", @@ -154,6 +161,7 @@ }, "AzureMarket": { "docs": undefined, + "inline": undefined, "properties": { "friendlyName": "optional", "marketCode": { @@ -167,6 +175,7 @@ }, "AzureMarketState": { "docs": undefined, + "inline": undefined, "properties": { "marketCode": { "docs": "ISO Country Code", @@ -191,6 +200,7 @@ }, "AzureMarketplacePrice": { "docs": undefined, + "inline": undefined, "properties": { "currency": { "docs": "ISO 4217 currency code", @@ -209,6 +219,7 @@ }, "AzureMarketplacePrivateOffer": { "docs": undefined, + "inline": undefined, "properties": { "$schema": "optional", "acceptBy": { @@ -262,6 +273,7 @@ }, "AzureMarketplacePrivateOfferAcceptanceLink": { "docs": undefined, + "inline": undefined, "properties": { "beneficiaryId": { "docs": "The Customer Billing Account ID.", @@ -275,6 +287,7 @@ }, "AzureMarketplacePrivateOfferBeneficiary": { "docs": undefined, + "inline": undefined, "properties": { "beneficiaryRecipients": "optional>", "description": "optional", @@ -289,6 +302,7 @@ }, "AzureMarketplacePrivateOfferBeneficiaryRecipient": { "docs": undefined, + "inline": undefined, "properties": { "id": "optional", "recipientType": "optional", @@ -308,6 +322,7 @@ }, "AzureMarketplacePrivateOfferPricing": { "docs": undefined, + "inline": undefined, "properties": { "discountPercentage": { "docs": "between 0 and 100", @@ -372,6 +387,7 @@ }, "AzureMarketplacePrivateOfferPromotionReference": { "docs": undefined, + "inline": undefined, "properties": { "id": "optional", "name": "optional", @@ -402,6 +418,7 @@ }, "AzureMarketplaceTerm": { "docs": undefined, + "inline": undefined, "properties": { "type": "optional", "value": { @@ -426,6 +443,7 @@ }, "AzureMarketplaceValidation": { "docs": undefined, + "inline": undefined, "properties": { "$schema": "optional", "code": "optional", @@ -468,6 +486,7 @@ }, "AzurePendingUpdateInfo": { "docs": undefined, + "inline": undefined, "properties": { "status": "optional", "updateType": "optional", @@ -478,6 +497,7 @@ }, "AzurePrice": { "docs": undefined, + "inline": undefined, "properties": { "currencyCode": { "docs": "ISO currency code, Three characters", @@ -492,6 +512,7 @@ }, "AzurePriceAndAvailabilityPrivateOfferCustomMeters": { "docs": undefined, + "inline": undefined, "properties": { "meters": "optional", "priceInputOption": { @@ -515,6 +536,7 @@ }, "AzurePriceAndAvailabilityPrivateOfferPlan": { "docs": undefined, + "inline": undefined, "properties": { "$schema": "optional", "id": "optional", @@ -530,6 +552,7 @@ }, "AzurePriceAndAvailabilityPrivateOfferPrice": { "docs": undefined, + "inline": undefined, "properties": { "customMeters": "optional", "recurrentPrice": "optional", @@ -540,6 +563,7 @@ }, "AzurePriceAndAvailabilityRecurrentPrice": { "docs": undefined, + "inline": undefined, "properties": { "priceInputOption": { "docs": "default "usd"", @@ -553,6 +577,7 @@ }, "AzurePriceAndAvailabilityRecurrentPriceItem": { "docs": undefined, + "inline": undefined, "properties": { "billingTerm": "optional", "paymentOption": "optional", @@ -575,6 +600,7 @@ }, "AzurePriceCadence": { "docs": undefined, + "inline": undefined, "properties": { "type": "optional", "value": "optional", @@ -594,6 +620,7 @@ }, "AzurePriceSchedule": { "docs": undefined, + "inline": undefined, "properties": { "priceCadence": "optional", "pricingModel": "optional", @@ -616,6 +643,7 @@ }, "AzurePricingUnit": { "docs": undefined, + "inline": undefined, "properties": { "isUnlimitedUnit": "optional", "lowerUnit": "optional", @@ -638,6 +666,7 @@ }, "AzureProduct": { "docs": undefined, + "inline": undefined, "properties": { "availabilities": "optional>", "branches": "optional>", @@ -662,6 +691,7 @@ }, "AzureProductAvailability": { "docs": undefined, + "inline": undefined, "properties": { "emailAudiences": "optional>", "enterpriseLicensing": "optional", @@ -676,6 +706,7 @@ }, "AzureProductBranch": { "docs": undefined, + "inline": undefined, "properties": { "currentDraftInstanceID": "optional", "friendlyName": "optional", @@ -691,6 +722,7 @@ }, "AzureProductFeatureAvailability": { "docs": undefined, + "inline": undefined, "properties": { "customMeters": "optional>", "id": "optional", @@ -723,6 +755,7 @@ }, "AzureProductListing": { "docs": undefined, + "inline": undefined, "properties": { "accessInformation": "optional", "assets": { @@ -750,6 +783,7 @@ }, "AzureProductListingAsset": { "docs": undefined, + "inline": undefined, "properties": { "description": "optional", "fileName": "optional", @@ -790,6 +824,7 @@ }, "AzureProductPackageConfiguration": { "docs": undefined, + "inline": undefined, "properties": { "azureActiveDirectoryApplicationID": "optional", "azureActiveDirectoryTenantID": "optional", @@ -804,6 +839,7 @@ }, "AzureProductProperty": { "docs": undefined, + "inline": undefined, "properties": { "additionalCategories": "optional>", "appVersion": "optional", @@ -830,6 +866,7 @@ }, "AzureProductSetup": { "docs": undefined, + "inline": undefined, "properties": { "callToAction": "optional", "channelStates": "optional>", @@ -870,6 +907,7 @@ }, "AzureProductSubmission": { "docs": undefined, + "inline": undefined, "properties": { "areResourcesReady": "optional", "friendlyName": "optional", @@ -914,6 +952,7 @@ }, "AzureProductVariant": { "docs": undefined, + "inline": undefined, "properties": { "azureGovernmentCertifications": "optional>", "cloudAvailabilities": "optional>", @@ -937,6 +976,7 @@ }, "AzureProductVariantCustomMeter": { "docs": undefined, + "inline": undefined, "properties": { "displayName": "optional", "id": "optional", @@ -952,6 +992,7 @@ }, "AzureProductVariantPriceSchedule": { "docs": undefined, + "inline": undefined, "properties": { "dateTimeRange": "optional", "friendlyName": "optional", @@ -989,6 +1030,7 @@ }, "AzureProductVariantTrial": { "docs": undefined, + "inline": undefined, "properties": { "dateTimeRange": "optional", "duration": "optional", @@ -1022,6 +1064,7 @@ }, "AzureTypeValue": { "docs": undefined, + "inline": undefined, "properties": { "type": "optional", "value": "optional", @@ -1032,6 +1075,7 @@ }, "AzureValidationResult": { "docs": undefined, + "inline": undefined, "properties": { "errorMessage": "optional", "memberNames": "optional>", @@ -1042,6 +1086,7 @@ }, "AzureVariantResource": { "docs": undefined, + "inline": undefined, "properties": { "resources": "optional>", "variantID": "optional", @@ -1052,6 +1097,7 @@ }, "GithubComAwsAwsSdkGoV2ServiceMarketplacemeteringTypesTag": { "docs": undefined, + "inline": undefined, "properties": { "key": { "docs": "One part of a key-value pair that makes up a tag. A key is a label that acts @@ -1074,6 +1120,7 @@ This member is required.", }, "GithubComSugerioMarketplaceServiceAzureSdkMarketplacemeteringv1BatchUsageEventOkResponse": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "result": "optional>", @@ -1084,6 +1131,7 @@ This member is required.", }, "GithubComSugerioMarketplaceServiceAzureSdkMarketplacemeteringv1UsageBatchEventOkMessage": { "docs": undefined, + "inline": undefined, "properties": { "dimension": { "docs": "Dimension identifier", @@ -1129,6 +1177,7 @@ This member is required.", }, "GithubComSugerioMarketplaceServiceAzureSdkMarketplacemeteringv1UsageEventConflictResponse": { "docs": undefined, + "inline": undefined, "properties": { "additionalInfo": "optional", "code": "optional", @@ -1140,6 +1189,7 @@ This member is required.", }, "GithubComSugerioMarketplaceServiceAzureSdkMarketplacemeteringv1UsageEventConflictResponseAdditionalInfo": { "docs": undefined, + "inline": undefined, "properties": { "acceptedMessage": "optional", }, @@ -1149,6 +1199,7 @@ This member is required.", }, "GithubComSugerioMarketplaceServiceAzureSdkMarketplacemeteringv1UsageEventOkResponse": { "docs": undefined, + "inline": undefined, "properties": { "dimension": { "docs": "Dimension identifier", @@ -1209,6 +1260,7 @@ This member is required.", }, "GithubComSugerioMarketplaceServiceRdsDbLibBillingAwsBillingEvent": { "docs": undefined, + "inline": undefined, "properties": { "action": "optional", "agreementID": "optional", @@ -1245,6 +1297,7 @@ This member is required.", }, "GithubComSugerioMarketplaceServiceRdsDbLibBillingAzureCmaRevenue": { "docs": undefined, + "inline": undefined, "properties": { "azureAssetID": "optional", "azureBillingAccountID": "optional", @@ -1270,6 +1323,7 @@ This member is required.", }, "GithubComSugerioMarketplaceServiceRdsDbLibBillingGcpChargeUsage": { "docs": undefined, + "inline": undefined, "properties": { "abandoned": "optional", "accountID": "optional", @@ -1305,6 +1359,7 @@ This member is required.", }, "MarketplacemeteringBatchMeterUsageOutput": { "docs": undefined, + "inline": undefined, "properties": { "resultMetadata": { "docs": "Metadata pertaining to the operation's result.", @@ -1330,6 +1385,7 @@ BatchMeterUsage call with this list as input in the BatchMeterUsageRequest.", "MiddlewareMetadata": "map", "ServicecontrolReportError": { "docs": undefined, + "inline": undefined, "properties": { "operationId": { "docs": "OperationId: The Operation.operation_id value from the request.", @@ -1346,6 +1402,7 @@ BatchMeterUsage call with this list as input in the BatchMeterUsageRequest.", }, "ServicecontrolReportResponse": { "docs": undefined, + "inline": undefined, "properties": { "reportErrors": { "docs": "ReportErrors: Partial failures, one for each `Operation` in the @@ -1378,6 +1435,7 @@ request.", }, "ServicecontrolStatus": { "docs": undefined, + "inline": undefined, "properties": { "code": { "docs": "Code: The status code, which should be an enum value of @@ -1402,6 +1460,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedAddEntitlementCreditResponse": { "docs": undefined, + "inline": undefined, "properties": { "creditAmountIncrement": { "docs": "The amount to be added to the credit amount.", @@ -1421,6 +1480,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedApiClientAccessToken": { "docs": undefined, + "inline": undefined, "properties": { "access_token": "optional", "expires_in": { @@ -1439,6 +1499,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedAwsAccountIdentifier": { "docs": undefined, + "inline": undefined, "properties": { "awsAccountID": { "docs": "The AWS Account ID of the buyer in AWS Marketplace", @@ -1460,6 +1521,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedAwsAceIntegration": { "docs": undefined, + "inline": undefined, "properties": { "credential": "optional", "partnerId": { @@ -1485,6 +1547,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedAwsIntegrationCredential": { "docs": undefined, + "inline": undefined, "properties": { "accessKeyId": { "docs": "The access key ID of the IAM user for Suger service to access the client's AWS services.", @@ -1505,6 +1568,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedAwsMarketplaceIntegration": { "docs": "The data struct to store integration info for Suger service to access the client's AWS services.", + "inline": undefined, "properties": { "externalID": { "docs": "The external ID for assuming IAM role. If empty, means no external ID set or needed. Otherwise, it should be auth_id in table identity.organization.", @@ -1561,6 +1625,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedAwsSaasProduct": { "docs": undefined, + "inline": undefined, "properties": { "Description": "optional", "Dimensions": "optional>", @@ -1579,6 +1644,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedAwsSaasProductAdditionalResource": { "docs": undefined, + "inline": undefined, "properties": { "Text": "optional", "Type": "optional", @@ -1590,6 +1656,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedAwsSaasProductDeliveryOption": { "docs": undefined, + "inline": undefined, "properties": { "FulfillmentUrl": "optional", "Id": "optional", @@ -1601,6 +1668,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedAwsSaasProductDescription": { "docs": undefined, + "inline": undefined, "properties": { "AssociatedProducts": "optional", "Categories": "optional>", @@ -1623,6 +1691,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedAwsSaasProductDimension": { "docs": undefined, + "inline": undefined, "properties": { "Description": "optional", "Key": "optional", @@ -1636,6 +1705,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedAwsSaasProductPromotionalResources": { "docs": undefined, + "inline": undefined, "properties": { "AdditionalResources": "optional>", "LogoUrl": "optional", @@ -1646,6 +1716,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedAwsSaasProductSupportInformation": { "docs": undefined, + "inline": undefined, "properties": { "Description": "optional", }, @@ -1655,6 +1726,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedAwsSaasProductVersion": { "docs": undefined, + "inline": undefined, "properties": { "DeliveryOptions": "optional>", "Id": "optional", @@ -1665,6 +1737,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedAwsSnsSubscription": { "docs": undefined, + "inline": undefined, "properties": { "Endpoint": "optional", "Protocol": "optional", @@ -1688,6 +1761,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedAzureAdIdentifier": { "docs": undefined, + "inline": undefined, "properties": { "buyerInfo": "optional", "companyInfo": "optional", @@ -1708,6 +1782,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedAzureBuyerInfo": { "docs": undefined, + "inline": undefined, "properties": { "billingAccountId": "optional", "customerId": "optional", @@ -1720,6 +1795,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedAzureIntegration": { "docs": undefined, + "inline": undefined, "properties": { "cmaFullSyncDone": { "docs": "Is Azure Commercial Marketplace Analytics (CMA) full-sync done.", @@ -1737,6 +1813,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedAzureIntegrationCredential": { "docs": undefined, + "inline": undefined, "properties": { "accessToken": "optional", "clientID": "optional", @@ -1759,6 +1836,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedAzureMarketplaceSubscription": { "docs": undefined, + "inline": undefined, "properties": { "allowedCustomerOperations": "optional>", "autoRenew": "optional", @@ -1828,6 +1906,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedAzureTerm": { "docs": undefined, + "inline": undefined, "properties": { "chargeDuration": "optional", "endDate": "optional", @@ -1840,6 +1919,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedBuyerInfo": { "docs": undefined, + "inline": undefined, "properties": { "awsBuyer": { "docs": "Buyer from AWS Marketplace", @@ -1872,6 +1952,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedCommitDimension": { "docs": "The commit dimension. There may be one or more commit dimensions defined in single product, offer or entitlement.", + "inline": undefined, "properties": { "category": "optional", "description": "optional", @@ -1955,6 +2036,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedCompanyInfo": { "docs": undefined, + "inline": undefined, "properties": { "addressLine1": "optional", "addressLine2": "optional", @@ -1971,6 +2053,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedContact": { "docs": undefined, + "inline": undefined, "properties": { "company": "optional", "email": "optional", @@ -1982,6 +2065,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedEntitlementInfo": { "docs": undefined, + "inline": undefined, "properties": { "autoRenew": { "docs": "Is this Entitlement Auto Renew enabled.", @@ -2050,6 +2134,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedEntitlementTermInfo": { "docs": undefined, + "inline": undefined, "properties": { "type": "optional", }, @@ -2075,6 +2160,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedEntitlementUsageRecord": { "docs": undefined, + "inline": undefined, "properties": { "amounts": "optional>", "date": "optional", @@ -2116,6 +2202,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedGcpCommerceProducerExternalAccountSpec": { "docs": undefined, + "inline": undefined, "properties": { "loginUri": "optional", "signupUri": "optional", @@ -2127,6 +2214,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedGcpCommerceProducerListingSpec": { "docs": undefined, + "inline": undefined, "properties": { "externalAccountSpec": "optional", "listingType": "optional>", @@ -2139,6 +2227,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedGcpCommerceProducerMarketingSpec": { "docs": undefined, + "inline": undefined, "properties": { "description": "optional", "displayNames": { @@ -2167,6 +2256,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedGcpCommerceProducerPrice": { "docs": undefined, + "inline": undefined, "properties": { "currencyCode": { "docs": "ISO currency code, Three UPPER_CASE characters", @@ -2187,6 +2277,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedGcpCommerceProducerPriceInfo": { "docs": undefined, + "inline": undefined, "properties": { "description": "optional", "priceModel": "optional", @@ -2216,6 +2307,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedGcpCommerceProducerPriceSubscription": { "docs": undefined, + "inline": undefined, "properties": { "period": "optional>", "price": { @@ -2230,6 +2322,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedGcpCommerceProducerPriceTier": { "docs": undefined, + "inline": undefined, "properties": { "endUsageAmount": { "docs": "The usage amount below which this tier is effective.", @@ -2250,6 +2343,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedGcpCommerceProducerPriceUsage": { "docs": undefined, + "inline": undefined, "properties": { "displayQuantity": { "docs": "Default value is 1.", @@ -2268,6 +2362,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedGcpCommerceProducerPurchaseMetric": { "docs": undefined, + "inline": undefined, "properties": { "description": { "docs": "Description: A detailed description of the metric, which can be used in documentation.", @@ -2295,6 +2390,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedGcpCommerceProducerPurchaseSpec": { "docs": undefined, + "inline": undefined, "properties": { "metrics": "optional>", "purchaseOptionSpecs": "optional>", @@ -2305,6 +2401,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedGcpCommerceProducerServiceBilling": { "docs": undefined, + "inline": undefined, "properties": { "metrics": { "docs": "in format of ["{product-name}.endpoints.{provider-id}.cloud.goog/{plan_key}_{usage_dimension_key}"]", @@ -2317,6 +2414,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedGcpCommerceProducerServiceConfig": { "docs": undefined, + "inline": undefined, "properties": { "billing": "optional", "metrics": { @@ -2339,6 +2437,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedGcpCommerceProducerSupportSpec": { "docs": undefined, + "inline": undefined, "properties": { "description": "optional", "email": "optional", @@ -2350,6 +2449,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedGcpIntegration": { "docs": undefined, + "inline": undefined, "properties": { "gcpProjectId": "optional", "gcpProjectNumber": "optional", @@ -2387,6 +2487,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedGcpMarketplaceConsumer": { "docs": undefined, + "inline": undefined, "properties": { "project": { "docs": "The project name with format `projects/`.", @@ -2399,6 +2500,7 @@ in the google.rpc.Status.details field, or localized by the client.", }, "SharedGcpMarketplaceEntitlement": { "docs": undefined, + "inline": undefined, "properties": { "account": { "docs": "The resource name of the account that this entitlement is based on, if any, in format ""providers/{provider_id}/accounts/{account_id}"", @@ -2560,6 +2662,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedGcpMarketplaceUserAccount": { "docs": undefined, + "inline": undefined, "properties": { "approvals": { "docs": "The approvals for this account, that are permitted or have been completed.", @@ -2598,6 +2701,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedGcpMarketplaceUserAccountApproval": { "docs": undefined, + "inline": undefined, "properties": { "name": "optional", "reason": { @@ -2642,6 +2746,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedGcpProduct": { "docs": undefined, + "inline": undefined, "properties": { "createTime": "optional", "id": { @@ -2666,6 +2771,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedGcpPurchasePlan": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "The Plan key.", @@ -2684,6 +2790,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedGcpUserInfo": { "docs": undefined, + "inline": undefined, "properties": { "roles": { "docs": "An array of strings representing the user's roles. Right now, it can be either: ** account_admin, which indicates that the user is a Billing Account Administrator of the billing account that purchased the product, or ** project_editor, which indicates that the user is a Project Editor, but not a Billing Administrator, of the project under that billing account.", @@ -2700,6 +2807,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedHubspotCrmCredential": { "docs": undefined, + "inline": undefined, "properties": { "accessToken": "optional", "acquiredOn": { @@ -2715,6 +2823,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedHubspotCrmIntegration": { "docs": undefined, + "inline": undefined, "properties": { "credential": "optional", "portalId": { @@ -2729,6 +2838,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedIdentityBuyer": { "docs": undefined, + "inline": undefined, "properties": { "creationTime": "optional", "description": "optional", @@ -2756,6 +2866,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedIdentityIntegration": { "docs": undefined, + "inline": undefined, "properties": { "createdBy": "optional", "creationTime": "optional", @@ -2793,6 +2904,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedIntegrationInfo": { "docs": undefined, + "inline": undefined, "properties": { "awsAceIntegration": { "docs": "AWS ACE Integration", @@ -2826,6 +2938,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedListRevenueRecordDetailsResponse": { "docs": undefined, + "inline": undefined, "properties": { "nextOffset": "optional", "revenueRecordDetails": "optional>", @@ -2836,6 +2949,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedListRevenueRecordsResponse": { "docs": undefined, + "inline": undefined, "properties": { "nextOffset": "optional", "revenueRecords": "optional>", @@ -2846,6 +2960,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedListUsageRecordGroupsResponse": { "docs": undefined, + "inline": undefined, "properties": { "nextOffset": "optional", "usageRecordGroups": "optional>", @@ -2856,6 +2971,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedListUsageRecordReportsResponse": { "docs": undefined, + "inline": undefined, "properties": { "nextOffset": "optional", "usageRecordReports": "optional>", @@ -2866,6 +2982,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedMeteringDimension": { "docs": "The dimension to meter usage in entitlement.", + "inline": undefined, "properties": { "category": "optional", "description": "optional", @@ -2892,6 +3009,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedMeteringUsageRecordGroup": { "docs": undefined, + "inline": undefined, "properties": { "creationTime": "optional", "entitlementID": "optional", @@ -2910,6 +3028,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedMeteringUsageRecordGroupMetaInfo": { "docs": undefined, + "inline": undefined, "properties": { "originRecords": { "docs": "The original records reported by the customer before convertion. If no dimension mapping is applied, this field is the same as the records field.", @@ -2922,6 +3041,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedMeteringUsageRecordReport": { "docs": undefined, + "inline": undefined, "properties": { "creationTime": "optional", "entitlementID": "optional", @@ -2937,6 +3057,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedMeteringUsageRecordReportInfo": { "docs": undefined, + "inline": undefined, "properties": { "awsMeteringResponse": { "docs": "The raw response from AWS metering service.", @@ -3009,6 +3130,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedNotificationEvent": { "docs": undefined, + "inline": undefined, "properties": { "action": "optional", "entityID": "optional", @@ -3075,6 +3197,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedOfferInfo": { "docs": undefined, + "inline": undefined, "properties": { "azureOriginalPlan": { "docs": "The origin pricing of Azure plan. Only applicable for Azure Marketplace plans.", @@ -3141,6 +3264,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedOfferMetaInfo": { "docs": undefined, + "inline": undefined, "properties": { "baseAgreementId": { "docs": "Applicable for AWS Marketplace only, when the IsAgreementBasedOffer is true.", @@ -3169,6 +3293,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedOperation": { "docs": undefined, + "inline": undefined, "properties": { "endTime": "optional", "id": { @@ -3188,6 +3313,7 @@ This field is present only if the product has usage-based billing configured.", "SharedOperationType": "literal<"TemporalWorkflow">", "SharedPaymentInstallment": { "docs": undefined, + "inline": undefined, "properties": { "amount": "optional", "chargeOn": "optional", @@ -3198,6 +3324,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedProductInfo": { "docs": undefined, + "inline": undefined, "properties": { "attributes": "optional>", "awsSaasProduct": "optional", @@ -3217,6 +3344,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedRevenueRecord": { "docs": undefined, + "inline": undefined, "properties": { "amount": { "docs": "The revenue amount for the revenue report", @@ -3258,6 +3386,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedRevenueRecordDetail": { "docs": undefined, + "inline": undefined, "properties": { "awsRevenueRecordDetail": { "docs": "For AWS Marketplace", @@ -3278,6 +3407,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedRevenueRecordInfo": { "docs": undefined, + "inline": undefined, "properties": { "awsRevenueRecords": { "docs": "For raw revenue records in AWS Marketplace", @@ -3298,6 +3428,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedRevenueReport": { "docs": undefined, + "inline": undefined, "properties": { "buyerID": "optional", "entitlementID": "optional", @@ -3325,6 +3456,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedSalesforceCrmCredential": { "docs": undefined, + "inline": undefined, "properties": { "access_token": "optional", "exp": "optional", @@ -3337,6 +3469,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedSalesforceCrmIntegration": { "docs": undefined, + "inline": undefined, "properties": { "credential": { "docs": "System created", @@ -3357,6 +3490,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedSalesforceSyncFilter": { "docs": undefined, + "inline": undefined, "properties": { "fieldName": "optional", "operator": "optional", @@ -3368,6 +3502,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedSlackIntegration": { "docs": undefined, + "inline": undefined, "properties": { "accessToken": "optional", "appId": "optional", @@ -3391,6 +3526,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedUsageCount": { "docs": undefined, + "inline": undefined, "properties": { "creditCount": { "docs": "The count of this dimension usage records that are handled as credit.", @@ -3411,6 +3547,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedUsageReport": { "docs": undefined, + "inline": undefined, "properties": { "entitlementID": "optional", "organizationID": "optional", @@ -3440,6 +3577,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedWorkloadEntitlement": { "docs": undefined, + "inline": undefined, "properties": { "buyerID": "optional", "creationTime": "optional", @@ -3492,6 +3630,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedWorkloadEntitlementTerm": { "docs": undefined, + "inline": undefined, "properties": { "buyerID": "optional", "commitAmount": "optional", @@ -3530,6 +3669,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedWorkloadOffer": { "docs": undefined, + "inline": undefined, "properties": { "createdBy": "optional", "creationTime": "optional", @@ -3603,6 +3743,7 @@ This field is present only if the product has usage-based billing configured.", }, "SharedWorkloadProduct": { "docs": undefined, + "inline": undefined, "properties": { "createdBy": "optional", "creationTime": "optional", @@ -3648,6 +3789,7 @@ This field is present only if the product has usage-based billing configured.", }, "SlackOAuthResponseIncomingWebhook": { "docs": undefined, + "inline": undefined, "properties": { "channel": "optional", "channel_id": "optional", @@ -3660,6 +3802,7 @@ This field is present only if the product has usage-based billing configured.", }, "SlackOAuthV2ResponseAuthedUser": { "docs": undefined, + "inline": undefined, "properties": { "access_token": "optional", "expires_in": "optional", @@ -3674,6 +3817,7 @@ This field is present only if the product has usage-based billing configured.", }, "SlackOAuthV2ResponseEnterprise": { "docs": undefined, + "inline": undefined, "properties": { "id": "optional", "name": "optional", @@ -3684,6 +3828,7 @@ This field is present only if the product has usage-based billing configured.", }, "SlackOAuthV2ResponseTeam": { "docs": undefined, + "inline": undefined, "properties": { "id": "optional", "name": "optional", @@ -3694,6 +3839,7 @@ This field is present only if the product has usage-based billing configured.", }, "SqlNullTime": { "docs": undefined, + "inline": undefined, "properties": { "time": "optional", "valid": { @@ -3707,6 +3853,7 @@ This field is present only if the product has usage-based billing configured.", }, "TypesEntitlement": { "docs": undefined, + "inline": undefined, "properties": { "customerIdentifier": { "docs": "The customer identifier is a handle to each unique customer in an application. @@ -3741,6 +3888,7 @@ provided by AWS Marketplace when the product listing is created.", }, "TypesUsageAllocation": { "docs": undefined, + "inline": undefined, "properties": { "allocatedUsageQuantity": { "docs": "The total quantity allocated to this bucket of usage. @@ -3760,6 +3908,7 @@ tags, this parameter can be left out.", }, "TypesUsageRecord": { "docs": undefined, + "inline": undefined, "properties": { "customerIdentifier": { "docs": "The CustomerIdentifier is obtained through the ResolveCustomer operation and @@ -3800,6 +3949,7 @@ must equal the Quantity of the UsageRecord.", }, "TypesUsageRecordResult": { "docs": undefined, + "inline": undefined, "properties": { "meteringRecordId": { "docs": "The MeteringRecordId is a unique identifier for this metering event.", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/superagent.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/superagent.json index 0ab9c7cac64..324f5ef7320 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/superagent.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/superagent.json @@ -22,6 +22,7 @@ "types": { "HTTPValidationError": { "docs": undefined, + "inline": undefined, "properties": { "detail": { "type": "optional>", @@ -33,6 +34,7 @@ }, "ValidationError": { "docs": undefined, + "inline": undefined, "properties": { "loc": { "type": "list", @@ -48,6 +50,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -79,6 +82,7 @@ types: - integer source: openapi: ../openapi.yml + inline: true ValidationError: properties: loc: diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/switchboard.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/switchboard.json index 2fe73005e2d..8a2e8f12e83 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/switchboard.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/switchboard.json @@ -25,6 +25,7 @@ "types": { "ClientProvidedResponseMetadata": { "docs": undefined, + "inline": undefined, "properties": { "clientRequestId": "optional", "timeThresholdMs": "optional", @@ -35,6 +36,7 @@ }, "DefaultMetaWrapper": { "docs": undefined, + "inline": undefined, "properties": { "requestId": "optional", }, @@ -44,6 +46,7 @@ }, "ErrorEnvelope": { "docs": undefined, + "inline": undefined, "properties": { "HttpStatus": "long", "Message": "string", @@ -58,6 +61,7 @@ }, "ErrorMessage": { "docs": undefined, + "inline": undefined, "properties": { "code": { "docs": "Error code", @@ -78,6 +82,7 @@ }, "ExtensionV1": { "docs": undefined, + "inline": undefined, "properties": { "date_created": { "docs": "Date the extension was created", @@ -108,6 +113,7 @@ }, "ExtensionV1EnvelopeDefaultMetaWrapper": { "docs": undefined, + "inline": undefined, "properties": { "data": "ExtensionV1", "errors": "optional>", @@ -120,6 +126,7 @@ }, "ExternalSessionAiResponseMetadata": { "docs": undefined, + "inline": undefined, "properties": { "clientProvided": "optional", "requestId": "optional", @@ -142,6 +149,7 @@ }, "ExternalSessionAiResponseMetadataUsage": { "docs": undefined, + "inline": undefined, "properties": { "credits": { "docs": "The credit usage for this request", @@ -158,6 +166,7 @@ }, "Issue": { "docs": undefined, + "inline": undefined, "properties": { "code": { "docs": "Issue code", @@ -178,6 +187,7 @@ }, "ListExtensionV1EnvelopeDefaultMetaWrapper": { "docs": undefined, + "inline": undefined, "properties": { "data": "optional>", "errors": "optional>", @@ -190,6 +200,7 @@ }, "ListProfileV1EnvelopeDefaultMetaWrapper": { "docs": undefined, + "inline": undefined, "properties": { "data": "optional>", "errors": "optional>", @@ -202,6 +213,7 @@ }, "LiveViewConnectionInfo": { "docs": undefined, + "inline": undefined, "properties": { "airtop_browser_url": { "docs": "Websocket url to connect to the airtop browser", @@ -218,6 +230,7 @@ }, "ModelResponse": { "docs": undefined, + "inline": undefined, "properties": { "modelResponse": "string", }, @@ -227,6 +240,7 @@ }, "ModelResponseExternalSessionAiResponseMetadataWrapper": { "docs": undefined, + "inline": undefined, "properties": { "data": "ModelResponse", "errors": "optional>", @@ -239,6 +253,7 @@ }, "Pagination": { "docs": undefined, + "inline": undefined, "properties": { "currentLimit": "long", "currentPage": "long", @@ -255,6 +270,7 @@ }, "ProfileV1": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "Name of the profile", @@ -291,6 +307,7 @@ }, "ProfileV1EnvelopeDefaultMetaWrapper": { "docs": undefined, + "inline": undefined, "properties": { "data": "ProfileV1", "errors": "optional>", @@ -303,6 +320,7 @@ }, "ScrapeModelResponse": { "docs": undefined, + "inline": undefined, "properties": { "modelResponse": "ScrapeResponseOutput", }, @@ -312,6 +330,7 @@ }, "ScrapeModelResponseExternalSessionAiResponseMetadataWrapper": { "docs": undefined, + "inline": undefined, "properties": { "data": "ScrapeModelResponse", "errors": "optional>", @@ -324,6 +343,7 @@ }, "ScrapeResponseContent": { "docs": undefined, + "inline": undefined, "properties": { "contentType": { "docs": "The mime type of content extracted from the browser window", @@ -340,6 +360,7 @@ }, "ScrapeResponseOutput": { "docs": undefined, + "inline": undefined, "properties": { "scrapedContent": { "docs": "The scraped content of the browser window", @@ -360,6 +381,7 @@ }, "SessionConfig": { "docs": undefined, + "inline": undefined, "properties": { "persist_profile": { "docs": "Persist the profile", @@ -396,6 +418,7 @@ }, "SessionConfigV1": { "docs": undefined, + "inline": undefined, "properties": { "persist_profile": { "docs": "Persist the profile", @@ -432,6 +455,7 @@ }, "SessionWithConnectionInfo": { "docs": undefined, + "inline": undefined, "properties": { "cdp_url": { "docs": "Url to connect to chrome devtools protocol port on the airtop browser. Include the header 'Authorization: Bearer .'", @@ -490,6 +514,7 @@ }, "SessionWithConnectionInfoEnvelopeDefaultMetaWrapper": { "docs": undefined, + "inline": undefined, "properties": { "data": "SessionWithConnectionInfo", "errors": "optional>", @@ -502,6 +527,7 @@ }, "SessionsWithPagination": { "docs": undefined, + "inline": undefined, "properties": { "pagination": { "docs": "Pagination info", @@ -518,6 +544,7 @@ }, "SessionsWithPaginationEnvelopeDefaultMetaWrapper": { "docs": undefined, + "inline": undefined, "properties": { "data": "SessionsWithPagination", "errors": "optional>", @@ -530,6 +557,7 @@ }, "StatusMessage": { "docs": undefined, + "inline": undefined, "properties": { "event": { "docs": "Event name", @@ -566,6 +594,7 @@ }, "Window": { "docs": undefined, + "inline": undefined, "properties": { "liveViewUrl": { "docs": "Url for live view session", @@ -586,6 +615,7 @@ }, "WindowEnvelopeDefaultMetaWrapper": { "docs": undefined, + "inline": undefined, "properties": { "data": "Window", "errors": "optional>", @@ -2304,6 +2334,7 @@ service: }, "SessionsEventsResponseError": { "docs": undefined, + "inline": true, "properties": { "data": "root.ErrorMessage", "id": { @@ -2321,6 +2352,7 @@ service: }, "SessionsEventsResponseStatus": { "docs": undefined, + "inline": true, "properties": { "data": "root.StatusMessage", "id": { @@ -2371,6 +2403,7 @@ service: docs: The retry time in milliseconds. source: openapi: ../openapi.yml + inline: true SessionsEventsResponseError: properties: data: root.ErrorMessage @@ -2382,6 +2415,7 @@ service: docs: The retry time in milliseconds. source: openapi: ../openapi.yml + inline: true SessionsEventsResponse: discriminant: event base-properties: {} diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/uint.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/uint.json index 9b212e39608..4f6a0945092 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/uint.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/uint.json @@ -56,6 +56,7 @@ "Response": { "docs": "A generic response type used throughout the API. ", + "inline": undefined, "properties": { "id": "optional", "value": "optional", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/union-extension.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/union-extension.json index 899a6b98447..2cd36da9bf4 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/union-extension.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/union-extension.json @@ -8,6 +8,7 @@ "types": { "CounterPartyAccount": { "docs": undefined, + "inline": undefined, "properties": { "currency": "optional", "iban": "optional", @@ -19,6 +20,7 @@ }, "IbanField": { "docs": undefined, + "inline": undefined, "properties": { "iban": "optional", }, @@ -28,6 +30,7 @@ }, "Other": { "docs": undefined, + "inline": undefined, "properties": { "identification": "optional", "schemeNameCone": "optional", @@ -38,6 +41,7 @@ }, "OtherField": { "docs": undefined, + "inline": undefined, "properties": { "other": "optional", }, @@ -49,6 +53,7 @@ "discriminated": false, "docs": "PartyAccount with excluded currency in response", "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/unions-v1.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/unions-v1.json index fe864f4bcbb..76bed63af51 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/unions-v1.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/unions-v1.json @@ -8,6 +8,7 @@ "types": { "EnticingTitle": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "optional", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/uploadcare.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/uploadcare.json index 8b814523948..ef64f8ac9e5 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/uploadcare.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/uploadcare.json @@ -374,6 +374,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -384,11 +385,11 @@ }, "ContentInfo": { "docs": "Information about file content.", + "inline": undefined, "properties": { "image": "optional", "mime": { "docs": "MIME type.", - "inline": true, "type": "optional", }, "video": "optional", @@ -399,6 +400,7 @@ }, "ContentInfoMime": { "docs": "MIME type.", + "inline": true, "properties": { "mime": { "docs": "Full MIME type.", @@ -468,6 +470,7 @@ See [signed uploads](https://uploadcare.com/docs/security/secure-uploads/) for d }, "FileUploadInfo": { "docs": "Information about an uploaded file.", + "inline": undefined, "properties": { "content_info": "optional", "done": { @@ -540,6 +543,7 @@ See [signed uploads](https://uploadcare.com/docs/security/secure-uploads/) for d }, "FileUploadInfoErrorStatus": { "docs": undefined, + "inline": undefined, "properties": { "error": { "docs": "Human readable description of the issue with the fetch/upload task. @@ -569,6 +573,7 @@ page for a full list of all possible error codes. "extends": [ "FileUploadInfo", ], + "inline": undefined, "properties": { "type": "optional>", }, @@ -578,6 +583,7 @@ page for a full list of all possible error codes. }, "FileUploadInfoProgressStatus": { "docs": undefined, + "inline": undefined, "properties": { "done": { "docs": "How many bytes of the file have been fetched so far. @@ -608,6 +614,7 @@ example, [compressed form](https://developer.mozilla.org/en-US/docs/Web/HTTP/Hea "extends": [ "FileUploadInfo", ], + "inline": undefined, "properties": { "status": { "docs": "The file has been fetched/uploaded successfully.", @@ -620,6 +627,7 @@ example, [compressed form](https://developer.mozilla.org/en-US/docs/Web/HTTP/Hea }, "FileUploadInfoUnknownStatus": { "docs": undefined, + "inline": undefined, "properties": { "status": { "docs": "The system does not have information about the task. @@ -637,6 +645,7 @@ that are tool old (or that have not been created at all). }, "FileUploadInfoWaitingStatus": { "docs": undefined, + "inline": undefined, "properties": { "status": { "docs": "The system is preparing to handle the request. @@ -655,6 +664,7 @@ that are tool old (or that have not been created at all). "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -665,6 +675,7 @@ that are tool old (or that have not been created at all). }, "FromUrlUploadResponseSchema": { "docs": "`/from_url/` upload response.", + "inline": undefined, "properties": { "token": { "docs": "Token to identify a `/from_url/` request.", @@ -696,6 +707,7 @@ that are tool old (or that have not been created at all). }, "GroupInfo": { "docs": "File group information object.", + "inline": undefined, "properties": { "cdn_url": { "docs": "Group's CDN URL.", @@ -714,7 +726,6 @@ that are tool old (or that have not been created at all). "datetime_stored": { "availability": "deprecated", "docs": "ISO-8601 date and time when the group was marked as stored.", - "inline": undefined, "type": "optional", }, "files": { @@ -753,6 +764,7 @@ that are tool old (or that have not been created at all). }, "ImageInfo": { "docs": "Image metadata.", + "inline": undefined, "properties": { "color_mode": { "docs": "Image color mode.", @@ -772,7 +784,6 @@ that are tool old (or that have not been created at all). }, "geo_location": { "docs": "Geo-location of image from EXIF.", - "inline": true, "type": "optional", }, "height": { @@ -824,6 +835,7 @@ that are tool old (or that have not been created at all). }, "ImageInfoGeoLocation": { "docs": "Geo-location of image from EXIF.", + "inline": true, "properties": { "latitude": { "docs": "Location latitude.", @@ -840,10 +852,10 @@ that are tool old (or that have not been created at all). }, "LegacyVideoInfo": { "docs": "Video metadata.", + "inline": undefined, "properties": { "audio": { "docs": "Audio stream's metadata.", - "inline": true, "type": "optional", }, "bitrate": { @@ -860,7 +872,6 @@ that are tool old (or that have not been created at all). }, "video": { "docs": "Video stream's metadata.", - "inline": true, "type": "optional", }, }, @@ -870,6 +881,7 @@ that are tool old (or that have not been created at all). }, "LegacyVideoInfoAudio": { "docs": "Audio stream's metadata.", + "inline": true, "properties": { "bitrate": { "docs": "Audio stream's bitrate.", @@ -894,6 +906,7 @@ that are tool old (or that have not been created at all). }, "LegacyVideoInfoVideo": { "docs": "Video stream's metadata.", + "inline": true, "properties": { "bitrate": { "docs": "Video stream's bitrate.", @@ -996,6 +1009,7 @@ See [docs](https://uploadcare.com/docs/file-metadata/) and [REST API v0.7](/api- }, "SchemasImageInfo": { "docs": "Image metadata.", + "inline": undefined, "properties": { "color_mode": { "docs": "Image color mode.", @@ -1015,7 +1029,6 @@ See [docs](https://uploadcare.com/docs/file-metadata/) and [REST API v0.7](/api- }, "geo_location": { "docs": "Geo-location of image from EXIF.", - "inline": true, "type": "optional", }, "height": { @@ -1067,6 +1080,7 @@ See [docs](https://uploadcare.com/docs/file-metadata/) and [REST API v0.7](/api- }, "SchemasImageInfoGeoLocation": { "docs": "Geo-location of image from EXIF.", + "inline": true, "properties": { "latitude": { "docs": "Location latitude.", @@ -1180,6 +1194,7 @@ change the value to `auto`. }, "VideoInfo": { "docs": "Video metadata.", + "inline": undefined, "properties": { "audio": "list", "bitrate": { @@ -1202,6 +1217,7 @@ change the value to `auto`. }, "VideoInfoAudioItem": { "docs": "Audio stream's metadata.", + "inline": true, "properties": { "bitrate": { "docs": "Audio stream's bitrate.", @@ -1226,6 +1242,7 @@ change the value to `auto`. }, "VideoInfoVideoItem": { "docs": "Video stream's metadata.", + "inline": true, "properties": { "bitrate": { "docs": "Video stream's bitrate.", @@ -1685,6 +1702,7 @@ change the value to `auto`. docs: Location longitude. source: openapi: ../openapi.json + inline: true ImageInfo: docs: Image metadata. properties: @@ -1712,7 +1730,6 @@ change the value to `auto`. geo_location: type: optional docs: Geo-location of image from EXIF. - inline: true datetime_original: type: optional docs: >- @@ -1740,6 +1757,7 @@ change the value to `auto`. docs: Audio stream's number of channels. source: openapi: ../openapi.json + inline: true LegacyVideoInfoVideo: docs: Video stream's metadata. properties: @@ -1760,6 +1778,7 @@ change the value to `auto`. docs: Video stream codec. source: openapi: ../openapi.json + inline: true LegacyVideoInfo: docs: Video metadata. properties: @@ -1775,11 +1794,9 @@ change the value to `auto`. audio: type: optional docs: Audio stream's metadata. - inline: true video: type: optional docs: Video stream's metadata. - inline: true source: openapi: ../openapi.json SchemasImageInfoColorMode: @@ -1809,6 +1826,7 @@ change the value to `auto`. docs: Location longitude. source: openapi: ../openapi.json + inline: true SchemasImageInfo: docs: Image metadata. properties: @@ -1836,7 +1854,6 @@ change the value to `auto`. geo_location: type: optional docs: Geo-location of image from EXIF. - inline: true datetime_original: type: optional docs: >- @@ -1864,6 +1881,7 @@ change the value to `auto`. docs: Audio stream's number of channels. source: openapi: ../openapi.json + inline: true VideoInfoVideoItem: docs: Video stream's metadata. properties: @@ -1884,6 +1902,7 @@ change the value to `auto`. docs: Video stream's codec. source: openapi: ../openapi.json + inline: true VideoInfo: docs: Video metadata. properties: @@ -1914,13 +1933,13 @@ change the value to `auto`. docs: Subtype of MIME type. source: openapi: ../openapi.json + inline: true ContentInfo: docs: Information about file content. properties: mime: type: optional docs: MIME type. - inline: true image: optional video: optional source: @@ -4929,6 +4948,7 @@ to us as a value of the `part_size` parameter (in bytes). "docs": "JSON object where the key is the file name of the uploaded file and the value is the unique ID of the file on our systems. ", + "inline": undefined, "properties": { "filename": { "type": "optional", @@ -4987,6 +5007,7 @@ to the value of the `check_URL_duplicates` parameter. "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -4999,6 +5020,7 @@ to the value of the `check_URL_duplicates` parameter. "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.json", }, @@ -5012,6 +5034,7 @@ to the value of the `check_URL_duplicates` parameter. }, "MultipartFileUploadStartResponse": { "docs": undefined, + "inline": undefined, "properties": { "parts": "list", "uuid": { diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/valtown.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/valtown.json index cff71f9f2d7..ca9f13d247f 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/valtown.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/valtown.json @@ -61,6 +61,7 @@ "types": { "BadRequestErrorBody": { "docs": "The function throw an error or had invalid syntax", + "inline": undefined, "properties": { "error": "string", "type": "literal<"error">", @@ -71,6 +72,7 @@ }, "BasicVal": { "docs": "A Val", + "inline": undefined, "properties": { "author": { "docs": "The user who created this val", @@ -91,10 +93,7 @@ "pattern": undefined, }, }, - "links": { - "inline": true, - "type": "BasicValLinks", - }, + "links": "BasicValLinks", "name": { "docs": "The name of this val", "type": "string", @@ -139,6 +138,7 @@ }, "BasicValAuthor": { "docs": "The user who created this val", + "inline": true, "properties": { "id": { "type": "string", @@ -157,6 +157,7 @@ }, "BasicValLinks": { "docs": undefined, + "inline": true, "properties": { "module": { "docs": "The URL of this Val’s source code as a module", @@ -221,6 +222,7 @@ }, "ExtendedVal": { "docs": "A Val", + "inline": undefined, "properties": { "author": { "docs": "The user who created this val", @@ -252,10 +254,7 @@ "multipleOf": undefined, }, }, - "links": { - "inline": true, - "type": "ExtendedValLinks", - }, + "links": "ExtendedValLinks", "name": { "docs": "The name of this val", "type": "string", @@ -314,6 +313,7 @@ }, "ExtendedValAuthor": { "docs": "The user who created this val", + "inline": true, "properties": { "id": { "type": "string", @@ -332,6 +332,7 @@ }, "ExtendedValLinks": { "docs": undefined, + "inline": true, "properties": { "module": { "docs": "The URL of this Val’s source code as a module", @@ -396,6 +397,7 @@ }, "InternalServerErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "error": "string", }, @@ -405,6 +407,7 @@ }, "PaginationLinks": { "docs": "Links to use for pagination", + "inline": undefined, "properties": { "next": { "docs": "URL of the next page, if any", @@ -443,6 +446,7 @@ }, "ResultSet": { "docs": "Result of executing an SQL statement.", + "inline": undefined, "properties": { "columnTypes": { "docs": "Types of columns. @@ -487,6 +491,7 @@ This value is not specified for other SQL statements.", This value is not specified if the SQL statement was not an INSERT or if the table was not a ROWID table.", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -497,6 +502,7 @@ This value is not specified if the SQL statement was not an INSERT or if the tab }, "User": { "docs": "User object", + "inline": undefined, "properties": { "bio": { "docs": "The user’s biography, if they have provided one", @@ -512,10 +518,7 @@ This value is not specified if the SQL statement was not an INSERT or if the tab "pattern": undefined, }, }, - "links": { - "inline": true, - "type": "UserLinks", - }, + "links": "UserLinks", "profileImageUrl": { "docs": "URL that points to the user’s profile image, if one exists", "type": "optional", @@ -547,6 +550,7 @@ This value is not specified if the SQL statement was not an INSERT or if the tab }, "UserLinks": { "docs": undefined, + "inline": true, "properties": { "self": { "docs": "URL of this user on this API", @@ -587,6 +591,7 @@ This value is not specified if the SQL statement was not an INSERT or if the tab format: uri source: openapi: ../openapi.yml + inline: true User: docs: User object properties: @@ -613,9 +618,7 @@ This value is not specified if the SQL statement was not an INSERT or if the tab docs: URL of this user’s profile on Val Town’s website validation: format: uri - links: - type: UserLinks - inline: true + links: UserLinks source: openapi: ../openapi.yml ResultSetLastInsertRowid: @@ -631,6 +634,7 @@ This value is not specified if the SQL statement was not an INSERT or if the tab - double source: openapi: ../openapi.yml + inline: true ResultSet: docs: Result of executing an SQL statement. properties: @@ -718,6 +722,7 @@ This value is not specified if the SQL statement was not an INSERT or if the tab format: uri source: openapi: ../openapi.yml + inline: true ExtendedValAuthor: docs: The user who created this val properties: @@ -728,6 +733,7 @@ This value is not specified if the SQL statement was not an INSERT or if the tab username: optional source: openapi: ../openapi.yml + inline: true ExtendedVal: docs: A Val properties: @@ -767,9 +773,7 @@ This value is not specified if the SQL statement was not an INSERT or if the tab docs: The URL of this val on the Val Town website validation: format: uri - links: - type: ExtendedValLinks - inline: true + links: ExtendedValLinks author: type: optional docs: The user who created this val @@ -831,6 +835,7 @@ This value is not specified if the SQL statement was not an INSERT or if the tab format: uri source: openapi: ../openapi.yml + inline: true BasicValAuthor: docs: The user who created this val properties: @@ -841,6 +846,7 @@ This value is not specified if the SQL statement was not an INSERT or if the tab username: optional source: openapi: ../openapi.yml + inline: true BasicVal: docs: A Val properties: @@ -880,9 +886,7 @@ This value is not specified if the SQL statement was not an INSERT or if the tab docs: The URL of this val on the Val Town website validation: format: uri - links: - type: BasicValLinks - inline: true + links: BasicValLinks author: type: optional docs: The user who created this val @@ -1061,6 +1065,7 @@ API endpoints", "types": { "AliasValResponse": { "docs": "A Val", + "inline": undefined, "properties": { "author": { "docs": "The user who created this val", @@ -1092,10 +1097,7 @@ API endpoints", "multipleOf": undefined, }, }, - "links": { - "inline": true, - "type": "AliasValResponseLinks", - }, + "links": "AliasValResponseLinks", "name": { "docs": "The name of this val", "type": "string", @@ -1154,6 +1156,7 @@ API endpoints", }, "AliasValResponseAuthor": { "docs": "The user who created this val", + "inline": true, "properties": { "id": { "type": "string", @@ -1172,6 +1175,7 @@ API endpoints", }, "AliasValResponseLinks": { "docs": undefined, + "inline": true, "properties": { "module": { "docs": "The URL of this Val’s source code as a module", @@ -1364,6 +1368,7 @@ types: format: uri source: openapi: ../openapi.yml + inline: true AliasValResponseAuthor: docs: The user who created this val properties: @@ -1374,6 +1379,7 @@ types: username: optional source: openapi: ../openapi.yml + inline: true AliasValResponse: docs: A Val properties: @@ -1413,9 +1419,7 @@ types: docs: The URL of this val on the Val Town website validation: format: uri - links: - type: AliasValResponseLinks - inline: true + links: AliasValResponseLinks author: type: optional docs: The user who created this val @@ -1568,6 +1572,7 @@ types: "types": { "BlobListingItem": { "docs": undefined, + "inline": undefined, "properties": { "key": "string", "lastModified": { @@ -1774,6 +1779,7 @@ docs: Blobs "types": { "AttachmentObject": { "docs": undefined, + "inline": true, "properties": { "content": "string", "contentId": { @@ -1795,6 +1801,7 @@ docs: Blobs "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1810,6 +1817,7 @@ docs: Blobs "discriminated": false, "docs": "A single email or list of emails for one of the address fields", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1825,6 +1833,7 @@ docs: Blobs }, "EmailNameAndAddress": { "docs": "An email address and name", + "inline": true, "properties": { "email": "string", "name": { @@ -1837,6 +1846,7 @@ docs: Blobs }, "EmailsSendResponse": { "docs": "Successfully sent email", + "inline": undefined, "properties": { "message": "string", }, @@ -1848,6 +1858,7 @@ docs: Blobs "discriminated": false, "docs": "A reply-to list of email addresses", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -1872,6 +1883,7 @@ docs: Blobs email: string source: openapi: ../openapi.yml + inline: true EmailData: discriminated: false union: @@ -1880,6 +1892,7 @@ docs: Blobs docs: An email address and name source: openapi: ../openapi.yml + inline: true EmailDataInput: discriminated: false docs: A single email or list of emails for one of the address fields @@ -1889,6 +1902,7 @@ docs: Blobs - type: list source: openapi: ../openapi.yml + inline: true AttachmentObject: properties: content: string @@ -1901,6 +1915,7 @@ docs: Blobs type: optional source: openapi: ../openapi.yml + inline: true ReplyToList: discriminated: false docs: A reply-to list of email addresses @@ -1910,6 +1925,7 @@ docs: Blobs - type: list source: openapi: ../openapi.yml + inline: true EmailsSendResponse: docs: Successfully sent email properties: @@ -2290,6 +2306,7 @@ give access to details and data from the requesting user.", }, "MeCommentsResponse": { "docs": "A paginated result set", + "inline": undefined, "properties": { "data": "list", "links": "root.PaginationLinks", @@ -2300,11 +2317,9 @@ give access to details and data from the requesting user.", }, "MeCommentsResponseDataItem": { "docs": undefined, + "inline": true, "properties": { - "author": { - "inline": true, - "type": "MeCommentsResponseDataItemAuthor", - }, + "author": "MeCommentsResponseDataItemAuthor", "comment": { "docs": "Text of the given comment, in Markdown", "type": "string", @@ -2320,10 +2335,7 @@ give access to details and data from the requesting user.", "pattern": undefined, }, }, - "val": { - "inline": true, - "type": "MeCommentsResponseDataItemVal", - }, + "val": "MeCommentsResponseDataItemVal", }, "source": { "openapi": "../openapi.yml", @@ -2331,6 +2343,7 @@ give access to details and data from the requesting user.", }, "MeCommentsResponseDataItemAuthor": { "docs": undefined, + "inline": true, "properties": { "id": { "type": "string", @@ -2349,6 +2362,7 @@ give access to details and data from the requesting user.", }, "MeCommentsResponseDataItemVal": { "docs": undefined, + "inline": true, "properties": { "author": { "docs": "The user who created this val", @@ -2388,6 +2402,7 @@ give access to details and data from the requesting user.", }, "MeCommentsResponseDataItemValAuthor": { "docs": "The user who created this val", + "inline": true, "properties": { "id": { "type": "string", @@ -2417,6 +2432,7 @@ give access to details and data from the requesting user.", }, "MeGetResponse": { "docs": "Your user information, with tier and email included", + "inline": undefined, "properties": { "bio": { "docs": "The user’s biography, if they have provided one", @@ -2436,10 +2452,7 @@ give access to details and data from the requesting user.", "pattern": undefined, }, }, - "links": { - "inline": true, - "type": "MeGetResponseLinks", - }, + "links": "MeGetResponseLinks", "profileImageUrl": { "docs": "URL that points to the user’s profile image, if one exists", "type": "optional", @@ -2475,6 +2488,7 @@ give access to details and data from the requesting user.", }, "MeGetResponseLinks": { "docs": undefined, + "inline": true, "properties": { "self": { "docs": "URL of this user on this API", @@ -2503,6 +2517,7 @@ give access to details and data from the requesting user.", }, "MeLikesResponse": { "docs": "A paginated result set", + "inline": undefined, "properties": { "data": "list", "links": "root.PaginationLinks", @@ -2513,6 +2528,7 @@ give access to details and data from the requesting user.", }, "MeReferencesResponse": { "docs": "A paginated result set", + "inline": undefined, "properties": { "data": "list", "links": "root.PaginationLinks", @@ -2523,15 +2539,14 @@ give access to details and data from the requesting user.", }, "MeReferencesResponseDataItem": { "docs": "A description of a dependency from one val (reference) to another (dependsOn) that was introduced at a particular time.", + "inline": true, "properties": { "dependsOn": { "docs": "A val in a dependency relationship", - "inline": true, "type": "MeReferencesResponseDataItemDependsOn", }, "reference": { "docs": "A val in a dependency relationship", - "inline": true, "type": "MeReferencesResponseDataItemReference", }, "referencedAt": "datetime", @@ -2542,6 +2557,7 @@ give access to details and data from the requesting user.", }, "MeReferencesResponseDataItemDependsOn": { "docs": "A val in a dependency relationship", + "inline": true, "properties": { "author_id": { "docs": "The ID of the person who authored this val", @@ -2578,6 +2594,7 @@ give access to details and data from the requesting user.", }, "MeReferencesResponseDataItemReference": { "docs": "A val in a dependency relationship", + "inline": true, "properties": { "author_id": { "docs": "The ID of the person who authored this val", @@ -2624,6 +2641,7 @@ give access to details and data from the requesting user.", format: uri source: openapi: ../openapi.yml + inline: true MeGetResponseTier: enum: - free @@ -2657,9 +2675,7 @@ give access to details and data from the requesting user.", docs: URL of this user’s profile on Val Town’s website validation: format: uri - links: - type: MeGetResponseLinks - inline: true + links: MeGetResponseLinks tier: type: optional docs: Your account tier @@ -2692,6 +2708,7 @@ give access to details and data from the requesting user.", username: optional source: openapi: ../openapi.yml + inline: true MeCommentsResponseDataItemValPrivacy: enum: - public @@ -2712,6 +2729,7 @@ give access to details and data from the requesting user.", username: optional source: openapi: ../openapi.yml + inline: true MeCommentsResponseDataItemVal: properties: name: @@ -2735,6 +2753,7 @@ give access to details and data from the requesting user.", docs: The user who created this val source: openapi: ../openapi.yml + inline: true MeCommentsResponseDataItem: properties: comment: @@ -2746,14 +2765,11 @@ give access to details and data from the requesting user.", validation: format: uuid createdAt: datetime - author: - type: MeCommentsResponseDataItemAuthor - inline: true - val: - type: MeCommentsResponseDataItemVal - inline: true + author: MeCommentsResponseDataItemAuthor + val: MeCommentsResponseDataItemVal source: openapi: ../openapi.yml + inline: true MeCommentsResponse: docs: A paginated result set properties: @@ -2782,6 +2798,7 @@ give access to details and data from the requesting user.", docs: The name of this val source: openapi: ../openapi.yml + inline: true MeReferencesResponseDataItemDependsOn: docs: A val in a dependency relationship properties: @@ -2803,6 +2820,7 @@ give access to details and data from the requesting user.", docs: The name of this val source: openapi: ../openapi.yml + inline: true MeReferencesResponseDataItem: docs: >- A description of a dependency from one val (reference) to another @@ -2811,14 +2829,13 @@ give access to details and data from the requesting user.", reference: type: MeReferencesResponseDataItemReference docs: A val in a dependency relationship - inline: true dependsOn: type: MeReferencesResponseDataItemDependsOn docs: A val in a dependency relationship - inline: true referencedAt: datetime source: openapi: ../openapi.yml + inline: true MeReferencesResponse: docs: A paginated result set properties: @@ -3127,6 +3144,7 @@ imports: "types": { "SearchValsResponse": { "docs": "A paginated result set", + "inline": undefined, "properties": { "data": "list", "links": "root.PaginationLinks", @@ -3374,6 +3392,7 @@ docs: Search "types": { "ParameterizedQuery": { "docs": "A parameterized SQL query. See https://docs.turso.tech/sdk/ts/reference#batch-transactions for reference", + "inline": true, "properties": { "args": { "display-name": "StatementArg", @@ -3403,6 +3422,7 @@ docs: Search "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3421,6 +3441,7 @@ docs: Search "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3439,6 +3460,7 @@ docs: Search "discriminated": false, "docs": "List of arguments to be used in the given statement", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3451,6 +3473,7 @@ docs: Search "discriminated": false, "docs": "A value to be used as a parameter", "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -3472,6 +3495,7 @@ docs: Search - boolean source: openapi: ../openapi.yml + inline: true StatementArg: discriminated: false docs: List of arguments to be used in the given statement @@ -3480,6 +3504,7 @@ docs: Search - map> source: openapi: ../openapi.yml + inline: true ParameterizedQuery: docs: >- A parameterized SQL query. See @@ -3494,6 +3519,7 @@ docs: Search docs: List of arguments to be used in the given statement source: openapi: ../openapi.yml + inline: true SqliteExecuteRequestStatement: discriminated: false union: @@ -3506,6 +3532,7 @@ docs: Search reference source: openapi: ../openapi.yml + inline: true SqliteBatchRequestStatementsItem: discriminated: false union: @@ -3518,6 +3545,7 @@ docs: Search reference source: openapi: ../openapi.yml + inline: true SqliteBatchRequestMode: enum: - write @@ -3763,6 +3791,7 @@ docs: SQLite "types": { "UsersValsResponse": { "docs": "A paginated result set", + "inline": undefined, "properties": { "data": "list", "links": "root.PaginationLinks", @@ -4722,6 +4751,7 @@ let you get, create, and run vals.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -4737,6 +4767,7 @@ let you get, create, and run vals.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -4750,6 +4781,7 @@ let you get, create, and run vals.", }, "ValsCancelResponse": { "docs": "The evaluation_id was successfully searched for and the evaluation was either already done or now has been cancelled", + "inline": undefined, "properties": { "found": { "docs": "True if the evaluation was found and cancelled", @@ -4808,6 +4840,7 @@ let you get, create, and run vals.", }, "ValsListResponse": { "docs": "A paginated result set", + "inline": undefined, "properties": { "data": "list", "links": "root.PaginationLinks", @@ -4818,6 +4851,7 @@ let you get, create, and run vals.", }, "ValsListResponseDataItem": { "docs": undefined, + "inline": true, "properties": { "createdAt": "datetime", "val_id": { @@ -4947,6 +4981,7 @@ let you get, create, and run vals.", createdAt: datetime source: openapi: ../openapi.yml + inline: true ValsListResponse: docs: A paginated result set properties: diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/vellum.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/vellum.json index cb3643c0f57..cd87a10eac3 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/vellum.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/vellum.json @@ -579,6 +579,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "ChatMessage": { "docs": undefined, + "inline": undefined, "properties": { "role": "ChatMessageRole", "text": "string", @@ -589,6 +590,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "ChatMessageRequest": { "docs": undefined, + "inline": undefined, "properties": { "role": "ChatMessageRole", "text": "string", @@ -614,6 +616,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "ConditionalNodeResult": { "docs": undefined, + "inline": undefined, "properties": { "data": "ConditionalNodeResultData", }, @@ -623,6 +626,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "ConditionalNodeResultData": { "docs": undefined, + "inline": undefined, "properties": { "source_handle_id": "optional", }, @@ -643,6 +647,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "DeploymentNodeResult": { "docs": undefined, + "inline": undefined, "properties": { "data": "DeploymentNodeResultData", }, @@ -652,6 +657,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "DeploymentNodeResultData": { "docs": undefined, + "inline": undefined, "properties": { "delta": "optional", "output_id": "string", @@ -663,6 +669,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "DeploymentRead": { "docs": undefined, + "inline": undefined, "properties": { "active_model_version_ids": "list", "created": "datetime", @@ -739,6 +746,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "Document": { "docs": undefined, + "inline": undefined, "properties": { "external_id": { "docs": "The unique ID of the document as represented in an external system and specified when it was originally uploaded.", @@ -777,6 +785,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "DocumentDocumentToDocumentIndex": { "docs": undefined, + "inline": undefined, "properties": { "document_index_id": { "docs": "Vellum-generated ID that uniquely identifies the index this document is included in.", @@ -815,6 +824,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "DocumentIndexRead": { "docs": undefined, + "inline": undefined, "properties": { "created": "datetime", "environment": { @@ -883,6 +893,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "EnrichedNormalizedCompletion": { "docs": undefined, + "inline": undefined, "properties": { "external_id": { "docs": "The external ID that was originally provided along with the generation request, which uniquely identifies this generation in an external system.", @@ -939,6 +950,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "EvaluationParams": { "docs": undefined, + "inline": undefined, "properties": { "target": { "docs": "The target value to compare the LLM output against. Typically what you expect or desire the LLM output to be.", @@ -951,6 +963,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "EvaluationParamsRequest": { "docs": undefined, + "inline": undefined, "properties": { "target": { "docs": "The target value to compare the LLM output against. Typically what you expect or desire the LLM output to be.", @@ -976,6 +989,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "GenerateErrorResponse": { "docs": undefined, + "inline": undefined, "properties": { "detail": { "docs": "Details about why the request failed.", @@ -988,6 +1002,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "GenerateOptionsRequest": { "docs": undefined, + "inline": undefined, "properties": { "logprobs": { "docs": "Which logprobs to include, if any. Defaults to NONE. @@ -1003,6 +1018,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "GenerateRequest": { "docs": undefined, + "inline": undefined, "properties": { "chat_history": { "docs": "Optionally provide a list of chat messages that'll be used in place of the special {$chat_history} variable, if included in the prompt.", @@ -1023,6 +1039,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "GenerateResponse": { "docs": undefined, + "inline": undefined, "properties": { "results": { "docs": "The results of each generation request.", @@ -1035,6 +1052,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "GenerateResult": { "docs": undefined, + "inline": undefined, "properties": { "data": { "docs": "An object containing the resulting generation. This key will be absent if the LLM provider experienced an error.", @@ -1051,6 +1069,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "GenerateResultData": { "docs": undefined, + "inline": undefined, "properties": { "completions": { "docs": "The generated completions. This will generally be a list of length one.", @@ -1063,6 +1082,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "GenerateResultError": { "docs": undefined, + "inline": undefined, "properties": { "message": { "docs": "The error message returned by the LLM provider.", @@ -1075,6 +1095,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "GenerateStreamResponse": { "docs": undefined, + "inline": undefined, "properties": { "delta": "GenerateStreamResult", }, @@ -1084,6 +1105,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "GenerateStreamResult": { "docs": undefined, + "inline": undefined, "properties": { "data": "optional", "error": "optional", @@ -1095,6 +1117,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "GenerateStreamResultData": { "docs": undefined, + "inline": undefined, "properties": { "completion": "EnrichedNormalizedCompletion", "completion_index": "integer", @@ -1144,6 +1167,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "ModelVersionBuildConfig": { "docs": undefined, + "inline": undefined, "properties": { "base_model": { "docs": "The name of the base model used to create this model version, as identified by the LLM provider.", @@ -1160,6 +1184,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "ModelVersionCompilePromptResponse": { "docs": undefined, + "inline": undefined, "properties": { "prompt": { "docs": "Information about the compiled prompt.", @@ -1172,6 +1197,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "ModelVersionCompiledPrompt": { "docs": undefined, + "inline": undefined, "properties": { "num_tokens": { "docs": "The approximate number of tokens used by the compiled prompt.", @@ -1195,6 +1221,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "ModelVersionExecConfig": { "docs": undefined, + "inline": undefined, "properties": { "input_variables": { "docs": "Names of the input variables specified in the prompt template.", @@ -1217,6 +1244,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "ModelVersionExecConfigParameters": { "docs": undefined, + "inline": undefined, "properties": { "frequency_penalty": "double", "logit_bias": "optional>>", @@ -1233,6 +1261,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "ModelVersionRead": { "docs": undefined, + "inline": undefined, "properties": { "build_config": { "docs": "Configuration used to build this model version.", @@ -1319,6 +1348,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "ModelVersionSandboxSnapshot": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The ID of the sandbox snapshot.", @@ -1347,6 +1377,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "NormalizedLogProbs": { "docs": undefined, + "inline": undefined, "properties": { "likelihood": "optional", "tokens": "list", @@ -1357,6 +1388,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "NormalizedTokenLogProbs": { "docs": undefined, + "inline": undefined, "properties": { "logprob": "optional", "text_offset": "integer", @@ -1369,6 +1401,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "PaginatedSlimDocumentList": { "docs": undefined, + "inline": undefined, "properties": { "count": "optional", "next": { @@ -1416,6 +1449,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "PromptNodeResult": { "docs": undefined, + "inline": undefined, "properties": { "data": "PromptNodeResultData", }, @@ -1425,6 +1459,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "PromptNodeResultData": { "docs": undefined, + "inline": undefined, "properties": { "delta": "optional", "output_id": "string", @@ -1436,6 +1471,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "PromptTemplateBlock": { "docs": undefined, + "inline": undefined, "properties": { "block_type": "BlockTypeEnum", "id": "string", @@ -1447,6 +1483,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "PromptTemplateBlockData": { "docs": undefined, + "inline": undefined, "properties": { "blocks": "list", "version": "integer", @@ -1457,6 +1494,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "PromptTemplateBlockDataRequest": { "docs": undefined, + "inline": undefined, "properties": { "blocks": "list", "version": "integer", @@ -1467,6 +1505,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "PromptTemplateBlockProperties": { "docs": undefined, + "inline": undefined, "properties": { "blocks": "optional>", "chat_message_unterminated": { @@ -1486,6 +1525,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "PromptTemplateBlockPropertiesRequest": { "docs": undefined, + "inline": undefined, "properties": { "blocks": "optional>", "chat_message_unterminated": { @@ -1521,6 +1561,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "PromptTemplateBlockRequest": { "docs": undefined, + "inline": undefined, "properties": { "block_type": "BlockTypeEnum", "id": { @@ -1540,6 +1581,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "PromptTemplateInputVariable": { "docs": undefined, + "inline": undefined, "properties": { "key": { "docs": "The name of the input variable.", @@ -1552,6 +1594,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "PromptTemplateInputVariableRequest": { "docs": undefined, + "inline": undefined, "properties": { "key": { "docs": "The name of the input variable.", @@ -1593,6 +1636,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "RegisterPromptErrorResponse": { "docs": undefined, + "inline": undefined, "properties": { "detail": { "docs": "Details about why the request failed.", @@ -1605,6 +1649,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "RegisterPromptModelParametersRequest": { "docs": undefined, + "inline": undefined, "properties": { "frequency_penalty": "double", "logit_bias": "optional>>", @@ -1621,6 +1666,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "RegisterPromptPrompt": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The ID of the generated prompt.", @@ -1637,6 +1683,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "RegisterPromptPromptInfoRequest": { "docs": undefined, + "inline": undefined, "properties": { "input_variables": { "docs": "Names of the input variables specified in the prompt template.", @@ -1654,6 +1701,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "RegisterPromptResponse": { "docs": undefined, + "inline": undefined, "properties": { "deployment": { "docs": "Information about the generated deployment", @@ -1682,6 +1730,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "RegisteredPromptDeployment": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The ID of the generated deployment.", @@ -1702,6 +1751,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "RegisteredPromptModelVersion": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The ID of the generated model version.", @@ -1718,6 +1768,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "RegisteredPromptSandbox": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The ID of the generated sandbox.", @@ -1734,6 +1785,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "RegisteredPromptSandboxSnapshot": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The ID of the generated sandbox snapshot.", @@ -1746,6 +1798,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "SandboxMetricInputParams": { "docs": undefined, + "inline": undefined, "properties": { "params": "optional", }, @@ -1755,6 +1808,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "SandboxMetricInputParamsRequest": { "docs": undefined, + "inline": undefined, "properties": { "params": "optional", }, @@ -1764,6 +1818,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "SandboxNodeResult": { "docs": undefined, + "inline": undefined, "properties": { "data": "SandboxNodeResultData", }, @@ -1773,6 +1828,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "SandboxNodeResultData": { "docs": undefined, + "inline": undefined, "properties": { "delta": "optional", "output_id": "string", @@ -1784,6 +1840,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "SandboxScenario": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The id of the scenario", @@ -1805,6 +1862,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "ScenarioInput": { "docs": undefined, + "inline": undefined, "properties": { "chat_history": "optional>", "key": "string", @@ -1817,6 +1875,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "ScenarioInputRequest": { "docs": undefined, + "inline": undefined, "properties": { "chat_history": "optional>", "key": { @@ -1848,6 +1907,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "SearchErrorResponse": { "docs": undefined, + "inline": undefined, "properties": { "detail": { "docs": "Details about why the request failed.", @@ -1860,6 +1920,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "SearchFiltersRequest": { "docs": undefined, + "inline": undefined, "properties": { "external_ids": { "docs": "The document external IDs to filter by", @@ -1872,6 +1933,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "SearchNodeResult": { "docs": undefined, + "inline": undefined, "properties": { "data": "SearchNodeResultData", }, @@ -1881,6 +1943,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "SearchNodeResultData": { "docs": undefined, + "inline": undefined, "properties": { "results": "list>", "results_output_id": "string", @@ -1893,6 +1956,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "SearchRequestOptionsRequest": { "docs": undefined, + "inline": undefined, "properties": { "filters": { "docs": "The filters to apply to the search.", @@ -1917,6 +1981,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "SearchResponse": { "docs": undefined, + "inline": undefined, "properties": { "results": { "docs": "The results of the search. Each result represents a chunk that matches the search query.", @@ -1929,6 +1994,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "SearchResult": { "docs": undefined, + "inline": undefined, "properties": { "document": { "docs": "The document that contains the chunk that matched the search query.", @@ -1950,6 +2016,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "SearchResultMergingRequest": { "docs": undefined, + "inline": undefined, "properties": { "enabled": { "docs": "Whether to enable merging results", @@ -1962,6 +2029,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "SearchWeightsRequest": { "docs": undefined, + "inline": undefined, "properties": { "keywords": { "docs": "The relative weight to give to keyword matches", @@ -1978,6 +2046,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "SlimDocument": { "docs": undefined, + "inline": undefined, "properties": { "document_to_document_indexes": "list", "external_id": { @@ -2050,6 +2119,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "SubmitCompletionActualRequest": { "docs": undefined, + "inline": undefined, "properties": { "external_id": { "docs": "The external ID that was originally provided when generating the completion that you'd now like to submit actuals for. Must provide either this or id.", @@ -2097,6 +2167,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "SubmitCompletionActualsErrorResponse": { "docs": undefined, + "inline": undefined, "properties": { "detail": "string", }, @@ -2106,6 +2177,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "TerminalNodeChatHistoryResult": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "The unique name given to the terminal node that produced this output.", @@ -2119,6 +2191,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "TerminalNodeJsonResult": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "The unique name given to the terminal node that produced this output.", @@ -2132,6 +2205,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "TerminalNodeResult": { "docs": undefined, + "inline": undefined, "properties": { "data": "TerminalNodeResultData", }, @@ -2141,6 +2215,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "TerminalNodeResultData": { "docs": undefined, + "inline": undefined, "properties": { "output": "TerminalNodeResultOutput", }, @@ -2165,6 +2240,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "TerminalNodeStringResult": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "The unique name given to the terminal node that produced this output.", @@ -2178,6 +2254,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "TestSuiteTestCase": { "docs": undefined, + "inline": undefined, "properties": { "evaluation_params": { "docs": "Parameters to use when evaluating the test case, specific to the test suite's evaluation metric.", @@ -2202,6 +2279,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "UploadDocumentErrorResponse": { "docs": undefined, + "inline": undefined, "properties": { "detail": "string", }, @@ -2211,6 +2289,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "UploadDocumentResponse": { "docs": undefined, + "inline": undefined, "properties": { "document_id": { "docs": "The ID of the newly created document.", @@ -2229,6 +2308,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "WorkflowEventError": { "docs": undefined, + "inline": undefined, "properties": { "code": "WorkflowExecutionEventErrorCode", "message": "string", @@ -2250,6 +2330,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "WorkflowExecutionNodeResultEvent": { "docs": undefined, + "inline": undefined, "properties": { "data": "WorkflowNodeResultEvent", "external_id": "optional", @@ -2261,6 +2342,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "WorkflowExecutionWorkflowResultEvent": { "docs": undefined, + "inline": undefined, "properties": { "data": "WorkflowResultEvent", "external_id": "optional", @@ -2290,6 +2372,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "WorkflowNodeResultEvent": { "docs": undefined, + "inline": undefined, "properties": { "data": "optional", "error": "optional", @@ -2320,6 +2403,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "WorkflowRequestChatHistoryInputRequest": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "The variable's name, as defined in the Workflow.", @@ -2354,6 +2438,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "WorkflowRequestJsonInputRequest": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "The variable's name, as defined in the Workflow.", @@ -2373,6 +2458,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "WorkflowRequestStringInputRequest": { "docs": undefined, + "inline": undefined, "properties": { "name": { "docs": "The variable's name, as defined in the Workflow.", @@ -2392,6 +2478,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "WorkflowResultEvent": { "docs": undefined, + "inline": undefined, "properties": { "error": "optional", "id": "string", @@ -2420,6 +2507,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "WorkflowResultEventOutputDataChatHistory": { "docs": undefined, + "inline": undefined, "properties": { "delta": { "docs": "The newly output string value. Only relevant for string outputs with a state of STREAMING.", @@ -2436,6 +2524,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "WorkflowResultEventOutputDataJson": { "docs": undefined, + "inline": undefined, "properties": { "delta": { "docs": "The newly output string value. Only relevant for string outputs with a state of STREAMING.", @@ -2452,6 +2541,7 @@ Used to submit feedback regarding the quality of previously generated completion }, "WorkflowResultEventOutputDataString": { "docs": undefined, + "inline": undefined, "properties": { "delta": { "docs": "The newly output string value, meant to be concatenated with all previous. Will be non-null for events of state STREAMING.", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/webflow.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/webflow.json index 7eff5befa47..c36b8b86be8 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/webflow.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/webflow.json @@ -89,6 +89,7 @@ "types": { "ConflictErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": { "docs": "Error code", @@ -115,6 +116,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -125,6 +127,7 @@ }, "ConflictErrorBodyOne": { "docs": undefined, + "inline": true, "properties": { "code": { "docs": "Error code", @@ -151,6 +154,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -161,6 +165,7 @@ }, "ConflictErrorBodyZero": { "docs": undefined, + "inline": true, "properties": { "code": { "docs": "Error code", @@ -187,6 +192,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -197,6 +203,7 @@ }, "ForbiddenErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "details": "optional>", "externalReference": "optional", @@ -210,6 +217,7 @@ }, "ForbiddenErrorBodyOne": { "docs": undefined, + "inline": true, "properties": { "code": { "docs": "Error code", @@ -236,6 +244,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -246,6 +255,7 @@ }, "ForbiddenErrorBodyZero": { "docs": undefined, + "inline": true, "properties": { "code": { "docs": "Error code", @@ -272,6 +282,7 @@ "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -404,6 +415,7 @@ }, "TooManyRequestsErrorBody": { "docs": undefined, + "inline": undefined, "properties": { "code": "optional", "details": "optional>", @@ -514,6 +526,7 @@ - map source: openapi: ../openapi.yml + inline: true ForbiddenErrorBodyZero: properties: code: @@ -530,6 +543,7 @@ docs: Array of errors source: openapi: ../openapi.yml + inline: true ForbiddenErrorBodyOneDetailsItem: discriminated: false union: @@ -537,6 +551,7 @@ - map source: openapi: ../openapi.yml + inline: true ForbiddenErrorBodyOne: properties: code: @@ -553,6 +568,7 @@ docs: Array of errors source: openapi: ../openapi.yml + inline: true ConflictErrorBodyZeroDetailsItem: discriminated: false union: @@ -560,6 +576,7 @@ - map source: openapi: ../openapi.yml + inline: true ConflictErrorBodyZero: properties: code: @@ -576,6 +593,7 @@ docs: Array of errors source: openapi: ../openapi.yml + inline: true ConflictErrorBodyOneDetailsItem: discriminated: false union: @@ -583,6 +601,7 @@ - map source: openapi: ../openapi.yml + inline: true ConflictErrorBodyOne: properties: code: @@ -599,6 +618,7 @@ docs: Array of errors source: openapi: ../openapi.yml + inline: true ConflictErrorBody: properties: code: @@ -622,6 +642,7 @@ - map source: openapi: ../openapi.yml + inline: true errors: UnauthorizedError: status-code: 401 @@ -787,6 +808,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "AccessGroupsListResponse": { "docs": "The list access groups results", + "inline": undefined, "properties": { "accessGroups": { "docs": "List of Site Access Groups", @@ -817,6 +839,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "AccessGroupsListResponseAccessGroupsItem": { "docs": undefined, + "inline": true, "properties": { "createdOn": { "docs": "The date the Access Group was created", @@ -879,6 +902,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) docs: The date the Access Group was created source: openapi: ../openapi.yml + inline: true AccessGroupsListResponse: docs: The list access groups results properties: @@ -1492,6 +1516,7 @@ service: "types": { "AssetsCreateFolderResponse": { "docs": "Asset Folder details", + "inline": undefined, "properties": { "assets": { "docs": "Array of Asset instances in the folder", @@ -1528,6 +1553,7 @@ service: }, "AssetsCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "assetUrl": { "docs": "S3 link to the asset", @@ -1569,7 +1595,6 @@ service: }, "uploadDetails": { "docs": "Metadata for uploading the asset binary", - "inline": true, "type": "optional", }, "uploadUrl": { @@ -1588,6 +1613,7 @@ service: }, "AssetsCreateResponseUploadDetails": { "docs": "Metadata for uploading the asset binary", + "inline": true, "properties": { "Cache-Control": "optional", "Policy": "optional", @@ -1607,6 +1633,7 @@ service: }, "AssetsGetFolderResponse": { "docs": "Asset Folder details", + "inline": undefined, "properties": { "assets": { "docs": "Array of Asset instances in the folder", @@ -1643,6 +1670,7 @@ service: }, "AssetsGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "altText": { "docs": "The visual description of the asset", @@ -1698,6 +1726,7 @@ service: }, "AssetsGetResponseVariantsItem": { "docs": undefined, + "inline": true, "properties": { "displayName": { "docs": "Display name of the variant", @@ -1744,6 +1773,7 @@ service: }, "AssetsListFoldersResponse": { "docs": "The Asset Folders object", + "inline": undefined, "properties": { "assetFolders": { "docs": "A list of Asset folders", @@ -1751,7 +1781,6 @@ service: }, "pagination": { "docs": "Pagination object", - "inline": true, "type": "optional", }, }, @@ -1761,6 +1790,7 @@ service: }, "AssetsListFoldersResponseAssetFoldersItem": { "docs": "Asset Folder details", + "inline": true, "properties": { "assets": { "docs": "Array of Asset instances in the folder", @@ -1797,6 +1827,7 @@ service: }, "AssetsListFoldersResponsePagination": { "docs": "Pagination object", + "inline": true, "properties": { "limit": { "docs": "The limit used for pagination", @@ -1817,6 +1848,7 @@ service: }, "AssetsListResponse": { "docs": "A list of assets", + "inline": undefined, "properties": { "assets": "optional>", }, @@ -1826,6 +1858,7 @@ service: }, "AssetsListResponseAssetsItem": { "docs": undefined, + "inline": true, "properties": { "altText": { "docs": "The visual description of the asset", @@ -1881,6 +1914,7 @@ service: }, "AssetsListResponseAssetsItemVariantsItem": { "docs": undefined, + "inline": true, "properties": { "displayName": { "docs": "Display name of the variant", @@ -1927,6 +1961,7 @@ service: }, "AssetsUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "altText": { "docs": "The visual description of the asset", @@ -1982,6 +2017,7 @@ service: }, "AssetsUpdateResponseVariantsItem": { "docs": undefined, + "inline": true, "properties": { "displayName": { "docs": "Display name of the variant", @@ -2059,6 +2095,7 @@ service: docs: Any associated validation errors source: openapi: ../openapi.yml + inline: true AssetsListResponseAssetsItem: properties: id: @@ -2096,6 +2133,7 @@ service: docs: The visual description of the asset source: openapi: ../openapi.yml + inline: true AssetsListResponse: docs: A list of assets properties: @@ -2118,12 +2156,12 @@ service: Cache-Control: optional source: openapi: ../openapi.yml + inline: true AssetsCreateResponse: properties: uploadDetails: type: optional docs: Metadata for uploading the asset binary - inline: true contentType: optional id: optional parentFolder: @@ -2186,6 +2224,7 @@ service: docs: Any associated validation errors source: openapi: ../openapi.yml + inline: true AssetsGetResponse: properties: id: @@ -2253,6 +2292,7 @@ service: docs: Any associated validation errors source: openapi: ../openapi.yml + inline: true AssetsUpdateResponse: properties: id: @@ -2316,6 +2356,7 @@ service: docs: Date that the Asset Folder was last updated on source: openapi: ../openapi.yml + inline: true AssetsListFoldersResponsePagination: docs: Pagination object properties: @@ -2330,6 +2371,7 @@ service: docs: The total number of records source: openapi: ../openapi.yml + inline: true AssetsListFoldersResponse: docs: The Asset Folders object properties: @@ -2339,7 +2381,6 @@ service: pagination: type: optional docs: Pagination object - inline: true source: openapi: ../openapi.yml AssetsCreateFolderResponse: @@ -3072,6 +3113,7 @@ service: "types": { "CollectionsCreateResponse": { "docs": "A collection object", + "inline": undefined, "properties": { "createdOn": { "docs": "The date the collection was created", @@ -3108,6 +3150,7 @@ service: }, "CollectionsCreateResponseFieldsItem": { "docs": "The details of a field in a collection", + "inline": true, "properties": { "displayName": { "docs": "The name of a field", @@ -3165,6 +3208,7 @@ service: }, "CollectionsGetResponse": { "docs": "A collection object", + "inline": undefined, "properties": { "createdOn": { "docs": "The date the collection was created", @@ -3201,6 +3245,7 @@ service: }, "CollectionsGetResponseFieldsItem": { "docs": "The details of a field in a collection", + "inline": true, "properties": { "displayName": { "docs": "The name of a field", @@ -3258,6 +3303,7 @@ service: }, "CollectionsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "collections": { "docs": "An array of Collections", @@ -3270,6 +3316,7 @@ service: }, "CollectionsListResponseCollectionsItem": { "docs": "A collection object", + "inline": true, "properties": { "createdOn": { "docs": "The date the collection was created", @@ -3328,6 +3375,7 @@ service: docs: The date the collection was last updated source: openapi: ../openapi.yml + inline: true CollectionsListResponse: properties: collections: @@ -3381,6 +3429,7 @@ service: docs: Additional text to help anyone filling out this field source: openapi: ../openapi.yml + inline: true CollectionsCreateResponse: docs: A collection object properties: @@ -3455,6 +3504,7 @@ service: docs: Additional text to help anyone filling out this field source: openapi: ../openapi.yml + inline: true CollectionsGetResponse: docs: A collection object properties: @@ -3889,6 +3939,7 @@ service: }, "FieldsCreateResponse": { "docs": "The details of a field in a collection", + "inline": undefined, "properties": { "displayName": { "docs": "The name of a field", @@ -3946,6 +3997,7 @@ service: }, "FieldsUpdateResponse": { "docs": "The details of a field in a collection", + "inline": undefined, "properties": { "displayName": { "docs": "The name of a field", @@ -5224,6 +5276,7 @@ service: "ItemsCreateItemForMultipleLocalesRequestFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -5241,6 +5294,7 @@ service: "ItemsCreateItemForMultipleLocalesResponse": { "docs": "The fields that define the schema for a given Item are based on the Collection that Item belongs to. Beyond the user defined fields, there are a handful of additional fields that are automatically created for all items ", + "inline": undefined, "properties": { "cmsLocaleIds": { "docs": "Array of identifiers for the locales where the item will be created", @@ -5281,6 +5335,7 @@ service: "ItemsCreateItemForMultipleLocalesResponseFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -5298,6 +5353,7 @@ service: "ItemsCreateItemLiveRequestFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -5315,6 +5371,7 @@ service: "ItemsCreateItemLiveResponse": { "docs": "The fields that define the schema for a given Item are based on the Collection that Item belongs to. Beyond the user defined fields, there are a handful of additional fields that are automatically created for all items ", + "inline": undefined, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -5355,6 +5412,7 @@ service: "ItemsCreateItemLiveResponseFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -5372,6 +5430,7 @@ service: "ItemsCreateItemRequestFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -5389,6 +5448,7 @@ service: "ItemsCreateItemResponse": { "docs": "The fields that define the schema for a given Item are based on the Collection that Item belongs to. Beyond the user defined fields, there are a handful of additional fields that are automatically created for all items ", + "inline": undefined, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -5429,6 +5489,7 @@ service: "ItemsCreateItemResponseFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -5446,6 +5507,7 @@ service: "ItemsGetItemLiveResponse": { "docs": "The fields that define the schema for a given Item are based on the Collection that Item belongs to. Beyond the user defined fields, there are a handful of additional fields that are automatically created for all items ", + "inline": undefined, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -5486,6 +5548,7 @@ service: "ItemsGetItemLiveResponseFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -5503,6 +5566,7 @@ service: "ItemsGetItemResponse": { "docs": "The fields that define the schema for a given Item are based on the Collection that Item belongs to. Beyond the user defined fields, there are a handful of additional fields that are automatically created for all items ", + "inline": undefined, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -5543,6 +5607,7 @@ service: "ItemsGetItemResponseFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -5578,15 +5643,13 @@ service: }, "ItemsListItemsLiveResponse": { "docs": "Results from collection items list", + "inline": undefined, "properties": { "items": { "docs": "List of Items within the collection", "type": "optional>", }, - "pagination": { - "inline": true, - "type": "optional", - }, + "pagination": "optional", }, "source": { "openapi": "../openapi.yml", @@ -5595,6 +5658,7 @@ service: "ItemsListItemsLiveResponseItemsItem": { "docs": "The fields that define the schema for a given Item are based on the Collection that Item belongs to. Beyond the user defined fields, there are a handful of additional fields that are automatically created for all items ", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -5635,6 +5699,7 @@ service: "ItemsListItemsLiveResponseItemsItemFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -5651,6 +5716,7 @@ service: }, "ItemsListItemsLiveResponsePagination": { "docs": undefined, + "inline": true, "properties": { "limit": { "default": 100, @@ -5692,15 +5758,13 @@ service: }, "ItemsListItemsResponse": { "docs": "Results from collection items list", + "inline": undefined, "properties": { "items": { "docs": "List of Items within the collection", "type": "optional>", }, - "pagination": { - "inline": true, - "type": "optional", - }, + "pagination": "optional", }, "source": { "openapi": "../openapi.yml", @@ -5709,6 +5773,7 @@ service: "ItemsListItemsResponseItemsItem": { "docs": "The fields that define the schema for a given Item are based on the Collection that Item belongs to. Beyond the user defined fields, there are a handful of additional fields that are automatically created for all items ", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -5749,6 +5814,7 @@ service: "ItemsListItemsResponseItemsItemFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -5765,6 +5831,7 @@ service: }, "ItemsListItemsResponsePagination": { "docs": undefined, + "inline": true, "properties": { "limit": { "default": 100, @@ -5787,6 +5854,7 @@ service: }, "ItemsPublishItemResponse": { "docs": undefined, + "inline": undefined, "properties": { "errors": "optional>", "publishedItemIds": "optional>", @@ -5798,6 +5866,7 @@ service: "ItemsUpdateItemLiveRequestFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -5815,6 +5884,7 @@ service: "ItemsUpdateItemLiveResponse": { "docs": "The fields that define the schema for a given Item are based on the Collection that Item belongs to. Beyond the user defined fields, there are a handful of additional fields that are automatically created for all items ", + "inline": undefined, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -5855,6 +5925,7 @@ service: "ItemsUpdateItemLiveResponseFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -5872,6 +5943,7 @@ service: "ItemsUpdateItemRequestFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -5889,6 +5961,7 @@ service: "ItemsUpdateItemResponse": { "docs": "The fields that define the schema for a given Item are based on the Collection that Item belongs to. Beyond the user defined fields, there are a handful of additional fields that are automatically created for all items ", + "inline": undefined, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -5929,6 +6002,7 @@ service: "ItemsUpdateItemResponseFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -5972,6 +6046,7 @@ service: extra-properties: true source: openapi: ../openapi.yml + inline: true ItemsListItemsResponseItemsItem: docs: > The fields that define the schema for a given Item are based on the @@ -6005,6 +6080,7 @@ service: fieldData: optional source: openapi: ../openapi.yml + inline: true ItemsListItemsResponsePagination: properties: limit: @@ -6020,15 +6096,14 @@ service: docs: Total number of items in the collection source: openapi: ../openapi.yml + inline: true ItemsListItemsResponse: docs: Results from collection items list properties: items: type: optional> docs: List of Items within the collection - pagination: - type: optional - inline: true + pagination: optional source: openapi: ../openapi.yml ItemsCreateItemRequestFieldData: @@ -6044,6 +6119,7 @@ service: extra-properties: true source: openapi: ../openapi.yml + inline: true ItemsCreateItemResponseFieldData: properties: name: @@ -6057,6 +6133,7 @@ service: extra-properties: true source: openapi: ../openapi.yml + inline: true ItemsCreateItemResponse: docs: > The fields that define the schema for a given Item are based on the @@ -6116,6 +6193,7 @@ service: extra-properties: true source: openapi: ../openapi.yml + inline: true ItemsListItemsLiveResponseItemsItem: docs: > The fields that define the schema for a given Item are based on the @@ -6149,6 +6227,7 @@ service: fieldData: optional source: openapi: ../openapi.yml + inline: true ItemsListItemsLiveResponsePagination: properties: limit: @@ -6164,15 +6243,14 @@ service: docs: Total number of items in the collection source: openapi: ../openapi.yml + inline: true ItemsListItemsLiveResponse: docs: Results from collection items list properties: items: type: optional> docs: List of Items within the collection - pagination: - type: optional - inline: true + pagination: optional source: openapi: ../openapi.yml ItemsCreateItemLiveRequestFieldData: @@ -6188,6 +6266,7 @@ service: extra-properties: true source: openapi: ../openapi.yml + inline: true ItemsCreateItemLiveResponseFieldData: properties: name: @@ -6201,6 +6280,7 @@ service: extra-properties: true source: openapi: ../openapi.yml + inline: true ItemsCreateItemLiveResponse: docs: > The fields that define the schema for a given Item are based on the @@ -6247,6 +6327,7 @@ service: extra-properties: true source: openapi: ../openapi.yml + inline: true ItemsCreateItemForMultipleLocalesResponseFieldData: properties: name: @@ -6260,6 +6341,7 @@ service: extra-properties: true source: openapi: ../openapi.yml + inline: true ItemsCreateItemForMultipleLocalesResponse: docs: > The fields that define the schema for a given Item are based on the @@ -6306,6 +6388,7 @@ service: extra-properties: true source: openapi: ../openapi.yml + inline: true ItemsGetItemResponse: docs: > The fields that define the schema for a given Item are based on the @@ -6352,6 +6435,7 @@ service: extra-properties: true source: openapi: ../openapi.yml + inline: true ItemsUpdateItemResponseFieldData: properties: name: @@ -6365,6 +6449,7 @@ service: extra-properties: true source: openapi: ../openapi.yml + inline: true ItemsUpdateItemResponse: docs: > The fields that define the schema for a given Item are based on the @@ -6411,6 +6496,7 @@ service: extra-properties: true source: openapi: ../openapi.yml + inline: true ItemsGetItemLiveResponse: docs: > The fields that define the schema for a given Item are based on the @@ -6457,6 +6543,7 @@ service: extra-properties: true source: openapi: ../openapi.yml + inline: true ItemsUpdateItemLiveResponseFieldData: properties: name: @@ -6470,6 +6557,7 @@ service: extra-properties: true source: openapi: ../openapi.yml + inline: true ItemsUpdateItemLiveResponse: docs: > The fields that define the schema for a given Item are based on the @@ -7328,6 +7416,7 @@ Required scope | `ecommerce:read` "types": { "EcommerceGetSettingsResponse": { "docs": "Ecommerce settings for a Webflow Site", + "inline": undefined, "properties": { "createdOn": { "docs": "Date that the Site was created on", @@ -7804,10 +7893,10 @@ service: "types": { "FormSubmissionPayload": { "docs": "The Webhook payload for when a form is submitted", + "inline": undefined, "properties": { "payload": { "docs": "The payload of data sent from Webflow", - "inline": true, "type": "optional", }, "triggerType": { @@ -7821,6 +7910,7 @@ service: }, "FormSubmissionPayloadPayload": { "docs": "The payload of data sent from Webflow", + "inline": true, "properties": { "data": { "docs": "The data submitted in the form", @@ -7861,6 +7951,7 @@ service: }, "FormsGetResponse": { "docs": "A form and its corresponding metadata", + "inline": undefined, "properties": { "createdOn": { "docs": "Date that the Form was created on", @@ -7896,7 +7987,6 @@ service: }, "responseSettings": { "docs": "Settings for form responses", - "inline": true, "type": "optional", }, "siteDomainId": { @@ -7918,6 +8008,7 @@ service: }, "FormsGetResponseFieldsValue": { "docs": "An object containing field info for a specific fieldID.", + "inline": true, "properties": { "displayName": { "docs": "The field name displayed on the site", @@ -7955,6 +8046,7 @@ service: }, "FormsGetResponseResponseSettings": { "docs": "Settings for form responses", + "inline": true, "properties": { "redirectAction": { "docs": "The action to take after form submission", @@ -7979,6 +8071,7 @@ service: }, "FormsGetSubmissionResponse": { "docs": "A form submission", + "inline": undefined, "properties": { "dateSubmitted": { "docs": "Date that the Form was submitted on", @@ -8011,11 +8104,11 @@ service: }, "FormsListResponse": { "docs": "A list of forms", + "inline": undefined, "properties": { "forms": "optional>", "pagination": { "docs": "Pagination object", - "inline": true, "type": "optional", }, }, @@ -8025,6 +8118,7 @@ service: }, "FormsListResponseFormsItem": { "docs": "A Webflow form", + "inline": true, "properties": { "createdOn": { "docs": "Date that the Form was created on", @@ -8060,7 +8154,6 @@ service: }, "responseSettings": { "docs": "Settings for form responses", - "inline": true, "type": "optional", }, "siteDomainId": { @@ -8082,6 +8175,7 @@ service: }, "FormsListResponseFormsItemFieldsValue": { "docs": "An object containing field info for a specific fieldID.", + "inline": true, "properties": { "displayName": { "docs": "The field name displayed on the site", @@ -8119,6 +8213,7 @@ service: }, "FormsListResponseFormsItemResponseSettings": { "docs": "Settings for form responses", + "inline": true, "properties": { "redirectAction": { "docs": "The action to take after form submission", @@ -8143,6 +8238,7 @@ service: }, "FormsListResponsePagination": { "docs": "Pagination object", + "inline": true, "properties": { "limit": { "docs": "The limit used for pagination", @@ -8163,11 +8259,11 @@ service: }, "FormsListSubmissionsResponse": { "docs": "A list of form submissions", + "inline": undefined, "properties": { "formSubmissions": "optional>", "pagination": { "docs": "Pagination object", - "inline": true, "type": "optional", }, }, @@ -8177,6 +8273,7 @@ service: }, "FormsListSubmissionsResponseFormSubmissionsItem": { "docs": undefined, + "inline": true, "properties": { "dateSubmitted": { "docs": "Date that the Form was submitted on", @@ -8209,6 +8306,7 @@ service: }, "FormsListSubmissionsResponsePagination": { "docs": "Pagination object", + "inline": true, "properties": { "limit": { "docs": "The limit used for pagination", @@ -8229,6 +8327,7 @@ service: }, "FormsUpdateSubmissionResponse": { "docs": "A form submission", + "inline": undefined, "properties": { "dateSubmitted": { "docs": "Date that the Form was submitted on", @@ -8346,6 +8445,7 @@ service: docs: Whether the field is visible to the user source: openapi: ../openapi.yml + inline: true FormsListResponseFormsItemResponseSettings: docs: Settings for form responses properties: @@ -8363,6 +8463,7 @@ service: docs: Whether to send an email confirmation to the user source: openapi: ../openapi.yml + inline: true FormsListResponseFormsItem: docs: A Webflow form properties: @@ -8381,7 +8482,6 @@ service: responseSettings: type: optional docs: Settings for form responses - inline: true id: type: optional docs: The unique id for the Form @@ -8405,6 +8505,7 @@ service: docs: The unique id of the Workspace the Site belongs to source: openapi: ../openapi.yml + inline: true FormsListResponsePagination: docs: Pagination object properties: @@ -8419,6 +8520,7 @@ service: docs: The total number of records source: openapi: ../openapi.yml + inline: true FormsListResponse: docs: A list of forms properties: @@ -8426,7 +8528,6 @@ service: pagination: type: optional docs: Pagination object - inline: true source: openapi: ../openapi.yml FormsGetResponseFieldsValueType: @@ -8456,6 +8557,7 @@ service: docs: Whether the field is visible to the user source: openapi: ../openapi.yml + inline: true FormsGetResponseResponseSettings: docs: Settings for form responses properties: @@ -8473,6 +8575,7 @@ service: docs: Whether to send an email confirmation to the user source: openapi: ../openapi.yml + inline: true FormsGetResponse: docs: A form and its corresponding metadata properties: @@ -8491,7 +8594,6 @@ service: responseSettings: type: optional docs: Settings for form responses - inline: true id: type: optional docs: The unique id for the Form @@ -8537,6 +8639,7 @@ service: docs: The data submitted in the Form source: openapi: ../openapi.yml + inline: true FormsListSubmissionsResponsePagination: docs: Pagination object properties: @@ -8551,6 +8654,7 @@ service: docs: The total number of records source: openapi: ../openapi.yml + inline: true FormsListSubmissionsResponse: docs: A list of form submissions properties: @@ -8558,7 +8662,6 @@ service: pagination: type: optional docs: Pagination object - inline: true source: openapi: ../openapi.yml FormsGetSubmissionResponse: @@ -8636,6 +8739,7 @@ service: docs: The unique id of the Form element source: openapi: ../openapi.yml + inline: true FormSubmissionPayload: docs: The Webhook payload for when a form is submitted properties: @@ -8645,7 +8749,6 @@ service: payload: type: optional docs: The payload of data sent from Webflow - inline: true source: openapi: ../openapi.yml imports: @@ -9130,6 +9233,7 @@ Required scope | `ecommerce:write` "types": { "EcommInventoryChangedPayload": { "docs": "The availabile inventory for an item", + "inline": undefined, "properties": { "id": { "docs": "Unique identifier for a SKU item", @@ -9160,6 +9264,7 @@ Required scope | `ecommerce:write` }, "InventoryListResponse": { "docs": "The availabile inventory for an item", + "inline": undefined, "properties": { "id": { "docs": "Unique identifier for a SKU item", @@ -9200,6 +9305,7 @@ Required scope | `ecommerce:write` }, "InventoryUpdateResponse": { "docs": "The availabile inventory for an item", + "inline": undefined, "properties": { "id": { "docs": "Unique identifier for a SKU item", @@ -9455,6 +9561,7 @@ webhooks: "CollectionItemChangedPayload": { "docs": "The fields that define the schema for a given Item are based on the Collection that Item belongs to. Beyond the user defined fields, there are a handful of additional fields that are automatically created for all items ", + "inline": undefined, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -9495,6 +9602,7 @@ webhooks: "CollectionItemChangedPayloadFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -9512,6 +9620,7 @@ webhooks: "CollectionItemCreatedPayload": { "docs": "The fields that define the schema for a given Item are based on the Collection that Item belongs to. Beyond the user defined fields, there are a handful of additional fields that are automatically created for all items ", + "inline": undefined, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -9552,6 +9661,7 @@ webhooks: "CollectionItemCreatedPayloadFieldData": { "docs": undefined, "extra-properties": true, + "inline": true, "properties": { "name": { "docs": "Name of the Item", @@ -9568,10 +9678,10 @@ webhooks: }, "CollectionItemDeletedPayload": { "docs": undefined, + "inline": undefined, "properties": { "payload": { "docs": "The payload of data sent from Webflow", - "inline": true, "type": "optional", }, "triggerType": { @@ -9585,6 +9695,7 @@ webhooks: }, "CollectionItemDeletedPayloadPayload": { "docs": "The payload of data sent from Webflow", + "inline": true, "properties": { "collectionId": { "docs": "The ID of the collection", @@ -9609,10 +9720,10 @@ webhooks: }, "CollectionItemUnpublishedPayload": { "docs": undefined, + "inline": undefined, "properties": { "payload": { "docs": "The payload of data sent from Webflow", - "inline": true, "type": "optional", }, "triggerType": { @@ -9626,6 +9737,7 @@ webhooks: }, "CollectionItemUnpublishedPayloadPayload": { "docs": "The payload of data sent from Webflow", + "inline": true, "properties": { "collectionId": { "docs": "The ID of the collection", @@ -9766,6 +9878,7 @@ webhooks: extra-properties: true source: openapi: ../openapi.yml + inline: true CollectionItemCreatedPayload: docs: > The fields that define the schema for a given Item are based on the @@ -9812,6 +9925,7 @@ webhooks: extra-properties: true source: openapi: ../openapi.yml + inline: true CollectionItemChangedPayload: docs: > The fields that define the schema for a given Item are based on the @@ -9862,6 +9976,7 @@ webhooks: docs: The ID of the collection source: openapi: ../openapi.yml + inline: true CollectionItemDeletedPayload: properties: triggerType: @@ -9870,7 +9985,6 @@ webhooks: payload: type: optional docs: The payload of data sent from Webflow - inline: true source: openapi: ../openapi.yml CollectionItemUnpublishedPayloadPayload: @@ -9890,6 +10004,7 @@ webhooks: docs: The ID of the collection source: openapi: ../openapi.yml + inline: true CollectionItemUnpublishedPayload: properties: triggerType: @@ -9898,7 +10013,6 @@ webhooks: payload: type: optional docs: The payload of data sent from Webflow - inline: true source: openapi: ../openapi.yml webhooks: @@ -11906,6 +12020,7 @@ Required scope | `ecommerce:write` "types": { "EcommNewOrderPayload": { "docs": undefined, + "inline": undefined, "properties": { "acceptedOn": { "docs": "The ISO8601 timestamp that an Order was placed.", @@ -11979,10 +12094,7 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "metadata": { - "inline": true, - "type": "optional", - }, + "metadata": "optional", "netAmount": { "docs": "The net amount after application fees", "type": "optional", @@ -12001,10 +12113,7 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "paypalDetails": { - "inline": true, - "type": "optional", - }, + "paypalDetails": "optional", "purchasedItems": { "docs": "An array of all things that the Customer purchased.", "type": "optional>", @@ -12065,6 +12174,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadAllAddressesItem": { "docs": "A customer address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -12129,6 +12239,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadApplicationFee": { "docs": "The application fee assessed by the platform", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -12149,6 +12260,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadBillingAddress": { "docs": "The billing address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -12213,6 +12325,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadCustomerInfo": { "docs": "An object with the keys `fullName` and `email`.", + "inline": true, "properties": { "email": { "docs": "The Customer's email address", @@ -12235,6 +12348,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadCustomerPaid": { "docs": "The total paid by the customer", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -12272,6 +12386,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadDownloadFilesItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier for the downloadable file", @@ -12298,6 +12413,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadMetadata": { "docs": undefined, + "inline": true, "properties": { "isBuyNow": "optional", }, @@ -12307,6 +12423,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadNetAmount": { "docs": "The net amount after application fees", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -12327,6 +12444,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadPaypalDetails": { "docs": undefined, + "inline": true, "properties": { "captureId": { "docs": "PayPal capture identifier", @@ -12359,6 +12477,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadPurchasedItemsItem": { "docs": "An Item that was purchased", + "inline": true, "properties": { "count": { "docs": "Number of Item purchased.", @@ -12424,6 +12543,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadPurchasedItemsItemRowTotal": { "docs": "The total for the row", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -12444,11 +12564,9 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadPurchasedItemsItemVariantImage": { "docs": undefined, + "inline": true, "properties": { - "file": { - "inline": true, - "type": "optional", - }, + "file": "optional", "url": { "docs": "The hosted location for the Variant's image", "type": "optional", @@ -12466,6 +12584,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadPurchasedItemsItemVariantImageFile": { "docs": undefined, + "inline": true, "properties": { "contentType": { "docs": "The MIME type of the image", @@ -12502,6 +12621,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadPurchasedItemsItemVariantImageFileVariantsItem": { "docs": undefined, + "inline": true, "properties": { "height": { "docs": "The image height in pixels", @@ -12533,6 +12653,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadPurchasedItemsItemVariantPrice": { "docs": "The price corresponding to the variant", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -12553,6 +12674,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadShippingAddress": { "docs": "The shipping address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -12636,6 +12758,7 @@ Required scope | `ecommerce:write` "EcommNewOrderPayloadStripeCard": { "docs": "Details on the card used to fulfill this order, if this order was finalized with Stripe. ", + "inline": true, "properties": { "brand": { "docs": "The card's brand (ie. credit card network)", @@ -12643,7 +12766,6 @@ Required scope | `ecommerce:write` }, "expires": { "docs": "The card's expiration date.", - "inline": true, "type": "optional", }, "last4": { @@ -12682,6 +12804,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadStripeCardExpires": { "docs": "The card's expiration date.", + "inline": true, "properties": { "month": { "docs": "Month that the card expires", @@ -12698,6 +12821,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadStripeDetails": { "docs": "An object with various Stripe IDs, useful for linking into the stripe dashboard.", + "inline": true, "properties": { "chargeId": { "docs": "Stripe-generated charge identifier, or null", @@ -12738,6 +12862,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadTotals": { "docs": "An object describing various pricing totals", + "inline": true, "properties": { "extras": { "docs": "An array of extra items, includes discounts, shipping, and taxes.", @@ -12758,6 +12883,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadTotalsExtrasItem": { "docs": "Extra order items, includes discounts, shipping, and taxes.", + "inline": true, "properties": { "description": { "docs": "A human-readable (but English) description of this extra charge.", @@ -12782,6 +12908,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadTotalsExtrasItemPrice": { "docs": "The price for the item", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -12817,6 +12944,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadTotalsSubtotal": { "docs": "The subtotal price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -12837,6 +12965,7 @@ Required scope | `ecommerce:write` }, "EcommNewOrderPayloadTotalsTotal": { "docs": "The total price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -12857,6 +12986,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayload": { "docs": undefined, + "inline": undefined, "properties": { "acceptedOn": { "docs": "The ISO8601 timestamp that an Order was placed.", @@ -12930,10 +13060,7 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "metadata": { - "inline": true, - "type": "optional", - }, + "metadata": "optional", "netAmount": { "docs": "The net amount after application fees", "type": "optional", @@ -12952,10 +13079,7 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "paypalDetails": { - "inline": true, - "type": "optional", - }, + "paypalDetails": "optional", "purchasedItems": { "docs": "An array of all things that the Customer purchased.", "type": "optional>", @@ -13016,6 +13140,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadAllAddressesItem": { "docs": "A customer address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -13080,6 +13205,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadApplicationFee": { "docs": "The application fee assessed by the platform", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -13100,6 +13226,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadBillingAddress": { "docs": "The billing address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -13164,6 +13291,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadCustomerInfo": { "docs": "An object with the keys `fullName` and `email`.", + "inline": true, "properties": { "email": { "docs": "The Customer's email address", @@ -13186,6 +13314,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadCustomerPaid": { "docs": "The total paid by the customer", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -13223,6 +13352,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadDownloadFilesItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier for the downloadable file", @@ -13249,6 +13379,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadMetadata": { "docs": undefined, + "inline": true, "properties": { "isBuyNow": "optional", }, @@ -13258,6 +13389,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadNetAmount": { "docs": "The net amount after application fees", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -13278,6 +13410,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadPaypalDetails": { "docs": undefined, + "inline": true, "properties": { "captureId": { "docs": "PayPal capture identifier", @@ -13310,6 +13443,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadPurchasedItemsItem": { "docs": "An Item that was purchased", + "inline": true, "properties": { "count": { "docs": "Number of Item purchased.", @@ -13375,6 +13509,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadPurchasedItemsItemRowTotal": { "docs": "The total for the row", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -13395,11 +13530,9 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadPurchasedItemsItemVariantImage": { "docs": undefined, + "inline": true, "properties": { - "file": { - "inline": true, - "type": "optional", - }, + "file": "optional", "url": { "docs": "The hosted location for the Variant's image", "type": "optional", @@ -13417,6 +13550,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadPurchasedItemsItemVariantImageFile": { "docs": undefined, + "inline": true, "properties": { "contentType": { "docs": "The MIME type of the image", @@ -13453,6 +13587,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadPurchasedItemsItemVariantImageFileVariantsItem": { "docs": undefined, + "inline": true, "properties": { "height": { "docs": "The image height in pixels", @@ -13484,6 +13619,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadPurchasedItemsItemVariantPrice": { "docs": "The price corresponding to the variant", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -13504,6 +13640,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadShippingAddress": { "docs": "The shipping address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -13587,6 +13724,7 @@ Required scope | `ecommerce:write` "EcommOrderChangedPayloadStripeCard": { "docs": "Details on the card used to fulfill this order, if this order was finalized with Stripe. ", + "inline": true, "properties": { "brand": { "docs": "The card's brand (ie. credit card network)", @@ -13594,7 +13732,6 @@ Required scope | `ecommerce:write` }, "expires": { "docs": "The card's expiration date.", - "inline": true, "type": "optional", }, "last4": { @@ -13633,6 +13770,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadStripeCardExpires": { "docs": "The card's expiration date.", + "inline": true, "properties": { "month": { "docs": "Month that the card expires", @@ -13649,6 +13787,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadStripeDetails": { "docs": "An object with various Stripe IDs, useful for linking into the stripe dashboard.", + "inline": true, "properties": { "chargeId": { "docs": "Stripe-generated charge identifier, or null", @@ -13689,6 +13828,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadTotals": { "docs": "An object describing various pricing totals", + "inline": true, "properties": { "extras": { "docs": "An array of extra items, includes discounts, shipping, and taxes.", @@ -13709,6 +13849,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadTotalsExtrasItem": { "docs": "Extra order items, includes discounts, shipping, and taxes.", + "inline": true, "properties": { "description": { "docs": "A human-readable (but English) description of this extra charge.", @@ -13733,6 +13874,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadTotalsExtrasItemPrice": { "docs": "The price for the item", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -13768,6 +13910,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadTotalsSubtotal": { "docs": "The subtotal price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -13788,6 +13931,7 @@ Required scope | `ecommerce:write` }, "EcommOrderChangedPayloadTotalsTotal": { "docs": "The total price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -13808,6 +13952,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "acceptedOn": { "docs": "The ISO8601 timestamp that an Order was placed.", @@ -13881,10 +14026,7 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "metadata": { - "inline": true, - "type": "optional", - }, + "metadata": "optional", "netAmount": { "docs": "The net amount after application fees", "type": "optional", @@ -13903,10 +14045,7 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "paypalDetails": { - "inline": true, - "type": "optional", - }, + "paypalDetails": "optional", "purchasedItems": { "docs": "An array of all things that the Customer purchased.", "type": "optional>", @@ -13967,6 +14106,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponseAllAddressesItem": { "docs": "A customer address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -14031,6 +14171,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponseApplicationFee": { "docs": "The application fee assessed by the platform", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -14051,6 +14192,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponseBillingAddress": { "docs": "The billing address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -14115,6 +14257,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponseCustomerInfo": { "docs": "An object with the keys `fullName` and `email`.", + "inline": true, "properties": { "email": { "docs": "The Customer's email address", @@ -14137,6 +14280,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponseCustomerPaid": { "docs": "The total paid by the customer", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -14174,6 +14318,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponseDownloadFilesItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier for the downloadable file", @@ -14200,6 +14345,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponseMetadata": { "docs": undefined, + "inline": true, "properties": { "isBuyNow": "optional", }, @@ -14209,6 +14355,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponseNetAmount": { "docs": "The net amount after application fees", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -14229,6 +14376,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponsePaypalDetails": { "docs": undefined, + "inline": true, "properties": { "captureId": { "docs": "PayPal capture identifier", @@ -14261,6 +14409,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponsePurchasedItemsItem": { "docs": "An Item that was purchased", + "inline": true, "properties": { "count": { "docs": "Number of Item purchased.", @@ -14326,6 +14475,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponsePurchasedItemsItemRowTotal": { "docs": "The total for the row", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -14346,11 +14496,9 @@ Required scope | `ecommerce:write` }, "OrdersGetResponsePurchasedItemsItemVariantImage": { "docs": undefined, + "inline": true, "properties": { - "file": { - "inline": true, - "type": "optional", - }, + "file": "optional", "url": { "docs": "The hosted location for the Variant's image", "type": "optional", @@ -14368,6 +14516,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponsePurchasedItemsItemVariantImageFile": { "docs": undefined, + "inline": true, "properties": { "contentType": { "docs": "The MIME type of the image", @@ -14404,6 +14553,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponsePurchasedItemsItemVariantImageFileVariantsItem": { "docs": undefined, + "inline": true, "properties": { "height": { "docs": "The image height in pixels", @@ -14435,6 +14585,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponsePurchasedItemsItemVariantPrice": { "docs": "The price corresponding to the variant", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -14455,6 +14606,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponseShippingAddress": { "docs": "The shipping address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -14538,6 +14690,7 @@ Required scope | `ecommerce:write` "OrdersGetResponseStripeCard": { "docs": "Details on the card used to fulfill this order, if this order was finalized with Stripe. ", + "inline": true, "properties": { "brand": { "docs": "The card's brand (ie. credit card network)", @@ -14545,7 +14698,6 @@ Required scope | `ecommerce:write` }, "expires": { "docs": "The card's expiration date.", - "inline": true, "type": "optional", }, "last4": { @@ -14584,6 +14736,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponseStripeCardExpires": { "docs": "The card's expiration date.", + "inline": true, "properties": { "month": { "docs": "Month that the card expires", @@ -14600,6 +14753,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponseStripeDetails": { "docs": "An object with various Stripe IDs, useful for linking into the stripe dashboard.", + "inline": true, "properties": { "chargeId": { "docs": "Stripe-generated charge identifier, or null", @@ -14640,6 +14794,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponseTotals": { "docs": "An object describing various pricing totals", + "inline": true, "properties": { "extras": { "docs": "An array of extra items, includes discounts, shipping, and taxes.", @@ -14660,6 +14815,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponseTotalsExtrasItem": { "docs": "Extra order items, includes discounts, shipping, and taxes.", + "inline": true, "properties": { "description": { "docs": "A human-readable (but English) description of this extra charge.", @@ -14684,6 +14840,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponseTotalsExtrasItemPrice": { "docs": "The price for the item", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -14719,6 +14876,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponseTotalsSubtotal": { "docs": "The subtotal price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -14739,6 +14897,7 @@ Required scope | `ecommerce:write` }, "OrdersGetResponseTotalsTotal": { "docs": "The total price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -14775,6 +14934,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponse": { "docs": "Results from order list", + "inline": undefined, "properties": { "orders": { "docs": "List of orders", @@ -14782,7 +14942,6 @@ Required scope | `ecommerce:write` }, "pagination": { "docs": "Pagination object", - "inline": true, "type": "optional", }, }, @@ -14792,6 +14951,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItem": { "docs": undefined, + "inline": true, "properties": { "acceptedOn": { "docs": "The ISO8601 timestamp that an Order was placed.", @@ -14865,10 +15025,7 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "metadata": { - "inline": true, - "type": "optional", - }, + "metadata": "optional", "netAmount": { "docs": "The net amount after application fees", "type": "optional", @@ -14887,10 +15044,7 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "paypalDetails": { - "inline": true, - "type": "optional", - }, + "paypalDetails": "optional", "purchasedItems": { "docs": "An array of all things that the Customer purchased.", "type": "optional>", @@ -14951,6 +15105,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemAllAddressesItem": { "docs": "A customer address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -15015,6 +15170,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemApplicationFee": { "docs": "The application fee assessed by the platform", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -15035,6 +15191,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemBillingAddress": { "docs": "The billing address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -15099,6 +15256,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemCustomerInfo": { "docs": "An object with the keys `fullName` and `email`.", + "inline": true, "properties": { "email": { "docs": "The Customer's email address", @@ -15121,6 +15279,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemCustomerPaid": { "docs": "The total paid by the customer", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -15158,6 +15317,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemDownloadFilesItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier for the downloadable file", @@ -15184,6 +15344,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemMetadata": { "docs": undefined, + "inline": true, "properties": { "isBuyNow": "optional", }, @@ -15193,6 +15354,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemNetAmount": { "docs": "The net amount after application fees", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -15213,6 +15375,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemPaypalDetails": { "docs": undefined, + "inline": true, "properties": { "captureId": { "docs": "PayPal capture identifier", @@ -15245,6 +15408,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemPurchasedItemsItem": { "docs": "An Item that was purchased", + "inline": true, "properties": { "count": { "docs": "Number of Item purchased.", @@ -15310,6 +15474,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemPurchasedItemsItemRowTotal": { "docs": "The total for the row", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -15330,11 +15495,9 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemPurchasedItemsItemVariantImage": { "docs": undefined, + "inline": true, "properties": { - "file": { - "inline": true, - "type": "optional", - }, + "file": "optional", "url": { "docs": "The hosted location for the Variant's image", "type": "optional", @@ -15352,6 +15515,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemPurchasedItemsItemVariantImageFile": { "docs": undefined, + "inline": true, "properties": { "contentType": { "docs": "The MIME type of the image", @@ -15388,6 +15552,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemPurchasedItemsItemVariantImageFileVariantsItem": { "docs": undefined, + "inline": true, "properties": { "height": { "docs": "The image height in pixels", @@ -15419,6 +15584,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemPurchasedItemsItemVariantPrice": { "docs": "The price corresponding to the variant", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -15439,6 +15605,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemShippingAddress": { "docs": "The shipping address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -15522,6 +15689,7 @@ Required scope | `ecommerce:write` "OrdersListResponseOrdersItemStripeCard": { "docs": "Details on the card used to fulfill this order, if this order was finalized with Stripe. ", + "inline": true, "properties": { "brand": { "docs": "The card's brand (ie. credit card network)", @@ -15529,7 +15697,6 @@ Required scope | `ecommerce:write` }, "expires": { "docs": "The card's expiration date.", - "inline": true, "type": "optional", }, "last4": { @@ -15568,6 +15735,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemStripeCardExpires": { "docs": "The card's expiration date.", + "inline": true, "properties": { "month": { "docs": "Month that the card expires", @@ -15584,6 +15752,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemStripeDetails": { "docs": "An object with various Stripe IDs, useful for linking into the stripe dashboard.", + "inline": true, "properties": { "chargeId": { "docs": "Stripe-generated charge identifier, or null", @@ -15624,6 +15793,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemTotals": { "docs": "An object describing various pricing totals", + "inline": true, "properties": { "extras": { "docs": "An array of extra items, includes discounts, shipping, and taxes.", @@ -15644,6 +15814,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemTotalsExtrasItem": { "docs": "Extra order items, includes discounts, shipping, and taxes.", + "inline": true, "properties": { "description": { "docs": "A human-readable (but English) description of this extra charge.", @@ -15668,6 +15839,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemTotalsExtrasItemPrice": { "docs": "The price for the item", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -15703,6 +15875,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemTotalsSubtotal": { "docs": "The subtotal price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -15723,6 +15896,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponseOrdersItemTotalsTotal": { "docs": "The total price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -15743,6 +15917,7 @@ Required scope | `ecommerce:write` }, "OrdersListResponsePagination": { "docs": "Pagination object", + "inline": true, "properties": { "limit": { "docs": "The limit used for pagination", @@ -15774,6 +15949,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponse": { "docs": undefined, + "inline": undefined, "properties": { "acceptedOn": { "docs": "The ISO8601 timestamp that an Order was placed.", @@ -15847,10 +16023,7 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "metadata": { - "inline": true, - "type": "optional", - }, + "metadata": "optional", "netAmount": { "docs": "The net amount after application fees", "type": "optional", @@ -15869,10 +16042,7 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "paypalDetails": { - "inline": true, - "type": "optional", - }, + "paypalDetails": "optional", "purchasedItems": { "docs": "An array of all things that the Customer purchased.", "type": "optional>", @@ -15933,6 +16103,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponseAllAddressesItem": { "docs": "A customer address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -15997,6 +16168,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponseApplicationFee": { "docs": "The application fee assessed by the platform", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -16017,6 +16189,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponseBillingAddress": { "docs": "The billing address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -16081,6 +16254,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponseCustomerInfo": { "docs": "An object with the keys `fullName` and `email`.", + "inline": true, "properties": { "email": { "docs": "The Customer's email address", @@ -16103,6 +16277,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponseCustomerPaid": { "docs": "The total paid by the customer", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -16140,6 +16315,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponseDownloadFilesItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier for the downloadable file", @@ -16166,6 +16342,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponseMetadata": { "docs": undefined, + "inline": true, "properties": { "isBuyNow": "optional", }, @@ -16175,6 +16352,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponseNetAmount": { "docs": "The net amount after application fees", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -16195,6 +16373,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponsePaypalDetails": { "docs": undefined, + "inline": true, "properties": { "captureId": { "docs": "PayPal capture identifier", @@ -16227,6 +16406,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponsePurchasedItemsItem": { "docs": "An Item that was purchased", + "inline": true, "properties": { "count": { "docs": "Number of Item purchased.", @@ -16292,6 +16472,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponsePurchasedItemsItemRowTotal": { "docs": "The total for the row", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -16312,11 +16493,9 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponsePurchasedItemsItemVariantImage": { "docs": undefined, + "inline": true, "properties": { - "file": { - "inline": true, - "type": "optional", - }, + "file": "optional", "url": { "docs": "The hosted location for the Variant's image", "type": "optional", @@ -16334,6 +16513,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponsePurchasedItemsItemVariantImageFile": { "docs": undefined, + "inline": true, "properties": { "contentType": { "docs": "The MIME type of the image", @@ -16370,6 +16550,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponsePurchasedItemsItemVariantImageFileVariantsItem": { "docs": undefined, + "inline": true, "properties": { "height": { "docs": "The image height in pixels", @@ -16401,6 +16582,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponsePurchasedItemsItemVariantPrice": { "docs": "The price corresponding to the variant", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -16421,6 +16603,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponseShippingAddress": { "docs": "The shipping address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -16504,6 +16687,7 @@ Required scope | `ecommerce:write` "OrdersRefundResponseStripeCard": { "docs": "Details on the card used to fulfill this order, if this order was finalized with Stripe. ", + "inline": true, "properties": { "brand": { "docs": "The card's brand (ie. credit card network)", @@ -16511,7 +16695,6 @@ Required scope | `ecommerce:write` }, "expires": { "docs": "The card's expiration date.", - "inline": true, "type": "optional", }, "last4": { @@ -16550,6 +16733,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponseStripeCardExpires": { "docs": "The card's expiration date.", + "inline": true, "properties": { "month": { "docs": "Month that the card expires", @@ -16566,6 +16750,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponseStripeDetails": { "docs": "An object with various Stripe IDs, useful for linking into the stripe dashboard.", + "inline": true, "properties": { "chargeId": { "docs": "Stripe-generated charge identifier, or null", @@ -16606,6 +16791,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponseTotals": { "docs": "An object describing various pricing totals", + "inline": true, "properties": { "extras": { "docs": "An array of extra items, includes discounts, shipping, and taxes.", @@ -16626,6 +16812,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponseTotalsExtrasItem": { "docs": "Extra order items, includes discounts, shipping, and taxes.", + "inline": true, "properties": { "description": { "docs": "A human-readable (but English) description of this extra charge.", @@ -16650,6 +16837,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponseTotalsExtrasItemPrice": { "docs": "The price for the item", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -16685,6 +16873,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponseTotalsSubtotal": { "docs": "The subtotal price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -16705,6 +16894,7 @@ Required scope | `ecommerce:write` }, "OrdersRefundResponseTotalsTotal": { "docs": "The total price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -16725,6 +16915,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponse": { "docs": undefined, + "inline": undefined, "properties": { "acceptedOn": { "docs": "The ISO8601 timestamp that an Order was placed.", @@ -16798,10 +16989,7 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "metadata": { - "inline": true, - "type": "optional", - }, + "metadata": "optional", "netAmount": { "docs": "The net amount after application fees", "type": "optional", @@ -16820,10 +17008,7 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "paypalDetails": { - "inline": true, - "type": "optional", - }, + "paypalDetails": "optional", "purchasedItems": { "docs": "An array of all things that the Customer purchased.", "type": "optional>", @@ -16884,6 +17069,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponseAllAddressesItem": { "docs": "A customer address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -16948,6 +17134,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponseApplicationFee": { "docs": "The application fee assessed by the platform", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -16968,6 +17155,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponseBillingAddress": { "docs": "The billing address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -17032,6 +17220,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponseCustomerInfo": { "docs": "An object with the keys `fullName` and `email`.", + "inline": true, "properties": { "email": { "docs": "The Customer's email address", @@ -17054,6 +17243,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponseCustomerPaid": { "docs": "The total paid by the customer", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -17091,6 +17281,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponseDownloadFilesItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier for the downloadable file", @@ -17117,6 +17308,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponseMetadata": { "docs": undefined, + "inline": true, "properties": { "isBuyNow": "optional", }, @@ -17126,6 +17318,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponseNetAmount": { "docs": "The net amount after application fees", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -17146,6 +17339,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponsePaypalDetails": { "docs": undefined, + "inline": true, "properties": { "captureId": { "docs": "PayPal capture identifier", @@ -17178,6 +17372,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponsePurchasedItemsItem": { "docs": "An Item that was purchased", + "inline": true, "properties": { "count": { "docs": "Number of Item purchased.", @@ -17243,6 +17438,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponsePurchasedItemsItemRowTotal": { "docs": "The total for the row", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -17263,11 +17459,9 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponsePurchasedItemsItemVariantImage": { "docs": undefined, + "inline": true, "properties": { - "file": { - "inline": true, - "type": "optional", - }, + "file": "optional", "url": { "docs": "The hosted location for the Variant's image", "type": "optional", @@ -17285,6 +17479,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponsePurchasedItemsItemVariantImageFile": { "docs": undefined, + "inline": true, "properties": { "contentType": { "docs": "The MIME type of the image", @@ -17321,6 +17516,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponsePurchasedItemsItemVariantImageFileVariantsItem": { "docs": undefined, + "inline": true, "properties": { "height": { "docs": "The image height in pixels", @@ -17352,6 +17548,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponsePurchasedItemsItemVariantPrice": { "docs": "The price corresponding to the variant", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -17372,6 +17569,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponseShippingAddress": { "docs": "The shipping address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -17455,6 +17653,7 @@ Required scope | `ecommerce:write` "OrdersUpdateFulfillResponseStripeCard": { "docs": "Details on the card used to fulfill this order, if this order was finalized with Stripe. ", + "inline": true, "properties": { "brand": { "docs": "The card's brand (ie. credit card network)", @@ -17462,7 +17661,6 @@ Required scope | `ecommerce:write` }, "expires": { "docs": "The card's expiration date.", - "inline": true, "type": "optional", }, "last4": { @@ -17501,6 +17699,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponseStripeCardExpires": { "docs": "The card's expiration date.", + "inline": true, "properties": { "month": { "docs": "Month that the card expires", @@ -17517,6 +17716,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponseStripeDetails": { "docs": "An object with various Stripe IDs, useful for linking into the stripe dashboard.", + "inline": true, "properties": { "chargeId": { "docs": "Stripe-generated charge identifier, or null", @@ -17557,6 +17757,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponseTotals": { "docs": "An object describing various pricing totals", + "inline": true, "properties": { "extras": { "docs": "An array of extra items, includes discounts, shipping, and taxes.", @@ -17577,6 +17778,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponseTotalsExtrasItem": { "docs": "Extra order items, includes discounts, shipping, and taxes.", + "inline": true, "properties": { "description": { "docs": "A human-readable (but English) description of this extra charge.", @@ -17601,6 +17803,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponseTotalsExtrasItemPrice": { "docs": "The price for the item", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -17636,6 +17839,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponseTotalsSubtotal": { "docs": "The subtotal price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -17656,6 +17860,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateFulfillResponseTotalsTotal": { "docs": "The total price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -17676,6 +17881,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponse": { "docs": undefined, + "inline": undefined, "properties": { "acceptedOn": { "docs": "The ISO8601 timestamp that an Order was placed.", @@ -17749,10 +17955,7 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "metadata": { - "inline": true, - "type": "optional", - }, + "metadata": "optional", "netAmount": { "docs": "The net amount after application fees", "type": "optional", @@ -17771,10 +17974,7 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "paypalDetails": { - "inline": true, - "type": "optional", - }, + "paypalDetails": "optional", "purchasedItems": { "docs": "An array of all things that the Customer purchased.", "type": "optional>", @@ -17835,6 +18035,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponseAllAddressesItem": { "docs": "A customer address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -17899,6 +18100,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponseApplicationFee": { "docs": "The application fee assessed by the platform", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -17919,6 +18121,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponseBillingAddress": { "docs": "The billing address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -17983,6 +18186,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponseCustomerInfo": { "docs": "An object with the keys `fullName` and `email`.", + "inline": true, "properties": { "email": { "docs": "The Customer's email address", @@ -18005,6 +18209,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponseCustomerPaid": { "docs": "The total paid by the customer", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -18042,6 +18247,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponseDownloadFilesItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier for the downloadable file", @@ -18068,6 +18274,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponseMetadata": { "docs": undefined, + "inline": true, "properties": { "isBuyNow": "optional", }, @@ -18077,6 +18284,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponseNetAmount": { "docs": "The net amount after application fees", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -18097,6 +18305,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponsePaypalDetails": { "docs": undefined, + "inline": true, "properties": { "captureId": { "docs": "PayPal capture identifier", @@ -18129,6 +18338,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponsePurchasedItemsItem": { "docs": "An Item that was purchased", + "inline": true, "properties": { "count": { "docs": "Number of Item purchased.", @@ -18194,6 +18404,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponsePurchasedItemsItemRowTotal": { "docs": "The total for the row", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -18214,11 +18425,9 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponsePurchasedItemsItemVariantImage": { "docs": undefined, + "inline": true, "properties": { - "file": { - "inline": true, - "type": "optional", - }, + "file": "optional", "url": { "docs": "The hosted location for the Variant's image", "type": "optional", @@ -18236,6 +18445,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponsePurchasedItemsItemVariantImageFile": { "docs": undefined, + "inline": true, "properties": { "contentType": { "docs": "The MIME type of the image", @@ -18272,6 +18482,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponsePurchasedItemsItemVariantImageFileVariantsItem": { "docs": undefined, + "inline": true, "properties": { "height": { "docs": "The image height in pixels", @@ -18303,6 +18514,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponsePurchasedItemsItemVariantPrice": { "docs": "The price corresponding to the variant", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -18323,6 +18535,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponseShippingAddress": { "docs": "The shipping address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -18406,6 +18619,7 @@ Required scope | `ecommerce:write` "OrdersUpdateResponseStripeCard": { "docs": "Details on the card used to fulfill this order, if this order was finalized with Stripe. ", + "inline": true, "properties": { "brand": { "docs": "The card's brand (ie. credit card network)", @@ -18413,7 +18627,6 @@ Required scope | `ecommerce:write` }, "expires": { "docs": "The card's expiration date.", - "inline": true, "type": "optional", }, "last4": { @@ -18452,6 +18665,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponseStripeCardExpires": { "docs": "The card's expiration date.", + "inline": true, "properties": { "month": { "docs": "Month that the card expires", @@ -18468,6 +18682,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponseStripeDetails": { "docs": "An object with various Stripe IDs, useful for linking into the stripe dashboard.", + "inline": true, "properties": { "chargeId": { "docs": "Stripe-generated charge identifier, or null", @@ -18508,6 +18723,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponseTotals": { "docs": "An object describing various pricing totals", + "inline": true, "properties": { "extras": { "docs": "An array of extra items, includes discounts, shipping, and taxes.", @@ -18528,6 +18744,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponseTotalsExtrasItem": { "docs": "Extra order items, includes discounts, shipping, and taxes.", + "inline": true, "properties": { "description": { "docs": "A human-readable (but English) description of this extra charge.", @@ -18552,6 +18769,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponseTotalsExtrasItemPrice": { "docs": "The price for the item", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -18587,6 +18805,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponseTotalsSubtotal": { "docs": "The subtotal price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -18607,6 +18826,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateResponseTotalsTotal": { "docs": "The total price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -18627,6 +18847,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponse": { "docs": undefined, + "inline": undefined, "properties": { "acceptedOn": { "docs": "The ISO8601 timestamp that an Order was placed.", @@ -18700,10 +18921,7 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "metadata": { - "inline": true, - "type": "optional", - }, + "metadata": "optional", "netAmount": { "docs": "The net amount after application fees", "type": "optional", @@ -18722,10 +18940,7 @@ Required scope | `ecommerce:write` ", "type": "optional", }, - "paypalDetails": { - "inline": true, - "type": "optional", - }, + "paypalDetails": "optional", "purchasedItems": { "docs": "An array of all things that the Customer purchased.", "type": "optional>", @@ -18786,6 +19001,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponseAllAddressesItem": { "docs": "A customer address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -18850,6 +19066,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponseApplicationFee": { "docs": "The application fee assessed by the platform", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -18870,6 +19087,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponseBillingAddress": { "docs": "The billing address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -18934,6 +19152,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponseCustomerInfo": { "docs": "An object with the keys `fullName` and `email`.", + "inline": true, "properties": { "email": { "docs": "The Customer's email address", @@ -18956,6 +19175,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponseCustomerPaid": { "docs": "The total paid by the customer", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -18993,6 +19213,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponseDownloadFilesItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier for the downloadable file", @@ -19019,6 +19240,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponseMetadata": { "docs": undefined, + "inline": true, "properties": { "isBuyNow": "optional", }, @@ -19028,6 +19250,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponseNetAmount": { "docs": "The net amount after application fees", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -19048,6 +19271,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponsePaypalDetails": { "docs": undefined, + "inline": true, "properties": { "captureId": { "docs": "PayPal capture identifier", @@ -19080,6 +19304,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponsePurchasedItemsItem": { "docs": "An Item that was purchased", + "inline": true, "properties": { "count": { "docs": "Number of Item purchased.", @@ -19145,6 +19370,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponsePurchasedItemsItemRowTotal": { "docs": "The total for the row", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -19165,11 +19391,9 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponsePurchasedItemsItemVariantImage": { "docs": undefined, + "inline": true, "properties": { - "file": { - "inline": true, - "type": "optional", - }, + "file": "optional", "url": { "docs": "The hosted location for the Variant's image", "type": "optional", @@ -19187,6 +19411,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponsePurchasedItemsItemVariantImageFile": { "docs": undefined, + "inline": true, "properties": { "contentType": { "docs": "The MIME type of the image", @@ -19223,6 +19448,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponsePurchasedItemsItemVariantImageFileVariantsItem": { "docs": undefined, + "inline": true, "properties": { "height": { "docs": "The image height in pixels", @@ -19254,6 +19480,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponsePurchasedItemsItemVariantPrice": { "docs": "The price corresponding to the variant", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -19274,6 +19501,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponseShippingAddress": { "docs": "The shipping address", + "inline": true, "properties": { "addressee": { "docs": "Display name on the address", @@ -19357,6 +19585,7 @@ Required scope | `ecommerce:write` "OrdersUpdateUnfulfillResponseStripeCard": { "docs": "Details on the card used to fulfill this order, if this order was finalized with Stripe. ", + "inline": true, "properties": { "brand": { "docs": "The card's brand (ie. credit card network)", @@ -19364,7 +19593,6 @@ Required scope | `ecommerce:write` }, "expires": { "docs": "The card's expiration date.", - "inline": true, "type": "optional", }, "last4": { @@ -19403,6 +19631,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponseStripeCardExpires": { "docs": "The card's expiration date.", + "inline": true, "properties": { "month": { "docs": "Month that the card expires", @@ -19419,6 +19648,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponseStripeDetails": { "docs": "An object with various Stripe IDs, useful for linking into the stripe dashboard.", + "inline": true, "properties": { "chargeId": { "docs": "Stripe-generated charge identifier, or null", @@ -19459,6 +19689,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponseTotals": { "docs": "An object describing various pricing totals", + "inline": true, "properties": { "extras": { "docs": "An array of extra items, includes discounts, shipping, and taxes.", @@ -19479,6 +19710,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponseTotalsExtrasItem": { "docs": "Extra order items, includes discounts, shipping, and taxes.", + "inline": true, "properties": { "description": { "docs": "A human-readable (but English) description of this extra charge.", @@ -19503,6 +19735,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponseTotalsExtrasItemPrice": { "docs": "The price for the item", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -19538,6 +19771,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponseTotalsSubtotal": { "docs": "The subtotal price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -19558,6 +19792,7 @@ Required scope | `ecommerce:write` }, "OrdersUpdateUnfulfillResponseTotalsTotal": { "docs": "The total price", + "inline": true, "properties": { "string": { "docs": "The user-facing string representation of the amount", @@ -20086,6 +20321,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemNetAmount: docs: The net amount after application fees properties: @@ -20100,6 +20336,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemApplicationFee: docs: The application fee assessed by the platform properties: @@ -20114,6 +20351,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemAllAddressesItemType: enum: - shipping @@ -20164,6 +20402,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemShippingAddressType: enum: - shipping @@ -20214,6 +20453,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemBillingAddressType: enum: - shipping @@ -20264,6 +20504,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemCustomerInfo: docs: An object with the keys `fullName` and `email`. properties: @@ -20277,6 +20518,7 @@ Required scope | `ecommerce:write` format: email source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemPurchasedItemsItemRowTotal: docs: The total for the row properties: @@ -20291,6 +20533,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemPurchasedItemsItemVariantImageFileVariantsItem: properties: url: @@ -20310,6 +20553,7 @@ Required scope | `ecommerce:write` docs: The image height in pixels source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemPurchasedItemsItemVariantImageFile: properties: size: @@ -20336,6 +20580,7 @@ Required scope | `ecommerce:write` docs: Variants of the supplied image source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemPurchasedItemsItemVariantImage: properties: url: @@ -20343,12 +20588,10 @@ Required scope | `ecommerce:write` docs: The hosted location for the Variant's image validation: format: uri - file: - type: >- - optional - inline: true + file: optional source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemPurchasedItemsItemVariantPrice: docs: The price corresponding to the variant properties: @@ -20363,6 +20606,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemPurchasedItemsItem: docs: An Item that was purchased properties: @@ -20411,6 +20655,7 @@ Required scope | `ecommerce:write` docs: The physical length of the variant if provided, or null source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemStripeDetails: docs: >- An object with various Stripe IDs, useful for linking into the stripe @@ -20442,6 +20687,7 @@ Required scope | `ecommerce:write` docs: Stripe-generated refund reason, or null source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemStripeCardBrand: enum: - Visa @@ -20467,6 +20713,7 @@ Required scope | `ecommerce:write` docs: Month that the card expires source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemStripeCard: docs: > Details on the card used to fulfill this order, if this order was @@ -20484,9 +20731,9 @@ Required scope | `ecommerce:write` expires: type: optional docs: The card's expiration date. - inline: true source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemPaypalDetails: properties: orderId: @@ -20509,11 +20756,13 @@ Required scope | `ecommerce:write` docs: PayPal dispute identifier source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemMetadata: properties: isBuyNow: optional source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemTotalsSubtotal: docs: The subtotal price properties: @@ -20528,6 +20777,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemTotalsExtrasItemType: enum: - discount @@ -20552,6 +20802,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemTotalsExtrasItem: docs: Extra order items, includes discounts, shipping, and taxes. properties: @@ -20569,6 +20820,7 @@ Required scope | `ecommerce:write` docs: The price for the item source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemTotalsTotal: docs: The total price properties: @@ -20583,6 +20835,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemTotals: docs: An object describing various pricing totals properties: @@ -20597,6 +20850,7 @@ Required scope | `ecommerce:write` docs: The total price source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItemDownloadFilesItem: properties: id: @@ -20612,6 +20866,7 @@ Required scope | `ecommerce:write` format: uri source: openapi: ../openapi.yml + inline: true OrdersListResponseOrdersItem: properties: orderId: @@ -20713,18 +20968,14 @@ Required scope | `ecommerce:write` docs: > Details on the card used to fulfill this order, if this order was finalized with Stripe. - paypalDetails: - type: optional - inline: true + paypalDetails: optional customData: type: optional>> docs: > An array of additional inputs for custom order data gathering. Each object in the array represents an input with a name, and a textInput, textArea, or checkbox value. - metadata: - type: optional - inline: true + metadata: optional isCustomerDeleted: type: optional docs: > @@ -20752,6 +21003,7 @@ Required scope | `ecommerce:write` docs: An array of downloadable file objects. source: openapi: ../openapi.yml + inline: true OrdersListResponsePagination: docs: Pagination object properties: @@ -20766,6 +21018,7 @@ Required scope | `ecommerce:write` docs: The total number of records source: openapi: ../openapi.yml + inline: true OrdersListResponse: docs: Results from order list properties: @@ -20775,7 +21028,6 @@ Required scope | `ecommerce:write` pagination: type: optional docs: Pagination object - inline: true source: openapi: ../openapi.yml OrdersGetResponseStatus: @@ -20820,6 +21072,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersGetResponseNetAmount: docs: The net amount after application fees properties: @@ -20834,6 +21087,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersGetResponseApplicationFee: docs: The application fee assessed by the platform properties: @@ -20848,6 +21102,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersGetResponseAllAddressesItemType: enum: - shipping @@ -20898,6 +21153,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersGetResponseShippingAddressType: enum: - shipping @@ -20948,6 +21204,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersGetResponseBillingAddressType: enum: - shipping @@ -20998,6 +21255,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersGetResponseCustomerInfo: docs: An object with the keys `fullName` and `email`. properties: @@ -21011,6 +21269,7 @@ Required scope | `ecommerce:write` format: email source: openapi: ../openapi.yml + inline: true OrdersGetResponsePurchasedItemsItemRowTotal: docs: The total for the row properties: @@ -21025,6 +21284,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersGetResponsePurchasedItemsItemVariantImageFileVariantsItem: properties: url: @@ -21044,6 +21304,7 @@ Required scope | `ecommerce:write` docs: The image height in pixels source: openapi: ../openapi.yml + inline: true OrdersGetResponsePurchasedItemsItemVariantImageFile: properties: size: @@ -21070,6 +21331,7 @@ Required scope | `ecommerce:write` docs: Variants of the supplied image source: openapi: ../openapi.yml + inline: true OrdersGetResponsePurchasedItemsItemVariantImage: properties: url: @@ -21077,11 +21339,10 @@ Required scope | `ecommerce:write` docs: The hosted location for the Variant's image validation: format: uri - file: - type: optional - inline: true + file: optional source: openapi: ../openapi.yml + inline: true OrdersGetResponsePurchasedItemsItemVariantPrice: docs: The price corresponding to the variant properties: @@ -21096,6 +21357,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersGetResponsePurchasedItemsItem: docs: An Item that was purchased properties: @@ -21144,6 +21406,7 @@ Required scope | `ecommerce:write` docs: The physical length of the variant if provided, or null source: openapi: ../openapi.yml + inline: true OrdersGetResponseStripeDetails: docs: >- An object with various Stripe IDs, useful for linking into the stripe @@ -21175,6 +21438,7 @@ Required scope | `ecommerce:write` docs: Stripe-generated refund reason, or null source: openapi: ../openapi.yml + inline: true OrdersGetResponseStripeCardBrand: enum: - Visa @@ -21200,6 +21464,7 @@ Required scope | `ecommerce:write` docs: Month that the card expires source: openapi: ../openapi.yml + inline: true OrdersGetResponseStripeCard: docs: > Details on the card used to fulfill this order, if this order was @@ -21217,9 +21482,9 @@ Required scope | `ecommerce:write` expires: type: optional docs: The card's expiration date. - inline: true source: openapi: ../openapi.yml + inline: true OrdersGetResponsePaypalDetails: properties: orderId: @@ -21242,11 +21507,13 @@ Required scope | `ecommerce:write` docs: PayPal dispute identifier source: openapi: ../openapi.yml + inline: true OrdersGetResponseMetadata: properties: isBuyNow: optional source: openapi: ../openapi.yml + inline: true OrdersGetResponseTotalsSubtotal: docs: The subtotal price properties: @@ -21261,6 +21528,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersGetResponseTotalsExtrasItemType: enum: - discount @@ -21285,6 +21553,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersGetResponseTotalsExtrasItem: docs: Extra order items, includes discounts, shipping, and taxes. properties: @@ -21302,6 +21571,7 @@ Required scope | `ecommerce:write` docs: The price for the item source: openapi: ../openapi.yml + inline: true OrdersGetResponseTotalsTotal: docs: The total price properties: @@ -21316,6 +21586,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersGetResponseTotals: docs: An object describing various pricing totals properties: @@ -21330,6 +21601,7 @@ Required scope | `ecommerce:write` docs: The total price source: openapi: ../openapi.yml + inline: true OrdersGetResponseDownloadFilesItem: properties: id: @@ -21345,6 +21617,7 @@ Required scope | `ecommerce:write` format: uri source: openapi: ../openapi.yml + inline: true OrdersGetResponse: properties: orderId: @@ -21446,18 +21719,14 @@ Required scope | `ecommerce:write` docs: > Details on the card used to fulfill this order, if this order was finalized with Stripe. - paypalDetails: - type: optional - inline: true + paypalDetails: optional customData: type: optional>> docs: > An array of additional inputs for custom order data gathering. Each object in the array represents an input with a name, and a textInput, textArea, or checkbox value. - metadata: - type: optional - inline: true + metadata: optional isCustomerDeleted: type: optional docs: > @@ -21527,6 +21796,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateResponseNetAmount: docs: The net amount after application fees properties: @@ -21541,6 +21811,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateResponseApplicationFee: docs: The application fee assessed by the platform properties: @@ -21555,6 +21826,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateResponseAllAddressesItemType: enum: - shipping @@ -21605,6 +21877,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersUpdateResponseShippingAddressType: enum: - shipping @@ -21655,6 +21928,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersUpdateResponseBillingAddressType: enum: - shipping @@ -21705,6 +21979,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersUpdateResponseCustomerInfo: docs: An object with the keys `fullName` and `email`. properties: @@ -21718,6 +21993,7 @@ Required scope | `ecommerce:write` format: email source: openapi: ../openapi.yml + inline: true OrdersUpdateResponsePurchasedItemsItemRowTotal: docs: The total for the row properties: @@ -21732,6 +22008,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateResponsePurchasedItemsItemVariantImageFileVariantsItem: properties: url: @@ -21751,6 +22028,7 @@ Required scope | `ecommerce:write` docs: The image height in pixels source: openapi: ../openapi.yml + inline: true OrdersUpdateResponsePurchasedItemsItemVariantImageFile: properties: size: @@ -21777,6 +22055,7 @@ Required scope | `ecommerce:write` docs: Variants of the supplied image source: openapi: ../openapi.yml + inline: true OrdersUpdateResponsePurchasedItemsItemVariantImage: properties: url: @@ -21784,11 +22063,10 @@ Required scope | `ecommerce:write` docs: The hosted location for the Variant's image validation: format: uri - file: - type: optional - inline: true + file: optional source: openapi: ../openapi.yml + inline: true OrdersUpdateResponsePurchasedItemsItemVariantPrice: docs: The price corresponding to the variant properties: @@ -21803,6 +22081,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateResponsePurchasedItemsItem: docs: An Item that was purchased properties: @@ -21851,6 +22130,7 @@ Required scope | `ecommerce:write` docs: The physical length of the variant if provided, or null source: openapi: ../openapi.yml + inline: true OrdersUpdateResponseStripeDetails: docs: >- An object with various Stripe IDs, useful for linking into the stripe @@ -21882,6 +22162,7 @@ Required scope | `ecommerce:write` docs: Stripe-generated refund reason, or null source: openapi: ../openapi.yml + inline: true OrdersUpdateResponseStripeCardBrand: enum: - Visa @@ -21907,6 +22188,7 @@ Required scope | `ecommerce:write` docs: Month that the card expires source: openapi: ../openapi.yml + inline: true OrdersUpdateResponseStripeCard: docs: > Details on the card used to fulfill this order, if this order was @@ -21924,9 +22206,9 @@ Required scope | `ecommerce:write` expires: type: optional docs: The card's expiration date. - inline: true source: openapi: ../openapi.yml + inline: true OrdersUpdateResponsePaypalDetails: properties: orderId: @@ -21949,11 +22231,13 @@ Required scope | `ecommerce:write` docs: PayPal dispute identifier source: openapi: ../openapi.yml + inline: true OrdersUpdateResponseMetadata: properties: isBuyNow: optional source: openapi: ../openapi.yml + inline: true OrdersUpdateResponseTotalsSubtotal: docs: The subtotal price properties: @@ -21968,6 +22252,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateResponseTotalsExtrasItemType: enum: - discount @@ -21992,6 +22277,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateResponseTotalsExtrasItem: docs: Extra order items, includes discounts, shipping, and taxes. properties: @@ -22009,6 +22295,7 @@ Required scope | `ecommerce:write` docs: The price for the item source: openapi: ../openapi.yml + inline: true OrdersUpdateResponseTotalsTotal: docs: The total price properties: @@ -22023,6 +22310,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateResponseTotals: docs: An object describing various pricing totals properties: @@ -22037,6 +22325,7 @@ Required scope | `ecommerce:write` docs: The total price source: openapi: ../openapi.yml + inline: true OrdersUpdateResponseDownloadFilesItem: properties: id: @@ -22052,6 +22341,7 @@ Required scope | `ecommerce:write` format: uri source: openapi: ../openapi.yml + inline: true OrdersUpdateResponse: properties: orderId: @@ -22153,18 +22443,14 @@ Required scope | `ecommerce:write` docs: > Details on the card used to fulfill this order, if this order was finalized with Stripe. - paypalDetails: - type: optional - inline: true + paypalDetails: optional customData: type: optional>> docs: > An array of additional inputs for custom order data gathering. Each object in the array represents an input with a name, and a textInput, textArea, or checkbox value. - metadata: - type: optional - inline: true + metadata: optional isCustomerDeleted: type: optional docs: > @@ -22234,6 +22520,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponseNetAmount: docs: The net amount after application fees properties: @@ -22248,6 +22535,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponseApplicationFee: docs: The application fee assessed by the platform properties: @@ -22262,6 +22550,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponseAllAddressesItemType: enum: - shipping @@ -22312,6 +22601,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponseShippingAddressType: enum: - shipping @@ -22362,6 +22652,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponseBillingAddressType: enum: - shipping @@ -22412,6 +22703,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponseCustomerInfo: docs: An object with the keys `fullName` and `email`. properties: @@ -22425,6 +22717,7 @@ Required scope | `ecommerce:write` format: email source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponsePurchasedItemsItemRowTotal: docs: The total for the row properties: @@ -22439,6 +22732,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponsePurchasedItemsItemVariantImageFileVariantsItem: properties: url: @@ -22458,6 +22752,7 @@ Required scope | `ecommerce:write` docs: The image height in pixels source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponsePurchasedItemsItemVariantImageFile: properties: size: @@ -22484,6 +22779,7 @@ Required scope | `ecommerce:write` docs: Variants of the supplied image source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponsePurchasedItemsItemVariantImage: properties: url: @@ -22491,12 +22787,10 @@ Required scope | `ecommerce:write` docs: The hosted location for the Variant's image validation: format: uri - file: - type: >- - optional - inline: true + file: optional source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponsePurchasedItemsItemVariantPrice: docs: The price corresponding to the variant properties: @@ -22511,6 +22805,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponsePurchasedItemsItem: docs: An Item that was purchased properties: @@ -22559,6 +22854,7 @@ Required scope | `ecommerce:write` docs: The physical length of the variant if provided, or null source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponseStripeDetails: docs: >- An object with various Stripe IDs, useful for linking into the stripe @@ -22590,6 +22886,7 @@ Required scope | `ecommerce:write` docs: Stripe-generated refund reason, or null source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponseStripeCardBrand: enum: - Visa @@ -22615,6 +22912,7 @@ Required scope | `ecommerce:write` docs: Month that the card expires source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponseStripeCard: docs: > Details on the card used to fulfill this order, if this order was @@ -22632,9 +22930,9 @@ Required scope | `ecommerce:write` expires: type: optional docs: The card's expiration date. - inline: true source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponsePaypalDetails: properties: orderId: @@ -22657,11 +22955,13 @@ Required scope | `ecommerce:write` docs: PayPal dispute identifier source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponseMetadata: properties: isBuyNow: optional source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponseTotalsSubtotal: docs: The subtotal price properties: @@ -22676,6 +22976,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponseTotalsExtrasItemType: enum: - discount @@ -22700,6 +23001,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponseTotalsExtrasItem: docs: Extra order items, includes discounts, shipping, and taxes. properties: @@ -22717,6 +23019,7 @@ Required scope | `ecommerce:write` docs: The price for the item source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponseTotalsTotal: docs: The total price properties: @@ -22731,6 +23034,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponseTotals: docs: An object describing various pricing totals properties: @@ -22745,6 +23049,7 @@ Required scope | `ecommerce:write` docs: The total price source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponseDownloadFilesItem: properties: id: @@ -22760,6 +23065,7 @@ Required scope | `ecommerce:write` format: uri source: openapi: ../openapi.yml + inline: true OrdersUpdateFulfillResponse: properties: orderId: @@ -22861,18 +23167,14 @@ Required scope | `ecommerce:write` docs: > Details on the card used to fulfill this order, if this order was finalized with Stripe. - paypalDetails: - type: optional - inline: true + paypalDetails: optional customData: type: optional>> docs: > An array of additional inputs for custom order data gathering. Each object in the array represents an input with a name, and a textInput, textArea, or checkbox value. - metadata: - type: optional - inline: true + metadata: optional isCustomerDeleted: type: optional docs: > @@ -22942,6 +23244,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponseNetAmount: docs: The net amount after application fees properties: @@ -22956,6 +23259,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponseApplicationFee: docs: The application fee assessed by the platform properties: @@ -22970,6 +23274,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponseAllAddressesItemType: enum: - shipping @@ -23020,6 +23325,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponseShippingAddressType: enum: - shipping @@ -23070,6 +23376,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponseBillingAddressType: enum: - shipping @@ -23120,6 +23427,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponseCustomerInfo: docs: An object with the keys `fullName` and `email`. properties: @@ -23133,6 +23441,7 @@ Required scope | `ecommerce:write` format: email source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponsePurchasedItemsItemRowTotal: docs: The total for the row properties: @@ -23147,6 +23456,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponsePurchasedItemsItemVariantImageFileVariantsItem: properties: url: @@ -23166,6 +23476,7 @@ Required scope | `ecommerce:write` docs: The image height in pixels source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponsePurchasedItemsItemVariantImageFile: properties: size: @@ -23192,6 +23503,7 @@ Required scope | `ecommerce:write` docs: Variants of the supplied image source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponsePurchasedItemsItemVariantImage: properties: url: @@ -23199,12 +23511,11 @@ Required scope | `ecommerce:write` docs: The hosted location for the Variant's image validation: format: uri - file: - type: >- - optional - inline: true + file: >- + optional source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponsePurchasedItemsItemVariantPrice: docs: The price corresponding to the variant properties: @@ -23219,6 +23530,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponsePurchasedItemsItem: docs: An Item that was purchased properties: @@ -23267,6 +23579,7 @@ Required scope | `ecommerce:write` docs: The physical length of the variant if provided, or null source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponseStripeDetails: docs: >- An object with various Stripe IDs, useful for linking into the stripe @@ -23298,6 +23611,7 @@ Required scope | `ecommerce:write` docs: Stripe-generated refund reason, or null source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponseStripeCardBrand: enum: - Visa @@ -23323,6 +23637,7 @@ Required scope | `ecommerce:write` docs: Month that the card expires source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponseStripeCard: docs: > Details on the card used to fulfill this order, if this order was @@ -23340,9 +23655,9 @@ Required scope | `ecommerce:write` expires: type: optional docs: The card's expiration date. - inline: true source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponsePaypalDetails: properties: orderId: @@ -23365,11 +23680,13 @@ Required scope | `ecommerce:write` docs: PayPal dispute identifier source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponseMetadata: properties: isBuyNow: optional source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponseTotalsSubtotal: docs: The subtotal price properties: @@ -23384,6 +23701,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponseTotalsExtrasItemType: enum: - discount @@ -23408,6 +23726,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponseTotalsExtrasItem: docs: Extra order items, includes discounts, shipping, and taxes. properties: @@ -23425,6 +23744,7 @@ Required scope | `ecommerce:write` docs: The price for the item source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponseTotalsTotal: docs: The total price properties: @@ -23439,6 +23759,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponseTotals: docs: An object describing various pricing totals properties: @@ -23453,6 +23774,7 @@ Required scope | `ecommerce:write` docs: The total price source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponseDownloadFilesItem: properties: id: @@ -23468,6 +23790,7 @@ Required scope | `ecommerce:write` format: uri source: openapi: ../openapi.yml + inline: true OrdersUpdateUnfulfillResponse: properties: orderId: @@ -23569,18 +23892,14 @@ Required scope | `ecommerce:write` docs: > Details on the card used to fulfill this order, if this order was finalized with Stripe. - paypalDetails: - type: optional - inline: true + paypalDetails: optional customData: type: optional>> docs: > An array of additional inputs for custom order data gathering. Each object in the array represents an input with a name, and a textInput, textArea, or checkbox value. - metadata: - type: optional - inline: true + metadata: optional isCustomerDeleted: type: optional docs: > @@ -23658,6 +23977,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersRefundResponseNetAmount: docs: The net amount after application fees properties: @@ -23672,6 +23992,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersRefundResponseApplicationFee: docs: The application fee assessed by the platform properties: @@ -23686,6 +24007,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersRefundResponseAllAddressesItemType: enum: - shipping @@ -23736,6 +24058,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersRefundResponseShippingAddressType: enum: - shipping @@ -23786,6 +24109,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersRefundResponseBillingAddressType: enum: - shipping @@ -23836,6 +24160,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true OrdersRefundResponseCustomerInfo: docs: An object with the keys `fullName` and `email`. properties: @@ -23849,6 +24174,7 @@ Required scope | `ecommerce:write` format: email source: openapi: ../openapi.yml + inline: true OrdersRefundResponsePurchasedItemsItemRowTotal: docs: The total for the row properties: @@ -23863,6 +24189,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersRefundResponsePurchasedItemsItemVariantImageFileVariantsItem: properties: url: @@ -23882,6 +24209,7 @@ Required scope | `ecommerce:write` docs: The image height in pixels source: openapi: ../openapi.yml + inline: true OrdersRefundResponsePurchasedItemsItemVariantImageFile: properties: size: @@ -23908,6 +24236,7 @@ Required scope | `ecommerce:write` docs: Variants of the supplied image source: openapi: ../openapi.yml + inline: true OrdersRefundResponsePurchasedItemsItemVariantImage: properties: url: @@ -23915,11 +24244,10 @@ Required scope | `ecommerce:write` docs: The hosted location for the Variant's image validation: format: uri - file: - type: optional - inline: true + file: optional source: openapi: ../openapi.yml + inline: true OrdersRefundResponsePurchasedItemsItemVariantPrice: docs: The price corresponding to the variant properties: @@ -23934,6 +24262,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersRefundResponsePurchasedItemsItem: docs: An Item that was purchased properties: @@ -23982,6 +24311,7 @@ Required scope | `ecommerce:write` docs: The physical length of the variant if provided, or null source: openapi: ../openapi.yml + inline: true OrdersRefundResponseStripeDetails: docs: >- An object with various Stripe IDs, useful for linking into the stripe @@ -24013,6 +24343,7 @@ Required scope | `ecommerce:write` docs: Stripe-generated refund reason, or null source: openapi: ../openapi.yml + inline: true OrdersRefundResponseStripeCardBrand: enum: - Visa @@ -24038,6 +24369,7 @@ Required scope | `ecommerce:write` docs: Month that the card expires source: openapi: ../openapi.yml + inline: true OrdersRefundResponseStripeCard: docs: > Details on the card used to fulfill this order, if this order was @@ -24055,9 +24387,9 @@ Required scope | `ecommerce:write` expires: type: optional docs: The card's expiration date. - inline: true source: openapi: ../openapi.yml + inline: true OrdersRefundResponsePaypalDetails: properties: orderId: @@ -24080,11 +24412,13 @@ Required scope | `ecommerce:write` docs: PayPal dispute identifier source: openapi: ../openapi.yml + inline: true OrdersRefundResponseMetadata: properties: isBuyNow: optional source: openapi: ../openapi.yml + inline: true OrdersRefundResponseTotalsSubtotal: docs: The subtotal price properties: @@ -24099,6 +24433,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersRefundResponseTotalsExtrasItemType: enum: - discount @@ -24123,6 +24458,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersRefundResponseTotalsExtrasItem: docs: Extra order items, includes discounts, shipping, and taxes. properties: @@ -24140,6 +24476,7 @@ Required scope | `ecommerce:write` docs: The price for the item source: openapi: ../openapi.yml + inline: true OrdersRefundResponseTotalsTotal: docs: The total price properties: @@ -24154,6 +24491,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true OrdersRefundResponseTotals: docs: An object describing various pricing totals properties: @@ -24168,6 +24506,7 @@ Required scope | `ecommerce:write` docs: The total price source: openapi: ../openapi.yml + inline: true OrdersRefundResponseDownloadFilesItem: properties: id: @@ -24183,6 +24522,7 @@ Required scope | `ecommerce:write` format: uri source: openapi: ../openapi.yml + inline: true OrdersRefundResponse: properties: orderId: @@ -24284,18 +24624,14 @@ Required scope | `ecommerce:write` docs: > Details on the card used to fulfill this order, if this order was finalized with Stripe. - paypalDetails: - type: optional - inline: true + paypalDetails: optional customData: type: optional>> docs: > An array of additional inputs for custom order data gathering. Each object in the array represents an input with a name, and a textInput, textArea, or checkbox value. - metadata: - type: optional - inline: true + metadata: optional isCustomerDeleted: type: optional docs: > @@ -24365,6 +24701,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadNetAmount: docs: The net amount after application fees properties: @@ -24379,6 +24716,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadApplicationFee: docs: The application fee assessed by the platform properties: @@ -24393,6 +24731,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadAllAddressesItemType: enum: - shipping @@ -24443,6 +24782,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadShippingAddressType: enum: - shipping @@ -24493,6 +24833,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadBillingAddressType: enum: - shipping @@ -24543,6 +24884,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadCustomerInfo: docs: An object with the keys `fullName` and `email`. properties: @@ -24556,6 +24898,7 @@ Required scope | `ecommerce:write` format: email source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadPurchasedItemsItemRowTotal: docs: The total for the row properties: @@ -24570,6 +24913,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadPurchasedItemsItemVariantImageFileVariantsItem: properties: url: @@ -24589,6 +24933,7 @@ Required scope | `ecommerce:write` docs: The image height in pixels source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadPurchasedItemsItemVariantImageFile: properties: size: @@ -24615,6 +24960,7 @@ Required scope | `ecommerce:write` docs: Variants of the supplied image source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadPurchasedItemsItemVariantImage: properties: url: @@ -24622,11 +24968,10 @@ Required scope | `ecommerce:write` docs: The hosted location for the Variant's image validation: format: uri - file: - type: optional - inline: true + file: optional source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadPurchasedItemsItemVariantPrice: docs: The price corresponding to the variant properties: @@ -24641,6 +24986,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadPurchasedItemsItem: docs: An Item that was purchased properties: @@ -24689,6 +25035,7 @@ Required scope | `ecommerce:write` docs: The physical length of the variant if provided, or null source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadStripeDetails: docs: >- An object with various Stripe IDs, useful for linking into the stripe @@ -24720,6 +25067,7 @@ Required scope | `ecommerce:write` docs: Stripe-generated refund reason, or null source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadStripeCardBrand: enum: - Visa @@ -24745,6 +25093,7 @@ Required scope | `ecommerce:write` docs: Month that the card expires source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadStripeCard: docs: > Details on the card used to fulfill this order, if this order was @@ -24762,9 +25111,9 @@ Required scope | `ecommerce:write` expires: type: optional docs: The card's expiration date. - inline: true source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadPaypalDetails: properties: orderId: @@ -24787,11 +25136,13 @@ Required scope | `ecommerce:write` docs: PayPal dispute identifier source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadMetadata: properties: isBuyNow: optional source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadTotalsSubtotal: docs: The subtotal price properties: @@ -24806,6 +25157,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadTotalsExtrasItemType: enum: - discount @@ -24830,6 +25182,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadTotalsExtrasItem: docs: Extra order items, includes discounts, shipping, and taxes. properties: @@ -24847,6 +25200,7 @@ Required scope | `ecommerce:write` docs: The price for the item source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadTotalsTotal: docs: The total price properties: @@ -24861,6 +25215,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadTotals: docs: An object describing various pricing totals properties: @@ -24875,6 +25230,7 @@ Required scope | `ecommerce:write` docs: The total price source: openapi: ../openapi.yml + inline: true EcommNewOrderPayloadDownloadFilesItem: properties: id: @@ -24890,6 +25246,7 @@ Required scope | `ecommerce:write` format: uri source: openapi: ../openapi.yml + inline: true EcommNewOrderPayload: properties: orderId: @@ -24991,18 +25348,14 @@ Required scope | `ecommerce:write` docs: > Details on the card used to fulfill this order, if this order was finalized with Stripe. - paypalDetails: - type: optional - inline: true + paypalDetails: optional customData: type: optional>> docs: > An array of additional inputs for custom order data gathering. Each object in the array represents an input with a name, and a textInput, textArea, or checkbox value. - metadata: - type: optional - inline: true + metadata: optional isCustomerDeleted: type: optional docs: > @@ -25072,6 +25425,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadNetAmount: docs: The net amount after application fees properties: @@ -25086,6 +25440,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadApplicationFee: docs: The application fee assessed by the platform properties: @@ -25100,6 +25455,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadAllAddressesItemType: enum: - shipping @@ -25150,6 +25506,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadShippingAddressType: enum: - shipping @@ -25200,6 +25557,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadBillingAddressType: enum: - shipping @@ -25250,6 +25608,7 @@ Required scope | `ecommerce:write` docs: The postal code of the address source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadCustomerInfo: docs: An object with the keys `fullName` and `email`. properties: @@ -25263,6 +25622,7 @@ Required scope | `ecommerce:write` format: email source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadPurchasedItemsItemRowTotal: docs: The total for the row properties: @@ -25277,6 +25637,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadPurchasedItemsItemVariantImageFileVariantsItem: properties: url: @@ -25296,6 +25657,7 @@ Required scope | `ecommerce:write` docs: The image height in pixels source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadPurchasedItemsItemVariantImageFile: properties: size: @@ -25322,6 +25684,7 @@ Required scope | `ecommerce:write` docs: Variants of the supplied image source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadPurchasedItemsItemVariantImage: properties: url: @@ -25329,11 +25692,10 @@ Required scope | `ecommerce:write` docs: The hosted location for the Variant's image validation: format: uri - file: - type: optional - inline: true + file: optional source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadPurchasedItemsItemVariantPrice: docs: The price corresponding to the variant properties: @@ -25348,6 +25710,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadPurchasedItemsItem: docs: An Item that was purchased properties: @@ -25396,6 +25759,7 @@ Required scope | `ecommerce:write` docs: The physical length of the variant if provided, or null source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadStripeDetails: docs: >- An object with various Stripe IDs, useful for linking into the stripe @@ -25427,6 +25791,7 @@ Required scope | `ecommerce:write` docs: Stripe-generated refund reason, or null source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadStripeCardBrand: enum: - Visa @@ -25452,6 +25817,7 @@ Required scope | `ecommerce:write` docs: Month that the card expires source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadStripeCard: docs: > Details on the card used to fulfill this order, if this order was @@ -25469,9 +25835,9 @@ Required scope | `ecommerce:write` expires: type: optional docs: The card's expiration date. - inline: true source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadPaypalDetails: properties: orderId: @@ -25494,11 +25860,13 @@ Required scope | `ecommerce:write` docs: PayPal dispute identifier source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadMetadata: properties: isBuyNow: optional source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadTotalsSubtotal: docs: The subtotal price properties: @@ -25513,6 +25881,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadTotalsExtrasItemType: enum: - discount @@ -25537,6 +25906,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadTotalsExtrasItem: docs: Extra order items, includes discounts, shipping, and taxes. properties: @@ -25554,6 +25924,7 @@ Required scope | `ecommerce:write` docs: The price for the item source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadTotalsTotal: docs: The total price properties: @@ -25568,6 +25939,7 @@ Required scope | `ecommerce:write` docs: The user-facing string representation of the amount source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadTotals: docs: An object describing various pricing totals properties: @@ -25582,6 +25954,7 @@ Required scope | `ecommerce:write` docs: The total price source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayloadDownloadFilesItem: properties: id: @@ -25597,6 +25970,7 @@ Required scope | `ecommerce:write` format: uri source: openapi: ../openapi.yml + inline: true EcommOrderChangedPayload: properties: orderId: @@ -25698,18 +26072,14 @@ Required scope | `ecommerce:write` docs: > Details on the card used to fulfill this order, if this order was finalized with Stripe. - paypalDetails: - type: optional - inline: true + paypalDetails: optional customData: type: optional>> docs: > An array of additional inputs for custom order data gathering. Each object in the array represents an input with a name, and a textInput, textArea, or checkbox value. - metadata: - type: optional - inline: true + metadata: optional isCustomerDeleted: type: optional docs: > @@ -28163,10 +28533,10 @@ Required scope | `pages:write` "types": { "PageCreatedPayload": { "docs": "The Webhook payload for when a Page is created", + "inline": undefined, "properties": { "payload": { "docs": "The payload of data sent from Webflow", - "inline": true, "type": "optional", }, "triggerType": { @@ -28180,6 +28550,7 @@ Required scope | `pages:write` }, "PageCreatedPayloadPayload": { "docs": "The payload of data sent from Webflow", + "inline": true, "properties": { "createdOn": "optional", "pageId": "optional", @@ -28192,10 +28563,10 @@ Required scope | `pages:write` }, "PageDeletedPayload": { "docs": "The Webhook payload for when a Page is deleted", + "inline": undefined, "properties": { "payload": { "docs": "The payload of data sent from Webflow", - "inline": true, "type": "optional", }, "triggerType": { @@ -28209,6 +28580,7 @@ Required scope | `pages:write` }, "PageDeletedPayloadPayload": { "docs": "The payload of data sent from Webflow", + "inline": true, "properties": { "deletedOn": "optional", "pageId": "optional", @@ -28221,10 +28593,10 @@ Required scope | `pages:write` }, "PageMetadataUpdatedPayload": { "docs": "The Webhook payload for when a Page's metadata is updated", + "inline": undefined, "properties": { "payload": { "docs": "The payload of data sent from Webflow", - "inline": true, "type": "optional", }, "triggerType": { @@ -28238,6 +28610,7 @@ Required scope | `pages:write` }, "PageMetadataUpdatedPayloadPayload": { "docs": "The payload of data sent from Webflow", + "inline": true, "properties": { "lastUpdated": "optional", "pageId": "optional", @@ -28251,6 +28624,7 @@ Required scope | `pages:write` "PagesGetContentResponse": { "docs": "The DOM (Document Object Model) schema represents the content structure of a web page. It captures various content nodes, such as text and images, along with their associated attributes. Each node has a unique identifier and can be of different types like text or image. The schema also provides pagination details for scenarios where the content nodes are too many to be fetched in a single request. ", + "inline": undefined, "properties": { "nodes": "optional>", "pageId": { @@ -28259,7 +28633,6 @@ Required scope | `pages:write` }, "pagination": { "docs": "Pagination object", - "inline": true, "type": "optional", }, }, @@ -28270,6 +28643,7 @@ Required scope | `pages:write` "PagesGetContentResponseNodesItem": { "docs": "A generic representation of a content element within the Document Object Model (DOM). Each node has a unique identifier and a specific type that determines its content structure and attributes. ", + "inline": true, "properties": { "attributes": { "docs": "The custom attributes of the node", @@ -28282,13 +28656,11 @@ Required scope | `pages:write` "image": { "docs": "Represents an image within the DOM. It contains details about the image, such as its alternative text (alt) for accessibility and an asset identifier for fetching the actual image resource. Additional attributes can be associated with the image for styling or other purposes. ", - "inline": true, "type": "optional", }, "text": { "docs": "Represents textual content within the DOM. It contains both the raw text and its HTML representation, allowing for flexibility in rendering and processing. Additional attributes can be associated with the text for styling or other purposes. ", - "inline": true, "type": "optional", }, "type": "optional", @@ -28300,6 +28672,7 @@ Required scope | `pages:write` "PagesGetContentResponseNodesItemImage": { "docs": "Represents an image within the DOM. It contains details about the image, such as its alternative text (alt) for accessibility and an asset identifier for fetching the actual image resource. Additional attributes can be associated with the image for styling or other purposes. ", + "inline": true, "properties": { "alt": "optional", "assetId": "optional", @@ -28311,6 +28684,7 @@ Required scope | `pages:write` "PagesGetContentResponseNodesItemText": { "docs": "Represents textual content within the DOM. It contains both the raw text and its HTML representation, allowing for flexibility in rendering and processing. Additional attributes can be associated with the text for styling or other purposes. ", + "inline": true, "properties": { "html": "optional", "text": "optional", @@ -28330,6 +28704,7 @@ Required scope | `pages:write` }, "PagesGetContentResponsePagination": { "docs": "Pagination object", + "inline": true, "properties": { "limit": { "docs": "The limit used for pagination", @@ -28350,6 +28725,7 @@ Required scope | `pages:write` }, "PagesGetMetadataResponse": { "docs": "The Page object", + "inline": undefined, "properties": { "archived": { "default": false, @@ -28393,7 +28769,6 @@ Required scope | `pages:write` }, "openGraph": { "docs": "Open Graph fields for the Page", - "inline": true, "type": "optional", }, "parentId": { @@ -28406,7 +28781,6 @@ Required scope | `pages:write` }, "seo": { "docs": "SEO-related fields for the Page", - "inline": true, "type": "optional", }, "siteId": { @@ -28428,6 +28802,7 @@ Required scope | `pages:write` }, "PagesGetMetadataResponseOpenGraph": { "docs": "Open Graph fields for the Page", + "inline": true, "properties": { "description": { "docs": "The description supplied to Open Graph annotations", @@ -28454,6 +28829,7 @@ Required scope | `pages:write` }, "PagesGetMetadataResponseSeo": { "docs": "SEO-related fields for the Page", + "inline": true, "properties": { "description": { "docs": "The Page description shown in search engine results", @@ -28470,11 +28846,11 @@ Required scope | `pages:write` }, "PagesListResponse": { "docs": "The Page object", + "inline": undefined, "properties": { "pages": "optional>", "pagination": { "docs": "Pagination object", - "inline": true, "type": "optional", }, }, @@ -28484,6 +28860,7 @@ Required scope | `pages:write` }, "PagesListResponsePagesItem": { "docs": "The Page object", + "inline": true, "properties": { "archived": { "default": false, @@ -28527,7 +28904,6 @@ Required scope | `pages:write` }, "openGraph": { "docs": "Open Graph fields for the Page", - "inline": true, "type": "optional", }, "parentId": { @@ -28540,7 +28916,6 @@ Required scope | `pages:write` }, "seo": { "docs": "SEO-related fields for the Page", - "inline": true, "type": "optional", }, "siteId": { @@ -28562,6 +28937,7 @@ Required scope | `pages:write` }, "PagesListResponsePagesItemOpenGraph": { "docs": "Open Graph fields for the Page", + "inline": true, "properties": { "description": { "docs": "The description supplied to Open Graph annotations", @@ -28588,6 +28964,7 @@ Required scope | `pages:write` }, "PagesListResponsePagesItemSeo": { "docs": "SEO-related fields for the Page", + "inline": true, "properties": { "description": { "docs": "The Page description shown in search engine results", @@ -28604,6 +28981,7 @@ Required scope | `pages:write` }, "PagesListResponsePagination": { "docs": "Pagination object", + "inline": true, "properties": { "limit": { "docs": "The limit used for pagination", @@ -28624,6 +29002,7 @@ Required scope | `pages:write` }, "UpdatePageSettingsRequestOpenGraph": { "docs": "Open Graph fields for the Page", + "inline": true, "properties": { "description": { "docs": "The description supplied to Open Graph annotations", @@ -28650,6 +29029,7 @@ Required scope | `pages:write` }, "UpdatePageSettingsRequestSeo": { "docs": "SEO-related fields for the Page", + "inline": true, "properties": { "description": { "docs": "The Page description shown in search engine results", @@ -28666,6 +29046,7 @@ Required scope | `pages:write` }, "UpdatePageSettingsResponse": { "docs": "The Page object", + "inline": undefined, "properties": { "archived": { "default": false, @@ -28709,7 +29090,6 @@ Required scope | `pages:write` }, "openGraph": { "docs": "Open Graph fields for the Page", - "inline": true, "type": "optional", }, "parentId": { @@ -28722,7 +29102,6 @@ Required scope | `pages:write` }, "seo": { "docs": "SEO-related fields for the Page", - "inline": true, "type": "optional", }, "siteId": { @@ -28744,6 +29123,7 @@ Required scope | `pages:write` }, "UpdatePageSettingsResponseOpenGraph": { "docs": "Open Graph fields for the Page", + "inline": true, "properties": { "description": { "docs": "The description supplied to Open Graph annotations", @@ -28770,6 +29150,7 @@ Required scope | `pages:write` }, "UpdatePageSettingsResponseSeo": { "docs": "SEO-related fields for the Page", + "inline": true, "properties": { "description": { "docs": "The Page description shown in search engine results", @@ -28786,6 +29167,7 @@ Required scope | `pages:write` }, "UpdateStaticContentRequestNodesItem": { "docs": undefined, + "inline": true, "properties": { "nodeId": { "docs": "Node UUID", @@ -28802,6 +29184,7 @@ Required scope | `pages:write` }, "UpdateStaticContentResponse": { "docs": undefined, + "inline": undefined, "properties": { "errors": { "docs": "A list of error messages, if any.", @@ -28900,6 +29283,7 @@ Required scope | `pages:write` docs: The Page description shown in search engine results source: openapi: ../openapi.yml + inline: true PagesListResponsePagesItemOpenGraph: docs: Open Graph fields for the Page properties: @@ -28921,6 +29305,7 @@ Required scope | `pages:write` default: true source: openapi: ../openapi.yml + inline: true PagesListResponsePagesItem: docs: The Page object properties: @@ -28973,11 +29358,9 @@ Required scope | `pages:write` seo: type: optional docs: SEO-related fields for the Page - inline: true openGraph: type: optional docs: Open Graph fields for the Page - inline: true localeId: type: optional docs: Unique ID of the page locale @@ -28986,6 +29369,7 @@ Required scope | `pages:write` docs: Relative path of the published page URL source: openapi: ../openapi.yml + inline: true PagesListResponsePagination: docs: Pagination object properties: @@ -29000,6 +29384,7 @@ Required scope | `pages:write` docs: The total number of records source: openapi: ../openapi.yml + inline: true PagesListResponse: docs: The Page object properties: @@ -29007,7 +29392,6 @@ Required scope | `pages:write` pagination: type: optional docs: Pagination object - inline: true source: openapi: ../openapi.yml PagesGetMetadataResponseSeo: @@ -29021,6 +29405,7 @@ Required scope | `pages:write` docs: The Page description shown in search engine results source: openapi: ../openapi.yml + inline: true PagesGetMetadataResponseOpenGraph: docs: Open Graph fields for the Page properties: @@ -29042,6 +29427,7 @@ Required scope | `pages:write` default: true source: openapi: ../openapi.yml + inline: true PagesGetMetadataResponse: docs: The Page object properties: @@ -29094,11 +29480,9 @@ Required scope | `pages:write` seo: type: optional docs: SEO-related fields for the Page - inline: true openGraph: type: optional docs: Open Graph fields for the Page - inline: true localeId: type: optional docs: Unique ID of the page locale @@ -29118,6 +29502,7 @@ Required scope | `pages:write` docs: The Page description shown in search engine results source: openapi: ../openapi.yml + inline: true UpdatePageSettingsRequestOpenGraph: docs: Open Graph fields for the Page properties: @@ -29139,6 +29524,7 @@ Required scope | `pages:write` default: true source: openapi: ../openapi.yml + inline: true UpdatePageSettingsResponseSeo: docs: SEO-related fields for the Page properties: @@ -29150,6 +29536,7 @@ Required scope | `pages:write` docs: The Page description shown in search engine results source: openapi: ../openapi.yml + inline: true UpdatePageSettingsResponseOpenGraph: docs: Open Graph fields for the Page properties: @@ -29171,6 +29558,7 @@ Required scope | `pages:write` default: true source: openapi: ../openapi.yml + inline: true UpdatePageSettingsResponse: docs: The Page object properties: @@ -29223,11 +29611,9 @@ Required scope | `pages:write` seo: type: optional docs: SEO-related fields for the Page - inline: true openGraph: type: optional docs: Open Graph fields for the Page - inline: true localeId: type: optional docs: Unique ID of the page locale @@ -29253,6 +29639,7 @@ Required scope | `pages:write` text: optional source: openapi: ../openapi.yml + inline: true PagesGetContentResponseNodesItemImage: docs: > Represents an image within the DOM. It contains details about the image, @@ -29264,6 +29651,7 @@ Required scope | `pages:write` assetId: optional source: openapi: ../openapi.yml + inline: true PagesGetContentResponseNodesItem: docs: > A generic representation of a content element within the Document Object @@ -29281,7 +29669,6 @@ Required scope | `pages:write` text and its HTML representation, allowing for flexibility in rendering and processing. Additional attributes can be associated with the text for styling or other purposes. - inline: true image: type: optional docs: > @@ -29290,12 +29677,12 @@ Required scope | `pages:write` asset identifier for fetching the actual image resource. Additional attributes can be associated with the image for styling or other purposes. - inline: true attributes: type: optional> docs: The custom attributes of the node source: openapi: ../openapi.yml + inline: true PagesGetContentResponsePagination: docs: Pagination object properties: @@ -29310,6 +29697,7 @@ Required scope | `pages:write` docs: The total number of records source: openapi: ../openapi.yml + inline: true PagesGetContentResponse: docs: > The DOM (Document Object Model) schema represents the content structure of @@ -29326,7 +29714,6 @@ Required scope | `pages:write` pagination: type: optional docs: Pagination object - inline: true source: openapi: ../openapi.yml UpdateStaticContentRequestNodesItem: @@ -29341,6 +29728,7 @@ Required scope | `pages:write` be the same as what's returned from the Get Content endpoint. source: openapi: ../openapi.yml + inline: true UpdateStaticContentResponse: properties: errors: @@ -29357,6 +29745,7 @@ Required scope | `pages:write` createdOn: optional source: openapi: ../openapi.yml + inline: true PageCreatedPayload: docs: The Webhook payload for when a Page is created properties: @@ -29366,7 +29755,6 @@ Required scope | `pages:write` payload: type: optional docs: The payload of data sent from Webflow - inline: true source: openapi: ../openapi.yml PageMetadataUpdatedPayloadPayload: @@ -29378,6 +29766,7 @@ Required scope | `pages:write` lastUpdated: optional source: openapi: ../openapi.yml + inline: true PageMetadataUpdatedPayload: docs: The Webhook payload for when a Page's metadata is updated properties: @@ -29387,7 +29776,6 @@ Required scope | `pages:write` payload: type: optional docs: The payload of data sent from Webflow - inline: true source: openapi: ../openapi.yml PageDeletedPayloadPayload: @@ -29399,6 +29787,7 @@ Required scope | `pages:write` deletedOn: optional source: openapi: ../openapi.yml + inline: true PageDeletedPayload: docs: The Webhook payload for when a Page is deleted properties: @@ -29408,7 +29797,6 @@ Required scope | `pages:write` payload: type: optional docs: The payload of data sent from Webflow - inline: true source: openapi: ../openapi.yml imports: @@ -30063,6 +30451,7 @@ webhooks: "types": { "ScriptsGetCustomCodeResponse": { "docs": undefined, + "inline": undefined, "properties": { "createdOn": { "docs": "Date when the Site's scripts were created", @@ -30083,6 +30472,7 @@ webhooks: }, "ScriptsGetCustomCodeResponseScriptsItem": { "docs": undefined, + "inline": true, "properties": { "attributes": { "docs": "Developer-specified key/value pairs to be applied as attributes to the script", @@ -30119,6 +30509,7 @@ webhooks: }, "ScriptsUpsertCustomCodeRequestScriptsItem": { "docs": undefined, + "inline": true, "properties": { "attributes": { "docs": "Developer-specified key/value pairs to be applied as attributes to the script", @@ -30155,6 +30546,7 @@ webhooks: }, "ScriptsUpsertCustomCodeResponse": { "docs": undefined, + "inline": undefined, "properties": { "createdOn": { "docs": "Date when the Site's scripts were created", @@ -30175,6 +30567,7 @@ webhooks: }, "ScriptsUpsertCustomCodeResponseScriptsItem": { "docs": undefined, + "inline": true, "properties": { "attributes": { "docs": "Developer-specified key/value pairs to be applied as attributes to the script", @@ -30243,6 +30636,7 @@ webhooks: script source: openapi: ../openapi.yml + inline: true ScriptsGetCustomCodeResponse: properties: scripts: @@ -30287,6 +30681,7 @@ webhooks: script source: openapi: ../openapi.yml + inline: true ScriptsUpsertCustomCodeResponseScriptsItemLocation: enum: - header @@ -30318,6 +30713,7 @@ webhooks: script source: openapi: ../openapi.yml + inline: true ScriptsUpsertCustomCodeResponse: properties: scripts: @@ -31283,6 +31679,7 @@ Required scope | `ecommerce:write` "types": { "ProductsCreateRequestProduct": { "docs": "The Product object", + "inline": true, "properties": { "fieldData": { "docs": "Contains content-specific details for a product, covering both standard (e.g., title, description) and custom fields tailored to the product setup.", @@ -31295,6 +31692,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateRequestProductFieldData": { "docs": "Contains content-specific details for a product, covering both standard (e.g., title, description) and custom fields tailored to the product setup.", + "inline": true, "properties": { "categories": { "docs": "The categories your product belongs to.", @@ -31351,6 +31749,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateRequestProductFieldDataSkuPropertiesItem": { "docs": "A variant/option type for a SKU", + "inline": true, "properties": { "enum": { "docs": "The individual Product variants that are contained within the collection", @@ -31371,6 +31770,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateRequestProductFieldDataSkuPropertiesItemEnumItem": { "docs": "Enumerated Product variants/Options for the SKU", + "inline": true, "properties": { "id": { "docs": "Unique identifier for a Product variant/Option", @@ -31523,6 +31923,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateRequestSku": { "docs": "The SKU object", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -31555,24 +31956,20 @@ Required scope | `ecommerce:write` }, "ProductsCreateRequestSkuFieldData": { "docs": "Standard and Custom fields for a SKU", + "inline": true, "properties": { "compare-at-price": { "docs": "comparison price of SKU", - "inline": true, "type": "optional", }, "ec-sku-billing-method": "optional", - "ec-sku-subscription-plan": { - "inline": true, - "type": "optional", - }, + "ec-sku-subscription-plan": "optional", "name": { "docs": "Name of the Product", "type": "string", }, "price": { "docs": "price of SKU", - "inline": true, "type": "ProductsCreateRequestSkuFieldDataPrice", }, "quantity": { @@ -31600,6 +31997,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateRequestSkuFieldDataCompareAtPrice": { "docs": "comparison price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -31628,6 +32026,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateRequestSkuFieldDataEcSkuSubscriptionPlan": { "docs": undefined, + "inline": true, "properties": { "frequency": { "docs": "Frequncy of billing within interval", @@ -31661,6 +32060,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateRequestSkuFieldDataEcSkuSubscriptionPlanPlansItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier of the plan", @@ -31692,6 +32092,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateRequestSkuFieldDataPrice": { "docs": "price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -31708,10 +32109,10 @@ Required scope | `ecommerce:write` }, "ProductsCreateResponse": { "docs": "A product and its SKUs.", + "inline": undefined, "properties": { "product": { "docs": "The Product object", - "inline": true, "type": "optional", }, "skus": { @@ -31725,6 +32126,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateResponseProduct": { "docs": "The Product object", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -31767,6 +32169,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateResponseProductFieldData": { "docs": "Contains content-specific details for a product, covering both standard (e.g., title, description) and custom fields tailored to the product setup.", + "inline": true, "properties": { "categories": { "docs": "The categories your product belongs to.", @@ -31823,6 +32226,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateResponseProductFieldDataSkuPropertiesItem": { "docs": "A variant/option type for a SKU", + "inline": true, "properties": { "enum": { "docs": "The individual Product variants that are contained within the collection", @@ -31843,6 +32247,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateResponseProductFieldDataSkuPropertiesItemEnumItem": { "docs": "Enumerated Product variants/Options for the SKU", + "inline": true, "properties": { "id": { "docs": "Unique identifier for a Product variant/Option", @@ -31984,6 +32389,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateResponseSkusItem": { "docs": "The SKU object", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -32016,24 +32422,20 @@ Required scope | `ecommerce:write` }, "ProductsCreateResponseSkusItemFieldData": { "docs": "Standard and Custom fields for a SKU", + "inline": true, "properties": { "compare-at-price": { "docs": "comparison price of SKU", - "inline": true, "type": "optional", }, "ec-sku-billing-method": "optional", - "ec-sku-subscription-plan": { - "inline": true, - "type": "optional", - }, + "ec-sku-subscription-plan": "optional", "name": { "docs": "Name of the Product", "type": "string", }, "price": { "docs": "price of SKU", - "inline": true, "type": "ProductsCreateResponseSkusItemFieldDataPrice", }, "quantity": { @@ -32061,6 +32463,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateResponseSkusItemFieldDataCompareAtPrice": { "docs": "comparison price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -32089,6 +32492,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateResponseSkusItemFieldDataEcSkuSubscriptionPlan": { "docs": undefined, + "inline": true, "properties": { "frequency": { "docs": "Frequncy of billing within interval", @@ -32122,6 +32526,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateResponseSkusItemFieldDataEcSkuSubscriptionPlanPlansItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier of the plan", @@ -32153,6 +32558,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateResponseSkusItemFieldDataPrice": { "docs": "price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -32180,6 +32586,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuRequestSkusItem": { "docs": "The SKU object", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -32212,24 +32619,20 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuRequestSkusItemFieldData": { "docs": "Standard and Custom fields for a SKU", + "inline": true, "properties": { "compare-at-price": { "docs": "comparison price of SKU", - "inline": true, "type": "optional", }, "ec-sku-billing-method": "optional", - "ec-sku-subscription-plan": { - "inline": true, - "type": "optional", - }, + "ec-sku-subscription-plan": "optional", "name": { "docs": "Name of the Product", "type": "string", }, "price": { "docs": "price of SKU", - "inline": true, "type": "ProductsCreateSkuRequestSkusItemFieldDataPrice", }, "quantity": { @@ -32257,6 +32660,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuRequestSkusItemFieldDataCompareAtPrice": { "docs": "comparison price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -32285,6 +32689,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuRequestSkusItemFieldDataEcSkuSubscriptionPlan": { "docs": undefined, + "inline": true, "properties": { "frequency": { "docs": "Frequncy of billing within interval", @@ -32318,6 +32723,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuRequestSkusItemFieldDataEcSkuSubscriptionPlanPlansItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier of the plan", @@ -32349,6 +32755,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuRequestSkusItemFieldDataPrice": { "docs": "price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -32365,6 +32772,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuResponse": { "docs": undefined, + "inline": undefined, "properties": { "skus": "optional>", }, @@ -32374,6 +32782,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuResponseSkusItem": { "docs": "The SKU object", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -32406,24 +32815,20 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuResponseSkusItemFieldData": { "docs": "Standard and Custom fields for a SKU", + "inline": true, "properties": { "compare-at-price": { "docs": "comparison price of SKU", - "inline": true, "type": "optional", }, "ec-sku-billing-method": "optional", - "ec-sku-subscription-plan": { - "inline": true, - "type": "optional", - }, + "ec-sku-subscription-plan": "optional", "name": { "docs": "Name of the Product", "type": "string", }, "price": { "docs": "price of SKU", - "inline": true, "type": "ProductsCreateSkuResponseSkusItemFieldDataPrice", }, "quantity": { @@ -32451,6 +32856,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuResponseSkusItemFieldDataCompareAtPrice": { "docs": "comparison price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -32479,6 +32885,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuResponseSkusItemFieldDataEcSkuSubscriptionPlan": { "docs": undefined, + "inline": true, "properties": { "frequency": { "docs": "Frequncy of billing within interval", @@ -32512,6 +32919,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuResponseSkusItemFieldDataEcSkuSubscriptionPlanPlansItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier of the plan", @@ -32543,6 +32951,7 @@ Required scope | `ecommerce:write` }, "ProductsCreateSkuResponseSkusItemFieldDataPrice": { "docs": "price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -32559,10 +32968,10 @@ Required scope | `ecommerce:write` }, "ProductsGetResponse": { "docs": "A product and its SKUs.", + "inline": undefined, "properties": { "product": { "docs": "The Product object", - "inline": true, "type": "optional", }, "skus": { @@ -32576,6 +32985,7 @@ Required scope | `ecommerce:write` }, "ProductsGetResponseProduct": { "docs": "The Product object", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -32618,6 +33028,7 @@ Required scope | `ecommerce:write` }, "ProductsGetResponseProductFieldData": { "docs": "Contains content-specific details for a product, covering both standard (e.g., title, description) and custom fields tailored to the product setup.", + "inline": true, "properties": { "categories": { "docs": "The categories your product belongs to.", @@ -32674,6 +33085,7 @@ Required scope | `ecommerce:write` }, "ProductsGetResponseProductFieldDataSkuPropertiesItem": { "docs": "A variant/option type for a SKU", + "inline": true, "properties": { "enum": { "docs": "The individual Product variants that are contained within the collection", @@ -32694,6 +33106,7 @@ Required scope | `ecommerce:write` }, "ProductsGetResponseProductFieldDataSkuPropertiesItemEnumItem": { "docs": "Enumerated Product variants/Options for the SKU", + "inline": true, "properties": { "id": { "docs": "Unique identifier for a Product variant/Option", @@ -32835,6 +33248,7 @@ Required scope | `ecommerce:write` }, "ProductsGetResponseSkusItem": { "docs": "The SKU object", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -32867,24 +33281,20 @@ Required scope | `ecommerce:write` }, "ProductsGetResponseSkusItemFieldData": { "docs": "Standard and Custom fields for a SKU", + "inline": true, "properties": { "compare-at-price": { "docs": "comparison price of SKU", - "inline": true, "type": "optional", }, "ec-sku-billing-method": "optional", - "ec-sku-subscription-plan": { - "inline": true, - "type": "optional", - }, + "ec-sku-subscription-plan": "optional", "name": { "docs": "Name of the Product", "type": "string", }, "price": { "docs": "price of SKU", - "inline": true, "type": "ProductsGetResponseSkusItemFieldDataPrice", }, "quantity": { @@ -32912,6 +33322,7 @@ Required scope | `ecommerce:write` }, "ProductsGetResponseSkusItemFieldDataCompareAtPrice": { "docs": "comparison price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -32940,6 +33351,7 @@ Required scope | `ecommerce:write` }, "ProductsGetResponseSkusItemFieldDataEcSkuSubscriptionPlan": { "docs": undefined, + "inline": true, "properties": { "frequency": { "docs": "Frequncy of billing within interval", @@ -32973,6 +33385,7 @@ Required scope | `ecommerce:write` }, "ProductsGetResponseSkusItemFieldDataEcSkuSubscriptionPlanPlansItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier of the plan", @@ -33004,6 +33417,7 @@ Required scope | `ecommerce:write` }, "ProductsGetResponseSkusItemFieldDataPrice": { "docs": "price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -33020,6 +33434,7 @@ Required scope | `ecommerce:write` }, "ProductsListResponse": { "docs": "Results from product list", + "inline": undefined, "properties": { "items": { "docs": "List of Item objects within the Collection. Contains product and skus keys for each Item", @@ -33027,7 +33442,6 @@ Required scope | `ecommerce:write` }, "pagination": { "docs": "Pagination object", - "inline": true, "type": "optional", }, }, @@ -33037,10 +33451,10 @@ Required scope | `ecommerce:write` }, "ProductsListResponseItemsItem": { "docs": "A product and its SKUs.", + "inline": true, "properties": { "product": { "docs": "The Product object", - "inline": true, "type": "optional", }, "skus": { @@ -33054,6 +33468,7 @@ Required scope | `ecommerce:write` }, "ProductsListResponseItemsItemProduct": { "docs": "The Product object", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -33096,6 +33511,7 @@ Required scope | `ecommerce:write` }, "ProductsListResponseItemsItemProductFieldData": { "docs": "Contains content-specific details for a product, covering both standard (e.g., title, description) and custom fields tailored to the product setup.", + "inline": true, "properties": { "categories": { "docs": "The categories your product belongs to.", @@ -33152,6 +33568,7 @@ Required scope | `ecommerce:write` }, "ProductsListResponseItemsItemProductFieldDataSkuPropertiesItem": { "docs": "A variant/option type for a SKU", + "inline": true, "properties": { "enum": { "docs": "The individual Product variants that are contained within the collection", @@ -33172,6 +33589,7 @@ Required scope | `ecommerce:write` }, "ProductsListResponseItemsItemProductFieldDataSkuPropertiesItemEnumItem": { "docs": "Enumerated Product variants/Options for the SKU", + "inline": true, "properties": { "id": { "docs": "Unique identifier for a Product variant/Option", @@ -33313,6 +33731,7 @@ Required scope | `ecommerce:write` }, "ProductsListResponseItemsItemSkusItem": { "docs": "The SKU object", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -33345,24 +33764,20 @@ Required scope | `ecommerce:write` }, "ProductsListResponseItemsItemSkusItemFieldData": { "docs": "Standard and Custom fields for a SKU", + "inline": true, "properties": { "compare-at-price": { "docs": "comparison price of SKU", - "inline": true, "type": "optional", }, "ec-sku-billing-method": "optional", - "ec-sku-subscription-plan": { - "inline": true, - "type": "optional", - }, + "ec-sku-subscription-plan": "optional", "name": { "docs": "Name of the Product", "type": "string", }, "price": { "docs": "price of SKU", - "inline": true, "type": "ProductsListResponseItemsItemSkusItemFieldDataPrice", }, "quantity": { @@ -33390,6 +33805,7 @@ Required scope | `ecommerce:write` }, "ProductsListResponseItemsItemSkusItemFieldDataCompareAtPrice": { "docs": "comparison price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -33418,6 +33834,7 @@ Required scope | `ecommerce:write` }, "ProductsListResponseItemsItemSkusItemFieldDataEcSkuSubscriptionPlan": { "docs": undefined, + "inline": true, "properties": { "frequency": { "docs": "Frequncy of billing within interval", @@ -33451,6 +33868,7 @@ Required scope | `ecommerce:write` }, "ProductsListResponseItemsItemSkusItemFieldDataEcSkuSubscriptionPlanPlansItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier of the plan", @@ -33482,6 +33900,7 @@ Required scope | `ecommerce:write` }, "ProductsListResponseItemsItemSkusItemFieldDataPrice": { "docs": "price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -33498,6 +33917,7 @@ Required scope | `ecommerce:write` }, "ProductsListResponsePagination": { "docs": "Pagination object", + "inline": true, "properties": { "limit": { "docs": "The limit used for pagination", @@ -33518,6 +33938,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateRequestProduct": { "docs": "The Product object", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -33560,6 +33981,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateRequestProductFieldData": { "docs": "Contains content-specific details for a product, covering both standard (e.g., title, description) and custom fields tailored to the product setup.", + "inline": true, "properties": { "categories": { "docs": "The categories your product belongs to.", @@ -33616,6 +34038,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateRequestProductFieldDataSkuPropertiesItem": { "docs": "A variant/option type for a SKU", + "inline": true, "properties": { "enum": { "docs": "The individual Product variants that are contained within the collection", @@ -33636,6 +34059,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateRequestProductFieldDataSkuPropertiesItemEnumItem": { "docs": "Enumerated Product variants/Options for the SKU", + "inline": true, "properties": { "id": { "docs": "Unique identifier for a Product variant/Option", @@ -33788,6 +34212,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateRequestSku": { "docs": "The SKU object", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -33820,24 +34245,20 @@ Required scope | `ecommerce:write` }, "ProductsUpdateRequestSkuFieldData": { "docs": "Standard and Custom fields for a SKU", + "inline": true, "properties": { "compare-at-price": { "docs": "comparison price of SKU", - "inline": true, "type": "optional", }, "ec-sku-billing-method": "optional", - "ec-sku-subscription-plan": { - "inline": true, - "type": "optional", - }, + "ec-sku-subscription-plan": "optional", "name": { "docs": "Name of the Product", "type": "string", }, "price": { "docs": "price of SKU", - "inline": true, "type": "ProductsUpdateRequestSkuFieldDataPrice", }, "quantity": { @@ -33865,6 +34286,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateRequestSkuFieldDataCompareAtPrice": { "docs": "comparison price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -33893,6 +34315,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateRequestSkuFieldDataEcSkuSubscriptionPlan": { "docs": undefined, + "inline": true, "properties": { "frequency": { "docs": "Frequncy of billing within interval", @@ -33926,6 +34349,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateRequestSkuFieldDataEcSkuSubscriptionPlanPlansItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier of the plan", @@ -33957,6 +34381,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateRequestSkuFieldDataPrice": { "docs": "price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -33973,6 +34398,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateResponse": { "docs": "The Product object", + "inline": undefined, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -34015,6 +34441,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateResponseFieldData": { "docs": "Contains content-specific details for a product, covering both standard (e.g., title, description) and custom fields tailored to the product setup.", + "inline": true, "properties": { "categories": { "docs": "The categories your product belongs to.", @@ -34071,6 +34498,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateResponseFieldDataSkuPropertiesItem": { "docs": "A variant/option type for a SKU", + "inline": true, "properties": { "enum": { "docs": "The individual Product variants that are contained within the collection", @@ -34091,6 +34519,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateResponseFieldDataSkuPropertiesItemEnumItem": { "docs": "Enumerated Product variants/Options for the SKU", + "inline": true, "properties": { "id": { "docs": "Unique identifier for a Product variant/Option", @@ -34243,6 +34672,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateSkuRequestSku": { "docs": "The SKU object", + "inline": true, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -34275,24 +34705,20 @@ Required scope | `ecommerce:write` }, "ProductsUpdateSkuRequestSkuFieldData": { "docs": "Standard and Custom fields for a SKU", + "inline": true, "properties": { "compare-at-price": { "docs": "comparison price of SKU", - "inline": true, "type": "optional", }, "ec-sku-billing-method": "optional", - "ec-sku-subscription-plan": { - "inline": true, - "type": "optional", - }, + "ec-sku-subscription-plan": "optional", "name": { "docs": "Name of the Product", "type": "string", }, "price": { "docs": "price of SKU", - "inline": true, "type": "ProductsUpdateSkuRequestSkuFieldDataPrice", }, "quantity": { @@ -34320,6 +34746,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateSkuRequestSkuFieldDataCompareAtPrice": { "docs": "comparison price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -34348,6 +34775,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateSkuRequestSkuFieldDataEcSkuSubscriptionPlan": { "docs": undefined, + "inline": true, "properties": { "frequency": { "docs": "Frequncy of billing within interval", @@ -34381,6 +34809,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateSkuRequestSkuFieldDataEcSkuSubscriptionPlanPlansItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier of the plan", @@ -34412,6 +34841,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateSkuRequestSkuFieldDataPrice": { "docs": "price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -34428,6 +34858,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateSkuResponse": { "docs": "The SKU object", + "inline": undefined, "properties": { "cmsLocaleId": { "docs": "Identifier for the locale of the CMS item", @@ -34460,24 +34891,20 @@ Required scope | `ecommerce:write` }, "ProductsUpdateSkuResponseFieldData": { "docs": "Standard and Custom fields for a SKU", + "inline": true, "properties": { "compare-at-price": { "docs": "comparison price of SKU", - "inline": true, "type": "optional", }, "ec-sku-billing-method": "optional", - "ec-sku-subscription-plan": { - "inline": true, - "type": "optional", - }, + "ec-sku-subscription-plan": "optional", "name": { "docs": "Name of the Product", "type": "string", }, "price": { "docs": "price of SKU", - "inline": true, "type": "ProductsUpdateSkuResponseFieldDataPrice", }, "quantity": { @@ -34505,6 +34932,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateSkuResponseFieldDataCompareAtPrice": { "docs": "comparison price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -34533,6 +34961,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateSkuResponseFieldDataEcSkuSubscriptionPlan": { "docs": undefined, + "inline": true, "properties": { "frequency": { "docs": "Frequncy of billing within interval", @@ -34566,6 +34995,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateSkuResponseFieldDataEcSkuSubscriptionPlanPlansItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "The unique identifier of the plan", @@ -34597,6 +35027,7 @@ Required scope | `ecommerce:write` }, "ProductsUpdateSkuResponseFieldDataPrice": { "docs": "price of SKU", + "inline": true, "properties": { "unit": { "docs": "Currency of Item", @@ -34628,6 +35059,7 @@ Required scope | `ecommerce:write` docs: Slug for the Product variant/Option in the Site URL structure source: openapi: ../openapi.yml + inline: true ProductsListResponseItemsItemProductFieldDataSkuPropertiesItem: docs: A variant/option type for a SKU properties: @@ -34645,6 +35077,7 @@ Required scope | `ecommerce:write` list source: openapi: ../openapi.yml + inline: true ProductsListResponseItemsItemProductFieldDataTaxCategory: enum: - value: standard-taxable @@ -34760,6 +35193,7 @@ Required scope | `ecommerce:write` Digital, Service, Advanced" source: openapi: ../openapi.yml + inline: true ProductsListResponseItemsItemProduct: docs: The Product object properties: @@ -34794,6 +35228,7 @@ Required scope | `ecommerce:write` product setup. source: openapi: ../openapi.yml + inline: true ProductsListResponseItemsItemSkusItemFieldDataPrice: docs: price of SKU properties: @@ -34805,6 +35240,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsListResponseItemsItemSkusItemFieldDataCompareAtPrice: docs: comparison price of SKU properties: @@ -34816,6 +35252,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsListResponseItemsItemSkusItemFieldDataEcSkuBillingMethod: enum: - value: one-time @@ -34854,6 +35291,7 @@ Required scope | `ecommerce:write` docs: The status of the plan source: openapi: ../openapi.yml + inline: true ProductsListResponseItemsItemSkusItemFieldDataEcSkuSubscriptionPlan: properties: interval: @@ -34870,6 +35308,7 @@ Required scope | `ecommerce:write` optional> source: openapi: ../openapi.yml + inline: true ProductsListResponseItemsItemSkusItemFieldData: docs: Standard and Custom fields for a SKU properties: @@ -34887,17 +35326,13 @@ Required scope | `ecommerce:write` price: type: ProductsListResponseItemsItemSkusItemFieldDataPrice docs: price of SKU - inline: true compare-at-price: type: optional docs: comparison price of SKU - inline: true ec-sku-billing-method: >- optional - ec-sku-subscription-plan: - type: >- - optional - inline: true + ec-sku-subscription-plan: >- + optional track-inventory: type: optional docs: >- @@ -34909,6 +35344,7 @@ Required scope | `ecommerce:write` docs: Quantity of SKU that will be tracked as items are ordered. source: openapi: ../openapi.yml + inline: true ProductsListResponseItemsItemSkusItem: docs: The SKU object properties: @@ -34932,18 +35368,19 @@ Required scope | `ecommerce:write` docs: Standard and Custom fields for a SKU source: openapi: ../openapi.yml + inline: true ProductsListResponseItemsItem: docs: A product and its SKUs. properties: product: type: optional docs: The Product object - inline: true skus: type: optional> docs: A list of SKU Objects source: openapi: ../openapi.yml + inline: true ProductsListResponsePagination: docs: Pagination object properties: @@ -34958,6 +35395,7 @@ Required scope | `ecommerce:write` docs: The total number of records source: openapi: ../openapi.yml + inline: true ProductsListResponse: docs: Results from product list properties: @@ -34969,7 +35407,6 @@ Required scope | `ecommerce:write` pagination: type: optional docs: Pagination object - inline: true source: openapi: ../openapi.yml ProductsCreateRequestPublishStatus: @@ -34994,6 +35431,7 @@ Required scope | `ecommerce:write` docs: Slug for the Product variant/Option in the Site URL structure source: openapi: ../openapi.yml + inline: true ProductsCreateRequestProductFieldDataSkuPropertiesItem: docs: A variant/option type for a SKU properties: @@ -35010,6 +35448,7 @@ Required scope | `ecommerce:write` type: list source: openapi: ../openapi.yml + inline: true ProductsCreateRequestProductFieldDataTaxCategory: enum: - value: standard-taxable @@ -35124,6 +35563,7 @@ Required scope | `ecommerce:write` Digital, Service, Advanced" source: openapi: ../openapi.yml + inline: true ProductsCreateRequestProduct: docs: The Product object properties: @@ -35135,6 +35575,7 @@ Required scope | `ecommerce:write` product setup. source: openapi: ../openapi.yml + inline: true ProductsCreateRequestSkuFieldDataPrice: docs: price of SKU properties: @@ -35146,6 +35587,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsCreateRequestSkuFieldDataCompareAtPrice: docs: comparison price of SKU properties: @@ -35157,6 +35599,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsCreateRequestSkuFieldDataEcSkuBillingMethod: enum: - value: one-time @@ -35195,6 +35638,7 @@ Required scope | `ecommerce:write` docs: The status of the plan source: openapi: ../openapi.yml + inline: true ProductsCreateRequestSkuFieldDataEcSkuSubscriptionPlan: properties: interval: @@ -35211,6 +35655,7 @@ Required scope | `ecommerce:write` optional> source: openapi: ../openapi.yml + inline: true ProductsCreateRequestSkuFieldData: docs: Standard and Custom fields for a SKU properties: @@ -35228,15 +35673,11 @@ Required scope | `ecommerce:write` price: type: ProductsCreateRequestSkuFieldDataPrice docs: price of SKU - inline: true compare-at-price: type: optional docs: comparison price of SKU - inline: true ec-sku-billing-method: optional - ec-sku-subscription-plan: - type: optional - inline: true + ec-sku-subscription-plan: optional track-inventory: type: optional docs: >- @@ -35248,6 +35689,7 @@ Required scope | `ecommerce:write` docs: Quantity of SKU that will be tracked as items are ordered. source: openapi: ../openapi.yml + inline: true ProductsCreateRequestSku: docs: The SKU object properties: @@ -35271,6 +35713,7 @@ Required scope | `ecommerce:write` docs: Standard and Custom fields for a SKU source: openapi: ../openapi.yml + inline: true ProductsCreateResponseProductFieldDataSkuPropertiesItemEnumItem: docs: Enumerated Product variants/Options for the SKU properties: @@ -35285,6 +35728,7 @@ Required scope | `ecommerce:write` docs: Slug for the Product variant/Option in the Site URL structure source: openapi: ../openapi.yml + inline: true ProductsCreateResponseProductFieldDataSkuPropertiesItem: docs: A variant/option type for a SKU properties: @@ -35301,6 +35745,7 @@ Required scope | `ecommerce:write` type: list source: openapi: ../openapi.yml + inline: true ProductsCreateResponseProductFieldDataTaxCategory: enum: - value: standard-taxable @@ -35416,6 +35861,7 @@ Required scope | `ecommerce:write` Digital, Service, Advanced" source: openapi: ../openapi.yml + inline: true ProductsCreateResponseProduct: docs: The Product object properties: @@ -35450,6 +35896,7 @@ Required scope | `ecommerce:write` product setup. source: openapi: ../openapi.yml + inline: true ProductsCreateResponseSkusItemFieldDataPrice: docs: price of SKU properties: @@ -35461,6 +35908,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsCreateResponseSkusItemFieldDataCompareAtPrice: docs: comparison price of SKU properties: @@ -35472,6 +35920,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsCreateResponseSkusItemFieldDataEcSkuBillingMethod: enum: - value: one-time @@ -35510,6 +35959,7 @@ Required scope | `ecommerce:write` docs: The status of the plan source: openapi: ../openapi.yml + inline: true ProductsCreateResponseSkusItemFieldDataEcSkuSubscriptionPlan: properties: interval: @@ -35526,6 +35976,7 @@ Required scope | `ecommerce:write` optional> source: openapi: ../openapi.yml + inline: true ProductsCreateResponseSkusItemFieldData: docs: Standard and Custom fields for a SKU properties: @@ -35543,15 +35994,11 @@ Required scope | `ecommerce:write` price: type: ProductsCreateResponseSkusItemFieldDataPrice docs: price of SKU - inline: true compare-at-price: type: optional docs: comparison price of SKU - inline: true ec-sku-billing-method: optional - ec-sku-subscription-plan: - type: optional - inline: true + ec-sku-subscription-plan: optional track-inventory: type: optional docs: >- @@ -35563,6 +36010,7 @@ Required scope | `ecommerce:write` docs: Quantity of SKU that will be tracked as items are ordered. source: openapi: ../openapi.yml + inline: true ProductsCreateResponseSkusItem: docs: The SKU object properties: @@ -35586,13 +36034,13 @@ Required scope | `ecommerce:write` docs: Standard and Custom fields for a SKU source: openapi: ../openapi.yml + inline: true ProductsCreateResponse: docs: A product and its SKUs. properties: product: type: optional docs: The Product object - inline: true skus: type: optional> docs: A list of SKU Objects @@ -35612,6 +36060,7 @@ Required scope | `ecommerce:write` docs: Slug for the Product variant/Option in the Site URL structure source: openapi: ../openapi.yml + inline: true ProductsGetResponseProductFieldDataSkuPropertiesItem: docs: A variant/option type for a SKU properties: @@ -35628,6 +36077,7 @@ Required scope | `ecommerce:write` type: list source: openapi: ../openapi.yml + inline: true ProductsGetResponseProductFieldDataTaxCategory: enum: - value: standard-taxable @@ -35742,6 +36192,7 @@ Required scope | `ecommerce:write` Digital, Service, Advanced" source: openapi: ../openapi.yml + inline: true ProductsGetResponseProduct: docs: The Product object properties: @@ -35776,6 +36227,7 @@ Required scope | `ecommerce:write` product setup. source: openapi: ../openapi.yml + inline: true ProductsGetResponseSkusItemFieldDataPrice: docs: price of SKU properties: @@ -35787,6 +36239,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsGetResponseSkusItemFieldDataCompareAtPrice: docs: comparison price of SKU properties: @@ -35798,6 +36251,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsGetResponseSkusItemFieldDataEcSkuBillingMethod: enum: - value: one-time @@ -35836,6 +36290,7 @@ Required scope | `ecommerce:write` docs: The status of the plan source: openapi: ../openapi.yml + inline: true ProductsGetResponseSkusItemFieldDataEcSkuSubscriptionPlan: properties: interval: @@ -35852,6 +36307,7 @@ Required scope | `ecommerce:write` optional> source: openapi: ../openapi.yml + inline: true ProductsGetResponseSkusItemFieldData: docs: Standard and Custom fields for a SKU properties: @@ -35869,15 +36325,11 @@ Required scope | `ecommerce:write` price: type: ProductsGetResponseSkusItemFieldDataPrice docs: price of SKU - inline: true compare-at-price: type: optional docs: comparison price of SKU - inline: true ec-sku-billing-method: optional - ec-sku-subscription-plan: - type: optional - inline: true + ec-sku-subscription-plan: optional track-inventory: type: optional docs: >- @@ -35889,6 +36341,7 @@ Required scope | `ecommerce:write` docs: Quantity of SKU that will be tracked as items are ordered. source: openapi: ../openapi.yml + inline: true ProductsGetResponseSkusItem: docs: The SKU object properties: @@ -35912,13 +36365,13 @@ Required scope | `ecommerce:write` docs: Standard and Custom fields for a SKU source: openapi: ../openapi.yml + inline: true ProductsGetResponse: docs: A product and its SKUs. properties: product: type: optional docs: The Product object - inline: true skus: type: optional> docs: A list of SKU Objects @@ -35946,6 +36399,7 @@ Required scope | `ecommerce:write` docs: Slug for the Product variant/Option in the Site URL structure source: openapi: ../openapi.yml + inline: true ProductsUpdateRequestProductFieldDataSkuPropertiesItem: docs: A variant/option type for a SKU properties: @@ -35962,6 +36416,7 @@ Required scope | `ecommerce:write` type: list source: openapi: ../openapi.yml + inline: true ProductsUpdateRequestProductFieldDataTaxCategory: enum: - value: standard-taxable @@ -36076,6 +36531,7 @@ Required scope | `ecommerce:write` Digital, Service, Advanced" source: openapi: ../openapi.yml + inline: true ProductsUpdateRequestProduct: docs: The Product object properties: @@ -36110,6 +36566,7 @@ Required scope | `ecommerce:write` product setup. source: openapi: ../openapi.yml + inline: true ProductsUpdateRequestSkuFieldDataPrice: docs: price of SKU properties: @@ -36121,6 +36578,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsUpdateRequestSkuFieldDataCompareAtPrice: docs: comparison price of SKU properties: @@ -36132,6 +36590,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsUpdateRequestSkuFieldDataEcSkuBillingMethod: enum: - value: one-time @@ -36170,6 +36629,7 @@ Required scope | `ecommerce:write` docs: The status of the plan source: openapi: ../openapi.yml + inline: true ProductsUpdateRequestSkuFieldDataEcSkuSubscriptionPlan: properties: interval: @@ -36186,6 +36646,7 @@ Required scope | `ecommerce:write` optional> source: openapi: ../openapi.yml + inline: true ProductsUpdateRequestSkuFieldData: docs: Standard and Custom fields for a SKU properties: @@ -36203,15 +36664,11 @@ Required scope | `ecommerce:write` price: type: ProductsUpdateRequestSkuFieldDataPrice docs: price of SKU - inline: true compare-at-price: type: optional docs: comparison price of SKU - inline: true ec-sku-billing-method: optional - ec-sku-subscription-plan: - type: optional - inline: true + ec-sku-subscription-plan: optional track-inventory: type: optional docs: >- @@ -36223,6 +36680,7 @@ Required scope | `ecommerce:write` docs: Quantity of SKU that will be tracked as items are ordered. source: openapi: ../openapi.yml + inline: true ProductsUpdateRequestSku: docs: The SKU object properties: @@ -36246,6 +36704,7 @@ Required scope | `ecommerce:write` docs: Standard and Custom fields for a SKU source: openapi: ../openapi.yml + inline: true ProductsUpdateResponseFieldDataSkuPropertiesItemEnumItem: docs: Enumerated Product variants/Options for the SKU properties: @@ -36260,6 +36719,7 @@ Required scope | `ecommerce:write` docs: Slug for the Product variant/Option in the Site URL structure source: openapi: ../openapi.yml + inline: true ProductsUpdateResponseFieldDataSkuPropertiesItem: docs: A variant/option type for a SKU properties: @@ -36276,6 +36736,7 @@ Required scope | `ecommerce:write` type: list source: openapi: ../openapi.yml + inline: true ProductsUpdateResponseFieldDataTaxCategory: enum: - value: standard-taxable @@ -36390,6 +36851,7 @@ Required scope | `ecommerce:write` Digital, Service, Advanced" source: openapi: ../openapi.yml + inline: true ProductsUpdateResponse: docs: The Product object properties: @@ -36443,6 +36905,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsCreateSkuRequestSkusItemFieldDataCompareAtPrice: docs: comparison price of SKU properties: @@ -36454,6 +36917,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsCreateSkuRequestSkusItemFieldDataEcSkuBillingMethod: enum: - value: one-time @@ -36492,6 +36956,7 @@ Required scope | `ecommerce:write` docs: The status of the plan source: openapi: ../openapi.yml + inline: true ProductsCreateSkuRequestSkusItemFieldDataEcSkuSubscriptionPlan: properties: interval: @@ -36508,6 +36973,7 @@ Required scope | `ecommerce:write` optional> source: openapi: ../openapi.yml + inline: true ProductsCreateSkuRequestSkusItemFieldData: docs: Standard and Custom fields for a SKU properties: @@ -36525,16 +36991,11 @@ Required scope | `ecommerce:write` price: type: ProductsCreateSkuRequestSkusItemFieldDataPrice docs: price of SKU - inline: true compare-at-price: type: optional docs: comparison price of SKU - inline: true ec-sku-billing-method: optional - ec-sku-subscription-plan: - type: >- - optional - inline: true + ec-sku-subscription-plan: optional track-inventory: type: optional docs: >- @@ -36546,6 +37007,7 @@ Required scope | `ecommerce:write` docs: Quantity of SKU that will be tracked as items are ordered. source: openapi: ../openapi.yml + inline: true ProductsCreateSkuRequestSkusItem: docs: The SKU object properties: @@ -36569,6 +37031,7 @@ Required scope | `ecommerce:write` docs: Standard and Custom fields for a SKU source: openapi: ../openapi.yml + inline: true ProductsCreateSkuResponseSkusItemFieldDataPrice: docs: price of SKU properties: @@ -36580,6 +37043,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsCreateSkuResponseSkusItemFieldDataCompareAtPrice: docs: comparison price of SKU properties: @@ -36591,6 +37055,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsCreateSkuResponseSkusItemFieldDataEcSkuBillingMethod: enum: - value: one-time @@ -36629,6 +37094,7 @@ Required scope | `ecommerce:write` docs: The status of the plan source: openapi: ../openapi.yml + inline: true ProductsCreateSkuResponseSkusItemFieldDataEcSkuSubscriptionPlan: properties: interval: @@ -36645,6 +37111,7 @@ Required scope | `ecommerce:write` optional> source: openapi: ../openapi.yml + inline: true ProductsCreateSkuResponseSkusItemFieldData: docs: Standard and Custom fields for a SKU properties: @@ -36662,16 +37129,12 @@ Required scope | `ecommerce:write` price: type: ProductsCreateSkuResponseSkusItemFieldDataPrice docs: price of SKU - inline: true compare-at-price: type: optional docs: comparison price of SKU - inline: true ec-sku-billing-method: optional - ec-sku-subscription-plan: - type: >- - optional - inline: true + ec-sku-subscription-plan: >- + optional track-inventory: type: optional docs: >- @@ -36683,6 +37146,7 @@ Required scope | `ecommerce:write` docs: Quantity of SKU that will be tracked as items are ordered. source: openapi: ../openapi.yml + inline: true ProductsCreateSkuResponseSkusItem: docs: The SKU object properties: @@ -36706,6 +37170,7 @@ Required scope | `ecommerce:write` docs: Standard and Custom fields for a SKU source: openapi: ../openapi.yml + inline: true ProductsCreateSkuResponse: properties: skus: optional> @@ -36730,6 +37195,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsUpdateSkuRequestSkuFieldDataCompareAtPrice: docs: comparison price of SKU properties: @@ -36741,6 +37207,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsUpdateSkuRequestSkuFieldDataEcSkuBillingMethod: enum: - value: one-time @@ -36779,6 +37246,7 @@ Required scope | `ecommerce:write` docs: The status of the plan source: openapi: ../openapi.yml + inline: true ProductsUpdateSkuRequestSkuFieldDataEcSkuSubscriptionPlan: properties: interval: @@ -36795,6 +37263,7 @@ Required scope | `ecommerce:write` optional> source: openapi: ../openapi.yml + inline: true ProductsUpdateSkuRequestSkuFieldData: docs: Standard and Custom fields for a SKU properties: @@ -36812,15 +37281,11 @@ Required scope | `ecommerce:write` price: type: ProductsUpdateSkuRequestSkuFieldDataPrice docs: price of SKU - inline: true compare-at-price: type: optional docs: comparison price of SKU - inline: true ec-sku-billing-method: optional - ec-sku-subscription-plan: - type: optional - inline: true + ec-sku-subscription-plan: optional track-inventory: type: optional docs: >- @@ -36832,6 +37297,7 @@ Required scope | `ecommerce:write` docs: Quantity of SKU that will be tracked as items are ordered. source: openapi: ../openapi.yml + inline: true ProductsUpdateSkuRequestSku: docs: The SKU object properties: @@ -36855,6 +37321,7 @@ Required scope | `ecommerce:write` docs: Standard and Custom fields for a SKU source: openapi: ../openapi.yml + inline: true ProductsUpdateSkuResponseFieldDataPrice: docs: price of SKU properties: @@ -36866,6 +37333,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsUpdateSkuResponseFieldDataCompareAtPrice: docs: comparison price of SKU properties: @@ -36877,6 +37345,7 @@ Required scope | `ecommerce:write` docs: Currency of Item source: openapi: ../openapi.yml + inline: true ProductsUpdateSkuResponseFieldDataEcSkuBillingMethod: enum: - value: one-time @@ -36915,6 +37384,7 @@ Required scope | `ecommerce:write` docs: The status of the plan source: openapi: ../openapi.yml + inline: true ProductsUpdateSkuResponseFieldDataEcSkuSubscriptionPlan: properties: interval: @@ -36931,6 +37401,7 @@ Required scope | `ecommerce:write` optional> source: openapi: ../openapi.yml + inline: true ProductsUpdateSkuResponseFieldData: docs: Standard and Custom fields for a SKU properties: @@ -36948,15 +37419,11 @@ Required scope | `ecommerce:write` price: type: ProductsUpdateSkuResponseFieldDataPrice docs: price of SKU - inline: true compare-at-price: type: optional docs: comparison price of SKU - inline: true ec-sku-billing-method: optional - ec-sku-subscription-plan: - type: optional - inline: true + ec-sku-subscription-plan: optional track-inventory: type: optional docs: >- @@ -36968,6 +37435,7 @@ Required scope | `ecommerce:write` docs: Quantity of SKU that will be tracked as items are ordered. source: openapi: ../openapi.yml + inline: true ProductsUpdateSkuResponse: docs: The SKU object properties: @@ -37861,6 +38329,7 @@ service: "types": { "ScriptsListResponse": { "docs": "A list of scripts registered to the site", + "inline": undefined, "properties": { "registeredScripts": "optional>", }, @@ -37870,6 +38339,7 @@ service: }, "ScriptsListResponseRegisteredScriptsItem": { "docs": "Registered custom code for application", + "inline": true, "properties": { "canCopy": { "default": false, @@ -37911,6 +38381,7 @@ service: }, "ScriptsRegisterHostedResponse": { "docs": "Registered custom code for application", + "inline": undefined, "properties": { "canCopy": { "default": false, @@ -37952,6 +38423,7 @@ service: }, "ScriptsRegisterInlineResponse": { "docs": "Registered custom code for application", + "inline": undefined, "properties": { "canCopy": { "default": false, @@ -38030,6 +38502,7 @@ service: docs: A Semantic Version (SemVer) string, denoting the version of the script source: openapi: ../openapi.yml + inline: true ScriptsListResponse: docs: A list of scripts registered to the site properties: @@ -38711,10 +39184,10 @@ service: "types": { "SitePublishPayload": { "docs": "The Webhook payload for when a Site is published", + "inline": undefined, "properties": { "payload": { "docs": "The payload of data sent from Webflow", - "inline": true, "type": "optional", }, "triggerType": { @@ -38728,6 +39201,7 @@ service: }, "SitePublishPayloadPayload": { "docs": "The payload of data sent from Webflow", + "inline": true, "properties": { "domains": { "docs": "The domains that were published", @@ -38752,6 +39226,7 @@ service: }, "SitesGetCustomDomainResponse": { "docs": undefined, + "inline": undefined, "properties": { "customDomains": "optional>", }, @@ -38761,6 +39236,7 @@ service: }, "SitesGetCustomDomainResponseCustomDomainsItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "Unique identifier for the Domain", @@ -38777,6 +39253,7 @@ service: }, "SitesGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "createdOn": { "docs": "Date the Site was created", @@ -38799,10 +39276,7 @@ service: "docs": "Date the Site was last updated", "type": "optional", }, - "locales": { - "inline": true, - "type": "optional", - }, + "locales": "optional", "parentFolderId": { "docs": "The ID of the parent folder the Site exists in", "type": "optional", @@ -38836,6 +39310,7 @@ service: }, "SitesGetResponseCustomDomainsItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "Unique identifier for the Domain", @@ -38852,10 +39327,10 @@ service: }, "SitesGetResponseLocales": { "docs": undefined, + "inline": true, "properties": { "primary": { "docs": "The primary locale for the site or application.", - "inline": true, "type": "optional", }, "secondary": { @@ -38869,6 +39344,7 @@ service: }, "SitesGetResponseLocalesPrimary": { "docs": "The primary locale for the site or application.", + "inline": true, "properties": { "cmsLocaleId": { "docs": "A CMS-specific identifier for the locale.", @@ -38909,6 +39385,7 @@ service: }, "SitesGetResponseLocalesSecondaryItem": { "docs": undefined, + "inline": true, "properties": { "cmsLocaleId": { "docs": "A CMS-specific identifier for the locale.", @@ -38949,6 +39426,7 @@ service: }, "SitesListResponse": { "docs": undefined, + "inline": undefined, "properties": { "sites": "optional>", }, @@ -38958,6 +39436,7 @@ service: }, "SitesListResponseSitesItem": { "docs": undefined, + "inline": true, "properties": { "createdOn": { "docs": "Date the Site was created", @@ -38980,10 +39459,7 @@ service: "docs": "Date the Site was last updated", "type": "optional", }, - "locales": { - "inline": true, - "type": "optional", - }, + "locales": "optional", "parentFolderId": { "docs": "The ID of the parent folder the Site exists in", "type": "optional", @@ -39017,6 +39493,7 @@ service: }, "SitesListResponseSitesItemCustomDomainsItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "Unique identifier for the Domain", @@ -39033,10 +39510,10 @@ service: }, "SitesListResponseSitesItemLocales": { "docs": undefined, + "inline": true, "properties": { "primary": { "docs": "The primary locale for the site or application.", - "inline": true, "type": "optional", }, "secondary": { @@ -39050,6 +39527,7 @@ service: }, "SitesListResponseSitesItemLocalesPrimary": { "docs": "The primary locale for the site or application.", + "inline": true, "properties": { "cmsLocaleId": { "docs": "A CMS-specific identifier for the locale.", @@ -39090,6 +39568,7 @@ service: }, "SitesListResponseSitesItemLocalesSecondaryItem": { "docs": undefined, + "inline": true, "properties": { "cmsLocaleId": { "docs": "A CMS-specific identifier for the locale.", @@ -39130,6 +39609,7 @@ service: }, "SitesPublishResponse": { "docs": undefined, + "inline": undefined, "properties": { "customDomains": { "docs": "Array of domains objects", @@ -39147,6 +39627,7 @@ service: }, "SitesPublishResponseCustomDomainsItem": { "docs": undefined, + "inline": true, "properties": { "id": { "docs": "Unique identifier for the Domain", @@ -39204,6 +39685,7 @@ service: docs: The registered Domain name source: openapi: ../openapi.yml + inline: true SitesListResponseSitesItemLocalesPrimary: docs: The primary locale for the site or application. properties: @@ -39235,6 +39717,7 @@ service: format like 'en-US'. source: openapi: ../openapi.yml + inline: true SitesListResponseSitesItemLocalesSecondaryItem: properties: id: @@ -39265,17 +39748,18 @@ service: format like 'en-US'. source: openapi: ../openapi.yml + inline: true SitesListResponseSitesItemLocales: properties: primary: type: optional docs: The primary locale for the site or application. - inline: true secondary: type: optional> docs: A list of secondary locales available for the site or application. source: openapi: ../openapi.yml + inline: true SitesListResponseSitesItem: properties: id: @@ -39311,11 +39795,10 @@ service: type: optional docs: The ID of the parent folder the Site exists in customDomains: optional> - locales: - type: optional - inline: true + locales: optional source: openapi: ../openapi.yml + inline: true SitesListResponse: properties: sites: optional> @@ -39331,6 +39814,7 @@ service: docs: The registered Domain name source: openapi: ../openapi.yml + inline: true SitesGetResponseLocalesPrimary: docs: The primary locale for the site or application. properties: @@ -39362,6 +39846,7 @@ service: format like 'en-US'. source: openapi: ../openapi.yml + inline: true SitesGetResponseLocalesSecondaryItem: properties: id: @@ -39392,17 +39877,18 @@ service: format like 'en-US'. source: openapi: ../openapi.yml + inline: true SitesGetResponseLocales: properties: primary: type: optional docs: The primary locale for the site or application. - inline: true secondary: type: optional> docs: A list of secondary locales available for the site or application. source: openapi: ../openapi.yml + inline: true SitesGetResponse: properties: id: @@ -39438,9 +39924,7 @@ service: type: optional docs: The ID of the parent folder the Site exists in customDomains: optional> - locales: - type: optional - inline: true + locales: optional source: openapi: ../openapi.yml SitesGetCustomDomainResponseCustomDomainsItem: @@ -39453,6 +39937,7 @@ service: docs: The registered Domain name source: openapi: ../openapi.yml + inline: true SitesGetCustomDomainResponse: properties: customDomains: optional> @@ -39468,6 +39953,7 @@ service: docs: The registered Domain name source: openapi: ../openapi.yml + inline: true SitesPublishResponse: properties: customDomains: @@ -39496,6 +39982,7 @@ service: docs: The name and id of the user who published the site source: openapi: ../openapi.yml + inline: true SitePublishPayload: docs: The Webhook payload for when a Site is published properties: @@ -39505,7 +39992,6 @@ service: payload: type: optional docs: The payload of data sent from Webflow - inline: true source: openapi: ../openapi.yml imports: @@ -39894,11 +40380,11 @@ webhooks: "types": { "ActivityLogsListResponse": { "docs": undefined, + "inline": undefined, "properties": { "items": "optional>", "pagination": { "docs": "Pagination object", - "inline": true, "type": "optional", }, }, @@ -39908,6 +40394,7 @@ webhooks: }, "ActivityLogsListResponseItemsItem": { "docs": undefined, + "inline": true, "properties": { "createdOn": "optional", "event": "optional", @@ -39919,10 +40406,7 @@ webhooks: "resourceId": "optional", "resourceName": "optional", "resourceOperation": "optional", - "user": { - "inline": true, - "type": "optional", - }, + "user": "optional", }, "source": { "openapi": "../openapi.yml", @@ -39942,6 +40426,7 @@ webhooks: }, "ActivityLogsListResponseItemsItemUser": { "docs": undefined, + "inline": true, "properties": { "displayName": "optional", "id": "optional", @@ -39952,6 +40437,7 @@ webhooks: }, "ActivityLogsListResponsePagination": { "docs": "Pagination object", + "inline": true, "properties": { "limit": { "docs": "The limit used for pagination", @@ -39988,6 +40474,7 @@ webhooks: displayName: optional source: openapi: ../openapi.yml + inline: true ActivityLogsListResponseItemsItem: properties: id: optional @@ -39995,9 +40482,7 @@ webhooks: lastUpdated: optional event: optional resourceOperation: optional - user: - type: optional - inline: true + user: optional resourceId: optional resourceName: optional newValue: optional @@ -40005,6 +40490,7 @@ webhooks: payload: optional> source: openapi: ../openapi.yml + inline: true ActivityLogsListResponsePagination: docs: Pagination object properties: @@ -40019,13 +40505,13 @@ webhooks: docs: The total number of records source: openapi: ../openapi.yml + inline: true ActivityLogsListResponse: properties: items: optional> pagination: type: optional docs: Pagination object - inline: true source: openapi: ../openapi.yml imports: @@ -40399,6 +40885,7 @@ service: "types": { "ScriptsGetCustomCodeResponse": { "docs": undefined, + "inline": undefined, "properties": { "createdOn": { "docs": "Date when the Site's scripts were created", @@ -40419,6 +40906,7 @@ service: }, "ScriptsGetCustomCodeResponseScriptsItem": { "docs": undefined, + "inline": true, "properties": { "attributes": { "docs": "Developer-specified key/value pairs to be applied as attributes to the script", @@ -40455,11 +40943,11 @@ service: }, "ScriptsListCustomCodeBlocksResponse": { "docs": "Custom Code Blocks corresponding to where scripts were applied", + "inline": undefined, "properties": { "blocks": "optional>", "pagination": { "docs": "Pagination object", - "inline": true, "type": "optional", }, }, @@ -40469,6 +40957,7 @@ service: }, "ScriptsListCustomCodeBlocksResponseBlocksItem": { "docs": "A specific instance of Custom Code applied to a Site or Page", + "inline": true, "properties": { "createdOn": { "docs": "The date the Block was created", @@ -40501,6 +40990,7 @@ service: }, "ScriptsListCustomCodeBlocksResponseBlocksItemScriptsItem": { "docs": undefined, + "inline": true, "properties": { "attributes": { "docs": "Developer-specified key/value pairs to be applied as attributes to the script", @@ -40547,6 +41037,7 @@ service: }, "ScriptsListCustomCodeBlocksResponsePagination": { "docs": "Pagination object", + "inline": true, "properties": { "limit": { "docs": "The limit used for pagination", @@ -40567,6 +41058,7 @@ service: }, "ScriptsUpsertCustomCodeRequestScriptsItem": { "docs": undefined, + "inline": true, "properties": { "attributes": { "docs": "Developer-specified key/value pairs to be applied as attributes to the script", @@ -40603,6 +41095,7 @@ service: }, "ScriptsUpsertCustomCodeResponse": { "docs": undefined, + "inline": undefined, "properties": { "createdOn": { "docs": "Date when the Site's scripts were created", @@ -40623,6 +41116,7 @@ service: }, "ScriptsUpsertCustomCodeResponseScriptsItem": { "docs": undefined, + "inline": true, "properties": { "attributes": { "docs": "Developer-specified key/value pairs to be applied as attributes to the script", @@ -40691,6 +41185,7 @@ service: script source: openapi: ../openapi.yml + inline: true ScriptsGetCustomCodeResponse: properties: scripts: @@ -40735,6 +41230,7 @@ service: script source: openapi: ../openapi.yml + inline: true ScriptsUpsertCustomCodeResponseScriptsItemLocation: enum: - header @@ -40766,6 +41262,7 @@ service: script source: openapi: ../openapi.yml + inline: true ScriptsUpsertCustomCodeResponse: properties: scripts: @@ -40817,6 +41314,7 @@ service: script source: openapi: ../openapi.yml + inline: true ScriptsListCustomCodeBlocksResponseBlocksItem: docs: A specific instance of Custom Code applied to a Site or Page properties: @@ -40843,6 +41341,7 @@ service: docs: The date the Block was most recently updated source: openapi: ../openapi.yml + inline: true ScriptsListCustomCodeBlocksResponsePagination: docs: Pagination object properties: @@ -40857,6 +41356,7 @@ service: docs: The total number of records source: openapi: ../openapi.yml + inline: true ScriptsListCustomCodeBlocksResponse: docs: Custom Code Blocks corresponding to where scripts were applied properties: @@ -40864,7 +41364,6 @@ service: pagination: type: optional docs: Pagination object - inline: true source: openapi: ../openapi.yml imports: @@ -41187,6 +41686,7 @@ service: "types": { "TokenAuthorizedByResponse": { "docs": undefined, + "inline": undefined, "properties": { "email": { "docs": "The user's email address", @@ -41217,11 +41717,11 @@ service: }, "TokenIntrospectResponse": { "docs": undefined, + "inline": undefined, "properties": { "application": "optional", "authorization": { "docs": "The Authorization object", - "inline": true, "type": "optional", }, }, @@ -41231,11 +41731,9 @@ service: }, "TokenIntrospectResponseAuthorization": { "docs": "The Authorization object", + "inline": true, "properties": { - "authorizedTo": { - "inline": true, - "type": "optional", - }, + "authorizedTo": "optional", "createdOn": { "docs": "The date the Authorization was created", "type": "optional", @@ -41267,6 +41765,7 @@ service: }, "TokenIntrospectResponseAuthorizationAuthorizedTo": { "docs": undefined, + "inline": true, "properties": { "siteIds": { "docs": "Array of Sites this app is authorized to", @@ -41319,6 +41818,7 @@ service: docs: Array of Users this app is authorized to source: openapi: ../openapi.yml + inline: true TokenIntrospectResponseAuthorization: docs: The Authorization object properties: @@ -41340,17 +41840,15 @@ service: scope: type: optional docs: Comma separted list of OAuth scopes corresponding to the Authorization - authorizedTo: - type: optional - inline: true + authorizedTo: optional source: openapi: ../openapi.yml + inline: true TokenIntrospectResponse: properties: authorization: type: optional docs: The Authorization object - inline: true application: optional source: openapi: ../openapi.yml @@ -41885,6 +42383,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) "types": { "UserAccountAddedPayload": { "docs": undefined, + "inline": undefined, "properties": { "payload": { "docs": "The fields that define the schema for a given Item are based on the Collection that Item belongs to. Beyond the user defined fields, there are a handful of additional fields that are automatically created for all items @@ -41903,6 +42402,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) "UserAccountAddedPayloadPayload": { "docs": "The fields that define the schema for a given Item are based on the Collection that Item belongs to. Beyond the user defined fields, there are a handful of additional fields that are automatically created for all items ", + "inline": true, "properties": { "accessGroups": { "docs": "Access groups the user belongs to", @@ -41914,7 +42414,6 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "data": { "docs": "An object containing the User's basic info and custom fields", - "inline": true, "type": "optional", }, "id": { @@ -41948,6 +42447,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UserAccountAddedPayloadPayloadAccessGroupsItem": { "docs": "Access group slugs and types", + "inline": true, "properties": { "slug": { "docs": "Access group identifier for APIs", @@ -41980,11 +42480,9 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UserAccountAddedPayloadPayloadData": { "docs": "An object containing the User's basic info and custom fields", + "inline": true, "properties": { - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", }, "source": { "openapi": "../openapi.yml", @@ -41992,6 +42490,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UserAccountAddedPayloadPayloadDataData": { "docs": undefined, + "inline": true, "properties": { "accept-communications": { "docs": "Boolean indicating if the user has accepted to receive communications @@ -42046,6 +42545,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UserAccountDeletedPayload": { "docs": undefined, + "inline": undefined, "properties": { "payload": { "docs": "The fields that define the schema for a given Item are based on the Collection that Item belongs to. Beyond the user defined fields, there are a handful of additional fields that are automatically created for all items @@ -42064,6 +42564,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) "UserAccountDeletedPayloadPayload": { "docs": "The fields that define the schema for a given Item are based on the Collection that Item belongs to. Beyond the user defined fields, there are a handful of additional fields that are automatically created for all items ", + "inline": true, "properties": { "accessGroups": { "docs": "Access groups the user belongs to", @@ -42075,7 +42576,6 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "data": { "docs": "An object containing the User's basic info and custom fields", - "inline": true, "type": "optional", }, "id": { @@ -42109,6 +42609,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UserAccountDeletedPayloadPayloadAccessGroupsItem": { "docs": "Access group slugs and types", + "inline": true, "properties": { "slug": { "docs": "Access group identifier for APIs", @@ -42141,11 +42642,9 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UserAccountDeletedPayloadPayloadData": { "docs": "An object containing the User's basic info and custom fields", + "inline": true, "properties": { - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", }, "source": { "openapi": "../openapi.yml", @@ -42153,6 +42652,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UserAccountDeletedPayloadPayloadDataData": { "docs": undefined, + "inline": true, "properties": { "accept-communications": { "docs": "Boolean indicating if the user has accepted to receive communications @@ -42207,6 +42707,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UserAccountUpdatedPayload": { "docs": undefined, + "inline": undefined, "properties": { "payload": { "docs": "The fields that define the schema for a given Item are based on the Collection that Item belongs to. Beyond the user defined fields, there are a handful of additional fields that are automatically created for all items @@ -42225,6 +42726,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) "UserAccountUpdatedPayloadPayload": { "docs": "The fields that define the schema for a given Item are based on the Collection that Item belongs to. Beyond the user defined fields, there are a handful of additional fields that are automatically created for all items ", + "inline": true, "properties": { "accessGroups": { "docs": "Access groups the user belongs to", @@ -42236,7 +42738,6 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "data": { "docs": "An object containing the User's basic info and custom fields", - "inline": true, "type": "optional", }, "id": { @@ -42270,6 +42771,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UserAccountUpdatedPayloadPayloadAccessGroupsItem": { "docs": "Access group slugs and types", + "inline": true, "properties": { "slug": { "docs": "Access group identifier for APIs", @@ -42302,11 +42804,9 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UserAccountUpdatedPayloadPayloadData": { "docs": "An object containing the User's basic info and custom fields", + "inline": true, "properties": { - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", }, "source": { "openapi": "../openapi.yml", @@ -42314,6 +42814,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UserAccountUpdatedPayloadPayloadDataData": { "docs": undefined, + "inline": true, "properties": { "accept-communications": { "docs": "Boolean indicating if the user has accepted to receive communications @@ -42369,6 +42870,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) "UsersGetResponse": { "docs": "The fields that define the schema for a given Item are based on the Collection that Item belongs to. Beyond the user defined fields, there are a handful of additional fields that are automatically created for all items ", + "inline": undefined, "properties": { "accessGroups": { "docs": "Access groups the user belongs to", @@ -42380,7 +42882,6 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "data": { "docs": "An object containing the User's basic info and custom fields", - "inline": true, "type": "optional", }, "id": { @@ -42414,6 +42915,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UsersGetResponseAccessGroupsItem": { "docs": "Access group slugs and types", + "inline": true, "properties": { "slug": { "docs": "Access group identifier for APIs", @@ -42446,11 +42948,9 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UsersGetResponseData": { "docs": "An object containing the User's basic info and custom fields", + "inline": true, "properties": { - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", }, "source": { "openapi": "../openapi.yml", @@ -42458,6 +42958,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UsersGetResponseDataData": { "docs": undefined, + "inline": true, "properties": { "accept-communications": { "docs": "Boolean indicating if the user has accepted to receive communications @@ -42502,6 +43003,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) "UsersInviteResponse": { "docs": "The fields that define the schema for a given Item are based on the Collection that Item belongs to. Beyond the user defined fields, there are a handful of additional fields that are automatically created for all items ", + "inline": undefined, "properties": { "accessGroups": { "docs": "Access groups the user belongs to", @@ -42513,7 +43015,6 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "data": { "docs": "An object containing the User's basic info and custom fields", - "inline": true, "type": "optional", }, "id": { @@ -42547,6 +43048,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UsersInviteResponseAccessGroupsItem": { "docs": "Access group slugs and types", + "inline": true, "properties": { "slug": { "docs": "Access group identifier for APIs", @@ -42579,11 +43081,9 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UsersInviteResponseData": { "docs": "An object containing the User's basic info and custom fields", + "inline": true, "properties": { - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", }, "source": { "openapi": "../openapi.yml", @@ -42591,6 +43091,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UsersInviteResponseDataData": { "docs": undefined, + "inline": true, "properties": { "accept-communications": { "docs": "Boolean indicating if the user has accepted to receive communications @@ -42691,6 +43192,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UsersListResponse": { "docs": "The list users results", + "inline": undefined, "properties": { "count": { "docs": "Number of users returned", @@ -42722,6 +43224,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) "UsersListResponseUsersItem": { "docs": "The fields that define the schema for a given Item are based on the Collection that Item belongs to. Beyond the user defined fields, there are a handful of additional fields that are automatically created for all items ", + "inline": true, "properties": { "accessGroups": { "docs": "Access groups the user belongs to", @@ -42733,7 +43236,6 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "data": { "docs": "An object containing the User's basic info and custom fields", - "inline": true, "type": "optional", }, "id": { @@ -42767,6 +43269,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UsersListResponseUsersItemAccessGroupsItem": { "docs": "Access group slugs and types", + "inline": true, "properties": { "slug": { "docs": "Access group identifier for APIs", @@ -42799,11 +43302,9 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UsersListResponseUsersItemData": { "docs": "An object containing the User's basic info and custom fields", + "inline": true, "properties": { - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", }, "source": { "openapi": "../openapi.yml", @@ -42811,6 +43312,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UsersListResponseUsersItemDataData": { "docs": undefined, + "inline": true, "properties": { "accept-communications": { "docs": "Boolean indicating if the user has accepted to receive communications @@ -42854,6 +43356,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UsersUpdateRequestData": { "docs": undefined, + "inline": true, "properties": { "accept-communications": { "docs": "Boolean indicating if the user has accepted to receive communications @@ -42878,6 +43381,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) "UsersUpdateResponse": { "docs": "The fields that define the schema for a given Item are based on the Collection that Item belongs to. Beyond the user defined fields, there are a handful of additional fields that are automatically created for all items ", + "inline": undefined, "properties": { "accessGroups": { "docs": "Access groups the user belongs to", @@ -42889,7 +43393,6 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "data": { "docs": "An object containing the User's basic info and custom fields", - "inline": true, "type": "optional", }, "id": { @@ -42923,6 +43426,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UsersUpdateResponseAccessGroupsItem": { "docs": "Access group slugs and types", + "inline": true, "properties": { "slug": { "docs": "Access group identifier for APIs", @@ -42955,11 +43459,9 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UsersUpdateResponseData": { "docs": "An object containing the User's basic info and custom fields", + "inline": true, "properties": { - "data": { - "inline": true, - "type": "optional", - }, + "data": "optional", }, "source": { "openapi": "../openapi.yml", @@ -42967,6 +43469,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) }, "UsersUpdateResponseDataData": { "docs": undefined, + "inline": true, "properties": { "accept-communications": { "docs": "Boolean indicating if the user has accepted to receive communications @@ -43166,6 +43669,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) * `ecommerce` - Assigned to the user via an ecommerce purchase source: openapi: ../openapi.yml + inline: true UsersListResponseUsersItemDataData: properties: name: @@ -43189,14 +43693,14 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) docs: Custom user attributes source: openapi: ../openapi.yml + inline: true UsersListResponseUsersItemData: docs: An object containing the User's basic info and custom fields properties: - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml + inline: true UsersListResponseUsersItem: docs: > The fields that define the schema for a given Item are based on the @@ -43231,9 +43735,9 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) data: type: optional docs: An object containing the User's basic info and custom fields - inline: true source: openapi: ../openapi.yml + inline: true UsersListResponse: docs: The list users results properties: @@ -43288,6 +43792,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) * `ecommerce` - Assigned to the user via an ecommerce purchase source: openapi: ../openapi.yml + inline: true UsersGetResponseDataData: properties: name: @@ -43311,14 +43816,14 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) docs: Custom user attributes source: openapi: ../openapi.yml + inline: true UsersGetResponseData: docs: An object containing the User's basic info and custom fields properties: - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml + inline: true UsersGetResponse: docs: > The fields that define the schema for a given Item are based on the @@ -43353,7 +43858,6 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) data: type: optional docs: An object containing the User's basic info and custom fields - inline: true source: openapi: ../openapi.yml UsersUpdateRequestData: @@ -43372,6 +43876,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) Boolean indicating if the user has accepted to receive communications source: openapi: ../openapi.yml + inline: true UsersUpdateResponseStatus: enum: - invited @@ -43404,6 +43909,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) * `ecommerce` - Assigned to the user via an ecommerce purchase source: openapi: ../openapi.yml + inline: true UsersUpdateResponseDataData: properties: name: @@ -43427,14 +43933,14 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) docs: Custom user attributes source: openapi: ../openapi.yml + inline: true UsersUpdateResponseData: docs: An object containing the User's basic info and custom fields properties: - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml + inline: true UsersUpdateResponse: docs: > The fields that define the schema for a given Item are based on the @@ -43469,7 +43975,6 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) data: type: optional docs: An object containing the User's basic info and custom fields - inline: true source: openapi: ../openapi.yml UsersInviteResponseStatus: @@ -43504,6 +44009,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) * `ecommerce` - Assigned to the user via an ecommerce purchase source: openapi: ../openapi.yml + inline: true UsersInviteResponseDataData: properties: name: @@ -43527,14 +44033,14 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) docs: Custom user attributes source: openapi: ../openapi.yml + inline: true UsersInviteResponseData: docs: An object containing the User's basic info and custom fields properties: - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml + inline: true UsersInviteResponse: docs: > The fields that define the schema for a given Item are based on the @@ -43569,7 +44075,6 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) data: type: optional docs: An object containing the User's basic info and custom fields - inline: true source: openapi: ../openapi.yml UserAccountAddedPayloadTriggerType: @@ -43612,6 +44117,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) * `ecommerce` - Assigned to the user via an ecommerce purchase source: openapi: ../openapi.yml + inline: true UserAccountAddedPayloadPayloadDataData: properties: name: @@ -43635,14 +44141,14 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) docs: Custom user attributes source: openapi: ../openapi.yml + inline: true UserAccountAddedPayloadPayloadData: docs: An object containing the User's basic info and custom fields properties: - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml + inline: true UserAccountAddedPayloadPayload: docs: > The fields that define the schema for a given Item are based on the @@ -43677,9 +44183,9 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) data: type: optional docs: An object containing the User's basic info and custom fields - inline: true source: openapi: ../openapi.yml + inline: true UserAccountAddedPayload: properties: triggerType: @@ -43734,6 +44240,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) * `ecommerce` - Assigned to the user via an ecommerce purchase source: openapi: ../openapi.yml + inline: true UserAccountUpdatedPayloadPayloadDataData: properties: name: @@ -43757,14 +44264,14 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) docs: Custom user attributes source: openapi: ../openapi.yml + inline: true UserAccountUpdatedPayloadPayloadData: docs: An object containing the User's basic info and custom fields properties: - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml + inline: true UserAccountUpdatedPayloadPayload: docs: > The fields that define the schema for a given Item are based on the @@ -43799,9 +44306,9 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) data: type: optional docs: An object containing the User's basic info and custom fields - inline: true source: openapi: ../openapi.yml + inline: true UserAccountUpdatedPayload: properties: triggerType: @@ -43856,6 +44363,7 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) * `ecommerce` - Assigned to the user via an ecommerce purchase source: openapi: ../openapi.yml + inline: true UserAccountDeletedPayloadPayloadDataData: properties: name: @@ -43879,14 +44387,14 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) docs: Custom user attributes source: openapi: ../openapi.yml + inline: true UserAccountDeletedPayloadPayloadData: docs: An object containing the User's basic info and custom fields properties: - data: - type: optional - inline: true + data: optional source: openapi: ../openapi.yml + inline: true UserAccountDeletedPayloadPayload: docs: > The fields that define the schema for a given Item are based on the @@ -43921,9 +44429,9 @@ Can be prefixed with a `-` to reverse the sort (ex. `-CreatedOn`) data: type: optional docs: An object containing the User's basic info and custom fields - inline: true source: openapi: ../openapi.yml + inline: true UserAccountDeletedPayload: properties: triggerType: @@ -44593,6 +45101,7 @@ webhooks: "types": { "WebhooksCreateRequestFilter": { "docs": "Only supported for the `form_submission` trigger type. Filter for the form you want Webhooks to be sent for. ", + "inline": true, "properties": { "name": { "docs": "The name of the form you'd like to recieve notifications for.", @@ -44643,6 +45152,7 @@ webhooks: }, "WebhooksCreateResponse": { "docs": undefined, + "inline": undefined, "properties": { "createdOn": { "docs": "Date the Webhook registration was created", @@ -44650,7 +45160,6 @@ webhooks: }, "filter": { "docs": "Only supported for the `form_submission` trigger type. Filter for the form you want Webhooks to be sent for. ", - "inline": true, "type": "optional", }, "id": { @@ -44699,6 +45208,7 @@ webhooks: }, "WebhooksCreateResponseFilter": { "docs": "Only supported for the `form_submission` trigger type. Filter for the form you want Webhooks to be sent for. ", + "inline": true, "properties": { "name": { "docs": "The name of the form you'd like to recieve notifications for.", @@ -44749,6 +45259,7 @@ webhooks: }, "WebhooksGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "createdOn": { "docs": "Date the Webhook registration was created", @@ -44756,7 +45267,6 @@ webhooks: }, "filter": { "docs": "Only supported for the `form_submission` trigger type. Filter for the form you want Webhooks to be sent for. ", - "inline": true, "type": "optional", }, "id": { @@ -44805,6 +45315,7 @@ webhooks: }, "WebhooksGetResponseFilter": { "docs": "Only supported for the `form_submission` trigger type. Filter for the form you want Webhooks to be sent for. ", + "inline": true, "properties": { "name": { "docs": "The name of the form you'd like to recieve notifications for.", @@ -44855,10 +45366,10 @@ webhooks: }, "WebhooksListResponse": { "docs": undefined, + "inline": undefined, "properties": { "pagination": { "docs": "Pagination object", - "inline": true, "type": "optional", }, "webhooks": "optional>", @@ -44869,6 +45380,7 @@ webhooks: }, "WebhooksListResponsePagination": { "docs": "Pagination object", + "inline": true, "properties": { "limit": { "docs": "The limit used for pagination", @@ -44889,6 +45401,7 @@ webhooks: }, "WebhooksListResponseWebhooksItem": { "docs": undefined, + "inline": true, "properties": { "createdOn": { "docs": "Date the Webhook registration was created", @@ -44896,7 +45409,6 @@ webhooks: }, "filter": { "docs": "Only supported for the `form_submission` trigger type. Filter for the form you want Webhooks to be sent for. ", - "inline": true, "type": "optional", }, "id": { @@ -44945,6 +45457,7 @@ webhooks: }, "WebhooksListResponseWebhooksItemFilter": { "docs": "Only supported for the `form_submission` trigger type. Filter for the form you want Webhooks to be sent for. ", + "inline": true, "properties": { "name": { "docs": "The name of the form you'd like to recieve notifications for.", @@ -45010,6 +45523,7 @@ webhooks: docs: The total number of records source: openapi: ../openapi.yml + inline: true WebhooksListResponseWebhooksItemTriggerType: enum: - form_submission @@ -45080,6 +45594,7 @@ webhooks: docs: The name of the form you'd like to recieve notifications for. source: openapi: ../openapi.yml + inline: true WebhooksListResponseWebhooksItem: properties: id: @@ -45143,7 +45658,6 @@ webhooks: docs: >- Only supported for the `form_submission` trigger type. Filter for the form you want Webhooks to be sent for. - inline: true lastTriggered: type: optional docs: Date the Webhook instance was last triggered @@ -45152,12 +45666,12 @@ webhooks: docs: Date the Webhook registration was created source: openapi: ../openapi.yml + inline: true WebhooksListResponse: properties: pagination: type: optional docs: Pagination object - inline: true webhooks: optional> source: openapi: ../openapi.yml @@ -45231,6 +45745,7 @@ webhooks: docs: The name of the form you'd like to recieve notifications for. source: openapi: ../openapi.yml + inline: true WebhooksCreateResponseTriggerType: enum: - form_submission @@ -45301,6 +45816,7 @@ webhooks: docs: The name of the form you'd like to recieve notifications for. source: openapi: ../openapi.yml + inline: true WebhooksCreateResponse: properties: id: @@ -45364,7 +45880,6 @@ webhooks: docs: >- Only supported for the `form_submission` trigger type. Filter for the form you want Webhooks to be sent for. - inline: true lastTriggered: type: optional docs: Date the Webhook instance was last triggered @@ -45443,6 +45958,7 @@ webhooks: docs: The name of the form you'd like to recieve notifications for. source: openapi: ../openapi.yml + inline: true WebhooksGetResponse: properties: id: @@ -45506,7 +46022,6 @@ webhooks: docs: >- Only supported for the `form_submission` trigger type. Filter for the form you want Webhooks to be sent for. - inline: true lastTriggered: type: optional docs: Date the Webhook instance was last triggered diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/webhooks.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/webhooks.json index d52ee4ba306..6549bc09a14 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/webhooks.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/webhooks.json @@ -8,6 +8,7 @@ "types": { "Pet": { "docs": undefined, + "inline": undefined, "properties": { "id": "long", "name": "string", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-audiences.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-audiences.json index d4e90646a7b..692e2c0fb1d 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-audiences.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-audiences.json @@ -51,12 +51,12 @@ "types": { "BaseUser": { "docs": undefined, + "inline": undefined, "properties": { "id": { "audiences": [ "public", ], - "inline": undefined, "type": "optional", "validation": { "format": "uuid", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-auth-variables.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-auth-variables.json index 2c23ca6fdaf..0b288cfa31b 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-auth-variables.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-auth-variables.json @@ -71,6 +71,7 @@ "types": { "UserGetAllResponseItem": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "optional", @@ -88,6 +89,7 @@ }, "UserGetResponse": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "optional", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-encoding.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-encoding.json index ae27944f654..915d16f92c3 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-encoding.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-encoding.json @@ -22,6 +22,7 @@ "type": "google.protobuf.Value", }, }, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-global-headers.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-global-headers.json index 3918bfd4d6d..c96e3d9c727 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-global-headers.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-global-headers.json @@ -8,6 +8,7 @@ "types": { "StreamUser": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "optional", @@ -26,6 +27,7 @@ }, "User": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "optional", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-ignore.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-ignore.json index f63e11f3957..3ae3f0d02bb 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-ignore.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-ignore.json @@ -58,6 +58,7 @@ "types": { "Meta": { "docs": undefined, + "inline": undefined, "properties": { "hasMore": "optional", }, @@ -67,6 +68,7 @@ }, "User": { "docs": undefined, + "inline": undefined, "properties": { "age": "optional", "email": "optional", @@ -87,6 +89,7 @@ }, "UsersResponse": { "docs": undefined, + "inline": undefined, "properties": { "meta": "optional", "users": "optional>", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-pagination.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-pagination.json index a01b42ff886..d3241a7f8f5 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-pagination.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-pagination.json @@ -63,6 +63,7 @@ "types": { "Meta": { "docs": undefined, + "inline": undefined, "properties": { "hasMore": "optional", }, @@ -72,6 +73,7 @@ }, "User": { "docs": undefined, + "inline": undefined, "properties": { "age": "optional", "email": "optional", @@ -92,6 +94,7 @@ }, "UsersResponse": { "docs": undefined, + "inline": undefined, "properties": { "meta": "optional", "users": "optional>", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-property-name.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-property-name.json index 440124a54b1..44779d38820 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-property-name.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-property-name.json @@ -8,9 +8,9 @@ "types": { "BaseUser": { "docs": undefined, + "inline": undefined, "properties": { "id": { - "inline": undefined, "name": "renamed_id", "type": "optional", "validation": { diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-resolutions.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-resolutions.json index ed9839ce3ac..98f46b082c0 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-resolutions.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-resolutions.json @@ -8,6 +8,7 @@ "types": { "User": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "optional", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-sdk-group-name-with-streaming.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-sdk-group-name-with-streaming.json index ab43256e6ff..b71914d179a 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-sdk-group-name-with-streaming.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-sdk-group-name-with-streaming.json @@ -8,6 +8,7 @@ "types": { "StreamUser": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "optional", @@ -26,6 +27,7 @@ }, "User": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "optional", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-sdk-group-name.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-sdk-group-name.json index ba79432b480..8922916ae27 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-sdk-group-name.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-sdk-group-name.json @@ -8,6 +8,7 @@ "types": { "Person": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "optional", @@ -137,6 +138,7 @@ service: "types": { "User": { "docs": "This user object should be in user.yml", + "inline": undefined, "properties": { "associatedPersons": "optional>", "id": { diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-streaming-with-audiences.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-streaming-with-audiences.json index f4893974af2..9cacc3dfa11 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-streaming-with-audiences.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-streaming-with-audiences.json @@ -8,6 +8,7 @@ "types": { "StreamUser": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "optional", @@ -26,6 +27,7 @@ }, "User": { "docs": undefined, + "inline": undefined, "properties": { "id": { "type": "optional", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-streaming-with-reference.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-streaming-with-reference.json index 947e7655e1e..f86cece83a3 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-streaming-with-reference.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-streaming-with-reference.json @@ -8,6 +8,7 @@ "types": { "Completion": { "docs": undefined, + "inline": undefined, "properties": { "text": "optional", }, @@ -17,6 +18,7 @@ }, "CompletionChunk": { "docs": undefined, + "inline": undefined, "properties": { "text": "optional", }, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-streaming-with-sse.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-streaming-with-sse.json index 798002653c1..59b19cf5096 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-streaming-with-sse.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-streaming-with-sse.json @@ -8,6 +8,7 @@ "types": { "Completion": { "docs": undefined, + "inline": undefined, "properties": { "text": "optional", }, @@ -17,6 +18,7 @@ }, "CompletionChunk": { "docs": undefined, + "inline": undefined, "properties": { "text": "optional", }, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-streaming-with-stream-condition.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-streaming-with-stream-condition.json index c2486c68f87..1192924a90b 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-streaming-with-stream-condition.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-streaming-with-stream-condition.json @@ -116,6 +116,7 @@ "types": { "ChatFullResponse": { "docs": "Full response to a chat question when the result is not streamed.", + "inline": undefined, "properties": { "answer": { "docs": "The message from the chat model for the chat message.", @@ -136,6 +137,7 @@ }, "ChatStreamedResponse": { "docs": "An individual event when the response is streamed.", + "inline": undefined, "properties": { "chunk": { "docs": "The chunk of the response.", diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-token-variable-name.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-token-variable-name.json index cb4279a8c61..c9383c0f0d5 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-token-variable-name.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-token-variable-name.json @@ -8,6 +8,7 @@ "types": { "Completion": { "docs": undefined, + "inline": undefined, "properties": { "text": "optional", }, @@ -17,6 +18,7 @@ }, "CompletionChunk": { "docs": undefined, + "inline": undefined, "properties": { "text": "optional", }, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-version.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-version.json index 3ae0294234c..546971d5294 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-version.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/x-fern-version.json @@ -8,6 +8,7 @@ "types": { "Completion": { "docs": undefined, + "inline": undefined, "properties": { "text": "optional", }, @@ -17,6 +18,7 @@ }, "CompletionChunk": { "docs": undefined, + "inline": undefined, "properties": { "text": "optional", }, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildAuthSchemes.ts b/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildAuthSchemes.ts index 777f0e59bb9..db85896d692 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildAuthSchemes.ts +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildAuthSchemes.ts @@ -151,7 +151,7 @@ export function buildAuthSchemes(context: OpenApiIrConverterContext): void { if (securityScheme.scopesEnum != null && securityScheme.scopesEnum.values.length > 0) { context.builder.addType(RelativeFilePath.of("__package__.yml"), { name: "OauthScope", - schema: buildEnumTypeDeclaration(securityScheme.scopesEnum).schema + schema: buildEnumTypeDeclaration(securityScheme.scopesEnum, 0).schema }); } } diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildChannel.ts b/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildChannel.ts index 6cad77d57d2..b385c8fbb06 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildChannel.ts +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildChannel.ts @@ -94,7 +94,8 @@ export function buildChannel({ schema: channel.subscribe, context, fileContainingReference: declarationFile, - namespace: maybeChannelNamespace + namespace: maybeChannelNamespace, + declarationDepth: 0 }) } }); @@ -109,7 +110,8 @@ export function buildChannel({ schema: channel.publish, context, fileContainingReference: declarationFile, - namespace: maybeChannelNamespace + namespace: maybeChannelNamespace, + declarationDepth: 0 }) } }); diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildEndpoint.ts b/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildEndpoint.ts index d3acc350179..459a6a38d2d 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildEndpoint.ts +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildEndpoint.ts @@ -179,7 +179,8 @@ export function buildEndpoint({ schema: jsonResponse.schema, context, fileContainingReference: declarationFile, - namespace: maybeEndpointNamespace + namespace: maybeEndpointNamespace, + declarationDepth: 0 }); convertedEndpoint.response = { docs: jsonResponse.description ?? undefined, @@ -194,7 +195,8 @@ export function buildEndpoint({ schema: jsonResponse.schema, context, fileContainingReference: declarationFile, - namespace: maybeEndpointNamespace + namespace: maybeEndpointNamespace, + declarationDepth: 0 }); convertedEndpoint["response-stream"] = { docs: jsonResponse.description ?? undefined, @@ -207,7 +209,8 @@ export function buildEndpoint({ schema: jsonResponse.schema, context, fileContainingReference: declarationFile, - namespace: maybeEndpointNamespace + namespace: maybeEndpointNamespace, + declarationDepth: 0 }); convertedEndpoint["response-stream"] = { docs: jsonResponse.description ?? undefined, @@ -289,7 +292,8 @@ export function buildEndpoint({ context, fileContainingReference: errorDeclarationFile, declarationFile: errorDeclarationFile, - namespace: maybeEndpointNamespace + namespace: maybeEndpointNamespace, + declarationDepth: 0 }); errorDeclaration.type = getTypeFromTypeReference(typeReference); errorDeclaration.docs = httpError.description; @@ -412,7 +416,8 @@ function getRequest({ schema: request.schema, fileContainingReference: declarationFile, context, - namespace + namespace, + declarationDepth: 0 }); const convertedRequest: ConvertedRequest = { schemaIdsToExclude: [], @@ -466,7 +471,7 @@ function getRequest({ fileContainingReference: declarationFile, context, namespace, - inline: property.inline + declarationDepth: 1 // 1 level deep for request body properties }); // TODO: clean up conditional logic @@ -524,7 +529,8 @@ function getRequest({ schema: Schema.reference(referencedSchema), fileContainingReference: declarationFile, context, - namespace + namespace, + declarationDepth: 0 }); return getTypeFromTypeReference(allOfTypeReference); }); @@ -590,7 +596,8 @@ function getRequest({ schema: property.schema.value, fileContainingReference: declarationFile, context, - namespace + namespace, + declarationDepth: 1 // 1 level deep for request body properties }); if (property.contentType != null) { if (typeof propertyTypeReference === "string") { diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildFernDefinition.ts b/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildFernDefinition.ts index b312a42daea..7a1df104343 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildFernDefinition.ts +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildFernDefinition.ts @@ -40,7 +40,13 @@ function addSchemas({ } const declarationFile = getDeclarationFileForSchema(schema); - const typeDeclaration = buildTypeDeclaration({ schema, context, declarationFile, namespace }); + const typeDeclaration = buildTypeDeclaration({ + schema, + context, + declarationFile, + namespace, + declarationDepth: 0 + }); // HACKHACK: Skip self-referencing schemas. I'm not sure if this is the right way to do this. if (isRawAliasDefinition(typeDeclaration.schema)) { diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildGlobalHeaders.ts b/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildGlobalHeaders.ts index 5f33baf737c..bed1a4d3032 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildGlobalHeaders.ts +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildGlobalHeaders.ts @@ -65,7 +65,8 @@ export function buildGlobalHeaders(context: OpenApiIrConverterContext): void { fileContainingReference: namespace ? join(RelativeFilePath.of(camelCase(namespace)), defaultFile) : defaultFile, - namespace + namespace, + declarationDepth: 0 }) ) ?? "optional" : "optional" diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildHeader.ts b/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildHeader.ts index 62f0795c7af..6421e05b491 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildHeader.ts +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildHeader.ts @@ -22,7 +22,8 @@ export function buildHeader({ schema: header.schema, context, fileContainingReference, - namespace + namespace, + declarationDepth: 0 }); const headerType = getTypeFromTypeReference(typeReference); const headerWithoutXPrefix = header.name.replace(/^x-|^X-/, ""); diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildPathParameter.ts b/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildPathParameter.ts index 40d17539f11..64843e28e3e 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildPathParameter.ts +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildPathParameter.ts @@ -21,7 +21,8 @@ export function buildPathParameter({ schema: pathParameter.schema, context, fileContainingReference, - namespace + namespace, + declarationDepth: 0 }); if ( pathParameter.variableReference == null && diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildQueryParameter.ts b/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildQueryParameter.ts index 452108871bf..bac2fadb1de 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildQueryParameter.ts +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildQueryParameter.ts @@ -113,7 +113,8 @@ function getQueryParameterTypeReference({ context, declarationFile: RelativeFilePath.of(FERN_PACKAGE_MARKER_FILENAME), fileContainingReference, - namespace + namespace, + declarationDepth: 0 }), allowMultiple: true }; @@ -164,7 +165,8 @@ function getQueryParameterTypeReference({ }), context, fileContainingReference, - namespace + namespace, + declarationDepth: 0 }), allowMultiple: true }; @@ -187,7 +189,8 @@ function getQueryParameterTypeReference({ }), context, fileContainingReference, - namespace + namespace, + declarationDepth: 0 }), allowMultiple: true }; @@ -210,7 +213,8 @@ function getQueryParameterTypeReference({ context, fileContainingReference, declarationFile: RelativeFilePath.of(FERN_PACKAGE_MARKER_FILENAME), - namespace + namespace, + declarationDepth: 0 }), allowMultiple: false }; @@ -237,7 +241,8 @@ function getQueryParameterTypeReference({ context, fileContainingReference, declarationFile: RelativeFilePath.of(FERN_PACKAGE_MARKER_FILENAME), - namespace + namespace, + declarationDepth: 0 }), allowMultiple: true }; @@ -248,7 +253,8 @@ function getQueryParameterTypeReference({ context, fileContainingReference, declarationFile: RelativeFilePath.of(FERN_PACKAGE_MARKER_FILENAME), - namespace + namespace, + declarationDepth: 0 }), allowMultiple: false }; @@ -268,7 +274,8 @@ function getQueryParameterTypeReference({ }), context, fileContainingReference, - namespace + namespace, + declarationDepth: 0 }), allowMultiple: true }; @@ -319,7 +326,8 @@ function getQueryParameterTypeReference({ }), context, fileContainingReference, - namespace + namespace, + declarationDepth: 0 }), allowMultiple: true }; @@ -342,7 +350,8 @@ function getQueryParameterTypeReference({ }), context, fileContainingReference, - namespace + namespace, + declarationDepth: 0 }), allowMultiple: true }; @@ -374,7 +383,8 @@ function getQueryParameterTypeReference({ context, fileContainingReference, declarationFile: RelativeFilePath.of(FERN_PACKAGE_MARKER_FILENAME), - namespace + namespace, + declarationDepth: 0 }), allowMultiple: false }; @@ -386,7 +396,8 @@ function getQueryParameterTypeReference({ schema, context, fileContainingReference, - namespace + namespace, + declarationDepth: 0 }), allowMultiple: false }; @@ -406,7 +417,8 @@ function getQueryParameterTypeReference({ }), context, fileContainingReference, - namespace + namespace, + declarationDepth: 0 }), allowMultiple: true }; @@ -416,7 +428,8 @@ function getQueryParameterTypeReference({ schema, context, fileContainingReference, - namespace + namespace, + declarationDepth: 0 }), allowMultiple: false }; diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildTypeDeclaration.ts b/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildTypeDeclaration.ts index 73e79633f57..9b170b29a73 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildTypeDeclaration.ts +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildTypeDeclaration.ts @@ -42,36 +42,44 @@ export function buildTypeDeclaration({ schema, context, declarationFile, - namespace + namespace, + declarationDepth }: { schema: Schema; context: OpenApiIrConverterContext; /* The file the type declaration will be added to */ declarationFile: RelativeFilePath; namespace: string | undefined; + declarationDepth: number; }): ConvertedTypeDeclaration { switch (schema.type) { case "primitive": return buildPrimitiveTypeDeclaration(schema); case "array": - return buildArrayTypeDeclaration({ schema, context, declarationFile, namespace }); + return buildArrayTypeDeclaration({ schema, context, declarationFile, namespace, declarationDepth }); case "map": - return buildMapTypeDeclaration({ schema, context, declarationFile, namespace }); + return buildMapTypeDeclaration({ schema, context, declarationFile, namespace, declarationDepth }); case "reference": return buildReferenceTypeDeclaration({ schema, context, declarationFile, namespace }); case "unknown": return buildUnknownTypeDeclaration(schema.nameOverride, schema.generatedName); case "optional": case "nullable": - return buildOptionalTypeDeclaration({ schema, context, declarationFile, namespace }); + return buildOptionalTypeDeclaration({ schema, context, declarationFile, namespace, declarationDepth }); case "enum": - return buildEnumTypeDeclaration(schema); + return buildEnumTypeDeclaration(schema, declarationDepth); case "literal": return buildLiteralTypeDeclaration(schema, schema.nameOverride, schema.generatedName); case "object": - return buildObjectTypeDeclaration({ schema, context, declarationFile, namespace }); + return buildObjectTypeDeclaration({ schema, context, declarationFile, namespace, declarationDepth }); case "oneOf": - return buildOneOfTypeDeclaration({ schema: schema.value, context, declarationFile, namespace }); + return buildOneOfTypeDeclaration({ + schema: schema.value, + context, + declarationFile, + namespace, + declarationDepth + }); default: assertNever(schema); } @@ -81,12 +89,14 @@ export function buildObjectTypeDeclaration({ schema, context, declarationFile, - namespace + namespace, + declarationDepth }: { schema: ObjectSchema; context: OpenApiIrConverterContext; declarationFile: RelativeFilePath; namespace: string | undefined; + declarationDepth: number; }): ConvertedTypeDeclaration { const shouldSkipReadonly = context.isInState(State.Request) && @@ -131,19 +141,18 @@ export function buildObjectTypeDeclaration({ schema: property.schema, context, fileContainingReference: declarationFile, - namespace + namespace, + declarationDepth: declarationDepth + 1 }); const audiences = property.audiences; const name = property.nameOverride; const availability = convertAvailability(property.availability); - const inline = property.inline; properties[property.key] = convertPropertyTypeReferenceToTypeDefinition({ typeReference, audiences, name, - availability, - inline: inline || undefined // remove false values + availability }); } const propertiesToSetToUnknown: Set = new Set(); @@ -168,7 +177,8 @@ export function buildObjectTypeDeclaration({ schema: Schema.reference(allOf), context, fileContainingReference: declarationFile, - namespace + namespace, + declarationDepth: declarationDepth + 1 }); extendedSchemas.push(getTypeFromTypeReference(allOfTypeReference)); } @@ -184,7 +194,8 @@ export function buildObjectTypeDeclaration({ schema: propertyToInline.schema, context, fileContainingReference: declarationFile, - namespace + namespace, + declarationDepth: declarationDepth + 1 }); } } @@ -196,7 +207,8 @@ export function buildObjectTypeDeclaration({ schema: Schema.reference(extendedSchema), context, fileContainingReference: declarationFile, - namespace + namespace, + declarationDepth: declarationDepth + 1 }); extendedSchemas.push(getTypeFromTypeReference(extendedSchemaTypeReference)); } @@ -237,6 +249,8 @@ export function buildObjectTypeDeclaration({ objectTypeDeclaration.source = convertToSourceSchema(schema.source); } + objectTypeDeclaration.inline = getInline(declarationDepth); + const name = schema.nameOverride ?? schema.generatedName; return { name: readOnlyPropertyPresent && context.respectReadonlySchemas && !shouldSkipReadonly ? `${name}Read` : name, @@ -303,12 +317,14 @@ export function buildArrayTypeDeclaration({ schema, context, declarationFile, - namespace + namespace, + declarationDepth }: { schema: ArraySchema; context: OpenApiIrConverterContext; declarationFile: RelativeFilePath; namespace: string | undefined; + declarationDepth: number; }): ConvertedTypeDeclaration { return { name: schema.nameOverride ?? schema.generatedName, @@ -317,7 +333,8 @@ export function buildArrayTypeDeclaration({ fileContainingReference: declarationFile, declarationFile, context, - namespace + namespace, + declarationDepth }) }; } @@ -326,12 +343,14 @@ export function buildMapTypeDeclaration({ schema, context, declarationFile, - namespace + namespace, + declarationDepth }: { schema: MapSchema; context: OpenApiIrConverterContext; declarationFile: RelativeFilePath; namespace: string | undefined; + declarationDepth: number; }): ConvertedTypeDeclaration { return { name: schema.nameOverride ?? schema.generatedName, @@ -340,7 +359,8 @@ export function buildMapTypeDeclaration({ fileContainingReference: declarationFile, declarationFile, context, - namespace + namespace, + declarationDepth }) }; } @@ -368,7 +388,7 @@ function isCasingEmpty(casing: CasingOverrides): boolean { return casing.camel == null && casing.pascal == null && casing.screamingSnake == null && casing.snake == null; } -export function buildEnumTypeDeclaration(schema: EnumSchema): ConvertedTypeDeclaration { +export function buildEnumTypeDeclaration(schema: EnumSchema, declarationDepth: number): ConvertedTypeDeclaration { const enumSchema: RawSchemas.EnumSchema = { enum: schema.values.map((enumValue) => { const name = enumValue.nameOverride ?? enumValue.generatedName; @@ -435,6 +455,8 @@ export function buildEnumTypeDeclaration(schema: EnumSchema): ConvertedTypeDecla uniqueEnumName.add(name.toLowerCase()); } // TODO: log a warning if the name is not unique } + enumSchema.inline = getInline(declarationDepth); + return { name: schema.nameOverride ?? schema.generatedName, schema: uniqueEnumSchema @@ -454,7 +476,12 @@ export function buildReferenceTypeDeclaration({ }): ConvertedTypeDeclaration { return { name: schema.nameOverride ?? schema.generatedName, - schema: buildReferenceTypeReference({ schema, context, fileContainingReference: declarationFile, namespace }) + schema: buildReferenceTypeReference({ + schema, + context, + fileContainingReference: declarationFile, + namespace + }) }; } @@ -462,12 +489,14 @@ export function buildOptionalTypeDeclaration({ schema, context, declarationFile, - namespace + namespace, + declarationDepth }: { schema: OptionalSchema; context: OpenApiIrConverterContext; declarationFile: RelativeFilePath; namespace: string | undefined; + declarationDepth: number; }): ConvertedTypeDeclaration { return { name: schema.nameOverride ?? schema.generatedName, @@ -476,7 +505,8 @@ export function buildOptionalTypeDeclaration({ context, fileContainingReference: declarationFile, declarationFile, - namespace + namespace, + declarationDepth }) }; } @@ -506,12 +536,14 @@ export function buildOneOfTypeDeclaration({ schema, context, declarationFile, - namespace + namespace, + declarationDepth }: { schema: OneOfSchema; context: OpenApiIrConverterContext; declarationFile: RelativeFilePath; namespace: string | undefined; + declarationDepth: number; }): ConvertedTypeDeclaration { const encoding = schema.encoding != null ? convertToEncodingSchema(schema.encoding) : undefined; if (schema.type === "discriminated") { @@ -521,7 +553,8 @@ export function buildOneOfTypeDeclaration({ schema: property.schema, fileContainingReference: declarationFile, context, - namespace + namespace, + declarationDepth: declarationDepth + 1 }); } const union: Record = {}; @@ -530,7 +563,8 @@ export function buildOneOfTypeDeclaration({ schema: subSchema, context, fileContainingReference: declarationFile, - namespace + namespace, + declarationDepth: declarationDepth + 1 }); } return { @@ -554,7 +588,8 @@ export function buildOneOfTypeDeclaration({ schema: subSchema, fileContainingReference: declarationFile, context, - namespace + namespace, + declarationDepth: declarationDepth + 1 }) ); } @@ -565,7 +600,8 @@ export function buildOneOfTypeDeclaration({ docs: schema.description ?? undefined, union, encoding, - source: schema.source != null ? convertToSourceSchema(schema.source) : undefined + source: schema.source != null ? convertToSourceSchema(schema.source) : undefined, + inline: getInline(declarationDepth) } }; } @@ -598,24 +634,25 @@ function convertPropertyTypeReferenceToTypeDefinition({ typeReference, audiences, name, - availability, - inline + availability }: { typeReference: RawSchemas.TypeReferenceSchema; audiences: string[]; name?: string | undefined; availability?: RawSchemas.AvailabilityUnionSchema; - inline: boolean | undefined; }): RawSchemas.ObjectPropertySchema { - if (audiences.length === 0 && name == null && availability == null && inline !== true) { + if (audiences.length === 0 && name == null && availability == null) { return typeReference; } else { return { ...(typeof typeReference === "string" ? { type: typeReference } : { ...typeReference }), ...(audiences.length > 0 ? { audiences } : {}), ...(name != null ? { name } : {}), - ...(availability != null ? { availability } : {}), - inline + ...(availability != null ? { availability } : {}) }; } } + +function getInline(declarationDepth: number): boolean | undefined { + return declarationDepth > 0 ? true : undefined; +} diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildTypeReference.ts b/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildTypeReference.ts index c2e04a1eee6..ef832baec35 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildTypeReference.ts +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildTypeReference.ts @@ -51,44 +51,14 @@ export function buildTypeReference({ declarationFile = fileContainingReference, context, namespace, - inline + declarationDepth }: { schema: Schema; fileContainingReference: RelativeFilePath; declarationFile?: RelativeFilePath; context: OpenApiIrConverterContext; namespace: string | undefined; - inline?: boolean | undefined; -}): RawSchemas.TypeReferenceSchema { - const typeReference = buildTypeReferenceWithoutInline({ - schema, - fileContainingReference, - declarationFile, - context, - namespace - }); - if (typeof typeReference === "string" && inline === true) { - return { - type: typeReference, - inline: true - }; - } - return typeReference; -} -function buildTypeReferenceWithoutInline({ - schema, - /* The file the type reference will be written to */ - fileContainingReference, - /* The file any type declarations will be written to. Defaults to fileContainingReference if not present */ - declarationFile, - context, - namespace -}: { - schema: Schema; - fileContainingReference: RelativeFilePath; - declarationFile: RelativeFilePath; - context: OpenApiIrConverterContext; - namespace: string | undefined; + declarationDepth: number; }): RawSchemas.TypeReferenceSchema { if (context.shouldMarkSchemaAsReferenced()) { context.markSchemaAsReferenced(schema, namespace); @@ -98,30 +68,70 @@ function buildTypeReferenceWithoutInline({ return buildPrimitiveTypeReference(schema); } case "array": - return buildArrayTypeReference({ schema, fileContainingReference, context, declarationFile, namespace }); + return buildArrayTypeReference({ + schema, + fileContainingReference, + context, + declarationFile, + namespace, + declarationDepth + }); case "map": - return buildMapTypeReference({ schema, fileContainingReference, context, declarationFile, namespace }); + return buildMapTypeReference({ + schema, + fileContainingReference, + context, + declarationFile, + namespace, + declarationDepth + }); case "reference": - return buildReferenceTypeReference({ schema, fileContainingReference, context, namespace }); + return buildReferenceTypeReference({ + schema, + fileContainingReference, + context, + namespace + }); case "unknown": return buildUnknownTypeReference(); case "optional": case "nullable": - return buildOptionalTypeReference({ schema, fileContainingReference, context, declarationFile, namespace }); + return buildOptionalTypeReference({ + schema, + fileContainingReference, + context, + declarationFile, + namespace, + declarationDepth + }); case "enum": - return buildEnumTypeReference({ schema, fileContainingReference, context, declarationFile }); + return buildEnumTypeReference({ + schema, + fileContainingReference, + context, + declarationFile, + declarationDepth + }); case "literal": schema.value; return buildLiteralTypeReference(schema); case "object": - return buildObjectTypeReference({ schema, fileContainingReference, context, declarationFile, namespace }); + return buildObjectTypeReference({ + schema, + fileContainingReference, + context, + declarationFile, + namespace, + declarationDepth + }); case "oneOf": return buildOneOfTypeReference({ schema: schema.value, fileContainingReference, context, declarationFile, - namespace + namespace, + declarationDepth }); default: assertNever(schema); @@ -467,20 +477,23 @@ export function buildArrayTypeReference({ fileContainingReference, declarationFile, context, - namespace + namespace, + declarationDepth }: { schema: ArraySchema; fileContainingReference: RelativeFilePath; declarationFile: RelativeFilePath; context: OpenApiIrConverterContext; namespace: string | undefined; + declarationDepth: number; }): RawSchemas.TypeReferenceSchema { const item = buildTypeReference({ schema: schema.value, fileContainingReference, declarationFile, context, - namespace + namespace, + declarationDepth }); const type = `list<${getTypeFromTypeReference(item)}>`; if (schema.description == null && schema.title == null) { @@ -498,13 +511,15 @@ export function buildMapTypeReference({ fileContainingReference, declarationFile, context, - namespace + namespace, + declarationDepth }: { schema: MapSchema; fileContainingReference: RelativeFilePath; declarationFile: RelativeFilePath; context: OpenApiIrConverterContext; namespace: string | undefined; + declarationDepth: number; }): RawSchemas.TypeReferenceSchema { const keyTypeReference = buildPrimitiveTypeReference(schema.key); const valueTypeReference = buildTypeReference({ @@ -512,7 +527,8 @@ export function buildMapTypeReference({ fileContainingReference, declarationFile, context, - namespace + namespace, + declarationDepth }); const encoding = schema.encoding != null ? convertToEncodingSchema(schema.encoding) : undefined; const type = `map<${getTypeFromTypeReference(keyTypeReference)}, ${getTypeFromTypeReference(valueTypeReference)}>`; @@ -539,20 +555,23 @@ export function buildOptionalTypeReference({ fileContainingReference, declarationFile, context, - namespace + namespace, + declarationDepth }: { schema: OptionalSchema; fileContainingReference: RelativeFilePath; declarationFile: RelativeFilePath; context: OpenApiIrConverterContext; namespace: string | undefined; + declarationDepth: number; }): RawSchemas.TypeReferenceSchema { const itemTypeReference = buildTypeReference({ schema: schema.value, fileContainingReference, declarationFile, context, - namespace + namespace, + declarationDepth }); const itemType = getTypeFromTypeReference(itemTypeReference); const itemDocs = getDocsFromTypeReference(itemTypeReference); @@ -619,14 +638,16 @@ export function buildEnumTypeReference({ schema, fileContainingReference, declarationFile, - context + context, + declarationDepth }: { schema: EnumSchema; fileContainingReference: RelativeFilePath; declarationFile: RelativeFilePath; context: OpenApiIrConverterContext; + declarationDepth: number; }): RawSchemas.TypeReferenceSchema { - const enumTypeDeclaration = buildEnumTypeDeclaration(schema); + const enumTypeDeclaration = buildEnumTypeDeclaration(schema, declarationDepth); const name = schema.nameOverride ?? schema.generatedName; context.builder.addType(declarationFile, { name, @@ -657,19 +678,22 @@ export function buildObjectTypeReference({ fileContainingReference, declarationFile, context, - namespace + namespace, + declarationDepth }: { schema: ObjectSchema; fileContainingReference: RelativeFilePath; declarationFile: RelativeFilePath; context: OpenApiIrConverterContext; namespace: string | undefined; + declarationDepth: number; }): RawSchemas.TypeReferenceSchema { const objectTypeDeclaration = buildObjectTypeDeclaration({ schema, declarationFile, context, - namespace + namespace, + declarationDepth }); const name = schema.nameOverride ?? schema.generatedName; context.builder.addType(declarationFile, { @@ -692,19 +716,22 @@ export function buildOneOfTypeReference({ fileContainingReference, declarationFile, context, - namespace + namespace, + declarationDepth }: { schema: OneOfSchema; fileContainingReference: RelativeFilePath; declarationFile: RelativeFilePath; context: OpenApiIrConverterContext; namespace: string | undefined; + declarationDepth: number; }): RawSchemas.TypeReferenceSchema { const unionTypeDeclaration = buildOneOfTypeDeclaration({ schema, declarationFile, context, - namespace + namespace, + declarationDepth }); const name = schema.nameOverride ?? schema.generatedName; context.builder.addType(declarationFile, { diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildVariables.ts b/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildVariables.ts index 267647b39cc..2278f3cf6b3 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildVariables.ts +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildVariables.ts @@ -15,7 +15,8 @@ export function buildVariables(context: OpenApiIrConverterContext): void { schema: Schema.primitive(variableSchema), context, fileContainingReference: RelativeFilePath.of(FERN_PACKAGE_MARKER_FILENAME), - namespace + namespace, + declarationDepth: 0 }); context.builder.addVariable({ name: variable, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildWebhooks.ts b/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildWebhooks.ts index 873b197e638..fd93e7b9d52 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildWebhooks.ts +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildWebhooks.ts @@ -38,7 +38,8 @@ export function buildWebhooks(context: OpenApiIrConverterContext): void { schema: webhook.payload, context, fileContainingReference: webhookLocation.file, - namespace: maybeWebhookNamespace + namespace: maybeWebhookNamespace, + declarationDepth: 0 }), examples: webhook.examples != null diff --git a/packages/cli/api-importers/openapi/openapi-ir/fern/definition/finalIr.yml b/packages/cli/api-importers/openapi/openapi-ir/fern/definition/finalIr.yml index 0d160d77fd9..ee66d73bdaf 100644 --- a/packages/cli/api-importers/openapi/openapi-ir/fern/definition/finalIr.yml +++ b/packages/cli/api-importers/openapi/openapi-ir/fern/definition/finalIr.yml @@ -610,7 +610,6 @@ types: docs: | An optional name override populated via `x-fern-property-name`. audiences: list - inline: optional ObjectPropertyConflictInfo: properties: diff --git a/packages/cli/api-importers/openapi/openapi-ir/fern/definition/parseIr.yml b/packages/cli/api-importers/openapi/openapi-ir/fern/definition/parseIr.yml index 48c058a45ef..f5d974fc73a 100644 --- a/packages/cli/api-importers/openapi/openapi-ir/fern/definition/parseIr.yml +++ b/packages/cli/api-importers/openapi/openapi-ir/fern/definition/parseIr.yml @@ -283,7 +283,6 @@ types: type: string docs: | A unique name for the property. - inline: optional OneOfSchemaWithExample: union: diff --git a/packages/cli/api-importers/openapi/openapi-ir/src/sdk/api/resources/finalIr/types/ObjectProperty.ts b/packages/cli/api-importers/openapi/openapi-ir/src/sdk/api/resources/finalIr/types/ObjectProperty.ts index d7ef126e8c7..a19f03f4b4a 100644 --- a/packages/cli/api-importers/openapi/openapi-ir/src/sdk/api/resources/finalIr/types/ObjectProperty.ts +++ b/packages/cli/api-importers/openapi/openapi-ir/src/sdk/api/resources/finalIr/types/ObjectProperty.ts @@ -15,5 +15,4 @@ export interface ObjectProperty extends FernOpenapiIr.WithAvailability { /** An optional name override populated via `x-fern-property-name`. */ nameOverride: string | undefined; audiences: string[]; - inline: boolean | undefined; } diff --git a/packages/cli/api-importers/openapi/openapi-ir/src/sdk/api/resources/parseIr/types/ObjectPropertyWithExample.ts b/packages/cli/api-importers/openapi/openapi-ir/src/sdk/api/resources/parseIr/types/ObjectPropertyWithExample.ts index f09daf224da..ec10558cc44 100644 --- a/packages/cli/api-importers/openapi/openapi-ir/src/sdk/api/resources/parseIr/types/ObjectPropertyWithExample.ts +++ b/packages/cli/api-importers/openapi/openapi-ir/src/sdk/api/resources/parseIr/types/ObjectPropertyWithExample.ts @@ -15,5 +15,4 @@ export interface ObjectPropertyWithExample extends FernOpenapiIr.WithAvailabilit nameOverride: string | undefined; /** A unique name for the property. */ generatedName: string; - inline: boolean | undefined; } diff --git a/packages/cli/api-importers/openapi/openapi-ir/src/sdk/serialization/resources/finalIr/types/ObjectProperty.ts b/packages/cli/api-importers/openapi/openapi-ir/src/sdk/serialization/resources/finalIr/types/ObjectProperty.ts index fb88e73a3a5..7dd0d8016d0 100644 --- a/packages/cli/api-importers/openapi/openapi-ir/src/sdk/serialization/resources/finalIr/types/ObjectProperty.ts +++ b/packages/cli/api-importers/openapi/openapi-ir/src/sdk/serialization/resources/finalIr/types/ObjectProperty.ts @@ -21,7 +21,6 @@ export const ObjectProperty: core.serialization.ObjectSchema< generatedName: core.serialization.string(), nameOverride: core.serialization.string().optional(), audiences: core.serialization.list(core.serialization.string()), - inline: core.serialization.boolean().optional(), }) .extend(WithAvailability); @@ -34,6 +33,5 @@ export declare namespace ObjectProperty { generatedName: string; nameOverride?: string | null; audiences: string[]; - inline?: boolean | null; } } diff --git a/packages/cli/api-importers/openapi/openapi-ir/src/sdk/serialization/resources/parseIr/types/ObjectPropertyWithExample.ts b/packages/cli/api-importers/openapi/openapi-ir/src/sdk/serialization/resources/parseIr/types/ObjectPropertyWithExample.ts index ba87b7c1282..69e059c1649 100644 --- a/packages/cli/api-importers/openapi/openapi-ir/src/sdk/serialization/resources/parseIr/types/ObjectPropertyWithExample.ts +++ b/packages/cli/api-importers/openapi/openapi-ir/src/sdk/serialization/resources/parseIr/types/ObjectPropertyWithExample.ts @@ -21,7 +21,6 @@ export const ObjectPropertyWithExample: core.serialization.ObjectSchema< conflict: core.serialization.record(SchemaId, ObjectPropertyConflictInfo), nameOverride: core.serialization.string().optional(), generatedName: core.serialization.string(), - inline: core.serialization.boolean().optional(), }) .extend(WithAvailability); @@ -34,6 +33,5 @@ export declare namespace ObjectPropertyWithExample { conflict: Record; nameOverride?: string | null; generatedName: string; - inline?: boolean | null; } } diff --git a/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/DiscriminatedUnionSchema.ts b/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/DiscriminatedUnionSchema.ts index b4444c6fb63..cefa0e8e2e1 100644 --- a/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/DiscriminatedUnionSchema.ts +++ b/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/DiscriminatedUnionSchema.ts @@ -4,7 +4,7 @@ import * as FernDefinition from "../../../index"; -export interface DiscriminatedUnionSchema extends FernDefinition.BaseTypeDeclarationSchema { +export interface DiscriminatedUnionSchema extends FernDefinition.BaseTypeDeclarationSchema, FernDefinition.WithInline { discriminant?: FernDefinition.UnionDiscriminant; extends?: FernDefinition.ObjectExtendsSchema; "base-properties"?: Record; diff --git a/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/EnumSchema.ts b/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/EnumSchema.ts index 86dbdf09d7f..356c19735f1 100644 --- a/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/EnumSchema.ts +++ b/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/EnumSchema.ts @@ -4,7 +4,7 @@ import * as FernDefinition from "../../../index"; -export interface EnumSchema extends FernDefinition.BaseTypeDeclarationSchema { +export interface EnumSchema extends FernDefinition.BaseTypeDeclarationSchema, FernDefinition.WithInline { default?: string; enum: FernDefinition.EnumValue[]; } diff --git a/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/ObjectSchema.ts b/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/ObjectSchema.ts index db9ec2f7c47..6da5966b74f 100644 --- a/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/ObjectSchema.ts +++ b/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/ObjectSchema.ts @@ -4,7 +4,7 @@ import * as FernDefinition from "../../../index"; -export interface ObjectSchema extends FernDefinition.BaseTypeDeclarationSchema { +export interface ObjectSchema extends FernDefinition.BaseTypeDeclarationSchema, FernDefinition.WithInline { extends?: FernDefinition.ObjectExtendsSchema; properties?: Record; "extra-properties"?: boolean; diff --git a/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/TypeReferenceDeclarationWithName.ts b/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/TypeReferenceDeclarationWithName.ts index 7eac8dc6052..c1b46cc6ebb 100644 --- a/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/TypeReferenceDeclarationWithName.ts +++ b/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/TypeReferenceDeclarationWithName.ts @@ -7,7 +7,6 @@ import * as FernDefinition from "../../../index"; export interface TypeReferenceDeclarationWithName extends FernDefinition.BaseTypeReferenceSchema, FernDefinition.WithName, - FernDefinition.WithAudiences, - FernDefinition.WithInline { + FernDefinition.WithAudiences { type: string; } diff --git a/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/TypeReferenceDetailedSchema.ts b/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/TypeReferenceDetailedSchema.ts index 64d9a12eeed..04ebced3fc4 100644 --- a/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/TypeReferenceDetailedSchema.ts +++ b/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/TypeReferenceDetailedSchema.ts @@ -7,7 +7,6 @@ import * as FernDefinition from "../../../index"; export interface TypeReferenceDetailedSchema extends FernDefinition.BaseTypeReferenceSchema, FernDefinition.WithName, - FernDefinition.WithAudiences, - FernDefinition.WithInline { + FernDefinition.WithAudiences { type: string; } diff --git a/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/UndiscriminatedUnionSchema.ts b/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/UndiscriminatedUnionSchema.ts index a0c0284a25f..0df0bafd384 100644 --- a/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/UndiscriminatedUnionSchema.ts +++ b/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/UndiscriminatedUnionSchema.ts @@ -4,7 +4,9 @@ import * as FernDefinition from "../../../index"; -export interface UndiscriminatedUnionSchema extends FernDefinition.BaseTypeDeclarationSchema { +export interface UndiscriminatedUnionSchema + extends FernDefinition.BaseTypeDeclarationSchema, + FernDefinition.WithInline { discriminated: false; union: FernDefinition.SingleUndiscriminatedUnionTypeSchema[]; } diff --git a/packages/cli/fern-definition/schema/src/schemas/serialization/resources/types/types/DiscriminatedUnionSchema.ts b/packages/cli/fern-definition/schema/src/schemas/serialization/resources/types/types/DiscriminatedUnionSchema.ts index 385f0966724..7ff831d642a 100644 --- a/packages/cli/fern-definition/schema/src/schemas/serialization/resources/types/types/DiscriminatedUnionSchema.ts +++ b/packages/cli/fern-definition/schema/src/schemas/serialization/resources/types/types/DiscriminatedUnionSchema.ts @@ -10,6 +10,7 @@ import { ObjectExtendsSchema } from "./ObjectExtendsSchema"; import { TypeReferenceSchema } from "./TypeReferenceSchema"; import { SingleUnionTypeSchema } from "./SingleUnionTypeSchema"; import { BaseTypeDeclarationSchema } from "./BaseTypeDeclarationSchema"; +import { WithInline } from "../../commons/types/WithInline"; export const DiscriminatedUnionSchema: core.serialization.ObjectSchema< serializers.DiscriminatedUnionSchema.Raw, @@ -21,10 +22,11 @@ export const DiscriminatedUnionSchema: core.serialization.ObjectSchema< "base-properties": core.serialization.record(core.serialization.string(), TypeReferenceSchema).optional(), union: core.serialization.record(core.serialization.string(), SingleUnionTypeSchema), }) - .extend(BaseTypeDeclarationSchema); + .extend(BaseTypeDeclarationSchema) + .extend(WithInline); export declare namespace DiscriminatedUnionSchema { - interface Raw extends BaseTypeDeclarationSchema.Raw { + interface Raw extends BaseTypeDeclarationSchema.Raw, WithInline.Raw { discriminant?: UnionDiscriminant.Raw | null; extends?: ObjectExtendsSchema.Raw | null; "base-properties"?: Record | null; diff --git a/packages/cli/fern-definition/schema/src/schemas/serialization/resources/types/types/EnumSchema.ts b/packages/cli/fern-definition/schema/src/schemas/serialization/resources/types/types/EnumSchema.ts index ef9528bdfcb..0d535b9cec8 100644 --- a/packages/cli/fern-definition/schema/src/schemas/serialization/resources/types/types/EnumSchema.ts +++ b/packages/cli/fern-definition/schema/src/schemas/serialization/resources/types/types/EnumSchema.ts @@ -7,6 +7,7 @@ import * as FernDefinition from "../../../../api/index"; import * as core from "../../../../core"; import { EnumValue } from "./EnumValue"; import { BaseTypeDeclarationSchema } from "./BaseTypeDeclarationSchema"; +import { WithInline } from "../../commons/types/WithInline"; export const EnumSchema: core.serialization.ObjectSchema = core.serialization @@ -14,10 +15,11 @@ export const EnumSchema: core.serialization.ObjectSchema = core.serialization @@ -16,10 +17,11 @@ export const ObjectSchema: core.serialization.ObjectSchema | null; "extra-properties"?: boolean | null; diff --git a/packages/cli/fern-definition/schema/src/schemas/serialization/resources/types/types/TypeReferenceDeclarationWithName.ts b/packages/cli/fern-definition/schema/src/schemas/serialization/resources/types/types/TypeReferenceDeclarationWithName.ts index 052829f1048..9149fcbc1f3 100644 --- a/packages/cli/fern-definition/schema/src/schemas/serialization/resources/types/types/TypeReferenceDeclarationWithName.ts +++ b/packages/cli/fern-definition/schema/src/schemas/serialization/resources/types/types/TypeReferenceDeclarationWithName.ts @@ -8,7 +8,6 @@ import * as core from "../../../../core"; import { BaseTypeReferenceSchema } from "./BaseTypeReferenceSchema"; import { WithName } from "../../commons/types/WithName"; import { WithAudiences } from "../../commons/types/WithAudiences"; -import { WithInline } from "../../commons/types/WithInline"; export const TypeReferenceDeclarationWithName: core.serialization.ObjectSchema< serializers.TypeReferenceDeclarationWithName.Raw, @@ -19,11 +18,10 @@ export const TypeReferenceDeclarationWithName: core.serialization.ObjectSchema< }) .extend(BaseTypeReferenceSchema) .extend(WithName) - .extend(WithAudiences) - .extend(WithInline); + .extend(WithAudiences); export declare namespace TypeReferenceDeclarationWithName { - interface Raw extends BaseTypeReferenceSchema.Raw, WithName.Raw, WithAudiences.Raw, WithInline.Raw { + interface Raw extends BaseTypeReferenceSchema.Raw, WithName.Raw, WithAudiences.Raw { type: string; } } diff --git a/packages/cli/fern-definition/schema/src/schemas/serialization/resources/types/types/TypeReferenceDetailedSchema.ts b/packages/cli/fern-definition/schema/src/schemas/serialization/resources/types/types/TypeReferenceDetailedSchema.ts index d33313d7446..314ceb0d6f4 100644 --- a/packages/cli/fern-definition/schema/src/schemas/serialization/resources/types/types/TypeReferenceDetailedSchema.ts +++ b/packages/cli/fern-definition/schema/src/schemas/serialization/resources/types/types/TypeReferenceDetailedSchema.ts @@ -8,7 +8,6 @@ import * as core from "../../../../core"; import { BaseTypeReferenceSchema } from "./BaseTypeReferenceSchema"; import { WithName } from "../../commons/types/WithName"; import { WithAudiences } from "../../commons/types/WithAudiences"; -import { WithInline } from "../../commons/types/WithInline"; export const TypeReferenceDetailedSchema: core.serialization.ObjectSchema< serializers.TypeReferenceDetailedSchema.Raw, @@ -19,11 +18,10 @@ export const TypeReferenceDetailedSchema: core.serialization.ObjectSchema< }) .extend(BaseTypeReferenceSchema) .extend(WithName) - .extend(WithAudiences) - .extend(WithInline); + .extend(WithAudiences); export declare namespace TypeReferenceDetailedSchema { - interface Raw extends BaseTypeReferenceSchema.Raw, WithName.Raw, WithAudiences.Raw, WithInline.Raw { + interface Raw extends BaseTypeReferenceSchema.Raw, WithName.Raw, WithAudiences.Raw { type: string; } } diff --git a/packages/cli/fern-definition/schema/src/schemas/serialization/resources/types/types/UndiscriminatedUnionSchema.ts b/packages/cli/fern-definition/schema/src/schemas/serialization/resources/types/types/UndiscriminatedUnionSchema.ts index 34c9867b7e5..7c48334cc09 100644 --- a/packages/cli/fern-definition/schema/src/schemas/serialization/resources/types/types/UndiscriminatedUnionSchema.ts +++ b/packages/cli/fern-definition/schema/src/schemas/serialization/resources/types/types/UndiscriminatedUnionSchema.ts @@ -7,6 +7,7 @@ import * as FernDefinition from "../../../../api/index"; import * as core from "../../../../core"; import { SingleUndiscriminatedUnionTypeSchema } from "./SingleUndiscriminatedUnionTypeSchema"; import { BaseTypeDeclarationSchema } from "./BaseTypeDeclarationSchema"; +import { WithInline } from "../../commons/types/WithInline"; export const UndiscriminatedUnionSchema: core.serialization.ObjectSchema< serializers.UndiscriminatedUnionSchema.Raw, @@ -16,10 +17,11 @@ export const UndiscriminatedUnionSchema: core.serialization.ObjectSchema< discriminated: core.serialization.booleanLiteral(false), union: core.serialization.list(SingleUndiscriminatedUnionTypeSchema), }) - .extend(BaseTypeDeclarationSchema); + .extend(BaseTypeDeclarationSchema) + .extend(WithInline); export declare namespace UndiscriminatedUnionSchema { - interface Raw extends BaseTypeDeclarationSchema.Raw { + interface Raw extends BaseTypeDeclarationSchema.Raw, WithInline.Raw { discriminated: false; union: SingleUndiscriminatedUnionTypeSchema.Raw[]; } diff --git a/packages/cli/fern-definition/validator/src/ast/visitors/services/visitHttpService.ts b/packages/cli/fern-definition/validator/src/ast/visitors/services/visitHttpService.ts index f50f054f8e3..c07962551ee 100644 --- a/packages/cli/fern-definition/validator/src/ast/visitors/services/visitHttpService.ts +++ b/packages/cli/fern-definition/validator/src/ast/visitors/services/visitHttpService.ts @@ -140,7 +140,6 @@ async function visitEndpoint({ validation: queryParameter.validation }); }, - inline: noop, "allow-multiple": noop, audiences: noop, encoding: noop, @@ -208,7 +207,6 @@ async function visitEndpoint({ validation: property.validation }); }, - inline: noop, "content-type": noop, audiences: noop, encoding: noop, @@ -526,8 +524,7 @@ export async function visitPathParameters({ default: noop, validation: noop, name: noop, - audiences: noop, - inline: noop + audiences: noop }); } } @@ -566,7 +563,6 @@ async function visitHeaders({ validation: header.validation }); }, - inline: noop, docs: createDocsVisitor(visitor, nodePathForHeader), audiences: noop, encoding: noop, diff --git a/packages/cli/fern-definition/validator/src/ast/visitors/visitTypeDeclarations.ts b/packages/cli/fern-definition/validator/src/ast/visitors/visitTypeDeclarations.ts index 2809ef9b516..08fd8699709 100644 --- a/packages/cli/fern-definition/validator/src/ast/visitors/visitTypeDeclarations.ts +++ b/packages/cli/fern-definition/validator/src/ast/visitors/visitTypeDeclarations.ts @@ -109,7 +109,6 @@ export async function visitTypeDeclaration({ validation: property.validation }); }, - inline: noop, audiences: noop, encoding: noop, default: noop, @@ -123,7 +122,8 @@ export async function visitTypeDeclaration({ audiences: noop, encoding: noop, source: noop, - examples: visitExamples + examples: visitExamples, + inline: noop }); }, discriminatedUnion: async (union) => { @@ -167,7 +167,8 @@ export async function visitTypeDeclaration({ audiences: noop, encoding: noop, source: noop, - examples: visitExamples + examples: visitExamples, + inline: noop }); }, undiscriminatedUnion: async (union) => { @@ -192,7 +193,8 @@ export async function visitTypeDeclaration({ audiences: noop, encoding: noop, source: noop, - examples: visitExamples + examples: visitExamples, + inline: noop }); }, enum: async (_enum) => { @@ -220,7 +222,8 @@ export async function visitTypeDeclaration({ default: noop, encoding: noop, source: noop, - examples: visitExamples + examples: visitExamples, + inline: noop }); } }); diff --git a/packages/cli/fern-definition/validator/src/ast/visitors/visitWebhooks.ts b/packages/cli/fern-definition/validator/src/ast/visitors/visitWebhooks.ts index a350a094ce3..5bf7d51e07b 100644 --- a/packages/cli/fern-definition/validator/src/ast/visitors/visitWebhooks.ts +++ b/packages/cli/fern-definition/validator/src/ast/visitors/visitWebhooks.ts @@ -82,7 +82,6 @@ export async function visitWebhooks({ location: TypeReferenceLocation.InlinedRequestProperty }); }, - inline: noop, audiences: noop, encoding: noop, default: noop, @@ -131,7 +130,6 @@ async function visitHeaders({ validation: header.validation }); }, - inline: noop, docs: createDocsVisitor(visitor, nodePathForHeader), audiences: noop, encoding: noop, diff --git a/packages/cli/generation/ir-generator/src/converters/type-declarations/convertDiscriminatedUnionTypeDeclaration.ts b/packages/cli/generation/ir-generator/src/converters/type-declarations/convertDiscriminatedUnionTypeDeclaration.ts index fe48806c418..aba93ad7128 100644 --- a/packages/cli/generation/ir-generator/src/converters/type-declarations/convertDiscriminatedUnionTypeDeclaration.ts +++ b/packages/cli/generation/ir-generator/src/converters/type-declarations/convertDiscriminatedUnionTypeDeclaration.ts @@ -80,7 +80,8 @@ export async function convertDiscriminatedUnionTypeDeclaration({ displayName: getDisplayName(rawSingleUnionType), availability: getAvailability(rawSingleUnionType) }; - }) + }), + inline: union.inline }); } diff --git a/packages/cli/generation/ir-generator/src/converters/type-declarations/convertEnumTypeDeclaration.ts b/packages/cli/generation/ir-generator/src/converters/type-declarations/convertEnumTypeDeclaration.ts index 1dbfd881b29..dde24727eca 100644 --- a/packages/cli/generation/ir-generator/src/converters/type-declarations/convertEnumTypeDeclaration.ts +++ b/packages/cli/generation/ir-generator/src/converters/type-declarations/convertEnumTypeDeclaration.ts @@ -33,7 +33,8 @@ export async function convertEnumTypeDeclaration({ } return { default: defaultValue, - values + values, + inline: _enum.inline }; } diff --git a/packages/cli/generation/ir-generator/src/converters/type-declarations/convertGenericTypeDeclaration.ts b/packages/cli/generation/ir-generator/src/converters/type-declarations/convertGenericTypeDeclaration.ts index 1851e36d90c..de6ba900599 100644 --- a/packages/cli/generation/ir-generator/src/converters/type-declarations/convertGenericTypeDeclaration.ts +++ b/packages/cli/generation/ir-generator/src/converters/type-declarations/convertGenericTypeDeclaration.ts @@ -45,7 +45,8 @@ export async function convertGenericTypeDeclaration({ file ), extraProperties: resolvedBaseGeneric.declaration["extra-properties"] ?? false, - extendedProperties: undefined + extendedProperties: undefined, + inline: resolvedBaseGeneric.declaration.inline }); } diff --git a/packages/cli/generation/ir-generator/src/converters/type-declarations/convertObjectTypeDeclaration.ts b/packages/cli/generation/ir-generator/src/converters/type-declarations/convertObjectTypeDeclaration.ts index 76c5862ac06..5b29cebd88a 100644 --- a/packages/cli/generation/ir-generator/src/converters/type-declarations/convertObjectTypeDeclaration.ts +++ b/packages/cli/generation/ir-generator/src/converters/type-declarations/convertObjectTypeDeclaration.ts @@ -15,7 +15,8 @@ export async function convertObjectTypeDeclaration({ extends: getExtensionsAsList(object.extends).map((extended) => parseTypeName({ typeName: extended, file })), properties: await getObjectPropertiesFromRawObjectSchema(object, file), extraProperties: object["extra-properties"] ?? false, - extendedProperties: undefined + extendedProperties: undefined, + inline: object.inline }); } diff --git a/packages/cli/generation/ir-generator/src/converters/type-declarations/convertTypeDeclaration.ts b/packages/cli/generation/ir-generator/src/converters/type-declarations/convertTypeDeclaration.ts index 09ae58a9532..1b8191dc11f 100644 --- a/packages/cli/generation/ir-generator/src/converters/type-declarations/convertTypeDeclaration.ts +++ b/packages/cli/generation/ir-generator/src/converters/type-declarations/convertTypeDeclaration.ts @@ -66,7 +66,7 @@ export async function convertTypeDeclaration({ propertiesByAudience, typeDeclaration: { ...declaration, - inline: false, + inline: getInline(typeDeclaration), name: declaredTypeName, shape: await convertType({ typeDeclaration, file, typeResolver }), referencedTypes: new Set(referencedTypes.map((referencedType) => referencedType.typeId)), @@ -195,3 +195,12 @@ function convertSourceToEncoding(source: Source | undefined): Encoding { proto: undefined }; } +function getInline(typeDeclaration: RawSchemas.TypeDeclarationSchema): boolean | undefined { + if (typeof typeDeclaration === "string") { + return undefined; + } + if ("inline" in typeDeclaration) { + return typeDeclaration.inline; + } + return undefined; +} diff --git a/packages/cli/generation/ir-generator/src/converters/type-declarations/convertUndiscriminatedUnionTypeDeclaration.ts b/packages/cli/generation/ir-generator/src/converters/type-declarations/convertUndiscriminatedUnionTypeDeclaration.ts index 46f38095797..ac7d62b90ad 100644 --- a/packages/cli/generation/ir-generator/src/converters/type-declarations/convertUndiscriminatedUnionTypeDeclaration.ts +++ b/packages/cli/generation/ir-generator/src/converters/type-declarations/convertUndiscriminatedUnionTypeDeclaration.ts @@ -21,6 +21,7 @@ export function convertUndiscriminatedUnionTypeDeclaration({ type: file.parseTypeReference(unionMember), docs: unionMember.docs }; - }) + }), + inline: union.inline }); } diff --git a/packages/cli/generation/ir-generator/src/generateIntermediateRepresentation.ts b/packages/cli/generation/ir-generator/src/generateIntermediateRepresentation.ts index 35a0966e4f5..e7b3bde510c 100644 --- a/packages/cli/generation/ir-generator/src/generateIntermediateRepresentation.ts +++ b/packages/cli/generation/ir-generator/src/generateIntermediateRepresentation.ts @@ -499,7 +499,6 @@ export async function generateIntermediateRepresentation({ readme != null ? convertReadmeConfig({ readme, services: intermediateRepresentation.services }) : undefined; const { types, services } = addExtendedPropertiesToIr(intermediateRepresentationForAudiences); - markInlineTypeDeclarations(types, services); return { ...intermediateRepresentationForAudiences, @@ -735,102 +734,3 @@ function filterServiceTypeReferenceInfoForAudiences( typesReferencedOnlyByService: filteredTypesReferencedOnlyByService }; } - -type NamedObjectProperty = ObjectProperty & { valueType: TypeReference.Named }; -type OptionalNamedObjectProperty = ObjectProperty & { - valueType: TypeReference.Container & { - container: ContainerType.Optional & { optional: NamedType }; - }; -}; -function markInlineTypeDeclarations(types: Record, services: Record) { - // find types that have properties containing inline types - const namedTypesFromTypes = Object.values(types).flatMap((type) => { - if (type.shape.type !== "object") { - return []; - } - - return getNamedTypes(Object.values(type.shape.properties)); - }); - - const namedTypesFromRequests = Object.values(services) - .flatMap((service) => service.endpoints) - .filter( - (endpoint): endpoint is HttpEndpoint & { requestBody: InlinedRequestBody } => - endpoint.requestBody?.type === "inlinedRequestBody" - ) - .map((endpoint) => endpoint.requestBody?.properties ?? []) - .flatMap(getNamedTypes); - - const namedTypes = namedTypesFromTypes.concat(namedTypesFromRequests); - - const inlinePropTypeIds = new Set(); - const nonInlinePropTypeIds = new Set(); - // split props into inline and non-inline using reduce - namedTypes.forEach((prop) => { - if (prop.inline === true) { - inlinePropTypeIds.add(prop.typeId); - } else { - nonInlinePropTypeIds.add(prop.typeId); - } - }); - for (const [typeId, type] of Object.entries(types)) { - if (nonInlinePropTypeIds.has(typeId)) { - type.inline = false; - continue; - } - type.inline = inlinePropTypeIds.has(typeId); - } -} -function getNamedTypes(props: ObjectProperty[]): NamedType | readonly NamedType[] { - return props - .filter((prop): prop is NamedObjectProperty | OptionalNamedObjectProperty => { - switch (prop.valueType.type) { - case "primitive": - return false; - case "unknown": - return false; - case "container": - switch (prop.valueType.container.type) { - case "list": - break; - case "literal": - break; - case "map": - break; - case "set": - break; - case "optional": - switch (prop.valueType.container.optional.type) { - case "named": - return true; - case "primitive": - break; - case "unknown": - break; - case "container": - break; - default: - assertNever(prop.valueType.container.optional); - } - return false; - default: - assertNever(prop.valueType.container); - } - return false; - case "named": - return true; - default: - assertNever(prop.valueType); - } - }) - .map((prop): NamedType => { - switch (prop.valueType.type) { - case "named": - return prop.valueType; - case "container": - return prop.valueType.container.optional; - default: - assertNever(prop.valueType); - } - }); -} diff --git a/packages/cli/generation/ir-migrations/src/migrations/v23-to-v22/__test__/__snapshots__/migrateFromV23ToV22.test.ts.snap b/packages/cli/generation/ir-migrations/src/migrations/v23-to-v22/__test__/__snapshots__/migrateFromV23ToV22.test.ts.snap index 6493115205a..18418385243 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v23-to-v22/__test__/__snapshots__/migrateFromV23ToV22.test.ts.snap +++ b/packages/cli/generation/ir-migrations/src/migrations/v23-to-v22/__test__/__snapshots__/migrateFromV23ToV22.test.ts.snap @@ -12915,6 +12915,7 @@ exports[`migrateFromV23ToV22 > migrates extensive 1`] = ` "extendedProperties": [], "extends": [], "extraProperties": false, + "inline": undefined, "properties": [ { "availability": { @@ -13069,6 +13070,7 @@ exports[`migrateFromV23ToV22 > migrates extensive 1`] = ` "_type": "enum", "_visit": [Function], "default": undefined, + "inline": undefined, "type": "enum", "values": [ { @@ -13413,6 +13415,7 @@ exports[`migrateFromV23ToV22 > migrates extensive 1`] = ` "extendedProperties": [], "extends": [], "extraProperties": false, + "inline": undefined, "properties": [ { "availability": { @@ -13824,6 +13827,7 @@ exports[`migrateFromV23ToV22 > migrates extensive 1`] = ` "extendedProperties": [], "extends": [], "extraProperties": false, + "inline": undefined, "properties": [ { "availability": { @@ -14118,6 +14122,7 @@ exports[`migrateFromV23ToV22 > migrates extensive 1`] = ` "extendedProperties": [], "extends": [], "extraProperties": false, + "inline": undefined, "properties": [ { "availability": { @@ -14731,6 +14736,7 @@ exports[`migrateFromV23ToV22 > migrates extensive 1`] = ` "extendedProperties": [], "extends": [], "extraProperties": false, + "inline": undefined, "properties": [ { "availability": { @@ -15117,6 +15123,7 @@ exports[`migrateFromV23ToV22 > migrates extensive 1`] = ` "wireValue": "animal", }, "extends": [], + "inline": undefined, "type": "union", "types": [ { @@ -15514,6 +15521,7 @@ exports[`migrateFromV23ToV22 > migrates extensive 1`] = ` "extendedProperties": [], "extends": [], "extraProperties": false, + "inline": undefined, "properties": [ { "availability": { @@ -15703,6 +15711,7 @@ exports[`migrateFromV23ToV22 > migrates extensive 1`] = ` "extendedProperties": [], "extends": [], "extraProperties": false, + "inline": undefined, "properties": [ { "availability": { diff --git a/packages/cli/lazy-fern-workspace/src/api-yml.schema.json b/packages/cli/lazy-fern-workspace/src/api-yml.schema.json index aebd78f1aab..8f0be5f7c4a 100644 --- a/packages/cli/lazy-fern-workspace/src/api-yml.schema.json +++ b/packages/cli/lazy-fern-workspace/src/api-yml.schema.json @@ -1095,16 +1095,6 @@ } ] }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "env": { "oneOf": [ { @@ -1255,16 +1245,6 @@ } ] }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "type": { "type": "string" } diff --git a/packages/cli/lazy-fern-workspace/src/fern.schema.json b/packages/cli/lazy-fern-workspace/src/fern.schema.json index 969b3ee05a8..8cd5803f6ca 100644 --- a/packages/cli/lazy-fern-workspace/src/fern.schema.json +++ b/packages/cli/lazy-fern-workspace/src/fern.schema.json @@ -439,16 +439,6 @@ } ] }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "type": { "type": "string" } @@ -540,6 +530,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "extends": { "oneOf": [ { @@ -743,6 +743,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "default": { "oneOf": [ { @@ -880,16 +890,6 @@ } ] }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "type": { "type": "string" } @@ -1086,6 +1086,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "discriminant": { "oneOf": [ { @@ -1242,6 +1252,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "discriminated": { "const": false }, @@ -1534,16 +1554,6 @@ } ] }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "allow-multiple": { "oneOf": [ { @@ -1656,16 +1666,6 @@ } ] }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "env": { "oneOf": [ { @@ -1803,16 +1803,6 @@ } ] }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "content-type": { "oneOf": [ { diff --git a/packages/cli/lazy-fern-workspace/src/package-yml.schema.json b/packages/cli/lazy-fern-workspace/src/package-yml.schema.json index f4e199e3895..3aff7d071cc 100644 --- a/packages/cli/lazy-fern-workspace/src/package-yml.schema.json +++ b/packages/cli/lazy-fern-workspace/src/package-yml.schema.json @@ -459,16 +459,6 @@ } ] }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "type": { "type": "string" } @@ -560,6 +550,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "extends": { "oneOf": [ { @@ -763,6 +763,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "default": { "oneOf": [ { @@ -900,16 +910,6 @@ } ] }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "type": { "type": "string" } @@ -1106,6 +1106,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "discriminant": { "oneOf": [ { @@ -1262,6 +1272,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "discriminated": { "const": false }, @@ -1554,16 +1574,6 @@ } ] }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "allow-multiple": { "oneOf": [ { @@ -1676,16 +1686,6 @@ } ] }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "env": { "oneOf": [ { @@ -1823,16 +1823,6 @@ } ] }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "content-type": { "oneOf": [ { diff --git a/packages/ir-sdk/fern/apis/ir-types-latest/definition/commons.yml b/packages/ir-sdk/fern/apis/ir-types-latest/definition/commons.yml index bd77aeaa828..f3c12cb3093 100644 --- a/packages/ir-sdk/fern/apis/ir-types-latest/definition/commons.yml +++ b/packages/ir-sdk/fern/apis/ir-types-latest/definition/commons.yml @@ -8,6 +8,9 @@ types: extends: WithDocs properties: availability: optional + WithInline: + properties: + inline: optional FernFilepath: properties: allParts: list @@ -90,4 +93,4 @@ types: type: optional docs: | The subpackage that defines the endpoint. If empty, the endpoint is - defined in the root package. \ No newline at end of file + defined in the root package. diff --git a/packages/ir-sdk/fern/apis/ir-types-latest/definition/types.yml b/packages/ir-sdk/fern/apis/ir-types-latest/definition/types.yml index 8187c08f1aa..6470102be20 100644 --- a/packages/ir-sdk/fern/apis/ir-types-latest/definition/types.yml +++ b/packages/ir-sdk/fern/apis/ir-types-latest/definition/types.yml @@ -20,7 +20,7 @@ types: ProtoEncoding: properties: {} - + TypeDeclaration: docs: "A type, which is a name and a shape" extends: commons.Declaration @@ -34,7 +34,7 @@ types: type: set encoding: optional source: optional - inline: + inline: type: optional docs: Whether to try and inline the type declaration @@ -84,6 +84,7 @@ types: - UNION - UNDISCRIMINATED_UNION EnumTypeDeclaration: + extends: commons.WithInline properties: default: optional values: list @@ -93,14 +94,15 @@ types: name: commons.NameAndWireValue ObjectTypeDeclaration: + extends: commons.WithInline properties: extends: docs: A list of other types to inherit from type: list properties: list - extendedProperties: + extendedProperties: type: optional> - docs: A list of properties that all the parents of this object have. + docs: A list of properties that all the parents of this object have. extra-properties: docs: Whether to allow extra properties on the object. type: boolean @@ -111,6 +113,7 @@ types: valueType: TypeReference UnionTypeDeclaration: + extends: commons.WithInline properties: discriminant: commons.NameAndWireValue extends: @@ -139,6 +142,7 @@ types: type: TypeReference UndiscriminatedUnionTypeDeclaration: + extends: commons.WithInline properties: members: list UndiscriminatedUnionMember: @@ -348,23 +352,23 @@ types: properties: discriminant: commons.NameAndWireValue singleUnionType: ExampleSingleUnionType - - ExampleUndiscriminatedUnionType: - properties: + + ExampleUndiscriminatedUnionType: + properties: index: type: integer - docs: | - The zero-based index of the undiscriminated union variant. - For the following undiscriminated union + docs: | + The zero-based index of the undiscriminated union variant. + For the following undiscriminated union ``` - MyUnion: + MyUnion: discriminated: false - union: + union: - string - integer ``` a string example would have an index 0 and an integer example - would have an index 1. + would have an index 1. singleUnionType: ExampleTypeReference ExampleSingleUnionType: @@ -473,9 +477,9 @@ types: bigInteger: type: bigint key: bigInteger - - ExampleDatetime: - properties: + + ExampleDatetime: + properties: datetime: datetime raw: optional diff --git a/packages/ir-sdk/src/sdk/api/resources/commons/types/WithInline.ts b/packages/ir-sdk/src/sdk/api/resources/commons/types/WithInline.ts new file mode 100644 index 00000000000..a52b9306bcf --- /dev/null +++ b/packages/ir-sdk/src/sdk/api/resources/commons/types/WithInline.ts @@ -0,0 +1,7 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export interface WithInline { + inline: boolean | undefined; +} diff --git a/packages/ir-sdk/src/sdk/api/resources/commons/types/index.ts b/packages/ir-sdk/src/sdk/api/resources/commons/types/index.ts index 95eab3d7a65..ce13bdc49c3 100644 --- a/packages/ir-sdk/src/sdk/api/resources/commons/types/index.ts +++ b/packages/ir-sdk/src/sdk/api/resources/commons/types/index.ts @@ -1,5 +1,6 @@ export * from "./WithDocs"; export * from "./WithDocsAndAvailability"; +export * from "./WithInline"; export * from "./FernFilepath"; export * from "./Name"; export * from "./NameAndWireValue"; diff --git a/packages/ir-sdk/src/sdk/api/resources/types/types/ContainerType.ts b/packages/ir-sdk/src/sdk/api/resources/types/types/ContainerType.ts index f0d2a10f55f..98290dc280e 100644 --- a/packages/ir-sdk/src/sdk/api/resources/types/types/ContainerType.ts +++ b/packages/ir-sdk/src/sdk/api/resources/types/types/ContainerType.ts @@ -60,7 +60,7 @@ export const ContainerType = { visitor: FernIr.ContainerType._Visitor<_Result> ) { return FernIr.ContainerType._visit(this, visitor); - } + }, }; }, @@ -73,7 +73,7 @@ export const ContainerType = { visitor: FernIr.ContainerType._Visitor<_Result> ) { return FernIr.ContainerType._visit(this, visitor); - } + }, }; }, @@ -86,7 +86,7 @@ export const ContainerType = { visitor: FernIr.ContainerType._Visitor<_Result> ) { return FernIr.ContainerType._visit(this, visitor); - } + }, }; }, @@ -99,7 +99,7 @@ export const ContainerType = { visitor: FernIr.ContainerType._Visitor<_Result> ) { return FernIr.ContainerType._visit(this, visitor); - } + }, }; }, @@ -112,7 +112,7 @@ export const ContainerType = { visitor: FernIr.ContainerType._Visitor<_Result> ) { return FernIr.ContainerType._visit(this, visitor); - } + }, }; }, @@ -131,5 +131,5 @@ export const ContainerType = { default: return visitor._other(value as any); } - } + }, } as const; diff --git a/packages/ir-sdk/src/sdk/api/resources/types/types/EnumTypeDeclaration.ts b/packages/ir-sdk/src/sdk/api/resources/types/types/EnumTypeDeclaration.ts index 2ebd50f8530..ad945bf1b1a 100644 --- a/packages/ir-sdk/src/sdk/api/resources/types/types/EnumTypeDeclaration.ts +++ b/packages/ir-sdk/src/sdk/api/resources/types/types/EnumTypeDeclaration.ts @@ -4,7 +4,7 @@ import * as FernIr from "../../../index"; -export interface EnumTypeDeclaration { +export interface EnumTypeDeclaration extends FernIr.WithInline { default: FernIr.EnumValue | undefined; values: FernIr.EnumValue[]; } diff --git a/packages/ir-sdk/src/sdk/api/resources/types/types/ObjectTypeDeclaration.ts b/packages/ir-sdk/src/sdk/api/resources/types/types/ObjectTypeDeclaration.ts index 9782dda5757..e31778bcef6 100644 --- a/packages/ir-sdk/src/sdk/api/resources/types/types/ObjectTypeDeclaration.ts +++ b/packages/ir-sdk/src/sdk/api/resources/types/types/ObjectTypeDeclaration.ts @@ -4,7 +4,7 @@ import * as FernIr from "../../../index"; -export interface ObjectTypeDeclaration { +export interface ObjectTypeDeclaration extends FernIr.WithInline { /** A list of other types to inherit from */ extends: FernIr.DeclaredTypeName[]; properties: FernIr.ObjectProperty[]; diff --git a/packages/ir-sdk/src/sdk/api/resources/types/types/UndiscriminatedUnionTypeDeclaration.ts b/packages/ir-sdk/src/sdk/api/resources/types/types/UndiscriminatedUnionTypeDeclaration.ts index 7ee4050901a..244174f0c11 100644 --- a/packages/ir-sdk/src/sdk/api/resources/types/types/UndiscriminatedUnionTypeDeclaration.ts +++ b/packages/ir-sdk/src/sdk/api/resources/types/types/UndiscriminatedUnionTypeDeclaration.ts @@ -4,6 +4,6 @@ import * as FernIr from "../../../index"; -export interface UndiscriminatedUnionTypeDeclaration { +export interface UndiscriminatedUnionTypeDeclaration extends FernIr.WithInline { members: FernIr.UndiscriminatedUnionMember[]; } diff --git a/packages/ir-sdk/src/sdk/api/resources/types/types/UnionTypeDeclaration.ts b/packages/ir-sdk/src/sdk/api/resources/types/types/UnionTypeDeclaration.ts index c0d291bbacd..b9cc9fc9aa2 100644 --- a/packages/ir-sdk/src/sdk/api/resources/types/types/UnionTypeDeclaration.ts +++ b/packages/ir-sdk/src/sdk/api/resources/types/types/UnionTypeDeclaration.ts @@ -4,7 +4,7 @@ import * as FernIr from "../../../index"; -export interface UnionTypeDeclaration { +export interface UnionTypeDeclaration extends FernIr.WithInline { discriminant: FernIr.NameAndWireValue; /** A list of other types to inherit from */ extends: FernIr.DeclaredTypeName[]; diff --git a/packages/ir-sdk/src/sdk/serialization/resources/commons/types/WithInline.ts b/packages/ir-sdk/src/sdk/serialization/resources/commons/types/WithInline.ts new file mode 100644 index 00000000000..53455fc52f6 --- /dev/null +++ b/packages/ir-sdk/src/sdk/serialization/resources/commons/types/WithInline.ts @@ -0,0 +1,18 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as FernIr from "../../../../api/index"; +import * as core from "../../../../core"; + +export const WithInline: core.serialization.ObjectSchema = + core.serialization.objectWithoutOptionalProperties({ + inline: core.serialization.boolean().optional(), + }); + +export declare namespace WithInline { + interface Raw { + inline?: boolean | null; + } +} diff --git a/packages/ir-sdk/src/sdk/serialization/resources/commons/types/index.ts b/packages/ir-sdk/src/sdk/serialization/resources/commons/types/index.ts index 95eab3d7a65..ce13bdc49c3 100644 --- a/packages/ir-sdk/src/sdk/serialization/resources/commons/types/index.ts +++ b/packages/ir-sdk/src/sdk/serialization/resources/commons/types/index.ts @@ -1,5 +1,6 @@ export * from "./WithDocs"; export * from "./WithDocsAndAvailability"; +export * from "./WithInline"; export * from "./FernFilepath"; export * from "./Name"; export * from "./NameAndWireValue"; diff --git a/packages/ir-sdk/src/sdk/serialization/resources/types/types/EnumTypeDeclaration.ts b/packages/ir-sdk/src/sdk/serialization/resources/types/types/EnumTypeDeclaration.ts index 483d84b2407..b45ed8d53cf 100644 --- a/packages/ir-sdk/src/sdk/serialization/resources/types/types/EnumTypeDeclaration.ts +++ b/packages/ir-sdk/src/sdk/serialization/resources/types/types/EnumTypeDeclaration.ts @@ -6,17 +6,20 @@ import * as serializers from "../../../index"; import * as FernIr from "../../../../api/index"; import * as core from "../../../../core"; import { EnumValue } from "./EnumValue"; +import { WithInline } from "../../commons/types/WithInline"; export const EnumTypeDeclaration: core.serialization.ObjectSchema< serializers.EnumTypeDeclaration.Raw, FernIr.EnumTypeDeclaration -> = core.serialization.objectWithoutOptionalProperties({ - default: EnumValue.optional(), - values: core.serialization.list(EnumValue), -}); +> = core.serialization + .objectWithoutOptionalProperties({ + default: EnumValue.optional(), + values: core.serialization.list(EnumValue), + }) + .extend(WithInline); export declare namespace EnumTypeDeclaration { - interface Raw { + interface Raw extends WithInline.Raw { default?: EnumValue.Raw | null; values: EnumValue.Raw[]; } diff --git a/packages/ir-sdk/src/sdk/serialization/resources/types/types/ObjectTypeDeclaration.ts b/packages/ir-sdk/src/sdk/serialization/resources/types/types/ObjectTypeDeclaration.ts index 4470e22cd6e..0920edfb3ec 100644 --- a/packages/ir-sdk/src/sdk/serialization/resources/types/types/ObjectTypeDeclaration.ts +++ b/packages/ir-sdk/src/sdk/serialization/resources/types/types/ObjectTypeDeclaration.ts @@ -7,19 +7,22 @@ import * as FernIr from "../../../../api/index"; import * as core from "../../../../core"; import { DeclaredTypeName } from "./DeclaredTypeName"; import { ObjectProperty } from "./ObjectProperty"; +import { WithInline } from "../../commons/types/WithInline"; export const ObjectTypeDeclaration: core.serialization.ObjectSchema< serializers.ObjectTypeDeclaration.Raw, FernIr.ObjectTypeDeclaration -> = core.serialization.objectWithoutOptionalProperties({ - extends: core.serialization.list(DeclaredTypeName), - properties: core.serialization.list(ObjectProperty), - extendedProperties: core.serialization.list(ObjectProperty).optional(), - extraProperties: core.serialization.property("extra-properties", core.serialization.boolean()), -}); +> = core.serialization + .objectWithoutOptionalProperties({ + extends: core.serialization.list(DeclaredTypeName), + properties: core.serialization.list(ObjectProperty), + extendedProperties: core.serialization.list(ObjectProperty).optional(), + extraProperties: core.serialization.property("extra-properties", core.serialization.boolean()), + }) + .extend(WithInline); export declare namespace ObjectTypeDeclaration { - interface Raw { + interface Raw extends WithInline.Raw { extends: DeclaredTypeName.Raw[]; properties: ObjectProperty.Raw[]; extendedProperties?: ObjectProperty.Raw[] | null; diff --git a/packages/ir-sdk/src/sdk/serialization/resources/types/types/UndiscriminatedUnionTypeDeclaration.ts b/packages/ir-sdk/src/sdk/serialization/resources/types/types/UndiscriminatedUnionTypeDeclaration.ts index 8a5b5c5df8e..7b8939bbde1 100644 --- a/packages/ir-sdk/src/sdk/serialization/resources/types/types/UndiscriminatedUnionTypeDeclaration.ts +++ b/packages/ir-sdk/src/sdk/serialization/resources/types/types/UndiscriminatedUnionTypeDeclaration.ts @@ -6,16 +6,19 @@ import * as serializers from "../../../index"; import * as FernIr from "../../../../api/index"; import * as core from "../../../../core"; import { UndiscriminatedUnionMember } from "./UndiscriminatedUnionMember"; +import { WithInline } from "../../commons/types/WithInline"; export const UndiscriminatedUnionTypeDeclaration: core.serialization.ObjectSchema< serializers.UndiscriminatedUnionTypeDeclaration.Raw, FernIr.UndiscriminatedUnionTypeDeclaration -> = core.serialization.objectWithoutOptionalProperties({ - members: core.serialization.list(UndiscriminatedUnionMember), -}); +> = core.serialization + .objectWithoutOptionalProperties({ + members: core.serialization.list(UndiscriminatedUnionMember), + }) + .extend(WithInline); export declare namespace UndiscriminatedUnionTypeDeclaration { - interface Raw { + interface Raw extends WithInline.Raw { members: UndiscriminatedUnionMember.Raw[]; } } diff --git a/packages/ir-sdk/src/sdk/serialization/resources/types/types/UnionTypeDeclaration.ts b/packages/ir-sdk/src/sdk/serialization/resources/types/types/UnionTypeDeclaration.ts index e7438a5ad71..2b739618a53 100644 --- a/packages/ir-sdk/src/sdk/serialization/resources/types/types/UnionTypeDeclaration.ts +++ b/packages/ir-sdk/src/sdk/serialization/resources/types/types/UnionTypeDeclaration.ts @@ -9,19 +9,22 @@ import { NameAndWireValue } from "../../commons/types/NameAndWireValue"; import { DeclaredTypeName } from "./DeclaredTypeName"; import { SingleUnionType } from "./SingleUnionType"; import { ObjectProperty } from "./ObjectProperty"; +import { WithInline } from "../../commons/types/WithInline"; export const UnionTypeDeclaration: core.serialization.ObjectSchema< serializers.UnionTypeDeclaration.Raw, FernIr.UnionTypeDeclaration -> = core.serialization.objectWithoutOptionalProperties({ - discriminant: NameAndWireValue, - extends: core.serialization.list(DeclaredTypeName), - types: core.serialization.list(SingleUnionType), - baseProperties: core.serialization.list(ObjectProperty), -}); +> = core.serialization + .objectWithoutOptionalProperties({ + discriminant: NameAndWireValue, + extends: core.serialization.list(DeclaredTypeName), + types: core.serialization.list(SingleUnionType), + baseProperties: core.serialization.list(ObjectProperty), + }) + .extend(WithInline); export declare namespace UnionTypeDeclaration { - interface Raw { + interface Raw extends WithInline.Raw { discriminant: NameAndWireValue.Raw; extends: DeclaredTypeName.Raw[]; types: SingleUnionType.Raw[]; diff --git a/test-definitions-openapi/fern/apis/inline-schema-reference/openapi.yml b/test-definitions-openapi/fern/apis/inline-schema-reference/openapi.yml index f9ef32aee27..d1f165df58f 100644 --- a/test-definitions-openapi/fern/apis/inline-schema-reference/openapi.yml +++ b/test-definitions-openapi/fern/apis/inline-schema-reference/openapi.yml @@ -13,7 +13,6 @@ paths: application/json: schema: oneOf: - - $ref: "#/components/responses/NotFound/content/application~1json/schema" - $ref: "#/components/schemas/Schema1" - $ref: "#/components/schemas/Schema2" /root: diff --git a/test-definitions/fern/apis/inline-types/definition/__package__.yml b/test-definitions/fern/apis/inline-types/definition/__package__.yml index 7f1e9da2bb7..02411dd2f7d 100644 --- a/test-definitions/fern/apis/inline-types/definition/__package__.yml +++ b/test-definitions/fern/apis/inline-types/definition/__package__.yml @@ -8,54 +8,45 @@ service: request: body: properties: - bar: - inline: true - type: InlineType1 + bar: InlineType1 foo: string content-type: application/json name: PostRootRequest response: RootType1 types: - DiscriminatedUnion1: - union: - type1: InlineType1 - type2: MixedInlineType1 - UndiscriminatedUnion1: - discriminated: false - union: - - type: InlineType1 - - type: MixedInlineType1 - RootType1: properties: foo: string - bar: - type: InlineType1 - inline: true - two: - type: MixedInlineType1 - - RootType2: - properties: - one: integer - two: - type: MixedInlineType1 - inline: true + bar: InlineType1 InlineType1: + inline: true properties: foo: string bar: type: NestedInlineType1 - inline: true - NestedInlineType1: + InlineType2: + inline: true properties: - foo: string - bar: string + baz: string - MixedInlineType1: + NestedInlineType1: + inline: true properties: foo: string bar: string + + InlinedDiscriminatedUnion1: + inline: true + union: + type1: InlineType1 + type2: InlineType2 + + InlinedUndiscriminatedUnion1: + inline: true + discriminated: false + union: + - type: InlineType1 + - type: InlineType2 From c706f87127230223cb3b241a221dd055c8c90347 Mon Sep 17 00:00:00 2001 From: Niels Swimberghe <3382717+Swimburger@users.noreply.github.com> Date: Mon, 25 Nov 2024 10:33:41 -0500 Subject: [PATCH 10/20] Configure inline on the type references --- .../getObjectPropertyFromResolvedType.ts | 2 +- .../convertGenericTypeDeclaration.ts | 3 +- .../convertObjectTypeDeclaration.ts | 69 ++++++++++++++++--- .../convertTypeDeclaration.ts | 4 +- .../src/resolvers/TypeResolver.ts | 2 +- 5 files changed, 64 insertions(+), 16 deletions(-) diff --git a/packages/cli/generation/ir-generator/src/converters/services/getObjectPropertyFromResolvedType.ts b/packages/cli/generation/ir-generator/src/converters/services/getObjectPropertyFromResolvedType.ts index 5e9e72f1908..d898410785c 100644 --- a/packages/cli/generation/ir-generator/src/converters/services/getObjectPropertyFromResolvedType.ts +++ b/packages/cli/generation/ir-generator/src/converters/services/getObjectPropertyFromResolvedType.ts @@ -86,7 +86,7 @@ async function getAllPropertiesForRawObjectSchema( }); } - const objectProperties = await getObjectPropertiesFromRawObjectSchema(objectSchema, file); + const objectProperties = await getObjectPropertiesFromRawObjectSchema(objectSchema, file, typeResolver); objectProperties.forEach((objectProperty) => { properties[objectProperty.name.name.originalName] = objectProperty; }); diff --git a/packages/cli/generation/ir-generator/src/converters/type-declarations/convertGenericTypeDeclaration.ts b/packages/cli/generation/ir-generator/src/converters/type-declarations/convertGenericTypeDeclaration.ts index de6ba900599..4f0f1daf759 100644 --- a/packages/cli/generation/ir-generator/src/converters/type-declarations/convertGenericTypeDeclaration.ts +++ b/packages/cli/generation/ir-generator/src/converters/type-declarations/convertGenericTypeDeclaration.ts @@ -42,7 +42,8 @@ export async function convertGenericTypeDeclaration({ ), properties: await getObjectPropertiesFromRawObjectSchema( { properties: Object.fromEntries(newProperties) }, - file + file, + typeResolver ), extraProperties: resolvedBaseGeneric.declaration["extra-properties"] ?? false, extendedProperties: undefined, diff --git a/packages/cli/generation/ir-generator/src/converters/type-declarations/convertObjectTypeDeclaration.ts b/packages/cli/generation/ir-generator/src/converters/type-declarations/convertObjectTypeDeclaration.ts index 5b29cebd88a..2812f3935c0 100644 --- a/packages/cli/generation/ir-generator/src/converters/type-declarations/convertObjectTypeDeclaration.ts +++ b/packages/cli/generation/ir-generator/src/converters/type-declarations/convertObjectTypeDeclaration.ts @@ -3,17 +3,22 @@ import { RawSchemas } from "@fern-api/fern-definition-schema"; import { FernFileContext } from "../../FernFileContext"; import { parseTypeName } from "../../utils/parseTypeName"; import { convertDeclaration } from "../convertDeclaration"; +import { TypeResolver } from "../../resolvers/TypeResolver"; +import { ResolvedContainerType, ResolvedType } from "../../resolvers/ResolvedType"; +import { assertNever } from "@fern-api/core-utils"; export async function convertObjectTypeDeclaration({ object, - file + file, + typeResolver }: { object: RawSchemas.ObjectSchema; file: FernFileContext; + typeResolver: TypeResolver; }): Promise { return Type.object({ extends: getExtensionsAsList(object.extends).map((extended) => parseTypeName({ typeName: extended, file })), - properties: await getObjectPropertiesFromRawObjectSchema(object, file), + properties: await getObjectPropertiesFromRawObjectSchema(object, file, typeResolver), extraProperties: object["extra-properties"] ?? false, extendedProperties: undefined, inline: object.inline @@ -22,23 +27,65 @@ export async function convertObjectTypeDeclaration({ export async function getObjectPropertiesFromRawObjectSchema( object: RawSchemas.ObjectSchema, - file: FernFileContext + file: FernFileContext, + typeResolver: TypeResolver ): Promise { if (object.properties == null) { return []; } return await Promise.all( - Object.entries(object.properties).map(async ([propertyKey, propertyDefinition]) => ({ - ...(await convertDeclaration(propertyDefinition)), - name: file.casingsGenerator.generateNameAndWireValue({ - wireValue: propertyKey, - name: getPropertyName({ propertyKey, property: propertyDefinition }).name - }), - valueType: file.parseTypeReference(propertyDefinition) - })) + Object.entries(object.properties).map(async ([propertyKey, propertyDefinition]) => { + const isString = typeof propertyDefinition === "string"; + const typeName = isString ? propertyDefinition : propertyDefinition.type; + const default_ = isString ? undefined : propertyDefinition.default; + const validation = isString ? undefined : propertyDefinition.validation; + + const type = typeResolver.resolveNamedType({ + referenceToNamedType: typeName, + file + }); + const inline = getInline(type); + const prop = { + ...(await convertDeclaration(propertyDefinition)), + name: file.casingsGenerator.generateNameAndWireValue({ + wireValue: propertyKey, + name: getPropertyName({ propertyKey, property: propertyDefinition }).name + }), + valueType: file.parseTypeReference({ type: typeName, default: default_, validation, inline }) + }; + return prop; + }) ); } +function getInline(type: ResolvedType | ResolvedContainerType | undefined): boolean | undefined { + if (type == null) { + return undefined; + } + switch (type._type) { + case "container": + return getInline(type.container); + case "named": + return type.declaration.inline ?? undefined; + case "primitive": + return undefined; + case "list": + return undefined; + case "map": + return undefined; + case "optional": + return getInline(type.itemType); + case "unknown": + return undefined; + case "set": + return undefined; + case "literal": + return undefined; + default: + assertNever(type); + } +} + export function getExtensionsAsList(extensions: string | string[] | undefined): string[] { if (extensions == null) { return []; diff --git a/packages/cli/generation/ir-generator/src/converters/type-declarations/convertTypeDeclaration.ts b/packages/cli/generation/ir-generator/src/converters/type-declarations/convertTypeDeclaration.ts index 1b8191dc11f..b76a72db090 100644 --- a/packages/cli/generation/ir-generator/src/converters/type-declarations/convertTypeDeclaration.ts +++ b/packages/cli/generation/ir-generator/src/converters/type-declarations/convertTypeDeclaration.ts @@ -112,7 +112,7 @@ export async function convertType({ }): Promise { return await visitRawTypeDeclaration | Type>(typeDeclaration, { alias: (alias) => convertAliasTypeDeclaration({ alias, file, typeResolver }), - object: (object) => convertObjectTypeDeclaration({ object, file }), + object: (object) => convertObjectTypeDeclaration({ object, file, typeResolver }), discriminatedUnion: (union) => convertDiscriminatedUnionTypeDeclaration({ union, file, typeResolver }), undiscriminatedUnion: (union) => convertUndiscriminatedUnionTypeDeclaration({ union, file }), enum: async (enum_) => Type.enum(await convertEnumTypeDeclaration({ _enum: enum_, file })) @@ -200,7 +200,7 @@ function getInline(typeDeclaration: RawSchemas.TypeDeclarationSchema): boolean | return undefined; } if ("inline" in typeDeclaration) { - return typeDeclaration.inline; + return typeDeclaration.inline || undefined; } return undefined; } diff --git a/packages/cli/generation/ir-generator/src/resolvers/TypeResolver.ts b/packages/cli/generation/ir-generator/src/resolvers/TypeResolver.ts index e9b065cde4d..d5ff88b6c46 100644 --- a/packages/cli/generation/ir-generator/src/resolvers/TypeResolver.ts +++ b/packages/cli/generation/ir-generator/src/resolvers/TypeResolver.ts @@ -296,7 +296,7 @@ export class TypeResolverImpl implements TypeResolver { const parsedTypeReference = parseInlineType({ type: referenceToNamedType, - inline: undefined, + inline: declaration.inline, _default: undefined, validation: undefined, file: referencedIn From 8ced0f618b584bbbb9b9965effdd557459adcde1 Mon Sep 17 00:00:00 2001 From: Niels Swimberghe <3382717+Swimburger@users.noreply.github.com> Date: Mon, 25 Nov 2024 10:54:24 -0500 Subject: [PATCH 11/20] Test updated after merge from main --- .../__snapshots__/file-upload.test.ts.snap | 86 ----- .../__snapshots__/openapi-docs/ntropy.json | 336 ++++++------------ .../__snapshots__/openapi-ir/ntropy.json | 76 ++-- .../__snapshots__/openapi/ntropy.json | 336 ++++++------------ 4 files changed, 266 insertions(+), 568 deletions(-) delete mode 100644 generators/go-v2/dynamic-snippets/src/__test__/__snapshots__/file-upload.test.ts.snap diff --git a/generators/go-v2/dynamic-snippets/src/__test__/__snapshots__/file-upload.test.ts.snap b/generators/go-v2/dynamic-snippets/src/__test__/__snapshots__/file-upload.test.ts.snap deleted file mode 100644 index 652826835b7..00000000000 --- a/generators/go-v2/dynamic-snippets/src/__test__/__snapshots__/file-upload.test.ts.snap +++ /dev/null @@ -1,86 +0,0 @@ -// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html - -exports[`file-upload (success) > 'POST /' 1`] = ` -"package example - -import ( - context "context" - acme "github.com/acme/acme-go" - client "github.com/acme/acme-go/client" - io "io" - strings "strings" -) - -func do() { - client := client.NewClient() - client.Service.Post( - context.TODO(), - &acme.MyRequest{ - File: strings.NewReader( - "Hello, world!", - ), - FileList: []io.Reader{ - strings.NewReader( - "First", - ), - strings.NewReader( - "Second", - ), - }, - }, - ) -} -" -`; - -exports[`file-upload (success) > 'POST /just-file (simple)' 1`] = ` -"package example - -import ( - context "context" - acme "github.com/acme/acme-go" - client "github.com/acme/acme-go/client" - strings "strings" -) - -func do() { - client := client.NewClient() - client.Service.JustFile( - context.TODO(), - &acme.JustFileRequet{ - File: strings.NewReader( - "Hello, world!", - ), - }, - ) -} -" -`; - -exports[`file-upload (success) > 'POST /just-file-with-query-params (si…' 1`] = ` -"package example - -import ( - context "context" - acme "github.com/acme/acme-go" - client "github.com/acme/acme-go/client" - strings "strings" -) - -func do() { - client := client.NewClient() - client.Service.JustFileWithQueryParams( - context.TODO(), - &acme.JustFileWithQueryParamsRequet{ - Integer: 42, - MaybeString: acme.String( - "exists", - ), - File: strings.NewReader( - "Hello, world!", - ), - }, - ) -} -" -`; diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/ntropy.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/ntropy.json index da9a04af27f..39812385ca9 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/ntropy.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/ntropy.json @@ -608,6 +608,7 @@ "types": { "Account": { "docs": undefined, + "inline": undefined, "properties": { "closing_balance": { "type": "optional", @@ -631,6 +632,7 @@ }, "AccountHolder": { "docs": undefined, + "inline": undefined, "properties": { "address": { "type": "optional
", @@ -648,6 +650,7 @@ }, "AccountHolderExternal": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "The timestamp of when the account holder was created.", @@ -720,6 +723,7 @@ }, "Address": { "docs": undefined, + "inline": undefined, "properties": { "city": { "type": "optional", @@ -743,6 +747,7 @@ }, "BankStatement": { "docs": "Represents a bank statement with details about the file and its status.", + "inline": undefined, "properties": { "created_at": { "docs": "The date and time when the job was created.", @@ -774,6 +779,7 @@ }, "BankStatementAccount": { "docs": undefined, + "inline": undefined, "properties": { "closing_balance": { "docs": "The closing balance of the account for the statement period.", @@ -830,6 +836,7 @@ }, "BankStatementError": { "docs": undefined, + "inline": undefined, "properties": { "code": { "type": "BankStatementErrorCode", @@ -852,6 +859,7 @@ }, "BankStatementFile": { "docs": undefined, + "inline": undefined, "properties": { "no_pages": { "docs": "The number of pages in the bank statement file.", @@ -868,6 +876,7 @@ }, "BankStatementResults": { "docs": undefined, + "inline": undefined, "properties": { "accounts": { "docs": "List of accounts in the bank statement.", @@ -891,6 +900,7 @@ }, "BankStatementTransaction": { "docs": undefined, + "inline": undefined, "properties": { "amount": { "docs": "The amount of the transaction in the `currency`. Must be a positive value. For example, if the `currency` is USD, then it's the amount in dollars.", @@ -952,6 +962,7 @@ }, "Batch": { "docs": "The `Batch` object represents the status and progress of an asynchronous batch enrichment job.", + "inline": undefined, "properties": { "created_at": { "docs": "The timestamp of when the batch was created.", @@ -985,6 +996,7 @@ "BatchResult": { "docs": "The `BatchResult` object represents the result of a batch enrichment job, including its status and enriched transactions.", + "inline": undefined, "properties": { "id": { "docs": "A unique identifier for the batch.", @@ -1019,6 +1031,7 @@ enriched transactions.", }, "Categories": { "docs": undefined, + "inline": undefined, "properties": { "accounting": { "docs": "The corresponding accounting category. Only available for `business` transactions.", @@ -1047,6 +1060,7 @@ enriched transactions.", }, "CategorySet": { "docs": undefined, + "inline": undefined, "properties": { "incoming": { "type": "list", @@ -1061,6 +1075,7 @@ enriched transactions.", }, "Counterparty": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The unique UUID identifier of the entity", @@ -1512,6 +1527,7 @@ enriched transactions.", }, "CustomCategorySet": { "docs": undefined, + "inline": undefined, "properties": { "incoming": { "type": "list", @@ -1552,6 +1568,7 @@ enriched transactions.", }, "EnrichedTransaction": { "docs": undefined, + "inline": undefined, "properties": { "categories": { "type": "optional", @@ -1586,6 +1603,7 @@ enriched transactions.", }, "EnrichmentResult": { "docs": undefined, + "inline": undefined, "properties": { "transactions": { "docs": "A list of enriched transactions resulting from the enrichment of this batch.", @@ -1598,6 +1616,7 @@ enriched transactions.", }, "Entities": { "docs": "Entities found by identity identification", + "inline": undefined, "properties": { "counterparty": { "type": "optional", @@ -1612,6 +1631,7 @@ enriched transactions.", }, "Entity": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The unique UUID identifier of the entity", @@ -1658,48 +1678,49 @@ enriched transactions.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, "union": [ { - "type": "FnCall&&", + "type": "FnCall", }, { - "type": "FnCall||", + "type": "FnCall", }, { - "type": "FnCall==", + "type": "FnCall", }, { - "type": "FnCall+", + "type": "FnCall", }, { - "type": "FnCall-", + "type": "FnCall", }, { - "type": "FnCall*", + "type": "FnCall", }, { - "type": "FnCall/", + "type": "FnCall", }, { - "type": "FnCall//", + "type": "FnCall", }, { - "type": "FnCall<", + "type": "FnCall", }, { - "type": "FnCall<=", + "type": "FnCall", }, { - "type": "FnCall>", + "type": "FnCall", }, { - "type": "FnCall>=", + "type": "FnCall", }, { - "type": "FnCall!", + "type": "FnCall", }, { "type": "FnCallIsSubstring", @@ -1727,118 +1748,9 @@ enriched transactions.", }, ], }, - "FnCall!": { - "docs": undefined, - "properties": { - "!": { - "type": "expression", - }, - }, - "source": { - "openapi": "../openapi.yml", - }, - }, - "FnCall&&": { - "docs": undefined, - "properties": { - "&&": "list", - }, - "source": { - "openapi": "../openapi.yml", - }, - }, - "FnCall*": { - "docs": undefined, - "properties": { - "*": "list", - }, - "source": { - "openapi": "../openapi.yml", - }, - }, - "FnCall+": { - "docs": undefined, - "properties": { - "+": "list", - }, - "source": { - "openapi": "../openapi.yml", - }, - }, - "FnCall-": { - "docs": undefined, - "properties": { - "-": "list", - }, - "source": { - "openapi": "../openapi.yml", - }, - }, - "FnCall/": { - "docs": undefined, - "properties": { - "/": "list", - }, - "source": { - "openapi": "../openapi.yml", - }, - }, - "FnCall//": { - "docs": undefined, - "properties": { - "//": "list", - }, - "source": { - "openapi": "../openapi.yml", - }, - }, - "FnCall<": { - "docs": undefined, - "properties": { - "<": "list", - }, - "source": { - "openapi": "../openapi.yml", - }, - }, - "FnCall<=": { - "docs": undefined, - "properties": { - "<=": "list", - }, - "source": { - "openapi": "../openapi.yml", - }, - }, - "FnCall==": { - "docs": undefined, - "properties": { - "==": "list", - }, - "source": { - "openapi": "../openapi.yml", - }, - }, - "FnCall>": { - "docs": undefined, - "properties": { - ">": "list", - }, - "source": { - "openapi": "../openapi.yml", - }, - }, - "FnCall>=": { - "docs": undefined, - "properties": { - ">=": "list", - }, - "source": { - "openapi": "../openapi.yml", - }, - }, "FnCallEndsWith": { "docs": undefined, + "inline": true, "properties": { "ends_with": "list", }, @@ -1848,6 +1760,7 @@ enriched transactions.", }, "FnCallGet": { "docs": undefined, + "inline": true, "properties": { "get": { "type": "properties", @@ -1859,6 +1772,7 @@ enriched transactions.", }, "FnCallHasLabel": { "docs": undefined, + "inline": true, "properties": { "has_label": { "type": "expression", @@ -1870,6 +1784,7 @@ enriched transactions.", }, "FnCallHasMcc": { "docs": undefined, + "inline": true, "properties": { "has_mcc": { "type": "expression", @@ -1881,6 +1796,7 @@ enriched transactions.", }, "FnCallIsSubstring": { "docs": undefined, + "inline": true, "properties": { "is_substring": "list", }, @@ -1890,6 +1806,7 @@ enriched transactions.", }, "FnCallStartsWith": { "docs": undefined, + "inline": true, "properties": { "starts_with": "list", }, @@ -1899,6 +1816,7 @@ enriched transactions.", }, "FnCallToLower": { "docs": undefined, + "inline": true, "properties": { "to_lower": { "type": "expression", @@ -1910,6 +1828,7 @@ enriched transactions.", }, "FnCallToUpper": { "docs": undefined, + "inline": true, "properties": { "to_upper": { "type": "expression", @@ -1919,17 +1838,9 @@ enriched transactions.", "openapi": "../openapi.yml", }, }, - "FnCall||": { - "docs": undefined, - "properties": { - "||": "list", - }, - "source": { - "openapi": "../openapi.yml", - }, - }, "HTTPValidationError": { "docs": undefined, + "inline": undefined, "properties": { "detail": { "type": "optional>", @@ -1941,6 +1852,7 @@ enriched transactions.", }, "Intermediary": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The unique UUID identifier of the entity", @@ -1982,6 +1894,7 @@ enriched transactions.", }, "Location": { "docs": undefined, + "inline": undefined, "properties": { "raw_address": { "docs": "An unstructured string containing the address", @@ -1999,6 +1912,7 @@ enriched transactions.", "LocationInput": { "docs": "Location of where the transaction has taken place. This can greatly improve entity identification, especially under ambiguity.", + "inline": undefined, "properties": { "country": { "docs": "The country where the transaction was made in ISO 3166-2 format", @@ -2015,6 +1929,7 @@ under ambiguity.", }, "LocationStructured": { "docs": undefined, + "inline": undefined, "properties": { "apple_maps_url": { "docs": "A URL link to view the location on Apple Maps", @@ -2069,6 +1984,7 @@ under ambiguity.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -2095,6 +2011,7 @@ under ambiguity.", }, "ModifyLabelsAddLabel": { "docs": undefined, + "inline": true, "properties": { "add_label": { "type": "expression", @@ -2106,6 +2023,7 @@ under ambiguity.", }, "ModifyLabelsAddMcc": { "docs": undefined, + "inline": true, "properties": { "add_mcc": { "type": "expression", @@ -2117,6 +2035,7 @@ under ambiguity.", }, "ModifyLabelsRemoveLabel": { "docs": undefined, + "inline": true, "properties": { "remove_label": { "type": "expression", @@ -2128,6 +2047,7 @@ under ambiguity.", }, "ModifyLabelsRemoveMcc": { "docs": undefined, + "inline": true, "properties": { "remove_mcc": { "type": "expression", @@ -2139,6 +2059,7 @@ under ambiguity.", }, "ModifyLabelsSetLabels": { "docs": undefined, + "inline": true, "properties": { "set_labels": "list", }, @@ -2148,6 +2069,7 @@ under ambiguity.", }, "ModifyLabelsSetMcc": { "docs": undefined, + "inline": true, "properties": { "set_mcc": "list", }, @@ -2157,6 +2079,7 @@ under ambiguity.", }, "PagedResponseAccountHolderExternal": { "docs": undefined, + "inline": undefined, "properties": { "data": { "type": "list", @@ -2169,6 +2092,7 @@ under ambiguity.", }, "PagedResponseBankStatement": { "docs": undefined, + "inline": undefined, "properties": { "data": { "type": "list", @@ -2181,6 +2105,7 @@ under ambiguity.", }, "PagedResponseBatch": { "docs": undefined, + "inline": undefined, "properties": { "data": { "type": "list", @@ -2193,6 +2118,7 @@ under ambiguity.", }, "PagedResponseReport": { "docs": undefined, + "inline": undefined, "properties": { "data": { "type": "list", @@ -2207,6 +2133,7 @@ under ambiguity.", }, "PagedResponseTransaction": { "docs": undefined, + "inline": undefined, "properties": { "data": { "type": "list", @@ -2219,6 +2146,7 @@ under ambiguity.", }, "PagedResponseWebhook": { "docs": undefined, + "inline": undefined, "properties": { "data": { "type": "list", @@ -2232,6 +2160,7 @@ under ambiguity.", "Recurrence": { "docs": "The `Recurrence` object represents the recurrence pattern of a transaction. It provides information about whether a transaction is a one-time event or a part of a recurring series.", + "inline": undefined, "properties": { "type": { "docs": "Whether the transaction is a one-time transfer `one-off`, regularly with varying pricing `recurring` or with fixed pricing `subscription`", @@ -2244,6 +2173,7 @@ whether a transaction is a one-time event or a part of a recurring series.", }, "RecurrenceGroup": { "docs": undefined, + "inline": undefined, "properties": { "average_amount": { "docs": "The average amount per transaction in this group", @@ -2335,6 +2265,7 @@ whether a transaction is a one-time event or a part of a recurring series.", }, "Report": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "The date and time when the report was created.", @@ -2394,6 +2325,7 @@ whether a transaction is a one-time event or a part of a recurring series.", }, "StatementInfo": { "docs": undefined, + "inline": undefined, "properties": { "account_holder": { "type": "optional", @@ -2429,6 +2361,7 @@ whether a transaction is a one-time event or a part of a recurring series.", }, "SyncEnrichmentOutput": { "docs": undefined, + "inline": undefined, "properties": { "transactions": { "docs": "A list of enriched transactions resulting from the enrichment of this batch.", @@ -2441,6 +2374,7 @@ whether a transaction is a one-time event or a part of a recurring series.", }, "Transaction": { "docs": undefined, + "inline": undefined, "properties": { "account_holder_id": { "docs": "The unique ID of the account holder of the transaction", @@ -2527,6 +2461,7 @@ whether a transaction is a one-time event or a part of a recurring series.", }, "TransactionError": { "docs": undefined, + "inline": undefined, "properties": { "code": { "type": "TransactionErrorCode", @@ -2549,6 +2484,7 @@ whether a transaction is a one-time event or a part of a recurring series.", }, "TransactionInput": { "docs": undefined, + "inline": undefined, "properties": { "account_holder_id": { "docs": "The unique ID of the account holder. Unsetting it will disable [categorization](./docs/v3/enrichment/entities).", @@ -2613,6 +2549,7 @@ whether a transaction is a one-time event or a part of a recurring series.", }, "ValidationError": { "docs": undefined, + "inline": undefined, "properties": { "loc": { "type": "list", @@ -2628,6 +2565,7 @@ whether a transaction is a one-time event or a part of a recurring series.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -2638,6 +2576,7 @@ whether a transaction is a one-time event or a part of a recurring series.", }, "Webhook": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "The date and time when the webhook was created.", @@ -2719,6 +2658,7 @@ whether a transaction is a one-time event or a part of a recurring series.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -2738,6 +2678,7 @@ whether a transaction is a one-time event or a part of a recurring series.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -2750,6 +2691,7 @@ whether a transaction is a one-time event or a part of a recurring series.", }, "if": { "docs": undefined, + "inline": undefined, "properties": { "else": { "type": "optional>", @@ -2787,6 +2729,7 @@ whether a transaction is a one-time event or a part of a recurring series.", }, "set": { "docs": undefined, + "inline": undefined, "properties": { "set": { "type": "EditableTxProp", @@ -4388,6 +4331,7 @@ types: - integer source: openapi: ../openapi.yml + inline: true ValidationError: properties: loc: @@ -4471,70 +4415,30 @@ types: - account_holder_name source: openapi: ../openapi.yml - FnCall&&: - properties: - '&&': list - source: - openapi: ../openapi.yml - FnCall||: - properties: - '||': list - source: - openapi: ../openapi.yml - FnCall==: - properties: - '==': list - source: - openapi: ../openapi.yml - FnCall+: - properties: - +: list - source: - openapi: ../openapi.yml - FnCall-: - properties: - '-': list - source: - openapi: ../openapi.yml - FnCall*: - properties: - '*': list - source: - openapi: ../openapi.yml - FnCall/: - properties: - /: list - source: - openapi: ../openapi.yml - FnCall//: - properties: - //: list - source: - openapi: ../openapi.yml - FnCall<: - properties: - <: list - source: - openapi: ../openapi.yml - FnCall<=: - properties: - <=: list - source: - openapi: ../openapi.yml - FnCall>: - properties: - '>': list - source: - openapi: ../openapi.yml - FnCall>=: - properties: - '>=': list - source: - openapi: ../openapi.yml - FnCall!: - properties: - '!': - type: expression + FnCall: + discriminated: false + union: + - type: FnCall + - type: FnCall + - type: FnCall + - type: FnCall + - type: FnCall + - type: FnCall + - type: FnCall + - type: FnCall + - type: FnCall + - type: FnCall + - type: FnCall + - type: FnCall + - type: FnCall + - type: FnCallIsSubstring + - type: FnCallStartsWith + - type: FnCallEndsWith + - type: FnCallToLower + - type: FnCallToUpper + - type: FnCallHasLabel + - type: FnCallHasMcc + - type: FnCallGet source: openapi: ../openapi.yml FnCallIsSubstring: @@ -4542,72 +4446,54 @@ types: is_substring: list source: openapi: ../openapi.yml + inline: true FnCallStartsWith: properties: starts_with: list source: openapi: ../openapi.yml + inline: true FnCallEndsWith: properties: ends_with: list source: openapi: ../openapi.yml + inline: true FnCallToLower: properties: to_lower: type: expression source: openapi: ../openapi.yml + inline: true FnCallToUpper: properties: to_upper: type: expression source: openapi: ../openapi.yml + inline: true FnCallHasLabel: properties: has_label: type: expression source: openapi: ../openapi.yml + inline: true FnCallHasMcc: properties: has_mcc: type: expression source: openapi: ../openapi.yml + inline: true FnCallGet: properties: get: type: properties source: openapi: ../openapi.yml - FnCall: - discriminated: false - union: - - type: FnCall&& - - type: FnCall|| - - type: FnCall== - - type: FnCall+ - - type: FnCall- - - type: FnCall* - - type: FnCall/ - - type: FnCall// - - type: FnCall< - - type: FnCall<= - - type: FnCall> - - type: FnCall>= - - type: FnCall! - - type: FnCallIsSubstring - - type: FnCallStartsWith - - type: FnCallEndsWith - - type: FnCallToLower - - type: FnCallToUpper - - type: FnCallHasLabel - - type: FnCallHasMcc - - type: FnCallGet - source: - openapi: ../openapi.yml + inline: true action: discriminated: false union: @@ -4632,34 +4518,40 @@ types: type: expression source: openapi: ../openapi.yml + inline: true ModifyLabelsRemoveLabel: properties: remove_label: type: expression source: openapi: ../openapi.yml + inline: true ModifyLabelsSetLabels: properties: set_labels: list source: openapi: ../openapi.yml + inline: true ModifyLabelsAddMcc: properties: add_mcc: type: expression source: openapi: ../openapi.yml + inline: true ModifyLabelsRemoveMcc: properties: remove_mcc: type: expression source: openapi: ../openapi.yml + inline: true ModifyLabelsSetMcc: properties: set_mcc: list source: openapi: ../openapi.yml + inline: true ModifyLabels: discriminated: false union: diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/ntropy.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/ntropy.json index 0babf21c358..7cd6991e1b0 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/ntropy.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/ntropy.json @@ -16389,7 +16389,7 @@ "key": "&&", "schema": { "value": { - "generatedName": "FnCall&&&&Item", + "generatedName": "FnCallItem", "schema": "Expr", "source": { "file": "../openapi.yml", @@ -16397,7 +16397,7 @@ }, "type": "reference" }, - "generatedName": "FnCall&&&&", + "generatedName": "FnCall", "groupName": [], "type": "array" }, @@ -16405,7 +16405,7 @@ } ], "allOfPropertyConflicts": [], - "generatedName": "FnCall&&", + "generatedName": "FnCall", "title": "&&", "groupName": [], "additionalProperties": false, @@ -16424,7 +16424,7 @@ "key": "||", "schema": { "value": { - "generatedName": "FnCall||||Item", + "generatedName": "FnCallItem", "schema": "Expr", "source": { "file": "../openapi.yml", @@ -16432,7 +16432,7 @@ }, "type": "reference" }, - "generatedName": "FnCall||||", + "generatedName": "FnCall", "groupName": [], "type": "array" }, @@ -16440,7 +16440,7 @@ } ], "allOfPropertyConflicts": [], - "generatedName": "FnCall||", + "generatedName": "FnCall", "title": "||", "groupName": [], "additionalProperties": false, @@ -16459,7 +16459,7 @@ "key": "==", "schema": { "value": { - "generatedName": "FnCall====Item", + "generatedName": "FnCallItem", "schema": "Expr", "source": { "file": "../openapi.yml", @@ -16467,7 +16467,7 @@ }, "type": "reference" }, - "generatedName": "FnCall====", + "generatedName": "FnCall", "groupName": [], "type": "array" }, @@ -16475,7 +16475,7 @@ } ], "allOfPropertyConflicts": [], - "generatedName": "FnCall==", + "generatedName": "FnCall", "title": "==", "groupName": [], "additionalProperties": false, @@ -16494,7 +16494,7 @@ "key": "+", "schema": { "value": { - "generatedName": "FnCall++Item", + "generatedName": "FnCallItem", "schema": "Expr", "source": { "file": "../openapi.yml", @@ -16502,7 +16502,7 @@ }, "type": "reference" }, - "generatedName": "FnCall++", + "generatedName": "FnCall", "groupName": [], "type": "array" }, @@ -16510,7 +16510,7 @@ } ], "allOfPropertyConflicts": [], - "generatedName": "FnCall+", + "generatedName": "FnCall", "title": "+", "groupName": [], "additionalProperties": false, @@ -16529,7 +16529,7 @@ "key": "-", "schema": { "value": { - "generatedName": "FnCall--Item", + "generatedName": "FnCallItem", "schema": "Expr", "source": { "file": "../openapi.yml", @@ -16537,7 +16537,7 @@ }, "type": "reference" }, - "generatedName": "FnCall--", + "generatedName": "FnCall", "groupName": [], "type": "array" }, @@ -16545,7 +16545,7 @@ } ], "allOfPropertyConflicts": [], - "generatedName": "FnCall-", + "generatedName": "FnCall", "title": "-", "groupName": [], "additionalProperties": false, @@ -16564,7 +16564,7 @@ "key": "*", "schema": { "value": { - "generatedName": "FnCall**Item", + "generatedName": "FnCallItem", "schema": "Expr", "source": { "file": "../openapi.yml", @@ -16572,7 +16572,7 @@ }, "type": "reference" }, - "generatedName": "FnCall**", + "generatedName": "FnCall", "groupName": [], "type": "array" }, @@ -16580,7 +16580,7 @@ } ], "allOfPropertyConflicts": [], - "generatedName": "FnCall*", + "generatedName": "FnCall", "title": "*", "groupName": [], "additionalProperties": false, @@ -16599,7 +16599,7 @@ "key": "/", "schema": { "value": { - "generatedName": "FnCall//Item", + "generatedName": "FnCallItem", "schema": "Expr", "source": { "file": "../openapi.yml", @@ -16607,7 +16607,7 @@ }, "type": "reference" }, - "generatedName": "FnCall//", + "generatedName": "FnCall", "groupName": [], "type": "array" }, @@ -16615,7 +16615,7 @@ } ], "allOfPropertyConflicts": [], - "generatedName": "FnCall/", + "generatedName": "FnCall", "title": "/", "groupName": [], "additionalProperties": false, @@ -16634,7 +16634,7 @@ "key": "//", "schema": { "value": { - "generatedName": "FnCall////Item", + "generatedName": "FnCallItem", "schema": "Expr", "source": { "file": "../openapi.yml", @@ -16642,7 +16642,7 @@ }, "type": "reference" }, - "generatedName": "FnCall////", + "generatedName": "FnCall", "groupName": [], "type": "array" }, @@ -16650,7 +16650,7 @@ } ], "allOfPropertyConflicts": [], - "generatedName": "FnCall//", + "generatedName": "FnCall", "title": "//", "groupName": [], "additionalProperties": false, @@ -16669,7 +16669,7 @@ "key": "<", "schema": { "value": { - "generatedName": "FnCall<", "schema": { "value": { - "generatedName": "FnCall>>Item", + "generatedName": "FnCallItem", "schema": "Expr", "source": { "file": "../openapi.yml", @@ -16747,7 +16747,7 @@ }, "type": "reference" }, - "generatedName": "FnCall>>", + "generatedName": "FnCall", "groupName": [], "type": "array" }, @@ -16755,7 +16755,7 @@ } ], "allOfPropertyConflicts": [], - "generatedName": "FnCall>", + "generatedName": "FnCall", "title": ">", "groupName": [], "additionalProperties": false, @@ -16774,7 +16774,7 @@ "key": ">=", "schema": { "value": { - "generatedName": "FnCall>=>=Item", + "generatedName": "FnCallItem", "schema": "Expr", "source": { "file": "../openapi.yml", @@ -16782,7 +16782,7 @@ }, "type": "reference" }, - "generatedName": "FnCall>=>=", + "generatedName": "FnCall", "groupName": [], "type": "array" }, @@ -16790,7 +16790,7 @@ } ], "allOfPropertyConflicts": [], - "generatedName": "FnCall>=", + "generatedName": "FnCall", "title": ">=", "groupName": [], "additionalProperties": false, @@ -16808,7 +16808,7 @@ "generatedName": "fnCall", "key": "!", "schema": { - "generatedName": "FnCall!!", + "generatedName": "FnCall", "schema": "Expr", "source": { "file": "../openapi.yml", @@ -16821,7 +16821,7 @@ } ], "allOfPropertyConflicts": [], - "generatedName": "FnCall!", + "generatedName": "FnCall", "title": "!", "groupName": [], "additionalProperties": false, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/ntropy.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/ntropy.json index 0d731e2be4b..b74695ff163 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/ntropy.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/ntropy.json @@ -42,6 +42,7 @@ "types": { "Account": { "docs": undefined, + "inline": undefined, "properties": { "closing_balance": { "type": "optional", @@ -65,6 +66,7 @@ }, "AccountHolder": { "docs": undefined, + "inline": undefined, "properties": { "address": { "type": "optional
", @@ -82,6 +84,7 @@ }, "AccountHolderExternal": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "The timestamp of when the account holder was created.", @@ -154,6 +157,7 @@ }, "Address": { "docs": undefined, + "inline": undefined, "properties": { "city": { "type": "optional", @@ -177,6 +181,7 @@ }, "BankStatement": { "docs": "Represents a bank statement with details about the file and its status.", + "inline": undefined, "properties": { "created_at": { "docs": "The date and time when the job was created.", @@ -208,6 +213,7 @@ }, "BankStatementAccount": { "docs": undefined, + "inline": undefined, "properties": { "closing_balance": { "docs": "The closing balance of the account for the statement period.", @@ -264,6 +270,7 @@ }, "BankStatementError": { "docs": undefined, + "inline": undefined, "properties": { "code": { "type": "BankStatementErrorCode", @@ -286,6 +293,7 @@ }, "BankStatementFile": { "docs": undefined, + "inline": undefined, "properties": { "no_pages": { "docs": "The number of pages in the bank statement file.", @@ -302,6 +310,7 @@ }, "BankStatementResults": { "docs": undefined, + "inline": undefined, "properties": { "accounts": { "docs": "List of accounts in the bank statement.", @@ -325,6 +334,7 @@ }, "BankStatementTransaction": { "docs": undefined, + "inline": undefined, "properties": { "amount": { "docs": "The amount of the transaction in the `currency`. Must be a positive value. For example, if the `currency` is USD, then it's the amount in dollars.", @@ -386,6 +396,7 @@ }, "Batch": { "docs": "The `Batch` object represents the status and progress of an asynchronous batch enrichment job.", + "inline": undefined, "properties": { "created_at": { "docs": "The timestamp of when the batch was created.", @@ -419,6 +430,7 @@ "BatchResult": { "docs": "The `BatchResult` object represents the result of a batch enrichment job, including its status and enriched transactions.", + "inline": undefined, "properties": { "id": { "docs": "A unique identifier for the batch.", @@ -453,6 +465,7 @@ enriched transactions.", }, "Categories": { "docs": undefined, + "inline": undefined, "properties": { "accounting": { "docs": "The corresponding accounting category. Only available for `business` transactions.", @@ -481,6 +494,7 @@ enriched transactions.", }, "CategorySet": { "docs": undefined, + "inline": undefined, "properties": { "incoming": { "type": "list", @@ -495,6 +509,7 @@ enriched transactions.", }, "Counterparty": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The unique UUID identifier of the entity", @@ -946,6 +961,7 @@ enriched transactions.", }, "CustomCategorySet": { "docs": undefined, + "inline": undefined, "properties": { "incoming": { "type": "list", @@ -986,6 +1002,7 @@ enriched transactions.", }, "EnrichedTransaction": { "docs": undefined, + "inline": undefined, "properties": { "categories": { "type": "optional", @@ -1020,6 +1037,7 @@ enriched transactions.", }, "EnrichmentResult": { "docs": undefined, + "inline": undefined, "properties": { "transactions": { "docs": "A list of enriched transactions resulting from the enrichment of this batch.", @@ -1032,6 +1050,7 @@ enriched transactions.", }, "Entities": { "docs": "Entities found by identity identification", + "inline": undefined, "properties": { "counterparty": { "type": "optional", @@ -1046,6 +1065,7 @@ enriched transactions.", }, "Entity": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The unique UUID identifier of the entity", @@ -1092,48 +1112,49 @@ enriched transactions.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, "union": [ { - "type": "FnCall&&", + "type": "FnCall", }, { - "type": "FnCall||", + "type": "FnCall", }, { - "type": "FnCall==", + "type": "FnCall", }, { - "type": "FnCall+", + "type": "FnCall", }, { - "type": "FnCall-", + "type": "FnCall", }, { - "type": "FnCall*", + "type": "FnCall", }, { - "type": "FnCall/", + "type": "FnCall", }, { - "type": "FnCall//", + "type": "FnCall", }, { - "type": "FnCall<", + "type": "FnCall", }, { - "type": "FnCall<=", + "type": "FnCall", }, { - "type": "FnCall>", + "type": "FnCall", }, { - "type": "FnCall>=", + "type": "FnCall", }, { - "type": "FnCall!", + "type": "FnCall", }, { "type": "FnCallIsSubstring", @@ -1161,118 +1182,9 @@ enriched transactions.", }, ], }, - "FnCall!": { - "docs": undefined, - "properties": { - "!": { - "type": "expression", - }, - }, - "source": { - "openapi": "../openapi.yml", - }, - }, - "FnCall&&": { - "docs": undefined, - "properties": { - "&&": "list", - }, - "source": { - "openapi": "../openapi.yml", - }, - }, - "FnCall*": { - "docs": undefined, - "properties": { - "*": "list", - }, - "source": { - "openapi": "../openapi.yml", - }, - }, - "FnCall+": { - "docs": undefined, - "properties": { - "+": "list", - }, - "source": { - "openapi": "../openapi.yml", - }, - }, - "FnCall-": { - "docs": undefined, - "properties": { - "-": "list", - }, - "source": { - "openapi": "../openapi.yml", - }, - }, - "FnCall/": { - "docs": undefined, - "properties": { - "/": "list", - }, - "source": { - "openapi": "../openapi.yml", - }, - }, - "FnCall//": { - "docs": undefined, - "properties": { - "//": "list", - }, - "source": { - "openapi": "../openapi.yml", - }, - }, - "FnCall<": { - "docs": undefined, - "properties": { - "<": "list", - }, - "source": { - "openapi": "../openapi.yml", - }, - }, - "FnCall<=": { - "docs": undefined, - "properties": { - "<=": "list", - }, - "source": { - "openapi": "../openapi.yml", - }, - }, - "FnCall==": { - "docs": undefined, - "properties": { - "==": "list", - }, - "source": { - "openapi": "../openapi.yml", - }, - }, - "FnCall>": { - "docs": undefined, - "properties": { - ">": "list", - }, - "source": { - "openapi": "../openapi.yml", - }, - }, - "FnCall>=": { - "docs": undefined, - "properties": { - ">=": "list", - }, - "source": { - "openapi": "../openapi.yml", - }, - }, "FnCallEndsWith": { "docs": undefined, + "inline": true, "properties": { "ends_with": "list", }, @@ -1282,6 +1194,7 @@ enriched transactions.", }, "FnCallGet": { "docs": undefined, + "inline": true, "properties": { "get": { "type": "properties", @@ -1293,6 +1206,7 @@ enriched transactions.", }, "FnCallHasLabel": { "docs": undefined, + "inline": true, "properties": { "has_label": { "type": "expression", @@ -1304,6 +1218,7 @@ enriched transactions.", }, "FnCallHasMcc": { "docs": undefined, + "inline": true, "properties": { "has_mcc": { "type": "expression", @@ -1315,6 +1230,7 @@ enriched transactions.", }, "FnCallIsSubstring": { "docs": undefined, + "inline": true, "properties": { "is_substring": "list", }, @@ -1324,6 +1240,7 @@ enriched transactions.", }, "FnCallStartsWith": { "docs": undefined, + "inline": true, "properties": { "starts_with": "list", }, @@ -1333,6 +1250,7 @@ enriched transactions.", }, "FnCallToLower": { "docs": undefined, + "inline": true, "properties": { "to_lower": { "type": "expression", @@ -1344,6 +1262,7 @@ enriched transactions.", }, "FnCallToUpper": { "docs": undefined, + "inline": true, "properties": { "to_upper": { "type": "expression", @@ -1353,17 +1272,9 @@ enriched transactions.", "openapi": "../openapi.yml", }, }, - "FnCall||": { - "docs": undefined, - "properties": { - "||": "list", - }, - "source": { - "openapi": "../openapi.yml", - }, - }, "HTTPValidationError": { "docs": undefined, + "inline": undefined, "properties": { "detail": { "type": "optional>", @@ -1375,6 +1286,7 @@ enriched transactions.", }, "Intermediary": { "docs": undefined, + "inline": undefined, "properties": { "id": { "docs": "The unique UUID identifier of the entity", @@ -1416,6 +1328,7 @@ enriched transactions.", }, "Location": { "docs": undefined, + "inline": undefined, "properties": { "raw_address": { "docs": "An unstructured string containing the address", @@ -1433,6 +1346,7 @@ enriched transactions.", "LocationInput": { "docs": "Location of where the transaction has taken place. This can greatly improve entity identification, especially under ambiguity.", + "inline": undefined, "properties": { "country": { "docs": "The country where the transaction was made in ISO 3166-2 format", @@ -1449,6 +1363,7 @@ under ambiguity.", }, "LocationStructured": { "docs": undefined, + "inline": undefined, "properties": { "apple_maps_url": { "docs": "A URL link to view the location on Apple Maps", @@ -1503,6 +1418,7 @@ under ambiguity.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -1529,6 +1445,7 @@ under ambiguity.", }, "ModifyLabelsAddLabel": { "docs": undefined, + "inline": true, "properties": { "add_label": { "type": "expression", @@ -1540,6 +1457,7 @@ under ambiguity.", }, "ModifyLabelsAddMcc": { "docs": undefined, + "inline": true, "properties": { "add_mcc": { "type": "expression", @@ -1551,6 +1469,7 @@ under ambiguity.", }, "ModifyLabelsRemoveLabel": { "docs": undefined, + "inline": true, "properties": { "remove_label": { "type": "expression", @@ -1562,6 +1481,7 @@ under ambiguity.", }, "ModifyLabelsRemoveMcc": { "docs": undefined, + "inline": true, "properties": { "remove_mcc": { "type": "expression", @@ -1573,6 +1493,7 @@ under ambiguity.", }, "ModifyLabelsSetLabels": { "docs": undefined, + "inline": true, "properties": { "set_labels": "list", }, @@ -1582,6 +1503,7 @@ under ambiguity.", }, "ModifyLabelsSetMcc": { "docs": undefined, + "inline": true, "properties": { "set_mcc": "list", }, @@ -1591,6 +1513,7 @@ under ambiguity.", }, "PagedResponseAccountHolderExternal": { "docs": undefined, + "inline": undefined, "properties": { "data": { "type": "list", @@ -1603,6 +1526,7 @@ under ambiguity.", }, "PagedResponseBankStatement": { "docs": undefined, + "inline": undefined, "properties": { "data": { "type": "list", @@ -1615,6 +1539,7 @@ under ambiguity.", }, "PagedResponseBatch": { "docs": undefined, + "inline": undefined, "properties": { "data": { "type": "list", @@ -1627,6 +1552,7 @@ under ambiguity.", }, "PagedResponseReport": { "docs": undefined, + "inline": undefined, "properties": { "data": { "type": "list", @@ -1641,6 +1567,7 @@ under ambiguity.", }, "PagedResponseTransaction": { "docs": undefined, + "inline": undefined, "properties": { "data": { "type": "list", @@ -1653,6 +1580,7 @@ under ambiguity.", }, "PagedResponseWebhook": { "docs": undefined, + "inline": undefined, "properties": { "data": { "type": "list", @@ -1666,6 +1594,7 @@ under ambiguity.", "Recurrence": { "docs": "The `Recurrence` object represents the recurrence pattern of a transaction. It provides information about whether a transaction is a one-time event or a part of a recurring series.", + "inline": undefined, "properties": { "type": { "docs": "Whether the transaction is a one-time transfer `one-off`, regularly with varying pricing `recurring` or with fixed pricing `subscription`", @@ -1678,6 +1607,7 @@ whether a transaction is a one-time event or a part of a recurring series.", }, "RecurrenceGroup": { "docs": undefined, + "inline": undefined, "properties": { "average_amount": { "docs": "The average amount per transaction in this group", @@ -1769,6 +1699,7 @@ whether a transaction is a one-time event or a part of a recurring series.", }, "Report": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "The date and time when the report was created.", @@ -1828,6 +1759,7 @@ whether a transaction is a one-time event or a part of a recurring series.", }, "StatementInfo": { "docs": undefined, + "inline": undefined, "properties": { "account_holder": { "type": "optional", @@ -1863,6 +1795,7 @@ whether a transaction is a one-time event or a part of a recurring series.", }, "SyncEnrichmentOutput": { "docs": undefined, + "inline": undefined, "properties": { "transactions": { "docs": "A list of enriched transactions resulting from the enrichment of this batch.", @@ -1875,6 +1808,7 @@ whether a transaction is a one-time event or a part of a recurring series.", }, "Transaction": { "docs": undefined, + "inline": undefined, "properties": { "account_holder_id": { "docs": "The unique ID of the account holder of the transaction", @@ -1961,6 +1895,7 @@ whether a transaction is a one-time event or a part of a recurring series.", }, "TransactionError": { "docs": undefined, + "inline": undefined, "properties": { "code": { "type": "TransactionErrorCode", @@ -1983,6 +1918,7 @@ whether a transaction is a one-time event or a part of a recurring series.", }, "TransactionInput": { "docs": undefined, + "inline": undefined, "properties": { "account_holder_id": { "docs": "The unique ID of the account holder. Unsetting it will disable [categorization](./docs/v3/enrichment/entities).", @@ -2047,6 +1983,7 @@ whether a transaction is a one-time event or a part of a recurring series.", }, "ValidationError": { "docs": undefined, + "inline": undefined, "properties": { "loc": { "type": "list", @@ -2062,6 +1999,7 @@ whether a transaction is a one-time event or a part of a recurring series.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": true, "source": { "openapi": "../openapi.yml", }, @@ -2072,6 +2010,7 @@ whether a transaction is a one-time event or a part of a recurring series.", }, "Webhook": { "docs": undefined, + "inline": undefined, "properties": { "created_at": { "docs": "The date and time when the webhook was created.", @@ -2153,6 +2092,7 @@ whether a transaction is a one-time event or a part of a recurring series.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -2172,6 +2112,7 @@ whether a transaction is a one-time event or a part of a recurring series.", "discriminated": false, "docs": undefined, "encoding": undefined, + "inline": undefined, "source": { "openapi": "../openapi.yml", }, @@ -2184,6 +2125,7 @@ whether a transaction is a one-time event or a part of a recurring series.", }, "if": { "docs": undefined, + "inline": undefined, "properties": { "else": { "type": "optional>", @@ -2221,6 +2163,7 @@ whether a transaction is a one-time event or a part of a recurring series.", }, "set": { "docs": undefined, + "inline": undefined, "properties": { "set": { "type": "EditableTxProp", @@ -3506,6 +3449,7 @@ types: - integer source: openapi: ../openapi.yml + inline: true ValidationError: properties: loc: @@ -3589,70 +3533,30 @@ types: - account_holder_name source: openapi: ../openapi.yml - FnCall&&: - properties: - '&&': list - source: - openapi: ../openapi.yml - FnCall||: - properties: - '||': list - source: - openapi: ../openapi.yml - FnCall==: - properties: - '==': list - source: - openapi: ../openapi.yml - FnCall+: - properties: - +: list - source: - openapi: ../openapi.yml - FnCall-: - properties: - '-': list - source: - openapi: ../openapi.yml - FnCall*: - properties: - '*': list - source: - openapi: ../openapi.yml - FnCall/: - properties: - /: list - source: - openapi: ../openapi.yml - FnCall//: - properties: - //: list - source: - openapi: ../openapi.yml - FnCall<: - properties: - <: list - source: - openapi: ../openapi.yml - FnCall<=: - properties: - <=: list - source: - openapi: ../openapi.yml - FnCall>: - properties: - '>': list - source: - openapi: ../openapi.yml - FnCall>=: - properties: - '>=': list - source: - openapi: ../openapi.yml - FnCall!: - properties: - '!': - type: expression + FnCall: + discriminated: false + union: + - type: FnCall + - type: FnCall + - type: FnCall + - type: FnCall + - type: FnCall + - type: FnCall + - type: FnCall + - type: FnCall + - type: FnCall + - type: FnCall + - type: FnCall + - type: FnCall + - type: FnCall + - type: FnCallIsSubstring + - type: FnCallStartsWith + - type: FnCallEndsWith + - type: FnCallToLower + - type: FnCallToUpper + - type: FnCallHasLabel + - type: FnCallHasMcc + - type: FnCallGet source: openapi: ../openapi.yml FnCallIsSubstring: @@ -3660,72 +3564,54 @@ types: is_substring: list source: openapi: ../openapi.yml + inline: true FnCallStartsWith: properties: starts_with: list source: openapi: ../openapi.yml + inline: true FnCallEndsWith: properties: ends_with: list source: openapi: ../openapi.yml + inline: true FnCallToLower: properties: to_lower: type: expression source: openapi: ../openapi.yml + inline: true FnCallToUpper: properties: to_upper: type: expression source: openapi: ../openapi.yml + inline: true FnCallHasLabel: properties: has_label: type: expression source: openapi: ../openapi.yml + inline: true FnCallHasMcc: properties: has_mcc: type: expression source: openapi: ../openapi.yml + inline: true FnCallGet: properties: get: type: properties source: openapi: ../openapi.yml - FnCall: - discriminated: false - union: - - type: FnCall&& - - type: FnCall|| - - type: FnCall== - - type: FnCall+ - - type: FnCall- - - type: FnCall* - - type: FnCall/ - - type: FnCall// - - type: FnCall< - - type: FnCall<= - - type: FnCall> - - type: FnCall>= - - type: FnCall! - - type: FnCallIsSubstring - - type: FnCallStartsWith - - type: FnCallEndsWith - - type: FnCallToLower - - type: FnCallToUpper - - type: FnCallHasLabel - - type: FnCallHasMcc - - type: FnCallGet - source: - openapi: ../openapi.yml + inline: true action: discriminated: false union: @@ -3750,34 +3636,40 @@ types: type: expression source: openapi: ../openapi.yml + inline: true ModifyLabelsRemoveLabel: properties: remove_label: type: expression source: openapi: ../openapi.yml + inline: true ModifyLabelsSetLabels: properties: set_labels: list source: openapi: ../openapi.yml + inline: true ModifyLabelsAddMcc: properties: add_mcc: type: expression source: openapi: ../openapi.yml + inline: true ModifyLabelsRemoveMcc: properties: remove_mcc: type: expression source: openapi: ../openapi.yml + inline: true ModifyLabelsSetMcc: properties: set_mcc: list source: openapi: ../openapi.yml + inline: true ModifyLabels: discriminated: false union: From 1505a3053c281c6ef1bcd2647fa5dc77d48121ba Mon Sep 17 00:00:00 2001 From: Niels Swimberghe <3382717+Swimburger@users.noreply.github.com> Date: Mon, 25 Nov 2024 11:19:34 -0500 Subject: [PATCH 12/20] Revert "Configure inline on the type references" This reverts commit c706f87127230223cb3b241a221dd055c8c90347. --- .../getObjectPropertyFromResolvedType.ts | 2 +- .../convertGenericTypeDeclaration.ts | 3 +- .../convertObjectTypeDeclaration.ts | 69 +++---------------- .../convertTypeDeclaration.ts | 4 +- .../src/resolvers/TypeResolver.ts | 2 +- 5 files changed, 16 insertions(+), 64 deletions(-) diff --git a/packages/cli/generation/ir-generator/src/converters/services/getObjectPropertyFromResolvedType.ts b/packages/cli/generation/ir-generator/src/converters/services/getObjectPropertyFromResolvedType.ts index d898410785c..5e9e72f1908 100644 --- a/packages/cli/generation/ir-generator/src/converters/services/getObjectPropertyFromResolvedType.ts +++ b/packages/cli/generation/ir-generator/src/converters/services/getObjectPropertyFromResolvedType.ts @@ -86,7 +86,7 @@ async function getAllPropertiesForRawObjectSchema( }); } - const objectProperties = await getObjectPropertiesFromRawObjectSchema(objectSchema, file, typeResolver); + const objectProperties = await getObjectPropertiesFromRawObjectSchema(objectSchema, file); objectProperties.forEach((objectProperty) => { properties[objectProperty.name.name.originalName] = objectProperty; }); diff --git a/packages/cli/generation/ir-generator/src/converters/type-declarations/convertGenericTypeDeclaration.ts b/packages/cli/generation/ir-generator/src/converters/type-declarations/convertGenericTypeDeclaration.ts index 4f0f1daf759..de6ba900599 100644 --- a/packages/cli/generation/ir-generator/src/converters/type-declarations/convertGenericTypeDeclaration.ts +++ b/packages/cli/generation/ir-generator/src/converters/type-declarations/convertGenericTypeDeclaration.ts @@ -42,8 +42,7 @@ export async function convertGenericTypeDeclaration({ ), properties: await getObjectPropertiesFromRawObjectSchema( { properties: Object.fromEntries(newProperties) }, - file, - typeResolver + file ), extraProperties: resolvedBaseGeneric.declaration["extra-properties"] ?? false, extendedProperties: undefined, diff --git a/packages/cli/generation/ir-generator/src/converters/type-declarations/convertObjectTypeDeclaration.ts b/packages/cli/generation/ir-generator/src/converters/type-declarations/convertObjectTypeDeclaration.ts index 2812f3935c0..5b29cebd88a 100644 --- a/packages/cli/generation/ir-generator/src/converters/type-declarations/convertObjectTypeDeclaration.ts +++ b/packages/cli/generation/ir-generator/src/converters/type-declarations/convertObjectTypeDeclaration.ts @@ -3,22 +3,17 @@ import { RawSchemas } from "@fern-api/fern-definition-schema"; import { FernFileContext } from "../../FernFileContext"; import { parseTypeName } from "../../utils/parseTypeName"; import { convertDeclaration } from "../convertDeclaration"; -import { TypeResolver } from "../../resolvers/TypeResolver"; -import { ResolvedContainerType, ResolvedType } from "../../resolvers/ResolvedType"; -import { assertNever } from "@fern-api/core-utils"; export async function convertObjectTypeDeclaration({ object, - file, - typeResolver + file }: { object: RawSchemas.ObjectSchema; file: FernFileContext; - typeResolver: TypeResolver; }): Promise { return Type.object({ extends: getExtensionsAsList(object.extends).map((extended) => parseTypeName({ typeName: extended, file })), - properties: await getObjectPropertiesFromRawObjectSchema(object, file, typeResolver), + properties: await getObjectPropertiesFromRawObjectSchema(object, file), extraProperties: object["extra-properties"] ?? false, extendedProperties: undefined, inline: object.inline @@ -27,65 +22,23 @@ export async function convertObjectTypeDeclaration({ export async function getObjectPropertiesFromRawObjectSchema( object: RawSchemas.ObjectSchema, - file: FernFileContext, - typeResolver: TypeResolver + file: FernFileContext ): Promise { if (object.properties == null) { return []; } return await Promise.all( - Object.entries(object.properties).map(async ([propertyKey, propertyDefinition]) => { - const isString = typeof propertyDefinition === "string"; - const typeName = isString ? propertyDefinition : propertyDefinition.type; - const default_ = isString ? undefined : propertyDefinition.default; - const validation = isString ? undefined : propertyDefinition.validation; - - const type = typeResolver.resolveNamedType({ - referenceToNamedType: typeName, - file - }); - const inline = getInline(type); - const prop = { - ...(await convertDeclaration(propertyDefinition)), - name: file.casingsGenerator.generateNameAndWireValue({ - wireValue: propertyKey, - name: getPropertyName({ propertyKey, property: propertyDefinition }).name - }), - valueType: file.parseTypeReference({ type: typeName, default: default_, validation, inline }) - }; - return prop; - }) + Object.entries(object.properties).map(async ([propertyKey, propertyDefinition]) => ({ + ...(await convertDeclaration(propertyDefinition)), + name: file.casingsGenerator.generateNameAndWireValue({ + wireValue: propertyKey, + name: getPropertyName({ propertyKey, property: propertyDefinition }).name + }), + valueType: file.parseTypeReference(propertyDefinition) + })) ); } -function getInline(type: ResolvedType | ResolvedContainerType | undefined): boolean | undefined { - if (type == null) { - return undefined; - } - switch (type._type) { - case "container": - return getInline(type.container); - case "named": - return type.declaration.inline ?? undefined; - case "primitive": - return undefined; - case "list": - return undefined; - case "map": - return undefined; - case "optional": - return getInline(type.itemType); - case "unknown": - return undefined; - case "set": - return undefined; - case "literal": - return undefined; - default: - assertNever(type); - } -} - export function getExtensionsAsList(extensions: string | string[] | undefined): string[] { if (extensions == null) { return []; diff --git a/packages/cli/generation/ir-generator/src/converters/type-declarations/convertTypeDeclaration.ts b/packages/cli/generation/ir-generator/src/converters/type-declarations/convertTypeDeclaration.ts index b76a72db090..1b8191dc11f 100644 --- a/packages/cli/generation/ir-generator/src/converters/type-declarations/convertTypeDeclaration.ts +++ b/packages/cli/generation/ir-generator/src/converters/type-declarations/convertTypeDeclaration.ts @@ -112,7 +112,7 @@ export async function convertType({ }): Promise { return await visitRawTypeDeclaration | Type>(typeDeclaration, { alias: (alias) => convertAliasTypeDeclaration({ alias, file, typeResolver }), - object: (object) => convertObjectTypeDeclaration({ object, file, typeResolver }), + object: (object) => convertObjectTypeDeclaration({ object, file }), discriminatedUnion: (union) => convertDiscriminatedUnionTypeDeclaration({ union, file, typeResolver }), undiscriminatedUnion: (union) => convertUndiscriminatedUnionTypeDeclaration({ union, file }), enum: async (enum_) => Type.enum(await convertEnumTypeDeclaration({ _enum: enum_, file })) @@ -200,7 +200,7 @@ function getInline(typeDeclaration: RawSchemas.TypeDeclarationSchema): boolean | return undefined; } if ("inline" in typeDeclaration) { - return typeDeclaration.inline || undefined; + return typeDeclaration.inline; } return undefined; } diff --git a/packages/cli/generation/ir-generator/src/resolvers/TypeResolver.ts b/packages/cli/generation/ir-generator/src/resolvers/TypeResolver.ts index d5ff88b6c46..e9b065cde4d 100644 --- a/packages/cli/generation/ir-generator/src/resolvers/TypeResolver.ts +++ b/packages/cli/generation/ir-generator/src/resolvers/TypeResolver.ts @@ -296,7 +296,7 @@ export class TypeResolverImpl implements TypeResolver { const parsedTypeReference = parseInlineType({ type: referenceToNamedType, - inline: declaration.inline, + inline: undefined, _default: undefined, validation: undefined, file: referencedIn From 5900da2a0b5921ad055102ca5f286204d55c9e83 Mon Sep 17 00:00:00 2001 From: Niels Swimberghe <3382717+Swimburger@users.noreply.github.com> Date: Mon, 25 Nov 2024 12:05:32 -0500 Subject: [PATCH 13/20] Deprecate inline property on NamedType --- .../__snapshots__/openapi-docs/ntropy.json | 285 +++++++++++++++--- .../__snapshots__/openapi-ir/ntropy.json | 76 ++--- .../__snapshots__/openapi/ntropy.json | 285 +++++++++++++++--- .../apis/ir-types-latest/definition/types.yml | 5 +- packages/ir-sdk/fern/fern.config.json | 2 +- .../api/resources/types/types/NamedType.ts | 1 + 6 files changed, 540 insertions(+), 114 deletions(-) diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/ntropy.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/ntropy.json index 39812385ca9..a1bfd4b33c3 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/ntropy.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-docs/ntropy.json @@ -1684,43 +1684,43 @@ enriched transactions.", }, "union": [ { - "type": "FnCall", + "type": "FnCall&&", }, { - "type": "FnCall", + "type": "FnCall||", }, { - "type": "FnCall", + "type": "FnCall==", }, { - "type": "FnCall", + "type": "FnCall+", }, { - "type": "FnCall", + "type": "FnCall-", }, { - "type": "FnCall", + "type": "FnCall*", }, { - "type": "FnCall", + "type": "FnCall/", }, { - "type": "FnCall", + "type": "FnCall//", }, { - "type": "FnCall", + "type": "FnCall<", }, { - "type": "FnCall", + "type": "FnCall<=", }, { - "type": "FnCall", + "type": "FnCall>", }, { - "type": "FnCall", + "type": "FnCall>=", }, { - "type": "FnCall", + "type": "FnCall!", }, { "type": "FnCallIsSubstring", @@ -1748,6 +1748,128 @@ enriched transactions.", }, ], }, + "FnCall!": { + "docs": undefined, + "inline": true, + "properties": { + "!": { + "type": "expression", + }, + }, + "source": { + "openapi": "../openapi.yml", + }, + }, + "FnCall&&": { + "docs": undefined, + "inline": true, + "properties": { + "&&": "list", + }, + "source": { + "openapi": "../openapi.yml", + }, + }, + "FnCall*": { + "docs": undefined, + "inline": true, + "properties": { + "*": "list", + }, + "source": { + "openapi": "../openapi.yml", + }, + }, + "FnCall+": { + "docs": undefined, + "inline": true, + "properties": { + "+": "list", + }, + "source": { + "openapi": "../openapi.yml", + }, + }, + "FnCall-": { + "docs": undefined, + "inline": true, + "properties": { + "-": "list", + }, + "source": { + "openapi": "../openapi.yml", + }, + }, + "FnCall/": { + "docs": undefined, + "inline": true, + "properties": { + "/": "list", + }, + "source": { + "openapi": "../openapi.yml", + }, + }, + "FnCall//": { + "docs": undefined, + "inline": true, + "properties": { + "//": "list", + }, + "source": { + "openapi": "../openapi.yml", + }, + }, + "FnCall<": { + "docs": undefined, + "inline": true, + "properties": { + "<": "list", + }, + "source": { + "openapi": "../openapi.yml", + }, + }, + "FnCall<=": { + "docs": undefined, + "inline": true, + "properties": { + "<=": "list", + }, + "source": { + "openapi": "../openapi.yml", + }, + }, + "FnCall==": { + "docs": undefined, + "inline": true, + "properties": { + "==": "list", + }, + "source": { + "openapi": "../openapi.yml", + }, + }, + "FnCall>": { + "docs": undefined, + "inline": true, + "properties": { + ">": "list", + }, + "source": { + "openapi": "../openapi.yml", + }, + }, + "FnCall>=": { + "docs": undefined, + "inline": true, + "properties": { + ">=": "list", + }, + "source": { + "openapi": "../openapi.yml", + }, + }, "FnCallEndsWith": { "docs": undefined, "inline": true, @@ -1838,6 +1960,16 @@ enriched transactions.", "openapi": "../openapi.yml", }, }, + "FnCall||": { + "docs": undefined, + "inline": true, + "properties": { + "||": "list", + }, + "source": { + "openapi": "../openapi.yml", + }, + }, "HTTPValidationError": { "docs": undefined, "inline": undefined, @@ -4415,32 +4547,85 @@ types: - account_holder_name source: openapi: ../openapi.yml - FnCall: - discriminated: false - union: - - type: FnCall - - type: FnCall - - type: FnCall - - type: FnCall - - type: FnCall - - type: FnCall - - type: FnCall - - type: FnCall - - type: FnCall - - type: FnCall - - type: FnCall - - type: FnCall - - type: FnCall - - type: FnCallIsSubstring - - type: FnCallStartsWith - - type: FnCallEndsWith - - type: FnCallToLower - - type: FnCallToUpper - - type: FnCallHasLabel - - type: FnCallHasMcc - - type: FnCallGet + FnCall&&: + properties: + '&&': list + source: + openapi: ../openapi.yml + inline: true + FnCall||: + properties: + '||': list + source: + openapi: ../openapi.yml + inline: true + FnCall==: + properties: + '==': list + source: + openapi: ../openapi.yml + inline: true + FnCall+: + properties: + +: list + source: + openapi: ../openapi.yml + inline: true + FnCall-: + properties: + '-': list + source: + openapi: ../openapi.yml + inline: true + FnCall*: + properties: + '*': list + source: + openapi: ../openapi.yml + inline: true + FnCall/: + properties: + /: list source: openapi: ../openapi.yml + inline: true + FnCall//: + properties: + //: list + source: + openapi: ../openapi.yml + inline: true + FnCall<: + properties: + <: list + source: + openapi: ../openapi.yml + inline: true + FnCall<=: + properties: + <=: list + source: + openapi: ../openapi.yml + inline: true + FnCall>: + properties: + '>': list + source: + openapi: ../openapi.yml + inline: true + FnCall>=: + properties: + '>=': list + source: + openapi: ../openapi.yml + inline: true + FnCall!: + properties: + '!': + type: expression + source: + openapi: ../openapi.yml + inline: true FnCallIsSubstring: properties: is_substring: list @@ -4494,6 +4679,32 @@ types: source: openapi: ../openapi.yml inline: true + FnCall: + discriminated: false + union: + - type: FnCall&& + - type: FnCall|| + - type: FnCall== + - type: FnCall+ + - type: FnCall- + - type: FnCall* + - type: FnCall/ + - type: FnCall// + - type: FnCall< + - type: FnCall<= + - type: FnCall> + - type: FnCall>= + - type: FnCall! + - type: FnCallIsSubstring + - type: FnCallStartsWith + - type: FnCallEndsWith + - type: FnCallToLower + - type: FnCallToUpper + - type: FnCallHasLabel + - type: FnCallHasMcc + - type: FnCallGet + source: + openapi: ../openapi.yml action: discriminated: false union: diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/ntropy.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/ntropy.json index 7cd6991e1b0..0babf21c358 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/ntropy.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi-ir/ntropy.json @@ -16389,7 +16389,7 @@ "key": "&&", "schema": { "value": { - "generatedName": "FnCallItem", + "generatedName": "FnCall&&&&Item", "schema": "Expr", "source": { "file": "../openapi.yml", @@ -16397,7 +16397,7 @@ }, "type": "reference" }, - "generatedName": "FnCall", + "generatedName": "FnCall&&&&", "groupName": [], "type": "array" }, @@ -16405,7 +16405,7 @@ } ], "allOfPropertyConflicts": [], - "generatedName": "FnCall", + "generatedName": "FnCall&&", "title": "&&", "groupName": [], "additionalProperties": false, @@ -16424,7 +16424,7 @@ "key": "||", "schema": { "value": { - "generatedName": "FnCallItem", + "generatedName": "FnCall||||Item", "schema": "Expr", "source": { "file": "../openapi.yml", @@ -16432,7 +16432,7 @@ }, "type": "reference" }, - "generatedName": "FnCall", + "generatedName": "FnCall||||", "groupName": [], "type": "array" }, @@ -16440,7 +16440,7 @@ } ], "allOfPropertyConflicts": [], - "generatedName": "FnCall", + "generatedName": "FnCall||", "title": "||", "groupName": [], "additionalProperties": false, @@ -16459,7 +16459,7 @@ "key": "==", "schema": { "value": { - "generatedName": "FnCallItem", + "generatedName": "FnCall====Item", "schema": "Expr", "source": { "file": "../openapi.yml", @@ -16467,7 +16467,7 @@ }, "type": "reference" }, - "generatedName": "FnCall", + "generatedName": "FnCall====", "groupName": [], "type": "array" }, @@ -16475,7 +16475,7 @@ } ], "allOfPropertyConflicts": [], - "generatedName": "FnCall", + "generatedName": "FnCall==", "title": "==", "groupName": [], "additionalProperties": false, @@ -16494,7 +16494,7 @@ "key": "+", "schema": { "value": { - "generatedName": "FnCallItem", + "generatedName": "FnCall++Item", "schema": "Expr", "source": { "file": "../openapi.yml", @@ -16502,7 +16502,7 @@ }, "type": "reference" }, - "generatedName": "FnCall", + "generatedName": "FnCall++", "groupName": [], "type": "array" }, @@ -16510,7 +16510,7 @@ } ], "allOfPropertyConflicts": [], - "generatedName": "FnCall", + "generatedName": "FnCall+", "title": "+", "groupName": [], "additionalProperties": false, @@ -16529,7 +16529,7 @@ "key": "-", "schema": { "value": { - "generatedName": "FnCallItem", + "generatedName": "FnCall--Item", "schema": "Expr", "source": { "file": "../openapi.yml", @@ -16537,7 +16537,7 @@ }, "type": "reference" }, - "generatedName": "FnCall", + "generatedName": "FnCall--", "groupName": [], "type": "array" }, @@ -16545,7 +16545,7 @@ } ], "allOfPropertyConflicts": [], - "generatedName": "FnCall", + "generatedName": "FnCall-", "title": "-", "groupName": [], "additionalProperties": false, @@ -16564,7 +16564,7 @@ "key": "*", "schema": { "value": { - "generatedName": "FnCallItem", + "generatedName": "FnCall**Item", "schema": "Expr", "source": { "file": "../openapi.yml", @@ -16572,7 +16572,7 @@ }, "type": "reference" }, - "generatedName": "FnCall", + "generatedName": "FnCall**", "groupName": [], "type": "array" }, @@ -16580,7 +16580,7 @@ } ], "allOfPropertyConflicts": [], - "generatedName": "FnCall", + "generatedName": "FnCall*", "title": "*", "groupName": [], "additionalProperties": false, @@ -16599,7 +16599,7 @@ "key": "/", "schema": { "value": { - "generatedName": "FnCallItem", + "generatedName": "FnCall//Item", "schema": "Expr", "source": { "file": "../openapi.yml", @@ -16607,7 +16607,7 @@ }, "type": "reference" }, - "generatedName": "FnCall", + "generatedName": "FnCall//", "groupName": [], "type": "array" }, @@ -16615,7 +16615,7 @@ } ], "allOfPropertyConflicts": [], - "generatedName": "FnCall", + "generatedName": "FnCall/", "title": "/", "groupName": [], "additionalProperties": false, @@ -16634,7 +16634,7 @@ "key": "//", "schema": { "value": { - "generatedName": "FnCallItem", + "generatedName": "FnCall////Item", "schema": "Expr", "source": { "file": "../openapi.yml", @@ -16642,7 +16642,7 @@ }, "type": "reference" }, - "generatedName": "FnCall", + "generatedName": "FnCall////", "groupName": [], "type": "array" }, @@ -16650,7 +16650,7 @@ } ], "allOfPropertyConflicts": [], - "generatedName": "FnCall", + "generatedName": "FnCall//", "title": "//", "groupName": [], "additionalProperties": false, @@ -16669,7 +16669,7 @@ "key": "<", "schema": { "value": { - "generatedName": "FnCallItem", + "generatedName": "FnCall<", "schema": { "value": { - "generatedName": "FnCallItem", + "generatedName": "FnCall>>Item", "schema": "Expr", "source": { "file": "../openapi.yml", @@ -16747,7 +16747,7 @@ }, "type": "reference" }, - "generatedName": "FnCall", + "generatedName": "FnCall>>", "groupName": [], "type": "array" }, @@ -16755,7 +16755,7 @@ } ], "allOfPropertyConflicts": [], - "generatedName": "FnCall", + "generatedName": "FnCall>", "title": ">", "groupName": [], "additionalProperties": false, @@ -16774,7 +16774,7 @@ "key": ">=", "schema": { "value": { - "generatedName": "FnCallItem", + "generatedName": "FnCall>=>=Item", "schema": "Expr", "source": { "file": "../openapi.yml", @@ -16782,7 +16782,7 @@ }, "type": "reference" }, - "generatedName": "FnCall", + "generatedName": "FnCall>=>=", "groupName": [], "type": "array" }, @@ -16790,7 +16790,7 @@ } ], "allOfPropertyConflicts": [], - "generatedName": "FnCall", + "generatedName": "FnCall>=", "title": ">=", "groupName": [], "additionalProperties": false, @@ -16808,7 +16808,7 @@ "generatedName": "fnCall", "key": "!", "schema": { - "generatedName": "FnCall", + "generatedName": "FnCall!!", "schema": "Expr", "source": { "file": "../openapi.yml", @@ -16821,7 +16821,7 @@ } ], "allOfPropertyConflicts": [], - "generatedName": "FnCall", + "generatedName": "FnCall!", "title": "!", "groupName": [], "additionalProperties": false, diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/ntropy.json b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/ntropy.json index b74695ff163..3f6b0f5c44f 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/ntropy.json +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern-tests/src/__test__/__snapshots__/openapi/ntropy.json @@ -1118,43 +1118,43 @@ enriched transactions.", }, "union": [ { - "type": "FnCall", + "type": "FnCall&&", }, { - "type": "FnCall", + "type": "FnCall||", }, { - "type": "FnCall", + "type": "FnCall==", }, { - "type": "FnCall", + "type": "FnCall+", }, { - "type": "FnCall", + "type": "FnCall-", }, { - "type": "FnCall", + "type": "FnCall*", }, { - "type": "FnCall", + "type": "FnCall/", }, { - "type": "FnCall", + "type": "FnCall//", }, { - "type": "FnCall", + "type": "FnCall<", }, { - "type": "FnCall", + "type": "FnCall<=", }, { - "type": "FnCall", + "type": "FnCall>", }, { - "type": "FnCall", + "type": "FnCall>=", }, { - "type": "FnCall", + "type": "FnCall!", }, { "type": "FnCallIsSubstring", @@ -1182,6 +1182,128 @@ enriched transactions.", }, ], }, + "FnCall!": { + "docs": undefined, + "inline": true, + "properties": { + "!": { + "type": "expression", + }, + }, + "source": { + "openapi": "../openapi.yml", + }, + }, + "FnCall&&": { + "docs": undefined, + "inline": true, + "properties": { + "&&": "list", + }, + "source": { + "openapi": "../openapi.yml", + }, + }, + "FnCall*": { + "docs": undefined, + "inline": true, + "properties": { + "*": "list", + }, + "source": { + "openapi": "../openapi.yml", + }, + }, + "FnCall+": { + "docs": undefined, + "inline": true, + "properties": { + "+": "list", + }, + "source": { + "openapi": "../openapi.yml", + }, + }, + "FnCall-": { + "docs": undefined, + "inline": true, + "properties": { + "-": "list", + }, + "source": { + "openapi": "../openapi.yml", + }, + }, + "FnCall/": { + "docs": undefined, + "inline": true, + "properties": { + "/": "list", + }, + "source": { + "openapi": "../openapi.yml", + }, + }, + "FnCall//": { + "docs": undefined, + "inline": true, + "properties": { + "//": "list", + }, + "source": { + "openapi": "../openapi.yml", + }, + }, + "FnCall<": { + "docs": undefined, + "inline": true, + "properties": { + "<": "list", + }, + "source": { + "openapi": "../openapi.yml", + }, + }, + "FnCall<=": { + "docs": undefined, + "inline": true, + "properties": { + "<=": "list", + }, + "source": { + "openapi": "../openapi.yml", + }, + }, + "FnCall==": { + "docs": undefined, + "inline": true, + "properties": { + "==": "list", + }, + "source": { + "openapi": "../openapi.yml", + }, + }, + "FnCall>": { + "docs": undefined, + "inline": true, + "properties": { + ">": "list", + }, + "source": { + "openapi": "../openapi.yml", + }, + }, + "FnCall>=": { + "docs": undefined, + "inline": true, + "properties": { + ">=": "list", + }, + "source": { + "openapi": "../openapi.yml", + }, + }, "FnCallEndsWith": { "docs": undefined, "inline": true, @@ -1272,6 +1394,16 @@ enriched transactions.", "openapi": "../openapi.yml", }, }, + "FnCall||": { + "docs": undefined, + "inline": true, + "properties": { + "||": "list", + }, + "source": { + "openapi": "../openapi.yml", + }, + }, "HTTPValidationError": { "docs": undefined, "inline": undefined, @@ -3533,32 +3665,85 @@ types: - account_holder_name source: openapi: ../openapi.yml - FnCall: - discriminated: false - union: - - type: FnCall - - type: FnCall - - type: FnCall - - type: FnCall - - type: FnCall - - type: FnCall - - type: FnCall - - type: FnCall - - type: FnCall - - type: FnCall - - type: FnCall - - type: FnCall - - type: FnCall - - type: FnCallIsSubstring - - type: FnCallStartsWith - - type: FnCallEndsWith - - type: FnCallToLower - - type: FnCallToUpper - - type: FnCallHasLabel - - type: FnCallHasMcc - - type: FnCallGet + FnCall&&: + properties: + '&&': list + source: + openapi: ../openapi.yml + inline: true + FnCall||: + properties: + '||': list + source: + openapi: ../openapi.yml + inline: true + FnCall==: + properties: + '==': list + source: + openapi: ../openapi.yml + inline: true + FnCall+: + properties: + +: list + source: + openapi: ../openapi.yml + inline: true + FnCall-: + properties: + '-': list + source: + openapi: ../openapi.yml + inline: true + FnCall*: + properties: + '*': list + source: + openapi: ../openapi.yml + inline: true + FnCall/: + properties: + /: list source: openapi: ../openapi.yml + inline: true + FnCall//: + properties: + //: list + source: + openapi: ../openapi.yml + inline: true + FnCall<: + properties: + <: list + source: + openapi: ../openapi.yml + inline: true + FnCall<=: + properties: + <=: list + source: + openapi: ../openapi.yml + inline: true + FnCall>: + properties: + '>': list + source: + openapi: ../openapi.yml + inline: true + FnCall>=: + properties: + '>=': list + source: + openapi: ../openapi.yml + inline: true + FnCall!: + properties: + '!': + type: expression + source: + openapi: ../openapi.yml + inline: true FnCallIsSubstring: properties: is_substring: list @@ -3612,6 +3797,32 @@ types: source: openapi: ../openapi.yml inline: true + FnCall: + discriminated: false + union: + - type: FnCall&& + - type: FnCall|| + - type: FnCall== + - type: FnCall+ + - type: FnCall- + - type: FnCall* + - type: FnCall/ + - type: FnCall// + - type: FnCall< + - type: FnCall<= + - type: FnCall> + - type: FnCall>= + - type: FnCall! + - type: FnCallIsSubstring + - type: FnCallStartsWith + - type: FnCallEndsWith + - type: FnCallToLower + - type: FnCallToUpper + - type: FnCallHasLabel + - type: FnCallHasMcc + - type: FnCallGet + source: + openapi: ../openapi.yml action: discriminated: false union: diff --git a/packages/ir-sdk/fern/apis/ir-types-latest/definition/types.yml b/packages/ir-sdk/fern/apis/ir-types-latest/definition/types.yml index 6470102be20..a896301024a 100644 --- a/packages/ir-sdk/fern/apis/ir-types-latest/definition/types.yml +++ b/packages/ir-sdk/fern/apis/ir-types-latest/definition/types.yml @@ -173,7 +173,10 @@ types: fernFilepath: commons.FernFilepath name: commons.Name default: optional - inline: optional + inline: + type: optional + availability: deprecated + docs: Use the inline property on the TypeDeclaration instead. NamedTypeDefault: union: diff --git a/packages/ir-sdk/fern/fern.config.json b/packages/ir-sdk/fern/fern.config.json index 74b19788a58..125c02d269f 100644 --- a/packages/ir-sdk/fern/fern.config.json +++ b/packages/ir-sdk/fern/fern.config.json @@ -1,4 +1,4 @@ { "organization": "fern", - "version": "0.44.11" + "version": "0.45.0" } \ No newline at end of file diff --git a/packages/ir-sdk/src/sdk/api/resources/types/types/NamedType.ts b/packages/ir-sdk/src/sdk/api/resources/types/types/NamedType.ts index c63cb429090..4ecdf65a8f9 100644 --- a/packages/ir-sdk/src/sdk/api/resources/types/types/NamedType.ts +++ b/packages/ir-sdk/src/sdk/api/resources/types/types/NamedType.ts @@ -13,5 +13,6 @@ export interface NamedType { fernFilepath: FernIr.FernFilepath; name: FernIr.Name; default: FernIr.NamedTypeDefault | undefined; + /** Use the inline property on the TypeDeclaration instead. */ inline: boolean | undefined; } From f1eec6671b16e7d32ed1ee65b0613a5cbb04e446 Mon Sep 17 00:00:00 2001 From: Niels Swimberghe <3382717+Swimburger@users.noreply.github.com> Date: Mon, 25 Nov 2024 12:21:51 -0500 Subject: [PATCH 14/20] Undo unnecessary changes --- .../openapi-ir-parser/src/schema/convertObject.ts | 1 + .../openapi-ir-parser/src/schema/convertSchemas.ts | 1 - .../cli/generation/ir-generator/src/FernFileContext.ts | 3 +-- .../ir-generator/src/__test__/parseInlineType.test.ts | 1 - .../src/generateIntermediateRepresentation.ts | 9 +-------- .../ir-generator/src/resolvers/TypeResolver.ts | 1 - .../generation/ir-generator/src/utils/parseInlineType.ts | 8 +++----- 7 files changed, 6 insertions(+), 18 deletions(-) diff --git a/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/convertObject.ts b/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/convertObject.ts index 221705085da..0dcd74d5f44 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/convertObject.ts +++ b/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/convertObject.ts @@ -171,6 +171,7 @@ export function convertObject({ }); } } + const convertedProperties: ObjectPropertyWithExample[] = Object.entries(propertiesToConvert).map( ([propertyName, propertySchema]) => { const isRequired = allRequired.includes(propertyName); diff --git a/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/convertSchemas.ts b/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/convertSchemas.ts index bb731c76b7a..07de8a6f125 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/convertSchemas.ts +++ b/packages/cli/api-importers/openapi/openapi-ir-parser/src/schema/convertSchemas.ts @@ -1,4 +1,3 @@ -import { assertNever } from "@fern-api/core-utils"; import { Logger } from "@fern-api/logger"; import { Availability, diff --git a/packages/cli/generation/ir-generator/src/FernFileContext.ts b/packages/cli/generation/ir-generator/src/FernFileContext.ts index 6a0cd2349a5..92e3b6275ab 100644 --- a/packages/cli/generation/ir-generator/src/FernFileContext.ts +++ b/packages/cli/generation/ir-generator/src/FernFileContext.ts @@ -60,11 +60,10 @@ export function constructFernFileContext({ definitionFile, parseTypeReference: (type) => { if (typeof type === "string") { - return parseInlineType({ type, inline: undefined, _default: undefined, validation: undefined, file }); + return parseInlineType({ type, _default: undefined, validation: undefined, file }); } return parseInlineType({ type: type.type, - inline: type.inline, _default: type.default, validation: type.validation, file diff --git a/packages/cli/generation/ir-generator/src/__test__/parseInlineType.test.ts b/packages/cli/generation/ir-generator/src/__test__/parseInlineType.test.ts index 3d8690b6212..34f73734878 100644 --- a/packages/cli/generation/ir-generator/src/__test__/parseInlineType.test.ts +++ b/packages/cli/generation/ir-generator/src/__test__/parseInlineType.test.ts @@ -17,7 +17,6 @@ describe("parse inline types", () => { const dummyFilepath = RelativeFilePath.of("a/b/c"); const parsedTypeReference = parseInlineType({ type: "optional>", - inline: undefined, _default: undefined, validation: undefined, file: constructFernFileContext({ diff --git a/packages/cli/generation/ir-generator/src/generateIntermediateRepresentation.ts b/packages/cli/generation/ir-generator/src/generateIntermediateRepresentation.ts index e7b3bde510c..b26d230c10a 100644 --- a/packages/cli/generation/ir-generator/src/generateIntermediateRepresentation.ts +++ b/packages/cli/generation/ir-generator/src/generateIntermediateRepresentation.ts @@ -1,23 +1,16 @@ import { Audiences, FERN_PACKAGE_MARKER_FILENAME, generatorsYml } from "@fern-api/configuration"; -import { assertNever, noop, visitObject } from "@fern-api/core-utils"; +import { noop, visitObject } from "@fern-api/core-utils"; import { dirname, join, RelativeFilePath } from "@fern-api/fs-utils"; import { - ContainerType, ExampleType, HttpEndpoint, - HttpService, - InlinedRequestBody, IntermediateRepresentation, - NamedType, - ObjectProperty, PathParameterLocation, ResponseErrors, ServiceId, ServiceTypeReferenceInfo, Type, - TypeDeclaration, TypeId, - TypeReference, Webhook } from "@fern-api/ir-sdk"; import { TaskContext } from "@fern-api/task-context"; diff --git a/packages/cli/generation/ir-generator/src/resolvers/TypeResolver.ts b/packages/cli/generation/ir-generator/src/resolvers/TypeResolver.ts index e9b065cde4d..4a98c682068 100644 --- a/packages/cli/generation/ir-generator/src/resolvers/TypeResolver.ts +++ b/packages/cli/generation/ir-generator/src/resolvers/TypeResolver.ts @@ -296,7 +296,6 @@ export class TypeResolverImpl implements TypeResolver { const parsedTypeReference = parseInlineType({ type: referenceToNamedType, - inline: undefined, _default: undefined, validation: undefined, file: referencedIn diff --git a/packages/cli/generation/ir-generator/src/utils/parseInlineType.ts b/packages/cli/generation/ir-generator/src/utils/parseInlineType.ts index 6b85acfbdfd..e49c830fa3f 100644 --- a/packages/cli/generation/ir-generator/src/utils/parseInlineType.ts +++ b/packages/cli/generation/ir-generator/src/utils/parseInlineType.ts @@ -6,14 +6,13 @@ import { parseTypeName } from "./parseTypeName"; export declare namespace parseInlineType { export interface Args { type: string; - inline: boolean | undefined; file: FernFileContext; _default: unknown | undefined; validation: RawSchemas.ValidationSchema | undefined; } } -export function parseInlineType({ type, inline, file, _default, validation }: parseInlineType.Args): TypeReference { +export function parseInlineType({ type, file, _default, validation }: parseInlineType.Args): TypeReference { return recursivelyVisitRawTypeReference({ type, _default, @@ -33,7 +32,7 @@ export function parseInlineType({ type, inline, file, _default, validation }: pa file }), default: undefined, - inline + inline: undefined }) } }); @@ -44,11 +43,10 @@ export type TypeReferenceParser = (type: RawSchemas.TypeReferenceSchema) => Type export function createTypeReferenceParser(file: FernFileContext): TypeReferenceParser { return (type) => { if (typeof type === "string") { - return parseInlineType({ type, inline: undefined, _default: undefined, validation: undefined, file }); + return parseInlineType({ type, _default: undefined, validation: undefined, file }); } return parseInlineType({ type: type.type, - inline: undefined, // TODO: check if this is correct _default: type.default, validation: type.validation, file From cf3aec62e9192e9b9162248625874972a0644754 Mon Sep 17 00:00:00 2001 From: Niels Swimberghe <3382717+Swimburger@users.noreply.github.com> Date: Mon, 25 Nov 2024 12:24:51 -0500 Subject: [PATCH 15/20] remove assemblyai-api-spec submodule --- test-definitions/fern/apis/assemblyai/assemblyai-api-spec | 1 - 1 file changed, 1 deletion(-) delete mode 160000 test-definitions/fern/apis/assemblyai/assemblyai-api-spec diff --git a/test-definitions/fern/apis/assemblyai/assemblyai-api-spec b/test-definitions/fern/apis/assemblyai/assemblyai-api-spec deleted file mode 160000 index 0e1f1998374..00000000000 --- a/test-definitions/fern/apis/assemblyai/assemblyai-api-spec +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 0e1f19983743c2ce0d9ab65c43a169e181e842c2 From 05fd6113d7762898e8f09adb813d2e8511ffdebb Mon Sep 17 00:00:00 2001 From: Niels Swimberghe <3382717+Swimburger@users.noreply.github.com> Date: Mon, 25 Nov 2024 15:54:22 -0500 Subject: [PATCH 16/20] pnpm test update --- .../__snapshots__/file-upload.test.ts.snap | 86 + .../__test__/__snapshots__/ir.test.ts.snap | 16 - .../test-definitions/inline-types.json | 494 ++-- .../inline-types/type__InlineType2.json | 13 + .../type__InlinedDiscriminatedUnion1.json | 67 + .../type__InlinedUndiscriminatedUnion1.json | 56 + .../inline-types/type__RootType1.json | 22 +- .../src/__test__/irs/audiences.json | 12 +- .../src/__test__/irs/availability.json | 5 +- .../ir-generator/src/__test__/irs/docs.json | 5 +- .../__test__/irs/environmentAudiences.json | 24 +- .../irs/environmentAudiencesAllHack.json | 17 +- .../irs/environmentAudiencesSelectHack.json | 12 +- .../src/__test__/irs/generics.json | 34 +- .../code-samples-open-api.json | 10 +- .../test-definitions-openapi/enum-casing.json | 15 +- .../inline-schema-reference.json | 500 ++-- .../test-definitions-openapi/names.json | 10 +- .../test-definitions/alias-extends.json | 12 +- .../src/__test__/test-definitions/alias.json | 9 +- .../__test__/test-definitions/any-auth.json | 10 +- .../__test__/test-definitions/audiences.json | 34 +- .../basic-auth-environment-variables.json | 5 +- .../__test__/test-definitions/basic-auth.json | 5 +- .../circular-references-advanced.json | 42 +- .../test-definitions/circular-references.json | 40 +- .../cross-package-type-names.json | 29 +- .../csharp-grpc-proto-exhaustive.json | 90 +- .../test-definitions/csharp-grpc-proto.json | 20 +- .../csharp-namespace-conflict.json | 25 +- .../test-definitions/custom-auth.json | 5 +- .../src/__test__/test-definitions/enum.json | 15 +- .../test-definitions/error-property.json | 5 +- .../__test__/test-definitions/examples.json | 151 +- .../__test__/test-definitions/exhaustive.json | 57 +- .../__test__/test-definitions/extends.json | 20 +- .../test-definitions/extra-properties.json | 10 +- .../test-definitions/file-upload.json | 12 +- .../__test__/test-definitions/folders.json | 2 +- .../test-definitions/go-content-type.json | 5 +- .../test-definitions/idempotency-headers.json | 5 +- .../src/__test__/test-definitions/imdb.json | 12 +- .../test-definitions/inline-types.json | 2053 +++++------------ .../__test__/test-definitions/license.json | 5 +- .../__test__/test-definitions/literal.json | 34 +- .../__test__/test-definitions/mixed-case.json | 25 +- .../mixed-file-directory.json | 27 +- .../test-definitions/multi-line-docs.json | 10 +- .../oauth-client-credentials-default.json | 5 +- ...ent-credentials-environment-variables.json | 5 +- .../oauth-client-credentials-nested-root.json | 5 +- .../oauth-client-credentials.json | 5 +- .../src/__test__/test-definitions/object.json | 10 +- .../objects-with-imports.json | 30 +- .../test-definitions/package-yml.json | 5 +- .../__test__/test-definitions/pagination.json | 80 +- .../test-definitions/path-parameters.json | 10 +- .../test-definitions/query-parameters.json | 10 +- .../test-definitions/reserved-keywords.json | 10 +- .../test-definitions/response-property.json | 29 +- .../server-sent-event-examples.json | 5 +- .../test-definitions/server-sent-events.json | 5 +- .../test-definitions/simple-fhir.json | 35 +- .../test-definitions/streaming-parameter.json | 10 +- .../__test__/test-definitions/streaming.json | 5 +- .../src/__test__/test-definitions/trace.json | 1014 ++++---- .../test-definitions/ts-express-casing.json | 7 +- .../undiscriminated-unions.json | 22 +- .../src/__test__/test-definitions/unions.json | 80 +- .../__test__/test-definitions/unknown.json | 7 +- .../__test__/test-definitions/validation.json | 20 +- .../test-definitions/version-no-default.json | 10 +- .../__test__/test-definitions/version.json | 10 +- .../__test__/__snapshots__/inline-types.json | 216 +- 74 files changed, 2658 insertions(+), 3164 deletions(-) create mode 100644 generators/go-v2/dynamic-snippets/src/__test__/__snapshots__/file-upload.test.ts.snap create mode 100644 packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__InlineType2.json create mode 100644 packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__InlinedDiscriminatedUnion1.json create mode 100644 packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__InlinedUndiscriminatedUnion1.json diff --git a/generators/go-v2/dynamic-snippets/src/__test__/__snapshots__/file-upload.test.ts.snap b/generators/go-v2/dynamic-snippets/src/__test__/__snapshots__/file-upload.test.ts.snap new file mode 100644 index 00000000000..652826835b7 --- /dev/null +++ b/generators/go-v2/dynamic-snippets/src/__test__/__snapshots__/file-upload.test.ts.snap @@ -0,0 +1,86 @@ +// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html + +exports[`file-upload (success) > 'POST /' 1`] = ` +"package example + +import ( + context "context" + acme "github.com/acme/acme-go" + client "github.com/acme/acme-go/client" + io "io" + strings "strings" +) + +func do() { + client := client.NewClient() + client.Service.Post( + context.TODO(), + &acme.MyRequest{ + File: strings.NewReader( + "Hello, world!", + ), + FileList: []io.Reader{ + strings.NewReader( + "First", + ), + strings.NewReader( + "Second", + ), + }, + }, + ) +} +" +`; + +exports[`file-upload (success) > 'POST /just-file (simple)' 1`] = ` +"package example + +import ( + context "context" + acme "github.com/acme/acme-go" + client "github.com/acme/acme-go/client" + strings "strings" +) + +func do() { + client := client.NewClient() + client.Service.JustFile( + context.TODO(), + &acme.JustFileRequet{ + File: strings.NewReader( + "Hello, world!", + ), + }, + ) +} +" +`; + +exports[`file-upload (success) > 'POST /just-file-with-query-params (si…' 1`] = ` +"package example + +import ( + context "context" + acme "github.com/acme/acme-go" + client "github.com/acme/acme-go/client" + strings "strings" +) + +func do() { + client := client.NewClient() + client.Service.JustFileWithQueryParams( + context.TODO(), + &acme.JustFileWithQueryParamsRequet{ + Integer: 42, + MaybeString: acme.String( + "exists", + ), + File: strings.NewReader( + "Hello, world!", + ), + }, + ) +} +" +`; diff --git a/generators/go-v2/dynamic-snippets/src/__test__/__snapshots__/ir.test.ts.snap b/generators/go-v2/dynamic-snippets/src/__test__/__snapshots__/ir.test.ts.snap index a773f197f51..bc0562e3fce 100644 --- a/generators/go-v2/dynamic-snippets/src/__test__/__snapshots__/ir.test.ts.snap +++ b/generators/go-v2/dynamic-snippets/src/__test__/__snapshots__/ir.test.ts.snap @@ -3669,22 +3669,6 @@ func do() { }, ) } - ------------------------- - -package example - -import ( - context "context" - client "github.com/acme/acme-go/client" -) - -func do() { - client := client.NewClient() - client.GetInline( - context.TODO(), - ) -} " `; diff --git a/packages/cli/dynamic-snippets/src/__test__/test-definitions/inline-types.json b/packages/cli/dynamic-snippets/src/__test__/test-definitions/inline-types.json index 55385778e74..bb214c1b5ab 100644 --- a/packages/cli/dynamic-snippets/src/__test__/test-definitions/inline-types.json +++ b/packages/cli/dynamic-snippets/src/__test__/test-definitions/inline-types.json @@ -1,152 +1,6 @@ { "version": "1.0.0", "types": { - "type_:DiscriminatedUnion1": { - "type": "discriminatedUnion", - "declaration": { - "name": { - "originalName": "DiscriminatedUnion1", - "camelCase": { - "unsafeName": "discriminatedUnion1", - "safeName": "discriminatedUnion1" - }, - "snakeCase": { - "unsafeName": "discriminated_union1", - "safeName": "discriminated_union1" - }, - "screamingSnakeCase": { - "unsafeName": "DISCRIMINATED_UNION1", - "safeName": "DISCRIMINATED_UNION1" - }, - "pascalCase": { - "unsafeName": "DiscriminatedUnion1", - "safeName": "DiscriminatedUnion1" - } - }, - "fernFilepath": { - "allParts": [], - "packagePath": [], - "file": null - } - }, - "discriminant": { - "name": { - "originalName": "type", - "camelCase": { - "unsafeName": "type", - "safeName": "type" - }, - "snakeCase": { - "unsafeName": "type", - "safeName": "type" - }, - "screamingSnakeCase": { - "unsafeName": "TYPE", - "safeName": "TYPE" - }, - "pascalCase": { - "unsafeName": "Type", - "safeName": "Type" - } - }, - "wireValue": "type" - }, - "types": { - "type1": { - "type": "samePropertiesAsObject", - "typeId": "type_:InlineType1", - "discriminantValue": { - "name": { - "originalName": "type1", - "camelCase": { - "unsafeName": "type1", - "safeName": "type1" - }, - "snakeCase": { - "unsafeName": "type1", - "safeName": "type1" - }, - "screamingSnakeCase": { - "unsafeName": "TYPE1", - "safeName": "TYPE1" - }, - "pascalCase": { - "unsafeName": "Type1", - "safeName": "Type1" - } - }, - "wireValue": "type1" - }, - "properties": [] - }, - "type2": { - "type": "samePropertiesAsObject", - "typeId": "type_:MixedInlineType1", - "discriminantValue": { - "name": { - "originalName": "type2", - "camelCase": { - "unsafeName": "type2", - "safeName": "type2" - }, - "snakeCase": { - "unsafeName": "type2", - "safeName": "type2" - }, - "screamingSnakeCase": { - "unsafeName": "TYPE2", - "safeName": "TYPE2" - }, - "pascalCase": { - "unsafeName": "Type2", - "safeName": "Type2" - } - }, - "wireValue": "type2" - }, - "properties": [] - } - } - }, - "type_:UndiscriminatedUnion1": { - "type": "undiscriminatedUnion", - "declaration": { - "name": { - "originalName": "UndiscriminatedUnion1", - "camelCase": { - "unsafeName": "undiscriminatedUnion1", - "safeName": "undiscriminatedUnion1" - }, - "snakeCase": { - "unsafeName": "undiscriminated_union1", - "safeName": "undiscriminated_union1" - }, - "screamingSnakeCase": { - "unsafeName": "UNDISCRIMINATED_UNION1", - "safeName": "UNDISCRIMINATED_UNION1" - }, - "pascalCase": { - "unsafeName": "UndiscriminatedUnion1", - "safeName": "UndiscriminatedUnion1" - } - }, - "fernFilepath": { - "allParts": [], - "packagePath": [], - "file": null - } - }, - "types": [ - { - "_type": "named", - "value": "type_:InlineType1" - }, - { - "_type": "named", - "value": "type_:MixedInlineType1" - } - ] - }, "type_:RootType1": { "type": "object", "declaration": { @@ -231,57 +85,29 @@ "_type": "named", "value": "type_:InlineType1" } - }, - { - "name": { - "name": { - "originalName": "two", - "camelCase": { - "unsafeName": "two", - "safeName": "two" - }, - "snakeCase": { - "unsafeName": "two", - "safeName": "two" - }, - "screamingSnakeCase": { - "unsafeName": "TWO", - "safeName": "TWO" - }, - "pascalCase": { - "unsafeName": "Two", - "safeName": "Two" - } - }, - "wireValue": "two" - }, - "typeReference": { - "_type": "named", - "value": "type_:MixedInlineType1" - } } ] }, - "type_:RootType2": { + "type_:InlineType1": { "type": "object", "declaration": { "name": { - "originalName": "RootType2", + "originalName": "InlineType1", "camelCase": { - "unsafeName": "rootType2", - "safeName": "rootType2" + "unsafeName": "inlineType1", + "safeName": "inlineType1" }, "snakeCase": { - "unsafeName": "root_type2", - "safeName": "root_type2" + "unsafeName": "inline_type1", + "safeName": "inline_type1" }, "screamingSnakeCase": { - "unsafeName": "ROOT_TYPE2", - "safeName": "ROOT_TYPE2" + "unsafeName": "INLINE_TYPE1", + "safeName": "INLINE_TYPE1" }, "pascalCase": { - "unsafeName": "RootType2", - "safeName": "RootType2" + "unsafeName": "InlineType1", + "safeName": "InlineType1" } }, "fernFilepath": { @@ -294,81 +120,81 @@ { "name": { "name": { - "originalName": "one", + "originalName": "foo", "camelCase": { - "unsafeName": "one", - "safeName": "one" + "unsafeName": "foo", + "safeName": "foo" }, "snakeCase": { - "unsafeName": "one", - "safeName": "one" + "unsafeName": "foo", + "safeName": "foo" }, "screamingSnakeCase": { - "unsafeName": "ONE", - "safeName": "ONE" + "unsafeName": "FOO", + "safeName": "FOO" }, "pascalCase": { - "unsafeName": "One", - "safeName": "One" + "unsafeName": "Foo", + "safeName": "Foo" } }, - "wireValue": "one" + "wireValue": "foo" }, "typeReference": { "_type": "primitive", - "value": "INTEGER" + "value": "STRING" } }, { "name": { "name": { - "originalName": "two", + "originalName": "bar", "camelCase": { - "unsafeName": "two", - "safeName": "two" + "unsafeName": "bar", + "safeName": "bar" }, "snakeCase": { - "unsafeName": "two", - "safeName": "two" + "unsafeName": "bar", + "safeName": "bar" }, "screamingSnakeCase": { - "unsafeName": "TWO", - "safeName": "TWO" + "unsafeName": "BAR", + "safeName": "BAR" }, "pascalCase": { - "unsafeName": "Two", - "safeName": "Two" + "unsafeName": "Bar", + "safeName": "Bar" } }, - "wireValue": "two" + "wireValue": "bar" }, "typeReference": { "_type": "named", - "value": "type_:MixedInlineType1" + "value": "type_:NestedInlineType1" } } ] }, - "type_:InlineType1": { + "type_:InlineType2": { "type": "object", "declaration": { "name": { - "originalName": "InlineType1", + "originalName": "InlineType2", "camelCase": { - "unsafeName": "inlineType1", - "safeName": "inlineType1" + "unsafeName": "inlineType2", + "safeName": "inlineType2" }, "snakeCase": { - "unsafeName": "inline_type1", - "safeName": "inline_type1" + "unsafeName": "inline_type2", + "safeName": "inline_type2" }, "screamingSnakeCase": { - "unsafeName": "INLINE_TYPE1", - "safeName": "INLINE_TYPE1" + "unsafeName": "INLINE_TYPE2", + "safeName": "INLINE_TYPE2" }, "pascalCase": { - "unsafeName": "InlineType1", - "safeName": "InlineType1" + "unsafeName": "InlineType2", + "safeName": "InlineType2" } }, "fernFilepath": { @@ -381,58 +207,30 @@ { "name": { "name": { - "originalName": "foo", + "originalName": "baz", "camelCase": { - "unsafeName": "foo", - "safeName": "foo" + "unsafeName": "baz", + "safeName": "baz" }, "snakeCase": { - "unsafeName": "foo", - "safeName": "foo" + "unsafeName": "baz", + "safeName": "baz" }, "screamingSnakeCase": { - "unsafeName": "FOO", - "safeName": "FOO" + "unsafeName": "BAZ", + "safeName": "BAZ" }, "pascalCase": { - "unsafeName": "Foo", - "safeName": "Foo" + "unsafeName": "Baz", + "safeName": "Baz" } }, - "wireValue": "foo" + "wireValue": "baz" }, "typeReference": { "_type": "primitive", "value": "STRING" } - }, - { - "name": { - "name": { - "originalName": "bar", - "camelCase": { - "unsafeName": "bar", - "safeName": "bar" - }, - "snakeCase": { - "unsafeName": "bar", - "safeName": "bar" - }, - "screamingSnakeCase": { - "unsafeName": "BAR", - "safeName": "BAR" - }, - "pascalCase": { - "unsafeName": "Bar", - "safeName": "Bar" - } - }, - "wireValue": "bar" - }, - "typeReference": { - "_type": "named", - "value": "type_:NestedInlineType1" - } } ] }, @@ -523,26 +321,26 @@ } ] }, - "type_:MixedInlineType1": { - "type": "object", + "type_:InlinedDiscriminatedUnion1": { + "type": "discriminatedUnion", "declaration": { "name": { - "originalName": "MixedInlineType1", + "originalName": "InlinedDiscriminatedUnion1", "camelCase": { - "unsafeName": "mixedInlineType1", - "safeName": "mixedInlineType1" + "unsafeName": "inlinedDiscriminatedUnion1", + "safeName": "inlinedDiscriminatedUnion1" }, "snakeCase": { - "unsafeName": "mixed_inline_type1", - "safeName": "mixed_inline_type1" + "unsafeName": "inlined_discriminated_union1", + "safeName": "inlined_discriminated_union1" }, "screamingSnakeCase": { - "unsafeName": "MIXED_INLINE_TYPE1", - "safeName": "MIXED_INLINE_TYPE1" + "unsafeName": "INLINED_DISCRIMINATED_UNION1", + "safeName": "INLINED_DISCRIMINATED_UNION1" }, "pascalCase": { - "unsafeName": "MixedInlineType1", - "safeName": "MixedInlineType1" + "unsafeName": "InlinedDiscriminatedUnion1", + "safeName": "InlinedDiscriminatedUnion1" } }, "fernFilepath": { @@ -551,62 +349,121 @@ "file": null } }, - "properties": [ - { - "name": { + "discriminant": { + "name": { + "originalName": "type", + "camelCase": { + "unsafeName": "type", + "safeName": "type" + }, + "snakeCase": { + "unsafeName": "type", + "safeName": "type" + }, + "screamingSnakeCase": { + "unsafeName": "TYPE", + "safeName": "TYPE" + }, + "pascalCase": { + "unsafeName": "Type", + "safeName": "Type" + } + }, + "wireValue": "type" + }, + "types": { + "type1": { + "type": "samePropertiesAsObject", + "typeId": "type_:InlineType1", + "discriminantValue": { "name": { - "originalName": "foo", + "originalName": "type1", "camelCase": { - "unsafeName": "foo", - "safeName": "foo" + "unsafeName": "type1", + "safeName": "type1" }, "snakeCase": { - "unsafeName": "foo", - "safeName": "foo" + "unsafeName": "type1", + "safeName": "type1" }, "screamingSnakeCase": { - "unsafeName": "FOO", - "safeName": "FOO" + "unsafeName": "TYPE1", + "safeName": "TYPE1" }, "pascalCase": { - "unsafeName": "Foo", - "safeName": "Foo" + "unsafeName": "Type1", + "safeName": "Type1" } }, - "wireValue": "foo" + "wireValue": "type1" }, - "typeReference": { - "_type": "primitive", - "value": "STRING" - } + "properties": [] }, - { - "name": { + "type2": { + "type": "samePropertiesAsObject", + "typeId": "type_:InlineType2", + "discriminantValue": { "name": { - "originalName": "bar", + "originalName": "type2", "camelCase": { - "unsafeName": "bar", - "safeName": "bar" + "unsafeName": "type2", + "safeName": "type2" }, "snakeCase": { - "unsafeName": "bar", - "safeName": "bar" + "unsafeName": "type2", + "safeName": "type2" }, "screamingSnakeCase": { - "unsafeName": "BAR", - "safeName": "BAR" + "unsafeName": "TYPE2", + "safeName": "TYPE2" }, "pascalCase": { - "unsafeName": "Bar", - "safeName": "Bar" + "unsafeName": "Type2", + "safeName": "Type2" } }, - "wireValue": "bar" + "wireValue": "type2" }, - "typeReference": { - "_type": "primitive", - "value": "STRING" + "properties": [] + } + } + }, + "type_:InlinedUndiscriminatedUnion1": { + "type": "undiscriminatedUnion", + "declaration": { + "name": { + "originalName": "InlinedUndiscriminatedUnion1", + "camelCase": { + "unsafeName": "inlinedUndiscriminatedUnion1", + "safeName": "inlinedUndiscriminatedUnion1" + }, + "snakeCase": { + "unsafeName": "inlined_undiscriminated_union1", + "safeName": "inlined_undiscriminated_union1" + }, + "screamingSnakeCase": { + "unsafeName": "INLINED_UNDISCRIMINATED_UNION1", + "safeName": "INLINED_UNDISCRIMINATED_UNION1" + }, + "pascalCase": { + "unsafeName": "InlinedUndiscriminatedUnion1", + "safeName": "InlinedUndiscriminatedUnion1" } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + } + }, + "types": [ + { + "_type": "named", + "value": "type_:InlineType1" + }, + { + "_type": "named", + "value": "type_:InlineType2" } ] } @@ -736,49 +593,12 @@ } } ] - } - }, - "response": { - "type": "json" - } - }, - "endpoint_.getInline": { - "auth": null, - "declaration": { - "name": { - "originalName": "getInline", - "camelCase": { - "unsafeName": "getInline", - "safeName": "getInline" - }, - "snakeCase": { - "unsafeName": "get_inline", - "safeName": "get_inline" - }, - "screamingSnakeCase": { - "unsafeName": "GET_INLINE", - "safeName": "GET_INLINE" - }, - "pascalCase": { - "unsafeName": "GetInline", - "safeName": "GetInline" - } }, - "fernFilepath": { - "allParts": [], - "packagePath": [], - "file": null + "metadata": { + "includePathParameters": false, + "onlyPathParameters": false } }, - "location": { - "method": "GET", - "path": "/root/inline" - }, - "request": { - "type": "body", - "pathParameters": [], - "body": null - }, "response": { "type": "json" } diff --git a/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__InlineType2.json b/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__InlineType2.json new file mode 100644 index 00000000000..801c382f354 --- /dev/null +++ b/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__InlineType2.json @@ -0,0 +1,13 @@ +{ + "type": "object", + "properties": { + "baz": { + "type": "string" + } + }, + "required": [ + "baz" + ], + "additionalProperties": false, + "definitions": {} +} \ No newline at end of file diff --git a/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__InlinedDiscriminatedUnion1.json b/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__InlinedDiscriminatedUnion1.json new file mode 100644 index 00000000000..f8e1c0071c4 --- /dev/null +++ b/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__InlinedDiscriminatedUnion1.json @@ -0,0 +1,67 @@ +{ + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "type1", + "type2" + ] + } + }, + "required": [ + "type" + ], + "oneOf": [ + { + "properties": { + "type": { + "const": "type1" + }, + "foo": { + "type": "string" + }, + "bar": { + "$ref": "#/definitions/NestedInlineType1" + } + }, + "required": [ + "type", + "foo", + "bar" + ] + }, + { + "properties": { + "type": { + "const": "type2" + }, + "baz": { + "type": "string" + } + }, + "required": [ + "type", + "baz" + ] + } + ], + "definitions": { + "NestedInlineType1": { + "type": "object", + "properties": { + "foo": { + "type": "string" + }, + "bar": { + "type": "string" + } + }, + "required": [ + "foo", + "bar" + ], + "additionalProperties": false + } + } +} \ No newline at end of file diff --git a/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__InlinedUndiscriminatedUnion1.json b/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__InlinedUndiscriminatedUnion1.json new file mode 100644 index 00000000000..74f6f217e42 --- /dev/null +++ b/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__InlinedUndiscriminatedUnion1.json @@ -0,0 +1,56 @@ +{ + "anyOf": [ + { + "$ref": "#/definitions/InlineType1" + }, + { + "$ref": "#/definitions/InlineType2" + } + ], + "definitions": { + "NestedInlineType1": { + "type": "object", + "properties": { + "foo": { + "type": "string" + }, + "bar": { + "type": "string" + } + }, + "required": [ + "foo", + "bar" + ], + "additionalProperties": false + }, + "InlineType1": { + "type": "object", + "properties": { + "foo": { + "type": "string" + }, + "bar": { + "$ref": "#/definitions/NestedInlineType1" + } + }, + "required": [ + "foo", + "bar" + ], + "additionalProperties": false + }, + "InlineType2": { + "type": "object", + "properties": { + "baz": { + "type": "string" + } + }, + "required": [ + "baz" + ], + "additionalProperties": false + } + } +} \ No newline at end of file diff --git a/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__RootType1.json b/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__RootType1.json index a2690915414..c436c581a2c 100644 --- a/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__RootType1.json +++ b/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__RootType1.json @@ -6,15 +6,11 @@ }, "bar": { "$ref": "#/definitions/InlineType1" - }, - "two": { - "$ref": "#/definitions/MixedInlineType1" } }, "required": [ "foo", - "bar", - "two" + "bar" ], "additionalProperties": false, "definitions": { @@ -49,22 +45,6 @@ "bar" ], "additionalProperties": false - }, - "MixedInlineType1": { - "type": "object", - "properties": { - "foo": { - "type": "string" - }, - "bar": { - "type": "string" - } - }, - "required": [ - "foo", - "bar" - ], - "additionalProperties": false } } } \ No newline at end of file diff --git a/packages/cli/generation/ir-generator/src/__test__/irs/audiences.json b/packages/cli/generation/ir-generator/src/__test__/irs/audiences.json index d85c8661f03..a4f66d6a7b6 100644 --- a/packages/cli/generation/ir-generator/src/__test__/irs/audiences.json +++ b/packages/cli/generation/ir-generator/src/__test__/irs/audiences.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_imdb:MovieId": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "MovieId", @@ -134,7 +134,7 @@ "docs": "The unique identifier for a Movie in the database" }, "type_imdb:CreateMovieRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "CreateMovieRequest", @@ -280,7 +280,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -294,7 +295,7 @@ "docs": null }, "type_webhooks:User": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "User", @@ -403,7 +404,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/irs/availability.json b/packages/cli/generation/ir-generator/src/__test__/irs/availability.json index 89e7b3e6c70..31ee49fc08f 100644 --- a/packages/cli/generation/ir-generator/src/__test__/irs/availability.json +++ b/packages/cli/generation/ir-generator/src/__test__/irs/availability.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_service:Object": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Object", @@ -143,7 +143,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/irs/docs.json b/packages/cli/generation/ir-generator/src/__test__/irs/docs.json index 931ac399a99..88d2c2e3eca 100644 --- a/packages/cli/generation/ir-generator/src/__test__/irs/docs.json +++ b/packages/cli/generation/ir-generator/src/__test__/irs/docs.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_service:Object": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Object", @@ -140,7 +140,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/irs/environmentAudiences.json b/packages/cli/generation/ir-generator/src/__test__/irs/environmentAudiences.json index 7f302004d53..776fa606c04 100644 --- a/packages/cli/generation/ir-generator/src/__test__/irs/environmentAudiences.json +++ b/packages/cli/generation/ir-generator/src/__test__/irs/environmentAudiences.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_imdb:MovieId": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "MovieId", @@ -134,7 +134,7 @@ "docs": "The unique identifier for a Movie in the database" }, "type_imdb:Movie": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Movie", @@ -474,7 +474,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_imdb:MovieId", @@ -492,7 +493,7 @@ "docs": null }, "type_imdb:CreateMovieRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "CreateMovieRequest", @@ -638,7 +639,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -652,7 +654,7 @@ "docs": null }, "type_imdb:Cast": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Cast", @@ -900,7 +902,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_imdb:Name" @@ -916,7 +919,7 @@ "docs": null }, "type_imdb:Name": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Name", @@ -1019,7 +1022,7 @@ "docs": null }, "type_webhooks:User": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "User", @@ -1128,7 +1131,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/irs/environmentAudiencesAllHack.json b/packages/cli/generation/ir-generator/src/__test__/irs/environmentAudiencesAllHack.json index f4d84a01c45..c26029823a4 100644 --- a/packages/cli/generation/ir-generator/src/__test__/irs/environmentAudiencesAllHack.json +++ b/packages/cli/generation/ir-generator/src/__test__/irs/environmentAudiencesAllHack.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_imdb:MovieId": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "MovieId", @@ -134,7 +134,7 @@ "docs": "The unique identifier for a Movie in the database" }, "type_imdb:Movie": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Movie", @@ -374,7 +374,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_imdb:MovieId" @@ -390,7 +391,7 @@ "docs": null }, "type_imdb:CreateMovieRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "CreateMovieRequest", @@ -536,7 +537,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -550,7 +552,7 @@ "docs": null }, "type_webhooks:User": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "User", @@ -659,7 +661,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/irs/environmentAudiencesSelectHack.json b/packages/cli/generation/ir-generator/src/__test__/irs/environmentAudiencesSelectHack.json index e6c87b97a2e..dbd1e793b64 100644 --- a/packages/cli/generation/ir-generator/src/__test__/irs/environmentAudiencesSelectHack.json +++ b/packages/cli/generation/ir-generator/src/__test__/irs/environmentAudiencesSelectHack.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_imdb:MovieId": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "MovieId", @@ -134,7 +134,7 @@ "docs": "The unique identifier for a Movie in the database" }, "type_imdb:CreateMovieRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "CreateMovieRequest", @@ -280,7 +280,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -294,7 +295,7 @@ "docs": null }, "type_webhooks:User": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "User", @@ -403,7 +404,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/irs/generics.json b/packages/cli/generation/ir-generator/src/__test__/irs/generics.json index 3eec9c60d0e..dfbc2b2f7d8 100644 --- a/packages/cli/generation/ir-generator/src/__test__/irs/generics.json +++ b/packages/cli/generation/ir-generator/src/__test__/irs/generics.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_imdb:MovieId": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "MovieId", @@ -134,7 +134,7 @@ "docs": "The unique identifier for a Movie in the database" }, "type_imdb:Movie": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Movie", @@ -474,7 +474,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_imdb:MovieId", @@ -492,7 +493,7 @@ "docs": null }, "type_imdb:CreateMovieRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "CreateMovieRequest", @@ -638,7 +639,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -652,7 +654,7 @@ "docs": null }, "type_imdb:Cast": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Cast", @@ -900,7 +902,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_imdb:Name" @@ -916,7 +919,7 @@ "docs": null }, "type_imdb:Name": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Name", @@ -1019,7 +1022,7 @@ "docs": null }, "type_imdb:GenericApplication": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GenericApplication", @@ -1279,7 +1282,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_imdb:CreateMovieRequest", @@ -1299,7 +1303,7 @@ "docs": "This is a generic application type" }, "type_imdb:Sample": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Sample", @@ -1559,7 +1563,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_imdb:Movie", @@ -1578,7 +1583,7 @@ "docs": null }, "type_imdb:VanillaAlias": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "VanillaAlias", @@ -1838,7 +1843,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_imdb:CreateMovieRequest", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/code-samples-open-api.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/code-samples-open-api.json index 55ef21e9745..acb104977d2 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/code-samples-open-api.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/code-samples-open-api.json @@ -56,7 +56,7 @@ "idempotencyHeaders": [], "types": { "type_:TelemetryResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TelemetryResponse", @@ -234,7 +234,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_:TelemetryData" @@ -250,7 +251,7 @@ "docs": null }, "type_:TelemetryData": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TelemetryData", @@ -401,7 +402,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/enum-casing.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/enum-casing.json index f58598dc5e5..a5ef8ce9b9b 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/enum-casing.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/enum-casing.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_:ExampleResponseStatus": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ExampleResponseStatus", @@ -115,7 +115,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [], "encoding": { @@ -129,7 +130,7 @@ "docs": null }, "type_:ExampleResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ExampleResponse", @@ -328,7 +329,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_:ExampleResponseStatus" @@ -344,7 +346,7 @@ "docs": null }, "type_:GrantTypeEnum": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GrantTypeEnum", @@ -428,7 +430,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/inline-schema-reference.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/inline-schema-reference.json index 5f1663d9825..3e482bc8c22 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/inline-schema-reference.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/inline-schema-reference.json @@ -30,99 +30,8 @@ "headers": [], "idempotencyHeaders": [], "types": { - "type_:NotFound": { - "inline": false, - "name": { - "name": { - "originalName": "NotFound", - "camelCase": { - "unsafeName": "notFound", - "safeName": "notFound" - }, - "snakeCase": { - "unsafeName": "not_found", - "safeName": "not_found" - }, - "screamingSnakeCase": { - "unsafeName": "NOT_FOUND", - "safeName": "NOT_FOUND" - }, - "pascalCase": { - "unsafeName": "NotFound", - "safeName": "NotFound" - } - }, - "fernFilepath": { - "allParts": [], - "packagePath": [], - "file": null - }, - "typeId": "type_:NotFound" - }, - "shape": { - "_type": "object", - "extends": [], - "properties": [ - { - "name": { - "name": { - "originalName": "message", - "camelCase": { - "unsafeName": "message", - "safeName": "message" - }, - "snakeCase": { - "unsafeName": "message", - "safeName": "message" - }, - "screamingSnakeCase": { - "unsafeName": "MESSAGE", - "safeName": "MESSAGE" - }, - "pascalCase": { - "unsafeName": "Message", - "safeName": "Message" - } - }, - "wireValue": "message" - }, - "valueType": { - "_type": "container", - "container": { - "_type": "optional", - "optional": { - "_type": "primitive", - "primitive": { - "v1": "STRING", - "v2": { - "type": "string", - "default": null, - "validation": null - } - } - } - } - }, - "availability": null, - "docs": null - } - ], - "extra-properties": false, - "extendedProperties": [] - }, - "referencedTypes": [], - "encoding": { - "json": {}, - "proto": null - }, - "source": null, - "userProvidedExamples": [], - "autogeneratedExamples": [], - "availability": null, - "docs": null - }, "type_:GetExampleResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GetExampleResponse", @@ -153,39 +62,6 @@ "shape": { "_type": "undiscriminatedUnion", "members": [ - { - "type": { - "_type": "named", - "name": { - "originalName": "NotFound", - "camelCase": { - "unsafeName": "notFound", - "safeName": "notFound" - }, - "snakeCase": { - "unsafeName": "not_found", - "safeName": "not_found" - }, - "screamingSnakeCase": { - "unsafeName": "NOT_FOUND", - "safeName": "NOT_FOUND" - }, - "pascalCase": { - "unsafeName": "NotFound", - "safeName": "NotFound" - } - }, - "fernFilepath": { - "allParts": [], - "packagePath": [], - "file": null - }, - "typeId": "type_:NotFound", - "default": null, - "inline": null - }, - "docs": null - }, { "type": { "_type": "named", @@ -252,10 +128,10 @@ }, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ - "type_:NotFound", "type_:Schema1", "type_:Schema2" ], @@ -390,7 +266,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": true }, "referencedTypes": [], "encoding": { @@ -534,7 +411,7 @@ }, "typeId": "type_:PostRootRequestBarInnerBar", "default": null, - "inline": true + "inline": null } } }, @@ -543,7 +420,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": true }, "referencedTypes": [ "type_:PostRootRequestBarInnerBar" @@ -679,7 +557,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": true }, "referencedTypes": [], "encoding": { @@ -823,7 +702,7 @@ }, "typeId": "type_:PostRootResponseBarInnerBar", "default": null, - "inline": true + "inline": null } } }, @@ -832,7 +711,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": true }, "referencedTypes": [ "type_:PostRootResponseBarInnerBar" @@ -848,7 +728,7 @@ "docs": null }, "type_:PostRootResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "PostRootResponse", @@ -978,7 +858,7 @@ }, "typeId": "type_:PostRootResponseBar", "default": null, - "inline": true + "inline": null } } }, @@ -987,7 +867,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_:PostRootResponseBar", @@ -1004,7 +885,7 @@ "docs": null }, "type_:Schema1": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Schema1", @@ -1124,7 +1005,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -1138,7 +1020,7 @@ "docs": null }, "type_:Schema2": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Schema2", @@ -1258,7 +1140,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -1392,7 +1275,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": true }, "referencedTypes": [], "encoding": { @@ -1536,7 +1420,7 @@ }, "typeId": "type_:RootSchema1BarInnerBar", "default": null, - "inline": true + "inline": null } } }, @@ -1545,7 +1429,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": true }, "referencedTypes": [ "type_:RootSchema1BarInnerBar" @@ -1561,7 +1446,7 @@ "docs": null }, "type_:RootSchema1": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "RootSchema1", @@ -1691,7 +1576,7 @@ }, "typeId": "type_:RootSchema1Bar", "default": null, - "inline": true + "inline": null } } }, @@ -1700,7 +1585,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_:RootSchema1Bar", @@ -1828,7 +1714,7 @@ "userSpecifiedExamples": [ { "example": { - "id": "31a7f125b757ecb88c3de1e90f768cd1d886a61a082744712200711bff86f040", + "id": "48bedd7469ebc1cb729db9f8daca25bc109b40d3e2b832b743691e4c1934295a", "name": null, "url": "/example", "rootPathParameters": [], @@ -1879,29 +1765,29 @@ "shape": { "type": "named", "typeName": { - "typeId": "type_:NotFound", + "typeId": "type_:Schema1", "fernFilepath": { "allParts": [], "packagePath": [], "file": null }, "name": { - "originalName": "NotFound", + "originalName": "Schema1", "camelCase": { - "unsafeName": "notFound", - "safeName": "notFound" + "unsafeName": "schema1", + "safeName": "schema1" }, "snakeCase": { - "unsafeName": "not_found", - "safeName": "not_found" + "unsafeName": "schema1", + "safeName": "schema1" }, "screamingSnakeCase": { - "unsafeName": "NOT_FOUND", - "safeName": "NOT_FOUND" + "unsafeName": "SCHEMA1", + "safeName": "SCHEMA1" }, "pascalCase": { - "unsafeName": "NotFound", - "safeName": "NotFound" + "unsafeName": "Schema1", + "safeName": "Schema1" } } }, @@ -1911,25 +1797,106 @@ { "name": { "name": { - "originalName": "message", + "originalName": "id", "camelCase": { - "unsafeName": "message", - "safeName": "message" + "unsafeName": "id", + "safeName": "id" }, "snakeCase": { - "unsafeName": "message", - "safeName": "message" + "unsafeName": "id", + "safeName": "id" }, "screamingSnakeCase": { - "unsafeName": "MESSAGE", - "safeName": "MESSAGE" + "unsafeName": "ID", + "safeName": "ID" }, "pascalCase": { - "unsafeName": "Message", - "safeName": "Message" + "unsafeName": "ID", + "safeName": "ID" } }, - "wireValue": "message" + "wireValue": "id" + }, + "value": { + "shape": { + "type": "container", + "container": { + "type": "optional", + "optional": { + "shape": { + "type": "primitive", + "primitive": { + "type": "integer", + "integer": 1 + } + }, + "jsonExample": 1 + }, + "valueType": { + "_type": "primitive", + "primitive": { + "v1": "INTEGER", + "v2": { + "type": "integer", + "default": null, + "validation": null + } + } + } + } + }, + "jsonExample": 1 + }, + "originalTypeDeclaration": { + "typeId": "type_:Schema1", + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "name": { + "originalName": "Schema1", + "camelCase": { + "unsafeName": "schema1", + "safeName": "schema1" + }, + "snakeCase": { + "unsafeName": "schema1", + "safeName": "schema1" + }, + "screamingSnakeCase": { + "unsafeName": "SCHEMA1", + "safeName": "SCHEMA1" + }, + "pascalCase": { + "unsafeName": "Schema1", + "safeName": "Schema1" + } + } + } + }, + { + "name": { + "name": { + "originalName": "name", + "camelCase": { + "unsafeName": "name", + "safeName": "name" + }, + "snakeCase": { + "unsafeName": "name", + "safeName": "name" + }, + "screamingSnakeCase": { + "unsafeName": "NAME", + "safeName": "NAME" + }, + "pascalCase": { + "unsafeName": "Name", + "safeName": "Name" + } + }, + "wireValue": "name" }, "value": { "shape": { @@ -1942,11 +1909,11 @@ "primitive": { "type": "string", "string": { - "original": "message" + "original": "name" } } }, - "jsonExample": "message" + "jsonExample": "name" }, "valueType": { "_type": "primitive", @@ -1961,32 +1928,32 @@ } } }, - "jsonExample": "message" + "jsonExample": "name" }, "originalTypeDeclaration": { - "typeId": "type_:NotFound", + "typeId": "type_:Schema1", "fernFilepath": { "allParts": [], "packagePath": [], "file": null }, "name": { - "originalName": "NotFound", + "originalName": "Schema1", "camelCase": { - "unsafeName": "notFound", - "safeName": "notFound" + "unsafeName": "schema1", + "safeName": "schema1" }, "snakeCase": { - "unsafeName": "not_found", - "safeName": "not_found" + "unsafeName": "schema1", + "safeName": "schema1" }, "screamingSnakeCase": { - "unsafeName": "NOT_FOUND", - "safeName": "NOT_FOUND" + "unsafeName": "SCHEMA1", + "safeName": "SCHEMA1" }, "pascalCase": { - "unsafeName": "NotFound", - "safeName": "NotFound" + "unsafeName": "Schema1", + "safeName": "Schema1" } } } @@ -1995,13 +1962,15 @@ } }, "jsonExample": { - "message": "message" + "id": 1, + "name": "name" } } } }, "jsonExample": { - "message": "message" + "id": 1, + "name": "name" } } } @@ -2014,7 +1983,7 @@ "autogeneratedExamples": [ { "example": { - "id": "d88e161aef95bb901f3579d5a4a37487d0c6a2a5", + "id": "0be9bc672e16c380928a1262d7f5d88409f98ace", "url": "/example", "name": null, "endpointHeaders": [], @@ -2043,44 +2012,125 @@ { "name": { "name": { - "originalName": "message", + "originalName": "id", + "camelCase": { + "unsafeName": "id", + "safeName": "id" + }, + "snakeCase": { + "unsafeName": "id", + "safeName": "id" + }, + "screamingSnakeCase": { + "unsafeName": "ID", + "safeName": "ID" + }, + "pascalCase": { + "unsafeName": "ID", + "safeName": "ID" + } + }, + "wireValue": "id" + }, + "originalTypeDeclaration": { + "name": { + "originalName": "Schema1", + "camelCase": { + "unsafeName": "schema1", + "safeName": "schema1" + }, + "snakeCase": { + "unsafeName": "schema1", + "safeName": "schema1" + }, + "screamingSnakeCase": { + "unsafeName": "SCHEMA1", + "safeName": "SCHEMA1" + }, + "pascalCase": { + "unsafeName": "Schema1", + "safeName": "Schema1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:Schema1" + }, + "value": { + "shape": { + "type": "container", + "container": { + "type": "optional", + "optional": { + "shape": { + "type": "primitive", + "primitive": { + "type": "integer", + "integer": 1 + } + }, + "jsonExample": 1 + }, + "valueType": { + "_type": "primitive", + "primitive": { + "v1": "INTEGER", + "v2": { + "type": "integer", + "default": null, + "validation": null + } + } + } + } + }, + "jsonExample": 1 + } + }, + { + "name": { + "name": { + "originalName": "name", "camelCase": { - "unsafeName": "message", - "safeName": "message" + "unsafeName": "name", + "safeName": "name" }, "snakeCase": { - "unsafeName": "message", - "safeName": "message" + "unsafeName": "name", + "safeName": "name" }, "screamingSnakeCase": { - "unsafeName": "MESSAGE", - "safeName": "MESSAGE" + "unsafeName": "NAME", + "safeName": "NAME" }, "pascalCase": { - "unsafeName": "Message", - "safeName": "Message" + "unsafeName": "Name", + "safeName": "Name" } }, - "wireValue": "message" + "wireValue": "name" }, "originalTypeDeclaration": { "name": { - "originalName": "NotFound", + "originalName": "Schema1", "camelCase": { - "unsafeName": "notFound", - "safeName": "notFound" + "unsafeName": "schema1", + "safeName": "schema1" }, "snakeCase": { - "unsafeName": "not_found", - "safeName": "not_found" + "unsafeName": "schema1", + "safeName": "schema1" }, "screamingSnakeCase": { - "unsafeName": "NOT_FOUND", - "safeName": "NOT_FOUND" + "unsafeName": "SCHEMA1", + "safeName": "SCHEMA1" }, "pascalCase": { - "unsafeName": "NotFound", - "safeName": "NotFound" + "unsafeName": "Schema1", + "safeName": "Schema1" } }, "fernFilepath": { @@ -2088,7 +2138,7 @@ "packagePath": [], "file": null }, - "typeId": "type_:NotFound" + "typeId": "type_:Schema1" }, "value": { "shape": { @@ -2101,11 +2151,11 @@ "primitive": { "type": "string", "string": { - "original": "message" + "original": "name" } } }, - "jsonExample": "message" + "jsonExample": "name" }, "valueType": { "_type": "primitive", @@ -2120,29 +2170,29 @@ } } }, - "jsonExample": "message" + "jsonExample": "name" } } ] }, "typeName": { "name": { - "originalName": "NotFound", + "originalName": "Schema1", "camelCase": { - "unsafeName": "notFound", - "safeName": "notFound" + "unsafeName": "schema1", + "safeName": "schema1" }, "snakeCase": { - "unsafeName": "not_found", - "safeName": "not_found" + "unsafeName": "schema1", + "safeName": "schema1" }, "screamingSnakeCase": { - "unsafeName": "NOT_FOUND", - "safeName": "NOT_FOUND" + "unsafeName": "SCHEMA1", + "safeName": "SCHEMA1" }, "pascalCase": { - "unsafeName": "NotFound", - "safeName": "NotFound" + "unsafeName": "Schema1", + "safeName": "Schema1" } }, "fernFilepath": { @@ -2150,11 +2200,12 @@ "packagePath": [], "file": null }, - "typeId": "type_:NotFound" + "typeId": "type_:Schema1" } }, "jsonExample": { - "message": "message" + "id": 1, + "name": "name" } } }, @@ -2187,7 +2238,8 @@ } }, "jsonExample": { - "message": "message" + "id": 1, + "name": "name" } } } @@ -2362,7 +2414,7 @@ }, "typeId": "type_:PostRootRequestBar", "default": null, - "inline": true + "inline": null } } }, @@ -3164,7 +3216,7 @@ "autogeneratedExamples": [ { "example": { - "id": "c7bb94f0df7d48d2922bdca77ebb4c93cf56868d", + "id": "55381b1afc6f17c8c6a557a880679ee9e9dcc73d", "url": "/root", "name": null, "endpointHeaders": [], @@ -3279,7 +3331,7 @@ }, "typeId": "type_:PostRootRequestBar", "default": null, - "inline": true + "inline": null } } } @@ -3815,7 +3867,7 @@ }, "typeId": "type_:PostRootResponseBarInnerBar", "default": null, - "inline": true + "inline": null } } }, @@ -3891,7 +3943,7 @@ }, "typeId": "type_:PostRootResponseBar", "default": null, - "inline": true + "inline": null } } }, @@ -3993,7 +4045,6 @@ "serviceTypeReferenceInfo": { "typesReferencedOnlyByService": { "service_": [ - "type_:NotFound", "type_:GetExampleResponse", "type_:PostRootRequestBarInnerBar", "type_:PostRootRequestBar", @@ -4025,7 +4076,6 @@ "websocket": null, "service": "service_", "types": [ - "type_:NotFound", "type_:GetExampleResponse", "type_:PostRootRequestBarInnerBar", "type_:PostRootRequestBar", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/names.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/names.json index 4d67e1a129e..f21857da108 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/names.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/names.json @@ -56,7 +56,7 @@ "idempotencyHeaders": [], "types": { "type_telemetry:TelemetryGetTelemetryDataResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TelemetryGetTelemetryDataResponse", @@ -349,7 +349,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_infra/telemetry:TelemetryData" @@ -365,7 +366,7 @@ "docs": null }, "type_infra/telemetry:TelemetryData": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TelemetryData", @@ -593,7 +594,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/alias-extends.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/alias-extends.json index 13f8e4de719..6cd8b7fd40f 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/alias-extends.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/alias-extends.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_:AliasType": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "AliasType", @@ -269,7 +269,7 @@ "docs": null }, "type_:Parent": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Parent", @@ -340,7 +340,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -448,7 +449,7 @@ "docs": null }, "type_:Child": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Child", @@ -585,7 +586,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_:Parent" diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/alias.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/alias.json index 48483ecd64c..afb3132c6e8 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/alias.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/alias.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_:TypeId": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TypeId", @@ -135,7 +135,7 @@ "docs": "An alias for type IDs." }, "type_:Type": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Type", @@ -262,7 +262,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_:TypeId" @@ -472,7 +473,7 @@ "docs": "A simple type with just a name." }, "type_:Object": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Object", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/any-auth.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/any-auth.json index 8378aefc78e..f670605b064 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/any-auth.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/any-auth.json @@ -283,7 +283,7 @@ "idempotencyHeaders": [], "types": { "type_auth:TokenResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TokenResponse", @@ -472,7 +472,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -486,7 +487,7 @@ "docs": "An OAuth token response." }, "type_user:User": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "User", @@ -632,7 +633,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/audiences.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/audiences.json index c2611a82f2e..bedfb2634a1 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/audiences.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/audiences.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_commons:Imported": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Imported", @@ -134,7 +134,7 @@ "docs": null }, "type_folder-a/service:Response": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Response", @@ -384,7 +384,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_folder-b/common:Foo", @@ -401,7 +402,7 @@ "docs": null }, "type_folder-b/common:Foo": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Foo", @@ -651,7 +652,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_folder-c/common:FolderCFoo" @@ -667,7 +669,7 @@ "docs": null }, "type_folder-c/common:FolderCFoo": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "FolderCFoo", @@ -811,7 +813,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -825,7 +828,7 @@ "docs": null }, "type_folder-d/service:Response": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Response", @@ -973,7 +976,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -987,7 +991,7 @@ "docs": null }, "type_foo:ImportingType": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ImportingType", @@ -1153,7 +1157,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:Imported" @@ -1169,7 +1174,7 @@ "docs": null }, "type_foo:OptionalString": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "OptionalString", @@ -1284,7 +1289,7 @@ "docs": null }, "type_foo:FilteredType": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "FilteredType", @@ -1436,7 +1441,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/basic-auth-environment-variables.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/basic-auth-environment-variables.json index 570bdd060bb..c0ab6b13f0f 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/basic-auth-environment-variables.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/basic-auth-environment-variables.json @@ -76,7 +76,7 @@ "idempotencyHeaders": [], "types": { "type_errors:UnauthorizedRequestErrorBody": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UnauthorizedRequestErrorBody", @@ -185,7 +185,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/basic-auth.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/basic-auth.json index ef80033174c..4e52e5eae17 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/basic-auth.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/basic-auth.json @@ -76,7 +76,7 @@ "idempotencyHeaders": [], "types": { "type_errors:UnauthorizedRequestErrorBody": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UnauthorizedRequestErrorBody", @@ -185,7 +185,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/circular-references-advanced.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/circular-references-advanced.json index f77032dd2e6..ff50e1cd49b 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/circular-references-advanced.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/circular-references-advanced.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_:ImportingA": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ImportingA", @@ -165,7 +165,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_a:A", @@ -182,7 +183,7 @@ "docs": null }, "type_:RootType": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "RootType", @@ -253,7 +254,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -267,7 +269,7 @@ "docs": null }, "type_a:A": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "A", @@ -404,7 +406,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_:RootType" @@ -420,7 +423,7 @@ "docs": null }, "type_ast:ContainerValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ContainerValue", @@ -765,7 +768,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_ast:FieldValue", @@ -784,7 +788,7 @@ "docs": null }, "type_ast:PrimitiveValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "PrimitiveValue", @@ -906,7 +910,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [], "encoding": { @@ -920,7 +925,7 @@ "docs": null }, "type_ast:ObjectValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ObjectValue", @@ -991,7 +996,8 @@ "extends": [], "properties": [], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -1005,7 +1011,7 @@ "docs": null }, "type_ast:FieldName": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "FieldName", @@ -1108,7 +1114,7 @@ "docs": null }, "type_ast:FieldValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "FieldValue", @@ -1534,7 +1540,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_ast:PrimitiveValue", @@ -1553,7 +1560,7 @@ "docs": null }, "type_ast:ObjectFieldValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ObjectFieldValue", @@ -1813,7 +1820,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_ast:FieldName", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/circular-references.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/circular-references.json index 01b01b17cd0..99bf36fbd6d 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/circular-references.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/circular-references.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_:ImportingA": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ImportingA", @@ -165,7 +165,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_a:A", @@ -182,7 +183,7 @@ "docs": null }, "type_:RootType": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "RootType", @@ -253,7 +254,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -267,7 +269,7 @@ "docs": null }, "type_a:A": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "A", @@ -404,7 +406,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_:RootType" @@ -420,7 +423,7 @@ "docs": null }, "type_ast:FieldValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "FieldValue", @@ -846,7 +849,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_ast:PrimitiveValue", @@ -865,7 +869,7 @@ "docs": null }, "type_ast:ContainerValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ContainerValue", @@ -1210,7 +1214,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_ast:FieldValue", @@ -1229,7 +1234,7 @@ "docs": null }, "type_ast:PrimitiveValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "PrimitiveValue", @@ -1351,7 +1356,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [], "encoding": { @@ -1365,7 +1371,7 @@ "docs": null }, "type_ast:ObjectValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ObjectValue", @@ -1436,7 +1442,8 @@ "extends": [], "properties": [], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -1450,7 +1457,7 @@ "docs": null }, "type_ast:JsonLike": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "JsonLike", @@ -1722,7 +1729,8 @@ }, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_ast:JsonLike" diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/cross-package-type-names.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/cross-package-type-names.json index daec01c8930..d7dcd0e6579 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/cross-package-type-names.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/cross-package-type-names.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_commons:Imported": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Imported", @@ -134,7 +134,7 @@ "docs": null }, "type_folder-a/service:Response": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Response", @@ -384,7 +384,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_folder-b/common:Foo", @@ -401,7 +402,7 @@ "docs": null }, "type_folder-b/common:Foo": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Foo", @@ -651,7 +652,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_folder-c/common:Foo" @@ -667,7 +669,7 @@ "docs": null }, "type_folder-c/common:Foo": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Foo", @@ -811,7 +813,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -825,7 +828,7 @@ "docs": null }, "type_folder-d/service:Response": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Response", @@ -1075,7 +1078,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_folder-b/common:Foo", @@ -1092,7 +1096,7 @@ "docs": null }, "type_foo:ImportingType": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ImportingType", @@ -1258,7 +1262,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:Imported" @@ -1274,7 +1279,7 @@ "docs": null }, "type_foo:OptionalString": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "OptionalString", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/csharp-grpc-proto-exhaustive.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/csharp-grpc-proto-exhaustive.json index 93b031609ec..4e77084d581 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/csharp-grpc-proto-exhaustive.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/csharp-grpc-proto-exhaustive.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_:Column": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Column", @@ -265,7 +265,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_:Metadata", @@ -316,7 +317,7 @@ "docs": null }, "type_:DeleteResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "DeleteResponse", @@ -349,7 +350,8 @@ "extends": [], "properties": [], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -396,7 +398,7 @@ "docs": null }, "type_:DescribeResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "DescribeResponse", @@ -626,7 +628,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_:NamespaceSummary" @@ -675,7 +678,7 @@ "docs": null }, "type_:FetchResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "FetchResponse", @@ -893,7 +896,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_:Column", @@ -946,7 +950,7 @@ "docs": null }, "type_:IndexedData": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "IndexedData", @@ -1058,7 +1062,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -1105,7 +1110,7 @@ "docs": null }, "type_:ListElement": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ListElement", @@ -1182,7 +1187,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -1229,7 +1235,7 @@ "docs": null }, "type_:ListResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ListResponse", @@ -1498,7 +1504,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_:ListElement", @@ -1549,7 +1556,7 @@ "docs": null }, "type_:NamespaceSummary": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "NamespaceSummary", @@ -1622,7 +1629,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -1669,7 +1677,7 @@ "docs": null }, "type_:Pagination": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Pagination", @@ -1746,7 +1754,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -1793,7 +1802,7 @@ "docs": null }, "type_:QueryColumn": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "QueryColumn", @@ -2072,7 +2081,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_:Metadata", @@ -2123,7 +2133,7 @@ "docs": null }, "type_:QueryResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "QueryResponse", @@ -2398,7 +2408,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_:QueryResult", @@ -2452,7 +2463,7 @@ "docs": null }, "type_:QueryResult": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "QueryResult", @@ -2597,7 +2608,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_:ScoredColumn", @@ -2649,7 +2661,7 @@ "docs": null }, "type_:ScoredColumn": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ScoredColumn", @@ -2928,7 +2940,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_:Metadata", @@ -2979,7 +2992,7 @@ "docs": null }, "type_:UpdateResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UpdateResponse", @@ -3012,7 +3025,8 @@ "extends": [], "properties": [], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -3059,7 +3073,7 @@ "docs": null }, "type_:UploadResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UploadResponse", @@ -3132,7 +3146,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -3179,7 +3194,7 @@ "docs": null }, "type_:Usage": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Usage", @@ -3252,7 +3267,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -3299,7 +3315,7 @@ "docs": null }, "type_:Metadata": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Metadata", @@ -3403,7 +3419,8 @@ }, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_:MetadataValue" @@ -3427,7 +3444,7 @@ "docs": null }, "type_:MetadataValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "MetadataValue", @@ -3496,7 +3513,8 @@ }, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/csharp-grpc-proto.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/csharp-grpc-proto.json index 8e164e2b2a7..a37979c6047 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/csharp-grpc-proto.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/csharp-grpc-proto.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_:CreateResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "CreateResponse", @@ -127,7 +127,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_:UserModel", @@ -178,7 +179,7 @@ "docs": null }, "type_:UserModel": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UserModel", @@ -438,7 +439,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_:Metadata", @@ -488,7 +490,7 @@ "docs": null }, "type_:Metadata": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Metadata", @@ -592,7 +594,8 @@ }, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_:MetadataValue" @@ -616,7 +619,7 @@ "docs": null }, "type_:MetadataValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "MetadataValue", @@ -685,7 +688,8 @@ }, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/csharp-namespace-conflict.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/csharp-namespace-conflict.json index e085ee0bcd1..a1bc0d7bdb9 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/csharp-namespace-conflict.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/csharp-namespace-conflict.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_a/aa:A": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "A", @@ -142,7 +142,8 @@ "extends": [], "properties": [], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -156,7 +157,7 @@ "docs": null }, "type_a/aa:B": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "B", @@ -267,7 +268,8 @@ "extends": [], "properties": [], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -281,7 +283,7 @@ "docs": null }, "type_a/aa:SubTestType": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "SubTestType", @@ -661,7 +663,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_a/aa:A", @@ -678,7 +681,7 @@ "docs": null }, "type_b:TestType": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestType", @@ -1020,7 +1023,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_a/aa:A", @@ -1037,7 +1041,7 @@ "docs": null }, "type_tasktest:Task": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Task", @@ -1146,7 +1150,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/custom-auth.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/custom-auth.json index bfa84c4c355..568734300f8 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/custom-auth.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/custom-auth.json @@ -71,7 +71,7 @@ "idempotencyHeaders": [], "types": { "type_errors:UnauthorizedRequestErrorBody": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UnauthorizedRequestErrorBody", @@ -180,7 +180,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/enum.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/enum.json index 81d34605877..6634d7dd234 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/enum.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/enum.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_:Operand": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Operand", @@ -141,7 +141,8 @@ "availability": null, "docs": "The name and value should be similar\nare similar for less than." } - ] + ], + "inline": null }, "referencedTypes": [], "encoding": { @@ -252,7 +253,7 @@ "docs": "Tests enum name and value can be\ndifferent." }, "type_:Color": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Color", @@ -336,7 +337,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [], "encoding": { @@ -399,7 +401,7 @@ "docs": null }, "type_:ColorOrOperand": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ColorOrOperand", @@ -496,7 +498,8 @@ }, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_:Color", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/error-property.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/error-property.json index eafbb96d9b6..6fd37115403 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/error-property.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/error-property.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_errors:PropertyBasedErrorTestBody": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "PropertyBasedErrorTestBody", @@ -140,7 +140,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/examples.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/examples.json index ace70ceea6c..5013c41ef94 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/examples.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/examples.json @@ -56,7 +56,7 @@ "idempotencyHeaders": [], "types": { "type_:Type": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Type", @@ -153,7 +153,8 @@ }, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_:BasicType", @@ -170,7 +171,7 @@ "docs": null }, "type_:Identifier": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Identifier", @@ -334,7 +335,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_:Type", @@ -352,7 +354,7 @@ "docs": null }, "type_:BasicType": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "BasicType", @@ -436,7 +438,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [], "encoding": { @@ -450,7 +453,7 @@ "docs": null }, "type_:ComplexType": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ComplexType", @@ -560,7 +563,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [], "encoding": { @@ -574,7 +578,7 @@ "docs": null }, "type_commons/types:Tag": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Tag", @@ -755,7 +759,7 @@ "docs": null }, "type_commons/types:Metadata": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Metadata", @@ -1006,7 +1010,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -1612,7 +1617,7 @@ "docs": null }, "type_commons/types:EventInfo": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "EventInfo", @@ -2035,7 +2040,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_commons/types:Metadata", @@ -2668,7 +2674,7 @@ "docs": null }, "type_commons/types:Data": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Data", @@ -2922,7 +2928,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [], "encoding": { @@ -3025,7 +3032,7 @@ "docs": null }, "type_file/service:Filename": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Filename", @@ -3206,7 +3213,7 @@ "docs": null }, "type_types:MovieId": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "MovieId", @@ -3348,7 +3355,7 @@ "docs": null }, "type_types:Movie": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Movie", @@ -4016,7 +4023,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_types:MovieId", @@ -5430,7 +5438,7 @@ "docs": null }, "type_types:CastMember": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "CastMember", @@ -5712,7 +5720,8 @@ }, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_types:Actor", @@ -6353,7 +6362,7 @@ "docs": null }, "type_types:Actor": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Actor", @@ -6499,7 +6508,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -6513,7 +6523,7 @@ "docs": null }, "type_types:Actress": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Actress", @@ -6659,7 +6669,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -6907,7 +6918,7 @@ "docs": null }, "type_types:StuntDouble": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "StuntDouble", @@ -7053,7 +7064,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -7067,7 +7079,7 @@ "docs": null }, "type_types:ExtendedMovie": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ExtendedMovie", @@ -7845,7 +7857,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_types:Movie", @@ -9143,7 +9156,7 @@ "docs": null }, "type_types:Moment": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Moment", @@ -9314,7 +9327,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -9641,7 +9655,7 @@ "docs": null }, "type_types:File": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "File", @@ -9787,7 +9801,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -10268,7 +10283,7 @@ "docs": null }, "type_types:Directory": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Directory", @@ -10589,7 +10604,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_types:File", @@ -12295,7 +12311,7 @@ "docs": null }, "type_types:Node": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Node", @@ -12616,7 +12632,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_types:Node", @@ -14651,7 +14668,7 @@ "docs": null }, "type_types:Tree": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Tree", @@ -14829,7 +14846,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_types:Node", @@ -15507,7 +15525,7 @@ "docs": null }, "type_types:Metadata": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Metadata", @@ -15824,7 +15842,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [], "encoding": { @@ -15935,7 +15954,7 @@ "docs": null }, "type_types:Exception": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Exception", @@ -16151,7 +16170,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_types:ExceptionInfo" @@ -16556,7 +16576,7 @@ "docs": null }, "type_types:ExceptionInfo": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ExceptionInfo", @@ -16739,7 +16759,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -17089,7 +17110,7 @@ "docs": null }, "type_types:MigrationStatus": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "MigrationStatus", @@ -17237,7 +17258,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [], "encoding": { @@ -17348,7 +17370,7 @@ "docs": null }, "type_types:Migration": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Migration", @@ -17551,7 +17573,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_types:MigrationStatus" @@ -17867,7 +17890,7 @@ "docs": null }, "type_types:Request": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Request", @@ -17968,7 +17991,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -18109,7 +18133,7 @@ "docs": null }, "type_types:Response": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Response", @@ -18272,7 +18296,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_:Identifier", @@ -19199,7 +19224,7 @@ "docs": null }, "type_types:ResponseType": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ResponseType", @@ -19327,7 +19352,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_:Type", @@ -19345,7 +19371,7 @@ "docs": null }, "type_types:Test": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Test", @@ -19556,7 +19582,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [], "encoding": { @@ -19743,7 +19770,7 @@ "docs": null }, "type_types:Entity": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Entity", @@ -19908,7 +19935,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_:Type", @@ -20243,7 +20271,7 @@ "docs": null }, "type_types:BigEntity": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "BigEntity", @@ -21732,7 +21760,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_types:CastMember", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/exhaustive.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/exhaustive.json index 5e11d6eeab6..367e471a542 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/exhaustive.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/exhaustive.json @@ -56,7 +56,7 @@ "idempotencyHeaders": [], "types": { "type_general-errors:BadObjectRequestInfo": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "BadObjectRequestInfo", @@ -165,7 +165,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -179,7 +180,7 @@ "docs": null }, "type_types/enum:WeatherReport": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "WeatherReport", @@ -392,7 +393,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [], "encoding": { @@ -406,7 +408,7 @@ "docs": null }, "type_types/object:ObjectWithOptionalField": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ObjectWithOptionalField", @@ -1077,7 +1079,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -1091,7 +1094,7 @@ "docs": null }, "type_types/object:ObjectWithRequiredField": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ObjectWithRequiredField", @@ -1239,7 +1242,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -1253,7 +1257,7 @@ "docs": null }, "type_types/object:ObjectWithMapOfMap": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ObjectWithMapOfMap", @@ -1435,7 +1439,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -1449,7 +1454,7 @@ "docs": null }, "type_types/object:NestedObjectWithOptionalField": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "NestedObjectWithOptionalField", @@ -1742,7 +1747,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_types/object:ObjectWithOptionalField" @@ -1758,7 +1764,7 @@ "docs": null }, "type_types/object:NestedObjectWithRequiredField": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "NestedObjectWithRequiredField", @@ -2039,7 +2045,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_types/object:ObjectWithOptionalField" @@ -2055,7 +2062,7 @@ "docs": null }, "type_types/object:DoubleOptional": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "DoubleOptional", @@ -2305,7 +2312,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_types/object:OptionalAlias" @@ -2321,7 +2329,7 @@ "docs": null }, "type_types/object:OptionalAlias": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "OptionalAlias", @@ -2475,7 +2483,7 @@ "docs": null }, "type_types/union:Animal": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Animal", @@ -2871,7 +2879,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_types/union:Dog", @@ -2888,7 +2897,7 @@ "docs": null }, "type_types/union:Dog": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Dog", @@ -3069,7 +3078,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -3083,7 +3093,7 @@ "docs": null }, "type_types/union:Cat": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Cat", @@ -3264,7 +3274,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/extends.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/extends.json index f2e07320462..d3d347ac770 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/extends.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/extends.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_:ExampleType": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ExampleType", @@ -168,7 +168,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_:Docs" @@ -342,7 +343,7 @@ "docs": null }, "type_:NestedType": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "NestedType", @@ -516,7 +517,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_:JSON", @@ -755,7 +757,7 @@ "docs": null }, "type_:Docs": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Docs", @@ -826,7 +828,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -934,7 +937,7 @@ "docs": null }, "type_:JSON": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "JSON", @@ -1071,7 +1074,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_:Docs" diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/extra-properties.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/extra-properties.json index a90f3d08d9f..72a1bd5869e 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/extra-properties.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/extra-properties.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_:Failure": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Failure", @@ -101,7 +101,8 @@ } ], "extra-properties": true, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -115,7 +116,7 @@ "docs": null }, "type_user:User": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "User", @@ -224,7 +225,8 @@ } ], "extra-properties": true, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/file-upload.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/file-upload.json index 92bef297fac..5f0759959d9 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/file-upload.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/file-upload.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_service:Id": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Id", @@ -134,7 +134,7 @@ "docs": null }, "type_service:MyObject": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "MyObject", @@ -243,7 +243,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -257,7 +258,7 @@ "docs": null }, "type_service:ObjectType": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ObjectType", @@ -379,7 +380,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/folders.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/folders.json index 0656efadc78..3ff5f978fc3 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/folders.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/folders.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_a/d/types:Foo": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Foo", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/go-content-type.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/go-content-type.json index 25db020c21a..993f87ea8ac 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/go-content-type.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/go-content-type.json @@ -56,7 +56,7 @@ "idempotencyHeaders": [], "types": { "type_imdb:CreateMovieRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "CreateMovieRequest", @@ -202,7 +202,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/idempotency-headers.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/idempotency-headers.json index 7460c9a763e..08786ea128f 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/idempotency-headers.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/idempotency-headers.json @@ -133,7 +133,7 @@ ], "types": { "type_payment:Currency": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Currency", @@ -255,7 +255,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/imdb.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/imdb.json index 2117ee8e278..1a814622ffe 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/imdb.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/imdb.json @@ -56,7 +56,7 @@ "idempotencyHeaders": [], "types": { "type_imdb:MovieId": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "MovieId", @@ -159,7 +159,7 @@ "docs": null }, "type_imdb:Movie": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Movie", @@ -399,7 +399,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_imdb:MovieId" @@ -415,7 +416,7 @@ "docs": null }, "type_imdb:CreateMovieRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "CreateMovieRequest", @@ -561,7 +562,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/inline-types.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/inline-types.json index 09b91d3bba6..71a73c2777c 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/inline-types.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/inline-types.json @@ -30,26 +30,26 @@ "headers": [], "idempotencyHeaders": [], "types": { - "type_:DiscriminatedUnion1": { - "inline": false, + "type_:RootType1": { + "inline": null, "name": { "name": { - "originalName": "DiscriminatedUnion1", + "originalName": "RootType1", "camelCase": { - "unsafeName": "discriminatedUnion1", - "safeName": "discriminatedUnion1" + "unsafeName": "rootType1", + "safeName": "rootType1" }, "snakeCase": { - "unsafeName": "discriminated_union1", - "safeName": "discriminated_union1" + "unsafeName": "root_type1", + "safeName": "root_type1" }, "screamingSnakeCase": { - "unsafeName": "DISCRIMINATED_UNION1", - "safeName": "DISCRIMINATED_UNION1" + "unsafeName": "ROOT_TYPE1", + "safeName": "ROOT_TYPE1" }, "pascalCase": { - "unsafeName": "DiscriminatedUnion1", - "safeName": "DiscriminatedUnion1" + "unsafeName": "RootType1", + "safeName": "RootType1" } }, "fernFilepath": { @@ -57,196 +57,73 @@ "packagePath": [], "file": null }, - "typeId": "type_:DiscriminatedUnion1" + "typeId": "type_:RootType1" }, "shape": { - "_type": "union", - "discriminant": { - "name": { - "originalName": "type", - "camelCase": { - "unsafeName": "type", - "safeName": "type" - }, - "snakeCase": { - "unsafeName": "type", - "safeName": "type" - }, - "screamingSnakeCase": { - "unsafeName": "TYPE", - "safeName": "TYPE" - }, - "pascalCase": { - "unsafeName": "Type", - "safeName": "Type" - } - }, - "wireValue": "type" - }, + "_type": "object", "extends": [], - "baseProperties": [], - "types": [ + "properties": [ { - "discriminantValue": { + "name": { "name": { - "originalName": "type1", + "originalName": "foo", "camelCase": { - "unsafeName": "type1", - "safeName": "type1" + "unsafeName": "foo", + "safeName": "foo" }, "snakeCase": { - "unsafeName": "type1", - "safeName": "type1" + "unsafeName": "foo", + "safeName": "foo" }, "screamingSnakeCase": { - "unsafeName": "TYPE1", - "safeName": "TYPE1" + "unsafeName": "FOO", + "safeName": "FOO" }, "pascalCase": { - "unsafeName": "Type1", - "safeName": "Type1" + "unsafeName": "Foo", + "safeName": "Foo" } }, - "wireValue": "type1" + "wireValue": "foo" }, - "shape": { - "_type": "samePropertiesAsObject", - "name": { - "originalName": "InlineType1", - "camelCase": { - "unsafeName": "inlineType1", - "safeName": "inlineType1" - }, - "snakeCase": { - "unsafeName": "inline_type1", - "safeName": "inline_type1" - }, - "screamingSnakeCase": { - "unsafeName": "INLINE_TYPE1", - "safeName": "INLINE_TYPE1" - }, - "pascalCase": { - "unsafeName": "InlineType1", - "safeName": "InlineType1" + "valueType": { + "_type": "primitive", + "primitive": { + "v1": "STRING", + "v2": { + "type": "string", + "default": null, + "validation": null } - }, - "fernFilepath": { - "allParts": [], - "packagePath": [], - "file": null - }, - "typeId": "type_:InlineType1" + } }, - "displayName": null, "availability": null, "docs": null }, { - "discriminantValue": { - "name": { - "originalName": "type2", - "camelCase": { - "unsafeName": "type2", - "safeName": "type2" - }, - "snakeCase": { - "unsafeName": "type2", - "safeName": "type2" - }, - "screamingSnakeCase": { - "unsafeName": "TYPE2", - "safeName": "TYPE2" - }, - "pascalCase": { - "unsafeName": "Type2", - "safeName": "Type2" - } - }, - "wireValue": "type2" - }, - "shape": { - "_type": "samePropertiesAsObject", + "name": { "name": { - "originalName": "MixedInlineType1", + "originalName": "bar", "camelCase": { - "unsafeName": "mixedInlineType1", - "safeName": "mixedInlineType1" + "unsafeName": "bar", + "safeName": "bar" }, "snakeCase": { - "unsafeName": "mixed_inline_type1", - "safeName": "mixed_inline_type1" + "unsafeName": "bar", + "safeName": "bar" }, "screamingSnakeCase": { - "unsafeName": "MIXED_INLINE_TYPE1", - "safeName": "MIXED_INLINE_TYPE1" + "unsafeName": "BAR", + "safeName": "BAR" }, "pascalCase": { - "unsafeName": "MixedInlineType1", - "safeName": "MixedInlineType1" + "unsafeName": "Bar", + "safeName": "Bar" } }, - "fernFilepath": { - "allParts": [], - "packagePath": [], - "file": null - }, - "typeId": "type_:MixedInlineType1" + "wireValue": "bar" }, - "displayName": null, - "availability": null, - "docs": null - } - ] - }, - "referencedTypes": [ - "type_:InlineType1", - "type_:NestedInlineType1", - "type_:MixedInlineType1" - ], - "encoding": { - "json": {}, - "proto": null - }, - "source": null, - "userProvidedExamples": [], - "autogeneratedExamples": [], - "availability": null, - "docs": null - }, - "type_:UndiscriminatedUnion1": { - "inline": false, - "name": { - "name": { - "originalName": "UndiscriminatedUnion1", - "camelCase": { - "unsafeName": "undiscriminatedUnion1", - "safeName": "undiscriminatedUnion1" - }, - "snakeCase": { - "unsafeName": "undiscriminated_union1", - "safeName": "undiscriminated_union1" - }, - "screamingSnakeCase": { - "unsafeName": "UNDISCRIMINATED_UNION1", - "safeName": "UNDISCRIMINATED_UNION1" - }, - "pascalCase": { - "unsafeName": "UndiscriminatedUnion1", - "safeName": "UndiscriminatedUnion1" - } - }, - "fernFilepath": { - "allParts": [], - "packagePath": [], - "file": null - }, - "typeId": "type_:UndiscriminatedUnion1" - }, - "shape": { - "_type": "undiscriminatedUnion", - "members": [ - { - "type": { + "valueType": { "_type": "named", "name": { "originalName": "InlineType1", @@ -276,47 +153,17 @@ "default": null, "inline": null }, - "docs": null - }, - { - "type": { - "_type": "named", - "name": { - "originalName": "MixedInlineType1", - "camelCase": { - "unsafeName": "mixedInlineType1", - "safeName": "mixedInlineType1" - }, - "snakeCase": { - "unsafeName": "mixed_inline_type1", - "safeName": "mixed_inline_type1" - }, - "screamingSnakeCase": { - "unsafeName": "MIXED_INLINE_TYPE1", - "safeName": "MIXED_INLINE_TYPE1" - }, - "pascalCase": { - "unsafeName": "MixedInlineType1", - "safeName": "MixedInlineType1" - } - }, - "fernFilepath": { - "allParts": [], - "packagePath": [], - "file": null - }, - "typeId": "type_:MixedInlineType1", - "default": null, - "inline": null - }, + "availability": null, "docs": null } - ] + ], + "extra-properties": false, + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_:InlineType1", - "type_:NestedInlineType1", - "type_:MixedInlineType1" + "type_:NestedInlineType1" ], "encoding": { "json": {}, @@ -328,26 +175,26 @@ "availability": null, "docs": null }, - "type_:RootType1": { - "inline": false, + "type_:InlineType1": { + "inline": true, "name": { "name": { - "originalName": "RootType1", + "originalName": "InlineType1", "camelCase": { - "unsafeName": "rootType1", - "safeName": "rootType1" + "unsafeName": "inlineType1", + "safeName": "inlineType1" }, "snakeCase": { - "unsafeName": "root_type1", - "safeName": "root_type1" + "unsafeName": "inline_type1", + "safeName": "inline_type1" }, "screamingSnakeCase": { - "unsafeName": "ROOT_TYPE1", - "safeName": "ROOT_TYPE1" + "unsafeName": "INLINE_TYPE1", + "safeName": "INLINE_TYPE1" }, "pascalCase": { - "unsafeName": "RootType1", - "safeName": "RootType1" + "unsafeName": "InlineType1", + "safeName": "InlineType1" } }, "fernFilepath": { @@ -355,7 +202,7 @@ "packagePath": [], "file": null }, - "typeId": "type_:RootType1" + "typeId": "type_:InlineType1" }, "shape": { "_type": "object", @@ -424,22 +271,22 @@ "valueType": { "_type": "named", "name": { - "originalName": "InlineType1", + "originalName": "NestedInlineType1", "camelCase": { - "unsafeName": "inlineType1", - "safeName": "inlineType1" + "unsafeName": "nestedInlineType1", + "safeName": "nestedInlineType1" }, "snakeCase": { - "unsafeName": "inline_type1", - "safeName": "inline_type1" + "unsafeName": "nested_inline_type1", + "safeName": "nested_inline_type1" }, "screamingSnakeCase": { - "unsafeName": "INLINE_TYPE1", - "safeName": "INLINE_TYPE1" + "unsafeName": "NESTED_INLINE_TYPE1", + "safeName": "NESTED_INLINE_TYPE1" }, "pascalCase": { - "unsafeName": "InlineType1", - "safeName": "InlineType1" + "unsafeName": "NestedInlineType1", + "safeName": "NestedInlineType1" } }, "fernFilepath": { @@ -447,220 +294,20 @@ "packagePath": [], "file": null }, - "typeId": "type_:InlineType1", + "typeId": "type_:NestedInlineType1", "default": null, - "inline": true - }, - "availability": null, - "docs": null - }, - { - "name": { - "name": { - "originalName": "two", - "camelCase": { - "unsafeName": "two", - "safeName": "two" - }, - "snakeCase": { - "unsafeName": "two", - "safeName": "two" - }, - "screamingSnakeCase": { - "unsafeName": "TWO", - "safeName": "TWO" - }, - "pascalCase": { - "unsafeName": "Two", - "safeName": "Two" - } - }, - "wireValue": "two" - }, - "valueType": { - "_type": "named", - "name": { - "originalName": "MixedInlineType1", - "camelCase": { - "unsafeName": "mixedInlineType1", - "safeName": "mixedInlineType1" - }, - "snakeCase": { - "unsafeName": "mixed_inline_type1", - "safeName": "mixed_inline_type1" - }, - "screamingSnakeCase": { - "unsafeName": "MIXED_INLINE_TYPE1", - "safeName": "MIXED_INLINE_TYPE1" - }, - "pascalCase": { - "unsafeName": "MixedInlineType1", - "safeName": "MixedInlineType1" - } - }, - "fernFilepath": { - "allParts": [], - "packagePath": [], - "file": null - }, - "typeId": "type_:MixedInlineType1", - "default": null, - "inline": null - }, - "availability": null, - "docs": null - } - ], - "extra-properties": false, - "extendedProperties": [] - }, - "referencedTypes": [ - "type_:InlineType1", - "type_:NestedInlineType1", - "type_:MixedInlineType1" - ], - "encoding": { - "json": {}, - "proto": null - }, - "source": null, - "userProvidedExamples": [], - "autogeneratedExamples": [], - "availability": null, - "docs": null - }, - "type_:RootType2": { - "inline": false, - "name": { - "name": { - "originalName": "RootType2", - "camelCase": { - "unsafeName": "rootType2", - "safeName": "rootType2" - }, - "snakeCase": { - "unsafeName": "root_type2", - "safeName": "root_type2" - }, - "screamingSnakeCase": { - "unsafeName": "ROOT_TYPE2", - "safeName": "ROOT_TYPE2" - }, - "pascalCase": { - "unsafeName": "RootType2", - "safeName": "RootType2" - } - }, - "fernFilepath": { - "allParts": [], - "packagePath": [], - "file": null - }, - "typeId": "type_:RootType2" - }, - "shape": { - "_type": "object", - "extends": [], - "properties": [ - { - "name": { - "name": { - "originalName": "one", - "camelCase": { - "unsafeName": "one", - "safeName": "one" - }, - "snakeCase": { - "unsafeName": "one", - "safeName": "one" - }, - "screamingSnakeCase": { - "unsafeName": "ONE", - "safeName": "ONE" - }, - "pascalCase": { - "unsafeName": "One", - "safeName": "One" - } - }, - "wireValue": "one" - }, - "valueType": { - "_type": "primitive", - "primitive": { - "v1": "INTEGER", - "v2": { - "type": "integer", - "default": null, - "validation": null - } - } - }, - "availability": null, - "docs": null - }, - { - "name": { - "name": { - "originalName": "two", - "camelCase": { - "unsafeName": "two", - "safeName": "two" - }, - "snakeCase": { - "unsafeName": "two", - "safeName": "two" - }, - "screamingSnakeCase": { - "unsafeName": "TWO", - "safeName": "TWO" - }, - "pascalCase": { - "unsafeName": "Two", - "safeName": "Two" - } - }, - "wireValue": "two" - }, - "valueType": { - "_type": "named", - "name": { - "originalName": "MixedInlineType1", - "camelCase": { - "unsafeName": "mixedInlineType1", - "safeName": "mixedInlineType1" - }, - "snakeCase": { - "unsafeName": "mixed_inline_type1", - "safeName": "mixed_inline_type1" - }, - "screamingSnakeCase": { - "unsafeName": "MIXED_INLINE_TYPE1", - "safeName": "MIXED_INLINE_TYPE1" - }, - "pascalCase": { - "unsafeName": "MixedInlineType1", - "safeName": "MixedInlineType1" - } - }, - "fernFilepath": { - "allParts": [], - "packagePath": [], - "file": null - }, - "typeId": "type_:MixedInlineType1", - "default": null, - "inline": true + "inline": null }, "availability": null, "docs": null } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": true }, "referencedTypes": [ - "type_:MixedInlineType1" + "type_:NestedInlineType1" ], "encoding": { "json": {}, @@ -672,26 +319,26 @@ "availability": null, "docs": null }, - "type_:InlineType1": { + "type_:InlineType2": { "inline": true, "name": { "name": { - "originalName": "InlineType1", + "originalName": "InlineType2", "camelCase": { - "unsafeName": "inlineType1", - "safeName": "inlineType1" + "unsafeName": "inlineType2", + "safeName": "inlineType2" }, "snakeCase": { - "unsafeName": "inline_type1", - "safeName": "inline_type1" + "unsafeName": "inline_type2", + "safeName": "inline_type2" }, "screamingSnakeCase": { - "unsafeName": "INLINE_TYPE1", - "safeName": "INLINE_TYPE1" + "unsafeName": "INLINE_TYPE2", + "safeName": "INLINE_TYPE2" }, "pascalCase": { - "unsafeName": "InlineType1", - "safeName": "InlineType1" + "unsafeName": "InlineType2", + "safeName": "InlineType2" } }, "fernFilepath": { @@ -699,7 +346,7 @@ "packagePath": [], "file": null }, - "typeId": "type_:InlineType1" + "typeId": "type_:InlineType2" }, "shape": { "_type": "object", @@ -708,25 +355,25 @@ { "name": { "name": { - "originalName": "foo", + "originalName": "baz", "camelCase": { - "unsafeName": "foo", - "safeName": "foo" + "unsafeName": "baz", + "safeName": "baz" }, "snakeCase": { - "unsafeName": "foo", - "safeName": "foo" + "unsafeName": "baz", + "safeName": "baz" }, "screamingSnakeCase": { - "unsafeName": "FOO", - "safeName": "FOO" + "unsafeName": "BAZ", + "safeName": "BAZ" }, "pascalCase": { - "unsafeName": "Foo", - "safeName": "Foo" + "unsafeName": "Baz", + "safeName": "Baz" } }, - "wireValue": "foo" + "wireValue": "baz" }, "valueType": { "_type": "primitive", @@ -741,70 +388,13 @@ }, "availability": null, "docs": null - }, - { - "name": { - "name": { - "originalName": "bar", - "camelCase": { - "unsafeName": "bar", - "safeName": "bar" - }, - "snakeCase": { - "unsafeName": "bar", - "safeName": "bar" - }, - "screamingSnakeCase": { - "unsafeName": "BAR", - "safeName": "BAR" - }, - "pascalCase": { - "unsafeName": "Bar", - "safeName": "Bar" - } - }, - "wireValue": "bar" - }, - "valueType": { - "_type": "named", - "name": { - "originalName": "NestedInlineType1", - "camelCase": { - "unsafeName": "nestedInlineType1", - "safeName": "nestedInlineType1" - }, - "snakeCase": { - "unsafeName": "nested_inline_type1", - "safeName": "nested_inline_type1" - }, - "screamingSnakeCase": { - "unsafeName": "NESTED_INLINE_TYPE1", - "safeName": "NESTED_INLINE_TYPE1" - }, - "pascalCase": { - "unsafeName": "NestedInlineType1", - "safeName": "NestedInlineType1" - } - }, - "fernFilepath": { - "allParts": [], - "packagePath": [], - "file": null - }, - "typeId": "type_:NestedInlineType1", - "default": null, - "inline": true - }, - "availability": null, - "docs": null } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": true }, - "referencedTypes": [ - "type_:NestedInlineType1" - ], + "referencedTypes": [], "encoding": { "json": {}, "proto": null @@ -924,7 +514,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": true }, "referencedTypes": [], "encoding": { @@ -937,26 +528,26 @@ "availability": null, "docs": null }, - "type_:MixedInlineType1": { - "inline": false, + "type_:InlinedDiscriminatedUnion1": { + "inline": true, "name": { "name": { - "originalName": "MixedInlineType1", + "originalName": "InlinedDiscriminatedUnion1", "camelCase": { - "unsafeName": "mixedInlineType1", - "safeName": "mixedInlineType1" + "unsafeName": "inlinedDiscriminatedUnion1", + "safeName": "inlinedDiscriminatedUnion1" }, "snakeCase": { - "unsafeName": "mixed_inline_type1", - "safeName": "mixed_inline_type1" + "unsafeName": "inlined_discriminated_union1", + "safeName": "inlined_discriminated_union1" }, "screamingSnakeCase": { - "unsafeName": "MIXED_INLINE_TYPE1", - "safeName": "MIXED_INLINE_TYPE1" + "unsafeName": "INLINED_DISCRIMINATED_UNION1", + "safeName": "INLINED_DISCRIMINATED_UNION1" }, "pascalCase": { - "unsafeName": "MixedInlineType1", - "safeName": "MixedInlineType1" + "unsafeName": "InlinedDiscriminatedUnion1", + "safeName": "InlinedDiscriminatedUnion1" } }, "fernFilepath": { @@ -964,91 +555,269 @@ "packagePath": [], "file": null }, - "typeId": "type_:MixedInlineType1" + "typeId": "type_:InlinedDiscriminatedUnion1" }, "shape": { - "_type": "object", + "_type": "union", + "discriminant": { + "name": { + "originalName": "type", + "camelCase": { + "unsafeName": "type", + "safeName": "type" + }, + "snakeCase": { + "unsafeName": "type", + "safeName": "type" + }, + "screamingSnakeCase": { + "unsafeName": "TYPE", + "safeName": "TYPE" + }, + "pascalCase": { + "unsafeName": "Type", + "safeName": "Type" + } + }, + "wireValue": "type" + }, "extends": [], - "properties": [ + "baseProperties": [], + "types": [ { - "name": { + "discriminantValue": { "name": { - "originalName": "foo", + "originalName": "type1", "camelCase": { - "unsafeName": "foo", - "safeName": "foo" + "unsafeName": "type1", + "safeName": "type1" }, "snakeCase": { - "unsafeName": "foo", - "safeName": "foo" + "unsafeName": "type1", + "safeName": "type1" }, "screamingSnakeCase": { - "unsafeName": "FOO", - "safeName": "FOO" + "unsafeName": "TYPE1", + "safeName": "TYPE1" }, "pascalCase": { - "unsafeName": "Foo", - "safeName": "Foo" - } + "unsafeName": "Type1", + "safeName": "Type1" + } }, - "wireValue": "foo" + "wireValue": "type1" }, - "valueType": { - "_type": "primitive", - "primitive": { - "v1": "STRING", - "v2": { - "type": "string", - "default": null, - "validation": null + "shape": { + "_type": "samePropertiesAsObject", + "name": { + "originalName": "InlineType1", + "camelCase": { + "unsafeName": "inlineType1", + "safeName": "inlineType1" + }, + "snakeCase": { + "unsafeName": "inline_type1", + "safeName": "inline_type1" + }, + "screamingSnakeCase": { + "unsafeName": "INLINE_TYPE1", + "safeName": "INLINE_TYPE1" + }, + "pascalCase": { + "unsafeName": "InlineType1", + "safeName": "InlineType1" } - } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:InlineType1" }, + "displayName": null, "availability": null, "docs": null }, { - "name": { + "discriminantValue": { "name": { - "originalName": "bar", + "originalName": "type2", "camelCase": { - "unsafeName": "bar", - "safeName": "bar" + "unsafeName": "type2", + "safeName": "type2" }, "snakeCase": { - "unsafeName": "bar", - "safeName": "bar" + "unsafeName": "type2", + "safeName": "type2" }, "screamingSnakeCase": { - "unsafeName": "BAR", - "safeName": "BAR" + "unsafeName": "TYPE2", + "safeName": "TYPE2" }, "pascalCase": { - "unsafeName": "Bar", - "safeName": "Bar" + "unsafeName": "Type2", + "safeName": "Type2" } }, - "wireValue": "bar" + "wireValue": "type2" }, - "valueType": { - "_type": "primitive", - "primitive": { - "v1": "STRING", - "v2": { - "type": "string", - "default": null, - "validation": null + "shape": { + "_type": "samePropertiesAsObject", + "name": { + "originalName": "InlineType2", + "camelCase": { + "unsafeName": "inlineType2", + "safeName": "inlineType2" + }, + "snakeCase": { + "unsafeName": "inline_type2", + "safeName": "inline_type2" + }, + "screamingSnakeCase": { + "unsafeName": "INLINE_TYPE2", + "safeName": "INLINE_TYPE2" + }, + "pascalCase": { + "unsafeName": "InlineType2", + "safeName": "InlineType2" } - } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:InlineType2" }, + "displayName": null, "availability": null, "docs": null } ], - "extra-properties": false, - "extendedProperties": [] + "inline": true }, - "referencedTypes": [], + "referencedTypes": [ + "type_:InlineType1", + "type_:NestedInlineType1", + "type_:InlineType2" + ], + "encoding": { + "json": {}, + "proto": null + }, + "source": null, + "userProvidedExamples": [], + "autogeneratedExamples": [], + "availability": null, + "docs": null + }, + "type_:InlinedUndiscriminatedUnion1": { + "inline": true, + "name": { + "name": { + "originalName": "InlinedUndiscriminatedUnion1", + "camelCase": { + "unsafeName": "inlinedUndiscriminatedUnion1", + "safeName": "inlinedUndiscriminatedUnion1" + }, + "snakeCase": { + "unsafeName": "inlined_undiscriminated_union1", + "safeName": "inlined_undiscriminated_union1" + }, + "screamingSnakeCase": { + "unsafeName": "INLINED_UNDISCRIMINATED_UNION1", + "safeName": "INLINED_UNDISCRIMINATED_UNION1" + }, + "pascalCase": { + "unsafeName": "InlinedUndiscriminatedUnion1", + "safeName": "InlinedUndiscriminatedUnion1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:InlinedUndiscriminatedUnion1" + }, + "shape": { + "_type": "undiscriminatedUnion", + "members": [ + { + "type": { + "_type": "named", + "name": { + "originalName": "InlineType1", + "camelCase": { + "unsafeName": "inlineType1", + "safeName": "inlineType1" + }, + "snakeCase": { + "unsafeName": "inline_type1", + "safeName": "inline_type1" + }, + "screamingSnakeCase": { + "unsafeName": "INLINE_TYPE1", + "safeName": "INLINE_TYPE1" + }, + "pascalCase": { + "unsafeName": "InlineType1", + "safeName": "InlineType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:InlineType1", + "default": null, + "inline": null + }, + "docs": null + }, + { + "type": { + "_type": "named", + "name": { + "originalName": "InlineType2", + "camelCase": { + "unsafeName": "inlineType2", + "safeName": "inlineType2" + }, + "snakeCase": { + "unsafeName": "inline_type2", + "safeName": "inline_type2" + }, + "screamingSnakeCase": { + "unsafeName": "INLINE_TYPE2", + "safeName": "INLINE_TYPE2" + }, + "pascalCase": { + "unsafeName": "InlineType2", + "safeName": "InlineType2" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:InlineType2", + "default": null, + "inline": null + }, + "docs": null + } + ], + "inline": true + }, + "referencedTypes": [ + "type_:InlineType1", + "type_:NestedInlineType1", + "type_:InlineType2" + ], "encoding": { "json": {}, "proto": null @@ -1200,7 +969,7 @@ }, "typeId": "type_:InlineType1", "default": null, - "inline": true + "inline": null }, "availability": null, "docs": null @@ -1357,7 +1126,7 @@ "autogeneratedExamples": [ { "example": { - "id": "f1c8c5c48b5c7ee330c2272b51d165ef93559aeb", + "id": "502112939948ceda2f872fd9d3deaca252b262eb", "url": "/root/root", "name": null, "endpointHeaders": [], @@ -1765,828 +1534,9 @@ "bar": "bar" } }, - "foo": "foo" - } - }, - "response": { - "type": "ok", - "value": { - "type": "body", - "value": { - "shape": { - "type": "named", - "shape": { - "type": "object", - "properties": [ - { - "name": { - "name": { - "originalName": "foo", - "camelCase": { - "unsafeName": "foo", - "safeName": "foo" - }, - "snakeCase": { - "unsafeName": "foo", - "safeName": "foo" - }, - "screamingSnakeCase": { - "unsafeName": "FOO", - "safeName": "FOO" - }, - "pascalCase": { - "unsafeName": "Foo", - "safeName": "Foo" - } - }, - "wireValue": "foo" - }, - "originalTypeDeclaration": { - "name": { - "originalName": "RootType1", - "camelCase": { - "unsafeName": "rootType1", - "safeName": "rootType1" - }, - "snakeCase": { - "unsafeName": "root_type1", - "safeName": "root_type1" - }, - "screamingSnakeCase": { - "unsafeName": "ROOT_TYPE1", - "safeName": "ROOT_TYPE1" - }, - "pascalCase": { - "unsafeName": "RootType1", - "safeName": "RootType1" - } - }, - "fernFilepath": { - "allParts": [], - "packagePath": [], - "file": null - }, - "typeId": "type_:RootType1" - }, - "value": { - "shape": { - "type": "primitive", - "primitive": { - "type": "string", - "string": { - "original": "foo" - } - } - }, - "jsonExample": "foo" - } - }, - { - "name": { - "name": { - "originalName": "bar", - "camelCase": { - "unsafeName": "bar", - "safeName": "bar" - }, - "snakeCase": { - "unsafeName": "bar", - "safeName": "bar" - }, - "screamingSnakeCase": { - "unsafeName": "BAR", - "safeName": "BAR" - }, - "pascalCase": { - "unsafeName": "Bar", - "safeName": "Bar" - } - }, - "wireValue": "bar" - }, - "originalTypeDeclaration": { - "name": { - "originalName": "RootType1", - "camelCase": { - "unsafeName": "rootType1", - "safeName": "rootType1" - }, - "snakeCase": { - "unsafeName": "root_type1", - "safeName": "root_type1" - }, - "screamingSnakeCase": { - "unsafeName": "ROOT_TYPE1", - "safeName": "ROOT_TYPE1" - }, - "pascalCase": { - "unsafeName": "RootType1", - "safeName": "RootType1" - } - }, - "fernFilepath": { - "allParts": [], - "packagePath": [], - "file": null - }, - "typeId": "type_:RootType1" - }, - "value": { - "shape": { - "type": "named", - "shape": { - "type": "object", - "properties": [ - { - "name": { - "name": { - "originalName": "foo", - "camelCase": { - "unsafeName": "foo", - "safeName": "foo" - }, - "snakeCase": { - "unsafeName": "foo", - "safeName": "foo" - }, - "screamingSnakeCase": { - "unsafeName": "FOO", - "safeName": "FOO" - }, - "pascalCase": { - "unsafeName": "Foo", - "safeName": "Foo" - } - }, - "wireValue": "foo" - }, - "originalTypeDeclaration": { - "name": { - "originalName": "InlineType1", - "camelCase": { - "unsafeName": "inlineType1", - "safeName": "inlineType1" - }, - "snakeCase": { - "unsafeName": "inline_type1", - "safeName": "inline_type1" - }, - "screamingSnakeCase": { - "unsafeName": "INLINE_TYPE1", - "safeName": "INLINE_TYPE1" - }, - "pascalCase": { - "unsafeName": "InlineType1", - "safeName": "InlineType1" - } - }, - "fernFilepath": { - "allParts": [], - "packagePath": [], - "file": null - }, - "typeId": "type_:InlineType1" - }, - "value": { - "shape": { - "type": "primitive", - "primitive": { - "type": "string", - "string": { - "original": "foo" - } - } - }, - "jsonExample": "foo" - } - }, - { - "name": { - "name": { - "originalName": "bar", - "camelCase": { - "unsafeName": "bar", - "safeName": "bar" - }, - "snakeCase": { - "unsafeName": "bar", - "safeName": "bar" - }, - "screamingSnakeCase": { - "unsafeName": "BAR", - "safeName": "BAR" - }, - "pascalCase": { - "unsafeName": "Bar", - "safeName": "Bar" - } - }, - "wireValue": "bar" - }, - "originalTypeDeclaration": { - "name": { - "originalName": "InlineType1", - "camelCase": { - "unsafeName": "inlineType1", - "safeName": "inlineType1" - }, - "snakeCase": { - "unsafeName": "inline_type1", - "safeName": "inline_type1" - }, - "screamingSnakeCase": { - "unsafeName": "INLINE_TYPE1", - "safeName": "INLINE_TYPE1" - }, - "pascalCase": { - "unsafeName": "InlineType1", - "safeName": "InlineType1" - } - }, - "fernFilepath": { - "allParts": [], - "packagePath": [], - "file": null - }, - "typeId": "type_:InlineType1" - }, - "value": { - "shape": { - "type": "named", - "shape": { - "type": "object", - "properties": [ - { - "name": { - "name": { - "originalName": "foo", - "camelCase": { - "unsafeName": "foo", - "safeName": "foo" - }, - "snakeCase": { - "unsafeName": "foo", - "safeName": "foo" - }, - "screamingSnakeCase": { - "unsafeName": "FOO", - "safeName": "FOO" - }, - "pascalCase": { - "unsafeName": "Foo", - "safeName": "Foo" - } - }, - "wireValue": "foo" - }, - "originalTypeDeclaration": { - "name": { - "originalName": "NestedInlineType1", - "camelCase": { - "unsafeName": "nestedInlineType1", - "safeName": "nestedInlineType1" - }, - "snakeCase": { - "unsafeName": "nested_inline_type1", - "safeName": "nested_inline_type1" - }, - "screamingSnakeCase": { - "unsafeName": "NESTED_INLINE_TYPE1", - "safeName": "NESTED_INLINE_TYPE1" - }, - "pascalCase": { - "unsafeName": "NestedInlineType1", - "safeName": "NestedInlineType1" - } - }, - "fernFilepath": { - "allParts": [], - "packagePath": [], - "file": null - }, - "typeId": "type_:NestedInlineType1" - }, - "value": { - "shape": { - "type": "primitive", - "primitive": { - "type": "string", - "string": { - "original": "foo" - } - } - }, - "jsonExample": "foo" - } - }, - { - "name": { - "name": { - "originalName": "bar", - "camelCase": { - "unsafeName": "bar", - "safeName": "bar" - }, - "snakeCase": { - "unsafeName": "bar", - "safeName": "bar" - }, - "screamingSnakeCase": { - "unsafeName": "BAR", - "safeName": "BAR" - }, - "pascalCase": { - "unsafeName": "Bar", - "safeName": "Bar" - } - }, - "wireValue": "bar" - }, - "originalTypeDeclaration": { - "name": { - "originalName": "NestedInlineType1", - "camelCase": { - "unsafeName": "nestedInlineType1", - "safeName": "nestedInlineType1" - }, - "snakeCase": { - "unsafeName": "nested_inline_type1", - "safeName": "nested_inline_type1" - }, - "screamingSnakeCase": { - "unsafeName": "NESTED_INLINE_TYPE1", - "safeName": "NESTED_INLINE_TYPE1" - }, - "pascalCase": { - "unsafeName": "NestedInlineType1", - "safeName": "NestedInlineType1" - } - }, - "fernFilepath": { - "allParts": [], - "packagePath": [], - "file": null - }, - "typeId": "type_:NestedInlineType1" - }, - "value": { - "shape": { - "type": "primitive", - "primitive": { - "type": "string", - "string": { - "original": "bar" - } - } - }, - "jsonExample": "bar" - } - } - ] - }, - "typeName": { - "name": { - "originalName": "NestedInlineType1", - "camelCase": { - "unsafeName": "nestedInlineType1", - "safeName": "nestedInlineType1" - }, - "snakeCase": { - "unsafeName": "nested_inline_type1", - "safeName": "nested_inline_type1" - }, - "screamingSnakeCase": { - "unsafeName": "NESTED_INLINE_TYPE1", - "safeName": "NESTED_INLINE_TYPE1" - }, - "pascalCase": { - "unsafeName": "NestedInlineType1", - "safeName": "NestedInlineType1" - } - }, - "fernFilepath": { - "allParts": [], - "packagePath": [], - "file": null - }, - "typeId": "type_:NestedInlineType1" - } - }, - "jsonExample": { - "foo": "foo", - "bar": "bar" - } - } - } - ] - }, - "typeName": { - "name": { - "originalName": "InlineType1", - "camelCase": { - "unsafeName": "inlineType1", - "safeName": "inlineType1" - }, - "snakeCase": { - "unsafeName": "inline_type1", - "safeName": "inline_type1" - }, - "screamingSnakeCase": { - "unsafeName": "INLINE_TYPE1", - "safeName": "INLINE_TYPE1" - }, - "pascalCase": { - "unsafeName": "InlineType1", - "safeName": "InlineType1" - } - }, - "fernFilepath": { - "allParts": [], - "packagePath": [], - "file": null - }, - "typeId": "type_:InlineType1" - } - }, - "jsonExample": { - "foo": "foo", - "bar": { - "foo": "foo", - "bar": "bar" - } - } - } - }, - { - "name": { - "name": { - "originalName": "two", - "camelCase": { - "unsafeName": "two", - "safeName": "two" - }, - "snakeCase": { - "unsafeName": "two", - "safeName": "two" - }, - "screamingSnakeCase": { - "unsafeName": "TWO", - "safeName": "TWO" - }, - "pascalCase": { - "unsafeName": "Two", - "safeName": "Two" - } - }, - "wireValue": "two" - }, - "originalTypeDeclaration": { - "name": { - "originalName": "RootType1", - "camelCase": { - "unsafeName": "rootType1", - "safeName": "rootType1" - }, - "snakeCase": { - "unsafeName": "root_type1", - "safeName": "root_type1" - }, - "screamingSnakeCase": { - "unsafeName": "ROOT_TYPE1", - "safeName": "ROOT_TYPE1" - }, - "pascalCase": { - "unsafeName": "RootType1", - "safeName": "RootType1" - } - }, - "fernFilepath": { - "allParts": [], - "packagePath": [], - "file": null - }, - "typeId": "type_:RootType1" - }, - "value": { - "shape": { - "type": "named", - "shape": { - "type": "object", - "properties": [ - { - "name": { - "name": { - "originalName": "foo", - "camelCase": { - "unsafeName": "foo", - "safeName": "foo" - }, - "snakeCase": { - "unsafeName": "foo", - "safeName": "foo" - }, - "screamingSnakeCase": { - "unsafeName": "FOO", - "safeName": "FOO" - }, - "pascalCase": { - "unsafeName": "Foo", - "safeName": "Foo" - } - }, - "wireValue": "foo" - }, - "originalTypeDeclaration": { - "name": { - "originalName": "MixedInlineType1", - "camelCase": { - "unsafeName": "mixedInlineType1", - "safeName": "mixedInlineType1" - }, - "snakeCase": { - "unsafeName": "mixed_inline_type1", - "safeName": "mixed_inline_type1" - }, - "screamingSnakeCase": { - "unsafeName": "MIXED_INLINE_TYPE1", - "safeName": "MIXED_INLINE_TYPE1" - }, - "pascalCase": { - "unsafeName": "MixedInlineType1", - "safeName": "MixedInlineType1" - } - }, - "fernFilepath": { - "allParts": [], - "packagePath": [], - "file": null - }, - "typeId": "type_:MixedInlineType1" - }, - "value": { - "shape": { - "type": "primitive", - "primitive": { - "type": "string", - "string": { - "original": "foo" - } - } - }, - "jsonExample": "foo" - } - }, - { - "name": { - "name": { - "originalName": "bar", - "camelCase": { - "unsafeName": "bar", - "safeName": "bar" - }, - "snakeCase": { - "unsafeName": "bar", - "safeName": "bar" - }, - "screamingSnakeCase": { - "unsafeName": "BAR", - "safeName": "BAR" - }, - "pascalCase": { - "unsafeName": "Bar", - "safeName": "Bar" - } - }, - "wireValue": "bar" - }, - "originalTypeDeclaration": { - "name": { - "originalName": "MixedInlineType1", - "camelCase": { - "unsafeName": "mixedInlineType1", - "safeName": "mixedInlineType1" - }, - "snakeCase": { - "unsafeName": "mixed_inline_type1", - "safeName": "mixed_inline_type1" - }, - "screamingSnakeCase": { - "unsafeName": "MIXED_INLINE_TYPE1", - "safeName": "MIXED_INLINE_TYPE1" - }, - "pascalCase": { - "unsafeName": "MixedInlineType1", - "safeName": "MixedInlineType1" - } - }, - "fernFilepath": { - "allParts": [], - "packagePath": [], - "file": null - }, - "typeId": "type_:MixedInlineType1" - }, - "value": { - "shape": { - "type": "primitive", - "primitive": { - "type": "string", - "string": { - "original": "bar" - } - } - }, - "jsonExample": "bar" - } - } - ] - }, - "typeName": { - "name": { - "originalName": "MixedInlineType1", - "camelCase": { - "unsafeName": "mixedInlineType1", - "safeName": "mixedInlineType1" - }, - "snakeCase": { - "unsafeName": "mixed_inline_type1", - "safeName": "mixed_inline_type1" - }, - "screamingSnakeCase": { - "unsafeName": "MIXED_INLINE_TYPE1", - "safeName": "MIXED_INLINE_TYPE1" - }, - "pascalCase": { - "unsafeName": "MixedInlineType1", - "safeName": "MixedInlineType1" - } - }, - "fernFilepath": { - "allParts": [], - "packagePath": [], - "file": null - }, - "typeId": "type_:MixedInlineType1" - } - }, - "jsonExample": { - "foo": "foo", - "bar": "bar" - } - } - } - ] - }, - "typeName": { - "name": { - "originalName": "RootType1", - "camelCase": { - "unsafeName": "rootType1", - "safeName": "rootType1" - }, - "snakeCase": { - "unsafeName": "root_type1", - "safeName": "root_type1" - }, - "screamingSnakeCase": { - "unsafeName": "ROOT_TYPE1", - "safeName": "ROOT_TYPE1" - }, - "pascalCase": { - "unsafeName": "RootType1", - "safeName": "RootType1" - } - }, - "fernFilepath": { - "allParts": [], - "packagePath": [], - "file": null - }, - "typeId": "type_:RootType1" - } - }, - "jsonExample": { - "foo": "foo", - "bar": { - "foo": "foo", - "bar": { - "foo": "foo", - "bar": "bar" - } - }, - "two": { - "foo": "foo", - "bar": "bar" - } - } - } - } - }, - "docs": null - } - } - ], - "pagination": null, - "transport": null, - "availability": null, - "docs": null - }, - { - "id": "endpoint_.getInline", - "name": { - "originalName": "getInline", - "camelCase": { - "unsafeName": "getInline", - "safeName": "getInline" - }, - "snakeCase": { - "unsafeName": "get_inline", - "safeName": "get_inline" - }, - "screamingSnakeCase": { - "unsafeName": "GET_INLINE", - "safeName": "GET_INLINE" - }, - "pascalCase": { - "unsafeName": "GetInline", - "safeName": "GetInline" - } - }, - "displayName": null, - "auth": false, - "idempotent": false, - "baseUrl": null, - "method": "GET", - "basePath": null, - "path": { - "head": "/inline", - "parts": [] - }, - "fullPath": { - "head": "/root/inline", - "parts": [] - }, - "pathParameters": [], - "allPathParameters": [], - "queryParameters": [], - "headers": [], - "requestBody": null, - "sdkRequest": null, - "response": { - "body": { - "type": "json", - "value": { - "type": "response", - "responseBodyType": { - "_type": "named", - "name": { - "originalName": "InlineType1", - "camelCase": { - "unsafeName": "inlineType1", - "safeName": "inlineType1" - }, - "snakeCase": { - "unsafeName": "inline_type1", - "safeName": "inline_type1" - }, - "screamingSnakeCase": { - "unsafeName": "INLINE_TYPE1", - "safeName": "INLINE_TYPE1" - }, - "pascalCase": { - "unsafeName": "InlineType1", - "safeName": "InlineType1" - } - }, - "fernFilepath": { - "allParts": [], - "packagePath": [], - "file": null - }, - "typeId": "type_:InlineType1", - "default": null, - "inline": true + "foo": "foo" + } }, - "docs": null - } - }, - "status-code": null - }, - "errors": [], - "userSpecifiedExamples": [], - "autogeneratedExamples": [ - { - "example": { - "id": "bc8f77e86ec1f23b0024b983c44df3a380e44964", - "url": "/root/inline", - "name": null, - "endpointHeaders": [], - "endpointPathParameters": [], - "queryParameters": [], - "servicePathParameters": [], - "serviceHeaders": [], - "rootPathParameters": [], - "request": null, "response": { "type": "ok", "value": { @@ -2622,22 +1572,22 @@ }, "originalTypeDeclaration": { "name": { - "originalName": "InlineType1", + "originalName": "RootType1", "camelCase": { - "unsafeName": "inlineType1", - "safeName": "inlineType1" + "unsafeName": "rootType1", + "safeName": "rootType1" }, "snakeCase": { - "unsafeName": "inline_type1", - "safeName": "inline_type1" + "unsafeName": "root_type1", + "safeName": "root_type1" }, "screamingSnakeCase": { - "unsafeName": "INLINE_TYPE1", - "safeName": "INLINE_TYPE1" + "unsafeName": "ROOT_TYPE1", + "safeName": "ROOT_TYPE1" }, "pascalCase": { - "unsafeName": "InlineType1", - "safeName": "InlineType1" + "unsafeName": "RootType1", + "safeName": "RootType1" } }, "fernFilepath": { @@ -2645,7 +1595,7 @@ "packagePath": [], "file": null }, - "typeId": "type_:InlineType1" + "typeId": "type_:RootType1" }, "value": { "shape": { @@ -2685,22 +1635,22 @@ }, "originalTypeDeclaration": { "name": { - "originalName": "InlineType1", + "originalName": "RootType1", "camelCase": { - "unsafeName": "inlineType1", - "safeName": "inlineType1" + "unsafeName": "rootType1", + "safeName": "rootType1" }, "snakeCase": { - "unsafeName": "inline_type1", - "safeName": "inline_type1" + "unsafeName": "root_type1", + "safeName": "root_type1" }, "screamingSnakeCase": { - "unsafeName": "INLINE_TYPE1", - "safeName": "INLINE_TYPE1" + "unsafeName": "ROOT_TYPE1", + "safeName": "ROOT_TYPE1" }, "pascalCase": { - "unsafeName": "InlineType1", - "safeName": "InlineType1" + "unsafeName": "RootType1", + "safeName": "RootType1" } }, "fernFilepath": { @@ -2708,7 +1658,7 @@ "packagePath": [], "file": null }, - "typeId": "type_:InlineType1" + "typeId": "type_:RootType1" }, "value": { "shape": { @@ -2741,22 +1691,22 @@ }, "originalTypeDeclaration": { "name": { - "originalName": "NestedInlineType1", + "originalName": "InlineType1", "camelCase": { - "unsafeName": "nestedInlineType1", - "safeName": "nestedInlineType1" + "unsafeName": "inlineType1", + "safeName": "inlineType1" }, "snakeCase": { - "unsafeName": "nested_inline_type1", - "safeName": "nested_inline_type1" + "unsafeName": "inline_type1", + "safeName": "inline_type1" }, "screamingSnakeCase": { - "unsafeName": "NESTED_INLINE_TYPE1", - "safeName": "NESTED_INLINE_TYPE1" + "unsafeName": "INLINE_TYPE1", + "safeName": "INLINE_TYPE1" }, "pascalCase": { - "unsafeName": "NestedInlineType1", - "safeName": "NestedInlineType1" + "unsafeName": "InlineType1", + "safeName": "InlineType1" } }, "fernFilepath": { @@ -2764,7 +1714,7 @@ "packagePath": [], "file": null }, - "typeId": "type_:NestedInlineType1" + "typeId": "type_:InlineType1" }, "value": { "shape": { @@ -2804,22 +1754,22 @@ }, "originalTypeDeclaration": { "name": { - "originalName": "NestedInlineType1", + "originalName": "InlineType1", "camelCase": { - "unsafeName": "nestedInlineType1", - "safeName": "nestedInlineType1" + "unsafeName": "inlineType1", + "safeName": "inlineType1" }, "snakeCase": { - "unsafeName": "nested_inline_type1", - "safeName": "nested_inline_type1" + "unsafeName": "inline_type1", + "safeName": "inline_type1" }, "screamingSnakeCase": { - "unsafeName": "NESTED_INLINE_TYPE1", - "safeName": "NESTED_INLINE_TYPE1" + "unsafeName": "INLINE_TYPE1", + "safeName": "INLINE_TYPE1" }, "pascalCase": { - "unsafeName": "NestedInlineType1", - "safeName": "NestedInlineType1" + "unsafeName": "InlineType1", + "safeName": "InlineType1" } }, "fernFilepath": { @@ -2827,41 +1777,196 @@ "packagePath": [], "file": null }, - "typeId": "type_:NestedInlineType1" + "typeId": "type_:InlineType1" }, "value": { "shape": { - "type": "primitive", - "primitive": { - "type": "string", - "string": { - "original": "bar" - } + "type": "named", + "shape": { + "type": "object", + "properties": [ + { + "name": { + "name": { + "originalName": "foo", + "camelCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "snakeCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "screamingSnakeCase": { + "unsafeName": "FOO", + "safeName": "FOO" + }, + "pascalCase": { + "unsafeName": "Foo", + "safeName": "Foo" + } + }, + "wireValue": "foo" + }, + "originalTypeDeclaration": { + "name": { + "originalName": "NestedInlineType1", + "camelCase": { + "unsafeName": "nestedInlineType1", + "safeName": "nestedInlineType1" + }, + "snakeCase": { + "unsafeName": "nested_inline_type1", + "safeName": "nested_inline_type1" + }, + "screamingSnakeCase": { + "unsafeName": "NESTED_INLINE_TYPE1", + "safeName": "NESTED_INLINE_TYPE1" + }, + "pascalCase": { + "unsafeName": "NestedInlineType1", + "safeName": "NestedInlineType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:NestedInlineType1" + }, + "value": { + "shape": { + "type": "primitive", + "primitive": { + "type": "string", + "string": { + "original": "foo" + } + } + }, + "jsonExample": "foo" + } + }, + { + "name": { + "name": { + "originalName": "bar", + "camelCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "snakeCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "screamingSnakeCase": { + "unsafeName": "BAR", + "safeName": "BAR" + }, + "pascalCase": { + "unsafeName": "Bar", + "safeName": "Bar" + } + }, + "wireValue": "bar" + }, + "originalTypeDeclaration": { + "name": { + "originalName": "NestedInlineType1", + "camelCase": { + "unsafeName": "nestedInlineType1", + "safeName": "nestedInlineType1" + }, + "snakeCase": { + "unsafeName": "nested_inline_type1", + "safeName": "nested_inline_type1" + }, + "screamingSnakeCase": { + "unsafeName": "NESTED_INLINE_TYPE1", + "safeName": "NESTED_INLINE_TYPE1" + }, + "pascalCase": { + "unsafeName": "NestedInlineType1", + "safeName": "NestedInlineType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:NestedInlineType1" + }, + "value": { + "shape": { + "type": "primitive", + "primitive": { + "type": "string", + "string": { + "original": "bar" + } + } + }, + "jsonExample": "bar" + } + } + ] + }, + "typeName": { + "name": { + "originalName": "NestedInlineType1", + "camelCase": { + "unsafeName": "nestedInlineType1", + "safeName": "nestedInlineType1" + }, + "snakeCase": { + "unsafeName": "nested_inline_type1", + "safeName": "nested_inline_type1" + }, + "screamingSnakeCase": { + "unsafeName": "NESTED_INLINE_TYPE1", + "safeName": "NESTED_INLINE_TYPE1" + }, + "pascalCase": { + "unsafeName": "NestedInlineType1", + "safeName": "NestedInlineType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:NestedInlineType1" } }, - "jsonExample": "bar" + "jsonExample": { + "foo": "foo", + "bar": "bar" + } } } ] }, "typeName": { "name": { - "originalName": "NestedInlineType1", + "originalName": "InlineType1", "camelCase": { - "unsafeName": "nestedInlineType1", - "safeName": "nestedInlineType1" + "unsafeName": "inlineType1", + "safeName": "inlineType1" }, "snakeCase": { - "unsafeName": "nested_inline_type1", - "safeName": "nested_inline_type1" + "unsafeName": "inline_type1", + "safeName": "inline_type1" }, "screamingSnakeCase": { - "unsafeName": "NESTED_INLINE_TYPE1", - "safeName": "NESTED_INLINE_TYPE1" + "unsafeName": "INLINE_TYPE1", + "safeName": "INLINE_TYPE1" }, "pascalCase": { - "unsafeName": "NestedInlineType1", - "safeName": "NestedInlineType1" + "unsafeName": "InlineType1", + "safeName": "InlineType1" } }, "fernFilepath": { @@ -2869,12 +1974,15 @@ "packagePath": [], "file": null }, - "typeId": "type_:NestedInlineType1" + "typeId": "type_:InlineType1" } }, "jsonExample": { "foo": "foo", - "bar": "bar" + "bar": { + "foo": "foo", + "bar": "bar" + } } } } @@ -2882,22 +1990,22 @@ }, "typeName": { "name": { - "originalName": "InlineType1", + "originalName": "RootType1", "camelCase": { - "unsafeName": "inlineType1", - "safeName": "inlineType1" + "unsafeName": "rootType1", + "safeName": "rootType1" }, "snakeCase": { - "unsafeName": "inline_type1", - "safeName": "inline_type1" + "unsafeName": "root_type1", + "safeName": "root_type1" }, "screamingSnakeCase": { - "unsafeName": "INLINE_TYPE1", - "safeName": "INLINE_TYPE1" + "unsafeName": "ROOT_TYPE1", + "safeName": "ROOT_TYPE1" }, "pascalCase": { - "unsafeName": "InlineType1", - "safeName": "InlineType1" + "unsafeName": "RootType1", + "safeName": "RootType1" } }, "fernFilepath": { @@ -2905,14 +2013,17 @@ "packagePath": [], "file": null }, - "typeId": "type_:InlineType1" + "typeId": "type_:RootType1" } }, "jsonExample": { "foo": "foo", "bar": { "foo": "foo", - "bar": "bar" + "bar": { + "foo": "foo", + "bar": "bar" + } } } } @@ -2966,14 +2077,13 @@ "service_": [ "type_:RootType1", "type_:InlineType1", - "type_:NestedInlineType1", - "type_:MixedInlineType1" + "type_:NestedInlineType1" ] }, "sharedTypes": [ - "type_:DiscriminatedUnion1", - "type_:UndiscriminatedUnion1", - "type_:RootType2" + "type_:InlineType2", + "type_:InlinedDiscriminatedUnion1", + "type_:InlinedUndiscriminatedUnion1" ] }, "webhookGroups": {}, @@ -2991,13 +2101,12 @@ "websocket": null, "service": "service_", "types": [ - "type_:DiscriminatedUnion1", - "type_:UndiscriminatedUnion1", "type_:RootType1", - "type_:RootType2", "type_:InlineType1", + "type_:InlineType2", "type_:NestedInlineType1", - "type_:MixedInlineType1" + "type_:InlinedDiscriminatedUnion1", + "type_:InlinedUndiscriminatedUnion1" ], "errors": [], "subpackages": [], diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/license.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/license.json index abde404ca97..d35a9f85ab6 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/license.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/license.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_:Type": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Type", @@ -102,7 +102,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/literal.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/literal.json index d53c0a480fd..6604c441735 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/literal.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/literal.json @@ -106,7 +106,7 @@ "idempotencyHeaders": [], "types": { "type_:SendResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "SendResponse", @@ -250,7 +250,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -264,7 +265,7 @@ "docs": null }, "type_inlined:SomeAliasedLiteral": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "SomeAliasedLiteral", @@ -365,7 +366,7 @@ "docs": null }, "type_inlined:ATopLevelLiteral": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ATopLevelLiteral", @@ -531,7 +532,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_inlined:ANestedLiteral" @@ -547,7 +549,7 @@ "docs": null }, "type_inlined:ANestedLiteral": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ANestedLiteral", @@ -655,7 +657,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -669,7 +672,7 @@ "docs": null }, "type_reference:SendRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "SendRequest", @@ -1138,7 +1141,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_reference:SomeLiteral", @@ -1156,7 +1160,7 @@ "docs": null }, "type_reference:ContainerObject": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ContainerObject", @@ -1328,7 +1332,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_reference:NestedObjectWithLiterals" @@ -1344,7 +1349,7 @@ "docs": null }, "type_reference:NestedObjectWithLiterals": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "NestedObjectWithLiterals", @@ -1525,7 +1530,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -1539,7 +1545,7 @@ "docs": null }, "type_reference:SomeLiteral": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "SomeLiteral", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/mixed-case.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/mixed-case.json index 5059184d07f..dcd98d92777 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/mixed-case.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/mixed-case.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_service:Organization": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Organization", @@ -140,7 +140,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -286,7 +287,7 @@ "docs": null }, "type_service:User": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "User", @@ -492,7 +493,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -961,7 +963,7 @@ "docs": null }, "type_service:NestedUser": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "NestedUser", @@ -1164,7 +1166,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_service:User" @@ -1914,7 +1917,7 @@ "docs": null }, "type_service:ResourceStatus": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ResourceStatus", @@ -2036,7 +2039,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [], "encoding": { @@ -2050,7 +2054,7 @@ "docs": null }, "type_service:Resource": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Resource", @@ -2424,7 +2428,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_service:ResourceStatus", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/mixed-file-directory.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/mixed-file-directory.json index ac81fe4fe67..72986895b20 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/mixed-file-directory.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/mixed-file-directory.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_:Id": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Id", @@ -96,7 +96,7 @@ "docs": null }, "type_organization:Organization": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Organization", @@ -361,7 +361,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_:Id", @@ -378,7 +379,7 @@ "docs": null }, "type_organization:CreateOrganizationRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "CreateOrganizationRequest", @@ -487,7 +488,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -501,7 +503,7 @@ "docs": null }, "type_user:User": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "User", @@ -703,7 +705,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_:Id" @@ -719,7 +722,7 @@ "docs": null }, "type_user/events:Event": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Event", @@ -923,7 +926,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_:Id" @@ -939,7 +943,7 @@ "docs": null }, "type_user/events/metadata:Metadata": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Metadata", @@ -1173,7 +1177,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_:Id" diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/multi-line-docs.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/multi-line-docs.json index bec6292e2e8..b1a72fc7563 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/multi-line-docs.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/multi-line-docs.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_:Operand": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Operand", @@ -141,7 +141,8 @@ "availability": null, "docs": "The name and value should be similar\nare similar for less than." } - ] + ], + "inline": null }, "referencedTypes": [], "encoding": { @@ -252,7 +253,7 @@ "docs": "Tests enum name and value can be\ndifferent." }, "type_user:User": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "User", @@ -441,7 +442,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/oauth-client-credentials-default.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/oauth-client-credentials-default.json index b27722ec738..01d4f848f96 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/oauth-client-credentials-default.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/oauth-client-credentials-default.json @@ -181,7 +181,7 @@ "idempotencyHeaders": [], "types": { "type_auth:TokenResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TokenResponse", @@ -327,7 +327,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/oauth-client-credentials-environment-variables.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/oauth-client-credentials-environment-variables.json index 94dca27149e..f671d26df12 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/oauth-client-credentials-environment-variables.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/oauth-client-credentials-environment-variables.json @@ -220,7 +220,7 @@ "idempotencyHeaders": [], "types": { "type_auth:TokenResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TokenResponse", @@ -409,7 +409,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/oauth-client-credentials-nested-root.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/oauth-client-credentials-nested-root.json index cc6c3248e07..9d5ae526da2 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/oauth-client-credentials-nested-root.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/oauth-client-credentials-nested-root.json @@ -220,7 +220,7 @@ "idempotencyHeaders": [], "types": { "type_auth:TokenResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TokenResponse", @@ -411,7 +411,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/oauth-client-credentials.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/oauth-client-credentials.json index c716ab3c61b..ceb313fc801 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/oauth-client-credentials.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/oauth-client-credentials.json @@ -220,7 +220,7 @@ "idempotencyHeaders": [], "types": { "type_auth:TokenResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TokenResponse", @@ -409,7 +409,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/object.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/object.json index b1e1c167c32..db49b2dc403 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/object.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/object.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_:Type": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Type", @@ -956,7 +956,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_:Name" @@ -3071,7 +3072,7 @@ "docs": "Exercises all of the built-in types." }, "type_:Name": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Name", @@ -3179,7 +3180,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/objects-with-imports.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/objects-with-imports.json index 06710735e89..c14daab810a 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/objects-with-imports.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/objects-with-imports.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_:Node": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Node", @@ -284,7 +284,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons/metadata:Metadata" @@ -2049,7 +2050,7 @@ "docs": null }, "type_:Tree": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Tree", @@ -2151,7 +2152,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_:Node", @@ -4173,7 +4175,7 @@ "docs": null }, "type_commons/metadata:Metadata": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Metadata", @@ -4381,7 +4383,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -4826,7 +4829,7 @@ "docs": null }, "type_file:File": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "File", @@ -5066,7 +5069,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_file:FileInfo" @@ -5921,7 +5925,7 @@ "docs": null }, "type_file:FileInfo": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "FileInfo", @@ -6043,7 +6047,8 @@ "availability": null, "docs": "A directory (e.g. foo/)." } - ] + ], + "inline": null }, "referencedTypes": [], "encoding": { @@ -6154,7 +6159,7 @@ "docs": null }, "type_file/directory:Directory": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Directory", @@ -6553,7 +6558,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_file:File", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/package-yml.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/package-yml.json index 0a73f51b09b..99da00d55b6 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/package-yml.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/package-yml.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_:EchoRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "EchoRequest", @@ -139,7 +139,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/pagination.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/pagination.json index 6a80a675499..a54e51b7392 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/pagination.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/pagination.json @@ -56,7 +56,7 @@ "idempotencyHeaders": [], "types": { "type_:UsernameCursor": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UsernameCursor", @@ -146,7 +146,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_:UsernamePage" @@ -162,7 +163,7 @@ "docs": null }, "type_:UsernamePage": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UsernamePage", @@ -282,7 +283,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -296,7 +298,7 @@ "docs": null }, "type_users:Order": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Order", @@ -418,7 +420,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [], "encoding": { @@ -432,7 +435,7 @@ "docs": null }, "type_users:WithPage": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "WithPage", @@ -547,7 +550,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -561,7 +565,7 @@ "docs": null }, "type_users:WithCursor": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "WithCursor", @@ -676,7 +680,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -690,7 +695,7 @@ "docs": null }, "type_users:UserListContainer": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UserListContainer", @@ -862,7 +867,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_users:User" @@ -878,7 +884,7 @@ "docs": null }, "type_users:UserPage": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UserPage", @@ -1083,7 +1089,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_users:UserListContainer", @@ -1100,7 +1107,7 @@ "docs": null }, "type_users:UserOptionalListContainer": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UserOptionalListContainer", @@ -1278,7 +1285,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_users:User" @@ -1294,7 +1302,7 @@ "docs": null }, "type_users:UserOptionalListPage": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UserOptionalListPage", @@ -1499,7 +1507,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_users:UserOptionalListContainer", @@ -1516,7 +1525,7 @@ "docs": null }, "type_users:UsernameContainer": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UsernameContainer", @@ -1631,7 +1640,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -1645,7 +1655,7 @@ "docs": null }, "type_users:ListUsersExtendedResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ListUsersExtendedResponse", @@ -1954,7 +1964,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_users:UserPage", @@ -1972,7 +1983,7 @@ "docs": null }, "type_users:ListUsersExtendedOptionalListResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ListUsersExtendedOptionalListResponse", @@ -2281,7 +2292,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_users:UserOptionalListPage", @@ -2299,7 +2311,7 @@ "docs": null }, "type_users:ListUsersPaginationResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ListUsersPaginationResponse", @@ -2647,7 +2659,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_users:Page", @@ -2665,7 +2678,7 @@ "docs": null }, "type_users:Page": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Page", @@ -2948,7 +2961,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_users:NextPage" @@ -2964,7 +2978,7 @@ "docs": null }, "type_users:NextPage": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "NextPage", @@ -3110,7 +3124,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -3124,7 +3139,7 @@ "docs": null }, "type_users:User": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "User", @@ -3270,7 +3285,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/path-parameters.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/path-parameters.json index 7b18432a8eb..f5344368f27 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/path-parameters.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/path-parameters.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_user:Organization": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Organization", @@ -183,7 +183,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -197,7 +198,7 @@ "docs": null }, "type_user:User": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "User", @@ -349,7 +350,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/query-parameters.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/query-parameters.json index 3b6fdb8a339..97a0078d464 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/query-parameters.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/query-parameters.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_user:User": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "User", @@ -183,7 +183,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -197,7 +198,7 @@ "docs": null }, "type_user:NestedUser": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "NestedUser", @@ -400,7 +401,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_user:User" diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/reserved-keywords.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/reserved-keywords.json index 1de47df5873..27ac7eb90e1 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/reserved-keywords.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/reserved-keywords.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_package:Package": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Package", @@ -140,7 +140,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -154,7 +155,7 @@ "docs": null }, "type_package:Record": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Record", @@ -317,7 +318,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/response-property.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/response-property.json index c07685cc6a0..dfe90010926 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/response-property.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/response-property.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_:StringResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "StringResponse", @@ -102,7 +102,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -116,7 +117,7 @@ "docs": null }, "type_:OptionalStringResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "OptionalStringResponse", @@ -233,7 +234,7 @@ "docs": null }, "type_:WithMetadata": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "WithMetadata", @@ -321,7 +322,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -335,7 +337,7 @@ "docs": null }, "type_service:WithDocs": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "WithDocs", @@ -444,7 +446,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -458,7 +461,7 @@ "docs": null }, "type_service:OptionalWithDocs": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "OptionalWithDocs", @@ -689,7 +692,7 @@ "docs": null }, "type_service:Movie": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Movie", @@ -835,7 +838,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -849,7 +853,7 @@ "docs": null }, "type_service:Response": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Response", @@ -1200,7 +1204,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_:WithMetadata", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/server-sent-event-examples.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/server-sent-event-examples.json index af8140cacf7..0429a3ca7bc 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/server-sent-event-examples.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/server-sent-event-examples.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_completions:StreamedCompletion": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "StreamedCompletion", @@ -183,7 +183,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/server-sent-events.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/server-sent-events.json index 32fc30b9966..ba0535fa36e 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/server-sent-events.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/server-sent-events.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_completions:StreamedCompletion": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "StreamedCompletion", @@ -183,7 +183,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/simple-fhir.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/simple-fhir.json index ae45706a7b9..424facb9594 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/simple-fhir.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/simple-fhir.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_:Memo": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Memo", @@ -164,7 +164,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_:Account", @@ -186,7 +187,7 @@ "docs": null }, "type_:BaseResource": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "BaseResource", @@ -375,7 +376,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_:ResourceList", @@ -397,7 +399,7 @@ "docs": null }, "type_:ResourceList": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ResourceList", @@ -560,7 +562,8 @@ }, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_:Account", @@ -582,7 +585,7 @@ "docs": null }, "type_:Account": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Account", @@ -997,7 +1000,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_:BaseResource", @@ -1019,7 +1023,7 @@ "docs": null }, "type_:Patient": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Patient", @@ -1372,7 +1376,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_:BaseResource", @@ -1394,7 +1399,7 @@ "docs": null }, "type_:Practitioner": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Practitioner", @@ -1685,7 +1690,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_:BaseResource", @@ -1707,7 +1713,7 @@ "docs": null }, "type_:Script": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Script", @@ -1998,7 +2004,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_:BaseResource", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/streaming-parameter.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/streaming-parameter.json index 66942037c04..1ffe6db02f7 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/streaming-parameter.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/streaming-parameter.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_dummy:RegularResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "RegularResponse", @@ -183,7 +183,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -197,7 +198,7 @@ "docs": null }, "type_dummy:StreamResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "StreamResponse", @@ -349,7 +350,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/streaming.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/streaming.json index 94eaf87af08..395dc910107 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/streaming.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/streaming.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_dummy:StreamResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "StreamResponse", @@ -183,7 +183,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/trace.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/trace.json index 44bba248efc..7a4cce27333 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/trace.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/trace.json @@ -101,7 +101,7 @@ "idempotencyHeaders": [], "types": { "type_admin:Test": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Test", @@ -312,7 +312,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [], "encoding": { @@ -326,7 +327,7 @@ "docs": null }, "type_commons:UserId": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UserId", @@ -429,7 +430,7 @@ "docs": null }, "type_commons:ProblemId": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ProblemId", @@ -532,7 +533,7 @@ "docs": null }, "type_commons:NodeId": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "NodeId", @@ -635,7 +636,7 @@ "docs": null }, "type_commons:VariableType": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "VariableType", @@ -1154,7 +1155,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_commons:ListType", @@ -1172,7 +1174,7 @@ "docs": null }, "type_commons:ListType": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ListType", @@ -1377,7 +1379,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:VariableType", @@ -1395,7 +1398,7 @@ "docs": null }, "type_commons:MapType": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "MapType", @@ -1655,7 +1658,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:VariableType", @@ -1673,7 +1677,7 @@ "docs": null }, "type_commons:VariableValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "VariableValue", @@ -2605,7 +2609,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_commons:MapValue", @@ -2630,7 +2635,7 @@ "docs": null }, "type_commons:DebugVariableValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "DebugVariableValue", @@ -3685,7 +3690,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_commons:DebugMapValue", @@ -3714,7 +3720,7 @@ "docs": null }, "type_commons:GenericValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GenericValue", @@ -3866,7 +3872,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -3880,7 +3887,7 @@ "docs": null }, "type_commons:MapValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "MapValue", @@ -4052,7 +4059,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:KeyValuePair", @@ -4077,7 +4085,7 @@ "docs": null }, "type_commons:KeyValuePair": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "KeyValuePair", @@ -4337,7 +4345,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:VariableValue", @@ -4362,7 +4371,7 @@ "docs": null }, "type_commons:BinaryTreeValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "BinaryTreeValue", @@ -4702,7 +4711,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:NodeId", @@ -4719,7 +4729,7 @@ "docs": null }, "type_commons:BinaryTreeNodeValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "BinaryTreeNodeValue", @@ -5122,7 +5132,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:NodeId" @@ -5138,7 +5149,7 @@ "docs": null }, "type_commons:BinaryTreeNodeAndTreeValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "BinaryTreeNodeAndTreeValue", @@ -5398,7 +5409,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:NodeId", @@ -5416,7 +5428,7 @@ "docs": null }, "type_commons:SinglyLinkedListValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "SinglyLinkedListValue", @@ -5756,7 +5768,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:NodeId", @@ -5773,7 +5786,7 @@ "docs": null }, "type_commons:SinglyLinkedListNodeValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "SinglyLinkedListNodeValue", @@ -6076,7 +6089,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:NodeId" @@ -6092,7 +6106,7 @@ "docs": null }, "type_commons:SinglyLinkedListNodeAndListValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "SinglyLinkedListNodeAndListValue", @@ -6352,7 +6366,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:NodeId", @@ -6370,7 +6385,7 @@ "docs": null }, "type_commons:DoublyLinkedListValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "DoublyLinkedListValue", @@ -6710,7 +6725,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:NodeId", @@ -6727,7 +6743,7 @@ "docs": null }, "type_commons:DoublyLinkedListNodeValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "DoublyLinkedListNodeValue", @@ -7130,7 +7146,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:NodeId" @@ -7146,7 +7163,7 @@ "docs": null }, "type_commons:DoublyLinkedListNodeAndListValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "DoublyLinkedListNodeAndListValue", @@ -7406,7 +7423,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:NodeId", @@ -7424,7 +7442,7 @@ "docs": null }, "type_commons:DebugMapValue": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "DebugMapValue", @@ -7596,7 +7614,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:DebugKeyValuePairs", @@ -7625,7 +7644,7 @@ "docs": null }, "type_commons:DebugKeyValuePairs": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "DebugKeyValuePairs", @@ -7885,7 +7904,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:DebugVariableValue", @@ -7914,7 +7934,7 @@ "docs": null }, "type_commons:TestCase": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCase", @@ -8123,7 +8143,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:VariableValue", @@ -8148,7 +8169,7 @@ "docs": null }, "type_commons:TestCaseWithExpectedResult": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseWithExpectedResult", @@ -8408,7 +8429,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:TestCase", @@ -8434,7 +8456,7 @@ "docs": null }, "type_commons:FileInfo": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "FileInfo", @@ -8580,7 +8602,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -8594,7 +8617,7 @@ "docs": null }, "type_commons:Language": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Language", @@ -8742,7 +8765,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [], "encoding": { @@ -8756,7 +8780,7 @@ "docs": null }, "type_lang-server:LangServerRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "LangServerRequest", @@ -8857,7 +8881,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -8871,7 +8896,7 @@ "docs": null }, "type_lang-server:LangServerResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "LangServerResponse", @@ -8972,7 +8997,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -8986,7 +9012,7 @@ "docs": null }, "type_migration:MigrationStatus": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "MigrationStatus", @@ -9134,7 +9160,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [], "encoding": { @@ -9148,7 +9175,7 @@ "docs": null }, "type_migration:Migration": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Migration", @@ -9351,7 +9378,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_migration:MigrationStatus" @@ -9367,7 +9395,7 @@ "docs": null }, "type_playlist:PlaylistId": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "PlaylistId", @@ -9470,7 +9498,7 @@ "docs": null }, "type_playlist:Playlist": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Playlist", @@ -9934,7 +9962,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_playlist:PlaylistCreateRequest", @@ -9953,7 +9982,7 @@ "docs": null }, "type_playlist:PlaylistCreateRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "PlaylistCreateRequest", @@ -10162,7 +10191,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:ProblemId" @@ -10178,7 +10208,7 @@ "docs": null }, "type_playlist:UpdatePlaylistRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UpdatePlaylistRequest", @@ -10387,7 +10417,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:ProblemId" @@ -10403,7 +10434,7 @@ "docs": null }, "type_playlist:PlaylistIdNotFoundErrorBody": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "PlaylistIdNotFoundErrorBody", @@ -10616,7 +10647,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_playlist:PlaylistId" @@ -10632,7 +10664,7 @@ "docs": null }, "type_playlist:ReservedKeywordEnum": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ReservedKeywordEnum", @@ -10754,7 +10786,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [], "encoding": { @@ -10768,7 +10801,7 @@ "docs": null }, "type_problem:ProblemInfo": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ProblemInfo", @@ -11634,7 +11667,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:ProblemId", @@ -11671,7 +11705,7 @@ "docs": null }, "type_problem:ProblemDescription": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ProblemDescription", @@ -11843,7 +11877,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_problem:ProblemDescriptionBoard", @@ -11869,7 +11904,7 @@ "docs": null }, "type_problem:ProblemDescriptionBoard": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ProblemDescriptionBoard", @@ -12208,7 +12243,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_commons:VariableValue", @@ -12233,7 +12269,7 @@ "docs": null }, "type_problem:ProblemFiles": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ProblemFiles", @@ -12499,7 +12535,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:FileInfo" @@ -12515,7 +12552,7 @@ "docs": null }, "type_problem:VariableTypeAndName": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "VariableTypeAndName", @@ -12718,7 +12755,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:VariableType", @@ -12736,7 +12774,7 @@ "docs": null }, "type_problem:CreateProblemRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "CreateProblemRequest", @@ -13438,7 +13476,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_problem:ProblemDescription", @@ -13474,7 +13513,7 @@ "docs": null }, "type_problem:CreateProblemResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "CreateProblemResponse", @@ -13807,7 +13846,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_commons:ProblemId", @@ -13825,7 +13865,7 @@ "docs": null }, "type_problem:UpdateProblemResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UpdateProblemResponse", @@ -13934,7 +13974,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -13948,7 +13989,7 @@ "docs": null }, "type_problem:CreateProblemError": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "CreateProblemError", @@ -14134,7 +14175,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_problem:GenericCreateProblemError" @@ -14150,7 +14192,7 @@ "docs": null }, "type_problem:GenericCreateProblemError": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GenericCreateProblemError", @@ -14333,7 +14375,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -14347,7 +14390,7 @@ "docs": null }, "type_problem:GetDefaultStarterFilesResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GetDefaultStarterFilesResponse", @@ -14587,7 +14630,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:Language", @@ -14605,7 +14649,7 @@ "docs": null }, "type_submission:SubmissionId": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "SubmissionId", @@ -14700,7 +14744,7 @@ "docs": null }, "type_submission:ShareId": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ShareId", @@ -14803,7 +14847,7 @@ "docs": null }, "type_submission:SubmissionRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "SubmissionRequest", @@ -15298,7 +15342,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_submission:InitializeProblemRequest", @@ -15321,7 +15366,7 @@ "docs": null }, "type_submission:InitializeProblemRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "InitializeProblemRequest", @@ -15530,7 +15575,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:ProblemId" @@ -15546,7 +15592,7 @@ "docs": null }, "type_submission:SubmitRequestV2": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "SubmitRequestV2", @@ -16086,7 +16132,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_submission:SubmissionId", @@ -16105,7 +16152,7 @@ "docs": null }, "type_submission:WorkspaceSubmitRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "WorkspaceSubmitRequest", @@ -16508,7 +16555,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_submission:SubmissionId", @@ -16526,7 +16574,7 @@ "docs": null }, "type_submission:SubmissionFileInfo": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "SubmissionFileInfo", @@ -16709,7 +16757,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -16723,7 +16772,7 @@ "docs": null }, "type_submission:SubmissionTypeEnum": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "SubmissionTypeEnum", @@ -16819,7 +16868,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [], "encoding": { @@ -16833,7 +16883,7 @@ "docs": "Keep in sync with SubmissionType." }, "type_submission:StopRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "StopRequest", @@ -16999,7 +17049,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_submission:SubmissionId" @@ -17015,7 +17066,7 @@ "docs": null }, "type_submission:SubmissionResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "SubmissionResponse", @@ -17594,7 +17645,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_commons:ProblemId", @@ -17663,7 +17715,7 @@ "docs": null }, "type_submission:CodeExecutionUpdate": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "CodeExecutionUpdate", @@ -18779,7 +18831,8 @@ "availability": null, "docs": "Sent once a submission is graded and fully recorded." } - ] + ], + "inline": null }, "referencedTypes": [ "type_submission:BuildingExecutorResponse", @@ -18846,7 +18899,7 @@ "docs": null }, "type_submission:BuildingExecutorResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "BuildingExecutorResponse", @@ -19106,7 +19159,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_submission:SubmissionId", @@ -19123,7 +19177,7 @@ "docs": null }, "type_submission:RunningResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "RunningResponse", @@ -19383,7 +19437,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_submission:SubmissionId", @@ -19400,7 +19455,7 @@ "docs": null }, "type_submission:RunningSubmissionState": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "RunningSubmissionState", @@ -19600,7 +19655,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [], "encoding": { @@ -19614,7 +19670,7 @@ "docs": null }, "type_submission:ErroredResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ErroredResponse", @@ -19874,7 +19930,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_submission:SubmissionId", @@ -19895,7 +19952,7 @@ "docs": null }, "type_submission:ErrorInfo": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ErrorInfo", @@ -20267,7 +20324,8 @@ "availability": null, "docs": "If the trace backend encounters an unexpected error.\n" } - ] + ], + "inline": null }, "referencedTypes": [ "type_submission:CompileError", @@ -20286,7 +20344,7 @@ "docs": null }, "type_submission:CompileError": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "CompileError", @@ -20395,7 +20453,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -20409,7 +20468,7 @@ "docs": null }, "type_submission:RuntimeError": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "RuntimeError", @@ -20518,7 +20577,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -20532,7 +20592,7 @@ "docs": null }, "type_submission:InternalError": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "InternalError", @@ -20698,7 +20758,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_submission:ExceptionInfo" @@ -20714,7 +20775,7 @@ "docs": null }, "type_submission:StoppedResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "StoppedResponse", @@ -20880,7 +20941,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_submission:SubmissionId" @@ -20896,7 +20958,7 @@ "docs": null }, "type_submission:WorkspaceRanResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "WorkspaceRanResponse", @@ -21156,7 +21218,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_submission:SubmissionId", @@ -21175,7 +21238,7 @@ "docs": null }, "type_submission:WorkspaceRunDetails": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "WorkspaceRunDetails", @@ -21484,7 +21547,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_submission:ExceptionV2", @@ -21501,7 +21565,7 @@ "docs": null }, "type_submission:GradedResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GradedResponse", @@ -21778,7 +21842,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_submission:SubmissionId", @@ -21809,7 +21874,7 @@ "docs": null }, "type_submission:GradedResponseV2": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GradedResponseV2", @@ -22182,7 +22247,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_submission:SubmissionId", @@ -22214,7 +22280,7 @@ "docs": null }, "type_submission:TestCaseGrade": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseGrade", @@ -22493,7 +22559,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_submission:TestCaseHiddenGrade", @@ -22522,7 +22589,7 @@ "docs": null }, "type_submission:TestCaseHiddenGrade": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseHiddenGrade", @@ -22627,7 +22694,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -22641,7 +22709,7 @@ "docs": null }, "type_submission:TestCaseNonHiddenGrade": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseNonHiddenGrade", @@ -22983,7 +23051,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:VariableValue", @@ -23010,7 +23079,7 @@ "docs": null }, "type_submission:RecordedResponseNotification": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "RecordedResponseNotification", @@ -23256,7 +23325,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_submission:SubmissionId" @@ -23272,7 +23342,7 @@ "docs": null }, "type_submission:RecordingResponseNotification": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "RecordingResponseNotification", @@ -23712,7 +23782,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_submission:SubmissionId", @@ -23730,7 +23801,7 @@ "docs": null }, "type_submission:LightweightStackframeInformation": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "LightweightStackframeInformation", @@ -23876,7 +23947,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -23890,7 +23962,7 @@ "docs": null }, "type_submission:TestCaseResultWithStdout": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseResultWithStdout", @@ -24093,7 +24165,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_submission:TestCaseResult", @@ -24122,7 +24195,7 @@ "docs": null }, "type_submission:TestCaseResult": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseResult", @@ -24415,7 +24488,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:VariableValue", @@ -24443,7 +24517,7 @@ "docs": null }, "type_submission:ActualResult": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ActualResult", @@ -24869,7 +24943,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_commons:VariableValue", @@ -24896,7 +24971,7 @@ "docs": null }, "type_submission:ExceptionV2": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ExceptionV2", @@ -25112,7 +25187,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_submission:ExceptionInfo" @@ -25128,7 +25204,7 @@ "docs": null }, "type_submission:ExceptionInfo": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ExceptionInfo", @@ -25311,7 +25387,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -25325,7 +25402,7 @@ "docs": null }, "type_submission:InvalidRequestResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "InvalidRequestResponse", @@ -25585,7 +25662,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_submission:SubmissionRequest", @@ -25613,7 +25691,7 @@ "docs": null }, "type_submission:InvalidRequestCause": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "InvalidRequestCause", @@ -25985,7 +26063,8 @@ "availability": null, "docs": "The submission request was routed to an incorrect language executor." } - ] + ], + "inline": null }, "referencedTypes": [ "type_submission:SubmissionIdNotFound", @@ -26006,7 +26085,7 @@ "docs": null }, "type_submission:ExistingSubmissionExecuting": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ExistingSubmissionExecuting", @@ -26172,7 +26251,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_submission:SubmissionId" @@ -26188,7 +26268,7 @@ "docs": null }, "type_submission:SubmissionIdNotFound": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "SubmissionIdNotFound", @@ -26354,7 +26434,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_submission:SubmissionId" @@ -26370,7 +26451,7 @@ "docs": null }, "type_submission:CustomTestCasesUnsupported": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "CustomTestCasesUnsupported", @@ -26630,7 +26711,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:ProblemId", @@ -26647,7 +26729,7 @@ "docs": null }, "type_submission:UnexpectedLanguageError": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UnexpectedLanguageError", @@ -26907,7 +26989,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:Language" @@ -26923,7 +27006,7 @@ "docs": null }, "type_submission:TerminatedResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TerminatedResponse", @@ -26994,7 +27077,8 @@ "extends": [], "properties": [], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -27008,7 +27092,7 @@ "docs": null }, "type_submission:FinishedResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "FinishedResponse", @@ -27174,7 +27258,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_submission:SubmissionId" @@ -27190,7 +27275,7 @@ "docs": null }, "type_submission:StdoutResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "StdoutResponse", @@ -27393,7 +27478,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_submission:SubmissionId" @@ -27409,7 +27495,7 @@ "docs": null }, "type_submission:StderrResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "StderrResponse", @@ -27612,7 +27698,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_submission:SubmissionId" @@ -27628,7 +27715,7 @@ "docs": null }, "type_submission:TraceResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TraceResponse", @@ -28168,7 +28255,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_submission:SubmissionId", @@ -28202,7 +28290,7 @@ "docs": null }, "type_submission:TraceResponseV2": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TraceResponseV2", @@ -28836,7 +28924,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_submission:SubmissionId", @@ -28871,7 +28960,7 @@ "docs": null }, "type_submission:TracedFile": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TracedFile", @@ -29017,7 +29106,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -29031,7 +29121,7 @@ "docs": null }, "type_submission:ExpressionLocation": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ExpressionLocation", @@ -29177,7 +29267,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -29191,7 +29282,7 @@ "docs": null }, "type_submission:StackInformation": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "StackInformation", @@ -29400,7 +29491,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_submission:StackFrame", @@ -29431,7 +29523,7 @@ "docs": null }, "type_submission:StackFrame": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "StackFrame", @@ -29677,7 +29769,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_submission:Scope", @@ -29707,7 +29800,7 @@ "docs": null }, "type_submission:Scope": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Scope", @@ -29890,7 +29983,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:DebugVariableValue", @@ -29919,7 +30013,7 @@ "docs": null }, "type_submission:ExecutionSessionResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ExecutionSessionResponse", @@ -30259,7 +30353,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:Language", @@ -30276,7 +30371,7 @@ "docs": null }, "type_submission:ExecutionSessionStatus": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ExecutionSessionStatus", @@ -30502,7 +30597,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [], "encoding": { @@ -30516,7 +30612,7 @@ "docs": null }, "type_submission:SubmissionStatusV2": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "SubmissionStatusV2", @@ -30795,7 +30891,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_submission:TestSubmissionStatusV2", @@ -30876,7 +30973,7 @@ "docs": null }, "type_submission:TestSubmissionStatusV2": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestSubmissionStatusV2", @@ -31312,7 +31409,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_submission:TestSubmissionUpdate", @@ -31387,7 +31485,7 @@ "docs": null }, "type_submission:WorkspaceSubmissionStatusV2": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "WorkspaceSubmissionStatusV2", @@ -31559,7 +31657,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_submission:WorkspaceSubmissionUpdate", @@ -31585,7 +31684,7 @@ "docs": null }, "type_submission:TestSubmissionUpdate": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestSubmissionUpdate", @@ -31784,7 +31883,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_submission:TestSubmissionUpdateInfo", @@ -31823,7 +31923,7 @@ "docs": null }, "type_submission:TestSubmissionUpdateInfo": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestSubmissionUpdateInfo", @@ -32402,7 +32502,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_submission:RunningSubmissionState", @@ -32440,7 +32541,7 @@ "docs": null }, "type_submission:WorkspaceSubmissionUpdate": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "WorkspaceSubmissionUpdate", @@ -32639,7 +32740,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_submission:WorkspaceSubmissionUpdateInfo", @@ -32664,7 +32766,7 @@ "docs": null }, "type_submission:WorkspaceSubmissionUpdateInfo": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "WorkspaceSubmissionUpdateInfo", @@ -33273,7 +33375,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_submission:RunningSubmissionState", @@ -33297,7 +33400,7 @@ "docs": null }, "type_submission:GradedTestCaseUpdate": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GradedTestCaseUpdate", @@ -33596,7 +33699,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_v2/problem:TestCaseId", @@ -33627,7 +33731,7 @@ "docs": null }, "type_submission:RecordedTestCaseUpdate": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "RecordedTestCaseUpdate", @@ -33869,7 +33973,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_v2/problem:TestCaseId" @@ -33885,7 +33990,7 @@ "docs": null }, "type_submission:WorkspaceTracedUpdate": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "WorkspaceTracedUpdate", @@ -33994,7 +34099,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -34008,7 +34114,7 @@ "docs": null }, "type_submission:SubmissionTypeState": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "SubmissionTypeState", @@ -34287,7 +34393,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_submission:TestSubmissionState", @@ -34334,7 +34441,7 @@ "docs": null }, "type_submission:WorkspaceSubmissionState": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "WorkspaceSubmissionState", @@ -34500,7 +34607,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_submission:WorkspaceSubmissionStatus", @@ -34524,7 +34632,7 @@ "docs": null }, "type_submission:WorkspaceSubmissionStatus": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "WorkspaceSubmissionStatus", @@ -35073,7 +35181,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_submission:ErrorInfo", @@ -35096,7 +35205,7 @@ "docs": null }, "type_submission:TestSubmissionState": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestSubmissionState", @@ -35556,7 +35665,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:ProblemId", @@ -35599,7 +35709,7 @@ "docs": null }, "type_submission:TestSubmissionStatus": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestSubmissionStatus", @@ -36099,7 +36209,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_submission:ErrorInfo", @@ -36139,7 +36250,7 @@ "docs": null }, "type_submission:SubmissionStatusForTestCase": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "SubmissionStatusForTestCase", @@ -36538,7 +36649,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_submission:TestCaseResultWithStdout", @@ -36572,7 +36684,7 @@ "docs": null }, "type_submission:TracedTestCase": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TracedTestCase", @@ -36775,7 +36887,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_submission:TestCaseResultWithStdout", @@ -36805,7 +36918,7 @@ "docs": null }, "type_submission:TraceResponsesPage": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TraceResponsesPage", @@ -37020,7 +37133,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_submission:TraceResponse", @@ -37055,7 +37169,7 @@ "docs": null }, "type_submission:TraceResponsesPageV2": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TraceResponsesPageV2", @@ -37270,7 +37384,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_submission:TraceResponseV2", @@ -37306,7 +37421,7 @@ "docs": null }, "type_submission:GetTraceResponsesPageRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GetTraceResponsesPageRequest", @@ -37421,7 +37536,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -37435,7 +37551,7 @@ "docs": null }, "type_submission:WorkspaceStarterFilesResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "WorkspaceStarterFilesResponse", @@ -37675,7 +37791,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:Language", @@ -37693,7 +37810,7 @@ "docs": null }, "type_submission:WorkspaceStarterFilesResponseV2": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "WorkspaceStarterFilesResponseV2", @@ -37972,7 +38089,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:Language", @@ -37990,7 +38108,7 @@ "docs": null }, "type_submission:WorkspaceFiles": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "WorkspaceFiles", @@ -38256,7 +38374,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:FileInfo" @@ -38272,7 +38391,7 @@ "docs": null }, "type_submission:ExecutionSessionState": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ExecutionSessionState", @@ -38688,7 +38807,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:Language", @@ -38705,7 +38825,7 @@ "docs": null }, "type_submission:GetExecutionSessionStateResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GetExecutionSessionStateResponse", @@ -38974,7 +39094,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_submission:ExecutionSessionState", @@ -38992,7 +39113,7 @@ "docs": null }, "type_submission:GetSubmissionStateResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GetSubmissionStateResponse", @@ -39328,7 +39449,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:Language", @@ -39377,7 +39499,7 @@ "docs": null }, "type_v2/problem:TestCaseTemplateId": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseTemplateId", @@ -39519,7 +39641,7 @@ "docs": null }, "type_v2/problem:TestCaseId": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseId", @@ -39661,7 +39783,7 @@ "docs": null }, "type_v2/problem:ParameterId": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ParameterId", @@ -39803,7 +39925,7 @@ "docs": null }, "type_v2/problem:ProblemInfoV2": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ProblemInfoV2", @@ -40853,7 +40975,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:ProblemId", @@ -40913,7 +41036,7 @@ "docs": null }, "type_v2/problem:LightweightProblemInfoV2": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "LightweightProblemInfoV2", @@ -41292,7 +41415,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:ProblemId", @@ -41311,7 +41435,7 @@ "docs": null }, "type_v2/problem:CreateProblemRequestV2": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "CreateProblemRequestV2", @@ -42097,7 +42221,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_problem:ProblemDescription", @@ -42155,7 +42280,7 @@ "docs": null }, "type_v2/problem:TestCaseV2": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseV2", @@ -42878,7 +43003,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_v2/problem:TestCaseMetadata", @@ -42927,7 +43053,7 @@ "docs": null }, "type_v2/problem:TestCaseExpects": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseExpects", @@ -43081,7 +43207,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -43095,7 +43222,7 @@ "docs": null }, "type_v2/problem:TestCaseImplementationReference": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseImplementationReference", @@ -43518,7 +43645,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_v2/problem:TestCaseTemplateId", @@ -43553,7 +43681,7 @@ "docs": null }, "type_v2/problem:BasicTestCaseTemplate": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "BasicTestCaseTemplate", @@ -44100,7 +44228,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_v2/problem:TestCaseTemplateId", @@ -44119,7 +44248,7 @@ "docs": null }, "type_v2/problem:TestCaseTemplate": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseTemplate", @@ -44533,7 +44662,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_v2/problem:TestCaseTemplateId", @@ -44568,7 +44698,7 @@ "docs": null }, "type_v2/problem:TestCaseImplementation": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseImplementation", @@ -44945,7 +45075,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_v2/problem:TestCaseImplementationDescription", @@ -44978,7 +45109,7 @@ "docs": null }, "type_v2/problem:TestCaseFunction": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseFunction", @@ -45374,7 +45505,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_v2/problem:TestCaseWithActualResultImplementation", @@ -45404,7 +45536,7 @@ "docs": null }, "type_v2/problem:TestCaseWithActualResultImplementation": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseWithActualResultImplementation", @@ -45781,7 +45913,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_v2/problem:NonVoidFunctionDefinition", @@ -45809,7 +45942,7 @@ "docs": null }, "type_v2/problem:VoidFunctionDefinition": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "VoidFunctionDefinition", @@ -46192,7 +46325,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_v2/problem:Parameter", @@ -46215,7 +46349,7 @@ "docs": null }, "type_v2/problem:Parameter": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Parameter", @@ -46590,7 +46724,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_v2/problem:ParameterId", @@ -46609,7 +46744,7 @@ "docs": null }, "type_v2/problem:NonVoidFunctionDefinition": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "NonVoidFunctionDefinition", @@ -46986,7 +47121,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_v2/problem:NonVoidFunctionSignature", @@ -47010,7 +47146,7 @@ "docs": null }, "type_v2/problem:VoidFunctionSignature": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "VoidFunctionSignature", @@ -47260,7 +47396,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_v2/problem:Parameter", @@ -47280,7 +47417,7 @@ "docs": null }, "type_v2/problem:NonVoidFunctionSignature": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "NonVoidFunctionSignature", @@ -47624,7 +47761,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_v2/problem:Parameter", @@ -47644,7 +47782,7 @@ "docs": null }, "type_v2/problem:VoidFunctionSignatureThatTakesActualResult": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "VoidFunctionSignatureThatTakesActualResult", @@ -47988,7 +48126,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_v2/problem:Parameter", @@ -48008,7 +48147,7 @@ "docs": null }, "type_v2/problem:AssertCorrectnessCheck": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "AssertCorrectnessCheck", @@ -48404,7 +48543,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_v2/problem:DeepEqualityCorrectnessCheck", @@ -48429,7 +48569,7 @@ "docs": null }, "type_v2/problem:DeepEqualityCorrectnessCheck": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "DeepEqualityCorrectnessCheck", @@ -48673,7 +48813,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_v2/problem:ParameterId" @@ -48689,7 +48830,7 @@ "docs": null }, "type_v2/problem:VoidFunctionDefinitionThatTakesActualResult": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "VoidFunctionDefinitionThatTakesActualResult", @@ -49072,7 +49213,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_v2/problem:Parameter", @@ -49095,7 +49237,7 @@ "docs": "The generated signature will include an additional param, actualResult" }, "type_v2/problem:TestCaseImplementationDescription": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseImplementationDescription", @@ -49345,7 +49487,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_v2/problem:TestCaseImplementationDescriptionBoard", @@ -49362,7 +49505,7 @@ "docs": null }, "type_v2/problem:TestCaseImplementationDescriptionBoard": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseImplementationDescriptionBoard", @@ -49716,7 +49859,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_v2/problem:ParameterId" @@ -49732,7 +49876,7 @@ "docs": null }, "type_v2/problem:TestCaseMetadata": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseMetadata", @@ -50046,7 +50190,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_v2/problem:TestCaseId" @@ -50062,7 +50207,7 @@ "docs": null }, "type_v2/problem:FunctionImplementationForMultipleLanguages": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "FunctionImplementationForMultipleLanguages", @@ -50380,7 +50525,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:Language", @@ -50397,7 +50543,7 @@ "docs": null }, "type_v2/problem:FunctionImplementation": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "FunctionImplementation", @@ -50588,7 +50734,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -50602,7 +50749,7 @@ "docs": null }, "type_v2/problem:GeneratedFiles": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GeneratedFiles", @@ -51334,7 +51481,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:Language", @@ -51352,7 +51500,7 @@ "docs": null }, "type_v2/problem:CustomFiles": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "CustomFiles", @@ -51849,7 +51997,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_v2/problem:BasicCustomFiles", @@ -51878,7 +52027,7 @@ "docs": null }, "type_v2/problem:BasicCustomFiles": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "BasicCustomFiles", @@ -52499,7 +52648,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_v2/problem:NonVoidFunctionSignature", @@ -52527,7 +52677,7 @@ "docs": null }, "type_v2/problem:Files": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Files", @@ -52777,7 +52927,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_v2/problem:FileInfoV2" @@ -52793,7 +52944,7 @@ "docs": null }, "type_v2/problem:FileInfoV2": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "FileInfoV2", @@ -53048,7 +53199,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -53062,7 +53214,7 @@ "docs": null }, "type_v2/problem:DefaultProvidedFile": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "DefaultProvidedFile", @@ -53406,7 +53558,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_v2/problem:FileInfoV2", @@ -53425,7 +53578,7 @@ "docs": null }, "type_v2/problem:FunctionSignature": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "FunctionSignature", @@ -53953,7 +54106,8 @@ "availability": null, "docs": "Useful when specifying custom grading for a testcase where actualResult is defined." } - ] + ], + "inline": null }, "referencedTypes": [ "type_v2/problem:VoidFunctionSignature", @@ -53976,7 +54130,7 @@ "docs": null }, "type_v2/problem:GetFunctionSignatureRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GetFunctionSignatureRequest", @@ -54220,7 +54374,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_v2/problem:FunctionSignature", @@ -54244,7 +54399,7 @@ "docs": null }, "type_v2/problem:GetFunctionSignatureResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GetFunctionSignatureResponse", @@ -54466,7 +54621,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:Language" @@ -54482,7 +54638,7 @@ "docs": null }, "type_v2/problem:GetBasicSolutionFileRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GetBasicSolutionFileRequest", @@ -54763,7 +54919,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_v2/problem:NonVoidFunctionSignature", @@ -54784,7 +54941,7 @@ "docs": null }, "type_v2/problem:GetBasicSolutionFileResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GetBasicSolutionFileResponse", @@ -55102,7 +55259,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:Language", @@ -55119,7 +55277,7 @@ "docs": null }, "type_v2/problem:GetGeneratedTestCaseFileRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GetGeneratedTestCaseFileRequest", @@ -55502,7 +55660,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_v2/problem:TestCaseTemplate", @@ -55553,7 +55712,7 @@ "docs": null }, "type_v2/problem:GetGeneratedTestCaseTemplateFileRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GetGeneratedTestCaseTemplateFileRequest", @@ -55797,7 +55956,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_v2/problem:TestCaseTemplate", @@ -55833,7 +55993,7 @@ "docs": null }, "type_v2/v3/problem:TestCaseTemplateId": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseTemplateId", @@ -56013,7 +56173,7 @@ "docs": null }, "type_v2/v3/problem:TestCaseId": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseId", @@ -56193,7 +56353,7 @@ "docs": null }, "type_v2/v3/problem:ParameterId": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ParameterId", @@ -56373,7 +56533,7 @@ "docs": null }, "type_v2/v3/problem:ProblemInfoV2": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "ProblemInfoV2", @@ -57613,7 +57773,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:ProblemId", @@ -57673,7 +57834,7 @@ "docs": null }, "type_v2/v3/problem:LightweightProblemInfoV2": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "LightweightProblemInfoV2", @@ -58090,7 +58251,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:ProblemId", @@ -58109,7 +58271,7 @@ "docs": null }, "type_v2/v3/problem:CreateProblemRequestV2": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "CreateProblemRequestV2", @@ -59047,7 +59209,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_problem:ProblemDescription", @@ -59105,7 +59268,7 @@ "docs": null }, "type_v2/v3/problem:TestCaseV2": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseV2", @@ -60018,7 +60181,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_v2/v3/problem:TestCaseMetadata", @@ -60067,7 +60231,7 @@ "docs": null }, "type_v2/v3/problem:TestCaseExpects": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseExpects", @@ -60259,7 +60423,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -60273,7 +60438,7 @@ "docs": null }, "type_v2/v3/problem:TestCaseImplementationReference": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseImplementationReference", @@ -60810,7 +60975,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_v2/v3/problem:TestCaseTemplateId", @@ -60845,7 +61011,7 @@ "docs": null }, "type_v2/v3/problem:BasicTestCaseTemplate": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "BasicTestCaseTemplate", @@ -61544,7 +61710,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_v2/v3/problem:TestCaseTemplateId", @@ -61563,7 +61730,7 @@ "docs": null }, "type_v2/v3/problem:TestCaseTemplate": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseTemplate", @@ -62091,7 +62258,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_v2/v3/problem:TestCaseTemplateId", @@ -62126,7 +62294,7 @@ "docs": null }, "type_v2/v3/problem:TestCaseImplementation": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseImplementation", @@ -62617,7 +62785,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_v2/v3/problem:TestCaseImplementationDescription", @@ -62650,7 +62819,7 @@ "docs": null }, "type_v2/v3/problem:TestCaseFunction": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseFunction", @@ -63160,7 +63329,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_v2/v3/problem:TestCaseWithActualResultImplementation", @@ -63190,7 +63360,7 @@ "docs": null }, "type_v2/v3/problem:TestCaseWithActualResultImplementation": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseWithActualResultImplementation", @@ -63681,7 +63851,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_v2/v3/problem:NonVoidFunctionDefinition", @@ -63709,7 +63880,7 @@ "docs": null }, "type_v2/v3/problem:VoidFunctionDefinition": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "VoidFunctionDefinition", @@ -64206,7 +64377,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_v2/v3/problem:Parameter", @@ -64229,7 +64401,7 @@ "docs": null }, "type_v2/v3/problem:Parameter": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Parameter", @@ -64680,7 +64852,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_v2/v3/problem:ParameterId", @@ -64699,7 +64872,7 @@ "docs": null }, "type_v2/v3/problem:NonVoidFunctionDefinition": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "NonVoidFunctionDefinition", @@ -65190,7 +65363,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_v2/v3/problem:NonVoidFunctionSignature", @@ -65214,7 +65388,7 @@ "docs": null }, "type_v2/v3/problem:VoidFunctionSignature": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "VoidFunctionSignature", @@ -65540,7 +65714,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_v2/v3/problem:Parameter", @@ -65560,7 +65735,7 @@ "docs": null }, "type_v2/v3/problem:NonVoidFunctionSignature": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "NonVoidFunctionSignature", @@ -65980,7 +66155,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_v2/v3/problem:Parameter", @@ -66000,7 +66176,7 @@ "docs": null }, "type_v2/v3/problem:VoidFunctionSignatureThatTakesActualResult": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "VoidFunctionSignatureThatTakesActualResult", @@ -66420,7 +66596,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_v2/v3/problem:Parameter", @@ -66440,7 +66617,7 @@ "docs": null }, "type_v2/v3/problem:AssertCorrectnessCheck": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "AssertCorrectnessCheck", @@ -66950,7 +67127,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_v2/v3/problem:DeepEqualityCorrectnessCheck", @@ -66975,7 +67153,7 @@ "docs": null }, "type_v2/v3/problem:DeepEqualityCorrectnessCheck": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "DeepEqualityCorrectnessCheck", @@ -67295,7 +67473,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_v2/v3/problem:ParameterId" @@ -67311,7 +67490,7 @@ "docs": null }, "type_v2/v3/problem:VoidFunctionDefinitionThatTakesActualResult": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "VoidFunctionDefinitionThatTakesActualResult", @@ -67808,7 +67987,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_v2/v3/problem:Parameter", @@ -67831,7 +68011,7 @@ "docs": "The generated signature will include an additional param, actualResult" }, "type_v2/v3/problem:TestCaseImplementationDescription": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseImplementationDescription", @@ -68157,7 +68337,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_v2/v3/problem:TestCaseImplementationDescriptionBoard", @@ -68174,7 +68355,7 @@ "docs": null }, "type_v2/v3/problem:TestCaseImplementationDescriptionBoard": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseImplementationDescriptionBoard", @@ -68604,7 +68785,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_v2/v3/problem:ParameterId" @@ -68620,7 +68802,7 @@ "docs": null }, "type_v2/v3/problem:TestCaseMetadata": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TestCaseMetadata", @@ -69010,7 +69192,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_v2/v3/problem:TestCaseId" @@ -69026,7 +69209,7 @@ "docs": null }, "type_v2/v3/problem:FunctionImplementationForMultipleLanguages": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "FunctionImplementationForMultipleLanguages", @@ -69420,7 +69603,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:Language", @@ -69437,7 +69621,7 @@ "docs": null }, "type_v2/v3/problem:FunctionImplementation": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "FunctionImplementation", @@ -69666,7 +69850,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -69680,7 +69865,7 @@ "docs": null }, "type_v2/v3/problem:GeneratedFiles": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GeneratedFiles", @@ -70564,7 +70749,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:Language", @@ -70582,7 +70768,7 @@ "docs": null }, "type_v2/v3/problem:CustomFiles": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "CustomFiles", @@ -71193,7 +71379,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_v2/v3/problem:BasicCustomFiles", @@ -71222,7 +71409,7 @@ "docs": null }, "type_v2/v3/problem:BasicCustomFiles": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "BasicCustomFiles", @@ -71995,7 +72182,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_v2/v3/problem:NonVoidFunctionSignature", @@ -72023,7 +72211,7 @@ "docs": null }, "type_v2/v3/problem:Files": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Files", @@ -72349,7 +72537,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_v2/v3/problem:FileInfoV2" @@ -72365,7 +72554,7 @@ "docs": null }, "type_v2/v3/problem:FileInfoV2": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "FileInfoV2", @@ -72658,7 +72847,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -72672,7 +72862,7 @@ "docs": null }, "type_v2/v3/problem:DefaultProvidedFile": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "DefaultProvidedFile", @@ -73092,7 +73282,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_v2/v3/problem:FileInfoV2", @@ -73111,7 +73302,7 @@ "docs": null }, "type_v2/v3/problem:FunctionSignature": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "FunctionSignature", @@ -73791,7 +73982,8 @@ "availability": null, "docs": "Useful when specifying custom grading for a testcase where actualResult is defined." } - ] + ], + "inline": null }, "referencedTypes": [ "type_v2/v3/problem:VoidFunctionSignature", @@ -73814,7 +74006,7 @@ "docs": null }, "type_v2/v3/problem:GetFunctionSignatureRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GetFunctionSignatureRequest", @@ -74134,7 +74326,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_v2/v3/problem:FunctionSignature", @@ -74158,7 +74351,7 @@ "docs": null }, "type_v2/v3/problem:GetFunctionSignatureResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GetFunctionSignatureResponse", @@ -74418,7 +74611,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:Language" @@ -74434,7 +74628,7 @@ "docs": null }, "type_v2/v3/problem:GetBasicSolutionFileRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GetBasicSolutionFileRequest", @@ -74791,7 +74985,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_v2/v3/problem:NonVoidFunctionSignature", @@ -74812,7 +75007,7 @@ "docs": null }, "type_v2/v3/problem:GetBasicSolutionFileResponse": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GetBasicSolutionFileResponse", @@ -75206,7 +75401,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_commons:Language", @@ -75223,7 +75419,7 @@ "docs": null }, "type_v2/v3/problem:GetGeneratedTestCaseFileRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GetGeneratedTestCaseFileRequest", @@ -75720,7 +75916,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_v2/v3/problem:TestCaseTemplate", @@ -75771,7 +75968,7 @@ "docs": null }, "type_v2/v3/problem:GetGeneratedTestCaseTemplateFileRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GetGeneratedTestCaseTemplateFileRequest", @@ -76091,7 +76288,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_v2/v3/problem:TestCaseTemplate", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/ts-express-casing.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/ts-express-casing.json index 7dd164a2303..15c2a6ae8f7 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/ts-express-casing.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/ts-express-casing.json @@ -56,7 +56,7 @@ "idempotencyHeaders": [], "types": { "type_imdb:MovieId": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "MovieId", @@ -159,7 +159,7 @@ "docs": null }, "type_imdb:Movie": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Movie", @@ -399,7 +399,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_imdb:MovieId" diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/undiscriminated-unions.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/undiscriminated-unions.json index 16c6edf30c4..d3dd159fa53 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/undiscriminated-unions.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/undiscriminated-unions.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_union:TypeWithOptionalUnion": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "TypeWithOptionalUnion", @@ -203,7 +203,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_union:MyUnion" @@ -219,7 +220,7 @@ "docs": null }, "type_union:MyUnion": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "MyUnion", @@ -402,7 +403,8 @@ }, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [], "encoding": { @@ -416,7 +418,7 @@ "docs": "Several different types are accepted." }, "type_union:Metadata": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Metadata", @@ -1251,7 +1253,7 @@ "docs": "Undiscriminated unions can act as a map key\nas long as all of their values are valid keys\n(i.e. do they have a valid string representation)." }, "type_union:Key": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Key", @@ -1404,7 +1406,8 @@ }, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_union:KeyType" @@ -1420,7 +1423,7 @@ "docs": null }, "type_union:KeyType": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "KeyType", @@ -1542,7 +1545,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/unions.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/unions.json index beb4272005d..d645689e7cd 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/unions.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/unions.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_types:Union": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Union", @@ -364,7 +364,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_types:Foo", @@ -381,7 +382,7 @@ "docs": "This is a simple union." }, "type_types:UnionWithDiscriminant": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UnionWithDiscriminant", @@ -714,7 +715,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_types:Foo", @@ -731,7 +733,7 @@ "docs": null }, "type_types:UnionWithPrimitive": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UnionWithPrimitive", @@ -950,7 +952,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [], "encoding": { @@ -964,7 +967,7 @@ "docs": null }, "type_types:UnionWithoutKey": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UnionWithoutKey", @@ -1243,7 +1246,8 @@ "availability": null, "docs": "This is a bar field." } - ] + ], + "inline": null }, "referencedTypes": [ "type_types:Foo", @@ -1260,7 +1264,7 @@ "docs": null }, "type_types:UnionWithUnknown": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UnionWithUnknown", @@ -1476,7 +1480,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_types:Foo" @@ -1492,7 +1497,7 @@ "docs": null }, "type_types:UnionWithLiteral": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UnionWithLiteral", @@ -1684,7 +1689,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [], "encoding": { @@ -1698,7 +1704,7 @@ "docs": null }, "type_types:UnionWithBaseProperties": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UnionWithBaseProperties", @@ -2048,7 +2054,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_types:Foo" @@ -2064,7 +2071,7 @@ "docs": null }, "type_types:UnionWithTime": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UnionWithTime", @@ -2338,7 +2345,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [], "encoding": { @@ -2352,7 +2360,7 @@ "docs": null }, "type_types:UnionWithOptionalTime": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UnionWithOptionalTime", @@ -2575,7 +2583,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [], "encoding": { @@ -2589,7 +2598,7 @@ "docs": null }, "type_types:UnionWithSingleElement": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UnionWithSingleElement", @@ -2775,7 +2784,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_types:Foo" @@ -2791,7 +2801,7 @@ "docs": null }, "type_types:Foo": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Foo", @@ -2900,7 +2910,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -2914,7 +2925,7 @@ "docs": null }, "type_types:Bar": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Bar", @@ -3023,7 +3034,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -3037,7 +3049,7 @@ "docs": null }, "type_union:GetShapeRequest": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "GetShapeRequest", @@ -3146,7 +3158,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -3160,7 +3173,7 @@ "docs": null }, "type_union:Shape": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Shape", @@ -3477,7 +3490,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [ "type_union:Circle", @@ -3494,7 +3508,7 @@ "docs": null }, "type_union:Circle": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Circle", @@ -3603,7 +3617,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { @@ -3617,7 +3632,7 @@ "docs": null }, "type_union:Square": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Square", @@ -3726,7 +3741,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/unknown.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/unknown.json index 5f2c7f4076d..d99a2a230c3 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/unknown.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/unknown.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_unknown:MyAlias": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "MyAlias", @@ -118,7 +118,7 @@ "docs": null }, "type_unknown:MyObject": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "MyObject", @@ -219,7 +219,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/validation.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/validation.json index 1c02b764553..98bca557928 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/validation.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/validation.json @@ -31,7 +31,7 @@ "idempotencyHeaders": [], "types": { "type_:SmallInteger": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "SmallInteger", @@ -102,7 +102,7 @@ "docs": null }, "type_:LargeInteger": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "LargeInteger", @@ -173,7 +173,7 @@ "docs": null }, "type_:Double": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Double", @@ -244,7 +244,7 @@ "docs": null }, "type_:Word": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Word", @@ -314,7 +314,7 @@ "docs": null }, "type_:Sentence": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Sentence", @@ -384,7 +384,7 @@ "docs": null }, "type_:Shape": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Shape", @@ -519,7 +519,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null }, "referencedTypes": [], "encoding": { @@ -533,7 +534,7 @@ "docs": null }, "type_:Type": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "Type", @@ -751,7 +752,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_:Shape" diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/version-no-default.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/version-no-default.json index e41b7e4fb7f..2d3175ee561 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/version-no-default.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/version-no-default.json @@ -121,7 +121,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null } }, "apiName": { @@ -154,7 +155,7 @@ "idempotencyHeaders": [], "types": { "type_user:UserId": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UserId", @@ -257,7 +258,7 @@ "docs": null }, "type_user:User": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "User", @@ -460,7 +461,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_user:UserId" diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/version.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/version.json index 2d15f1e6123..2b63a5854fe 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/version.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/version.json @@ -146,7 +146,8 @@ "availability": null, "docs": null } - ] + ], + "inline": null } }, "apiName": { @@ -179,7 +180,7 @@ "idempotencyHeaders": [], "types": { "type_user:UserId": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "UserId", @@ -282,7 +283,7 @@ "docs": null }, "type_user:User": { - "inline": false, + "inline": null, "name": { "name": { "originalName": "User", @@ -485,7 +486,8 @@ } ], "extra-properties": false, - "extendedProperties": [] + "extendedProperties": [], + "inline": null }, "referencedTypes": [ "type_user:UserId" diff --git a/packages/cli/register/src/ir-to-fdr-converter/__test__/__snapshots__/inline-types.json b/packages/cli/register/src/ir-to-fdr-converter/__test__/__snapshots__/inline-types.json index dfbf46bd25a..b95250fbcd0 100644 --- a/packages/cli/register/src/ir-to-fdr-converter/__test__/__snapshots__/inline-types.json +++ b/packages/cli/register/src/ir-to-fdr-converter/__test__/__snapshots__/inline-types.json @@ -1,54 +1,5 @@ { "types": { - "type_:DiscriminatedUnion1": { - "name": "DiscriminatedUnion1", - "shape": { - "type": "discriminatedUnion", - "discriminant": "type", - "variants": [ - { - "discriminantValue": "type1", - "additionalProperties": { - "extends": [ - "type_:InlineType1" - ], - "properties": [] - } - }, - { - "discriminantValue": "type2", - "additionalProperties": { - "extends": [ - "type_:MixedInlineType1" - ], - "properties": [] - } - } - ] - } - }, - "type_:UndiscriminatedUnion1": { - "name": "UndiscriminatedUnion1", - "shape": { - "type": "undiscriminatedUnion", - "variants": [ - { - "typeName": "InlineType1", - "type": { - "type": "id", - "value": "type_:InlineType1" - } - }, - { - "typeName": "MixedInlineType1", - "type": { - "type": "id", - "value": "type_:MixedInlineType1" - } - } - ] - } - }, "type_:RootType1": { "name": "RootType1", "shape": { @@ -70,13 +21,6 @@ "type": "id", "value": "type_:InlineType1" } - }, - { - "key": "two", - "valueType": { - "type": "id", - "value": "type_:MixedInlineType1" - } } ], "extraProperties": { @@ -84,26 +28,26 @@ } } }, - "type_:RootType2": { - "name": "RootType2", + "type_:InlineType1": { + "name": "InlineType1", "shape": { "type": "object", "extends": [], "properties": [ { - "key": "one", + "key": "foo", "valueType": { "type": "primitive", "value": { - "type": "integer" + "type": "string" } } }, { - "key": "two", + "key": "bar", "valueType": { "type": "id", - "value": "type_:MixedInlineType1" + "value": "type_:NestedInlineType1" } } ], @@ -112,27 +56,20 @@ } } }, - "type_:InlineType1": { - "name": "InlineType1", + "type_:InlineType2": { + "name": "InlineType2", "shape": { "type": "object", "extends": [], "properties": [ { - "key": "foo", + "key": "baz", "valueType": { "type": "primitive", "value": { "type": "string" } } - }, - { - "key": "bar", - "valueType": { - "type": "id", - "value": "type_:NestedInlineType1" - } } ], "extraProperties": { @@ -170,34 +107,53 @@ } } }, - "type_:MixedInlineType1": { - "name": "MixedInlineType1", + "type_:InlinedDiscriminatedUnion1": { + "name": "InlinedDiscriminatedUnion1", "shape": { - "type": "object", - "extends": [], - "properties": [ + "type": "discriminatedUnion", + "discriminant": "type", + "variants": [ { - "key": "foo", - "valueType": { - "type": "primitive", - "value": { - "type": "string" - } + "discriminantValue": "type1", + "additionalProperties": { + "extends": [ + "type_:InlineType1" + ], + "properties": [] } }, { - "key": "bar", - "valueType": { - "type": "primitive", - "value": { - "type": "string" - } + "discriminantValue": "type2", + "additionalProperties": { + "extends": [ + "type_:InlineType2" + ], + "properties": [] } } - ], - "extraProperties": { - "type": "unknown" - } + ] + } + }, + "type_:InlinedUndiscriminatedUnion1": { + "name": "InlinedUndiscriminatedUnion1", + "shape": { + "type": "undiscriminatedUnion", + "variants": [ + { + "typeName": "InlineType1", + "type": { + "type": "id", + "value": "type_:InlineType1" + } + }, + { + "typeName": "InlineType2", + "type": { + "type": "id", + "value": "type_:InlineType2" + } + } + ] } } }, @@ -301,10 +257,6 @@ "foo": "foo", "bar": "bar" } - }, - "two": { - "foo": "foo", - "bar": "bar" } }, "responseBodyV3": { @@ -317,69 +269,6 @@ "foo": "foo", "bar": "bar" } - }, - "two": { - "foo": "foo", - "bar": "bar" - } - } - }, - "codeSamples": [] - } - ] - }, - { - "auth": false, - "method": "GET", - "id": "getInline", - "originalEndpointId": "endpoint_.getInline", - "name": "Get Inline", - "path": { - "pathParameters": [], - "parts": [ - { - "type": "literal", - "value": "/root" - }, - { - "type": "literal", - "value": "/inline" - } - ] - }, - "queryParameters": [], - "headers": [], - "response": { - "type": { - "type": "reference", - "value": { - "type": "id", - "value": "type_:InlineType1" - } - } - }, - "errorsV2": [], - "examples": [ - { - "path": "/root/inline", - "pathParameters": {}, - "queryParameters": {}, - "headers": {}, - "responseStatusCode": 200, - "responseBody": { - "foo": "foo", - "bar": { - "foo": "foo", - "bar": "bar" - } - }, - "responseBodyV3": { - "type": "json", - "value": { - "foo": "foo", - "bar": { - "foo": "foo", - "bar": "bar" } } }, @@ -391,13 +280,12 @@ "webhooks": [], "websockets": [], "types": [ - "type_:DiscriminatedUnion1", - "type_:UndiscriminatedUnion1", "type_:RootType1", - "type_:RootType2", "type_:InlineType1", + "type_:InlineType2", "type_:NestedInlineType1", - "type_:MixedInlineType1" + "type_:InlinedDiscriminatedUnion1", + "type_:InlinedUndiscriminatedUnion1" ], "subpackages": [] }, From 756f5fa33f03bd2d88a781224e479452f7e23b0e Mon Sep 17 00:00:00 2001 From: Niels Swimberghe <3382717+Swimburger@users.noreply.github.com> Date: Mon, 25 Nov 2024 16:18:15 -0500 Subject: [PATCH 17/20] Update test definitions to include enum and (un)discriminated unions --- .../__test__/__snapshots__/ir.test.ts.snap | 5 +- .../test-definitions/inline-types.json | 147 +++ .../inline-types/type__InlineEnum.json | 10 + .../inline-types/type__InlineType1.json | 15 +- .../type__InlinedDiscriminatedUnion1.json | 15 +- .../type__InlinedUndiscriminatedUnion1.json | 15 +- .../inline-types/type__NestedInlineType1.json | 18 +- .../inline-types/type__RootType1.json | 15 +- .../inline-schema-reference.json | 991 +++++++++++++----- .../test-definitions/inline-types.json | 463 +++++++- .../__test__/__snapshots__/inline-types.json | 42 +- .../apis/inline-schema-reference/openapi.yml | 38 +- .../inline-types/definition/__package__.yml | 9 + 13 files changed, 1490 insertions(+), 293 deletions(-) create mode 100644 packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__InlineEnum.json diff --git a/generators/go-v2/dynamic-snippets/src/__test__/__snapshots__/ir.test.ts.snap b/generators/go-v2/dynamic-snippets/src/__test__/__snapshots__/ir.test.ts.snap index bc0562e3fce..a5975a147af 100644 --- a/generators/go-v2/dynamic-snippets/src/__test__/__snapshots__/ir.test.ts.snap +++ b/generators/go-v2/dynamic-snippets/src/__test__/__snapshots__/ir.test.ts.snap @@ -3661,8 +3661,9 @@ func do() { Bar: &acme.InlineType1{ Foo: "foo", Bar: &acme.NestedInlineType1{ - Foo: "foo", - Bar: "bar", + Foo: "foo", + Bar: "bar", + MyEnum: acme.InlineEnumSunny, }, }, Foo: "foo", diff --git a/packages/cli/dynamic-snippets/src/__test__/test-definitions/inline-types.json b/packages/cli/dynamic-snippets/src/__test__/test-definitions/inline-types.json index bb214c1b5ab..23dd9812125 100644 --- a/packages/cli/dynamic-snippets/src/__test__/test-definitions/inline-types.json +++ b/packages/cli/dynamic-snippets/src/__test__/test-definitions/inline-types.json @@ -318,6 +318,34 @@ "_type": "primitive", "value": "STRING" } + }, + { + "name": { + "name": { + "originalName": "myEnum", + "camelCase": { + "unsafeName": "myEnum", + "safeName": "myEnum" + }, + "snakeCase": { + "unsafeName": "my_enum", + "safeName": "my_enum" + }, + "screamingSnakeCase": { + "unsafeName": "MY_ENUM", + "safeName": "MY_ENUM" + }, + "pascalCase": { + "unsafeName": "MyEnum", + "safeName": "MyEnum" + } + }, + "wireValue": "myEnum" + }, + "typeReference": { + "_type": "named", + "value": "type_:InlineEnum" + } } ] }, @@ -466,6 +494,125 @@ "value": "type_:InlineType2" } ] + }, + "type_:InlineEnum": { + "type": "enum", + "declaration": { + "name": { + "originalName": "InlineEnum", + "camelCase": { + "unsafeName": "inlineEnum", + "safeName": "inlineEnum" + }, + "snakeCase": { + "unsafeName": "inline_enum", + "safeName": "inline_enum" + }, + "screamingSnakeCase": { + "unsafeName": "INLINE_ENUM", + "safeName": "INLINE_ENUM" + }, + "pascalCase": { + "unsafeName": "InlineEnum", + "safeName": "InlineEnum" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + } + }, + "values": [ + { + "name": { + "originalName": "SUNNY", + "camelCase": { + "unsafeName": "sunny", + "safeName": "sunny" + }, + "snakeCase": { + "unsafeName": "sunny", + "safeName": "sunny" + }, + "screamingSnakeCase": { + "unsafeName": "SUNNY", + "safeName": "SUNNY" + }, + "pascalCase": { + "unsafeName": "Sunny", + "safeName": "Sunny" + } + }, + "wireValue": "SUNNY" + }, + { + "name": { + "originalName": "CLOUDY", + "camelCase": { + "unsafeName": "cloudy", + "safeName": "cloudy" + }, + "snakeCase": { + "unsafeName": "cloudy", + "safeName": "cloudy" + }, + "screamingSnakeCase": { + "unsafeName": "CLOUDY", + "safeName": "CLOUDY" + }, + "pascalCase": { + "unsafeName": "Cloudy", + "safeName": "Cloudy" + } + }, + "wireValue": "CLOUDY" + }, + { + "name": { + "originalName": "RAINING", + "camelCase": { + "unsafeName": "raining", + "safeName": "raining" + }, + "snakeCase": { + "unsafeName": "raining", + "safeName": "raining" + }, + "screamingSnakeCase": { + "unsafeName": "RAINING", + "safeName": "RAINING" + }, + "pascalCase": { + "unsafeName": "Raining", + "safeName": "Raining" + } + }, + "wireValue": "RAINING" + }, + { + "name": { + "originalName": "SNOWING", + "camelCase": { + "unsafeName": "snowing", + "safeName": "snowing" + }, + "snakeCase": { + "unsafeName": "snowing", + "safeName": "snowing" + }, + "screamingSnakeCase": { + "unsafeName": "SNOWING", + "safeName": "SNOWING" + }, + "pascalCase": { + "unsafeName": "Snowing", + "safeName": "Snowing" + } + }, + "wireValue": "SNOWING" + } + ] } }, "headers": [], diff --git a/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__InlineEnum.json b/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__InlineEnum.json new file mode 100644 index 00000000000..247b41d0eb2 --- /dev/null +++ b/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__InlineEnum.json @@ -0,0 +1,10 @@ +{ + "type": "string", + "enum": [ + "SUNNY", + "CLOUDY", + "RAINING", + "SNOWING" + ], + "definitions": {} +} \ No newline at end of file diff --git a/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__InlineType1.json b/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__InlineType1.json index 0f687ba769b..5204fe27698 100644 --- a/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__InlineType1.json +++ b/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__InlineType1.json @@ -14,6 +14,15 @@ ], "additionalProperties": false, "definitions": { + "InlineEnum": { + "type": "string", + "enum": [ + "SUNNY", + "CLOUDY", + "RAINING", + "SNOWING" + ] + }, "NestedInlineType1": { "type": "object", "properties": { @@ -22,11 +31,15 @@ }, "bar": { "type": "string" + }, + "myEnum": { + "$ref": "#/definitions/InlineEnum" } }, "required": [ "foo", - "bar" + "bar", + "myEnum" ], "additionalProperties": false } diff --git a/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__InlinedDiscriminatedUnion1.json b/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__InlinedDiscriminatedUnion1.json index f8e1c0071c4..8b87c341009 100644 --- a/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__InlinedDiscriminatedUnion1.json +++ b/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__InlinedDiscriminatedUnion1.json @@ -47,6 +47,15 @@ } ], "definitions": { + "InlineEnum": { + "type": "string", + "enum": [ + "SUNNY", + "CLOUDY", + "RAINING", + "SNOWING" + ] + }, "NestedInlineType1": { "type": "object", "properties": { @@ -55,11 +64,15 @@ }, "bar": { "type": "string" + }, + "myEnum": { + "$ref": "#/definitions/InlineEnum" } }, "required": [ "foo", - "bar" + "bar", + "myEnum" ], "additionalProperties": false } diff --git a/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__InlinedUndiscriminatedUnion1.json b/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__InlinedUndiscriminatedUnion1.json index 74f6f217e42..6cd71fc31ed 100644 --- a/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__InlinedUndiscriminatedUnion1.json +++ b/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__InlinedUndiscriminatedUnion1.json @@ -8,6 +8,15 @@ } ], "definitions": { + "InlineEnum": { + "type": "string", + "enum": [ + "SUNNY", + "CLOUDY", + "RAINING", + "SNOWING" + ] + }, "NestedInlineType1": { "type": "object", "properties": { @@ -16,11 +25,15 @@ }, "bar": { "type": "string" + }, + "myEnum": { + "$ref": "#/definitions/InlineEnum" } }, "required": [ "foo", - "bar" + "bar", + "myEnum" ], "additionalProperties": false }, diff --git a/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__NestedInlineType1.json b/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__NestedInlineType1.json index a86a97251cf..45e73a2f960 100644 --- a/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__NestedInlineType1.json +++ b/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__NestedInlineType1.json @@ -6,12 +6,26 @@ }, "bar": { "type": "string" + }, + "myEnum": { + "$ref": "#/definitions/InlineEnum" } }, "required": [ "foo", - "bar" + "bar", + "myEnum" ], "additionalProperties": false, - "definitions": {} + "definitions": { + "InlineEnum": { + "type": "string", + "enum": [ + "SUNNY", + "CLOUDY", + "RAINING", + "SNOWING" + ] + } + } } \ No newline at end of file diff --git a/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__RootType1.json b/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__RootType1.json index c436c581a2c..2e21be35674 100644 --- a/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__RootType1.json +++ b/packages/cli/fern-definition/ir-to-jsonschema/src/__test__/__snapshots__/inline-types/type__RootType1.json @@ -14,6 +14,15 @@ ], "additionalProperties": false, "definitions": { + "InlineEnum": { + "type": "string", + "enum": [ + "SUNNY", + "CLOUDY", + "RAINING", + "SNOWING" + ] + }, "NestedInlineType1": { "type": "object", "properties": { @@ -22,11 +31,15 @@ }, "bar": { "type": "string" + }, + "myEnum": { + "$ref": "#/definitions/InlineEnum" } }, "required": [ "foo", - "bar" + "bar", + "myEnum" ], "additionalProperties": false }, diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/inline-schema-reference.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/inline-schema-reference.json index 3e482bc8c22..aed7c967372 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/inline-schema-reference.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/inline-schema-reference.json @@ -133,7 +133,14 @@ }, "referencedTypes": [ "type_:Schema1", - "type_:Schema2" + "type_:Schema2", + "type_:Schema2TestEnum", + "type_:Schema2TestDiscriminatedUnion", + "type_:Schema2TestDiscriminatedUnionZero", + "type_:Schema2TestDiscriminatedUnionOne", + "type_:Schema2TestUnion", + "type_:Schema2TestUnionA", + "type_:Schema2TestUnionB" ], "encoding": { "json": {}, @@ -1019,26 +1026,26 @@ "availability": null, "docs": null }, - "type_:Schema2": { + "type_:Schema2TestEnum": { "inline": null, "name": { "name": { - "originalName": "Schema2", + "originalName": "Schema2TestEnum", "camelCase": { - "unsafeName": "schema2", - "safeName": "schema2" + "unsafeName": "schema2TestEnum", + "safeName": "schema2TestEnum" }, "snakeCase": { - "unsafeName": "schema2", - "safeName": "schema2" + "unsafeName": "schema2test_enum", + "safeName": "schema2test_enum" }, "screamingSnakeCase": { - "unsafeName": "SCHEMA2", - "safeName": "SCHEMA2" + "unsafeName": "SCHEMA2TEST_ENUM", + "safeName": "SCHEMA2TEST_ENUM" }, "pascalCase": { - "unsafeName": "Schema2", - "safeName": "Schema2" + "unsafeName": "Schema2TestEnum", + "safeName": "Schema2TestEnum" } }, "fernFilepath": { @@ -1046,51 +1053,34 @@ "packagePath": [], "file": null }, - "typeId": "type_:Schema2" + "typeId": "type_:Schema2TestEnum" }, "shape": { - "_type": "object", - "extends": [], - "properties": [ + "_type": "enum", + "default": null, + "values": [ { "name": { "name": { - "originalName": "email", + "originalName": "test1", "camelCase": { - "unsafeName": "email", - "safeName": "email" + "unsafeName": "test1", + "safeName": "test1" }, "snakeCase": { - "unsafeName": "email", - "safeName": "email" + "unsafeName": "test1", + "safeName": "test1" }, "screamingSnakeCase": { - "unsafeName": "EMAIL", - "safeName": "EMAIL" + "unsafeName": "TEST1", + "safeName": "TEST1" }, "pascalCase": { - "unsafeName": "Email", - "safeName": "Email" + "unsafeName": "Test1", + "safeName": "Test1" } }, - "wireValue": "email" - }, - "valueType": { - "_type": "container", - "container": { - "_type": "optional", - "optional": { - "_type": "primitive", - "primitive": { - "v1": "STRING", - "v2": { - "type": "string", - "default": null, - "validation": null - } - } - } - } + "wireValue": "test1" }, "availability": null, "docs": null @@ -1098,49 +1088,56 @@ { "name": { "name": { - "originalName": "age", + "originalName": "test2", "camelCase": { - "unsafeName": "age", - "safeName": "age" + "unsafeName": "test2", + "safeName": "test2" }, "snakeCase": { - "unsafeName": "age", - "safeName": "age" + "unsafeName": "test2", + "safeName": "test2" }, "screamingSnakeCase": { - "unsafeName": "AGE", - "safeName": "AGE" + "unsafeName": "TEST2", + "safeName": "TEST2" }, "pascalCase": { - "unsafeName": "Age", - "safeName": "Age" + "unsafeName": "Test2", + "safeName": "Test2" } }, - "wireValue": "age" + "wireValue": "test2" }, - "valueType": { - "_type": "container", - "container": { - "_type": "optional", - "optional": { - "_type": "primitive", - "primitive": { - "v1": "INTEGER", - "v2": { - "type": "integer", - "default": null, - "validation": null - } - } + "availability": null, + "docs": null + }, + { + "name": { + "name": { + "originalName": "test3", + "camelCase": { + "unsafeName": "test3", + "safeName": "test3" + }, + "snakeCase": { + "unsafeName": "test3", + "safeName": "test3" + }, + "screamingSnakeCase": { + "unsafeName": "TEST3", + "safeName": "TEST3" + }, + "pascalCase": { + "unsafeName": "Test3", + "safeName": "Test3" } - } + }, + "wireValue": "test3" }, "availability": null, "docs": null } ], - "extra-properties": false, - "extendedProperties": [], "inline": null }, "referencedTypes": [], @@ -1154,26 +1151,26 @@ "availability": null, "docs": null }, - "type_:RootSchema1BarInnerBar": { + "type_:Schema2TestDiscriminatedUnionZero": { "inline": true, "name": { "name": { - "originalName": "RootSchema1BarInnerBar", + "originalName": "Schema2TestDiscriminatedUnionZero", "camelCase": { - "unsafeName": "rootSchema1BarInnerBar", - "safeName": "rootSchema1BarInnerBar" + "unsafeName": "schema2TestDiscriminatedUnionZero", + "safeName": "schema2TestDiscriminatedUnionZero" }, "snakeCase": { - "unsafeName": "root_schema1bar_inner_bar", - "safeName": "root_schema1bar_inner_bar" + "unsafeName": "schema2test_discriminated_union_zero", + "safeName": "schema2test_discriminated_union_zero" }, "screamingSnakeCase": { - "unsafeName": "ROOT_SCHEMA1BAR_INNER_BAR", - "safeName": "ROOT_SCHEMA1BAR_INNER_BAR" + "unsafeName": "SCHEMA2TEST_DISCRIMINATED_UNION_ZERO", + "safeName": "SCHEMA2TEST_DISCRIMINATED_UNION_ZERO" }, "pascalCase": { - "unsafeName": "RootSchema1BarInnerBar", - "safeName": "RootSchema1BarInnerBar" + "unsafeName": "Schema2TestDiscriminatedUnionZero", + "safeName": "Schema2TestDiscriminatedUnionZero" } }, "fernFilepath": { @@ -1181,7 +1178,7 @@ "packagePath": [], "file": null }, - "typeId": "type_:RootSchema1BarInnerBar" + "typeId": "type_:Schema2TestDiscriminatedUnionZero" }, "shape": { "_type": "object", @@ -1190,25 +1187,25 @@ { "name": { "name": { - "originalName": "foo", + "originalName": "objectType", "camelCase": { - "unsafeName": "foo", - "safeName": "foo" + "unsafeName": "objectType", + "safeName": "objectType" }, "snakeCase": { - "unsafeName": "foo", - "safeName": "foo" + "unsafeName": "object_type", + "safeName": "object_type" }, "screamingSnakeCase": { - "unsafeName": "FOO", - "safeName": "FOO" + "unsafeName": "OBJECT_TYPE", + "safeName": "OBJECT_TYPE" }, "pascalCase": { - "unsafeName": "Foo", - "safeName": "Foo" + "unsafeName": "ObjectType", + "safeName": "ObjectType" } }, - "wireValue": "foo" + "wireValue": "objectType" }, "valueType": { "_type": "container", @@ -1229,29 +1226,78 @@ }, "availability": null, "docs": null + } + ], + "extra-properties": false, + "extendedProperties": [], + "inline": true + }, + "referencedTypes": [], + "encoding": { + "json": {}, + "proto": null + }, + "source": null, + "userProvidedExamples": [], + "autogeneratedExamples": [], + "availability": null, + "docs": null + }, + "type_:Schema2TestDiscriminatedUnionOne": { + "inline": true, + "name": { + "name": { + "originalName": "Schema2TestDiscriminatedUnionOne", + "camelCase": { + "unsafeName": "schema2TestDiscriminatedUnionOne", + "safeName": "schema2TestDiscriminatedUnionOne" + }, + "snakeCase": { + "unsafeName": "schema2test_discriminated_union_one", + "safeName": "schema2test_discriminated_union_one" }, + "screamingSnakeCase": { + "unsafeName": "SCHEMA2TEST_DISCRIMINATED_UNION_ONE", + "safeName": "SCHEMA2TEST_DISCRIMINATED_UNION_ONE" + }, + "pascalCase": { + "unsafeName": "Schema2TestDiscriminatedUnionOne", + "safeName": "Schema2TestDiscriminatedUnionOne" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:Schema2TestDiscriminatedUnionOne" + }, + "shape": { + "_type": "object", + "extends": [], + "properties": [ { "name": { "name": { - "originalName": "bar", + "originalName": "objectType", "camelCase": { - "unsafeName": "bar", - "safeName": "bar" + "unsafeName": "objectType", + "safeName": "objectType" }, "snakeCase": { - "unsafeName": "bar", - "safeName": "bar" + "unsafeName": "object_type", + "safeName": "object_type" }, "screamingSnakeCase": { - "unsafeName": "BAR", - "safeName": "BAR" + "unsafeName": "OBJECT_TYPE", + "safeName": "OBJECT_TYPE" }, "pascalCase": { - "unsafeName": "Bar", - "safeName": "Bar" + "unsafeName": "ObjectType", + "safeName": "ObjectType" } }, - "wireValue": "bar" + "wireValue": "objectType" }, "valueType": { "_type": "container", @@ -1289,26 +1335,26 @@ "availability": null, "docs": null }, - "type_:RootSchema1Bar": { + "type_:Schema2TestDiscriminatedUnion": { "inline": true, "name": { "name": { - "originalName": "RootSchema1Bar", + "originalName": "Schema2TestDiscriminatedUnion", "camelCase": { - "unsafeName": "rootSchema1Bar", - "safeName": "rootSchema1Bar" + "unsafeName": "schema2TestDiscriminatedUnion", + "safeName": "schema2TestDiscriminatedUnion" }, "snakeCase": { - "unsafeName": "root_schema1bar", - "safeName": "root_schema1bar" + "unsafeName": "schema2test_discriminated_union", + "safeName": "schema2test_discriminated_union" }, "screamingSnakeCase": { - "unsafeName": "ROOT_SCHEMA1BAR", - "safeName": "ROOT_SCHEMA1BAR" + "unsafeName": "SCHEMA2TEST_DISCRIMINATED_UNION", + "safeName": "SCHEMA2TEST_DISCRIMINATED_UNION" }, "pascalCase": { - "unsafeName": "RootSchema1Bar", - "safeName": "RootSchema1Bar" + "unsafeName": "Schema2TestDiscriminatedUnion", + "safeName": "Schema2TestDiscriminatedUnion" } }, "fernFilepath": { @@ -1316,124 +1362,83 @@ "packagePath": [], "file": null }, - "typeId": "type_:RootSchema1Bar" + "typeId": "type_:Schema2TestDiscriminatedUnion" }, "shape": { - "_type": "object", - "extends": [], - "properties": [ + "_type": "undiscriminatedUnion", + "members": [ { - "name": { + "type": { + "_type": "named", "name": { - "originalName": "foo", + "originalName": "Schema2TestDiscriminatedUnionZero", "camelCase": { - "unsafeName": "foo", - "safeName": "foo" + "unsafeName": "schema2TestDiscriminatedUnionZero", + "safeName": "schema2TestDiscriminatedUnionZero" }, "snakeCase": { - "unsafeName": "foo", - "safeName": "foo" + "unsafeName": "schema2test_discriminated_union_zero", + "safeName": "schema2test_discriminated_union_zero" }, "screamingSnakeCase": { - "unsafeName": "FOO", - "safeName": "FOO" + "unsafeName": "SCHEMA2TEST_DISCRIMINATED_UNION_ZERO", + "safeName": "SCHEMA2TEST_DISCRIMINATED_UNION_ZERO" }, "pascalCase": { - "unsafeName": "Foo", - "safeName": "Foo" + "unsafeName": "Schema2TestDiscriminatedUnionZero", + "safeName": "Schema2TestDiscriminatedUnionZero" } }, - "wireValue": "foo" - }, - "valueType": { - "_type": "container", - "container": { - "_type": "optional", - "optional": { - "_type": "primitive", - "primitive": { - "v1": "STRING", - "v2": { - "type": "string", - "default": null, - "validation": null - } - } - } - } + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:Schema2TestDiscriminatedUnionZero", + "default": null, + "inline": null }, - "availability": null, "docs": null }, { - "name": { + "type": { + "_type": "named", "name": { - "originalName": "inner_bar", + "originalName": "Schema2TestDiscriminatedUnionOne", "camelCase": { - "unsafeName": "innerBar", - "safeName": "innerBar" + "unsafeName": "schema2TestDiscriminatedUnionOne", + "safeName": "schema2TestDiscriminatedUnionOne" }, "snakeCase": { - "unsafeName": "inner_bar", - "safeName": "inner_bar" + "unsafeName": "schema2test_discriminated_union_one", + "safeName": "schema2test_discriminated_union_one" }, "screamingSnakeCase": { - "unsafeName": "INNER_BAR", - "safeName": "INNER_BAR" + "unsafeName": "SCHEMA2TEST_DISCRIMINATED_UNION_ONE", + "safeName": "SCHEMA2TEST_DISCRIMINATED_UNION_ONE" }, "pascalCase": { - "unsafeName": "InnerBar", - "safeName": "InnerBar" + "unsafeName": "Schema2TestDiscriminatedUnionOne", + "safeName": "Schema2TestDiscriminatedUnionOne" } }, - "wireValue": "inner_bar" - }, - "valueType": { - "_type": "container", - "container": { - "_type": "optional", - "optional": { - "_type": "named", - "name": { - "originalName": "RootSchema1BarInnerBar", - "camelCase": { - "unsafeName": "rootSchema1BarInnerBar", - "safeName": "rootSchema1BarInnerBar" - }, - "snakeCase": { - "unsafeName": "root_schema1bar_inner_bar", - "safeName": "root_schema1bar_inner_bar" - }, - "screamingSnakeCase": { - "unsafeName": "ROOT_SCHEMA1BAR_INNER_BAR", - "safeName": "ROOT_SCHEMA1BAR_INNER_BAR" - }, - "pascalCase": { - "unsafeName": "RootSchema1BarInnerBar", - "safeName": "RootSchema1BarInnerBar" - } - }, - "fernFilepath": { - "allParts": [], - "packagePath": [], - "file": null - }, - "typeId": "type_:RootSchema1BarInnerBar", - "default": null, - "inline": null - } - } + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:Schema2TestDiscriminatedUnionOne", + "default": null, + "inline": null }, - "availability": null, "docs": null } ], - "extra-properties": false, - "extendedProperties": [], "inline": true }, "referencedTypes": [ - "type_:RootSchema1BarInnerBar" + "type_:Schema2TestDiscriminatedUnionZero", + "type_:Schema2TestDiscriminatedUnionOne" ], "encoding": { "json": {}, @@ -1445,26 +1450,26 @@ "availability": null, "docs": null }, - "type_:RootSchema1": { - "inline": null, + "type_:Schema2TestUnionA": { + "inline": true, "name": { "name": { - "originalName": "RootSchema1", + "originalName": "Schema2TestUnionA", "camelCase": { - "unsafeName": "rootSchema1", - "safeName": "rootSchema1" + "unsafeName": "schema2TestUnionA", + "safeName": "schema2TestUnionA" }, "snakeCase": { - "unsafeName": "root_schema1", - "safeName": "root_schema1" + "unsafeName": "schema2test_union_a", + "safeName": "schema2test_union_a" }, "screamingSnakeCase": { - "unsafeName": "ROOT_SCHEMA1", - "safeName": "ROOT_SCHEMA1" + "unsafeName": "SCHEMA2TEST_UNION_A", + "safeName": "SCHEMA2TEST_UNION_A" }, "pascalCase": { - "unsafeName": "RootSchema1", - "safeName": "RootSchema1" + "unsafeName": "Schema2TestUnionA", + "safeName": "Schema2TestUnionA" } }, "fernFilepath": { @@ -1472,7 +1477,7 @@ "packagePath": [], "file": null }, - "typeId": "type_:RootSchema1" + "typeId": "type_:Schema2TestUnionA" }, "shape": { "_type": "object", @@ -1481,25 +1486,25 @@ { "name": { "name": { - "originalName": "foo", + "originalName": "a", "camelCase": { - "unsafeName": "foo", - "safeName": "foo" + "unsafeName": "a", + "safeName": "a" }, "snakeCase": { - "unsafeName": "foo", - "safeName": "foo" + "unsafeName": "a", + "safeName": "a" }, "screamingSnakeCase": { - "unsafeName": "FOO", - "safeName": "FOO" + "unsafeName": "A", + "safeName": "A" }, "pascalCase": { - "unsafeName": "Foo", - "safeName": "Foo" + "unsafeName": "A", + "safeName": "A" } }, - "wireValue": "foo" + "wireValue": "a" }, "valueType": { "_type": "container", @@ -1520,29 +1525,495 @@ }, "availability": null, "docs": null - }, - { - "name": { - "name": { - "originalName": "bar", - "camelCase": { - "unsafeName": "bar", - "safeName": "bar" - }, - "snakeCase": { - "unsafeName": "bar", - "safeName": "bar" + } + ], + "extra-properties": false, + "extendedProperties": [], + "inline": true + }, + "referencedTypes": [], + "encoding": { + "json": {}, + "proto": null + }, + "source": null, + "userProvidedExamples": [], + "autogeneratedExamples": [], + "availability": null, + "docs": null + }, + "type_:Schema2TestUnionB": { + "inline": true, + "name": { + "name": { + "originalName": "Schema2TestUnionB", + "camelCase": { + "unsafeName": "schema2TestUnionB", + "safeName": "schema2TestUnionB" + }, + "snakeCase": { + "unsafeName": "schema2test_union_b", + "safeName": "schema2test_union_b" + }, + "screamingSnakeCase": { + "unsafeName": "SCHEMA2TEST_UNION_B", + "safeName": "SCHEMA2TEST_UNION_B" + }, + "pascalCase": { + "unsafeName": "Schema2TestUnionB", + "safeName": "Schema2TestUnionB" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:Schema2TestUnionB" + }, + "shape": { + "_type": "object", + "extends": [], + "properties": [ + { + "name": { + "name": { + "originalName": "b", + "camelCase": { + "unsafeName": "b", + "safeName": "b" + }, + "snakeCase": { + "unsafeName": "b", + "safeName": "b" }, "screamingSnakeCase": { - "unsafeName": "BAR", - "safeName": "BAR" + "unsafeName": "B", + "safeName": "B" }, "pascalCase": { - "unsafeName": "Bar", - "safeName": "Bar" + "unsafeName": "B", + "safeName": "B" } }, - "wireValue": "bar" + "wireValue": "b" + }, + "valueType": { + "_type": "container", + "container": { + "_type": "optional", + "optional": { + "_type": "primitive", + "primitive": { + "v1": "STRING", + "v2": { + "type": "string", + "default": null, + "validation": null + } + } + } + } + }, + "availability": null, + "docs": null + } + ], + "extra-properties": false, + "extendedProperties": [], + "inline": true + }, + "referencedTypes": [], + "encoding": { + "json": {}, + "proto": null + }, + "source": null, + "userProvidedExamples": [], + "autogeneratedExamples": [], + "availability": null, + "docs": null + }, + "type_:Schema2TestUnion": { + "inline": true, + "name": { + "name": { + "originalName": "Schema2TestUnion", + "camelCase": { + "unsafeName": "schema2TestUnion", + "safeName": "schema2TestUnion" + }, + "snakeCase": { + "unsafeName": "schema2test_union", + "safeName": "schema2test_union" + }, + "screamingSnakeCase": { + "unsafeName": "SCHEMA2TEST_UNION", + "safeName": "SCHEMA2TEST_UNION" + }, + "pascalCase": { + "unsafeName": "Schema2TestUnion", + "safeName": "Schema2TestUnion" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:Schema2TestUnion" + }, + "shape": { + "_type": "undiscriminatedUnion", + "members": [ + { + "type": { + "_type": "named", + "name": { + "originalName": "Schema2TestUnionA", + "camelCase": { + "unsafeName": "schema2TestUnionA", + "safeName": "schema2TestUnionA" + }, + "snakeCase": { + "unsafeName": "schema2test_union_a", + "safeName": "schema2test_union_a" + }, + "screamingSnakeCase": { + "unsafeName": "SCHEMA2TEST_UNION_A", + "safeName": "SCHEMA2TEST_UNION_A" + }, + "pascalCase": { + "unsafeName": "Schema2TestUnionA", + "safeName": "Schema2TestUnionA" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:Schema2TestUnionA", + "default": null, + "inline": null + }, + "docs": null + }, + { + "type": { + "_type": "named", + "name": { + "originalName": "Schema2TestUnionB", + "camelCase": { + "unsafeName": "schema2TestUnionB", + "safeName": "schema2TestUnionB" + }, + "snakeCase": { + "unsafeName": "schema2test_union_b", + "safeName": "schema2test_union_b" + }, + "screamingSnakeCase": { + "unsafeName": "SCHEMA2TEST_UNION_B", + "safeName": "SCHEMA2TEST_UNION_B" + }, + "pascalCase": { + "unsafeName": "Schema2TestUnionB", + "safeName": "Schema2TestUnionB" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:Schema2TestUnionB", + "default": null, + "inline": null + }, + "docs": null + } + ], + "inline": true + }, + "referencedTypes": [ + "type_:Schema2TestUnionA", + "type_:Schema2TestUnionB" + ], + "encoding": { + "json": {}, + "proto": null + }, + "source": null, + "userProvidedExamples": [], + "autogeneratedExamples": [], + "availability": null, + "docs": null + }, + "type_:Schema2": { + "inline": null, + "name": { + "name": { + "originalName": "Schema2", + "camelCase": { + "unsafeName": "schema2", + "safeName": "schema2" + }, + "snakeCase": { + "unsafeName": "schema2", + "safeName": "schema2" + }, + "screamingSnakeCase": { + "unsafeName": "SCHEMA2", + "safeName": "SCHEMA2" + }, + "pascalCase": { + "unsafeName": "Schema2", + "safeName": "Schema2" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:Schema2" + }, + "shape": { + "_type": "object", + "extends": [], + "properties": [ + { + "name": { + "name": { + "originalName": "email", + "camelCase": { + "unsafeName": "email", + "safeName": "email" + }, + "snakeCase": { + "unsafeName": "email", + "safeName": "email" + }, + "screamingSnakeCase": { + "unsafeName": "EMAIL", + "safeName": "EMAIL" + }, + "pascalCase": { + "unsafeName": "Email", + "safeName": "Email" + } + }, + "wireValue": "email" + }, + "valueType": { + "_type": "container", + "container": { + "_type": "optional", + "optional": { + "_type": "primitive", + "primitive": { + "v1": "STRING", + "v2": { + "type": "string", + "default": null, + "validation": null + } + } + } + } + }, + "availability": null, + "docs": null + }, + { + "name": { + "name": { + "originalName": "age", + "camelCase": { + "unsafeName": "age", + "safeName": "age" + }, + "snakeCase": { + "unsafeName": "age", + "safeName": "age" + }, + "screamingSnakeCase": { + "unsafeName": "AGE", + "safeName": "AGE" + }, + "pascalCase": { + "unsafeName": "Age", + "safeName": "Age" + } + }, + "wireValue": "age" + }, + "valueType": { + "_type": "container", + "container": { + "_type": "optional", + "optional": { + "_type": "primitive", + "primitive": { + "v1": "INTEGER", + "v2": { + "type": "integer", + "default": null, + "validation": null + } + } + } + } + }, + "availability": null, + "docs": null + }, + { + "name": { + "name": { + "originalName": "testEnum", + "camelCase": { + "unsafeName": "testEnum", + "safeName": "testEnum" + }, + "snakeCase": { + "unsafeName": "test_enum", + "safeName": "test_enum" + }, + "screamingSnakeCase": { + "unsafeName": "TEST_ENUM", + "safeName": "TEST_ENUM" + }, + "pascalCase": { + "unsafeName": "TestEnum", + "safeName": "TestEnum" + } + }, + "wireValue": "testEnum" + }, + "valueType": { + "_type": "container", + "container": { + "_type": "optional", + "optional": { + "_type": "named", + "name": { + "originalName": "Schema2TestEnum", + "camelCase": { + "unsafeName": "schema2TestEnum", + "safeName": "schema2TestEnum" + }, + "snakeCase": { + "unsafeName": "schema2test_enum", + "safeName": "schema2test_enum" + }, + "screamingSnakeCase": { + "unsafeName": "SCHEMA2TEST_ENUM", + "safeName": "SCHEMA2TEST_ENUM" + }, + "pascalCase": { + "unsafeName": "Schema2TestEnum", + "safeName": "Schema2TestEnum" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:Schema2TestEnum", + "default": null, + "inline": null + } + } + }, + "availability": null, + "docs": null + }, + { + "name": { + "name": { + "originalName": "testDiscriminatedUnion", + "camelCase": { + "unsafeName": "testDiscriminatedUnion", + "safeName": "testDiscriminatedUnion" + }, + "snakeCase": { + "unsafeName": "test_discriminated_union", + "safeName": "test_discriminated_union" + }, + "screamingSnakeCase": { + "unsafeName": "TEST_DISCRIMINATED_UNION", + "safeName": "TEST_DISCRIMINATED_UNION" + }, + "pascalCase": { + "unsafeName": "TestDiscriminatedUnion", + "safeName": "TestDiscriminatedUnion" + } + }, + "wireValue": "testDiscriminatedUnion" + }, + "valueType": { + "_type": "container", + "container": { + "_type": "optional", + "optional": { + "_type": "named", + "name": { + "originalName": "Schema2TestDiscriminatedUnion", + "camelCase": { + "unsafeName": "schema2TestDiscriminatedUnion", + "safeName": "schema2TestDiscriminatedUnion" + }, + "snakeCase": { + "unsafeName": "schema2test_discriminated_union", + "safeName": "schema2test_discriminated_union" + }, + "screamingSnakeCase": { + "unsafeName": "SCHEMA2TEST_DISCRIMINATED_UNION", + "safeName": "SCHEMA2TEST_DISCRIMINATED_UNION" + }, + "pascalCase": { + "unsafeName": "Schema2TestDiscriminatedUnion", + "safeName": "Schema2TestDiscriminatedUnion" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:Schema2TestDiscriminatedUnion", + "default": null, + "inline": null + } + } + }, + "availability": null, + "docs": null + }, + { + "name": { + "name": { + "originalName": "testUnion", + "camelCase": { + "unsafeName": "testUnion", + "safeName": "testUnion" + }, + "snakeCase": { + "unsafeName": "test_union", + "safeName": "test_union" + }, + "screamingSnakeCase": { + "unsafeName": "TEST_UNION", + "safeName": "TEST_UNION" + }, + "pascalCase": { + "unsafeName": "TestUnion", + "safeName": "TestUnion" + } + }, + "wireValue": "testUnion" }, "valueType": { "_type": "container", @@ -1551,22 +2022,22 @@ "optional": { "_type": "named", "name": { - "originalName": "RootSchema1Bar", + "originalName": "Schema2TestUnion", "camelCase": { - "unsafeName": "rootSchema1Bar", - "safeName": "rootSchema1Bar" + "unsafeName": "schema2TestUnion", + "safeName": "schema2TestUnion" }, "snakeCase": { - "unsafeName": "root_schema1bar", - "safeName": "root_schema1bar" + "unsafeName": "schema2test_union", + "safeName": "schema2test_union" }, "screamingSnakeCase": { - "unsafeName": "ROOT_SCHEMA1BAR", - "safeName": "ROOT_SCHEMA1BAR" + "unsafeName": "SCHEMA2TEST_UNION", + "safeName": "SCHEMA2TEST_UNION" }, "pascalCase": { - "unsafeName": "RootSchema1Bar", - "safeName": "RootSchema1Bar" + "unsafeName": "Schema2TestUnion", + "safeName": "Schema2TestUnion" } }, "fernFilepath": { @@ -1574,7 +2045,7 @@ "packagePath": [], "file": null }, - "typeId": "type_:RootSchema1Bar", + "typeId": "type_:Schema2TestUnion", "default": null, "inline": null } @@ -1589,8 +2060,13 @@ "inline": null }, "referencedTypes": [ - "type_:RootSchema1Bar", - "type_:RootSchema1BarInnerBar" + "type_:Schema2TestEnum", + "type_:Schema2TestDiscriminatedUnion", + "type_:Schema2TestDiscriminatedUnionZero", + "type_:Schema2TestDiscriminatedUnionOne", + "type_:Schema2TestUnion", + "type_:Schema2TestUnionA", + "type_:Schema2TestUnionB" ], "encoding": { "json": {}, @@ -4052,14 +4528,17 @@ "type_:PostRootResponseBar", "type_:PostRootResponse", "type_:Schema1", + "type_:Schema2TestEnum", + "type_:Schema2TestDiscriminatedUnionZero", + "type_:Schema2TestDiscriminatedUnionOne", + "type_:Schema2TestDiscriminatedUnion", + "type_:Schema2TestUnionA", + "type_:Schema2TestUnionB", + "type_:Schema2TestUnion", "type_:Schema2" ] }, - "sharedTypes": [ - "type_:RootSchema1BarInnerBar", - "type_:RootSchema1Bar", - "type_:RootSchema1" - ] + "sharedTypes": [] }, "webhookGroups": {}, "websocketChannels": {}, @@ -4083,10 +4562,14 @@ "type_:PostRootResponseBar", "type_:PostRootResponse", "type_:Schema1", - "type_:Schema2", - "type_:RootSchema1BarInnerBar", - "type_:RootSchema1Bar", - "type_:RootSchema1" + "type_:Schema2TestEnum", + "type_:Schema2TestDiscriminatedUnionZero", + "type_:Schema2TestDiscriminatedUnionOne", + "type_:Schema2TestDiscriminatedUnion", + "type_:Schema2TestUnionA", + "type_:Schema2TestUnionB", + "type_:Schema2TestUnion", + "type_:Schema2" ], "errors": [], "subpackages": [], diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/inline-types.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/inline-types.json index 71a73c2777c..bdf893ed675 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/inline-types.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/inline-types.json @@ -163,7 +163,8 @@ }, "referencedTypes": [ "type_:InlineType1", - "type_:NestedInlineType1" + "type_:NestedInlineType1", + "type_:InlineEnum" ], "encoding": { "json": {}, @@ -307,7 +308,8 @@ "inline": true }, "referencedTypes": [ - "type_:NestedInlineType1" + "type_:NestedInlineType1", + "type_:InlineEnum" ], "encoding": { "json": {}, @@ -511,13 +513,71 @@ }, "availability": null, "docs": null + }, + { + "name": { + "name": { + "originalName": "myEnum", + "camelCase": { + "unsafeName": "myEnum", + "safeName": "myEnum" + }, + "snakeCase": { + "unsafeName": "my_enum", + "safeName": "my_enum" + }, + "screamingSnakeCase": { + "unsafeName": "MY_ENUM", + "safeName": "MY_ENUM" + }, + "pascalCase": { + "unsafeName": "MyEnum", + "safeName": "MyEnum" + } + }, + "wireValue": "myEnum" + }, + "valueType": { + "_type": "named", + "name": { + "originalName": "InlineEnum", + "camelCase": { + "unsafeName": "inlineEnum", + "safeName": "inlineEnum" + }, + "snakeCase": { + "unsafeName": "inline_enum", + "safeName": "inline_enum" + }, + "screamingSnakeCase": { + "unsafeName": "INLINE_ENUM", + "safeName": "INLINE_ENUM" + }, + "pascalCase": { + "unsafeName": "InlineEnum", + "safeName": "InlineEnum" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:InlineEnum", + "default": null, + "inline": null + }, + "availability": null, + "docs": null } ], "extra-properties": false, "extendedProperties": [], "inline": true }, - "referencedTypes": [], + "referencedTypes": [ + "type_:InlineEnum" + ], "encoding": { "json": {}, "proto": null @@ -700,6 +760,7 @@ "referencedTypes": [ "type_:InlineType1", "type_:NestedInlineType1", + "type_:InlineEnum", "type_:InlineType2" ], "encoding": { @@ -816,6 +877,7 @@ "referencedTypes": [ "type_:InlineType1", "type_:NestedInlineType1", + "type_:InlineEnum", "type_:InlineType2" ], "encoding": { @@ -827,6 +889,157 @@ "autogeneratedExamples": [], "availability": null, "docs": null + }, + "type_:InlineEnum": { + "inline": true, + "name": { + "name": { + "originalName": "InlineEnum", + "camelCase": { + "unsafeName": "inlineEnum", + "safeName": "inlineEnum" + }, + "snakeCase": { + "unsafeName": "inline_enum", + "safeName": "inline_enum" + }, + "screamingSnakeCase": { + "unsafeName": "INLINE_ENUM", + "safeName": "INLINE_ENUM" + }, + "pascalCase": { + "unsafeName": "InlineEnum", + "safeName": "InlineEnum" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:InlineEnum" + }, + "shape": { + "_type": "enum", + "default": null, + "values": [ + { + "name": { + "name": { + "originalName": "SUNNY", + "camelCase": { + "unsafeName": "sunny", + "safeName": "sunny" + }, + "snakeCase": { + "unsafeName": "sunny", + "safeName": "sunny" + }, + "screamingSnakeCase": { + "unsafeName": "SUNNY", + "safeName": "SUNNY" + }, + "pascalCase": { + "unsafeName": "Sunny", + "safeName": "Sunny" + } + }, + "wireValue": "SUNNY" + }, + "availability": null, + "docs": null + }, + { + "name": { + "name": { + "originalName": "CLOUDY", + "camelCase": { + "unsafeName": "cloudy", + "safeName": "cloudy" + }, + "snakeCase": { + "unsafeName": "cloudy", + "safeName": "cloudy" + }, + "screamingSnakeCase": { + "unsafeName": "CLOUDY", + "safeName": "CLOUDY" + }, + "pascalCase": { + "unsafeName": "Cloudy", + "safeName": "Cloudy" + } + }, + "wireValue": "CLOUDY" + }, + "availability": null, + "docs": null + }, + { + "name": { + "name": { + "originalName": "RAINING", + "camelCase": { + "unsafeName": "raining", + "safeName": "raining" + }, + "snakeCase": { + "unsafeName": "raining", + "safeName": "raining" + }, + "screamingSnakeCase": { + "unsafeName": "RAINING", + "safeName": "RAINING" + }, + "pascalCase": { + "unsafeName": "Raining", + "safeName": "Raining" + } + }, + "wireValue": "RAINING" + }, + "availability": null, + "docs": null + }, + { + "name": { + "name": { + "originalName": "SNOWING", + "camelCase": { + "unsafeName": "snowing", + "safeName": "snowing" + }, + "snakeCase": { + "unsafeName": "snowing", + "safeName": "snowing" + }, + "screamingSnakeCase": { + "unsafeName": "SNOWING", + "safeName": "SNOWING" + }, + "pascalCase": { + "unsafeName": "Snowing", + "safeName": "Snowing" + } + }, + "wireValue": "SNOWING" + }, + "availability": null, + "docs": null + } + ], + "inline": true + }, + "referencedTypes": [], + "encoding": { + "json": {}, + "proto": null + }, + "source": null, + "userProvidedExamples": [], + "autogeneratedExamples": [], + "availability": null, + "docs": null } }, "errors": {}, @@ -1126,7 +1339,7 @@ "autogeneratedExamples": [ { "example": { - "id": "502112939948ceda2f872fd9d3deaca252b262eb", + "id": "9cd41e603ec7775a338b95cab82902d42d7df333", "url": "/root/root", "name": null, "endpointHeaders": [], @@ -1412,6 +1625,115 @@ }, "jsonExample": "bar" } + }, + { + "name": { + "name": { + "originalName": "myEnum", + "camelCase": { + "unsafeName": "myEnum", + "safeName": "myEnum" + }, + "snakeCase": { + "unsafeName": "my_enum", + "safeName": "my_enum" + }, + "screamingSnakeCase": { + "unsafeName": "MY_ENUM", + "safeName": "MY_ENUM" + }, + "pascalCase": { + "unsafeName": "MyEnum", + "safeName": "MyEnum" + } + }, + "wireValue": "myEnum" + }, + "originalTypeDeclaration": { + "name": { + "originalName": "NestedInlineType1", + "camelCase": { + "unsafeName": "nestedInlineType1", + "safeName": "nestedInlineType1" + }, + "snakeCase": { + "unsafeName": "nested_inline_type1", + "safeName": "nested_inline_type1" + }, + "screamingSnakeCase": { + "unsafeName": "NESTED_INLINE_TYPE1", + "safeName": "NESTED_INLINE_TYPE1" + }, + "pascalCase": { + "unsafeName": "NestedInlineType1", + "safeName": "NestedInlineType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:NestedInlineType1" + }, + "value": { + "shape": { + "type": "named", + "shape": { + "type": "enum", + "value": { + "name": { + "originalName": "SUNNY", + "camelCase": { + "unsafeName": "sunny", + "safeName": "sunny" + }, + "snakeCase": { + "unsafeName": "sunny", + "safeName": "sunny" + }, + "screamingSnakeCase": { + "unsafeName": "SUNNY", + "safeName": "SUNNY" + }, + "pascalCase": { + "unsafeName": "Sunny", + "safeName": "Sunny" + } + }, + "wireValue": "SUNNY" + } + }, + "typeName": { + "name": { + "originalName": "InlineEnum", + "camelCase": { + "unsafeName": "inlineEnum", + "safeName": "inlineEnum" + }, + "snakeCase": { + "unsafeName": "inline_enum", + "safeName": "inline_enum" + }, + "screamingSnakeCase": { + "unsafeName": "INLINE_ENUM", + "safeName": "INLINE_ENUM" + }, + "pascalCase": { + "unsafeName": "InlineEnum", + "safeName": "InlineEnum" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:InlineEnum" + } + }, + "jsonExample": "SUNNY" + } } ] }, @@ -1445,7 +1767,8 @@ }, "jsonExample": { "foo": "foo", - "bar": "bar" + "bar": "bar", + "myEnum": "SUNNY" } } } @@ -1483,7 +1806,8 @@ "foo": "foo", "bar": { "foo": "foo", - "bar": "bar" + "bar": "bar", + "myEnum": "SUNNY" } } } @@ -1531,7 +1855,8 @@ "foo": "foo", "bar": { "foo": "foo", - "bar": "bar" + "bar": "bar", + "myEnum": "SUNNY" } }, "foo": "foo" @@ -1910,6 +2235,115 @@ }, "jsonExample": "bar" } + }, + { + "name": { + "name": { + "originalName": "myEnum", + "camelCase": { + "unsafeName": "myEnum", + "safeName": "myEnum" + }, + "snakeCase": { + "unsafeName": "my_enum", + "safeName": "my_enum" + }, + "screamingSnakeCase": { + "unsafeName": "MY_ENUM", + "safeName": "MY_ENUM" + }, + "pascalCase": { + "unsafeName": "MyEnum", + "safeName": "MyEnum" + } + }, + "wireValue": "myEnum" + }, + "originalTypeDeclaration": { + "name": { + "originalName": "NestedInlineType1", + "camelCase": { + "unsafeName": "nestedInlineType1", + "safeName": "nestedInlineType1" + }, + "snakeCase": { + "unsafeName": "nested_inline_type1", + "safeName": "nested_inline_type1" + }, + "screamingSnakeCase": { + "unsafeName": "NESTED_INLINE_TYPE1", + "safeName": "NESTED_INLINE_TYPE1" + }, + "pascalCase": { + "unsafeName": "NestedInlineType1", + "safeName": "NestedInlineType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:NestedInlineType1" + }, + "value": { + "shape": { + "type": "named", + "shape": { + "type": "enum", + "value": { + "name": { + "originalName": "SUNNY", + "camelCase": { + "unsafeName": "sunny", + "safeName": "sunny" + }, + "snakeCase": { + "unsafeName": "sunny", + "safeName": "sunny" + }, + "screamingSnakeCase": { + "unsafeName": "SUNNY", + "safeName": "SUNNY" + }, + "pascalCase": { + "unsafeName": "Sunny", + "safeName": "Sunny" + } + }, + "wireValue": "SUNNY" + } + }, + "typeName": { + "name": { + "originalName": "InlineEnum", + "camelCase": { + "unsafeName": "inlineEnum", + "safeName": "inlineEnum" + }, + "snakeCase": { + "unsafeName": "inline_enum", + "safeName": "inline_enum" + }, + "screamingSnakeCase": { + "unsafeName": "INLINE_ENUM", + "safeName": "INLINE_ENUM" + }, + "pascalCase": { + "unsafeName": "InlineEnum", + "safeName": "InlineEnum" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + }, + "typeId": "type_:InlineEnum" + } + }, + "jsonExample": "SUNNY" + } } ] }, @@ -1943,7 +2377,8 @@ }, "jsonExample": { "foo": "foo", - "bar": "bar" + "bar": "bar", + "myEnum": "SUNNY" } } } @@ -1981,7 +2416,8 @@ "foo": "foo", "bar": { "foo": "foo", - "bar": "bar" + "bar": "bar", + "myEnum": "SUNNY" } } } @@ -2022,7 +2458,8 @@ "foo": "foo", "bar": { "foo": "foo", - "bar": "bar" + "bar": "bar", + "myEnum": "SUNNY" } } } @@ -2077,7 +2514,8 @@ "service_": [ "type_:RootType1", "type_:InlineType1", - "type_:NestedInlineType1" + "type_:NestedInlineType1", + "type_:InlineEnum" ] }, "sharedTypes": [ @@ -2106,7 +2544,8 @@ "type_:InlineType2", "type_:NestedInlineType1", "type_:InlinedDiscriminatedUnion1", - "type_:InlinedUndiscriminatedUnion1" + "type_:InlinedUndiscriminatedUnion1", + "type_:InlineEnum" ], "errors": [], "subpackages": [], diff --git a/packages/cli/register/src/ir-to-fdr-converter/__test__/__snapshots__/inline-types.json b/packages/cli/register/src/ir-to-fdr-converter/__test__/__snapshots__/inline-types.json index b95250fbcd0..bcdd5f5231b 100644 --- a/packages/cli/register/src/ir-to-fdr-converter/__test__/__snapshots__/inline-types.json +++ b/packages/cli/register/src/ir-to-fdr-converter/__test__/__snapshots__/inline-types.json @@ -100,6 +100,13 @@ "type": "string" } } + }, + { + "key": "myEnum", + "valueType": { + "type": "id", + "value": "type_:InlineEnum" + } } ], "extraProperties": { @@ -155,6 +162,26 @@ } ] } + }, + "type_:InlineEnum": { + "name": "InlineEnum", + "shape": { + "type": "enum", + "values": [ + { + "value": "SUNNY" + }, + { + "value": "CLOUDY" + }, + { + "value": "RAINING" + }, + { + "value": "SNOWING" + } + ] + } } }, "subpackages": {}, @@ -230,7 +257,8 @@ "foo": "foo", "bar": { "foo": "foo", - "bar": "bar" + "bar": "bar", + "myEnum": "SUNNY" } }, "foo": "foo" @@ -242,7 +270,8 @@ "foo": "foo", "bar": { "foo": "foo", - "bar": "bar" + "bar": "bar", + "myEnum": "SUNNY" } }, "foo": "foo" @@ -255,7 +284,8 @@ "foo": "foo", "bar": { "foo": "foo", - "bar": "bar" + "bar": "bar", + "myEnum": "SUNNY" } } }, @@ -267,7 +297,8 @@ "foo": "foo", "bar": { "foo": "foo", - "bar": "bar" + "bar": "bar", + "myEnum": "SUNNY" } } } @@ -285,7 +316,8 @@ "type_:InlineType2", "type_:NestedInlineType1", "type_:InlinedDiscriminatedUnion1", - "type_:InlinedUndiscriminatedUnion1" + "type_:InlinedUndiscriminatedUnion1", + "type_:InlineEnum" ], "subpackages": [] }, diff --git a/test-definitions-openapi/fern/apis/inline-schema-reference/openapi.yml b/test-definitions-openapi/fern/apis/inline-schema-reference/openapi.yml index d1f165df58f..6defb379eb1 100644 --- a/test-definitions-openapi/fern/apis/inline-schema-reference/openapi.yml +++ b/test-definitions-openapi/fern/apis/inline-schema-reference/openapi.yml @@ -86,21 +86,31 @@ components: type: string age: type: integer - - RootSchema1: - type: object - properties: - foo: + testEnum: type: string - bar: - type: object - properties: - foo: - type: string - inner_bar: - type: object + enum: + - test1 + - test2 + - test3 + testDiscriminatedUnion: + discriminator: + propertyName: objectType + oneOf: + - type: object properties: - foo: + objectType: type: string - bar: + - type: object + properties: + objectType: + type: string + testUnion: + oneOf: + - type: object + properties: + a: + type: string + - type: object + properties: + b: type: string diff --git a/test-definitions/fern/apis/inline-types/definition/__package__.yml b/test-definitions/fern/apis/inline-types/definition/__package__.yml index 02411dd2f7d..a2a0cbfac7c 100644 --- a/test-definitions/fern/apis/inline-types/definition/__package__.yml +++ b/test-definitions/fern/apis/inline-types/definition/__package__.yml @@ -37,6 +37,7 @@ types: properties: foo: string bar: string + myEnum: InlineEnum InlinedDiscriminatedUnion1: inline: true @@ -50,3 +51,11 @@ types: union: - type: InlineType1 - type: InlineType2 + + InlineEnum: + inline: true + enum: + - SUNNY + - CLOUDY + - RAINING + - SNOWING From 64227b1c4dc61f4daf270c0a691b035762ac9620 Mon Sep 17 00:00:00 2001 From: Niels Swimberghe <3382717+Swimburger@users.noreply.github.com> Date: Tue, 26 Nov 2024 16:20:38 -0500 Subject: [PATCH 18/20] Move inline to BaseTypeDeclarationSchema in Fern definition, remove redundant inline property from IR shapes --- fern.schema.json | 90 +- .../fern-definition/definition/commons.yml | 4 - .../apis/fern-definition/definition/types.yml | 17 +- package-yml.schema.json | 90 +- .../src/buildTypeDeclaration.ts | 6 + .../api/resources/commons/types/WithInline.ts | 7 - .../api/resources/commons/types/index.ts | 1 - .../types/types/BaseTypeDeclarationSchema.ts | 1 + .../types/types/DiscriminatedUnionSchema.ts | 2 +- .../api/resources/types/types/EnumSchema.ts | 2 +- .../api/resources/types/types/ObjectSchema.ts | 2 +- .../types/types/UndiscriminatedUnionSchema.ts | 4 +- .../resources/commons/types/WithInline.ts | 18 - .../resources/commons/types/index.ts | 1 - .../types/types/BaseTypeDeclarationSchema.ts | 2 + .../types/types/DiscriminatedUnionSchema.ts | 6 +- .../resources/types/types/EnumSchema.ts | 6 +- .../resources/types/types/ObjectSchema.ts | 6 +- .../types/types/UndiscriminatedUnionSchema.ts | 6 +- .../src/ast/visitors/visitTypeDeclarations.ts | 3 +- .../src/__test__/irs/audiences.json | 6 +- .../src/__test__/irs/availability.json | 3 +- .../ir-generator/src/__test__/irs/docs.json | 3 +- .../__test__/irs/environmentAudiences.json | 12 +- .../irs/environmentAudiencesAllHack.json | 9 +- .../irs/environmentAudiencesSelectHack.json | 6 +- .../src/__test__/irs/generics.json | 18 +- .../code-samples-open-api.json | 6 +- .../test-definitions-openapi/enum-casing.json | 11 +- .../inline-schema-reference.json | 1393 ++++++++++++++--- .../test-definitions-openapi/names.json | 6 +- .../test-definitions/alias-extends.json | 6 +- .../src/__test__/test-definitions/alias.json | 3 +- .../__test__/test-definitions/any-auth.json | 6 +- .../__test__/test-definitions/audiences.json | 18 +- .../basic-auth-environment-variables.json | 3 +- .../__test__/test-definitions/basic-auth.json | 3 +- .../circular-references-advanced.json | 24 +- .../test-definitions/circular-references.json | 24 +- .../cross-package-type-names.json | 15 +- .../csharp-grpc-proto-exhaustive.json | 66 +- .../test-definitions/csharp-grpc-proto.json | 12 +- .../csharp-namespace-conflict.json | 15 +- .../test-definitions/custom-auth.json | 3 +- .../src/__test__/test-definitions/enum.json | 9 +- .../test-definitions/error-property.json | 3 +- .../__test__/test-definitions/examples.json | 87 +- .../__test__/test-definitions/exhaustive.json | 57 +- .../__test__/test-definitions/extends.json | 12 +- .../test-definitions/extra-properties.json | 6 +- .../test-definitions/file-upload.json | 6 +- .../test-definitions/go-content-type.json | 3 +- .../test-definitions/idempotency-headers.json | 3 +- .../src/__test__/test-definitions/imdb.json | 6 +- .../test-definitions/inline-types.json | 775 ++++++++- .../__test__/test-definitions/license.json | 3 +- .../__test__/test-definitions/literal.json | 20 +- .../__test__/test-definitions/mixed-case.json | 15 +- .../mixed-file-directory.json | 15 +- .../test-definitions/multi-line-docs.json | 6 +- .../oauth-client-credentials-default.json | 3 +- ...ent-credentials-environment-variables.json | 3 +- .../oauth-client-credentials-nested-root.json | 3 +- .../oauth-client-credentials.json | 3 +- .../src/__test__/test-definitions/object.json | 6 +- .../objects-with-imports.json | 18 +- .../__test__/test-definitions/optional.json | 2 +- .../test-definitions/package-yml.json | 3 +- .../__test__/test-definitions/pagination.json | 48 +- .../test-definitions/path-parameters.json | 6 +- .../test-definitions/query-parameters.json | 6 +- .../test-definitions/reserved-keywords.json | 6 +- .../test-definitions/response-property.json | 15 +- .../server-sent-event-examples.json | 3 +- .../test-definitions/server-sent-events.json | 3 +- .../test-definitions/simple-fhir.json | 21 +- .../test-definitions/streaming-parameter.json | 6 +- .../__test__/test-definitions/streaming.json | 3 +- .../src/__test__/test-definitions/trace.json | 594 +++---- .../test-definitions/ts-express-casing.json | 3 +- .../undiscriminated-unions.json | 12 +- .../src/__test__/test-definitions/unions.json | 48 +- .../__test__/test-definitions/unknown.json | 3 +- .../__test__/test-definitions/validation.json | 6 +- .../test-definitions/version-no-default.json | 6 +- .../__test__/test-definitions/version.json | 6 +- ...onvertDiscriminatedUnionTypeDeclaration.ts | 3 +- .../convertEnumTypeDeclaration.ts | 3 +- .../convertGenericTypeDeclaration.ts | 3 +- .../convertObjectTypeDeclaration.ts | 3 +- ...vertUndiscriminatedUnionTypeDeclaration.ts | 3 +- .../migrateFromV23ToV22.test.ts.snap | 9 - .../lazy-fern-workspace/src/fern.schema.json | 90 +- .../src/package-yml.schema.json | 90 +- .../ir-types-latest/definition/commons.yml | 3 - .../apis/ir-types-latest/definition/types.yml | 4 - .../api/resources/commons/types/WithInline.ts | 7 - .../sdk/api/resources/commons/types/index.ts | 1 - .../types/types/EnumTypeDeclaration.ts | 2 +- .../types/types/ObjectTypeDeclaration.ts | 2 +- .../UndiscriminatedUnionTypeDeclaration.ts | 2 +- .../types/types/UnionTypeDeclaration.ts | 2 +- .../resources/commons/types/WithInline.ts | 18 - .../resources/commons/types/index.ts | 1 - .../types/types/EnumTypeDeclaration.ts | 13 +- .../types/types/ObjectTypeDeclaration.ts | 17 +- .../UndiscriminatedUnionTypeDeclaration.ts | 11 +- .../types/types/UnionTypeDeclaration.ts | 17 +- 108 files changed, 2699 insertions(+), 1412 deletions(-) delete mode 100644 packages/cli/fern-definition/schema/src/schemas/api/resources/commons/types/WithInline.ts delete mode 100644 packages/cli/fern-definition/schema/src/schemas/serialization/resources/commons/types/WithInline.ts delete mode 100644 packages/ir-sdk/src/sdk/api/resources/commons/types/WithInline.ts delete mode 100644 packages/ir-sdk/src/sdk/serialization/resources/commons/types/WithInline.ts diff --git a/fern.schema.json b/fern.schema.json index 8cd5803f6ca..e5cc6843dc6 100644 --- a/fern.schema.json +++ b/fern.schema.json @@ -497,6 +497,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "docs": { "oneOf": [ { @@ -530,16 +540,6 @@ } ] }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "extends": { "oneOf": [ { @@ -710,6 +710,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "docs": { "oneOf": [ { @@ -743,16 +753,6 @@ } ] }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "default": { "oneOf": [ { @@ -1053,6 +1053,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "docs": { "oneOf": [ { @@ -1086,16 +1096,6 @@ } ] }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "discriminant": { "oneOf": [ { @@ -1219,6 +1219,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "docs": { "oneOf": [ { @@ -1252,16 +1262,6 @@ } ] }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "discriminated": { "const": false }, @@ -1314,6 +1314,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "docs": { "oneOf": [ { diff --git a/fern/apis/fern-definition/definition/commons.yml b/fern/apis/fern-definition/definition/commons.yml index 74c132bd6cc..f3eebfb303f 100644 --- a/fern/apis/fern-definition/definition/commons.yml +++ b/fern/apis/fern-definition/definition/commons.yml @@ -22,10 +22,6 @@ types: properties: audiences: optional> - WithInline: - properties: - inline: optional - DeclarationSchema: extends: - WithDocsSchema diff --git a/fern/apis/fern-definition/definition/types.yml b/fern/apis/fern-definition/definition/types.yml index 7d42452f3ef..3352aebba2b 100644 --- a/fern/apis/fern-definition/definition/types.yml +++ b/fern/apis/fern-definition/definition/types.yml @@ -90,6 +90,7 @@ types: examples: optional> encoding: optional source: optional + inline: optional ### Aliases #### @@ -102,9 +103,7 @@ types: #### Objects #### ObjectSchema: - extends: - - BaseTypeDeclarationSchema - - commons.WithInline + extends: BaseTypeDeclarationSchema properties: extends: optional properties: optional> @@ -127,9 +126,7 @@ types: #### Enums #### EnumSchema: - extends: - - BaseTypeDeclarationSchema - - commons.WithInline + extends: BaseTypeDeclarationSchema properties: default: optional enum: list @@ -186,9 +183,7 @@ types: value: string DiscriminatedUnionSchema: - extends: - - BaseTypeDeclarationSchema - - commons.WithInline + extends: BaseTypeDeclarationSchema properties: discriminant: optional extends: optional @@ -210,9 +205,7 @@ types: #### Undiscriminated Union #### UndiscriminatedUnionSchema: - extends: - - BaseTypeDeclarationSchema - - commons.WithInline + extends: BaseTypeDeclarationSchema properties: discriminated: literal union: list diff --git a/package-yml.schema.json b/package-yml.schema.json index 3aff7d071cc..066469c46ac 100644 --- a/package-yml.schema.json +++ b/package-yml.schema.json @@ -517,6 +517,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "docs": { "oneOf": [ { @@ -550,16 +560,6 @@ } ] }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "extends": { "oneOf": [ { @@ -730,6 +730,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "docs": { "oneOf": [ { @@ -763,16 +773,6 @@ } ] }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "default": { "oneOf": [ { @@ -1073,6 +1073,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "docs": { "oneOf": [ { @@ -1106,16 +1116,6 @@ } ] }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "discriminant": { "oneOf": [ { @@ -1239,6 +1239,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "docs": { "oneOf": [ { @@ -1272,16 +1282,6 @@ } ] }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "discriminated": { "const": false }, @@ -1334,6 +1334,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "docs": { "oneOf": [ { diff --git a/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildTypeDeclaration.ts b/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildTypeDeclaration.ts index 9b170b29a73..c23a010f319 100644 --- a/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildTypeDeclaration.ts +++ b/packages/cli/api-importers/openapi/openapi-ir-to-fern/src/buildTypeDeclaration.ts @@ -653,6 +653,12 @@ function convertPropertyTypeReferenceToTypeDefinition({ } } +/** + * Returns whether the declaration should be inlined. + * If a declaration is nested within another declaration, it should be inlined. + * @param declarationDepth Keeps track of how nested the declaration is. + * @returns `true` if the declaration should be inlined, `undefined` otherwise. + */ function getInline(declarationDepth: number): boolean | undefined { return declarationDepth > 0 ? true : undefined; } diff --git a/packages/cli/fern-definition/schema/src/schemas/api/resources/commons/types/WithInline.ts b/packages/cli/fern-definition/schema/src/schemas/api/resources/commons/types/WithInline.ts deleted file mode 100644 index 11f8c862ec5..00000000000 --- a/packages/cli/fern-definition/schema/src/schemas/api/resources/commons/types/WithInline.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export interface WithInline { - inline?: boolean; -} diff --git a/packages/cli/fern-definition/schema/src/schemas/api/resources/commons/types/index.ts b/packages/cli/fern-definition/schema/src/schemas/api/resources/commons/types/index.ts index a4e373adb47..523c41281b1 100644 --- a/packages/cli/fern-definition/schema/src/schemas/api/resources/commons/types/index.ts +++ b/packages/cli/fern-definition/schema/src/schemas/api/resources/commons/types/index.ts @@ -3,7 +3,6 @@ export * from "./WithName"; export * from "./WithAvailability"; export * from "./WithDisplayName"; export * from "./WithAudiences"; -export * from "./WithInline"; export * from "./DeclarationSchema"; export * from "./DeclarationWithoutDocsSchema"; export * from "./DeclarationWithNameSchema"; diff --git a/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/BaseTypeDeclarationSchema.ts b/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/BaseTypeDeclarationSchema.ts index a68fd6984df..7479ce9d2ae 100644 --- a/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/BaseTypeDeclarationSchema.ts +++ b/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/BaseTypeDeclarationSchema.ts @@ -11,4 +11,5 @@ export interface BaseTypeDeclarationSchema examples?: FernDefinition.ExampleTypeSchema[]; encoding?: FernDefinition.EncodingSchema; source?: FernDefinition.SourceSchema; + inline?: boolean; } diff --git a/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/DiscriminatedUnionSchema.ts b/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/DiscriminatedUnionSchema.ts index cefa0e8e2e1..b4444c6fb63 100644 --- a/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/DiscriminatedUnionSchema.ts +++ b/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/DiscriminatedUnionSchema.ts @@ -4,7 +4,7 @@ import * as FernDefinition from "../../../index"; -export interface DiscriminatedUnionSchema extends FernDefinition.BaseTypeDeclarationSchema, FernDefinition.WithInline { +export interface DiscriminatedUnionSchema extends FernDefinition.BaseTypeDeclarationSchema { discriminant?: FernDefinition.UnionDiscriminant; extends?: FernDefinition.ObjectExtendsSchema; "base-properties"?: Record; diff --git a/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/EnumSchema.ts b/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/EnumSchema.ts index 356c19735f1..86dbdf09d7f 100644 --- a/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/EnumSchema.ts +++ b/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/EnumSchema.ts @@ -4,7 +4,7 @@ import * as FernDefinition from "../../../index"; -export interface EnumSchema extends FernDefinition.BaseTypeDeclarationSchema, FernDefinition.WithInline { +export interface EnumSchema extends FernDefinition.BaseTypeDeclarationSchema { default?: string; enum: FernDefinition.EnumValue[]; } diff --git a/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/ObjectSchema.ts b/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/ObjectSchema.ts index 6da5966b74f..db9ec2f7c47 100644 --- a/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/ObjectSchema.ts +++ b/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/ObjectSchema.ts @@ -4,7 +4,7 @@ import * as FernDefinition from "../../../index"; -export interface ObjectSchema extends FernDefinition.BaseTypeDeclarationSchema, FernDefinition.WithInline { +export interface ObjectSchema extends FernDefinition.BaseTypeDeclarationSchema { extends?: FernDefinition.ObjectExtendsSchema; properties?: Record; "extra-properties"?: boolean; diff --git a/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/UndiscriminatedUnionSchema.ts b/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/UndiscriminatedUnionSchema.ts index 0df0bafd384..a0c0284a25f 100644 --- a/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/UndiscriminatedUnionSchema.ts +++ b/packages/cli/fern-definition/schema/src/schemas/api/resources/types/types/UndiscriminatedUnionSchema.ts @@ -4,9 +4,7 @@ import * as FernDefinition from "../../../index"; -export interface UndiscriminatedUnionSchema - extends FernDefinition.BaseTypeDeclarationSchema, - FernDefinition.WithInline { +export interface UndiscriminatedUnionSchema extends FernDefinition.BaseTypeDeclarationSchema { discriminated: false; union: FernDefinition.SingleUndiscriminatedUnionTypeSchema[]; } diff --git a/packages/cli/fern-definition/schema/src/schemas/serialization/resources/commons/types/WithInline.ts b/packages/cli/fern-definition/schema/src/schemas/serialization/resources/commons/types/WithInline.ts deleted file mode 100644 index 2de884ebfd3..00000000000 --- a/packages/cli/fern-definition/schema/src/schemas/serialization/resources/commons/types/WithInline.ts +++ /dev/null @@ -1,18 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../../../index"; -import * as FernDefinition from "../../../../api/index"; -import * as core from "../../../../core"; - -export const WithInline: core.serialization.ObjectSchema = - core.serialization.object({ - inline: core.serialization.boolean().optional(), - }); - -export declare namespace WithInline { - interface Raw { - inline?: boolean | null; - } -} diff --git a/packages/cli/fern-definition/schema/src/schemas/serialization/resources/commons/types/index.ts b/packages/cli/fern-definition/schema/src/schemas/serialization/resources/commons/types/index.ts index a4e373adb47..523c41281b1 100644 --- a/packages/cli/fern-definition/schema/src/schemas/serialization/resources/commons/types/index.ts +++ b/packages/cli/fern-definition/schema/src/schemas/serialization/resources/commons/types/index.ts @@ -3,7 +3,6 @@ export * from "./WithName"; export * from "./WithAvailability"; export * from "./WithDisplayName"; export * from "./WithAudiences"; -export * from "./WithInline"; export * from "./DeclarationSchema"; export * from "./DeclarationWithoutDocsSchema"; export * from "./DeclarationWithNameSchema"; diff --git a/packages/cli/fern-definition/schema/src/schemas/serialization/resources/types/types/BaseTypeDeclarationSchema.ts b/packages/cli/fern-definition/schema/src/schemas/serialization/resources/types/types/BaseTypeDeclarationSchema.ts index 8f8709e330d..510d1aeb0cf 100644 --- a/packages/cli/fern-definition/schema/src/schemas/serialization/resources/types/types/BaseTypeDeclarationSchema.ts +++ b/packages/cli/fern-definition/schema/src/schemas/serialization/resources/types/types/BaseTypeDeclarationSchema.ts @@ -20,6 +20,7 @@ export const BaseTypeDeclarationSchema: core.serialization.ObjectSchema< examples: core.serialization.list(ExampleTypeSchema).optional(), encoding: EncodingSchema.optional(), source: SourceSchema.optional(), + inline: core.serialization.boolean().optional(), }) .extend(WithDocsSchema) .extend(WithAvailability) @@ -30,5 +31,6 @@ export declare namespace BaseTypeDeclarationSchema { examples?: ExampleTypeSchema.Raw[] | null; encoding?: EncodingSchema.Raw | null; source?: SourceSchema.Raw | null; + inline?: boolean | null; } } diff --git a/packages/cli/fern-definition/schema/src/schemas/serialization/resources/types/types/DiscriminatedUnionSchema.ts b/packages/cli/fern-definition/schema/src/schemas/serialization/resources/types/types/DiscriminatedUnionSchema.ts index 7ff831d642a..385f0966724 100644 --- a/packages/cli/fern-definition/schema/src/schemas/serialization/resources/types/types/DiscriminatedUnionSchema.ts +++ b/packages/cli/fern-definition/schema/src/schemas/serialization/resources/types/types/DiscriminatedUnionSchema.ts @@ -10,7 +10,6 @@ import { ObjectExtendsSchema } from "./ObjectExtendsSchema"; import { TypeReferenceSchema } from "./TypeReferenceSchema"; import { SingleUnionTypeSchema } from "./SingleUnionTypeSchema"; import { BaseTypeDeclarationSchema } from "./BaseTypeDeclarationSchema"; -import { WithInline } from "../../commons/types/WithInline"; export const DiscriminatedUnionSchema: core.serialization.ObjectSchema< serializers.DiscriminatedUnionSchema.Raw, @@ -22,11 +21,10 @@ export const DiscriminatedUnionSchema: core.serialization.ObjectSchema< "base-properties": core.serialization.record(core.serialization.string(), TypeReferenceSchema).optional(), union: core.serialization.record(core.serialization.string(), SingleUnionTypeSchema), }) - .extend(BaseTypeDeclarationSchema) - .extend(WithInline); + .extend(BaseTypeDeclarationSchema); export declare namespace DiscriminatedUnionSchema { - interface Raw extends BaseTypeDeclarationSchema.Raw, WithInline.Raw { + interface Raw extends BaseTypeDeclarationSchema.Raw { discriminant?: UnionDiscriminant.Raw | null; extends?: ObjectExtendsSchema.Raw | null; "base-properties"?: Record | null; diff --git a/packages/cli/fern-definition/schema/src/schemas/serialization/resources/types/types/EnumSchema.ts b/packages/cli/fern-definition/schema/src/schemas/serialization/resources/types/types/EnumSchema.ts index 0d535b9cec8..ef9528bdfcb 100644 --- a/packages/cli/fern-definition/schema/src/schemas/serialization/resources/types/types/EnumSchema.ts +++ b/packages/cli/fern-definition/schema/src/schemas/serialization/resources/types/types/EnumSchema.ts @@ -7,7 +7,6 @@ import * as FernDefinition from "../../../../api/index"; import * as core from "../../../../core"; import { EnumValue } from "./EnumValue"; import { BaseTypeDeclarationSchema } from "./BaseTypeDeclarationSchema"; -import { WithInline } from "../../commons/types/WithInline"; export const EnumSchema: core.serialization.ObjectSchema = core.serialization @@ -15,11 +14,10 @@ export const EnumSchema: core.serialization.ObjectSchema = core.serialization @@ -17,11 +16,10 @@ export const ObjectSchema: core.serialization.ObjectSchema | null; "extra-properties"?: boolean | null; diff --git a/packages/cli/fern-definition/schema/src/schemas/serialization/resources/types/types/UndiscriminatedUnionSchema.ts b/packages/cli/fern-definition/schema/src/schemas/serialization/resources/types/types/UndiscriminatedUnionSchema.ts index 7c48334cc09..34c9867b7e5 100644 --- a/packages/cli/fern-definition/schema/src/schemas/serialization/resources/types/types/UndiscriminatedUnionSchema.ts +++ b/packages/cli/fern-definition/schema/src/schemas/serialization/resources/types/types/UndiscriminatedUnionSchema.ts @@ -7,7 +7,6 @@ import * as FernDefinition from "../../../../api/index"; import * as core from "../../../../core"; import { SingleUndiscriminatedUnionTypeSchema } from "./SingleUndiscriminatedUnionTypeSchema"; import { BaseTypeDeclarationSchema } from "./BaseTypeDeclarationSchema"; -import { WithInline } from "../../commons/types/WithInline"; export const UndiscriminatedUnionSchema: core.serialization.ObjectSchema< serializers.UndiscriminatedUnionSchema.Raw, @@ -17,11 +16,10 @@ export const UndiscriminatedUnionSchema: core.serialization.ObjectSchema< discriminated: core.serialization.booleanLiteral(false), union: core.serialization.list(SingleUndiscriminatedUnionTypeSchema), }) - .extend(BaseTypeDeclarationSchema) - .extend(WithInline); + .extend(BaseTypeDeclarationSchema); export declare namespace UndiscriminatedUnionSchema { - interface Raw extends BaseTypeDeclarationSchema.Raw, WithInline.Raw { + interface Raw extends BaseTypeDeclarationSchema.Raw { discriminated: false; union: SingleUndiscriminatedUnionTypeSchema.Raw[]; } diff --git a/packages/cli/fern-definition/validator/src/ast/visitors/visitTypeDeclarations.ts b/packages/cli/fern-definition/validator/src/ast/visitors/visitTypeDeclarations.ts index 08fd8699709..320d3f88a3f 100644 --- a/packages/cli/fern-definition/validator/src/ast/visitors/visitTypeDeclarations.ts +++ b/packages/cli/fern-definition/validator/src/ast/visitors/visitTypeDeclarations.ts @@ -72,7 +72,8 @@ export async function visitTypeDeclaration({ examples: visitExamples, validation: noop, encoding: noop, - source: noop + source: noop, + inline: noop }); } }, diff --git a/packages/cli/generation/ir-generator/src/__test__/irs/audiences.json b/packages/cli/generation/ir-generator/src/__test__/irs/audiences.json index dc428a182bb..aa8902cacc6 100644 --- a/packages/cli/generation/ir-generator/src/__test__/irs/audiences.json +++ b/packages/cli/generation/ir-generator/src/__test__/irs/audiences.json @@ -280,8 +280,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -404,8 +403,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/irs/availability.json b/packages/cli/generation/ir-generator/src/__test__/irs/availability.json index cc36fa68048..48a8a7f42ca 100644 --- a/packages/cli/generation/ir-generator/src/__test__/irs/availability.json +++ b/packages/cli/generation/ir-generator/src/__test__/irs/availability.json @@ -143,8 +143,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/irs/docs.json b/packages/cli/generation/ir-generator/src/__test__/irs/docs.json index 9ea57108abd..dbea4f3c9f9 100644 --- a/packages/cli/generation/ir-generator/src/__test__/irs/docs.json +++ b/packages/cli/generation/ir-generator/src/__test__/irs/docs.json @@ -140,8 +140,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/irs/environmentAudiences.json b/packages/cli/generation/ir-generator/src/__test__/irs/environmentAudiences.json index 582d3547f5a..3bdcdeb4f31 100644 --- a/packages/cli/generation/ir-generator/src/__test__/irs/environmentAudiences.json +++ b/packages/cli/generation/ir-generator/src/__test__/irs/environmentAudiences.json @@ -474,8 +474,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_imdb:MovieId", @@ -639,8 +638,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -902,8 +900,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_imdb:Name" @@ -1131,8 +1128,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/irs/environmentAudiencesAllHack.json b/packages/cli/generation/ir-generator/src/__test__/irs/environmentAudiencesAllHack.json index 3e26fa5711d..c7bb890e9af 100644 --- a/packages/cli/generation/ir-generator/src/__test__/irs/environmentAudiencesAllHack.json +++ b/packages/cli/generation/ir-generator/src/__test__/irs/environmentAudiencesAllHack.json @@ -374,8 +374,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_imdb:MovieId" @@ -537,8 +536,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -661,8 +659,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/irs/environmentAudiencesSelectHack.json b/packages/cli/generation/ir-generator/src/__test__/irs/environmentAudiencesSelectHack.json index 1b8c3a5e64e..988efb7b67a 100644 --- a/packages/cli/generation/ir-generator/src/__test__/irs/environmentAudiencesSelectHack.json +++ b/packages/cli/generation/ir-generator/src/__test__/irs/environmentAudiencesSelectHack.json @@ -280,8 +280,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -404,8 +403,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/irs/generics.json b/packages/cli/generation/ir-generator/src/__test__/irs/generics.json index 1ac75101116..f49bf0477dd 100644 --- a/packages/cli/generation/ir-generator/src/__test__/irs/generics.json +++ b/packages/cli/generation/ir-generator/src/__test__/irs/generics.json @@ -474,8 +474,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_imdb:MovieId", @@ -639,8 +638,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -902,8 +900,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_imdb:Name" @@ -1282,8 +1279,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_imdb:CreateMovieRequest", @@ -1563,8 +1559,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_imdb:Movie", @@ -1843,8 +1838,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_imdb:CreateMovieRequest", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/code-samples-open-api.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/code-samples-open-api.json index bf00211e549..eafc56353f8 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/code-samples-open-api.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/code-samples-open-api.json @@ -234,8 +234,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_:TelemetryData" @@ -402,8 +401,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/enum-casing.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/enum-casing.json index 05c2fa2f0ff..2539210aa96 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/enum-casing.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/enum-casing.json @@ -115,8 +115,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [], "encoding": { @@ -329,8 +328,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_:ExampleResponseStatus" @@ -430,8 +428,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [], "encoding": { @@ -1006,7 +1003,7 @@ "autogeneratedExamples": [ { "example": { - "id": "b86b1b9c1712c1b5c515d3043d84f42a355c37d2", + "id": "0197417040c625c3bcca76fbaf31fc3a4e9c6f4a", "url": "/example", "name": null, "endpointHeaders": [], diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/inline-schema-reference.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/inline-schema-reference.json index 13cc9ccd85a..95328ccb2e3 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/inline-schema-reference.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/inline-schema-reference.json @@ -128,8 +128,7 @@ }, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_:Schema1", @@ -273,8 +272,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": true + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -427,8 +425,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": true + "extendedProperties": [] }, "referencedTypes": [ "type_:PostRootRequestBarInnerBar" @@ -564,8 +561,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": true + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -718,8 +714,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": true + "extendedProperties": [] }, "referencedTypes": [ "type_:PostRootResponseBarInnerBar" @@ -874,8 +869,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_:PostRootResponseBar", @@ -1012,8 +1006,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -1137,8 +1130,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [], "encoding": { @@ -1229,8 +1221,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": true + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -1321,8 +1312,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": true + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -1433,8 +1423,7 @@ }, "docs": null } - ], - "inline": true + ] }, "referencedTypes": [ "type_:Schema2TestDiscriminatedUnionZero", @@ -1528,8 +1517,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": true + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -1620,8 +1608,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": true + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -1732,8 +1719,7 @@ }, "docs": null } - ], - "inline": true + ] }, "referencedTypes": [ "type_:Schema2TestUnionA", @@ -2056,8 +2042,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_:Schema2TestEnum", @@ -4548,26 +4533,26 @@ "dynamic": { "version": "1.0.0", "types": { - "type_:NotFound": { - "type": "object", + "type_:GetExampleResponse": { + "type": "undiscriminatedUnion", "declaration": { "name": { - "originalName": "NotFound", + "originalName": "GetExampleResponse", "camelCase": { - "unsafeName": "notFound", - "safeName": "notFound" + "unsafeName": "getExampleResponse", + "safeName": "getExampleResponse" }, "snakeCase": { - "unsafeName": "not_found", - "safeName": "not_found" + "unsafeName": "get_example_response", + "safeName": "get_example_response" }, "screamingSnakeCase": { - "unsafeName": "NOT_FOUND", - "safeName": "NOT_FOUND" + "unsafeName": "GET_EXAMPLE_RESPONSE", + "safeName": "GET_EXAMPLE_RESPONSE" }, "pascalCase": { - "unsafeName": "NotFound", - "safeName": "NotFound" + "unsafeName": "GetExampleResponse", + "safeName": "GetExampleResponse" } }, "fernFilepath": { @@ -4576,60 +4561,37 @@ "file": null } }, - "properties": [ + "types": [ { - "name": { - "name": { - "originalName": "message", - "camelCase": { - "unsafeName": "message", - "safeName": "message" - }, - "snakeCase": { - "unsafeName": "message", - "safeName": "message" - }, - "screamingSnakeCase": { - "unsafeName": "MESSAGE", - "safeName": "MESSAGE" - }, - "pascalCase": { - "unsafeName": "Message", - "safeName": "Message" - } - }, - "wireValue": "message" - }, - "typeReference": { - "_type": "optional", - "value": { - "_type": "primitive", - "value": "STRING" - } - } + "_type": "named", + "value": "type_:Schema1" + }, + { + "_type": "named", + "value": "type_:Schema2" } ] }, - "type_:GetExampleResponse": { - "type": "undiscriminatedUnion", + "type_:PostRootRequestBarInnerBar": { + "type": "object", "declaration": { "name": { - "originalName": "GetExampleResponse", + "originalName": "PostRootRequestBarInnerBar", "camelCase": { - "unsafeName": "getExampleResponse", - "safeName": "getExampleResponse" + "unsafeName": "postRootRequestBarInnerBar", + "safeName": "postRootRequestBarInnerBar" }, "snakeCase": { - "unsafeName": "get_example_response", - "safeName": "get_example_response" + "unsafeName": "post_root_request_bar_inner_bar", + "safeName": "post_root_request_bar_inner_bar" }, "screamingSnakeCase": { - "unsafeName": "GET_EXAMPLE_RESPONSE", - "safeName": "GET_EXAMPLE_RESPONSE" + "unsafeName": "POST_ROOT_REQUEST_BAR_INNER_BAR", + "safeName": "POST_ROOT_REQUEST_BAR_INNER_BAR" }, "pascalCase": { - "unsafeName": "GetExampleResponse", - "safeName": "GetExampleResponse" + "unsafeName": "PostRootRequestBarInnerBar", + "safeName": "PostRootRequestBarInnerBar" } }, "fernFilepath": { @@ -4638,41 +4600,91 @@ "file": null } }, - "types": [ - { - "_type": "named", - "value": "type_:NotFound" - }, + "properties": [ { - "_type": "named", - "value": "type_:Schema1" + "name": { + "name": { + "originalName": "foo", + "camelCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "snakeCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "screamingSnakeCase": { + "unsafeName": "FOO", + "safeName": "FOO" + }, + "pascalCase": { + "unsafeName": "Foo", + "safeName": "Foo" + } + }, + "wireValue": "foo" + }, + "typeReference": { + "_type": "optional", + "value": { + "_type": "primitive", + "value": "STRING" + } + } }, { - "_type": "named", - "value": "type_:Schema2" + "name": { + "name": { + "originalName": "bar", + "camelCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "snakeCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "screamingSnakeCase": { + "unsafeName": "BAR", + "safeName": "BAR" + }, + "pascalCase": { + "unsafeName": "Bar", + "safeName": "Bar" + } + }, + "wireValue": "bar" + }, + "typeReference": { + "_type": "optional", + "value": { + "_type": "primitive", + "value": "STRING" + } + } } ] }, - "type_:Schema1": { + "type_:PostRootRequestBar": { "type": "object", "declaration": { "name": { - "originalName": "Schema1", + "originalName": "PostRootRequestBar", "camelCase": { - "unsafeName": "schema1", - "safeName": "schema1" + "unsafeName": "postRootRequestBar", + "safeName": "postRootRequestBar" }, "snakeCase": { - "unsafeName": "schema1", - "safeName": "schema1" + "unsafeName": "post_root_request_bar", + "safeName": "post_root_request_bar" }, "screamingSnakeCase": { - "unsafeName": "SCHEMA1", - "safeName": "SCHEMA1" + "unsafeName": "POST_ROOT_REQUEST_BAR", + "safeName": "POST_ROOT_REQUEST_BAR" }, "pascalCase": { - "unsafeName": "Schema1", - "safeName": "Schema1" + "unsafeName": "PostRootRequestBar", + "safeName": "PostRootRequestBar" } }, "fernFilepath": { @@ -4685,87 +4697,87 @@ { "name": { "name": { - "originalName": "id", + "originalName": "foo", "camelCase": { - "unsafeName": "id", - "safeName": "id" + "unsafeName": "foo", + "safeName": "foo" }, "snakeCase": { - "unsafeName": "id", - "safeName": "id" + "unsafeName": "foo", + "safeName": "foo" }, "screamingSnakeCase": { - "unsafeName": "ID", - "safeName": "ID" + "unsafeName": "FOO", + "safeName": "FOO" }, "pascalCase": { - "unsafeName": "ID", - "safeName": "ID" + "unsafeName": "Foo", + "safeName": "Foo" } }, - "wireValue": "id" + "wireValue": "foo" }, "typeReference": { "_type": "optional", "value": { "_type": "primitive", - "value": "INTEGER" + "value": "STRING" } } }, { "name": { "name": { - "originalName": "name", + "originalName": "inner_bar", "camelCase": { - "unsafeName": "name", - "safeName": "name" + "unsafeName": "innerBar", + "safeName": "innerBar" }, "snakeCase": { - "unsafeName": "name", - "safeName": "name" + "unsafeName": "inner_bar", + "safeName": "inner_bar" }, "screamingSnakeCase": { - "unsafeName": "NAME", - "safeName": "NAME" + "unsafeName": "INNER_BAR", + "safeName": "INNER_BAR" }, "pascalCase": { - "unsafeName": "Name", - "safeName": "Name" + "unsafeName": "InnerBar", + "safeName": "InnerBar" } }, - "wireValue": "name" + "wireValue": "inner_bar" }, "typeReference": { "_type": "optional", "value": { - "_type": "primitive", - "value": "STRING" + "_type": "named", + "value": "type_:PostRootRequestBarInnerBar" } } } ] }, - "type_:Schema2": { + "type_:PostRootResponseBarInnerBar": { "type": "object", "declaration": { "name": { - "originalName": "Schema2", + "originalName": "PostRootResponseBarInnerBar", "camelCase": { - "unsafeName": "schema2", - "safeName": "schema2" + "unsafeName": "postRootResponseBarInnerBar", + "safeName": "postRootResponseBarInnerBar" }, "snakeCase": { - "unsafeName": "schema2", - "safeName": "schema2" + "unsafeName": "post_root_response_bar_inner_bar", + "safeName": "post_root_response_bar_inner_bar" }, "screamingSnakeCase": { - "unsafeName": "SCHEMA2", - "safeName": "SCHEMA2" + "unsafeName": "POST_ROOT_RESPONSE_BAR_INNER_BAR", + "safeName": "POST_ROOT_RESPONSE_BAR_INNER_BAR" }, "pascalCase": { - "unsafeName": "Schema2", - "safeName": "Schema2" + "unsafeName": "PostRootResponseBarInnerBar", + "safeName": "PostRootResponseBarInnerBar" } }, "fernFilepath": { @@ -4778,25 +4790,25 @@ { "name": { "name": { - "originalName": "email", + "originalName": "foo", "camelCase": { - "unsafeName": "email", - "safeName": "email" + "unsafeName": "foo", + "safeName": "foo" }, "snakeCase": { - "unsafeName": "email", - "safeName": "email" + "unsafeName": "foo", + "safeName": "foo" }, "screamingSnakeCase": { - "unsafeName": "EMAIL", - "safeName": "EMAIL" + "unsafeName": "FOO", + "safeName": "FOO" }, "pascalCase": { - "unsafeName": "Email", - "safeName": "Email" + "unsafeName": "Foo", + "safeName": "Foo" } }, - "wireValue": "email" + "wireValue": "foo" }, "typeReference": { "_type": "optional", @@ -4809,59 +4821,56 @@ { "name": { "name": { - "originalName": "age", + "originalName": "bar", "camelCase": { - "unsafeName": "age", - "safeName": "age" + "unsafeName": "bar", + "safeName": "bar" }, "snakeCase": { - "unsafeName": "age", - "safeName": "age" + "unsafeName": "bar", + "safeName": "bar" }, "screamingSnakeCase": { - "unsafeName": "AGE", - "safeName": "AGE" + "unsafeName": "BAR", + "safeName": "BAR" }, "pascalCase": { - "unsafeName": "Age", - "safeName": "Age" + "unsafeName": "Bar", + "safeName": "Bar" } }, - "wireValue": "age" + "wireValue": "bar" }, "typeReference": { "_type": "optional", "value": { "_type": "primitive", - "value": "INTEGER" + "value": "STRING" } } } ] - } - }, - "headers": [], - "endpoints": { - "endpoint_.getExample": { - "auth": null, + }, + "type_:PostRootResponseBar": { + "type": "object", "declaration": { "name": { - "originalName": "getExample", + "originalName": "PostRootResponseBar", "camelCase": { - "unsafeName": "getExample", - "safeName": "getExample" + "unsafeName": "postRootResponseBar", + "safeName": "postRootResponseBar" }, "snakeCase": { - "unsafeName": "get_example", - "safeName": "get_example" + "unsafeName": "post_root_response_bar", + "safeName": "post_root_response_bar" }, "screamingSnakeCase": { - "unsafeName": "GET_EXAMPLE", - "safeName": "GET_EXAMPLE" + "unsafeName": "POST_ROOT_RESPONSE_BAR", + "safeName": "POST_ROOT_RESPONSE_BAR" }, "pascalCase": { - "unsafeName": "GetExample", - "safeName": "GetExample" + "unsafeName": "PostRootResponseBar", + "safeName": "PostRootResponseBar" } }, "fernFilepath": { @@ -4870,18 +4879,1048 @@ "file": null } }, - "location": { - "method": "GET", - "path": "/example" - }, - "request": { - "type": "body", - "pathParameters": [], + "properties": [ + { + "name": { + "name": { + "originalName": "foo", + "camelCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "snakeCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "screamingSnakeCase": { + "unsafeName": "FOO", + "safeName": "FOO" + }, + "pascalCase": { + "unsafeName": "Foo", + "safeName": "Foo" + } + }, + "wireValue": "foo" + }, + "typeReference": { + "_type": "optional", + "value": { + "_type": "primitive", + "value": "STRING" + } + } + }, + { + "name": { + "name": { + "originalName": "inner_bar", + "camelCase": { + "unsafeName": "innerBar", + "safeName": "innerBar" + }, + "snakeCase": { + "unsafeName": "inner_bar", + "safeName": "inner_bar" + }, + "screamingSnakeCase": { + "unsafeName": "INNER_BAR", + "safeName": "INNER_BAR" + }, + "pascalCase": { + "unsafeName": "InnerBar", + "safeName": "InnerBar" + } + }, + "wireValue": "inner_bar" + }, + "typeReference": { + "_type": "optional", + "value": { + "_type": "named", + "value": "type_:PostRootResponseBarInnerBar" + } + } + } + ] + }, + "type_:PostRootResponse": { + "type": "object", + "declaration": { + "name": { + "originalName": "PostRootResponse", + "camelCase": { + "unsafeName": "postRootResponse", + "safeName": "postRootResponse" + }, + "snakeCase": { + "unsafeName": "post_root_response", + "safeName": "post_root_response" + }, + "screamingSnakeCase": { + "unsafeName": "POST_ROOT_RESPONSE", + "safeName": "POST_ROOT_RESPONSE" + }, + "pascalCase": { + "unsafeName": "PostRootResponse", + "safeName": "PostRootResponse" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + } + }, + "properties": [ + { + "name": { + "name": { + "originalName": "foo", + "camelCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "snakeCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "screamingSnakeCase": { + "unsafeName": "FOO", + "safeName": "FOO" + }, + "pascalCase": { + "unsafeName": "Foo", + "safeName": "Foo" + } + }, + "wireValue": "foo" + }, + "typeReference": { + "_type": "optional", + "value": { + "_type": "primitive", + "value": "STRING" + } + } + }, + { + "name": { + "name": { + "originalName": "bar", + "camelCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "snakeCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "screamingSnakeCase": { + "unsafeName": "BAR", + "safeName": "BAR" + }, + "pascalCase": { + "unsafeName": "Bar", + "safeName": "Bar" + } + }, + "wireValue": "bar" + }, + "typeReference": { + "_type": "optional", + "value": { + "_type": "named", + "value": "type_:PostRootResponseBar" + } + } + } + ] + }, + "type_:Schema1": { + "type": "object", + "declaration": { + "name": { + "originalName": "Schema1", + "camelCase": { + "unsafeName": "schema1", + "safeName": "schema1" + }, + "snakeCase": { + "unsafeName": "schema1", + "safeName": "schema1" + }, + "screamingSnakeCase": { + "unsafeName": "SCHEMA1", + "safeName": "SCHEMA1" + }, + "pascalCase": { + "unsafeName": "Schema1", + "safeName": "Schema1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + } + }, + "properties": [ + { + "name": { + "name": { + "originalName": "id", + "camelCase": { + "unsafeName": "id", + "safeName": "id" + }, + "snakeCase": { + "unsafeName": "id", + "safeName": "id" + }, + "screamingSnakeCase": { + "unsafeName": "ID", + "safeName": "ID" + }, + "pascalCase": { + "unsafeName": "ID", + "safeName": "ID" + } + }, + "wireValue": "id" + }, + "typeReference": { + "_type": "optional", + "value": { + "_type": "primitive", + "value": "INTEGER" + } + } + }, + { + "name": { + "name": { + "originalName": "name", + "camelCase": { + "unsafeName": "name", + "safeName": "name" + }, + "snakeCase": { + "unsafeName": "name", + "safeName": "name" + }, + "screamingSnakeCase": { + "unsafeName": "NAME", + "safeName": "NAME" + }, + "pascalCase": { + "unsafeName": "Name", + "safeName": "Name" + } + }, + "wireValue": "name" + }, + "typeReference": { + "_type": "optional", + "value": { + "_type": "primitive", + "value": "STRING" + } + } + } + ] + }, + "type_:Schema2TestEnum": { + "type": "enum", + "declaration": { + "name": { + "originalName": "Schema2TestEnum", + "camelCase": { + "unsafeName": "schema2TestEnum", + "safeName": "schema2TestEnum" + }, + "snakeCase": { + "unsafeName": "schema2test_enum", + "safeName": "schema2test_enum" + }, + "screamingSnakeCase": { + "unsafeName": "SCHEMA2TEST_ENUM", + "safeName": "SCHEMA2TEST_ENUM" + }, + "pascalCase": { + "unsafeName": "Schema2TestEnum", + "safeName": "Schema2TestEnum" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + } + }, + "values": [ + { + "name": { + "originalName": "test1", + "camelCase": { + "unsafeName": "test1", + "safeName": "test1" + }, + "snakeCase": { + "unsafeName": "test1", + "safeName": "test1" + }, + "screamingSnakeCase": { + "unsafeName": "TEST1", + "safeName": "TEST1" + }, + "pascalCase": { + "unsafeName": "Test1", + "safeName": "Test1" + } + }, + "wireValue": "test1" + }, + { + "name": { + "originalName": "test2", + "camelCase": { + "unsafeName": "test2", + "safeName": "test2" + }, + "snakeCase": { + "unsafeName": "test2", + "safeName": "test2" + }, + "screamingSnakeCase": { + "unsafeName": "TEST2", + "safeName": "TEST2" + }, + "pascalCase": { + "unsafeName": "Test2", + "safeName": "Test2" + } + }, + "wireValue": "test2" + }, + { + "name": { + "originalName": "test3", + "camelCase": { + "unsafeName": "test3", + "safeName": "test3" + }, + "snakeCase": { + "unsafeName": "test3", + "safeName": "test3" + }, + "screamingSnakeCase": { + "unsafeName": "TEST3", + "safeName": "TEST3" + }, + "pascalCase": { + "unsafeName": "Test3", + "safeName": "Test3" + } + }, + "wireValue": "test3" + } + ] + }, + "type_:Schema2TestDiscriminatedUnionZero": { + "type": "object", + "declaration": { + "name": { + "originalName": "Schema2TestDiscriminatedUnionZero", + "camelCase": { + "unsafeName": "schema2TestDiscriminatedUnionZero", + "safeName": "schema2TestDiscriminatedUnionZero" + }, + "snakeCase": { + "unsafeName": "schema2test_discriminated_union_zero", + "safeName": "schema2test_discriminated_union_zero" + }, + "screamingSnakeCase": { + "unsafeName": "SCHEMA2TEST_DISCRIMINATED_UNION_ZERO", + "safeName": "SCHEMA2TEST_DISCRIMINATED_UNION_ZERO" + }, + "pascalCase": { + "unsafeName": "Schema2TestDiscriminatedUnionZero", + "safeName": "Schema2TestDiscriminatedUnionZero" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + } + }, + "properties": [ + { + "name": { + "name": { + "originalName": "objectType", + "camelCase": { + "unsafeName": "objectType", + "safeName": "objectType" + }, + "snakeCase": { + "unsafeName": "object_type", + "safeName": "object_type" + }, + "screamingSnakeCase": { + "unsafeName": "OBJECT_TYPE", + "safeName": "OBJECT_TYPE" + }, + "pascalCase": { + "unsafeName": "ObjectType", + "safeName": "ObjectType" + } + }, + "wireValue": "objectType" + }, + "typeReference": { + "_type": "optional", + "value": { + "_type": "primitive", + "value": "STRING" + } + } + } + ] + }, + "type_:Schema2TestDiscriminatedUnionOne": { + "type": "object", + "declaration": { + "name": { + "originalName": "Schema2TestDiscriminatedUnionOne", + "camelCase": { + "unsafeName": "schema2TestDiscriminatedUnionOne", + "safeName": "schema2TestDiscriminatedUnionOne" + }, + "snakeCase": { + "unsafeName": "schema2test_discriminated_union_one", + "safeName": "schema2test_discriminated_union_one" + }, + "screamingSnakeCase": { + "unsafeName": "SCHEMA2TEST_DISCRIMINATED_UNION_ONE", + "safeName": "SCHEMA2TEST_DISCRIMINATED_UNION_ONE" + }, + "pascalCase": { + "unsafeName": "Schema2TestDiscriminatedUnionOne", + "safeName": "Schema2TestDiscriminatedUnionOne" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + } + }, + "properties": [ + { + "name": { + "name": { + "originalName": "objectType", + "camelCase": { + "unsafeName": "objectType", + "safeName": "objectType" + }, + "snakeCase": { + "unsafeName": "object_type", + "safeName": "object_type" + }, + "screamingSnakeCase": { + "unsafeName": "OBJECT_TYPE", + "safeName": "OBJECT_TYPE" + }, + "pascalCase": { + "unsafeName": "ObjectType", + "safeName": "ObjectType" + } + }, + "wireValue": "objectType" + }, + "typeReference": { + "_type": "optional", + "value": { + "_type": "primitive", + "value": "STRING" + } + } + } + ] + }, + "type_:Schema2TestDiscriminatedUnion": { + "type": "undiscriminatedUnion", + "declaration": { + "name": { + "originalName": "Schema2TestDiscriminatedUnion", + "camelCase": { + "unsafeName": "schema2TestDiscriminatedUnion", + "safeName": "schema2TestDiscriminatedUnion" + }, + "snakeCase": { + "unsafeName": "schema2test_discriminated_union", + "safeName": "schema2test_discriminated_union" + }, + "screamingSnakeCase": { + "unsafeName": "SCHEMA2TEST_DISCRIMINATED_UNION", + "safeName": "SCHEMA2TEST_DISCRIMINATED_UNION" + }, + "pascalCase": { + "unsafeName": "Schema2TestDiscriminatedUnion", + "safeName": "Schema2TestDiscriminatedUnion" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + } + }, + "types": [ + { + "_type": "named", + "value": "type_:Schema2TestDiscriminatedUnionZero" + }, + { + "_type": "named", + "value": "type_:Schema2TestDiscriminatedUnionOne" + } + ] + }, + "type_:Schema2TestUnionA": { + "type": "object", + "declaration": { + "name": { + "originalName": "Schema2TestUnionA", + "camelCase": { + "unsafeName": "schema2TestUnionA", + "safeName": "schema2TestUnionA" + }, + "snakeCase": { + "unsafeName": "schema2test_union_a", + "safeName": "schema2test_union_a" + }, + "screamingSnakeCase": { + "unsafeName": "SCHEMA2TEST_UNION_A", + "safeName": "SCHEMA2TEST_UNION_A" + }, + "pascalCase": { + "unsafeName": "Schema2TestUnionA", + "safeName": "Schema2TestUnionA" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + } + }, + "properties": [ + { + "name": { + "name": { + "originalName": "a", + "camelCase": { + "unsafeName": "a", + "safeName": "a" + }, + "snakeCase": { + "unsafeName": "a", + "safeName": "a" + }, + "screamingSnakeCase": { + "unsafeName": "A", + "safeName": "A" + }, + "pascalCase": { + "unsafeName": "A", + "safeName": "A" + } + }, + "wireValue": "a" + }, + "typeReference": { + "_type": "optional", + "value": { + "_type": "primitive", + "value": "STRING" + } + } + } + ] + }, + "type_:Schema2TestUnionB": { + "type": "object", + "declaration": { + "name": { + "originalName": "Schema2TestUnionB", + "camelCase": { + "unsafeName": "schema2TestUnionB", + "safeName": "schema2TestUnionB" + }, + "snakeCase": { + "unsafeName": "schema2test_union_b", + "safeName": "schema2test_union_b" + }, + "screamingSnakeCase": { + "unsafeName": "SCHEMA2TEST_UNION_B", + "safeName": "SCHEMA2TEST_UNION_B" + }, + "pascalCase": { + "unsafeName": "Schema2TestUnionB", + "safeName": "Schema2TestUnionB" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + } + }, + "properties": [ + { + "name": { + "name": { + "originalName": "b", + "camelCase": { + "unsafeName": "b", + "safeName": "b" + }, + "snakeCase": { + "unsafeName": "b", + "safeName": "b" + }, + "screamingSnakeCase": { + "unsafeName": "B", + "safeName": "B" + }, + "pascalCase": { + "unsafeName": "B", + "safeName": "B" + } + }, + "wireValue": "b" + }, + "typeReference": { + "_type": "optional", + "value": { + "_type": "primitive", + "value": "STRING" + } + } + } + ] + }, + "type_:Schema2TestUnion": { + "type": "undiscriminatedUnion", + "declaration": { + "name": { + "originalName": "Schema2TestUnion", + "camelCase": { + "unsafeName": "schema2TestUnion", + "safeName": "schema2TestUnion" + }, + "snakeCase": { + "unsafeName": "schema2test_union", + "safeName": "schema2test_union" + }, + "screamingSnakeCase": { + "unsafeName": "SCHEMA2TEST_UNION", + "safeName": "SCHEMA2TEST_UNION" + }, + "pascalCase": { + "unsafeName": "Schema2TestUnion", + "safeName": "Schema2TestUnion" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + } + }, + "types": [ + { + "_type": "named", + "value": "type_:Schema2TestUnionA" + }, + { + "_type": "named", + "value": "type_:Schema2TestUnionB" + } + ] + }, + "type_:Schema2": { + "type": "object", + "declaration": { + "name": { + "originalName": "Schema2", + "camelCase": { + "unsafeName": "schema2", + "safeName": "schema2" + }, + "snakeCase": { + "unsafeName": "schema2", + "safeName": "schema2" + }, + "screamingSnakeCase": { + "unsafeName": "SCHEMA2", + "safeName": "SCHEMA2" + }, + "pascalCase": { + "unsafeName": "Schema2", + "safeName": "Schema2" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + } + }, + "properties": [ + { + "name": { + "name": { + "originalName": "email", + "camelCase": { + "unsafeName": "email", + "safeName": "email" + }, + "snakeCase": { + "unsafeName": "email", + "safeName": "email" + }, + "screamingSnakeCase": { + "unsafeName": "EMAIL", + "safeName": "EMAIL" + }, + "pascalCase": { + "unsafeName": "Email", + "safeName": "Email" + } + }, + "wireValue": "email" + }, + "typeReference": { + "_type": "optional", + "value": { + "_type": "primitive", + "value": "STRING" + } + } + }, + { + "name": { + "name": { + "originalName": "age", + "camelCase": { + "unsafeName": "age", + "safeName": "age" + }, + "snakeCase": { + "unsafeName": "age", + "safeName": "age" + }, + "screamingSnakeCase": { + "unsafeName": "AGE", + "safeName": "AGE" + }, + "pascalCase": { + "unsafeName": "Age", + "safeName": "Age" + } + }, + "wireValue": "age" + }, + "typeReference": { + "_type": "optional", + "value": { + "_type": "primitive", + "value": "INTEGER" + } + } + }, + { + "name": { + "name": { + "originalName": "testEnum", + "camelCase": { + "unsafeName": "testEnum", + "safeName": "testEnum" + }, + "snakeCase": { + "unsafeName": "test_enum", + "safeName": "test_enum" + }, + "screamingSnakeCase": { + "unsafeName": "TEST_ENUM", + "safeName": "TEST_ENUM" + }, + "pascalCase": { + "unsafeName": "TestEnum", + "safeName": "TestEnum" + } + }, + "wireValue": "testEnum" + }, + "typeReference": { + "_type": "optional", + "value": { + "_type": "named", + "value": "type_:Schema2TestEnum" + } + } + }, + { + "name": { + "name": { + "originalName": "testDiscriminatedUnion", + "camelCase": { + "unsafeName": "testDiscriminatedUnion", + "safeName": "testDiscriminatedUnion" + }, + "snakeCase": { + "unsafeName": "test_discriminated_union", + "safeName": "test_discriminated_union" + }, + "screamingSnakeCase": { + "unsafeName": "TEST_DISCRIMINATED_UNION", + "safeName": "TEST_DISCRIMINATED_UNION" + }, + "pascalCase": { + "unsafeName": "TestDiscriminatedUnion", + "safeName": "TestDiscriminatedUnion" + } + }, + "wireValue": "testDiscriminatedUnion" + }, + "typeReference": { + "_type": "optional", + "value": { + "_type": "named", + "value": "type_:Schema2TestDiscriminatedUnion" + } + } + }, + { + "name": { + "name": { + "originalName": "testUnion", + "camelCase": { + "unsafeName": "testUnion", + "safeName": "testUnion" + }, + "snakeCase": { + "unsafeName": "test_union", + "safeName": "test_union" + }, + "screamingSnakeCase": { + "unsafeName": "TEST_UNION", + "safeName": "TEST_UNION" + }, + "pascalCase": { + "unsafeName": "TestUnion", + "safeName": "TestUnion" + } + }, + "wireValue": "testUnion" + }, + "typeReference": { + "_type": "optional", + "value": { + "_type": "named", + "value": "type_:Schema2TestUnion" + } + } + } + ] + } + }, + "headers": [], + "endpoints": { + "endpoint_.getExample": { + "auth": null, + "declaration": { + "name": { + "originalName": "getExample", + "camelCase": { + "unsafeName": "getExample", + "safeName": "getExample" + }, + "snakeCase": { + "unsafeName": "get_example", + "safeName": "get_example" + }, + "screamingSnakeCase": { + "unsafeName": "GET_EXAMPLE", + "safeName": "GET_EXAMPLE" + }, + "pascalCase": { + "unsafeName": "GetExample", + "safeName": "GetExample" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + } + }, + "location": { + "method": "GET", + "path": "/example" + }, + "request": { + "type": "body", + "pathParameters": [], "body": null }, "response": { "type": "json" } + }, + "endpoint_.postRoot": { + "auth": null, + "declaration": { + "name": { + "originalName": "postRoot", + "camelCase": { + "unsafeName": "postRoot", + "safeName": "postRoot" + }, + "snakeCase": { + "unsafeName": "post_root", + "safeName": "post_root" + }, + "screamingSnakeCase": { + "unsafeName": "POST_ROOT", + "safeName": "POST_ROOT" + }, + "pascalCase": { + "unsafeName": "PostRoot", + "safeName": "PostRoot" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + } + }, + "location": { + "method": "POST", + "path": "/root" + }, + "request": { + "type": "inlined", + "declaration": { + "name": { + "originalName": "PostRootRequest", + "camelCase": { + "unsafeName": "postRootRequest", + "safeName": "postRootRequest" + }, + "snakeCase": { + "unsafeName": "post_root_request", + "safeName": "post_root_request" + }, + "screamingSnakeCase": { + "unsafeName": "POST_ROOT_REQUEST", + "safeName": "POST_ROOT_REQUEST" + }, + "pascalCase": { + "unsafeName": "PostRootRequest", + "safeName": "PostRootRequest" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + } + }, + "pathParameters": [], + "queryParameters": [], + "headers": [], + "body": { + "type": "properties", + "value": [ + { + "name": { + "name": { + "originalName": "foo", + "camelCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "snakeCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "screamingSnakeCase": { + "unsafeName": "FOO", + "safeName": "FOO" + }, + "pascalCase": { + "unsafeName": "Foo", + "safeName": "Foo" + } + }, + "wireValue": "foo" + }, + "typeReference": { + "_type": "optional", + "value": { + "_type": "primitive", + "value": "STRING" + } + } + }, + { + "name": { + "name": { + "originalName": "bar", + "camelCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "snakeCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "screamingSnakeCase": { + "unsafeName": "BAR", + "safeName": "BAR" + }, + "pascalCase": { + "unsafeName": "Bar", + "safeName": "Bar" + } + }, + "wireValue": "bar" + }, + "typeReference": { + "_type": "optional", + "value": { + "_type": "named", + "value": "type_:PostRootRequestBar" + } + } + } + ] + }, + "metadata": { + "includePathParameters": false, + "onlyPathParameters": false + } + }, + "response": { + "type": "json" + } } } }, diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/names.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/names.json index e6ea455f85d..d1908fd9347 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/names.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions-openapi/names.json @@ -349,8 +349,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_infra/telemetry:TelemetryData" @@ -594,8 +593,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/alias-extends.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/alias-extends.json index 2325ed7ecc2..ac9a636d466 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/alias-extends.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/alias-extends.json @@ -340,8 +340,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -586,8 +585,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_:Parent" diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/alias.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/alias.json index 8b65653aaec..63204f69cd9 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/alias.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/alias.json @@ -262,8 +262,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_:TypeId" diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/any-auth.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/any-auth.json index de195589588..f0be426650c 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/any-auth.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/any-auth.json @@ -472,8 +472,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -633,8 +632,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/audiences.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/audiences.json index 47b3715fe17..4f4fa266ad9 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/audiences.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/audiences.json @@ -384,8 +384,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_folder-b/common:Foo", @@ -652,8 +651,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_folder-c/common:FolderCFoo" @@ -813,8 +811,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -976,8 +973,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -1157,8 +1153,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:Imported" @@ -1441,8 +1436,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/basic-auth-environment-variables.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/basic-auth-environment-variables.json index ca22c5cb123..3fc28894a15 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/basic-auth-environment-variables.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/basic-auth-environment-variables.json @@ -185,8 +185,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/basic-auth.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/basic-auth.json index 40176a919c0..c77776bbc36 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/basic-auth.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/basic-auth.json @@ -185,8 +185,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/circular-references-advanced.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/circular-references-advanced.json index cc4498b4876..e5d6f46e8d4 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/circular-references-advanced.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/circular-references-advanced.json @@ -165,8 +165,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_a:A", @@ -254,8 +253,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -406,8 +404,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_:RootType" @@ -768,8 +765,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_ast:FieldValue", @@ -910,8 +906,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [], "encoding": { @@ -996,8 +991,7 @@ "extends": [], "properties": [], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -1540,8 +1534,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_ast:PrimitiveValue", @@ -1820,8 +1813,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_ast:FieldName", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/circular-references.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/circular-references.json index 40be9f811ac..2f0fbfa7e55 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/circular-references.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/circular-references.json @@ -165,8 +165,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_a:A", @@ -254,8 +253,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -406,8 +404,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_:RootType" @@ -849,8 +846,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_ast:PrimitiveValue", @@ -1214,8 +1210,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_ast:FieldValue", @@ -1356,8 +1351,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [], "encoding": { @@ -1442,8 +1436,7 @@ "extends": [], "properties": [], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -1729,8 +1722,7 @@ }, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_ast:JsonLike" diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/cross-package-type-names.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/cross-package-type-names.json index c1c61aad1e3..c8a90889563 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/cross-package-type-names.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/cross-package-type-names.json @@ -384,8 +384,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_folder-b/common:Foo", @@ -652,8 +651,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_folder-c/common:Foo" @@ -813,8 +811,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -1078,8 +1075,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_folder-b/common:Foo", @@ -1262,8 +1258,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:Imported" diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/csharp-grpc-proto-exhaustive.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/csharp-grpc-proto-exhaustive.json index a3a7accfadf..17df1ffeb4a 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/csharp-grpc-proto-exhaustive.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/csharp-grpc-proto-exhaustive.json @@ -265,8 +265,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_:Metadata", @@ -350,8 +349,7 @@ "extends": [], "properties": [], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -628,8 +626,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_:NamespaceSummary" @@ -896,8 +893,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_:Column", @@ -1062,8 +1058,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -1187,8 +1182,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -1504,8 +1498,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_:ListElement", @@ -1629,8 +1622,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -1754,8 +1746,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -2081,8 +2072,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_:Metadata", @@ -2408,8 +2398,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_:QueryResult", @@ -2608,8 +2597,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_:ScoredColumn", @@ -2940,8 +2928,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_:Metadata", @@ -3025,8 +3012,7 @@ "extends": [], "properties": [], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -3146,8 +3132,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -3267,8 +3252,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -3419,8 +3403,7 @@ }, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_:MetadataValue" @@ -3513,8 +3496,7 @@ }, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [], "encoding": { @@ -6038,7 +6020,7 @@ "autogeneratedExamples": [ { "example": { - "id": "3ecab4426ce6d95c94c8dc746ee95c7a4b9c7828", + "id": "005237105b93ad65d88134071ca2be649618351d", "url": "/data/delete", "name": null, "endpointHeaders": [], @@ -7149,7 +7131,7 @@ "autogeneratedExamples": [ { "example": { - "id": "0e4ca190037c6b29b81183fc602ae8f27f52fcc1", + "id": "e8371d94fa58f4b125ff5a2680a34dae539c34fd", "url": "/data/describe", "name": null, "endpointHeaders": [], @@ -9392,7 +9374,7 @@ "autogeneratedExamples": [ { "example": { - "id": "fe2ec19b1c4c9c0d89a5aa5062061a6d7dab1c50", + "id": "b6a313102d6486073540f516aba014ac628d3b6d", "url": "/data/fetch", "name": null, "endpointHeaders": [], @@ -11949,7 +11931,7 @@ "autogeneratedExamples": [ { "example": { - "id": "01389caecb26c5f9861a12330671184b03edac42", + "id": "0ce8544c4eb09be916024a6c197068c471074f03", "url": "/data/list", "name": null, "endpointHeaders": [], @@ -15530,7 +15512,7 @@ "autogeneratedExamples": [ { "example": { - "id": "cf83b9730aba6343f6be4815392e3fbea2ed165f", + "id": "f07cb28de739a8f6d40b467de94ad689ce6713dc", "url": "/data/query", "name": null, "endpointHeaders": [], @@ -23368,7 +23350,7 @@ "autogeneratedExamples": [ { "example": { - "id": "61c92c618804a66c027ac06bb9a39d7b88a7d2c9", + "id": "a60801ad6d1eb8149b087880ce3a12cd9924870a", "url": "/data/update", "name": null, "endpointHeaders": [], diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/csharp-grpc-proto.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/csharp-grpc-proto.json index d5173075003..4ec60b980a0 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/csharp-grpc-proto.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/csharp-grpc-proto.json @@ -127,8 +127,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_:UserModel", @@ -439,8 +438,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_:Metadata", @@ -594,8 +592,7 @@ }, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_:MetadataValue" @@ -688,8 +685,7 @@ }, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/csharp-namespace-conflict.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/csharp-namespace-conflict.json index b13bda1ee7c..145b6b4b047 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/csharp-namespace-conflict.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/csharp-namespace-conflict.json @@ -142,8 +142,7 @@ "extends": [], "properties": [], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -268,8 +267,7 @@ "extends": [], "properties": [], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -663,8 +661,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_a/aa:A", @@ -1023,8 +1020,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_a/aa:A", @@ -1150,8 +1146,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/custom-auth.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/custom-auth.json index fdf9d5b107c..9b03b6f5b3b 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/custom-auth.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/custom-auth.json @@ -180,8 +180,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/enum.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/enum.json index 0fefa8145b7..50fb9b41efb 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/enum.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/enum.json @@ -141,8 +141,7 @@ "availability": null, "docs": "The name and value should be similar\nare similar for less than." } - ], - "inline": null + ] }, "referencedTypes": [], "encoding": { @@ -337,8 +336,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [], "encoding": { @@ -498,8 +496,7 @@ }, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_:Color", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/error-property.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/error-property.json index fc28969e40c..d1d94cd4563 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/error-property.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/error-property.json @@ -140,8 +140,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/examples.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/examples.json index 274f988ab8a..ba151a76422 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/examples.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/examples.json @@ -153,8 +153,7 @@ }, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_:BasicType", @@ -335,8 +334,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_:Type", @@ -438,8 +436,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [], "encoding": { @@ -563,8 +560,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [], "encoding": { @@ -1010,8 +1006,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -2040,8 +2035,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_commons/types:Metadata", @@ -2928,8 +2922,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [], "encoding": { @@ -4023,8 +4016,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_types:MovieId", @@ -5720,8 +5712,7 @@ }, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_types:Actor", @@ -6508,8 +6499,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -6669,8 +6659,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -7064,8 +7053,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -7857,8 +7845,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_types:Movie", @@ -9327,8 +9314,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -9801,8 +9787,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -10604,8 +10589,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_types:File", @@ -12632,8 +12616,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_types:Node", @@ -14846,8 +14829,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_types:Node", @@ -15842,8 +15824,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [], "encoding": { @@ -16170,8 +16151,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_types:ExceptionInfo" @@ -16759,8 +16739,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -17258,8 +17237,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [], "encoding": { @@ -17573,8 +17551,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_types:MigrationStatus" @@ -17991,8 +17968,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -18296,8 +18272,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_:Identifier", @@ -19352,8 +19327,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_:Type", @@ -19582,8 +19556,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [], "encoding": { @@ -19935,8 +19908,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_:Type", @@ -21760,8 +21732,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_types:CastMember", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/exhaustive.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/exhaustive.json index 4c2e7b7458a..6665c6ccad3 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/exhaustive.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/exhaustive.json @@ -165,8 +165,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -393,8 +392,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [], "encoding": { @@ -1079,8 +1077,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -1242,8 +1239,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -1439,8 +1435,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -1747,8 +1742,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_types/object:ObjectWithOptionalField" @@ -2045,8 +2039,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_types/object:ObjectWithOptionalField" @@ -2312,8 +2305,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_types/object:OptionalAlias" @@ -2879,8 +2871,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_types/union:Dog", @@ -3078,8 +3069,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -3274,8 +3264,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -11381,7 +11370,7 @@ "autogeneratedExamples": [ { "example": { - "id": "a46a6dd515a81f2ca0fc33020f37841fe24fd9ed", + "id": "ae1d6182cc32e64d1a76be6bea6c9703b44e42a8", "url": "/foo/bar", "name": null, "endpointHeaders": [], @@ -13744,7 +13733,7 @@ "autogeneratedExamples": [ { "example": { - "id": "a46a6dd515a81f2ca0fc33020f37841fe24fd9ed", + "id": "ae1d6182cc32e64d1a76be6bea6c9703b44e42a8", "url": "/foo/baz", "name": null, "endpointHeaders": [], @@ -17351,7 +17340,7 @@ "autogeneratedExamples": [ { "example": { - "id": "a6da011c64387dcf427884e92c7935da6d90705a", + "id": "447120f3eaed08ab94d3d5b382b62a9a89dced65", "url": "/http-methods", "name": null, "endpointHeaders": [], @@ -20440,7 +20429,7 @@ "autogeneratedExamples": [ { "example": { - "id": "089077257f4d4bb018629a6e33a6ef68baca9164", + "id": "07c0da783443d667e93089a9ab5c23488ba92d58", "url": "/http-methods/id", "name": null, "endpointHeaders": [], @@ -23563,7 +23552,7 @@ "autogeneratedExamples": [ { "example": { - "id": "6fc25ade2f5f0117bd45e272236791d0fd255deb", + "id": "57177dc1422dd3448f4f5b912850404ef42bd9a5", "url": "/http-methods/id", "name": null, "endpointHeaders": [], @@ -28704,7 +28693,7 @@ "autogeneratedExamples": [ { "example": { - "id": "ceb93be9cbcc21dc51ac25b48c4bc53e37436360", + "id": "8106161e16e62d38c232f8a2c234c6af3c379618", "url": "/object/get-and-return-with-optional-field", "name": null, "endpointHeaders": [], @@ -34443,7 +34432,7 @@ "autogeneratedExamples": [ { "example": { - "id": "5fa67fb8f21844e1c7d031102e6c643f9275d703", + "id": "741a1a98ec092579706db49b9305e61da15a71fc", "url": "/object/get-and-return-with-map-of-map", "name": null, "endpointHeaders": [], @@ -35634,7 +35623,7 @@ "autogeneratedExamples": [ { "example": { - "id": "7728a1f411b7eff3b2eb2329bc8bf7bd24d75313", + "id": "edeff4c69b05e3f8a334001d7075f50ff6712c73", "url": "/object/get-and-return-nested-with-optional-field", "name": null, "endpointHeaders": [], @@ -39537,7 +39526,7 @@ "autogeneratedExamples": [ { "example": { - "id": "c2544d1996ee822636d909d78097466bad43d47e", + "id": "efe74f35173b0bf7d9519f91209edc8008cbd033", "url": "/object/get-and-return-nested-with-required-field/string", "name": null, "endpointHeaders": [], @@ -45166,7 +45155,7 @@ "autogeneratedExamples": [ { "example": { - "id": "7db4f5d2f7296dff992910f9b11fff67afa37bef", + "id": "88d2bbc88091c9a3ab5a4470f64ffb52a0ee59da", "url": "/object/get-and-return-nested-with-required-field-list", "name": null, "endpointHeaders": [], @@ -57996,7 +57985,7 @@ "autogeneratedExamples": [ { "example": { - "id": "bff0049f5b51e80a0075ae3eaea2924e40569e05", + "id": "d56f52107aa21a2295374c9315fcfce0b5a1aac1", "url": "/req-bodies/object", "name": null, "endpointHeaders": [], @@ -62990,7 +62979,7 @@ "autogeneratedExamples": [ { "example": { - "id": "4fb37300526103beea89948716f89671d70f3e98", + "id": "45dc0114d6866a8184f9b920e72216a028135b05", "url": "/no-req-body", "name": null, "endpointHeaders": [], diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/extends.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/extends.json index 72ab3f10951..25768aa2aaf 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/extends.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/extends.json @@ -168,8 +168,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_:Docs" @@ -517,8 +516,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_:JSON", @@ -828,8 +826,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -1074,8 +1071,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_:Docs" diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/extra-properties.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/extra-properties.json index 6c81e36c555..c1f525e44ff 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/extra-properties.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/extra-properties.json @@ -101,8 +101,7 @@ } ], "extra-properties": true, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -225,8 +224,7 @@ } ], "extra-properties": true, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/file-upload.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/file-upload.json index 0227a3c8a6e..1d40ee2c3a3 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/file-upload.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/file-upload.json @@ -243,8 +243,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -380,8 +379,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/go-content-type.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/go-content-type.json index 4954e23f376..d11d4ace6f9 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/go-content-type.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/go-content-type.json @@ -202,8 +202,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/idempotency-headers.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/idempotency-headers.json index 9e8f69252b5..79b08c02edf 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/idempotency-headers.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/idempotency-headers.json @@ -255,8 +255,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/imdb.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/imdb.json index 9d61db09ff5..dc1c1a4ec2e 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/imdb.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/imdb.json @@ -399,8 +399,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_imdb:MovieId" @@ -562,8 +561,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/inline-types.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/inline-types.json index bdf893ed675..47a24189178 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/inline-types.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/inline-types.json @@ -158,8 +158,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_:InlineType1", @@ -304,8 +303,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": true + "extendedProperties": [] }, "referencedTypes": [ "type_:NestedInlineType1", @@ -393,8 +391,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": true + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -572,8 +569,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": true + "extendedProperties": [] }, "referencedTypes": [ "type_:InlineEnum" @@ -754,8 +750,7 @@ "availability": null, "docs": null } - ], - "inline": true + ] }, "referencedTypes": [ "type_:InlineType1", @@ -871,8 +866,7 @@ }, "docs": null } - ], - "inline": true + ] }, "referencedTypes": [ "type_:InlineType1", @@ -1027,8 +1021,7 @@ "availability": null, "docs": null } - ], - "inline": true + ] }, "referencedTypes": [], "encoding": { @@ -2529,6 +2522,760 @@ "readmeConfig": null, "sourceConfig": null, "publishConfig": null, + "dynamic": { + "version": "1.0.0", + "types": { + "type_:RootType1": { + "type": "object", + "declaration": { + "name": { + "originalName": "RootType1", + "camelCase": { + "unsafeName": "rootType1", + "safeName": "rootType1" + }, + "snakeCase": { + "unsafeName": "root_type1", + "safeName": "root_type1" + }, + "screamingSnakeCase": { + "unsafeName": "ROOT_TYPE1", + "safeName": "ROOT_TYPE1" + }, + "pascalCase": { + "unsafeName": "RootType1", + "safeName": "RootType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + } + }, + "properties": [ + { + "name": { + "name": { + "originalName": "foo", + "camelCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "snakeCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "screamingSnakeCase": { + "unsafeName": "FOO", + "safeName": "FOO" + }, + "pascalCase": { + "unsafeName": "Foo", + "safeName": "Foo" + } + }, + "wireValue": "foo" + }, + "typeReference": { + "_type": "primitive", + "value": "STRING" + } + }, + { + "name": { + "name": { + "originalName": "bar", + "camelCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "snakeCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "screamingSnakeCase": { + "unsafeName": "BAR", + "safeName": "BAR" + }, + "pascalCase": { + "unsafeName": "Bar", + "safeName": "Bar" + } + }, + "wireValue": "bar" + }, + "typeReference": { + "_type": "named", + "value": "type_:InlineType1" + } + } + ] + }, + "type_:InlineType1": { + "type": "object", + "declaration": { + "name": { + "originalName": "InlineType1", + "camelCase": { + "unsafeName": "inlineType1", + "safeName": "inlineType1" + }, + "snakeCase": { + "unsafeName": "inline_type1", + "safeName": "inline_type1" + }, + "screamingSnakeCase": { + "unsafeName": "INLINE_TYPE1", + "safeName": "INLINE_TYPE1" + }, + "pascalCase": { + "unsafeName": "InlineType1", + "safeName": "InlineType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + } + }, + "properties": [ + { + "name": { + "name": { + "originalName": "foo", + "camelCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "snakeCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "screamingSnakeCase": { + "unsafeName": "FOO", + "safeName": "FOO" + }, + "pascalCase": { + "unsafeName": "Foo", + "safeName": "Foo" + } + }, + "wireValue": "foo" + }, + "typeReference": { + "_type": "primitive", + "value": "STRING" + } + }, + { + "name": { + "name": { + "originalName": "bar", + "camelCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "snakeCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "screamingSnakeCase": { + "unsafeName": "BAR", + "safeName": "BAR" + }, + "pascalCase": { + "unsafeName": "Bar", + "safeName": "Bar" + } + }, + "wireValue": "bar" + }, + "typeReference": { + "_type": "named", + "value": "type_:NestedInlineType1" + } + } + ] + }, + "type_:InlineType2": { + "type": "object", + "declaration": { + "name": { + "originalName": "InlineType2", + "camelCase": { + "unsafeName": "inlineType2", + "safeName": "inlineType2" + }, + "snakeCase": { + "unsafeName": "inline_type2", + "safeName": "inline_type2" + }, + "screamingSnakeCase": { + "unsafeName": "INLINE_TYPE2", + "safeName": "INLINE_TYPE2" + }, + "pascalCase": { + "unsafeName": "InlineType2", + "safeName": "InlineType2" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + } + }, + "properties": [ + { + "name": { + "name": { + "originalName": "baz", + "camelCase": { + "unsafeName": "baz", + "safeName": "baz" + }, + "snakeCase": { + "unsafeName": "baz", + "safeName": "baz" + }, + "screamingSnakeCase": { + "unsafeName": "BAZ", + "safeName": "BAZ" + }, + "pascalCase": { + "unsafeName": "Baz", + "safeName": "Baz" + } + }, + "wireValue": "baz" + }, + "typeReference": { + "_type": "primitive", + "value": "STRING" + } + } + ] + }, + "type_:NestedInlineType1": { + "type": "object", + "declaration": { + "name": { + "originalName": "NestedInlineType1", + "camelCase": { + "unsafeName": "nestedInlineType1", + "safeName": "nestedInlineType1" + }, + "snakeCase": { + "unsafeName": "nested_inline_type1", + "safeName": "nested_inline_type1" + }, + "screamingSnakeCase": { + "unsafeName": "NESTED_INLINE_TYPE1", + "safeName": "NESTED_INLINE_TYPE1" + }, + "pascalCase": { + "unsafeName": "NestedInlineType1", + "safeName": "NestedInlineType1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + } + }, + "properties": [ + { + "name": { + "name": { + "originalName": "foo", + "camelCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "snakeCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "screamingSnakeCase": { + "unsafeName": "FOO", + "safeName": "FOO" + }, + "pascalCase": { + "unsafeName": "Foo", + "safeName": "Foo" + } + }, + "wireValue": "foo" + }, + "typeReference": { + "_type": "primitive", + "value": "STRING" + } + }, + { + "name": { + "name": { + "originalName": "bar", + "camelCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "snakeCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "screamingSnakeCase": { + "unsafeName": "BAR", + "safeName": "BAR" + }, + "pascalCase": { + "unsafeName": "Bar", + "safeName": "Bar" + } + }, + "wireValue": "bar" + }, + "typeReference": { + "_type": "primitive", + "value": "STRING" + } + }, + { + "name": { + "name": { + "originalName": "myEnum", + "camelCase": { + "unsafeName": "myEnum", + "safeName": "myEnum" + }, + "snakeCase": { + "unsafeName": "my_enum", + "safeName": "my_enum" + }, + "screamingSnakeCase": { + "unsafeName": "MY_ENUM", + "safeName": "MY_ENUM" + }, + "pascalCase": { + "unsafeName": "MyEnum", + "safeName": "MyEnum" + } + }, + "wireValue": "myEnum" + }, + "typeReference": { + "_type": "named", + "value": "type_:InlineEnum" + } + } + ] + }, + "type_:InlinedDiscriminatedUnion1": { + "type": "discriminatedUnion", + "declaration": { + "name": { + "originalName": "InlinedDiscriminatedUnion1", + "camelCase": { + "unsafeName": "inlinedDiscriminatedUnion1", + "safeName": "inlinedDiscriminatedUnion1" + }, + "snakeCase": { + "unsafeName": "inlined_discriminated_union1", + "safeName": "inlined_discriminated_union1" + }, + "screamingSnakeCase": { + "unsafeName": "INLINED_DISCRIMINATED_UNION1", + "safeName": "INLINED_DISCRIMINATED_UNION1" + }, + "pascalCase": { + "unsafeName": "InlinedDiscriminatedUnion1", + "safeName": "InlinedDiscriminatedUnion1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + } + }, + "discriminant": { + "name": { + "originalName": "type", + "camelCase": { + "unsafeName": "type", + "safeName": "type" + }, + "snakeCase": { + "unsafeName": "type", + "safeName": "type" + }, + "screamingSnakeCase": { + "unsafeName": "TYPE", + "safeName": "TYPE" + }, + "pascalCase": { + "unsafeName": "Type", + "safeName": "Type" + } + }, + "wireValue": "type" + }, + "types": { + "type1": { + "type": "samePropertiesAsObject", + "typeId": "type_:InlineType1", + "discriminantValue": { + "name": { + "originalName": "type1", + "camelCase": { + "unsafeName": "type1", + "safeName": "type1" + }, + "snakeCase": { + "unsafeName": "type1", + "safeName": "type1" + }, + "screamingSnakeCase": { + "unsafeName": "TYPE1", + "safeName": "TYPE1" + }, + "pascalCase": { + "unsafeName": "Type1", + "safeName": "Type1" + } + }, + "wireValue": "type1" + }, + "properties": [] + }, + "type2": { + "type": "samePropertiesAsObject", + "typeId": "type_:InlineType2", + "discriminantValue": { + "name": { + "originalName": "type2", + "camelCase": { + "unsafeName": "type2", + "safeName": "type2" + }, + "snakeCase": { + "unsafeName": "type2", + "safeName": "type2" + }, + "screamingSnakeCase": { + "unsafeName": "TYPE2", + "safeName": "TYPE2" + }, + "pascalCase": { + "unsafeName": "Type2", + "safeName": "Type2" + } + }, + "wireValue": "type2" + }, + "properties": [] + } + } + }, + "type_:InlinedUndiscriminatedUnion1": { + "type": "undiscriminatedUnion", + "declaration": { + "name": { + "originalName": "InlinedUndiscriminatedUnion1", + "camelCase": { + "unsafeName": "inlinedUndiscriminatedUnion1", + "safeName": "inlinedUndiscriminatedUnion1" + }, + "snakeCase": { + "unsafeName": "inlined_undiscriminated_union1", + "safeName": "inlined_undiscriminated_union1" + }, + "screamingSnakeCase": { + "unsafeName": "INLINED_UNDISCRIMINATED_UNION1", + "safeName": "INLINED_UNDISCRIMINATED_UNION1" + }, + "pascalCase": { + "unsafeName": "InlinedUndiscriminatedUnion1", + "safeName": "InlinedUndiscriminatedUnion1" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + } + }, + "types": [ + { + "_type": "named", + "value": "type_:InlineType1" + }, + { + "_type": "named", + "value": "type_:InlineType2" + } + ] + }, + "type_:InlineEnum": { + "type": "enum", + "declaration": { + "name": { + "originalName": "InlineEnum", + "camelCase": { + "unsafeName": "inlineEnum", + "safeName": "inlineEnum" + }, + "snakeCase": { + "unsafeName": "inline_enum", + "safeName": "inline_enum" + }, + "screamingSnakeCase": { + "unsafeName": "INLINE_ENUM", + "safeName": "INLINE_ENUM" + }, + "pascalCase": { + "unsafeName": "InlineEnum", + "safeName": "InlineEnum" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + } + }, + "values": [ + { + "name": { + "originalName": "SUNNY", + "camelCase": { + "unsafeName": "sunny", + "safeName": "sunny" + }, + "snakeCase": { + "unsafeName": "sunny", + "safeName": "sunny" + }, + "screamingSnakeCase": { + "unsafeName": "SUNNY", + "safeName": "SUNNY" + }, + "pascalCase": { + "unsafeName": "Sunny", + "safeName": "Sunny" + } + }, + "wireValue": "SUNNY" + }, + { + "name": { + "originalName": "CLOUDY", + "camelCase": { + "unsafeName": "cloudy", + "safeName": "cloudy" + }, + "snakeCase": { + "unsafeName": "cloudy", + "safeName": "cloudy" + }, + "screamingSnakeCase": { + "unsafeName": "CLOUDY", + "safeName": "CLOUDY" + }, + "pascalCase": { + "unsafeName": "Cloudy", + "safeName": "Cloudy" + } + }, + "wireValue": "CLOUDY" + }, + { + "name": { + "originalName": "RAINING", + "camelCase": { + "unsafeName": "raining", + "safeName": "raining" + }, + "snakeCase": { + "unsafeName": "raining", + "safeName": "raining" + }, + "screamingSnakeCase": { + "unsafeName": "RAINING", + "safeName": "RAINING" + }, + "pascalCase": { + "unsafeName": "Raining", + "safeName": "Raining" + } + }, + "wireValue": "RAINING" + }, + { + "name": { + "originalName": "SNOWING", + "camelCase": { + "unsafeName": "snowing", + "safeName": "snowing" + }, + "snakeCase": { + "unsafeName": "snowing", + "safeName": "snowing" + }, + "screamingSnakeCase": { + "unsafeName": "SNOWING", + "safeName": "SNOWING" + }, + "pascalCase": { + "unsafeName": "Snowing", + "safeName": "Snowing" + } + }, + "wireValue": "SNOWING" + } + ] + } + }, + "headers": [], + "endpoints": { + "endpoint_.getRoot": { + "auth": null, + "declaration": { + "name": { + "originalName": "getRoot", + "camelCase": { + "unsafeName": "getRoot", + "safeName": "getRoot" + }, + "snakeCase": { + "unsafeName": "get_root", + "safeName": "get_root" + }, + "screamingSnakeCase": { + "unsafeName": "GET_ROOT", + "safeName": "GET_ROOT" + }, + "pascalCase": { + "unsafeName": "GetRoot", + "safeName": "GetRoot" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + } + }, + "location": { + "method": "POST", + "path": "/root/root" + }, + "request": { + "type": "inlined", + "declaration": { + "name": { + "originalName": "PostRootRequest", + "camelCase": { + "unsafeName": "postRootRequest", + "safeName": "postRootRequest" + }, + "snakeCase": { + "unsafeName": "post_root_request", + "safeName": "post_root_request" + }, + "screamingSnakeCase": { + "unsafeName": "POST_ROOT_REQUEST", + "safeName": "POST_ROOT_REQUEST" + }, + "pascalCase": { + "unsafeName": "PostRootRequest", + "safeName": "PostRootRequest" + } + }, + "fernFilepath": { + "allParts": [], + "packagePath": [], + "file": null + } + }, + "pathParameters": [], + "queryParameters": [], + "headers": [], + "body": { + "type": "properties", + "value": [ + { + "name": { + "name": { + "originalName": "bar", + "camelCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "snakeCase": { + "unsafeName": "bar", + "safeName": "bar" + }, + "screamingSnakeCase": { + "unsafeName": "BAR", + "safeName": "BAR" + }, + "pascalCase": { + "unsafeName": "Bar", + "safeName": "Bar" + } + }, + "wireValue": "bar" + }, + "typeReference": { + "_type": "named", + "value": "type_:InlineType1" + } + }, + { + "name": { + "name": { + "originalName": "foo", + "camelCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "snakeCase": { + "unsafeName": "foo", + "safeName": "foo" + }, + "screamingSnakeCase": { + "unsafeName": "FOO", + "safeName": "FOO" + }, + "pascalCase": { + "unsafeName": "Foo", + "safeName": "Foo" + } + }, + "wireValue": "foo" + }, + "typeReference": { + "_type": "primitive", + "value": "STRING" + } + } + ] + }, + "metadata": { + "includePathParameters": false, + "onlyPathParameters": false + } + }, + "response": { + "type": "json" + } + } + } + }, "subpackages": {}, "rootPackage": { "fernFilepath": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/license.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/license.json index a16f417667d..5cfa147791e 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/license.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/license.json @@ -102,8 +102,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/literal.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/literal.json index 5d1f5842e7f..8db631c5054 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/literal.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/literal.json @@ -250,8 +250,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -532,8 +531,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_inlined:ANestedLiteral" @@ -657,8 +655,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -1141,8 +1138,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_reference:SomeLiteral", @@ -1332,8 +1328,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_reference:NestedObjectWithLiterals" @@ -1530,8 +1525,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -4655,7 +4649,7 @@ "autogeneratedExamples": [ { "example": { - "id": "48e20e9252fd293c7133406f3d971629a1c18347", + "id": "86dfc3b8e928e88fc1c4de1aad1f5627577dccef", "url": "/inlined", "name": null, "endpointHeaders": [], diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/mixed-case.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/mixed-case.json index 28dadda121a..210a471fd08 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/mixed-case.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/mixed-case.json @@ -140,8 +140,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -493,8 +492,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -1166,8 +1164,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_service:User" @@ -2039,8 +2036,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [], "encoding": { @@ -2428,8 +2424,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_service:ResourceStatus", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/mixed-file-directory.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/mixed-file-directory.json index 3d0b4de06f1..f80ce8284e8 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/mixed-file-directory.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/mixed-file-directory.json @@ -361,8 +361,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_:Id", @@ -488,8 +487,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -705,8 +703,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_:Id" @@ -926,8 +923,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_:Id" @@ -1177,8 +1173,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_:Id" diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/multi-line-docs.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/multi-line-docs.json index dea57168a98..5445f7bffcb 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/multi-line-docs.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/multi-line-docs.json @@ -141,8 +141,7 @@ "availability": null, "docs": "The name and value should be similar\nare similar for less than." } - ], - "inline": null + ] }, "referencedTypes": [], "encoding": { @@ -442,8 +441,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/oauth-client-credentials-default.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/oauth-client-credentials-default.json index 88a7daa47ce..53954c287a8 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/oauth-client-credentials-default.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/oauth-client-credentials-default.json @@ -327,8 +327,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/oauth-client-credentials-environment-variables.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/oauth-client-credentials-environment-variables.json index 0c0d04df531..aa57bcf4593 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/oauth-client-credentials-environment-variables.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/oauth-client-credentials-environment-variables.json @@ -409,8 +409,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/oauth-client-credentials-nested-root.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/oauth-client-credentials-nested-root.json index 4b71094427b..73b74051f5b 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/oauth-client-credentials-nested-root.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/oauth-client-credentials-nested-root.json @@ -411,8 +411,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/oauth-client-credentials.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/oauth-client-credentials.json index 3a925c0e8d2..84530181c37 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/oauth-client-credentials.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/oauth-client-credentials.json @@ -409,8 +409,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/object.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/object.json index 7efa1e5fa0f..aa514a75091 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/object.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/object.json @@ -956,8 +956,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_:Name" @@ -3180,8 +3179,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/objects-with-imports.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/objects-with-imports.json index 4dcd585594d..430b1e25fe1 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/objects-with-imports.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/objects-with-imports.json @@ -284,8 +284,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons/metadata:Metadata" @@ -2152,8 +2151,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_:Node", @@ -4383,8 +4381,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -5069,8 +5066,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_file:FileInfo" @@ -6047,8 +6043,7 @@ "availability": null, "docs": "A directory (e.g. foo/)." } - ], - "inline": null + ] }, "referencedTypes": [], "encoding": { @@ -6558,8 +6553,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_file:File", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/optional.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/optional.json index 39a212b8e95..cbd1b7dfd23 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/optional.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/optional.json @@ -246,7 +246,7 @@ "autogeneratedExamples": [ { "example": { - "id": "266192075c84516a33db85f1669214dd691c8cbc", + "id": "718f146515c64c7796a0138a01c8aafca8b48e7f", "url": "/send-optional-body", "name": null, "endpointHeaders": [], diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/package-yml.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/package-yml.json index 82c6718c062..1cbca51b2a9 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/package-yml.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/package-yml.json @@ -139,8 +139,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/pagination.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/pagination.json index 897967b9c41..ddb96be1ede 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/pagination.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/pagination.json @@ -146,8 +146,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_:UsernamePage" @@ -283,8 +282,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -420,8 +418,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [], "encoding": { @@ -550,8 +547,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -680,8 +676,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -867,8 +862,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_users:User" @@ -1089,8 +1083,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_users:UserListContainer", @@ -1285,8 +1278,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_users:User" @@ -1507,8 +1499,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_users:UserOptionalListContainer", @@ -1640,8 +1631,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -1964,8 +1954,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_users:UserPage", @@ -2292,8 +2281,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_users:UserOptionalListPage", @@ -2659,8 +2647,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_users:Page", @@ -2961,8 +2948,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_users:NextPage" @@ -3124,8 +3110,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -3285,8 +3270,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/path-parameters.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/path-parameters.json index f80817397b8..7f087449097 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/path-parameters.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/path-parameters.json @@ -183,8 +183,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -350,8 +349,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/query-parameters.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/query-parameters.json index 6bb52401c4e..ff7080abf05 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/query-parameters.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/query-parameters.json @@ -183,8 +183,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -401,8 +400,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_user:User" diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/reserved-keywords.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/reserved-keywords.json index 7cf09373898..0788cf6e198 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/reserved-keywords.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/reserved-keywords.json @@ -140,8 +140,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -318,8 +317,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/response-property.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/response-property.json index 6994d39849c..b7b255841ca 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/response-property.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/response-property.json @@ -102,8 +102,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -322,8 +321,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -446,8 +444,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -838,8 +835,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -1204,8 +1200,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_:WithMetadata", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/server-sent-event-examples.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/server-sent-event-examples.json index d6ea6be349a..9182f1c6197 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/server-sent-event-examples.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/server-sent-event-examples.json @@ -183,8 +183,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/server-sent-events.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/server-sent-events.json index 551ac41327f..237a0172c62 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/server-sent-events.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/server-sent-events.json @@ -183,8 +183,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/simple-fhir.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/simple-fhir.json index 25980068055..3fcf4863a0a 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/simple-fhir.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/simple-fhir.json @@ -164,8 +164,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_:Account", @@ -376,8 +375,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_:ResourceList", @@ -562,8 +560,7 @@ }, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_:Account", @@ -1000,8 +997,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_:BaseResource", @@ -1376,8 +1372,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_:BaseResource", @@ -1690,8 +1685,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_:BaseResource", @@ -2004,8 +1998,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_:BaseResource", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/streaming-parameter.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/streaming-parameter.json index 948bbb88368..a3c56f51696 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/streaming-parameter.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/streaming-parameter.json @@ -183,8 +183,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -350,8 +349,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/streaming.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/streaming.json index a424682cddf..deb1485ce6d 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/streaming.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/streaming.json @@ -183,8 +183,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/trace.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/trace.json index e8a52b1a74f..f98afe34752 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/trace.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/trace.json @@ -312,8 +312,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [], "encoding": { @@ -1155,8 +1154,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_commons:ListType", @@ -1379,8 +1377,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:VariableType", @@ -1658,8 +1655,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:VariableType", @@ -2609,8 +2605,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_commons:MapValue", @@ -3690,8 +3685,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_commons:DebugMapValue", @@ -3872,8 +3866,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -4059,8 +4052,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:KeyValuePair", @@ -4345,8 +4337,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:VariableValue", @@ -4711,8 +4702,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:NodeId", @@ -5132,8 +5122,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:NodeId" @@ -5409,8 +5398,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:NodeId", @@ -5768,8 +5756,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:NodeId", @@ -6089,8 +6076,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:NodeId" @@ -6366,8 +6352,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:NodeId", @@ -6725,8 +6710,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:NodeId", @@ -7146,8 +7130,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:NodeId" @@ -7423,8 +7406,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:NodeId", @@ -7614,8 +7596,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:DebugKeyValuePairs", @@ -7904,8 +7885,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:DebugVariableValue", @@ -8143,8 +8123,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:VariableValue", @@ -8429,8 +8408,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:TestCase", @@ -8602,8 +8580,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -8765,8 +8742,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [], "encoding": { @@ -8881,8 +8857,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -8997,8 +8972,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -9160,8 +9134,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [], "encoding": { @@ -9378,8 +9351,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_migration:MigrationStatus" @@ -9962,8 +9934,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_playlist:PlaylistCreateRequest", @@ -10191,8 +10162,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:ProblemId" @@ -10417,8 +10387,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:ProblemId" @@ -10647,8 +10616,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_playlist:PlaylistId" @@ -10786,8 +10754,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [], "encoding": { @@ -11667,8 +11634,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:ProblemId", @@ -11877,8 +11843,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_problem:ProblemDescriptionBoard", @@ -12243,8 +12208,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_commons:VariableValue", @@ -12535,8 +12499,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:FileInfo" @@ -12755,8 +12718,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:VariableType", @@ -13476,8 +13438,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_problem:ProblemDescription", @@ -13846,8 +13807,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_commons:ProblemId", @@ -13974,8 +13934,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -14175,8 +14134,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_problem:GenericCreateProblemError" @@ -14375,8 +14333,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -14630,8 +14587,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:Language", @@ -15342,8 +15298,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_submission:InitializeProblemRequest", @@ -15575,8 +15530,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:ProblemId" @@ -16132,8 +16086,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_submission:SubmissionId", @@ -16555,8 +16508,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_submission:SubmissionId", @@ -16757,8 +16709,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -16868,8 +16819,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [], "encoding": { @@ -17049,8 +16999,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_submission:SubmissionId" @@ -17645,8 +17594,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_commons:ProblemId", @@ -18831,8 +18779,7 @@ "availability": null, "docs": "Sent once a submission is graded and fully recorded." } - ], - "inline": null + ] }, "referencedTypes": [ "type_submission:BuildingExecutorResponse", @@ -19159,8 +19106,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_submission:SubmissionId", @@ -19437,8 +19383,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_submission:SubmissionId", @@ -19655,8 +19600,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [], "encoding": { @@ -19930,8 +19874,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_submission:SubmissionId", @@ -20324,8 +20267,7 @@ "availability": null, "docs": "If the trace backend encounters an unexpected error.\n" } - ], - "inline": null + ] }, "referencedTypes": [ "type_submission:CompileError", @@ -20453,8 +20395,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -20577,8 +20518,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -20758,8 +20698,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_submission:ExceptionInfo" @@ -20941,8 +20880,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_submission:SubmissionId" @@ -21218,8 +21156,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_submission:SubmissionId", @@ -21547,8 +21484,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_submission:ExceptionV2", @@ -21842,8 +21778,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_submission:SubmissionId", @@ -22247,8 +22182,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_submission:SubmissionId", @@ -22559,8 +22493,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_submission:TestCaseHiddenGrade", @@ -22694,8 +22627,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -23051,8 +22983,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:VariableValue", @@ -23325,8 +23256,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_submission:SubmissionId" @@ -23782,8 +23712,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_submission:SubmissionId", @@ -23947,8 +23876,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -24165,8 +24093,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_submission:TestCaseResult", @@ -24488,8 +24415,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:VariableValue", @@ -24943,8 +24869,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_commons:VariableValue", @@ -25187,8 +25112,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_submission:ExceptionInfo" @@ -25387,8 +25311,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -25662,8 +25585,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_submission:SubmissionRequest", @@ -26063,8 +25985,7 @@ "availability": null, "docs": "The submission request was routed to an incorrect language executor." } - ], - "inline": null + ] }, "referencedTypes": [ "type_submission:SubmissionIdNotFound", @@ -26251,8 +26172,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_submission:SubmissionId" @@ -26434,8 +26354,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_submission:SubmissionId" @@ -26711,8 +26630,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:ProblemId", @@ -26989,8 +26907,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:Language" @@ -27077,8 +26994,7 @@ "extends": [], "properties": [], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -27258,8 +27174,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_submission:SubmissionId" @@ -27478,8 +27393,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_submission:SubmissionId" @@ -27698,8 +27612,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_submission:SubmissionId" @@ -28255,8 +28168,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_submission:SubmissionId", @@ -28924,8 +28836,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_submission:SubmissionId", @@ -29106,8 +29017,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -29267,8 +29177,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -29491,8 +29400,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_submission:StackFrame", @@ -29769,8 +29677,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_submission:Scope", @@ -29983,8 +29890,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:DebugVariableValue", @@ -30353,8 +30259,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:Language", @@ -30597,8 +30502,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [], "encoding": { @@ -30891,8 +30795,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_submission:TestSubmissionStatusV2", @@ -31409,8 +31312,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_submission:TestSubmissionUpdate", @@ -31657,8 +31559,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_submission:WorkspaceSubmissionUpdate", @@ -31883,8 +31784,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_submission:TestSubmissionUpdateInfo", @@ -32502,8 +32402,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_submission:RunningSubmissionState", @@ -32740,8 +32639,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_submission:WorkspaceSubmissionUpdateInfo", @@ -33375,8 +33273,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_submission:RunningSubmissionState", @@ -33699,8 +33596,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_v2/problem:TestCaseId", @@ -33973,8 +33869,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_v2/problem:TestCaseId" @@ -34099,8 +33994,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -34393,8 +34287,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_submission:TestSubmissionState", @@ -34607,8 +34500,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_submission:WorkspaceSubmissionStatus", @@ -35181,8 +35073,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_submission:ErrorInfo", @@ -35665,8 +35556,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:ProblemId", @@ -36209,8 +36099,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_submission:ErrorInfo", @@ -36649,8 +36538,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_submission:TestCaseResultWithStdout", @@ -36887,8 +36775,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_submission:TestCaseResultWithStdout", @@ -37133,8 +37020,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_submission:TraceResponse", @@ -37384,8 +37270,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_submission:TraceResponseV2", @@ -37536,8 +37421,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -37791,8 +37675,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:Language", @@ -38089,8 +37972,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:Language", @@ -38374,8 +38256,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:FileInfo" @@ -38807,8 +38688,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:Language", @@ -39094,8 +38974,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_submission:ExecutionSessionState", @@ -39449,8 +39328,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:Language", @@ -40975,8 +40853,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:ProblemId", @@ -41415,8 +41292,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:ProblemId", @@ -42221,8 +42097,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_problem:ProblemDescription", @@ -43003,8 +42878,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_v2/problem:TestCaseMetadata", @@ -43207,8 +43081,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -43645,8 +43518,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_v2/problem:TestCaseTemplateId", @@ -44228,8 +44100,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_v2/problem:TestCaseTemplateId", @@ -44662,8 +44533,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_v2/problem:TestCaseTemplateId", @@ -45075,8 +44945,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_v2/problem:TestCaseImplementationDescription", @@ -45505,8 +45374,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_v2/problem:TestCaseWithActualResultImplementation", @@ -45913,8 +45781,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_v2/problem:NonVoidFunctionDefinition", @@ -46325,8 +46192,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_v2/problem:Parameter", @@ -46724,8 +46590,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_v2/problem:ParameterId", @@ -47121,8 +46986,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_v2/problem:NonVoidFunctionSignature", @@ -47396,8 +47260,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_v2/problem:Parameter", @@ -47761,8 +47624,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_v2/problem:Parameter", @@ -48126,8 +47988,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_v2/problem:Parameter", @@ -48543,8 +48404,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_v2/problem:DeepEqualityCorrectnessCheck", @@ -48813,8 +48673,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_v2/problem:ParameterId" @@ -49213,8 +49072,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_v2/problem:Parameter", @@ -49487,8 +49345,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_v2/problem:TestCaseImplementationDescriptionBoard", @@ -49859,8 +49716,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_v2/problem:ParameterId" @@ -50190,8 +50046,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_v2/problem:TestCaseId" @@ -50525,8 +50380,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:Language", @@ -50734,8 +50588,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -51481,8 +51334,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:Language", @@ -51997,8 +51849,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_v2/problem:BasicCustomFiles", @@ -52648,8 +52499,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_v2/problem:NonVoidFunctionSignature", @@ -52927,8 +52777,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_v2/problem:FileInfoV2" @@ -53199,8 +53048,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -53558,8 +53406,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_v2/problem:FileInfoV2", @@ -54106,8 +53953,7 @@ "availability": null, "docs": "Useful when specifying custom grading for a testcase where actualResult is defined." } - ], - "inline": null + ] }, "referencedTypes": [ "type_v2/problem:VoidFunctionSignature", @@ -54374,8 +54220,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_v2/problem:FunctionSignature", @@ -54621,8 +54466,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:Language" @@ -54919,8 +54763,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_v2/problem:NonVoidFunctionSignature", @@ -55259,8 +55102,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:Language", @@ -55660,8 +55502,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_v2/problem:TestCaseTemplate", @@ -55956,8 +55797,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_v2/problem:TestCaseTemplate", @@ -57773,8 +57613,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:ProblemId", @@ -58251,8 +58090,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:ProblemId", @@ -59209,8 +59047,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_problem:ProblemDescription", @@ -60181,8 +60018,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_v2/v3/problem:TestCaseMetadata", @@ -60423,8 +60259,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -60975,8 +60810,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_v2/v3/problem:TestCaseTemplateId", @@ -61710,8 +61544,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_v2/v3/problem:TestCaseTemplateId", @@ -62258,8 +62091,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_v2/v3/problem:TestCaseTemplateId", @@ -62785,8 +62617,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_v2/v3/problem:TestCaseImplementationDescription", @@ -63329,8 +63160,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_v2/v3/problem:TestCaseWithActualResultImplementation", @@ -63851,8 +63681,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_v2/v3/problem:NonVoidFunctionDefinition", @@ -64377,8 +64206,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_v2/v3/problem:Parameter", @@ -64852,8 +64680,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_v2/v3/problem:ParameterId", @@ -65363,8 +65190,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_v2/v3/problem:NonVoidFunctionSignature", @@ -65714,8 +65540,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_v2/v3/problem:Parameter", @@ -66155,8 +65980,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_v2/v3/problem:Parameter", @@ -66596,8 +66420,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_v2/v3/problem:Parameter", @@ -67127,8 +66950,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_v2/v3/problem:DeepEqualityCorrectnessCheck", @@ -67473,8 +67295,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_v2/v3/problem:ParameterId" @@ -67987,8 +67808,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_v2/v3/problem:Parameter", @@ -68337,8 +68157,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_v2/v3/problem:TestCaseImplementationDescriptionBoard", @@ -68785,8 +68604,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_v2/v3/problem:ParameterId" @@ -69192,8 +69010,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_v2/v3/problem:TestCaseId" @@ -69603,8 +69420,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:Language", @@ -69850,8 +69666,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -70749,8 +70564,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:Language", @@ -71379,8 +71193,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_v2/v3/problem:BasicCustomFiles", @@ -72182,8 +71995,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_v2/v3/problem:NonVoidFunctionSignature", @@ -72537,8 +72349,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_v2/v3/problem:FileInfoV2" @@ -72847,8 +72658,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -73282,8 +73092,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_v2/v3/problem:FileInfoV2", @@ -73982,8 +73791,7 @@ "availability": null, "docs": "Useful when specifying custom grading for a testcase where actualResult is defined." } - ], - "inline": null + ] }, "referencedTypes": [ "type_v2/v3/problem:VoidFunctionSignature", @@ -74326,8 +74134,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_v2/v3/problem:FunctionSignature", @@ -74611,8 +74418,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:Language" @@ -74985,8 +74791,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_v2/v3/problem:NonVoidFunctionSignature", @@ -75401,8 +75206,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_commons:Language", @@ -75916,8 +75720,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_v2/v3/problem:TestCaseTemplate", @@ -76288,8 +76091,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_v2/v3/problem:TestCaseTemplate", diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/ts-express-casing.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/ts-express-casing.json index b485cc36b86..1767e33af02 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/ts-express-casing.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/ts-express-casing.json @@ -399,8 +399,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_imdb:MovieId" diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/undiscriminated-unions.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/undiscriminated-unions.json index 90ff0be9964..59a84b63a20 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/undiscriminated-unions.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/undiscriminated-unions.json @@ -203,8 +203,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_union:MyUnion" @@ -403,8 +402,7 @@ }, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [], "encoding": { @@ -1406,8 +1404,7 @@ }, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_union:KeyType" @@ -1545,8 +1542,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/unions.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/unions.json index 0e32f0d83d8..566e027c85a 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/unions.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/unions.json @@ -364,8 +364,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_types:Foo", @@ -715,8 +714,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_types:Foo", @@ -952,8 +950,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [], "encoding": { @@ -1246,8 +1243,7 @@ "availability": null, "docs": "This is a bar field." } - ], - "inline": null + ] }, "referencedTypes": [ "type_types:Foo", @@ -1480,8 +1476,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_types:Foo" @@ -1689,8 +1684,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [], "encoding": { @@ -2054,8 +2048,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_types:Foo" @@ -2345,8 +2338,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [], "encoding": { @@ -2583,8 +2575,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [], "encoding": { @@ -2784,8 +2775,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_types:Foo" @@ -2910,8 +2900,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -3034,8 +3023,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -3158,8 +3146,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -3490,8 +3477,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [ "type_union:Circle", @@ -3617,8 +3603,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { @@ -3741,8 +3726,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/unknown.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/unknown.json index 422a2feb281..b9ec8c53d29 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/unknown.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/unknown.json @@ -219,8 +219,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [], "encoding": { diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/validation.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/validation.json index b8afdf9b082..69b0b5b18f1 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/validation.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/validation.json @@ -519,8 +519,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] }, "referencedTypes": [], "encoding": { @@ -752,8 +751,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_:Shape" diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/version-no-default.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/version-no-default.json index 4e651f1dff8..3fd6277f417 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/version-no-default.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/version-no-default.json @@ -121,8 +121,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] } }, "apiName": { @@ -461,8 +460,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_user:UserId" diff --git a/packages/cli/generation/ir-generator/src/__test__/test-definitions/version.json b/packages/cli/generation/ir-generator/src/__test__/test-definitions/version.json index eba379d5f00..6eafb7c626d 100644 --- a/packages/cli/generation/ir-generator/src/__test__/test-definitions/version.json +++ b/packages/cli/generation/ir-generator/src/__test__/test-definitions/version.json @@ -146,8 +146,7 @@ "availability": null, "docs": null } - ], - "inline": null + ] } }, "apiName": { @@ -486,8 +485,7 @@ } ], "extra-properties": false, - "extendedProperties": [], - "inline": null + "extendedProperties": [] }, "referencedTypes": [ "type_user:UserId" diff --git a/packages/cli/generation/ir-generator/src/converters/type-declarations/convertDiscriminatedUnionTypeDeclaration.ts b/packages/cli/generation/ir-generator/src/converters/type-declarations/convertDiscriminatedUnionTypeDeclaration.ts index aba93ad7128..fe48806c418 100644 --- a/packages/cli/generation/ir-generator/src/converters/type-declarations/convertDiscriminatedUnionTypeDeclaration.ts +++ b/packages/cli/generation/ir-generator/src/converters/type-declarations/convertDiscriminatedUnionTypeDeclaration.ts @@ -80,8 +80,7 @@ export async function convertDiscriminatedUnionTypeDeclaration({ displayName: getDisplayName(rawSingleUnionType), availability: getAvailability(rawSingleUnionType) }; - }), - inline: union.inline + }) }); } diff --git a/packages/cli/generation/ir-generator/src/converters/type-declarations/convertEnumTypeDeclaration.ts b/packages/cli/generation/ir-generator/src/converters/type-declarations/convertEnumTypeDeclaration.ts index dde24727eca..1dbfd881b29 100644 --- a/packages/cli/generation/ir-generator/src/converters/type-declarations/convertEnumTypeDeclaration.ts +++ b/packages/cli/generation/ir-generator/src/converters/type-declarations/convertEnumTypeDeclaration.ts @@ -33,8 +33,7 @@ export async function convertEnumTypeDeclaration({ } return { default: defaultValue, - values, - inline: _enum.inline + values }; } diff --git a/packages/cli/generation/ir-generator/src/converters/type-declarations/convertGenericTypeDeclaration.ts b/packages/cli/generation/ir-generator/src/converters/type-declarations/convertGenericTypeDeclaration.ts index de6ba900599..1851e36d90c 100644 --- a/packages/cli/generation/ir-generator/src/converters/type-declarations/convertGenericTypeDeclaration.ts +++ b/packages/cli/generation/ir-generator/src/converters/type-declarations/convertGenericTypeDeclaration.ts @@ -45,8 +45,7 @@ export async function convertGenericTypeDeclaration({ file ), extraProperties: resolvedBaseGeneric.declaration["extra-properties"] ?? false, - extendedProperties: undefined, - inline: resolvedBaseGeneric.declaration.inline + extendedProperties: undefined }); } diff --git a/packages/cli/generation/ir-generator/src/converters/type-declarations/convertObjectTypeDeclaration.ts b/packages/cli/generation/ir-generator/src/converters/type-declarations/convertObjectTypeDeclaration.ts index 5b29cebd88a..76c5862ac06 100644 --- a/packages/cli/generation/ir-generator/src/converters/type-declarations/convertObjectTypeDeclaration.ts +++ b/packages/cli/generation/ir-generator/src/converters/type-declarations/convertObjectTypeDeclaration.ts @@ -15,8 +15,7 @@ export async function convertObjectTypeDeclaration({ extends: getExtensionsAsList(object.extends).map((extended) => parseTypeName({ typeName: extended, file })), properties: await getObjectPropertiesFromRawObjectSchema(object, file), extraProperties: object["extra-properties"] ?? false, - extendedProperties: undefined, - inline: object.inline + extendedProperties: undefined }); } diff --git a/packages/cli/generation/ir-generator/src/converters/type-declarations/convertUndiscriminatedUnionTypeDeclaration.ts b/packages/cli/generation/ir-generator/src/converters/type-declarations/convertUndiscriminatedUnionTypeDeclaration.ts index ac7d62b90ad..46f38095797 100644 --- a/packages/cli/generation/ir-generator/src/converters/type-declarations/convertUndiscriminatedUnionTypeDeclaration.ts +++ b/packages/cli/generation/ir-generator/src/converters/type-declarations/convertUndiscriminatedUnionTypeDeclaration.ts @@ -21,7 +21,6 @@ export function convertUndiscriminatedUnionTypeDeclaration({ type: file.parseTypeReference(unionMember), docs: unionMember.docs }; - }), - inline: union.inline + }) }); } diff --git a/packages/cli/generation/ir-migrations/src/migrations/v23-to-v22/__test__/__snapshots__/migrateFromV23ToV22.test.ts.snap b/packages/cli/generation/ir-migrations/src/migrations/v23-to-v22/__test__/__snapshots__/migrateFromV23ToV22.test.ts.snap index 18418385243..6493115205a 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v23-to-v22/__test__/__snapshots__/migrateFromV23ToV22.test.ts.snap +++ b/packages/cli/generation/ir-migrations/src/migrations/v23-to-v22/__test__/__snapshots__/migrateFromV23ToV22.test.ts.snap @@ -12915,7 +12915,6 @@ exports[`migrateFromV23ToV22 > migrates extensive 1`] = ` "extendedProperties": [], "extends": [], "extraProperties": false, - "inline": undefined, "properties": [ { "availability": { @@ -13070,7 +13069,6 @@ exports[`migrateFromV23ToV22 > migrates extensive 1`] = ` "_type": "enum", "_visit": [Function], "default": undefined, - "inline": undefined, "type": "enum", "values": [ { @@ -13415,7 +13413,6 @@ exports[`migrateFromV23ToV22 > migrates extensive 1`] = ` "extendedProperties": [], "extends": [], "extraProperties": false, - "inline": undefined, "properties": [ { "availability": { @@ -13827,7 +13824,6 @@ exports[`migrateFromV23ToV22 > migrates extensive 1`] = ` "extendedProperties": [], "extends": [], "extraProperties": false, - "inline": undefined, "properties": [ { "availability": { @@ -14122,7 +14118,6 @@ exports[`migrateFromV23ToV22 > migrates extensive 1`] = ` "extendedProperties": [], "extends": [], "extraProperties": false, - "inline": undefined, "properties": [ { "availability": { @@ -14736,7 +14731,6 @@ exports[`migrateFromV23ToV22 > migrates extensive 1`] = ` "extendedProperties": [], "extends": [], "extraProperties": false, - "inline": undefined, "properties": [ { "availability": { @@ -15123,7 +15117,6 @@ exports[`migrateFromV23ToV22 > migrates extensive 1`] = ` "wireValue": "animal", }, "extends": [], - "inline": undefined, "type": "union", "types": [ { @@ -15521,7 +15514,6 @@ exports[`migrateFromV23ToV22 > migrates extensive 1`] = ` "extendedProperties": [], "extends": [], "extraProperties": false, - "inline": undefined, "properties": [ { "availability": { @@ -15711,7 +15703,6 @@ exports[`migrateFromV23ToV22 > migrates extensive 1`] = ` "extendedProperties": [], "extends": [], "extraProperties": false, - "inline": undefined, "properties": [ { "availability": { diff --git a/packages/cli/lazy-fern-workspace/src/fern.schema.json b/packages/cli/lazy-fern-workspace/src/fern.schema.json index 8cd5803f6ca..e5cc6843dc6 100644 --- a/packages/cli/lazy-fern-workspace/src/fern.schema.json +++ b/packages/cli/lazy-fern-workspace/src/fern.schema.json @@ -497,6 +497,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "docs": { "oneOf": [ { @@ -530,16 +540,6 @@ } ] }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "extends": { "oneOf": [ { @@ -710,6 +710,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "docs": { "oneOf": [ { @@ -743,16 +753,6 @@ } ] }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "default": { "oneOf": [ { @@ -1053,6 +1053,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "docs": { "oneOf": [ { @@ -1086,16 +1096,6 @@ } ] }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "discriminant": { "oneOf": [ { @@ -1219,6 +1219,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "docs": { "oneOf": [ { @@ -1252,16 +1262,6 @@ } ] }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "discriminated": { "const": false }, @@ -1314,6 +1314,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "docs": { "oneOf": [ { diff --git a/packages/cli/lazy-fern-workspace/src/package-yml.schema.json b/packages/cli/lazy-fern-workspace/src/package-yml.schema.json index 3aff7d071cc..066469c46ac 100644 --- a/packages/cli/lazy-fern-workspace/src/package-yml.schema.json +++ b/packages/cli/lazy-fern-workspace/src/package-yml.schema.json @@ -517,6 +517,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "docs": { "oneOf": [ { @@ -550,16 +560,6 @@ } ] }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "extends": { "oneOf": [ { @@ -730,6 +730,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "docs": { "oneOf": [ { @@ -763,16 +773,6 @@ } ] }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "default": { "oneOf": [ { @@ -1073,6 +1073,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "docs": { "oneOf": [ { @@ -1106,16 +1116,6 @@ } ] }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "discriminant": { "oneOf": [ { @@ -1239,6 +1239,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "docs": { "oneOf": [ { @@ -1272,16 +1282,6 @@ } ] }, - "inline": { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] - }, "discriminated": { "const": false }, @@ -1334,6 +1334,16 @@ } ] }, + "inline": { + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] + }, "docs": { "oneOf": [ { diff --git a/packages/ir-sdk/fern/apis/ir-types-latest/definition/commons.yml b/packages/ir-sdk/fern/apis/ir-types-latest/definition/commons.yml index f3c12cb3093..781c25fa1ce 100644 --- a/packages/ir-sdk/fern/apis/ir-types-latest/definition/commons.yml +++ b/packages/ir-sdk/fern/apis/ir-types-latest/definition/commons.yml @@ -8,9 +8,6 @@ types: extends: WithDocs properties: availability: optional - WithInline: - properties: - inline: optional FernFilepath: properties: allParts: list diff --git a/packages/ir-sdk/fern/apis/ir-types-latest/definition/types.yml b/packages/ir-sdk/fern/apis/ir-types-latest/definition/types.yml index a896301024a..48c0f173782 100644 --- a/packages/ir-sdk/fern/apis/ir-types-latest/definition/types.yml +++ b/packages/ir-sdk/fern/apis/ir-types-latest/definition/types.yml @@ -84,7 +84,6 @@ types: - UNION - UNDISCRIMINATED_UNION EnumTypeDeclaration: - extends: commons.WithInline properties: default: optional values: list @@ -94,7 +93,6 @@ types: name: commons.NameAndWireValue ObjectTypeDeclaration: - extends: commons.WithInline properties: extends: docs: A list of other types to inherit from @@ -113,7 +111,6 @@ types: valueType: TypeReference UnionTypeDeclaration: - extends: commons.WithInline properties: discriminant: commons.NameAndWireValue extends: @@ -142,7 +139,6 @@ types: type: TypeReference UndiscriminatedUnionTypeDeclaration: - extends: commons.WithInline properties: members: list UndiscriminatedUnionMember: diff --git a/packages/ir-sdk/src/sdk/api/resources/commons/types/WithInline.ts b/packages/ir-sdk/src/sdk/api/resources/commons/types/WithInline.ts deleted file mode 100644 index a52b9306bcf..00000000000 --- a/packages/ir-sdk/src/sdk/api/resources/commons/types/WithInline.ts +++ /dev/null @@ -1,7 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export interface WithInline { - inline: boolean | undefined; -} diff --git a/packages/ir-sdk/src/sdk/api/resources/commons/types/index.ts b/packages/ir-sdk/src/sdk/api/resources/commons/types/index.ts index ce13bdc49c3..95eab3d7a65 100644 --- a/packages/ir-sdk/src/sdk/api/resources/commons/types/index.ts +++ b/packages/ir-sdk/src/sdk/api/resources/commons/types/index.ts @@ -1,6 +1,5 @@ export * from "./WithDocs"; export * from "./WithDocsAndAvailability"; -export * from "./WithInline"; export * from "./FernFilepath"; export * from "./Name"; export * from "./NameAndWireValue"; diff --git a/packages/ir-sdk/src/sdk/api/resources/types/types/EnumTypeDeclaration.ts b/packages/ir-sdk/src/sdk/api/resources/types/types/EnumTypeDeclaration.ts index ad945bf1b1a..2ebd50f8530 100644 --- a/packages/ir-sdk/src/sdk/api/resources/types/types/EnumTypeDeclaration.ts +++ b/packages/ir-sdk/src/sdk/api/resources/types/types/EnumTypeDeclaration.ts @@ -4,7 +4,7 @@ import * as FernIr from "../../../index"; -export interface EnumTypeDeclaration extends FernIr.WithInline { +export interface EnumTypeDeclaration { default: FernIr.EnumValue | undefined; values: FernIr.EnumValue[]; } diff --git a/packages/ir-sdk/src/sdk/api/resources/types/types/ObjectTypeDeclaration.ts b/packages/ir-sdk/src/sdk/api/resources/types/types/ObjectTypeDeclaration.ts index e31778bcef6..9782dda5757 100644 --- a/packages/ir-sdk/src/sdk/api/resources/types/types/ObjectTypeDeclaration.ts +++ b/packages/ir-sdk/src/sdk/api/resources/types/types/ObjectTypeDeclaration.ts @@ -4,7 +4,7 @@ import * as FernIr from "../../../index"; -export interface ObjectTypeDeclaration extends FernIr.WithInline { +export interface ObjectTypeDeclaration { /** A list of other types to inherit from */ extends: FernIr.DeclaredTypeName[]; properties: FernIr.ObjectProperty[]; diff --git a/packages/ir-sdk/src/sdk/api/resources/types/types/UndiscriminatedUnionTypeDeclaration.ts b/packages/ir-sdk/src/sdk/api/resources/types/types/UndiscriminatedUnionTypeDeclaration.ts index 244174f0c11..7ee4050901a 100644 --- a/packages/ir-sdk/src/sdk/api/resources/types/types/UndiscriminatedUnionTypeDeclaration.ts +++ b/packages/ir-sdk/src/sdk/api/resources/types/types/UndiscriminatedUnionTypeDeclaration.ts @@ -4,6 +4,6 @@ import * as FernIr from "../../../index"; -export interface UndiscriminatedUnionTypeDeclaration extends FernIr.WithInline { +export interface UndiscriminatedUnionTypeDeclaration { members: FernIr.UndiscriminatedUnionMember[]; } diff --git a/packages/ir-sdk/src/sdk/api/resources/types/types/UnionTypeDeclaration.ts b/packages/ir-sdk/src/sdk/api/resources/types/types/UnionTypeDeclaration.ts index b9cc9fc9aa2..c0d291bbacd 100644 --- a/packages/ir-sdk/src/sdk/api/resources/types/types/UnionTypeDeclaration.ts +++ b/packages/ir-sdk/src/sdk/api/resources/types/types/UnionTypeDeclaration.ts @@ -4,7 +4,7 @@ import * as FernIr from "../../../index"; -export interface UnionTypeDeclaration extends FernIr.WithInline { +export interface UnionTypeDeclaration { discriminant: FernIr.NameAndWireValue; /** A list of other types to inherit from */ extends: FernIr.DeclaredTypeName[]; diff --git a/packages/ir-sdk/src/sdk/serialization/resources/commons/types/WithInline.ts b/packages/ir-sdk/src/sdk/serialization/resources/commons/types/WithInline.ts deleted file mode 100644 index 53455fc52f6..00000000000 --- a/packages/ir-sdk/src/sdk/serialization/resources/commons/types/WithInline.ts +++ /dev/null @@ -1,18 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../../../index"; -import * as FernIr from "../../../../api/index"; -import * as core from "../../../../core"; - -export const WithInline: core.serialization.ObjectSchema = - core.serialization.objectWithoutOptionalProperties({ - inline: core.serialization.boolean().optional(), - }); - -export declare namespace WithInline { - interface Raw { - inline?: boolean | null; - } -} diff --git a/packages/ir-sdk/src/sdk/serialization/resources/commons/types/index.ts b/packages/ir-sdk/src/sdk/serialization/resources/commons/types/index.ts index ce13bdc49c3..95eab3d7a65 100644 --- a/packages/ir-sdk/src/sdk/serialization/resources/commons/types/index.ts +++ b/packages/ir-sdk/src/sdk/serialization/resources/commons/types/index.ts @@ -1,6 +1,5 @@ export * from "./WithDocs"; export * from "./WithDocsAndAvailability"; -export * from "./WithInline"; export * from "./FernFilepath"; export * from "./Name"; export * from "./NameAndWireValue"; diff --git a/packages/ir-sdk/src/sdk/serialization/resources/types/types/EnumTypeDeclaration.ts b/packages/ir-sdk/src/sdk/serialization/resources/types/types/EnumTypeDeclaration.ts index b45ed8d53cf..483d84b2407 100644 --- a/packages/ir-sdk/src/sdk/serialization/resources/types/types/EnumTypeDeclaration.ts +++ b/packages/ir-sdk/src/sdk/serialization/resources/types/types/EnumTypeDeclaration.ts @@ -6,20 +6,17 @@ import * as serializers from "../../../index"; import * as FernIr from "../../../../api/index"; import * as core from "../../../../core"; import { EnumValue } from "./EnumValue"; -import { WithInline } from "../../commons/types/WithInline"; export const EnumTypeDeclaration: core.serialization.ObjectSchema< serializers.EnumTypeDeclaration.Raw, FernIr.EnumTypeDeclaration -> = core.serialization - .objectWithoutOptionalProperties({ - default: EnumValue.optional(), - values: core.serialization.list(EnumValue), - }) - .extend(WithInline); +> = core.serialization.objectWithoutOptionalProperties({ + default: EnumValue.optional(), + values: core.serialization.list(EnumValue), +}); export declare namespace EnumTypeDeclaration { - interface Raw extends WithInline.Raw { + interface Raw { default?: EnumValue.Raw | null; values: EnumValue.Raw[]; } diff --git a/packages/ir-sdk/src/sdk/serialization/resources/types/types/ObjectTypeDeclaration.ts b/packages/ir-sdk/src/sdk/serialization/resources/types/types/ObjectTypeDeclaration.ts index 0920edfb3ec..4470e22cd6e 100644 --- a/packages/ir-sdk/src/sdk/serialization/resources/types/types/ObjectTypeDeclaration.ts +++ b/packages/ir-sdk/src/sdk/serialization/resources/types/types/ObjectTypeDeclaration.ts @@ -7,22 +7,19 @@ import * as FernIr from "../../../../api/index"; import * as core from "../../../../core"; import { DeclaredTypeName } from "./DeclaredTypeName"; import { ObjectProperty } from "./ObjectProperty"; -import { WithInline } from "../../commons/types/WithInline"; export const ObjectTypeDeclaration: core.serialization.ObjectSchema< serializers.ObjectTypeDeclaration.Raw, FernIr.ObjectTypeDeclaration -> = core.serialization - .objectWithoutOptionalProperties({ - extends: core.serialization.list(DeclaredTypeName), - properties: core.serialization.list(ObjectProperty), - extendedProperties: core.serialization.list(ObjectProperty).optional(), - extraProperties: core.serialization.property("extra-properties", core.serialization.boolean()), - }) - .extend(WithInline); +> = core.serialization.objectWithoutOptionalProperties({ + extends: core.serialization.list(DeclaredTypeName), + properties: core.serialization.list(ObjectProperty), + extendedProperties: core.serialization.list(ObjectProperty).optional(), + extraProperties: core.serialization.property("extra-properties", core.serialization.boolean()), +}); export declare namespace ObjectTypeDeclaration { - interface Raw extends WithInline.Raw { + interface Raw { extends: DeclaredTypeName.Raw[]; properties: ObjectProperty.Raw[]; extendedProperties?: ObjectProperty.Raw[] | null; diff --git a/packages/ir-sdk/src/sdk/serialization/resources/types/types/UndiscriminatedUnionTypeDeclaration.ts b/packages/ir-sdk/src/sdk/serialization/resources/types/types/UndiscriminatedUnionTypeDeclaration.ts index 7b8939bbde1..8a5b5c5df8e 100644 --- a/packages/ir-sdk/src/sdk/serialization/resources/types/types/UndiscriminatedUnionTypeDeclaration.ts +++ b/packages/ir-sdk/src/sdk/serialization/resources/types/types/UndiscriminatedUnionTypeDeclaration.ts @@ -6,19 +6,16 @@ import * as serializers from "../../../index"; import * as FernIr from "../../../../api/index"; import * as core from "../../../../core"; import { UndiscriminatedUnionMember } from "./UndiscriminatedUnionMember"; -import { WithInline } from "../../commons/types/WithInline"; export const UndiscriminatedUnionTypeDeclaration: core.serialization.ObjectSchema< serializers.UndiscriminatedUnionTypeDeclaration.Raw, FernIr.UndiscriminatedUnionTypeDeclaration -> = core.serialization - .objectWithoutOptionalProperties({ - members: core.serialization.list(UndiscriminatedUnionMember), - }) - .extend(WithInline); +> = core.serialization.objectWithoutOptionalProperties({ + members: core.serialization.list(UndiscriminatedUnionMember), +}); export declare namespace UndiscriminatedUnionTypeDeclaration { - interface Raw extends WithInline.Raw { + interface Raw { members: UndiscriminatedUnionMember.Raw[]; } } diff --git a/packages/ir-sdk/src/sdk/serialization/resources/types/types/UnionTypeDeclaration.ts b/packages/ir-sdk/src/sdk/serialization/resources/types/types/UnionTypeDeclaration.ts index 2b739618a53..e7438a5ad71 100644 --- a/packages/ir-sdk/src/sdk/serialization/resources/types/types/UnionTypeDeclaration.ts +++ b/packages/ir-sdk/src/sdk/serialization/resources/types/types/UnionTypeDeclaration.ts @@ -9,22 +9,19 @@ import { NameAndWireValue } from "../../commons/types/NameAndWireValue"; import { DeclaredTypeName } from "./DeclaredTypeName"; import { SingleUnionType } from "./SingleUnionType"; import { ObjectProperty } from "./ObjectProperty"; -import { WithInline } from "../../commons/types/WithInline"; export const UnionTypeDeclaration: core.serialization.ObjectSchema< serializers.UnionTypeDeclaration.Raw, FernIr.UnionTypeDeclaration -> = core.serialization - .objectWithoutOptionalProperties({ - discriminant: NameAndWireValue, - extends: core.serialization.list(DeclaredTypeName), - types: core.serialization.list(SingleUnionType), - baseProperties: core.serialization.list(ObjectProperty), - }) - .extend(WithInline); +> = core.serialization.objectWithoutOptionalProperties({ + discriminant: NameAndWireValue, + extends: core.serialization.list(DeclaredTypeName), + types: core.serialization.list(SingleUnionType), + baseProperties: core.serialization.list(ObjectProperty), +}); export declare namespace UnionTypeDeclaration { - interface Raw extends WithInline.Raw { + interface Raw { discriminant: NameAndWireValue.Raw; extends: DeclaredTypeName.Raw[]; types: SingleUnionType.Raw[]; From 002baf24e6b838b2e58f9bb8290bf1a38a6a0781 Mon Sep 17 00:00:00 2001 From: Niels Swimberghe <3382717+Swimburger@users.noreply.github.com> Date: Tue, 26 Nov 2024 16:25:41 -0500 Subject: [PATCH 19/20] Add versions.yml entry --- packages/cli/cli/versions.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/packages/cli/cli/versions.yml b/packages/cli/cli/versions.yml index 8b5560f35c1..9145038262a 100644 --- a/packages/cli/cli/versions.yml +++ b/packages/cli/cli/versions.yml @@ -1,3 +1,11 @@ +- changelogEntry: + - summary: | + Add `inline` field to type declarations in the Fern definition and IR. + Add support for importing inline types from OpenAPI into Fern definition and IR. + type: internal + irVersion: 53 + version: 0.45.1 + - changelogEntry: - summary: | Several improvements to docs, conjure importer, and the cli. @@ -58,7 +66,7 @@ - changelogEntry: - summary: | - OAuth Client Credential Auth Scheme now supports the ability to optionally + OAuth Client Credential Auth Scheme now supports the ability to optionally set token header and prefix fields for use with docs playground. ```yml api.yml @@ -125,7 +133,7 @@ - changelogEntry: - summary: | - The OpenAPI importer now supports correlating request and response examples by name. When an example name is shared + The OpenAPI importer now supports correlating request and response examples by name. When an example name is shared between a request body and response, they will be paired together in the generated Fern definition. type: fix irVersion: 53 @@ -133,7 +141,7 @@ - changelogEntry: - summary: | - The OpenAPI importer now supports respecting readonly properties in schemas. When enabled, readonly properties will be excluded from request bodies for + The OpenAPI importer now supports respecting readonly properties in schemas. When enabled, readonly properties will be excluded from request bodies for POST/PUT/PATCH endpoints. To enable this, configure the setting in your `generators.yml`: ```yml From bd7af576ec4875ab57db6768527ba60273c0d29a Mon Sep 17 00:00:00 2001 From: fern-bot Date: Tue, 26 Nov 2024 21:29:22 +0000 Subject: [PATCH 20/20] chore: update changelog --- fern/pages/changelogs/cli/2024-11-11.mdx | 2 +- fern/pages/changelogs/cli/2024-11-26.mdx | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 fern/pages/changelogs/cli/2024-11-26.mdx diff --git a/fern/pages/changelogs/cli/2024-11-11.mdx b/fern/pages/changelogs/cli/2024-11-11.mdx index cee5e04d9c4..e4cbdcffd9f 100644 --- a/fern/pages/changelogs/cli/2024-11-11.mdx +++ b/fern/pages/changelogs/cli/2024-11-11.mdx @@ -1,5 +1,5 @@ ## 0.45.0-rc39 -**`(fix):`** The OpenAPI importer now supports correlating request and response examples by name. When an example name is shared +**`(fix):`** The OpenAPI importer now supports correlating request and response examples by name. When an example name is shared between a request body and response, they will be paired together in the generated Fern definition. diff --git a/fern/pages/changelogs/cli/2024-11-26.mdx b/fern/pages/changelogs/cli/2024-11-26.mdx new file mode 100644 index 00000000000..14dfd413993 --- /dev/null +++ b/fern/pages/changelogs/cli/2024-11-26.mdx @@ -0,0 +1,5 @@ +## 0.45.1 +**`(internal):`** Add `inline` field to type declarations in the Fern definition and IR. +Add support for importing inline types from OpenAPI into Fern definition and IR. + +